]> git.saurik.com Git - wxWidgets.git/blob - configure
must use deprecated function for gtk2
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behaviour: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1709 --enable-macosx_arch=ARCH build for just the specified architecture
1710 --enable-compat26 enable wxWidgets 2.6 compatibility
1711 --disable-compat28 disable wxWidgets 2.8 compatibility
1712 --disable-rpath disable use of rpath for uninstalled builds
1713 --enable-objc_uniquifying enable Objective-C class name uniquifying
1714 --disable-visibility disable use of ELF symbols visibility even if supported
1715 --disable-tls disable use of compiler TLS support
1716 --enable-intl use internationalization system
1717 --enable-xlocale use x-locale support (requires wxLocale)
1718 --enable-config use wxConfig (and derived) classes
1719 --enable-protocols use wxProtocol and derived classes
1720 --enable-ftp use wxFTP (requires wxProtocol
1721 --enable-http use wxHTTP (requires wxProtocol
1722 --enable-fileproto use wxFileProto class (requires wxProtocol
1723 --enable-sockets use socket/network classes
1724 --enable-ipv6 enable IPv6 support in wxSocket
1725 --enable-ole use OLE classes (Win32 only)
1726 --enable-dataobj use data object classes
1727 --enable-ipc use interprocess communication (wxSocket etc.)
1728 --enable-baseevtloop use event loop in console programs too
1729 --enable-epollloop use wxEpollDispatcher class (Linux only)
1730 --enable-selectloop use wxSelectDispatcher class
1731 --enable-any use wxAny class
1732 --enable-apple_ieee use the Apple IEEE codec
1733 --enable-arcstream use wxArchive streams
1734 --enable-base64 use base64 encoding/decoding functions
1735 --enable-backtrace use wxStackWalker class for getting backtraces
1736 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1737 --enable-cmdline use wxCmdLineParser class
1738 --enable-datetime use wxDateTime class
1739 --enable-debugreport use wxDebugReport class
1740 --enable-dialupman use dialup network classes
1741 --enable-dynlib use wxLibrary class for DLL loading
1742 --enable-dynamicloader use (new) wxDynamicLibrary class
1743 --enable-exceptions build exception-safe library
1744 --enable-ffile use wxFFile class
1745 --enable-file use wxFile class
1746 --enable-filehistory use wxFileHistory class
1747 --enable-filesystem use virtual file systems classes
1748 --enable-fontenum use wxFontEnumerator class
1749 --enable-fontmap use font encodings conversion classes
1750 --enable-fs_archive use virtual archive filesystems
1751 --enable-fs_inet use virtual HTTP/FTP filesystems
1752 --enable-fs_zip now replaced by fs_archive
1753 --enable-fswatcher use wxFileSystemWatcher class
1754 --enable-geometry use geometry class
1755 --enable-log use logging system
1756 --enable-longlong use wxLongLong class
1757 --enable-mimetype use wxMimeTypesManager
1758 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1759 --enable-snglinst use wxSingleInstanceChecker class
1760 --enable-sound use wxSound class
1761 --enable-stdpaths use wxStandardPaths class
1762 --enable-stopwatch use wxStopWatch class
1763 --enable-streams use wxStream etc classes
1764 --enable-sysoptions use wxSystemOptions
1765 --enable-tarstream use wxTar streams
1766 --enable-textbuf use wxTextBuffer class
1767 --enable-textfile use wxTextFile class
1768 --enable-timer use wxTimer class
1769 --enable-variant use wxVariant class
1770 --enable-zipstream use wxZip streams
1771 --enable-url use wxURL class
1772 --enable-protocol use wxProtocol class
1773 --enable-protocol-http HTTP support in wxProtocol
1774 --enable-protocol-ftp FTP support in wxProtocol
1775 --enable-protocol-file FILE support in wxProtocol
1776 --enable-threads use threads
1777 --enable-iniconf use wxIniConfig (Win32 only)
1778 --enable-regkey use wxRegKey class (Win32 only)
1779 --enable-docview use document view architecture
1780 --enable-help use help subsystem
1781 --enable-mshtmlhelp use MS HTML Help (win32)
1782 --enable-html use wxHTML sub-library
1783 --enable-htmlhelp use wxHTML-based help
1784 --enable-xrc use XRC resources sub-library
1785 --enable-aui use AUI docking library
1786 --enable-propgrid use wxPropertyGrid library
1787 --enable-ribbon use wxRibbon library
1788 --enable-stc use wxStyledTextCtrl library
1789 --enable-constraints use layout-constraints system
1790 --enable-loggui use standard GUI logger
1791 --enable-logwin use wxLogWindow
1792 --enable-logdialog use wxLogDialog
1793 --enable-mdi use multiple document interface architecture
1794 --enable-mdidoc use docview architecture with MDI
1795 --enable-mediactrl use wxMediaCtrl class
1796 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1797 --enable-webkit use wxWebKitCtrl (Mac)
1798 --enable-richtext use wxRichTextCtrl
1799 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1800 --enable-printarch use printing architecture
1801 --enable-svg use wxSVGFileDC device context
1802 --enable-graphics_ctx use graphics context 2D drawing API
1803 --enable-clipboard use wxClipboard class
1804 --enable-dnd use Drag'n'Drop classes
1805 --enable-metafile use win32 metafiles
1806 --disable-controls disable compilation of all standard controls
1807 --enable-markup support wxControl::SetLabelMarkup
1808 --enable-accel use accelerators
1809 --enable-animatectrl use wxAnimationCtrl class
1810 --enable-artstd use standard XPM icons in wxArtProvider
1811 --enable-arttango use Tango icons in wxArtProvider
1812 --enable-bmpbutton use wxBitmapButton class
1813 --enable-bmpcombobox use wxBitmapComboBox class
1814 --enable-button use wxButton class
1815 --enable-calendar use wxCalendarCtrl class
1816 --enable-caret use wxCaret class
1817 --enable-checkbox use wxCheckBox class
1818 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1819 --enable-choice use wxChoice class
1820 --enable-choicebook use wxChoicebook class
1821 --enable-collpane use wxCollapsiblePane class
1822 --enable-colourpicker use wxColourPickerCtrl class
1823 --enable-combobox use wxComboBox class
1824 --enable-comboctrl use wxComboCtrl class
1825 --enable-commandlinkbutton use wxCommmandLinkButton class
1826 --enable-dataviewctrl use wxDataViewCtrl class
1827 --enable-datepick use wxDatePickerCtrl class
1828 --enable-detect_sm use code to detect X11 session manager
1829 --enable-dirpicker use wxDirPickerCtrl class
1830 --enable-display use wxDisplay class
1831 --enable-editablebox use wxEditableListBox class
1832 --enable-filectrl use wxFileCtrl class
1833 --enable-filepicker use wxFilePickerCtrl class
1834 --enable-fontpicker use wxFontPickerCtrl class
1835 --enable-gauge use wxGauge class
1836 --enable-grid use wxGrid class
1837 --enable-headerctrl use wxHeaderCtrl class
1838 --enable-hyperlink use wxHyperlinkCtrl class
1839 --enable-imaglist use wxImageList class
1840 --enable-infobar use wxInfoBar class
1841 --enable-listbook use wxListbook class
1842 --enable-listbox use wxListBox class
1843 --enable-listctrl use wxListCtrl class
1844 --enable-notebook use wxNotebook class
1845 --enable-notifmsg use wxNotificationMessage class
1846 --enable-odcombobox use wxOwnerDrawnComboBox class
1847 --enable-popupwin use wxPopUpWindow class
1848 --enable-radiobox use wxRadioBox class
1849 --enable-radiobtn use wxRadioButton class
1850 --enable-richmsgdlg use wxRichMessageDialog class
1851 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1852 --enable-sash use wxSashWindow class
1853 --enable-scrollbar use wxScrollBar class and scrollable windows
1854 --enable-searchctrl use wxSearchCtrl class
1855 --enable-slider use wxSlider class
1856 --enable-spinbtn use wxSpinButton class
1857 --enable-spinctrl use wxSpinCtrl class
1858 --enable-splitter use wxSplitterWindow class
1859 --enable-statbmp use wxStaticBitmap class
1860 --enable-statbox use wxStaticBox class
1861 --enable-statline use wxStaticLine class
1862 --enable-stattext use wxStaticText class
1863 --enable-statusbar use wxStatusBar class
1864 --enable-taskbaricon use wxTaskBarIcon class
1865 --enable-tbarnative use native wxToolBar class
1866 --enable-textctrl use wxTextCtrl class
1867 --enable-tipwindow use wxTipWindow class
1868 --enable-togglebtn use wxToggleButton class
1869 --enable-toolbar use wxToolBar class
1870 --enable-toolbook use wxToolbook class
1871 --enable-treebook use wxTreebook class
1872 --enable-treectrl use wxTreeCtrl class
1873 --enable-commondlg use all common dialogs
1874 --enable-aboutdlg use wxAboutBox
1875 --enable-choicedlg use wxChoiceDialog
1876 --enable-coldlg use wxColourDialog
1877 --enable-filedlg use wxFileDialog
1878 --enable-finddlg use wxFindReplaceDialog
1879 --enable-fontdlg use wxFontDialog
1880 --enable-dirdlg use wxDirDialog
1881 --enable-msgdlg use wxMessageDialog
1882 --enable-numberdlg use wxNumberEntryDialog
1883 --enable-splash use wxSplashScreen
1884 --enable-textdlg use wxTextDialog
1885 --enable-tipdlg use startup tips
1886 --enable-progressdlg use wxProgressDialog
1887 --enable-wizarddlg use wxWizard
1888 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1889 --enable-miniframe use wxMiniFrame class
1890 --enable-tooltips use wxToolTip class
1891 --enable-splines use spline drawing code
1892 --enable-mousewheel use mousewheel
1893 --enable-validators use wxValidator and derived classes
1894 --enable-busyinfo use wxBusyInfo
1895 --enable-joystick use wxJoystick
1896 --enable-metafiles use wxMetaFile (Win32 only)
1897 --enable-dragimage use wxDragImage
1898 --enable-accessibility enable accessibility support
1899 --enable-uiactionsim use wxUIActionSimulator (experimental)
1900 --enable-palette use wxPalette class
1901 --enable-image use wxImage class
1902 --enable-gif use gif images (GIF file format)
1903 --enable-pcx use pcx images (PCX file format)
1904 --enable-tga use tga images (TGA file format)
1905 --enable-iff use iff images (IFF file format)
1906 --enable-pnm use pnm images (PNM file format)
1907 --enable-xpm use xpm images (XPM file format)
1908 --enable-ico_cur use Windows ICO and CUR formats
1909 --enable-dccache cache temporary wxDC objects (Win32 only)
1910 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1911 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1912 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1913 --enable-wxdib use wxDIB class (Win32 only)
1914 --enable-autoidman use automatic ids management
1915 --disable-largefile omit support for large files
1916 --disable-gtktest do not try to compile and run a test GTK+ program
1917 --disable-gtktest Do not try to compile and run a test GTK program
1918 --disable-sdltest Do not try to compile and run a test SDL program
1919 --enable-omf use OMF object format (OS/2)
1920 --disable-dependency-tracking
1921 don't use dependency tracking even if the compiler
1922 can
1923 --disable-precomp-headers
1924 don't use precompiled headers even if compiler can
1925
1926 Optional Packages:
1927 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1928 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1929 --without-subdirs don't generate makefiles for samples/demos/...
1930 --with-flavour=NAME specify a name to identify this build
1931 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1932 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1933 --with-motif use Motif/Lesstif
1934 --with-osx_carbon use Mac OS X (Carbon)
1935 --with-osx_cocoa use Mac OS X (Cocoa)
1936 --with-osx_iphone use iPhone OS X port
1937 --with-osx use Mac OS X (default port, currently Carbon)
1938 --with-carbon same as --with-osx_carbon
1939 --with-cocoa same as --with-osx_cocoa
1940 --with-iphone same as --with-osx_iphone
1941 --with-mac same as --with-osx
1942 --with-old_cocoa use old, deprecated, Cocoa port
1943 --with-wine use Wine
1944 --with-msw use MS-Windows
1945 --with-pm use OS/2 Presentation Manager
1946 --with-mgl use SciTech MGL
1947 --with-directfb use DirectFB
1948 --with-microwin use MicroWindows
1949 --with-x11 use X11
1950 --with-libpng use libpng (PNG image format)
1951 --with-libjpeg use libjpeg (JPEG file format)
1952 --with-libtiff use libtiff (TIFF file format)
1953 --with-libxpm use libxpm (XPM file format)
1954 --with-libiconv use libiconv (character conversion)
1955 --with-libmspack use libmspack (CHM help files loading)
1956 --without-gtkprint don't use GTK printing support
1957 --without-gnomeprint don't use GNOME printing libraries
1958 --with-gnomevfs use GNOME VFS for associating MIME types
1959 --with-hildon use Hildon framework for Nokia 770/800/810
1960 --with-opengl use OpenGL (or Mesa)
1961 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1962 --with-sdl use SDL for audio on Unix
1963 --with-regex enable support for wxRegEx class
1964 --with-zlib use zlib for LZW compression
1965 --with-expat enable XML support using expat parser
1966 --with-macosx-sdk=PATH use an OS X SDK at PATH
1967 --with-macosx-version-min=VER build binaries which require at least this OS X version
1968 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1969 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1970 --with-x use the X Window System
1971 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1972 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1973 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1974 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1975 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1976
1977 Some influential environment variables:
1978 CC C compiler command
1979 CFLAGS C compiler flags
1980 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1981 nonstandard directory <lib dir>
1982 LIBS libraries to pass to the linker, e.g. -l<library>
1983 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1984 you have headers in a nonstandard directory <include dir>
1985 CPP C preprocessor
1986 CXX C++ compiler command
1987 CXXFLAGS C++ compiler flags
1988 CXXCPP C++ preprocessor
1989 PKG_CONFIG path to pkg-config utility
1990 DIRECTFB_CFLAGS
1991 C compiler flags for DIRECTFB, overriding pkg-config
1992 DIRECTFB_LIBS
1993 linker flags for DIRECTFB, overriding pkg-config
1994 XMKMF Path to xmkmf, Makefile generator for X Window System
1995 PANGOX_CFLAGS
1996 C compiler flags for PANGOX, overriding pkg-config
1997 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1998 PANGOFT2_CFLAGS
1999 C compiler flags for PANGOFT2, overriding pkg-config
2000 PANGOFT2_LIBS
2001 linker flags for PANGOFT2, overriding pkg-config
2002 PANGOXFT_CFLAGS
2003 C compiler flags for PANGOXFT, overriding pkg-config
2004 PANGOXFT_LIBS
2005 linker flags for PANGOXFT, overriding pkg-config
2006 GTKPRINT_CFLAGS
2007 C compiler flags for GTKPRINT, overriding pkg-config
2008 GTKPRINT_LIBS
2009 linker flags for GTKPRINT, overriding pkg-config
2010 LIBGNOMEPRINTUI_CFLAGS
2011 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2012 LIBGNOMEPRINTUI_LIBS
2013 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2014 GNOMEVFS_CFLAGS
2015 C compiler flags for GNOMEVFS, overriding pkg-config
2016 GNOMEVFS_LIBS
2017 linker flags for GNOMEVFS, overriding pkg-config
2018 HILDON_CFLAGS
2019 C compiler flags for HILDON, overriding pkg-config
2020 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2021 HILDON2_CFLAGS
2022 C compiler flags for HILDON2, overriding pkg-config
2023 HILDON2_LIBS
2024 linker flags for HILDON2, overriding pkg-config
2025 CAIRO_CFLAGS
2026 C compiler flags for CAIRO, overriding pkg-config
2027 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2028 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2029 GST_LIBS linker flags for GST, overriding pkg-config
2030
2031 Use these variables to override the choices made by `configure' or to help
2032 it to find libraries and programs with nonstandard names/locations.
2033
2034 Report bugs to <wx-dev@lists.wxwidgets.org>.
2035 _ACEOF
2036 ac_status=$?
2037 fi
2038
2039 if test "$ac_init_help" = "recursive"; then
2040 # If there are subdirs, report their specific --help.
2041 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2042 test -d "$ac_dir" || continue
2043 ac_builddir=.
2044
2045 case "$ac_dir" in
2046 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2047 *)
2048 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2049 # A ".." for each directory in $ac_dir_suffix.
2050 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2051 case $ac_top_builddir_sub in
2052 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2053 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2054 esac ;;
2055 esac
2056 ac_abs_top_builddir=$ac_pwd
2057 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2058 # for backward compatibility:
2059 ac_top_builddir=$ac_top_build_prefix
2060
2061 case $srcdir in
2062 .) # We are building in place.
2063 ac_srcdir=.
2064 ac_top_srcdir=$ac_top_builddir_sub
2065 ac_abs_top_srcdir=$ac_pwd ;;
2066 [\\/]* | ?:[\\/]* ) # Absolute name.
2067 ac_srcdir=$srcdir$ac_dir_suffix;
2068 ac_top_srcdir=$srcdir
2069 ac_abs_top_srcdir=$srcdir ;;
2070 *) # Relative name.
2071 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2072 ac_top_srcdir=$ac_top_build_prefix$srcdir
2073 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2074 esac
2075 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2076
2077 cd "$ac_dir" || { ac_status=$?; continue; }
2078 # Check for guested configure.
2079 if test -f "$ac_srcdir/configure.gnu"; then
2080 echo &&
2081 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2082 elif test -f "$ac_srcdir/configure"; then
2083 echo &&
2084 $SHELL "$ac_srcdir/configure" --help=recursive
2085 else
2086 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2087 fi || ac_status=$?
2088 cd "$ac_pwd" || { ac_status=$?; break; }
2089 done
2090 fi
2091
2092 test -n "$ac_init_help" && exit $ac_status
2093 if $ac_init_version; then
2094 cat <<\_ACEOF
2095 wxWidgets configure 2.9.2
2096 generated by GNU Autoconf 2.61
2097
2098 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2099 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2100 This configure script is free software; the Free Software Foundation
2101 gives unlimited permission to copy, distribute and modify it.
2102 _ACEOF
2103 exit
2104 fi
2105 cat >config.log <<_ACEOF
2106 This file contains any messages produced by compilers while
2107 running configure, to aid debugging if configure makes a mistake.
2108
2109 It was created by wxWidgets $as_me 2.9.2, which was
2110 generated by GNU Autoconf 2.61. Invocation command line was
2111
2112 $ $0 $@
2113
2114 _ACEOF
2115 exec 5>>config.log
2116 {
2117 cat <<_ASUNAME
2118 ## --------- ##
2119 ## Platform. ##
2120 ## --------- ##
2121
2122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2124 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2125 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2126 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2127
2128 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2129 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2130
2131 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2132 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2133 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2134 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2135 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2136 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2137 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2138
2139 _ASUNAME
2140
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 for as_dir in $PATH
2143 do
2144 IFS=$as_save_IFS
2145 test -z "$as_dir" && as_dir=.
2146 echo "PATH: $as_dir"
2147 done
2148 IFS=$as_save_IFS
2149
2150 } >&5
2151
2152 cat >&5 <<_ACEOF
2153
2154
2155 ## ----------- ##
2156 ## Core tests. ##
2157 ## ----------- ##
2158
2159 _ACEOF
2160
2161
2162 # Keep a trace of the command line.
2163 # Strip out --no-create and --no-recursion so they do not pile up.
2164 # Strip out --silent because we don't want to record it for future runs.
2165 # Also quote any args containing shell meta-characters.
2166 # Make two passes to allow for proper duplicate-argument suppression.
2167 ac_configure_args=
2168 ac_configure_args0=
2169 ac_configure_args1=
2170 ac_must_keep_next=false
2171 for ac_pass in 1 2
2172 do
2173 for ac_arg
2174 do
2175 case $ac_arg in
2176 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2178 | -silent | --silent | --silen | --sile | --sil)
2179 continue ;;
2180 *\'*)
2181 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2182 esac
2183 case $ac_pass in
2184 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2185 2)
2186 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2187 if test $ac_must_keep_next = true; then
2188 ac_must_keep_next=false # Got value, back to normal.
2189 else
2190 case $ac_arg in
2191 *=* | --config-cache | -C | -disable-* | --disable-* \
2192 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2193 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2194 | -with-* | --with-* | -without-* | --without-* | --x)
2195 case "$ac_configure_args0 " in
2196 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2197 esac
2198 ;;
2199 -* ) ac_must_keep_next=true ;;
2200 esac
2201 fi
2202 ac_configure_args="$ac_configure_args '$ac_arg'"
2203 ;;
2204 esac
2205 done
2206 done
2207 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2208 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2209
2210 # When interrupted or exit'd, cleanup temporary files, and complete
2211 # config.log. We remove comments because anyway the quotes in there
2212 # would cause problems or look ugly.
2213 # WARNING: Use '\'' to represent an apostrophe within the trap.
2214 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2215 trap 'exit_status=$?
2216 # Save into config.log some information that might help in debugging.
2217 {
2218 echo
2219
2220 cat <<\_ASBOX
2221 ## ---------------- ##
2222 ## Cache variables. ##
2223 ## ---------------- ##
2224 _ASBOX
2225 echo
2226 # The following way of writing the cache mishandles newlines in values,
2227 (
2228 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2229 eval ac_val=\$$ac_var
2230 case $ac_val in #(
2231 *${as_nl}*)
2232 case $ac_var in #(
2233 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2234 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2235 esac
2236 case $ac_var in #(
2237 _ | IFS | as_nl) ;; #(
2238 *) $as_unset $ac_var ;;
2239 esac ;;
2240 esac
2241 done
2242 (set) 2>&1 |
2243 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2244 *${as_nl}ac_space=\ *)
2245 sed -n \
2246 "s/'\''/'\''\\\\'\'''\''/g;
2247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2248 ;; #(
2249 *)
2250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2251 ;;
2252 esac |
2253 sort
2254 )
2255 echo
2256
2257 cat <<\_ASBOX
2258 ## ----------------- ##
2259 ## Output variables. ##
2260 ## ----------------- ##
2261 _ASBOX
2262 echo
2263 for ac_var in $ac_subst_vars
2264 do
2265 eval ac_val=\$$ac_var
2266 case $ac_val in
2267 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2268 esac
2269 echo "$ac_var='\''$ac_val'\''"
2270 done | sort
2271 echo
2272
2273 if test -n "$ac_subst_files"; then
2274 cat <<\_ASBOX
2275 ## ------------------- ##
2276 ## File substitutions. ##
2277 ## ------------------- ##
2278 _ASBOX
2279 echo
2280 for ac_var in $ac_subst_files
2281 do
2282 eval ac_val=\$$ac_var
2283 case $ac_val in
2284 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2285 esac
2286 echo "$ac_var='\''$ac_val'\''"
2287 done | sort
2288 echo
2289 fi
2290
2291 if test -s confdefs.h; then
2292 cat <<\_ASBOX
2293 ## ----------- ##
2294 ## confdefs.h. ##
2295 ## ----------- ##
2296 _ASBOX
2297 echo
2298 cat confdefs.h
2299 echo
2300 fi
2301 test "$ac_signal" != 0 &&
2302 echo "$as_me: caught signal $ac_signal"
2303 echo "$as_me: exit $exit_status"
2304 } >&5
2305 rm -f core *.core core.conftest.* &&
2306 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2307 exit $exit_status
2308 ' 0
2309 for ac_signal in 1 2 13 15; do
2310 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2311 done
2312 ac_signal=0
2313
2314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2315 rm -f -r conftest* confdefs.h
2316
2317 # Predefined preprocessor variables.
2318
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_NAME "$PACKAGE_NAME"
2321 _ACEOF
2322
2323
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2326 _ACEOF
2327
2328
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2331 _ACEOF
2332
2333
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_STRING "$PACKAGE_STRING"
2336 _ACEOF
2337
2338
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2341 _ACEOF
2342
2343
2344 # Let the site file select an alternate cache file if it wants to.
2345 # Prefer explicitly selected file to automatically selected ones.
2346 if test -n "$CONFIG_SITE"; then
2347 set x "$CONFIG_SITE"
2348 elif test "x$prefix" != xNONE; then
2349 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2350 else
2351 set x "$ac_default_prefix/share/config.site" \
2352 "$ac_default_prefix/etc/config.site"
2353 fi
2354 shift
2355 for ac_site_file
2356 do
2357 if test -r "$ac_site_file"; then
2358 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2359 echo "$as_me: loading site script $ac_site_file" >&6;}
2360 sed 's/^/| /' "$ac_site_file" >&5
2361 . "$ac_site_file"
2362 fi
2363 done
2364
2365 if test -r "$cache_file"; then
2366 # Some versions of bash will fail to source /dev/null (special
2367 # files actually), so we avoid doing that.
2368 if test -f "$cache_file"; then
2369 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2370 echo "$as_me: loading cache $cache_file" >&6;}
2371 case $cache_file in
2372 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2373 *) . "./$cache_file";;
2374 esac
2375 fi
2376 else
2377 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2378 echo "$as_me: creating cache $cache_file" >&6;}
2379 >$cache_file
2380 fi
2381
2382 # Check that the precious variables saved in the cache have kept the same
2383 # value.
2384 ac_cache_corrupted=false
2385 for ac_var in $ac_precious_vars; do
2386 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2387 eval ac_new_set=\$ac_env_${ac_var}_set
2388 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2389 eval ac_new_val=\$ac_env_${ac_var}_value
2390 case $ac_old_set,$ac_new_set in
2391 set,)
2392 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2395 ,set)
2396 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2397 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2398 ac_cache_corrupted=: ;;
2399 ,);;
2400 *)
2401 if test "x$ac_old_val" != "x$ac_new_val"; then
2402 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2403 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2404 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2405 echo "$as_me: former value: $ac_old_val" >&2;}
2406 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2407 echo "$as_me: current value: $ac_new_val" >&2;}
2408 ac_cache_corrupted=:
2409 fi;;
2410 esac
2411 # Pass precious variables to config.status.
2412 if test "$ac_new_set" = set; then
2413 case $ac_new_val in
2414 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2415 *) ac_arg=$ac_var=$ac_new_val ;;
2416 esac
2417 case " $ac_configure_args " in
2418 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2419 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2420 esac
2421 fi
2422 done
2423 if $ac_cache_corrupted; then
2424 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2425 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2426 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2427 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2428 { (exit 1); exit 1; }; }
2429 fi
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455 ac_ext=c
2456 ac_cpp='$CPP $CPPFLAGS'
2457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460
2461
2462
2463
2464
2465 ac_aux_dir=
2466 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2467 if test -f "$ac_dir/install-sh"; then
2468 ac_aux_dir=$ac_dir
2469 ac_install_sh="$ac_aux_dir/install-sh -c"
2470 break
2471 elif test -f "$ac_dir/install.sh"; then
2472 ac_aux_dir=$ac_dir
2473 ac_install_sh="$ac_aux_dir/install.sh -c"
2474 break
2475 elif test -f "$ac_dir/shtool"; then
2476 ac_aux_dir=$ac_dir
2477 ac_install_sh="$ac_aux_dir/shtool install -c"
2478 break
2479 fi
2480 done
2481 if test -z "$ac_aux_dir"; then
2482 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2483 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2484 { (exit 1); exit 1; }; }
2485 fi
2486
2487 # These three variables are undocumented and unsupported,
2488 # and are intended to be withdrawn in a future Autoconf release.
2489 # They can cause serious problems if a builder's source tree is in a directory
2490 # whose full name contains unusual characters.
2491 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2492 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2493 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2494
2495
2496 # Make sure we can run config.sub.
2497 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2498 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2499 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2500 { (exit 1); exit 1; }; }
2501
2502 { echo "$as_me:$LINENO: checking build system type" >&5
2503 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_build+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 ac_build_alias=$build_alias
2508 test "x$ac_build_alias" = x &&
2509 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2510 test "x$ac_build_alias" = x &&
2511 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2512 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2513 { (exit 1); exit 1; }; }
2514 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2515 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2516 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2517 { (exit 1); exit 1; }; }
2518
2519 fi
2520 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2521 echo "${ECHO_T}$ac_cv_build" >&6; }
2522 case $ac_cv_build in
2523 *-*-*) ;;
2524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2525 echo "$as_me: error: invalid value of canonical build" >&2;}
2526 { (exit 1); exit 1; }; };;
2527 esac
2528 build=$ac_cv_build
2529 ac_save_IFS=$IFS; IFS='-'
2530 set x $ac_cv_build
2531 shift
2532 build_cpu=$1
2533 build_vendor=$2
2534 shift; shift
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2537 build_os=$*
2538 IFS=$ac_save_IFS
2539 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2540
2541
2542 { echo "$as_me:$LINENO: checking host system type" >&5
2543 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2544 if test "${ac_cv_host+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 else
2547 if test "x$host_alias" = x; then
2548 ac_cv_host=$ac_cv_build
2549 else
2550 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2551 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2552 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2553 { (exit 1); exit 1; }; }
2554 fi
2555
2556 fi
2557 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2558 echo "${ECHO_T}$ac_cv_host" >&6; }
2559 case $ac_cv_host in
2560 *-*-*) ;;
2561 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2562 echo "$as_me: error: invalid value of canonical host" >&2;}
2563 { (exit 1); exit 1; }; };;
2564 esac
2565 host=$ac_cv_host
2566 ac_save_IFS=$IFS; IFS='-'
2567 set x $ac_cv_host
2568 shift
2569 host_cpu=$1
2570 host_vendor=$2
2571 shift; shift
2572 # Remember, the first character of IFS is used to create $*,
2573 # except with old shells:
2574 host_os=$*
2575 IFS=$ac_save_IFS
2576 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2577
2578
2579
2580 if test "$cross_compiling" != "no"; then
2581 HOST_PREFIX="${host_alias}-"
2582 HOST_SUFFIX="-$host_alias"
2583 else
2584 HOST_PREFIX=
2585 HOST_SUFFIX=
2586 fi
2587
2588
2589 wx_major_version_number=2
2590 wx_minor_version_number=9
2591 wx_release_number=2
2592 wx_subrelease_number=0
2593
2594 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2595 WX_VERSION=$WX_RELEASE.$wx_release_number
2596 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2597
2598 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2599
2600
2601 wx_top_builddir="`pwd`"
2602
2603
2604
2605
2606 USE_UNIX=1
2607 USE_OS2=0
2608 USE_WIN32=0
2609 USE_DOS=0
2610 USE_BEOS=0
2611 USE_MAC=0
2612
2613 USE_AIX=
2614 USE_BSD= USE_DARWIN= USE_FREEBSD=
2615 USE_GNU= USE_HPUX=
2616 USE_LINUX=
2617 USE_NETBSD=
2618 USE_OPENBSD=
2619 USE_OSF= USE_SGI=
2620 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2621 USE_ULTRIX=
2622 USE_UNIXWARE=
2623
2624 USE_ALPHA=
2625
2626 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2627
2628 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2629
2630 DEFAULT_wxUSE_OLD_COCOA=0
2631 DEFAULT_wxUSE_GTK=0
2632 DEFAULT_wxUSE_OSX_CARBON=0
2633 DEFAULT_wxUSE_OSX_COCOA=0
2634 DEFAULT_wxUSE_OSX_IPHONE=0
2635 DEFAULT_wxUSE_MGL=0
2636 DEFAULT_wxUSE_MICROWIN=0
2637 DEFAULT_wxUSE_MOTIF=0
2638 DEFAULT_wxUSE_MSW=0
2639 DEFAULT_wxUSE_PM=0
2640 DEFAULT_wxUSE_X11=0
2641 DEFAULT_wxUSE_DFB=0
2642
2643 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2644 DEFAULT_DEFAULT_wxUSE_GTK=0
2645 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2646 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2647 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2648 DEFAULT_DEFAULT_wxUSE_MGL=0
2649 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2651 DEFAULT_DEFAULT_wxUSE_MSW=0
2652 DEFAULT_DEFAULT_wxUSE_PM=0
2653 DEFAULT_DEFAULT_wxUSE_X11=0
2654 DEFAULT_DEFAULT_wxUSE_DFB=0
2655
2656 PROGRAM_EXT=
2657 SAMPLES_RPATH_FLAG=
2658 DYLIB_RPATH_INSTALL=
2659 DYLIB_RPATH_POSTLINK=
2660
2661 DEFAULT_STD_FLAG=yes
2662
2663 case "${host}" in
2664 *-hp-hpux* )
2665 USE_HPUX=1
2666 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2667 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __HPUX__ 1
2670 _ACEOF
2671
2672
2673 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2674 ;;
2675 *-*-linux* )
2676 USE_LINUX=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __LINUX__ 1
2679 _ACEOF
2680
2681 TMP=`uname -m`
2682 if test "x$TMP" = "xalpha"; then
2683 USE_ALPHA=1
2684 cat >>confdefs.h <<\_ACEOF
2685 #define __ALPHA__ 1
2686 _ACEOF
2687
2688 fi
2689 DEFAULT_DEFAULT_wxUSE_GTK=1
2690 ;;
2691 *-*-gnu* | *-*-k*bsd*-gnu )
2692 USE_GNU=1
2693 TMP=`uname -m`
2694 if test "x$TMP" = "xalpha"; then
2695 USE_ALPHA=1
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __ALPHA__ 1
2698 _ACEOF
2699
2700 fi
2701 DEFAULT_DEFAULT_wxUSE_GTK=1
2702 ;;
2703 *-*-irix5* | *-*-irix6* )
2704 USE_SGI=1
2705 USE_SVR4=1
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __SGI__ 1
2708 _ACEOF
2709
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __SVR4__ 1
2712 _ACEOF
2713
2714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2715 ;;
2716 *-*-qnx*)
2717 USE_QNX=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __QNX__ 1
2720 _ACEOF
2721
2722 DEFAULT_DEFAULT_wxUSE_X11=1
2723 ;;
2724 *-*-solaris2* )
2725 USE_SUN=1
2726 USE_SOLARIS=1
2727 USE_SVR4=1
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __SUN__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SOLARIS__ 1
2734 _ACEOF
2735
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __SVR4__ 1
2738 _ACEOF
2739
2740 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2741 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2742 ;;
2743 *-*-sunos4* )
2744 USE_SUN=1
2745 USE_SUNOS=1
2746 USE_BSD=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __SUN__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __SUNOS__ 1
2753 _ACEOF
2754
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __BSD__ 1
2757 _ACEOF
2758
2759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2760 ;;
2761 *-*-freebsd*)
2762 USE_BSD=1
2763 USE_FREEBSD=1
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __FREEBSD__ 1
2766 _ACEOF
2767
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __BSD__ 1
2770 _ACEOF
2771
2772 DEFAULT_DEFAULT_wxUSE_GTK=1
2773 ;;
2774 *-*-openbsd*|*-*-mirbsd*)
2775 USE_BSD=1
2776 USE_OPENBSD=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __OPENBSD__ 1
2779 _ACEOF
2780
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __BSD__ 1
2783 _ACEOF
2784
2785 DEFAULT_DEFAULT_wxUSE_GTK=1
2786 ;;
2787 *-*-netbsd*)
2788 USE_BSD=1
2789 USE_NETBSD=1
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __NETBSD__ 1
2792 _ACEOF
2793
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __BSD__ 1
2796 _ACEOF
2797
2798 DEFAULT_DEFAULT_wxUSE_GTK=1
2799 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2800
2801 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2802 ;;
2803 *-*-osf* )
2804 USE_ALPHA=1
2805 USE_OSF=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __ALPHA__ 1
2808 _ACEOF
2809
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __OSF__ 1
2812 _ACEOF
2813
2814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2815 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2816 ;;
2817 *-*-dgux5* )
2818 USE_ALPHA=1
2819 USE_SVR4=1
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __ALPHA__ 1
2822 _ACEOF
2823
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __SVR4__ 1
2826 _ACEOF
2827
2828 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2829 ;;
2830 *-*-sysv5* )
2831 USE_SYSV=1
2832 USE_SVR4=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __SYSV__ 1
2835 _ACEOF
2836
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __SVR4__ 1
2839 _ACEOF
2840
2841 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2842 ;;
2843 *-*-aix* )
2844 USE_AIX=1
2845 USE_SYSV=1
2846 USE_SVR4=1
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __AIX__ 1
2849 _ACEOF
2850
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __SYSV__ 1
2853 _ACEOF
2854
2855 cat >>confdefs.h <<\_ACEOF
2856 #define __SVR4__ 1
2857 _ACEOF
2858
2859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2860 ;;
2861
2862 *-*-*UnixWare*)
2863 USE_SYSV=1
2864 USE_SVR4=1
2865 USE_UNIXWARE=1
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __UNIXWARE__ 1
2868 _ACEOF
2869
2870 ;;
2871
2872 *-*-cygwin* | *-*-mingw32* )
2873 PROGRAM_EXT=".exe"
2874 DEFAULT_DEFAULT_wxUSE_MSW=1
2875 ;;
2876
2877 *-pc-msdosdjgpp )
2878 USE_UNIX=0
2879 USE_DOS=1
2880 cat >>confdefs.h <<\_ACEOF
2881 #define __DOS__ 1
2882 _ACEOF
2883
2884 PROGRAM_EXT=".exe"
2885 DEFAULT_DEFAULT_wxUSE_MGL=1
2886 ;;
2887
2888 *-pc-os2_emx | *-pc-os2-emx )
2889 cat >>confdefs.h <<\_ACEOF
2890 #define __EMX__ 1
2891 _ACEOF
2892
2893 USE_OS2=1
2894 cat >>confdefs.h <<\_ACEOF
2895 #define __OS2__ 1
2896 _ACEOF
2897
2898 PROGRAM_EXT=".exe"
2899 DEFAULT_DEFAULT_wxUSE_PM=1
2900 CXX=gcc
2901 LDFLAGS="$LDFLAGS -Zcrtdll"
2902 ac_executable_extensions=".exe"
2903 export ac_executable_extensions
2904 ac_save_IFS="$IFS"
2905 IFS='\\'
2906 ac_TEMP_PATH=
2907 for ac_dir in $PATH; do
2908 IFS=$ac_save_IFS
2909 if test -z "$ac_TEMP_PATH"; then
2910 ac_TEMP_PATH="$ac_dir"
2911 else
2912 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2913 fi
2914 done
2915 export PATH="$ac_TEMP_PATH"
2916 unset ac_TEMP_PATH
2917 DEFAULT_STD_FLAG=no
2918 ;;
2919
2920 arm-apple-darwin*)
2921 USE_BSD=1
2922 USE_DARWIN=1
2923 cat >>confdefs.h <<\_ACEOF
2924 #define __BSD__ 1
2925 _ACEOF
2926
2927 cat >>confdefs.h <<\_ACEOF
2928 #define __DARWIN__ 1
2929 _ACEOF
2930
2931 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2932 ;;
2933
2934 *-*-darwin* )
2935 USE_BSD=1
2936 USE_DARWIN=1
2937 cat >>confdefs.h <<\_ACEOF
2938 #define __BSD__ 1
2939 _ACEOF
2940
2941 cat >>confdefs.h <<\_ACEOF
2942 #define __DARWIN__ 1
2943 _ACEOF
2944
2945 cat >>confdefs.h <<\_ACEOF
2946 #define TARGET_CARBON 1
2947 _ACEOF
2948
2949 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2950 ;;
2951
2952 *-*-beos* )
2953 USE_BEOS=1
2954 cat >>confdefs.h <<\_ACEOF
2955 #define __BEOS__ 1
2956 _ACEOF
2957
2958 ;;
2959
2960 *)
2961 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2962 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2963 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2964 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2965
2966 DEFAULT_DEFAULT_wxUSE_X11=1
2967 DEFAULT_wxUSE_SHARED=no
2968 esac
2969
2970
2971
2972 DEFAULT_wxUSE_ALL_FEATURES=yes
2973
2974 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2975 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2976
2977 DEFAULT_wxUSE_DMALLOC=no
2978 DEFAULT_wxUSE_LIBGNOMEVFS=no
2979 DEFAULT_wxUSE_LIBHILDON=no
2980 DEFAULT_wxUSE_LIBHILDON2=no
2981 DEFAULT_wxUSE_LIBMSPACK=no
2982 DEFAULT_wxUSE_LIBSDL=no
2983
2984 DEFAULT_wxUSE_ACCESSIBILITY=no
2985 DEFAULT_wxUSE_IPV6=no
2986 DEFAULT_wxUSE_GSTREAMER8=no
2987
2988 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2989 DEFAULT_wxUSE_UNICODE_UTF8=auto
2990 DEFAULT_wxUSE_OPENGL=auto
2991 DEFAULT_wxUSE_MEDIACTRL=auto
2992 DEFAULT_wxUSE_COMPILER_TLS=auto
2993
2994 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2995
2996 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2997 DEFAULT_wxUSE_MAC_ARCH=no
2998
2999 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3000
3001 DEFAULT_wxUSE_GTK2=yes
3002
3003 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3004
3005
3006
3007
3008
3009 enablestring=disable
3010 defaultval=
3011 if test -z "$defaultval"; then
3012 if test x"$enablestring" = xdisable; then
3013 defaultval=yes
3014 else
3015 defaultval=no
3016 fi
3017 fi
3018
3019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3020 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3021 # Check whether --enable-gui was given.
3022 if test "${enable_gui+set}" = set; then
3023 enableval=$enable_gui;
3024 if test "$enableval" = yes; then
3025 wx_cv_use_gui='wxUSE_GUI=yes'
3026 else
3027 wx_cv_use_gui='wxUSE_GUI=no'
3028 fi
3029
3030 else
3031
3032 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3033
3034 fi
3035
3036
3037 eval "$wx_cv_use_gui"
3038
3039 if test x"$enablestring" = xdisable; then
3040 if test $wxUSE_GUI = no; then
3041 result=yes
3042 else
3043 result=no
3044 fi
3045 else
3046 result=$wxUSE_GUI
3047 fi
3048
3049 { echo "$as_me:$LINENO: result: $result" >&5
3050 echo "${ECHO_T}$result" >&6; }
3051
3052
3053 enablestring=
3054 defaultval=
3055 if test -z "$defaultval"; then
3056 if test x"$enablestring" = xdisable; then
3057 defaultval=yes
3058 else
3059 defaultval=no
3060 fi
3061 fi
3062
3063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3064 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3065 # Check whether --enable-monolithic was given.
3066 if test "${enable_monolithic+set}" = set; then
3067 enableval=$enable_monolithic;
3068 if test "$enableval" = yes; then
3069 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3070 else
3071 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3072 fi
3073
3074 else
3075
3076 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3077
3078 fi
3079
3080
3081 eval "$wx_cv_use_monolithic"
3082
3083 if test x"$enablestring" = xdisable; then
3084 if test $wxUSE_MONOLITHIC = no; then
3085 result=yes
3086 else
3087 result=no
3088 fi
3089 else
3090 result=$wxUSE_MONOLITHIC
3091 fi
3092
3093 { echo "$as_me:$LINENO: result: $result" >&5
3094 echo "${ECHO_T}$result" >&6; }
3095
3096
3097 enablestring=
3098 defaultval=
3099 if test -z "$defaultval"; then
3100 if test x"$enablestring" = xdisable; then
3101 defaultval=yes
3102 else
3103 defaultval=no
3104 fi
3105 fi
3106
3107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3108 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3109 # Check whether --enable-plugins was given.
3110 if test "${enable_plugins+set}" = set; then
3111 enableval=$enable_plugins;
3112 if test "$enableval" = yes; then
3113 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3114 else
3115 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3116 fi
3117
3118 else
3119
3120 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3121
3122 fi
3123
3124
3125 eval "$wx_cv_use_plugins"
3126
3127 if test x"$enablestring" = xdisable; then
3128 if test $wxUSE_PLUGINS = no; then
3129 result=yes
3130 else
3131 result=no
3132 fi
3133 else
3134 result=$wxUSE_PLUGINS
3135 fi
3136
3137 { echo "$as_me:$LINENO: result: $result" >&5
3138 echo "${ECHO_T}$result" >&6; }
3139
3140
3141 withstring=without
3142 defaultval=$wxUSE_ALL_FEATURES
3143 if test -z "$defaultval"; then
3144 if test x"$withstring" = xwithout; then
3145 defaultval=yes
3146 else
3147 defaultval=no
3148 fi
3149 fi
3150 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3151 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3152
3153 # Check whether --with-subdirs was given.
3154 if test "${with_subdirs+set}" = set; then
3155 withval=$with_subdirs;
3156 if test "$withval" = yes; then
3157 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3158 else
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3160 fi
3161
3162 else
3163
3164 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3165
3166 fi
3167
3168
3169 eval "$wx_cv_use_subdirs"
3170
3171 if test x"$withstring" = xwithout; then
3172 if test $wxWITH_SUBDIRS = yes; then
3173 result=no
3174 else
3175 result=yes
3176 fi
3177 else
3178 result=$wxWITH_SUBDIRS
3179 fi
3180
3181 { echo "$as_me:$LINENO: result: $result" >&5
3182 echo "${ECHO_T}$result" >&6; }
3183
3184
3185 # Check whether --with-flavour was given.
3186 if test "${with_flavour+set}" = set; then
3187 withval=$with_flavour; WX_FLAVOUR="$withval"
3188 fi
3189
3190
3191 enablestring=
3192 defaultval=
3193 if test -z "$defaultval"; then
3194 if test x"$enablestring" = xdisable; then
3195 defaultval=yes
3196 else
3197 defaultval=no
3198 fi
3199 fi
3200
3201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3202 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3203 # Check whether --enable-official_build was given.
3204 if test "${enable_official_build+set}" = set; then
3205 enableval=$enable_official_build;
3206 if test "$enableval" = yes; then
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3208 else
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3210 fi
3211
3212 else
3213
3214 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3215
3216 fi
3217
3218
3219 eval "$wx_cv_use_official_build"
3220
3221 if test x"$enablestring" = xdisable; then
3222 if test $wxUSE_OFFICIAL_BUILD = no; then
3223 result=yes
3224 else
3225 result=no
3226 fi
3227 else
3228 result=$wxUSE_OFFICIAL_BUILD
3229 fi
3230
3231 { echo "$as_me:$LINENO: result: $result" >&5
3232 echo "${ECHO_T}$result" >&6; }
3233
3234 # Check whether --enable-vendor was given.
3235 if test "${enable_vendor+set}" = set; then
3236 enableval=$enable_vendor; VENDOR="$enableval"
3237 fi
3238
3239 if test "x$VENDOR" = "x"; then
3240 VENDOR="custom"
3241 fi
3242
3243
3244 enablestring=disable
3245 defaultval=
3246 if test -z "$defaultval"; then
3247 if test x"$enablestring" = xdisable; then
3248 defaultval=yes
3249 else
3250 defaultval=no
3251 fi
3252 fi
3253
3254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3255 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3256 # Check whether --enable-all-features was given.
3257 if test "${enable_all_features+set}" = set; then
3258 enableval=$enable_all_features;
3259 if test "$enableval" = yes; then
3260 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3261 else
3262 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3263 fi
3264
3265 else
3266
3267 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3268
3269 fi
3270
3271
3272 eval "$wx_cv_use_all_features"
3273
3274 if test x"$enablestring" = xdisable; then
3275 if test $wxUSE_ALL_FEATURES = no; then
3276 result=yes
3277 else
3278 result=no
3279 fi
3280 else
3281 result=$wxUSE_ALL_FEATURES
3282 fi
3283
3284 { echo "$as_me:$LINENO: result: $result" >&5
3285 echo "${ECHO_T}$result" >&6; }
3286
3287
3288 if test "$wxUSE_ALL_FEATURES" = "no"; then
3289 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3290 DEFAULT_wxUSE_MEDIACTRL=no
3291 fi
3292
3293
3294 if test "$wxUSE_GUI" = "yes"; then
3295
3296
3297 enablestring=
3298 defaultval=
3299 if test -z "$defaultval"; then
3300 if test x"$enablestring" = xdisable; then
3301 defaultval=yes
3302 else
3303 defaultval=no
3304 fi
3305 fi
3306
3307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3308 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3309 # Check whether --enable-universal was given.
3310 if test "${enable_universal+set}" = set; then
3311 enableval=$enable_universal;
3312 if test "$enableval" = yes; then
3313 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3314 else
3315 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3316 fi
3317
3318 else
3319
3320 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3321
3322 fi
3323
3324
3325 eval "$wx_cv_use_universal"
3326
3327 if test x"$enablestring" = xdisable; then
3328 if test $wxUSE_UNIVERSAL = no; then
3329 result=yes
3330 else
3331 result=no
3332 fi
3333 else
3334 result=$wxUSE_UNIVERSAL
3335 fi
3336
3337 { echo "$as_me:$LINENO: result: $result" >&5
3338 echo "${ECHO_T}$result" >&6; }
3339
3340 if test "$wxUSE_UNIVERSAL" = "yes"; then
3341
3342 # Check whether --with-themes was given.
3343 if test "${with_themes+set}" = set; then
3344 withval=$with_themes; wxUNIV_THEMES="$withval"
3345 fi
3346
3347 fi
3348
3349
3350 # Check whether --with-gtk was given.
3351 if test "${with_gtk+set}" = set; then
3352 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-motif was given.
3357 if test "${with_motif+set}" = set; then
3358 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3359 fi
3360
3361
3362 # Check whether --with-osx_carbon was given.
3363 if test "${with_osx_carbon+set}" = set; then
3364 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3365 fi
3366
3367
3368 # Check whether --with-osx_cocoa was given.
3369 if test "${with_osx_cocoa+set}" = set; then
3370 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3371 fi
3372
3373
3374 # Check whether --with-osx_iphone was given.
3375 if test "${with_osx_iphone+set}" = set; then
3376 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3377 fi
3378
3379
3380 # Check whether --with-osx was given.
3381 if test "${with_osx+set}" = set; then
3382 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3383 fi
3384
3385
3386 # Check whether --with-carbon was given.
3387 if test "${with_carbon+set}" = set; then
3388 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3389 fi
3390
3391
3392 # Check whether --with-cocoa was given.
3393 if test "${with_cocoa+set}" = set; then
3394 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3395 fi
3396
3397
3398 # Check whether --with-iphone was given.
3399 if test "${with_iphone+set}" = set; then
3400 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3401 fi
3402
3403
3404 # Check whether --with-mac was given.
3405 if test "${with_mac+set}" = set; then
3406 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3407 fi
3408
3409
3410 # Check whether --with-old_cocoa was given.
3411 if test "${with_old_cocoa+set}" = set; then
3412 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3413 fi
3414
3415
3416 # Check whether --with-wine was given.
3417 if test "${with_wine+set}" = set; then
3418 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3419 fi
3420
3421
3422 # Check whether --with-msw was given.
3423 if test "${with_msw+set}" = set; then
3424 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3425 fi
3426
3427
3428 # Check whether --with-pm was given.
3429 if test "${with_pm+set}" = set; then
3430 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3431 fi
3432
3433
3434 # Check whether --with-mgl was given.
3435 if test "${with_mgl+set}" = set; then
3436 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3437 fi
3438
3439
3440 # Check whether --with-directfb was given.
3441 if test "${with_directfb+set}" = set; then
3442 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3443 fi
3444
3445
3446 # Check whether --with-microwin was given.
3447 if test "${with_microwin+set}" = set; then
3448 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3449 fi
3450
3451
3452 # Check whether --with-x11 was given.
3453 if test "${with_x11+set}" = set; then
3454 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3455 fi
3456
3457
3458 enablestring=
3459 defaultval=
3460 if test -z "$defaultval"; then
3461 if test x"$enablestring" = xdisable; then
3462 defaultval=yes
3463 else
3464 defaultval=no
3465 fi
3466 fi
3467
3468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3470 # Check whether --enable-nanox was given.
3471 if test "${enable_nanox+set}" = set; then
3472 enableval=$enable_nanox;
3473 if test "$enableval" = yes; then
3474 wx_cv_use_nanox='wxUSE_NANOX=yes'
3475 else
3476 wx_cv_use_nanox='wxUSE_NANOX=no'
3477 fi
3478
3479 else
3480
3481 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3482
3483 fi
3484
3485
3486 eval "$wx_cv_use_nanox"
3487
3488 if test x"$enablestring" = xdisable; then
3489 if test $wxUSE_NANOX = no; then
3490 result=yes
3491 else
3492 result=no
3493 fi
3494 else
3495 result=$wxUSE_NANOX
3496 fi
3497
3498 { echo "$as_me:$LINENO: result: $result" >&5
3499 echo "${ECHO_T}$result" >&6; }
3500
3501
3502 # Check whether --enable-gtk2 was given.
3503 if test "${enable_gtk2+set}" = set; then
3504 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3505 fi
3506
3507
3508 enablestring=
3509 defaultval=
3510 if test -z "$defaultval"; then
3511 if test x"$enablestring" = xdisable; then
3512 defaultval=yes
3513 else
3514 defaultval=no
3515 fi
3516 fi
3517
3518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3519 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3520 # Check whether --enable-gpe was given.
3521 if test "${enable_gpe+set}" = set; then
3522 enableval=$enable_gpe;
3523 if test "$enableval" = yes; then
3524 wx_cv_use_gpe='wxUSE_GPE=yes'
3525 else
3526 wx_cv_use_gpe='wxUSE_GPE=no'
3527 fi
3528
3529 else
3530
3531 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3532
3533 fi
3534
3535
3536 eval "$wx_cv_use_gpe"
3537
3538 if test x"$enablestring" = xdisable; then
3539 if test $wxUSE_GPE = no; then
3540 result=yes
3541 else
3542 result=no
3543 fi
3544 else
3545 result=$wxUSE_GPE
3546 fi
3547
3548 { echo "$as_me:$LINENO: result: $result" >&5
3549 echo "${ECHO_T}$result" >&6; }
3550
3551
3552
3553 { echo "$as_me:$LINENO: checking for toolkit" >&5
3554 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3555
3556
3557
3558 # In Wine, we need to default to MSW, not GTK or MOTIF
3559 if test "$wxUSE_WINE" = "yes"; then
3560 DEFAULT_DEFAULT_wxUSE_GTK=0
3561 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3562 DEFAULT_DEFAULT_wxUSE_MSW=1
3563 wxUSE_SHARED=no
3564 CC=${CC:-winegcc}
3565 CXX=${CXX:-wineg++}
3566 fi
3567
3568
3569 if test "$wxUSE_GUI" = "yes"; then
3570
3571 if test "$USE_BEOS" = 1; then
3572 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3573 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3574 { (exit 1); exit 1; }; }
3575 fi
3576
3577 if test "$TOOLKIT_GIVEN" = 1; then
3578 for toolkit in $ALL_TOOLKITS; do
3579 var=wxUSE_$toolkit
3580 eval "value=\$${var}"
3581 if test "x$value" = "xno"; then
3582 eval "$var=0"
3583 elif test "x$value" != "x"; then
3584 eval "$var=1"
3585 fi
3586
3587 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3588 eval "wx${toolkit}_VERSION=$value"
3589 fi
3590 done
3591 else
3592 for toolkit in $ALL_TOOLKITS; do
3593 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3594 eval "wxUSE_$toolkit=\$${var}"
3595 done
3596 fi
3597
3598 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3599 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3600 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3601
3602 case "${host}" in
3603 *-pc-os2_emx | *-pc-os2-emx )
3604 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3605 esac
3606
3607 case "$NUM_TOOLKITS" in
3608 1)
3609 ;;
3610 0)
3611 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3612 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3613 { (exit 1); exit 1; }; }
3614 ;;
3615 *)
3616 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3617 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3618 { (exit 1); exit 1; }; }
3619 esac
3620
3621 # to be removed when --disable-gtk2 isn't needed
3622 if test "x$wxUSE_GTK2" = "xyes"; then
3623 wxGTK_VERSION=2
3624 wxUSE_GTK1=0
3625 elif test "x$wxUSE_GTK2" = "xno"; then
3626 wxGTK_VERSION=1
3627 wxUSE_GTK1=1
3628 fi
3629
3630 for toolkit in $ALL_TOOLKITS; do
3631 var=wxUSE_$toolkit
3632 eval "value=\$${var}"
3633 if test "$value" = 1; then
3634 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3635 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3636 echo "${ECHO_T}$toolkit_echo" >&6; }
3637 fi
3638 done
3639 else
3640 if test "x$host_alias" != "x"; then
3641 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3642 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3643 else
3644 { echo "$as_me:$LINENO: result: base only" >&5
3645 echo "${ECHO_T}base only" >&6; }
3646 fi
3647 fi
3648
3649 wxUSE_MAC=0
3650 if test "$wxUSE_OSX_CARBON" = 1 \
3651 -o "$wxUSE_OSX_COCOA" = 1 \
3652 -o "$wxUSE_OSX_IPHONE" = 1; then
3653 wxUSE_MAC=1
3654 fi
3655
3656
3657
3658 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3659 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3660
3661 # Check whether --with-libpng was given.
3662 if test "${with_libpng+set}" = set; then
3663 withval=$with_libpng;
3664 if test "$withval" = yes; then
3665 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3666 elif test "$withval" = no; then
3667 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3668 elif test "$withval" = sys; then
3669 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3670 elif test "$withval" = builtin; then
3671 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3672 else
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3676 fi
3677
3678 else
3679
3680 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3681
3682 fi
3683
3684
3685 eval "$wx_cv_use_libpng"
3686
3687 if test "$wxUSE_LIBPNG" = yes; then
3688 { echo "$as_me:$LINENO: result: yes" >&5
3689 echo "${ECHO_T}yes" >&6; }
3690 elif test "$wxUSE_LIBPNG" = no; then
3691 { echo "$as_me:$LINENO: result: no" >&5
3692 echo "${ECHO_T}no" >&6; }
3693 elif test "$wxUSE_LIBPNG" = sys; then
3694 { echo "$as_me:$LINENO: result: system version" >&5
3695 echo "${ECHO_T}system version" >&6; }
3696 elif test "$wxUSE_LIBPNG" = builtin; then
3697 { echo "$as_me:$LINENO: result: builtin version" >&5
3698 echo "${ECHO_T}builtin version" >&6; }
3699 else
3700 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3701 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3702 { (exit 1); exit 1; }; }
3703 fi
3704
3705
3706 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3707 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3708
3709 # Check whether --with-libjpeg was given.
3710 if test "${with_libjpeg+set}" = set; then
3711 withval=$with_libjpeg;
3712 if test "$withval" = yes; then
3713 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3714 elif test "$withval" = no; then
3715 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3716 elif test "$withval" = sys; then
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3718 elif test "$withval" = builtin; then
3719 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3720 else
3721 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3722 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3723 { (exit 1); exit 1; }; }
3724 fi
3725
3726 else
3727
3728 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3729
3730 fi
3731
3732
3733 eval "$wx_cv_use_libjpeg"
3734
3735 if test "$wxUSE_LIBJPEG" = yes; then
3736 { echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6; }
3738 elif test "$wxUSE_LIBJPEG" = no; then
3739 { echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6; }
3741 elif test "$wxUSE_LIBJPEG" = sys; then
3742 { echo "$as_me:$LINENO: result: system version" >&5
3743 echo "${ECHO_T}system version" >&6; }
3744 elif test "$wxUSE_LIBJPEG" = builtin; then
3745 { echo "$as_me:$LINENO: result: builtin version" >&5
3746 echo "${ECHO_T}builtin version" >&6; }
3747 else
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3751 fi
3752
3753
3754 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3755 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3756
3757 # Check whether --with-libtiff was given.
3758 if test "${with_libtiff+set}" = set; then
3759 withval=$with_libtiff;
3760 if test "$withval" = yes; then
3761 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3762 elif test "$withval" = no; then
3763 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3764 elif test "$withval" = sys; then
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3766 elif test "$withval" = builtin; then
3767 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3768 else
3769 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3770 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3771 { (exit 1); exit 1; }; }
3772 fi
3773
3774 else
3775
3776 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3777
3778 fi
3779
3780
3781 eval "$wx_cv_use_libtiff"
3782
3783 if test "$wxUSE_LIBTIFF" = yes; then
3784 { echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6; }
3786 elif test "$wxUSE_LIBTIFF" = no; then
3787 { echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6; }
3789 elif test "$wxUSE_LIBTIFF" = sys; then
3790 { echo "$as_me:$LINENO: result: system version" >&5
3791 echo "${ECHO_T}system version" >&6; }
3792 elif test "$wxUSE_LIBTIFF" = builtin; then
3793 { echo "$as_me:$LINENO: result: builtin version" >&5
3794 echo "${ECHO_T}builtin version" >&6; }
3795 else
3796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3797 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3798 { (exit 1); exit 1; }; }
3799 fi
3800
3801
3802 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3803 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3804
3805 # Check whether --with-libxpm was given.
3806 if test "${with_libxpm+set}" = set; then
3807 withval=$with_libxpm;
3808 if test "$withval" = yes; then
3809 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3810 elif test "$withval" = no; then
3811 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3812 elif test "$withval" = sys; then
3813 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3814 elif test "$withval" = builtin; then
3815 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3816 else
3817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3818 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3819 { (exit 1); exit 1; }; }
3820 fi
3821
3822 else
3823
3824 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3825
3826 fi
3827
3828
3829 eval "$wx_cv_use_libxpm"
3830
3831 if test "$wxUSE_LIBXPM" = yes; then
3832 { echo "$as_me:$LINENO: result: yes" >&5
3833 echo "${ECHO_T}yes" >&6; }
3834 elif test "$wxUSE_LIBXPM" = no; then
3835 { echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6; }
3837 elif test "$wxUSE_LIBXPM" = sys; then
3838 { echo "$as_me:$LINENO: result: system version" >&5
3839 echo "${ECHO_T}system version" >&6; }
3840 elif test "$wxUSE_LIBXPM" = builtin; then
3841 { echo "$as_me:$LINENO: result: builtin version" >&5
3842 echo "${ECHO_T}builtin version" >&6; }
3843 else
3844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3845 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3846 { (exit 1); exit 1; }; }
3847 fi
3848
3849
3850 withstring=
3851 defaultval=$wxUSE_ALL_FEATURES
3852 if test -z "$defaultval"; then
3853 if test x"$withstring" = xwithout; then
3854 defaultval=yes
3855 else
3856 defaultval=no
3857 fi
3858 fi
3859 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3860 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3861
3862 # Check whether --with-libiconv was given.
3863 if test "${with_libiconv+set}" = set; then
3864 withval=$with_libiconv;
3865 if test "$withval" = yes; then
3866 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3867 else
3868 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3869 fi
3870
3871 else
3872
3873 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3874
3875 fi
3876
3877
3878 eval "$wx_cv_use_libiconv"
3879
3880 if test x"$withstring" = xwithout; then
3881 if test $wxUSE_LIBICONV = yes; then
3882 result=no
3883 else
3884 result=yes
3885 fi
3886 else
3887 result=$wxUSE_LIBICONV
3888 fi
3889
3890 { echo "$as_me:$LINENO: result: $result" >&5
3891 echo "${ECHO_T}$result" >&6; }
3892
3893
3894 withstring=
3895 defaultval=$wxUSE_ALL_FEATURES
3896 if test -z "$defaultval"; then
3897 if test x"$withstring" = xwithout; then
3898 defaultval=yes
3899 else
3900 defaultval=no
3901 fi
3902 fi
3903 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3904 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3905
3906 # Check whether --with-libmspack was given.
3907 if test "${with_libmspack+set}" = set; then
3908 withval=$with_libmspack;
3909 if test "$withval" = yes; then
3910 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3911 else
3912 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3913 fi
3914
3915 else
3916
3917 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3918
3919 fi
3920
3921
3922 eval "$wx_cv_use_libmspack"
3923
3924 if test x"$withstring" = xwithout; then
3925 if test $wxUSE_LIBMSPACK = yes; then
3926 result=no
3927 else
3928 result=yes
3929 fi
3930 else
3931 result=$wxUSE_LIBMSPACK
3932 fi
3933
3934 { echo "$as_me:$LINENO: result: $result" >&5
3935 echo "${ECHO_T}$result" >&6; }
3936
3937
3938 withstring=without
3939 defaultval=$wxUSE_ALL_FEATURES
3940 if test -z "$defaultval"; then
3941 if test x"$withstring" = xwithout; then
3942 defaultval=yes
3943 else
3944 defaultval=no
3945 fi
3946 fi
3947 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3948 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3949
3950 # Check whether --with-gtkprint was given.
3951 if test "${with_gtkprint+set}" = set; then
3952 withval=$with_gtkprint;
3953 if test "$withval" = yes; then
3954 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3955 else
3956 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3957 fi
3958
3959 else
3960
3961 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3962
3963 fi
3964
3965
3966 eval "$wx_cv_use_gtkprint"
3967
3968 if test x"$withstring" = xwithout; then
3969 if test $wxUSE_GTKPRINT = yes; then
3970 result=no
3971 else
3972 result=yes
3973 fi
3974 else
3975 result=$wxUSE_GTKPRINT
3976 fi
3977
3978 { echo "$as_me:$LINENO: result: $result" >&5
3979 echo "${ECHO_T}$result" >&6; }
3980
3981
3982 withstring=without
3983 defaultval=$wxUSE_ALL_FEATURES
3984 if test -z "$defaultval"; then
3985 if test x"$withstring" = xwithout; then
3986 defaultval=yes
3987 else
3988 defaultval=no
3989 fi
3990 fi
3991 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3992 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3993
3994 # Check whether --with-gnomeprint was given.
3995 if test "${with_gnomeprint+set}" = set; then
3996 withval=$with_gnomeprint;
3997 if test "$withval" = yes; then
3998 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3999 else
4000 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4001 fi
4002
4003 else
4004
4005 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4006
4007 fi
4008
4009
4010 eval "$wx_cv_use_gnomeprint"
4011
4012 if test x"$withstring" = xwithout; then
4013 if test $wxUSE_LIBGNOMEPRINT = yes; then
4014 result=no
4015 else
4016 result=yes
4017 fi
4018 else
4019 result=$wxUSE_LIBGNOMEPRINT
4020 fi
4021
4022 { echo "$as_me:$LINENO: result: $result" >&5
4023 echo "${ECHO_T}$result" >&6; }
4024
4025
4026 withstring=
4027 defaultval=$wxUSE_ALL_FEATURES
4028 if test -z "$defaultval"; then
4029 if test x"$withstring" = xwithout; then
4030 defaultval=yes
4031 else
4032 defaultval=no
4033 fi
4034 fi
4035 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4036 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4037
4038 # Check whether --with-gnomevfs was given.
4039 if test "${with_gnomevfs+set}" = set; then
4040 withval=$with_gnomevfs;
4041 if test "$withval" = yes; then
4042 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4043 else
4044 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4045 fi
4046
4047 else
4048
4049 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4050
4051 fi
4052
4053
4054 eval "$wx_cv_use_gnomevfs"
4055
4056 if test x"$withstring" = xwithout; then
4057 if test $wxUSE_LIBGNOMEVFS = yes; then
4058 result=no
4059 else
4060 result=yes
4061 fi
4062 else
4063 result=$wxUSE_LIBGNOMEVFS
4064 fi
4065
4066 { echo "$as_me:$LINENO: result: $result" >&5
4067 echo "${ECHO_T}$result" >&6; }
4068
4069
4070 withstring=
4071 defaultval=$wxUSE_ALL_FEATURES
4072 if test -z "$defaultval"; then
4073 if test x"$withstring" = xwithout; then
4074 defaultval=yes
4075 else
4076 defaultval=no
4077 fi
4078 fi
4079 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4080 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4081
4082 # Check whether --with-hildon was given.
4083 if test "${with_hildon+set}" = set; then
4084 withval=$with_hildon;
4085 if test "$withval" = yes; then
4086 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4087 else
4088 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4089 fi
4090
4091 else
4092
4093 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4094
4095 fi
4096
4097
4098 eval "$wx_cv_use_hildon"
4099
4100 if test x"$withstring" = xwithout; then
4101 if test $wxUSE_LIBHILDON = yes; then
4102 result=no
4103 else
4104 result=yes
4105 fi
4106 else
4107 result=$wxUSE_LIBHILDON
4108 fi
4109
4110 { echo "$as_me:$LINENO: result: $result" >&5
4111 echo "${ECHO_T}$result" >&6; }
4112
4113
4114 withstring=
4115 defaultval=$wxUSE_ALL_FEATURES
4116 if test -z "$defaultval"; then
4117 if test x"$withstring" = xwithout; then
4118 defaultval=yes
4119 else
4120 defaultval=no
4121 fi
4122 fi
4123 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4124 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4125
4126 # Check whether --with-opengl was given.
4127 if test "${with_opengl+set}" = set; then
4128 withval=$with_opengl;
4129 if test "$withval" = yes; then
4130 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4131 else
4132 wx_cv_use_opengl='wxUSE_OPENGL=no'
4133 fi
4134
4135 else
4136
4137 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4138
4139 fi
4140
4141
4142 eval "$wx_cv_use_opengl"
4143
4144 if test x"$withstring" = xwithout; then
4145 if test $wxUSE_OPENGL = yes; then
4146 result=no
4147 else
4148 result=yes
4149 fi
4150 else
4151 result=$wxUSE_OPENGL
4152 fi
4153
4154 { echo "$as_me:$LINENO: result: $result" >&5
4155 echo "${ECHO_T}$result" >&6; }
4156
4157
4158 fi
4159
4160
4161 withstring=
4162 defaultval=$wxUSE_ALL_FEATURES
4163 if test -z "$defaultval"; then
4164 if test x"$withstring" = xwithout; then
4165 defaultval=yes
4166 else
4167 defaultval=no
4168 fi
4169 fi
4170 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4171 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4172
4173 # Check whether --with-dmalloc was given.
4174 if test "${with_dmalloc+set}" = set; then
4175 withval=$with_dmalloc;
4176 if test "$withval" = yes; then
4177 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4178 else
4179 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4180 fi
4181
4182 else
4183
4184 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4185
4186 fi
4187
4188
4189 eval "$wx_cv_use_dmalloc"
4190
4191 if test x"$withstring" = xwithout; then
4192 if test $wxUSE_DMALLOC = yes; then
4193 result=no
4194 else
4195 result=yes
4196 fi
4197 else
4198 result=$wxUSE_DMALLOC
4199 fi
4200
4201 { echo "$as_me:$LINENO: result: $result" >&5
4202 echo "${ECHO_T}$result" >&6; }
4203
4204
4205 withstring=
4206 defaultval=$wxUSE_ALL_FEATURES
4207 if test -z "$defaultval"; then
4208 if test x"$withstring" = xwithout; then
4209 defaultval=yes
4210 else
4211 defaultval=no
4212 fi
4213 fi
4214 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4215 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4216
4217 # Check whether --with-sdl was given.
4218 if test "${with_sdl+set}" = set; then
4219 withval=$with_sdl;
4220 if test "$withval" = yes; then
4221 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4222 else
4223 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4224 fi
4225
4226 else
4227
4228 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4229
4230 fi
4231
4232
4233 eval "$wx_cv_use_sdl"
4234
4235 if test x"$withstring" = xwithout; then
4236 if test $wxUSE_LIBSDL = yes; then
4237 result=no
4238 else
4239 result=yes
4240 fi
4241 else
4242 result=$wxUSE_LIBSDL
4243 fi
4244
4245 { echo "$as_me:$LINENO: result: $result" >&5
4246 echo "${ECHO_T}$result" >&6; }
4247
4248
4249 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4250 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4251
4252 # Check whether --with-regex was given.
4253 if test "${with_regex+set}" = set; then
4254 withval=$with_regex;
4255 if test "$withval" = yes; then
4256 wx_cv_use_regex='wxUSE_REGEX=yes'
4257 elif test "$withval" = no; then
4258 wx_cv_use_regex='wxUSE_REGEX=no'
4259 elif test "$withval" = sys; then
4260 wx_cv_use_regex='wxUSE_REGEX=sys'
4261 elif test "$withval" = builtin; then
4262 wx_cv_use_regex='wxUSE_REGEX=builtin'
4263 else
4264 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4265 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4266 { (exit 1); exit 1; }; }
4267 fi
4268
4269 else
4270
4271 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4272
4273 fi
4274
4275
4276 eval "$wx_cv_use_regex"
4277
4278 if test "$wxUSE_REGEX" = yes; then
4279 { echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6; }
4281 elif test "$wxUSE_REGEX" = no; then
4282 { echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6; }
4284 elif test "$wxUSE_REGEX" = sys; then
4285 { echo "$as_me:$LINENO: result: system version" >&5
4286 echo "${ECHO_T}system version" >&6; }
4287 elif test "$wxUSE_REGEX" = builtin; then
4288 { echo "$as_me:$LINENO: result: builtin version" >&5
4289 echo "${ECHO_T}builtin version" >&6; }
4290 else
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4294 fi
4295
4296
4297 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4298 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4299
4300 # Check whether --with-zlib was given.
4301 if test "${with_zlib+set}" = set; then
4302 withval=$with_zlib;
4303 if test "$withval" = yes; then
4304 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4305 elif test "$withval" = no; then
4306 wx_cv_use_zlib='wxUSE_ZLIB=no'
4307 elif test "$withval" = sys; then
4308 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4309 elif test "$withval" = builtin; then
4310 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4311 else
4312 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4313 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4314 { (exit 1); exit 1; }; }
4315 fi
4316
4317 else
4318
4319 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4320
4321 fi
4322
4323
4324 eval "$wx_cv_use_zlib"
4325
4326 if test "$wxUSE_ZLIB" = yes; then
4327 { echo "$as_me:$LINENO: result: yes" >&5
4328 echo "${ECHO_T}yes" >&6; }
4329 elif test "$wxUSE_ZLIB" = no; then
4330 { echo "$as_me:$LINENO: result: no" >&5
4331 echo "${ECHO_T}no" >&6; }
4332 elif test "$wxUSE_ZLIB" = sys; then
4333 { echo "$as_me:$LINENO: result: system version" >&5
4334 echo "${ECHO_T}system version" >&6; }
4335 elif test "$wxUSE_ZLIB" = builtin; then
4336 { echo "$as_me:$LINENO: result: builtin version" >&5
4337 echo "${ECHO_T}builtin version" >&6; }
4338 else
4339 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4340 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4341 { (exit 1); exit 1; }; }
4342 fi
4343
4344
4345 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4346 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4347
4348 # Check whether --with-expat was given.
4349 if test "${with_expat+set}" = set; then
4350 withval=$with_expat;
4351 if test "$withval" = yes; then
4352 wx_cv_use_expat='wxUSE_EXPAT=yes'
4353 elif test "$withval" = no; then
4354 wx_cv_use_expat='wxUSE_EXPAT=no'
4355 elif test "$withval" = sys; then
4356 wx_cv_use_expat='wxUSE_EXPAT=sys'
4357 elif test "$withval" = builtin; then
4358 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4359 else
4360 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4361 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4362 { (exit 1); exit 1; }; }
4363 fi
4364
4365 else
4366
4367 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4368
4369 fi
4370
4371
4372 eval "$wx_cv_use_expat"
4373
4374 if test "$wxUSE_EXPAT" = yes; then
4375 { echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6; }
4377 elif test "$wxUSE_EXPAT" = no; then
4378 { echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6; }
4380 elif test "$wxUSE_EXPAT" = sys; then
4381 { echo "$as_me:$LINENO: result: system version" >&5
4382 echo "${ECHO_T}system version" >&6; }
4383 elif test "$wxUSE_EXPAT" = builtin; then
4384 { echo "$as_me:$LINENO: result: builtin version" >&5
4385 echo "${ECHO_T}builtin version" >&6; }
4386 else
4387 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4388 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4389 { (exit 1); exit 1; }; }
4390 fi
4391
4392
4393 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4394 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4395
4396 # Check whether --with-macosx-sdk was given.
4397 if test "${with_macosx_sdk+set}" = set; then
4398 withval=$with_macosx_sdk;
4399 wxUSE_MACOSX_SDK=$withval
4400 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4401
4402 fi
4403
4404 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4405 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4406
4407 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4408 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4409
4410 # Check whether --with-macosx-version-min was given.
4411 if test "${with_macosx_version_min+set}" = set; then
4412 withval=$with_macosx_version_min;
4413 wxUSE_MACOSX_VERSION_MIN=$withval
4414 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4415
4416 fi
4417
4418 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4419 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4420
4421
4422 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4423 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4424 # Check whether --enable-debug was given.
4425 if test "${enable_debug+set}" = set; then
4426 enableval=$enable_debug;
4427 if test "$enableval" = yes; then
4428 wxUSE_DEBUG=yes
4429 elif test "$enableval" = no; then
4430 wxUSE_DEBUG=no
4431 elif test "$enableval" = max; then
4432 wxUSE_DEBUG=yes
4433 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4434 else
4435 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4436 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4437 { (exit 1); exit 1; }; }
4438 fi
4439
4440 else
4441 wxUSE_DEBUG=default
4442
4443 fi
4444
4445
4446 case "$wxUSE_DEBUG" in
4447 yes)
4448 DEFAULT_wxUSE_DEBUG_FLAG=yes
4449 DEFAULT_wxUSE_DEBUG_INFO=yes
4450
4451 DEFAULT_wxUSE_OPTIMISE=no
4452 ;;
4453
4454 no)
4455 DEFAULT_wxUSE_DEBUG_FLAG=no
4456 DEFAULT_wxUSE_DEBUG_INFO=no
4457 ;;
4458
4459 default)
4460 DEFAULT_wxUSE_DEBUG_FLAG=yes
4461 DEFAULT_wxUSE_DEBUG_INFO=no
4462 ;;
4463 esac
4464
4465
4466 enablestring=disable
4467 defaultval=
4468 if test -z "$defaultval"; then
4469 if test x"$enablestring" = xdisable; then
4470 defaultval=yes
4471 else
4472 defaultval=no
4473 fi
4474 fi
4475
4476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4477 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4478 # Check whether --enable-debug_flag was given.
4479 if test "${enable_debug_flag+set}" = set; then
4480 enableval=$enable_debug_flag;
4481 if test "$enableval" = yes; then
4482 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4483 else
4484 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4485 fi
4486
4487 else
4488
4489 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4490
4491 fi
4492
4493
4494 eval "$wx_cv_use_debug_flag"
4495
4496 if test x"$enablestring" = xdisable; then
4497 if test $wxUSE_DEBUG_FLAG = no; then
4498 result=yes
4499 else
4500 result=no
4501 fi
4502 else
4503 result=$wxUSE_DEBUG_FLAG
4504 fi
4505
4506 { echo "$as_me:$LINENO: result: $result" >&5
4507 echo "${ECHO_T}$result" >&6; }
4508
4509
4510 enablestring=
4511 defaultval=
4512 if test -z "$defaultval"; then
4513 if test x"$enablestring" = xdisable; then
4514 defaultval=yes
4515 else
4516 defaultval=no
4517 fi
4518 fi
4519
4520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4521 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4522 # Check whether --enable-debug_info was given.
4523 if test "${enable_debug_info+set}" = set; then
4524 enableval=$enable_debug_info;
4525 if test "$enableval" = yes; then
4526 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4527 else
4528 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4529 fi
4530
4531 else
4532
4533 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4534
4535 fi
4536
4537
4538 eval "$wx_cv_use_debug_info"
4539
4540 if test x"$enablestring" = xdisable; then
4541 if test $wxUSE_DEBUG_INFO = no; then
4542 result=yes
4543 else
4544 result=no
4545 fi
4546 else
4547 result=$wxUSE_DEBUG_INFO
4548 fi
4549
4550 { echo "$as_me:$LINENO: result: $result" >&5
4551 echo "${ECHO_T}$result" >&6; }
4552
4553
4554
4555
4556 enablestring=
4557 defaultval=
4558 if test -z "$defaultval"; then
4559 if test x"$enablestring" = xdisable; then
4560 defaultval=yes
4561 else
4562 defaultval=no
4563 fi
4564 fi
4565
4566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4567 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4568 # Check whether --enable-debug_gdb was given.
4569 if test "${enable_debug_gdb+set}" = set; then
4570 enableval=$enable_debug_gdb;
4571 if test "$enableval" = yes; then
4572 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4573 else
4574 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4575 fi
4576
4577 else
4578
4579 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4580
4581 fi
4582
4583
4584 eval "$wx_cv_use_debug_gdb"
4585
4586 if test x"$enablestring" = xdisable; then
4587 if test $wxUSE_DEBUG_GDB = no; then
4588 result=yes
4589 else
4590 result=no
4591 fi
4592 else
4593 result=$wxUSE_DEBUG_GDB
4594 fi
4595
4596 { echo "$as_me:$LINENO: result: $result" >&5
4597 echo "${ECHO_T}$result" >&6; }
4598
4599
4600 enablestring=
4601 defaultval=
4602 if test -z "$defaultval"; then
4603 if test x"$enablestring" = xdisable; then
4604 defaultval=yes
4605 else
4606 defaultval=no
4607 fi
4608 fi
4609
4610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4611 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4612 # Check whether --enable-debug_cntxt was given.
4613 if test "${enable_debug_cntxt+set}" = set; then
4614 enableval=$enable_debug_cntxt;
4615 if test "$enableval" = yes; then
4616 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4617 else
4618 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4619 fi
4620
4621 else
4622
4623 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4624
4625 fi
4626
4627
4628 eval "$wx_cv_use_debug_cntxt"
4629
4630 if test x"$enablestring" = xdisable; then
4631 if test $wxUSE_DEBUG_CONTEXT = no; then
4632 result=yes
4633 else
4634 result=no
4635 fi
4636 else
4637 result=$wxUSE_DEBUG_CONTEXT
4638 fi
4639
4640 { echo "$as_me:$LINENO: result: $result" >&5
4641 echo "${ECHO_T}$result" >&6; }
4642
4643
4644 enablestring=
4645 defaultval=
4646 if test -z "$defaultval"; then
4647 if test x"$enablestring" = xdisable; then
4648 defaultval=yes
4649 else
4650 defaultval=no
4651 fi
4652 fi
4653
4654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4656 # Check whether --enable-mem_tracing was given.
4657 if test "${enable_mem_tracing+set}" = set; then
4658 enableval=$enable_mem_tracing;
4659 if test "$enableval" = yes; then
4660 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4661 else
4662 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4663 fi
4664
4665 else
4666
4667 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4668
4669 fi
4670
4671
4672 eval "$wx_cv_use_mem_tracing"
4673
4674 if test x"$enablestring" = xdisable; then
4675 if test $wxUSE_MEM_TRACING = no; then
4676 result=yes
4677 else
4678 result=no
4679 fi
4680 else
4681 result=$wxUSE_MEM_TRACING
4682 fi
4683
4684 { echo "$as_me:$LINENO: result: $result" >&5
4685 echo "${ECHO_T}$result" >&6; }
4686
4687
4688
4689
4690 enablestring=disable
4691 defaultval=
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4694 defaultval=yes
4695 else
4696 defaultval=no
4697 fi
4698 fi
4699
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4702 # Check whether --enable-shared was given.
4703 if test "${enable_shared+set}" = set; then
4704 enableval=$enable_shared;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_shared='wxUSE_SHARED=yes'
4707 else
4708 wx_cv_use_shared='wxUSE_SHARED=no'
4709 fi
4710
4711 else
4712
4713 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4714
4715 fi
4716
4717
4718 eval "$wx_cv_use_shared"
4719
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_SHARED = no; then
4722 result=yes
4723 else
4724 result=no
4725 fi
4726 else
4727 result=$wxUSE_SHARED
4728 fi
4729
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4732
4733
4734 enablestring=
4735 defaultval=
4736 if test -z "$defaultval"; then
4737 if test x"$enablestring" = xdisable; then
4738 defaultval=yes
4739 else
4740 defaultval=no
4741 fi
4742 fi
4743
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4746 # Check whether --enable-stl was given.
4747 if test "${enable_stl+set}" = set; then
4748 enableval=$enable_stl;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_stl='wxUSE_STL=yes'
4751 else
4752 wx_cv_use_stl='wxUSE_STL=no'
4753 fi
4754
4755 else
4756
4757 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4758
4759 fi
4760
4761
4762 eval "$wx_cv_use_stl"
4763
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_STL = no; then
4766 result=yes
4767 else
4768 result=no
4769 fi
4770 else
4771 result=$wxUSE_STL
4772 fi
4773
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4776
4777
4778 enablestring=
4779 defaultval=
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4782 defaultval=yes
4783 else
4784 defaultval=no
4785 fi
4786 fi
4787
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4790 # Check whether --enable-std_iostreams was given.
4791 if test "${enable_std_iostreams+set}" = set; then
4792 enableval=$enable_std_iostreams;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4795 else
4796 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4797 fi
4798
4799 else
4800
4801 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4802
4803 fi
4804
4805
4806 eval "$wx_cv_use_std_iostreams"
4807
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_STD_IOSTREAM = no; then
4810 result=yes
4811 else
4812 result=no
4813 fi
4814 else
4815 result=$wxUSE_STD_IOSTREAM
4816 fi
4817
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4820
4821
4822 enablestring=
4823 defaultval=
4824 if test -z "$defaultval"; then
4825 if test x"$enablestring" = xdisable; then
4826 defaultval=yes
4827 else
4828 defaultval=no
4829 fi
4830 fi
4831
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4834 # Check whether --enable-std_string was given.
4835 if test "${enable_std_string+set}" = set; then
4836 enableval=$enable_std_string;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4839 else
4840 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4841 fi
4842
4843 else
4844
4845 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4846
4847 fi
4848
4849
4850 eval "$wx_cv_use_std_string"
4851
4852 if test x"$enablestring" = xdisable; then
4853 if test $wxUSE_STD_STRING = no; then
4854 result=yes
4855 else
4856 result=no
4857 fi
4858 else
4859 result=$wxUSE_STD_STRING
4860 fi
4861
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4864
4865
4866 enablestring=disable
4867 defaultval=
4868 if test -z "$defaultval"; then
4869 if test x"$enablestring" = xdisable; then
4870 defaultval=yes
4871 else
4872 defaultval=no
4873 fi
4874 fi
4875
4876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4878 # Check whether --enable-unicode was given.
4879 if test "${enable_unicode+set}" = set; then
4880 enableval=$enable_unicode;
4881 if test "$enableval" = yes; then
4882 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4883 else
4884 wx_cv_use_unicode='wxUSE_UNICODE=no'
4885 fi
4886
4887 else
4888
4889 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4890
4891 fi
4892
4893
4894 eval "$wx_cv_use_unicode"
4895
4896 if test x"$enablestring" = xdisable; then
4897 if test $wxUSE_UNICODE = no; then
4898 result=yes
4899 else
4900 result=no
4901 fi
4902 else
4903 result=$wxUSE_UNICODE
4904 fi
4905
4906 { echo "$as_me:$LINENO: result: $result" >&5
4907 echo "${ECHO_T}$result" >&6; }
4908
4909
4910 enablestring=
4911 defaultval=
4912 if test -z "$defaultval"; then
4913 if test x"$enablestring" = xdisable; then
4914 defaultval=yes
4915 else
4916 defaultval=no
4917 fi
4918 fi
4919
4920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4922 # Check whether --enable-mslu was given.
4923 if test "${enable_mslu+set}" = set; then
4924 enableval=$enable_mslu;
4925 if test "$enableval" = yes; then
4926 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4927 else
4928 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4929 fi
4930
4931 else
4932
4933 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4934
4935 fi
4936
4937
4938 eval "$wx_cv_use_mslu"
4939
4940 if test x"$enablestring" = xdisable; then
4941 if test $wxUSE_UNICODE_MSLU = no; then
4942 result=yes
4943 else
4944 result=no
4945 fi
4946 else
4947 result=$wxUSE_UNICODE_MSLU
4948 fi
4949
4950 { echo "$as_me:$LINENO: result: $result" >&5
4951 echo "${ECHO_T}$result" >&6; }
4952
4953
4954 enablestring=
4955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4957 # Check whether --enable-utf8 was given.
4958 if test "${enable_utf8+set}" = set; then
4959 enableval=$enable_utf8;
4960 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4961
4962 else
4963
4964 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4965
4966 fi
4967
4968
4969 eval "$wx_cv_use_utf8"
4970
4971 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4972 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4973
4974
4975 enablestring=
4976 defaultval=
4977 if test -z "$defaultval"; then
4978 if test x"$enablestring" = xdisable; then
4979 defaultval=yes
4980 else
4981 defaultval=no
4982 fi
4983 fi
4984
4985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4986 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4987 # Check whether --enable-utf8only was given.
4988 if test "${enable_utf8only+set}" = set; then
4989 enableval=$enable_utf8only;
4990 if test "$enableval" = yes; then
4991 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4992 else
4993 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4994 fi
4995
4996 else
4997
4998 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4999
5000 fi
5001
5002
5003 eval "$wx_cv_use_utf8only"
5004
5005 if test x"$enablestring" = xdisable; then
5006 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5007 result=yes
5008 else
5009 result=no
5010 fi
5011 else
5012 result=$wxUSE_UNICODE_UTF8_LOCALE
5013 fi
5014
5015 { echo "$as_me:$LINENO: result: $result" >&5
5016 echo "${ECHO_T}$result" >&6; }
5017
5018
5019 enablestring=
5020 defaultval=
5021 if test -z "$defaultval"; then
5022 if test x"$enablestring" = xdisable; then
5023 defaultval=yes
5024 else
5025 defaultval=no
5026 fi
5027 fi
5028
5029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5031 # Check whether --enable-extended_rtti was given.
5032 if test "${enable_extended_rtti+set}" = set; then
5033 enableval=$enable_extended_rtti;
5034 if test "$enableval" = yes; then
5035 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5036 else
5037 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5038 fi
5039
5040 else
5041
5042 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5043
5044 fi
5045
5046
5047 eval "$wx_cv_use_extended_rtti"
5048
5049 if test x"$enablestring" = xdisable; then
5050 if test $wxUSE_EXTENDED_RTTI = no; then
5051 result=yes
5052 else
5053 result=no
5054 fi
5055 else
5056 result=$wxUSE_EXTENDED_RTTI
5057 fi
5058
5059 { echo "$as_me:$LINENO: result: $result" >&5
5060 echo "${ECHO_T}$result" >&6; }
5061
5062 if test "$USE_OS2" = 1; then
5063 DEFAULT_wxUSE_OMF=no
5064
5065 enablestring=
5066 defaultval=
5067 if test -z "$defaultval"; then
5068 if test x"$enablestring" = xdisable; then
5069 defaultval=yes
5070 else
5071 defaultval=no
5072 fi
5073 fi
5074
5075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5076 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5077 # Check whether --enable-omf was given.
5078 if test "${enable_omf+set}" = set; then
5079 enableval=$enable_omf;
5080 if test "$enableval" = yes; then
5081 wx_cv_use_omf='wxUSE_OMF=yes'
5082 else
5083 wx_cv_use_omf='wxUSE_OMF=no'
5084 fi
5085
5086 else
5087
5088 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5089
5090 fi
5091
5092
5093 eval "$wx_cv_use_omf"
5094
5095 if test x"$enablestring" = xdisable; then
5096 if test $wxUSE_OMF = no; then
5097 result=yes
5098 else
5099 result=no
5100 fi
5101 else
5102 result=$wxUSE_OMF
5103 fi
5104
5105 { echo "$as_me:$LINENO: result: $result" >&5
5106 echo "${ECHO_T}$result" >&6; }
5107
5108 fi
5109
5110
5111 enablestring=disable
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}-optimise" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5123 # Check whether --enable-optimise was given.
5124 if test "${enable_optimise+set}" = set; then
5125 enableval=$enable_optimise;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5128 else
5129 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5130 fi
5131
5132 else
5133
5134 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5135
5136 fi
5137
5138
5139 eval "$wx_cv_use_optimise"
5140
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_OPTIMISE = no; then
5143 result=yes
5144 else
5145 result=no
5146 fi
5147 else
5148 result=$wxUSE_OPTIMISE
5149 fi
5150
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5153
5154
5155
5156 enablestring=
5157 defaultval=
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5160 defaultval=yes
5161 else
5162 defaultval=no
5163 fi
5164 fi
5165
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5168 # Check whether --enable-profile was given.
5169 if test "${enable_profile+set}" = set; then
5170 enableval=$enable_profile;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_profile='wxUSE_PROFILE=yes'
5173 else
5174 wx_cv_use_profile='wxUSE_PROFILE=no'
5175 fi
5176
5177 else
5178
5179 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5180
5181 fi
5182
5183
5184 eval "$wx_cv_use_profile"
5185
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_PROFILE = no; then
5188 result=yes
5189 else
5190 result=no
5191 fi
5192 else
5193 result=$wxUSE_PROFILE
5194 fi
5195
5196 { echo "$as_me:$LINENO: result: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5198
5199
5200 enablestring=
5201 defaultval=
5202 if test -z "$defaultval"; then
5203 if test x"$enablestring" = xdisable; then
5204 defaultval=yes
5205 else
5206 defaultval=no
5207 fi
5208 fi
5209
5210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5212 # Check whether --enable-no_rtti was given.
5213 if test "${enable_no_rtti+set}" = set; then
5214 enableval=$enable_no_rtti;
5215 if test "$enableval" = yes; then
5216 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5217 else
5218 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5219 fi
5220
5221 else
5222
5223 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5224
5225 fi
5226
5227
5228 eval "$wx_cv_use_no_rtti"
5229
5230 if test x"$enablestring" = xdisable; then
5231 if test $wxUSE_NO_RTTI = no; then
5232 result=yes
5233 else
5234 result=no
5235 fi
5236 else
5237 result=$wxUSE_NO_RTTI
5238 fi
5239
5240 { echo "$as_me:$LINENO: result: $result" >&5
5241 echo "${ECHO_T}$result" >&6; }
5242
5243
5244 enablestring=
5245 defaultval=
5246 if test -z "$defaultval"; then
5247 if test x"$enablestring" = xdisable; then
5248 defaultval=yes
5249 else
5250 defaultval=no
5251 fi
5252 fi
5253
5254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5256 # Check whether --enable-no_exceptions was given.
5257 if test "${enable_no_exceptions+set}" = set; then
5258 enableval=$enable_no_exceptions;
5259 if test "$enableval" = yes; then
5260 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5261 else
5262 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5263 fi
5264
5265 else
5266
5267 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5268
5269 fi
5270
5271
5272 eval "$wx_cv_use_no_exceptions"
5273
5274 if test x"$enablestring" = xdisable; then
5275 if test $wxUSE_NO_EXCEPTIONS = no; then
5276 result=yes
5277 else
5278 result=no
5279 fi
5280 else
5281 result=$wxUSE_NO_EXCEPTIONS
5282 fi
5283
5284 { echo "$as_me:$LINENO: result: $result" >&5
5285 echo "${ECHO_T}$result" >&6; }
5286
5287
5288 enablestring=
5289 defaultval=
5290 if test -z "$defaultval"; then
5291 if test x"$enablestring" = xdisable; then
5292 defaultval=yes
5293 else
5294 defaultval=no
5295 fi
5296 fi
5297
5298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5300 # Check whether --enable-permissive was given.
5301 if test "${enable_permissive+set}" = set; then
5302 enableval=$enable_permissive;
5303 if test "$enableval" = yes; then
5304 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5305 else
5306 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5307 fi
5308
5309 else
5310
5311 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5312
5313 fi
5314
5315
5316 eval "$wx_cv_use_permissive"
5317
5318 if test x"$enablestring" = xdisable; then
5319 if test $wxUSE_PERMISSIVE = no; then
5320 result=yes
5321 else
5322 result=no
5323 fi
5324 else
5325 result=$wxUSE_PERMISSIVE
5326 fi
5327
5328 { echo "$as_me:$LINENO: result: $result" >&5
5329 echo "${ECHO_T}$result" >&6; }
5330
5331
5332 enablestring=
5333 defaultval=
5334 if test -z "$defaultval"; then
5335 if test x"$enablestring" = xdisable; then
5336 defaultval=yes
5337 else
5338 defaultval=no
5339 fi
5340 fi
5341
5342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5344 # Check whether --enable-no_deps was given.
5345 if test "${enable_no_deps+set}" = set; then
5346 enableval=$enable_no_deps;
5347 if test "$enableval" = yes; then
5348 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5349 else
5350 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5351 fi
5352
5353 else
5354
5355 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5356
5357 fi
5358
5359
5360 eval "$wx_cv_use_no_deps"
5361
5362 if test x"$enablestring" = xdisable; then
5363 if test $wxUSE_NO_DEPS = no; then
5364 result=yes
5365 else
5366 result=no
5367 fi
5368 else
5369 result=$wxUSE_NO_DEPS
5370 fi
5371
5372 { echo "$as_me:$LINENO: result: $result" >&5
5373 echo "${ECHO_T}$result" >&6; }
5374
5375
5376 enablestring=disable
5377 defaultval=
5378 if test -z "$defaultval"; then
5379 if test x"$enablestring" = xdisable; then
5380 defaultval=yes
5381 else
5382 defaultval=no
5383 fi
5384 fi
5385
5386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5388 # Check whether --enable-vararg_macros was given.
5389 if test "${enable_vararg_macros+set}" = set; then
5390 enableval=$enable_vararg_macros;
5391 if test "$enableval" = yes; then
5392 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5393 else
5394 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5395 fi
5396
5397 else
5398
5399 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5400
5401 fi
5402
5403
5404 eval "$wx_cv_use_vararg_macros"
5405
5406 if test x"$enablestring" = xdisable; then
5407 if test $wxUSE_VARARG_MACROS = no; then
5408 result=yes
5409 else
5410 result=no
5411 fi
5412 else
5413 result=$wxUSE_VARARG_MACROS
5414 fi
5415
5416 { echo "$as_me:$LINENO: result: $result" >&5
5417 echo "${ECHO_T}$result" >&6; }
5418
5419
5420
5421 enablestring=
5422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5424 # Check whether --enable-universal_binary was given.
5425 if test "${enable_universal_binary+set}" = set; then
5426 enableval=$enable_universal_binary;
5427 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5428
5429 else
5430
5431 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5432
5433 fi
5434
5435
5436 eval "$wx_cv_use_universal_binary"
5437
5438 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5439 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5440
5441
5442 enablestring=
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5445 # Check whether --enable-macosx_arch was given.
5446 if test "${enable_macosx_arch+set}" = set; then
5447 enableval=$enable_macosx_arch;
5448 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5449
5450 else
5451
5452 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5453
5454 fi
5455
5456
5457 eval "$wx_cv_use_macosx_arch"
5458
5459 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5460 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5461
5462
5463
5464 enablestring=
5465 defaultval=
5466 if test -z "$defaultval"; then
5467 if test x"$enablestring" = xdisable; then
5468 defaultval=yes
5469 else
5470 defaultval=no
5471 fi
5472 fi
5473
5474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5476 # Check whether --enable-compat26 was given.
5477 if test "${enable_compat26+set}" = set; then
5478 enableval=$enable_compat26;
5479 if test "$enableval" = yes; then
5480 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5481 else
5482 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5483 fi
5484
5485 else
5486
5487 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5488
5489 fi
5490
5491
5492 eval "$wx_cv_use_compat26"
5493
5494 if test x"$enablestring" = xdisable; then
5495 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5496 result=yes
5497 else
5498 result=no
5499 fi
5500 else
5501 result=$WXWIN_COMPATIBILITY_2_6
5502 fi
5503
5504 { echo "$as_me:$LINENO: result: $result" >&5
5505 echo "${ECHO_T}$result" >&6; }
5506
5507
5508 enablestring=disable
5509 defaultval=
5510 if test -z "$defaultval"; then
5511 if test x"$enablestring" = xdisable; then
5512 defaultval=yes
5513 else
5514 defaultval=no
5515 fi
5516 fi
5517
5518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5519 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5520 # Check whether --enable-compat28 was given.
5521 if test "${enable_compat28+set}" = set; then
5522 enableval=$enable_compat28;
5523 if test "$enableval" = yes; then
5524 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5525 else
5526 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5527 fi
5528
5529 else
5530
5531 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5532
5533 fi
5534
5535
5536 eval "$wx_cv_use_compat28"
5537
5538 if test x"$enablestring" = xdisable; then
5539 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5540 result=yes
5541 else
5542 result=no
5543 fi
5544 else
5545 result=$WXWIN_COMPATIBILITY_2_8
5546 fi
5547
5548 { echo "$as_me:$LINENO: result: $result" >&5
5549 echo "${ECHO_T}$result" >&6; }
5550
5551
5552
5553 enablestring=disable
5554 defaultval=
5555 if test -z "$defaultval"; then
5556 if test x"$enablestring" = xdisable; then
5557 defaultval=yes
5558 else
5559 defaultval=no
5560 fi
5561 fi
5562
5563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5565 # Check whether --enable-rpath was given.
5566 if test "${enable_rpath+set}" = set; then
5567 enableval=$enable_rpath;
5568 if test "$enableval" = yes; then
5569 wx_cv_use_rpath='wxUSE_RPATH=yes'
5570 else
5571 wx_cv_use_rpath='wxUSE_RPATH=no'
5572 fi
5573
5574 else
5575
5576 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5577
5578 fi
5579
5580
5581 eval "$wx_cv_use_rpath"
5582
5583 if test x"$enablestring" = xdisable; then
5584 if test $wxUSE_RPATH = no; then
5585 result=yes
5586 else
5587 result=no
5588 fi
5589 else
5590 result=$wxUSE_RPATH
5591 fi
5592
5593 { echo "$as_me:$LINENO: result: $result" >&5
5594 echo "${ECHO_T}$result" >&6; }
5595
5596
5597
5598 enablestring=
5599 defaultval=
5600 if test -z "$defaultval"; then
5601 if test x"$enablestring" = xdisable; then
5602 defaultval=yes
5603 else
5604 defaultval=no
5605 fi
5606 fi
5607
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5610 # Check whether --enable-objc_uniquifying was given.
5611 if test "${enable_objc_uniquifying+set}" = set; then
5612 enableval=$enable_objc_uniquifying;
5613 if test "$enableval" = yes; then
5614 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5615 else
5616 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5617 fi
5618
5619 else
5620
5621 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5622
5623 fi
5624
5625
5626 eval "$wx_cv_use_objc_uniquifying"
5627
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5630 result=yes
5631 else
5632 result=no
5633 fi
5634 else
5635 result=$wxUSE_OBJC_UNIQUIFYING
5636 fi
5637
5638 { echo "$as_me:$LINENO: result: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5640
5641
5642
5643 enablestring=disable
5644 defaultval=
5645 if test -z "$defaultval"; then
5646 if test x"$enablestring" = xdisable; then
5647 defaultval=yes
5648 else
5649 defaultval=no
5650 fi
5651 fi
5652
5653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5654 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5655 # Check whether --enable-visibility was given.
5656 if test "${enable_visibility+set}" = set; then
5657 enableval=$enable_visibility;
5658 if test "$enableval" = yes; then
5659 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5660 else
5661 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5662 fi
5663
5664 else
5665
5666 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5667
5668 fi
5669
5670
5671 eval "$wx_cv_use_visibility"
5672
5673 if test x"$enablestring" = xdisable; then
5674 if test $wxUSE_VISIBILITY = no; then
5675 result=yes
5676 else
5677 result=no
5678 fi
5679 else
5680 result=$wxUSE_VISIBILITY
5681 fi
5682
5683 { echo "$as_me:$LINENO: result: $result" >&5
5684 echo "${ECHO_T}$result" >&6; }
5685
5686
5687 enablestring=disable
5688 defaultval=
5689 if test -z "$defaultval"; then
5690 if test x"$enablestring" = xdisable; then
5691 defaultval=yes
5692 else
5693 defaultval=no
5694 fi
5695 fi
5696
5697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5699 # Check whether --enable-tls was given.
5700 if test "${enable_tls+set}" = set; then
5701 enableval=$enable_tls;
5702 if test "$enableval" = yes; then
5703 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5704 else
5705 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5706 fi
5707
5708 else
5709
5710 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5711
5712 fi
5713
5714
5715 eval "$wx_cv_use_tls"
5716
5717 if test x"$enablestring" = xdisable; then
5718 if test $wxUSE_COMPILER_TLS = no; then
5719 result=yes
5720 else
5721 result=no
5722 fi
5723 else
5724 result=$wxUSE_COMPILER_TLS
5725 fi
5726
5727 { echo "$as_me:$LINENO: result: $result" >&5
5728 echo "${ECHO_T}$result" >&6; }
5729
5730
5731
5732
5733 enablestring=
5734 defaultval=$wxUSE_ALL_FEATURES
5735 if test -z "$defaultval"; then
5736 if test x"$enablestring" = xdisable; then
5737 defaultval=yes
5738 else
5739 defaultval=no
5740 fi
5741 fi
5742
5743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5744 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5745 # Check whether --enable-intl was given.
5746 if test "${enable_intl+set}" = set; then
5747 enableval=$enable_intl;
5748 if test "$enableval" = yes; then
5749 wx_cv_use_intl='wxUSE_INTL=yes'
5750 else
5751 wx_cv_use_intl='wxUSE_INTL=no'
5752 fi
5753
5754 else
5755
5756 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5757
5758 fi
5759
5760
5761 eval "$wx_cv_use_intl"
5762
5763 if test x"$enablestring" = xdisable; then
5764 if test $wxUSE_INTL = no; then
5765 result=yes
5766 else
5767 result=no
5768 fi
5769 else
5770 result=$wxUSE_INTL
5771 fi
5772
5773 { echo "$as_me:$LINENO: result: $result" >&5
5774 echo "${ECHO_T}$result" >&6; }
5775
5776
5777 enablestring=
5778 defaultval=$wxUSE_ALL_FEATURES
5779 if test -z "$defaultval"; then
5780 if test x"$enablestring" = xdisable; then
5781 defaultval=yes
5782 else
5783 defaultval=no
5784 fi
5785 fi
5786
5787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5788 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5789 # Check whether --enable-xlocale was given.
5790 if test "${enable_xlocale+set}" = set; then
5791 enableval=$enable_xlocale;
5792 if test "$enableval" = yes; then
5793 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5794 else
5795 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5796 fi
5797
5798 else
5799
5800 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5801
5802 fi
5803
5804
5805 eval "$wx_cv_use_xlocale"
5806
5807 if test x"$enablestring" = xdisable; then
5808 if test $wxUSE_XLOCALE = no; then
5809 result=yes
5810 else
5811 result=no
5812 fi
5813 else
5814 result=$wxUSE_XLOCALE
5815 fi
5816
5817 { echo "$as_me:$LINENO: result: $result" >&5
5818 echo "${ECHO_T}$result" >&6; }
5819
5820
5821 enablestring=
5822 defaultval=$wxUSE_ALL_FEATURES
5823 if test -z "$defaultval"; then
5824 if test x"$enablestring" = xdisable; then
5825 defaultval=yes
5826 else
5827 defaultval=no
5828 fi
5829 fi
5830
5831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5832 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5833 # Check whether --enable-config was given.
5834 if test "${enable_config+set}" = set; then
5835 enableval=$enable_config;
5836 if test "$enableval" = yes; then
5837 wx_cv_use_config='wxUSE_CONFIG=yes'
5838 else
5839 wx_cv_use_config='wxUSE_CONFIG=no'
5840 fi
5841
5842 else
5843
5844 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5845
5846 fi
5847
5848
5849 eval "$wx_cv_use_config"
5850
5851 if test x"$enablestring" = xdisable; then
5852 if test $wxUSE_CONFIG = no; then
5853 result=yes
5854 else
5855 result=no
5856 fi
5857 else
5858 result=$wxUSE_CONFIG
5859 fi
5860
5861 { echo "$as_me:$LINENO: result: $result" >&5
5862 echo "${ECHO_T}$result" >&6; }
5863
5864
5865
5866 enablestring=
5867 defaultval=$wxUSE_ALL_FEATURES
5868 if test -z "$defaultval"; then
5869 if test x"$enablestring" = xdisable; then
5870 defaultval=yes
5871 else
5872 defaultval=no
5873 fi
5874 fi
5875
5876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5877 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5878 # Check whether --enable-protocols was given.
5879 if test "${enable_protocols+set}" = set; then
5880 enableval=$enable_protocols;
5881 if test "$enableval" = yes; then
5882 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5883 else
5884 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5885 fi
5886
5887 else
5888
5889 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5890
5891 fi
5892
5893
5894 eval "$wx_cv_use_protocols"
5895
5896 if test x"$enablestring" = xdisable; then
5897 if test $wxUSE_PROTOCOL = no; then
5898 result=yes
5899 else
5900 result=no
5901 fi
5902 else
5903 result=$wxUSE_PROTOCOL
5904 fi
5905
5906 { echo "$as_me:$LINENO: result: $result" >&5
5907 echo "${ECHO_T}$result" >&6; }
5908
5909
5910 enablestring=
5911 defaultval=$wxUSE_ALL_FEATURES
5912 if test -z "$defaultval"; then
5913 if test x"$enablestring" = xdisable; then
5914 defaultval=yes
5915 else
5916 defaultval=no
5917 fi
5918 fi
5919
5920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5922 # Check whether --enable-ftp was given.
5923 if test "${enable_ftp+set}" = set; then
5924 enableval=$enable_ftp;
5925 if test "$enableval" = yes; then
5926 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5927 else
5928 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5929 fi
5930
5931 else
5932
5933 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5934
5935 fi
5936
5937
5938 eval "$wx_cv_use_ftp"
5939
5940 if test x"$enablestring" = xdisable; then
5941 if test $wxUSE_PROTOCOL_FTP = no; then
5942 result=yes
5943 else
5944 result=no
5945 fi
5946 else
5947 result=$wxUSE_PROTOCOL_FTP
5948 fi
5949
5950 { echo "$as_me:$LINENO: result: $result" >&5
5951 echo "${ECHO_T}$result" >&6; }
5952
5953
5954 enablestring=
5955 defaultval=$wxUSE_ALL_FEATURES
5956 if test -z "$defaultval"; then
5957 if test x"$enablestring" = xdisable; then
5958 defaultval=yes
5959 else
5960 defaultval=no
5961 fi
5962 fi
5963
5964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5965 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5966 # Check whether --enable-http was given.
5967 if test "${enable_http+set}" = set; then
5968 enableval=$enable_http;
5969 if test "$enableval" = yes; then
5970 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5971 else
5972 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5973 fi
5974
5975 else
5976
5977 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5978
5979 fi
5980
5981
5982 eval "$wx_cv_use_http"
5983
5984 if test x"$enablestring" = xdisable; then
5985 if test $wxUSE_PROTOCOL_HTTP = no; then
5986 result=yes
5987 else
5988 result=no
5989 fi
5990 else
5991 result=$wxUSE_PROTOCOL_HTTP
5992 fi
5993
5994 { echo "$as_me:$LINENO: result: $result" >&5
5995 echo "${ECHO_T}$result" >&6; }
5996
5997
5998 enablestring=
5999 defaultval=$wxUSE_ALL_FEATURES
6000 if test -z "$defaultval"; then
6001 if test x"$enablestring" = xdisable; then
6002 defaultval=yes
6003 else
6004 defaultval=no
6005 fi
6006 fi
6007
6008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6010 # Check whether --enable-fileproto was given.
6011 if test "${enable_fileproto+set}" = set; then
6012 enableval=$enable_fileproto;
6013 if test "$enableval" = yes; then
6014 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6015 else
6016 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6017 fi
6018
6019 else
6020
6021 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6022
6023 fi
6024
6025
6026 eval "$wx_cv_use_fileproto"
6027
6028 if test x"$enablestring" = xdisable; then
6029 if test $wxUSE_PROTOCOL_FILE = no; then
6030 result=yes
6031 else
6032 result=no
6033 fi
6034 else
6035 result=$wxUSE_PROTOCOL_FILE
6036 fi
6037
6038 { echo "$as_me:$LINENO: result: $result" >&5
6039 echo "${ECHO_T}$result" >&6; }
6040
6041
6042 enablestring=
6043 defaultval=$wxUSE_ALL_FEATURES
6044 if test -z "$defaultval"; then
6045 if test x"$enablestring" = xdisable; then
6046 defaultval=yes
6047 else
6048 defaultval=no
6049 fi
6050 fi
6051
6052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6054 # Check whether --enable-sockets was given.
6055 if test "${enable_sockets+set}" = set; then
6056 enableval=$enable_sockets;
6057 if test "$enableval" = yes; then
6058 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6059 else
6060 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6061 fi
6062
6063 else
6064
6065 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6066
6067 fi
6068
6069
6070 eval "$wx_cv_use_sockets"
6071
6072 if test x"$enablestring" = xdisable; then
6073 if test $wxUSE_SOCKETS = no; then
6074 result=yes
6075 else
6076 result=no
6077 fi
6078 else
6079 result=$wxUSE_SOCKETS
6080 fi
6081
6082 { echo "$as_me:$LINENO: result: $result" >&5
6083 echo "${ECHO_T}$result" >&6; }
6084
6085
6086 enablestring=
6087 defaultval=$wxUSE_ALL_FEATURES
6088 if test -z "$defaultval"; then
6089 if test x"$enablestring" = xdisable; then
6090 defaultval=yes
6091 else
6092 defaultval=no
6093 fi
6094 fi
6095
6096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6098 # Check whether --enable-ipv6 was given.
6099 if test "${enable_ipv6+set}" = set; then
6100 enableval=$enable_ipv6;
6101 if test "$enableval" = yes; then
6102 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6103 else
6104 wx_cv_use_ipv6='wxUSE_IPV6=no'
6105 fi
6106
6107 else
6108
6109 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6110
6111 fi
6112
6113
6114 eval "$wx_cv_use_ipv6"
6115
6116 if test x"$enablestring" = xdisable; then
6117 if test $wxUSE_IPV6 = no; then
6118 result=yes
6119 else
6120 result=no
6121 fi
6122 else
6123 result=$wxUSE_IPV6
6124 fi
6125
6126 { echo "$as_me:$LINENO: result: $result" >&5
6127 echo "${ECHO_T}$result" >&6; }
6128
6129
6130 enablestring=
6131 defaultval=$wxUSE_ALL_FEATURES
6132 if test -z "$defaultval"; then
6133 if test x"$enablestring" = xdisable; then
6134 defaultval=yes
6135 else
6136 defaultval=no
6137 fi
6138 fi
6139
6140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6142 # Check whether --enable-ole was given.
6143 if test "${enable_ole+set}" = set; then
6144 enableval=$enable_ole;
6145 if test "$enableval" = yes; then
6146 wx_cv_use_ole='wxUSE_OLE=yes'
6147 else
6148 wx_cv_use_ole='wxUSE_OLE=no'
6149 fi
6150
6151 else
6152
6153 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6154
6155 fi
6156
6157
6158 eval "$wx_cv_use_ole"
6159
6160 if test x"$enablestring" = xdisable; then
6161 if test $wxUSE_OLE = no; then
6162 result=yes
6163 else
6164 result=no
6165 fi
6166 else
6167 result=$wxUSE_OLE
6168 fi
6169
6170 { echo "$as_me:$LINENO: result: $result" >&5
6171 echo "${ECHO_T}$result" >&6; }
6172
6173
6174 enablestring=
6175 defaultval=$wxUSE_ALL_FEATURES
6176 if test -z "$defaultval"; then
6177 if test x"$enablestring" = xdisable; then
6178 defaultval=yes
6179 else
6180 defaultval=no
6181 fi
6182 fi
6183
6184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6186 # Check whether --enable-dataobj was given.
6187 if test "${enable_dataobj+set}" = set; then
6188 enableval=$enable_dataobj;
6189 if test "$enableval" = yes; then
6190 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6191 else
6192 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6193 fi
6194
6195 else
6196
6197 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6198
6199 fi
6200
6201
6202 eval "$wx_cv_use_dataobj"
6203
6204 if test x"$enablestring" = xdisable; then
6205 if test $wxUSE_DATAOBJ = no; then
6206 result=yes
6207 else
6208 result=no
6209 fi
6210 else
6211 result=$wxUSE_DATAOBJ
6212 fi
6213
6214 { echo "$as_me:$LINENO: result: $result" >&5
6215 echo "${ECHO_T}$result" >&6; }
6216
6217
6218
6219 enablestring=
6220 defaultval=$wxUSE_ALL_FEATURES
6221 if test -z "$defaultval"; then
6222 if test x"$enablestring" = xdisable; then
6223 defaultval=yes
6224 else
6225 defaultval=no
6226 fi
6227 fi
6228
6229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6230 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6231 # Check whether --enable-ipc was given.
6232 if test "${enable_ipc+set}" = set; then
6233 enableval=$enable_ipc;
6234 if test "$enableval" = yes; then
6235 wx_cv_use_ipc='wxUSE_IPC=yes'
6236 else
6237 wx_cv_use_ipc='wxUSE_IPC=no'
6238 fi
6239
6240 else
6241
6242 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6243
6244 fi
6245
6246
6247 eval "$wx_cv_use_ipc"
6248
6249 if test x"$enablestring" = xdisable; then
6250 if test $wxUSE_IPC = no; then
6251 result=yes
6252 else
6253 result=no
6254 fi
6255 else
6256 result=$wxUSE_IPC
6257 fi
6258
6259 { echo "$as_me:$LINENO: result: $result" >&5
6260 echo "${ECHO_T}$result" >&6; }
6261
6262
6263
6264 enablestring=
6265 defaultval=$wxUSE_ALL_FEATURES
6266 if test -z "$defaultval"; then
6267 if test x"$enablestring" = xdisable; then
6268 defaultval=yes
6269 else
6270 defaultval=no
6271 fi
6272 fi
6273
6274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6276 # Check whether --enable-baseevtloop was given.
6277 if test "${enable_baseevtloop+set}" = set; then
6278 enableval=$enable_baseevtloop;
6279 if test "$enableval" = yes; then
6280 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6281 else
6282 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6283 fi
6284
6285 else
6286
6287 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6288
6289 fi
6290
6291
6292 eval "$wx_cv_use_baseevtloop"
6293
6294 if test x"$enablestring" = xdisable; then
6295 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6296 result=yes
6297 else
6298 result=no
6299 fi
6300 else
6301 result=$wxUSE_CONSOLE_EVENTLOOP
6302 fi
6303
6304 { echo "$as_me:$LINENO: result: $result" >&5
6305 echo "${ECHO_T}$result" >&6; }
6306
6307
6308 enablestring=
6309 defaultval=$wxUSE_ALL_FEATURES
6310 if test -z "$defaultval"; then
6311 if test x"$enablestring" = xdisable; then
6312 defaultval=yes
6313 else
6314 defaultval=no
6315 fi
6316 fi
6317
6318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6320 # Check whether --enable-epollloop was given.
6321 if test "${enable_epollloop+set}" = set; then
6322 enableval=$enable_epollloop;
6323 if test "$enableval" = yes; then
6324 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6325 else
6326 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6327 fi
6328
6329 else
6330
6331 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6332
6333 fi
6334
6335
6336 eval "$wx_cv_use_epollloop"
6337
6338 if test x"$enablestring" = xdisable; then
6339 if test $wxUSE_EPOLL_DISPATCHER = no; then
6340 result=yes
6341 else
6342 result=no
6343 fi
6344 else
6345 result=$wxUSE_EPOLL_DISPATCHER
6346 fi
6347
6348 { echo "$as_me:$LINENO: result: $result" >&5
6349 echo "${ECHO_T}$result" >&6; }
6350
6351
6352 enablestring=
6353 defaultval=$wxUSE_ALL_FEATURES
6354 if test -z "$defaultval"; then
6355 if test x"$enablestring" = xdisable; then
6356 defaultval=yes
6357 else
6358 defaultval=no
6359 fi
6360 fi
6361
6362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6364 # Check whether --enable-selectloop was given.
6365 if test "${enable_selectloop+set}" = set; then
6366 enableval=$enable_selectloop;
6367 if test "$enableval" = yes; then
6368 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6369 else
6370 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6371 fi
6372
6373 else
6374
6375 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6376
6377 fi
6378
6379
6380 eval "$wx_cv_use_selectloop"
6381
6382 if test x"$enablestring" = xdisable; then
6383 if test $wxUSE_SELECT_DISPATCHER = no; then
6384 result=yes
6385 else
6386 result=no
6387 fi
6388 else
6389 result=$wxUSE_SELECT_DISPATCHER
6390 fi
6391
6392 { echo "$as_me:$LINENO: result: $result" >&5
6393 echo "${ECHO_T}$result" >&6; }
6394
6395
6396
6397 enablestring=
6398 defaultval=$wxUSE_ALL_FEATURES
6399 if test -z "$defaultval"; then
6400 if test x"$enablestring" = xdisable; then
6401 defaultval=yes
6402 else
6403 defaultval=no
6404 fi
6405 fi
6406
6407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6408 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6409 # Check whether --enable-any was given.
6410 if test "${enable_any+set}" = set; then
6411 enableval=$enable_any;
6412 if test "$enableval" = yes; then
6413 wx_cv_use_any='wxUSE_ANY=yes'
6414 else
6415 wx_cv_use_any='wxUSE_ANY=no'
6416 fi
6417
6418 else
6419
6420 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6421
6422 fi
6423
6424
6425 eval "$wx_cv_use_any"
6426
6427 if test x"$enablestring" = xdisable; then
6428 if test $wxUSE_ANY = no; then
6429 result=yes
6430 else
6431 result=no
6432 fi
6433 else
6434 result=$wxUSE_ANY
6435 fi
6436
6437 { echo "$as_me:$LINENO: result: $result" >&5
6438 echo "${ECHO_T}$result" >&6; }
6439
6440
6441 enablestring=
6442 defaultval=$wxUSE_ALL_FEATURES
6443 if test -z "$defaultval"; then
6444 if test x"$enablestring" = xdisable; then
6445 defaultval=yes
6446 else
6447 defaultval=no
6448 fi
6449 fi
6450
6451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6452 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6453 # Check whether --enable-apple_ieee was given.
6454 if test "${enable_apple_ieee+set}" = set; then
6455 enableval=$enable_apple_ieee;
6456 if test "$enableval" = yes; then
6457 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6458 else
6459 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6460 fi
6461
6462 else
6463
6464 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6465
6466 fi
6467
6468
6469 eval "$wx_cv_use_apple_ieee"
6470
6471 if test x"$enablestring" = xdisable; then
6472 if test $wxUSE_APPLE_IEEE = no; then
6473 result=yes
6474 else
6475 result=no
6476 fi
6477 else
6478 result=$wxUSE_APPLE_IEEE
6479 fi
6480
6481 { echo "$as_me:$LINENO: result: $result" >&5
6482 echo "${ECHO_T}$result" >&6; }
6483
6484
6485 enablestring=
6486 defaultval=$wxUSE_ALL_FEATURES
6487 if test -z "$defaultval"; then
6488 if test x"$enablestring" = xdisable; then
6489 defaultval=yes
6490 else
6491 defaultval=no
6492 fi
6493 fi
6494
6495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6496 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6497 # Check whether --enable-arcstream was given.
6498 if test "${enable_arcstream+set}" = set; then
6499 enableval=$enable_arcstream;
6500 if test "$enableval" = yes; then
6501 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6502 else
6503 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6504 fi
6505
6506 else
6507
6508 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6509
6510 fi
6511
6512
6513 eval "$wx_cv_use_arcstream"
6514
6515 if test x"$enablestring" = xdisable; then
6516 if test $wxUSE_ARCHIVE_STREAMS = no; then
6517 result=yes
6518 else
6519 result=no
6520 fi
6521 else
6522 result=$wxUSE_ARCHIVE_STREAMS
6523 fi
6524
6525 { echo "$as_me:$LINENO: result: $result" >&5
6526 echo "${ECHO_T}$result" >&6; }
6527
6528
6529 enablestring=
6530 defaultval=$wxUSE_ALL_FEATURES
6531 if test -z "$defaultval"; then
6532 if test x"$enablestring" = xdisable; then
6533 defaultval=yes
6534 else
6535 defaultval=no
6536 fi
6537 fi
6538
6539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6541 # Check whether --enable-base64 was given.
6542 if test "${enable_base64+set}" = set; then
6543 enableval=$enable_base64;
6544 if test "$enableval" = yes; then
6545 wx_cv_use_base64='wxUSE_BASE64=yes'
6546 else
6547 wx_cv_use_base64='wxUSE_BASE64=no'
6548 fi
6549
6550 else
6551
6552 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6553
6554 fi
6555
6556
6557 eval "$wx_cv_use_base64"
6558
6559 if test x"$enablestring" = xdisable; then
6560 if test $wxUSE_BASE64 = no; then
6561 result=yes
6562 else
6563 result=no
6564 fi
6565 else
6566 result=$wxUSE_BASE64
6567 fi
6568
6569 { echo "$as_me:$LINENO: result: $result" >&5
6570 echo "${ECHO_T}$result" >&6; }
6571
6572
6573 enablestring=
6574 defaultval=$wxUSE_ALL_FEATURES
6575 if test -z "$defaultval"; then
6576 if test x"$enablestring" = xdisable; then
6577 defaultval=yes
6578 else
6579 defaultval=no
6580 fi
6581 fi
6582
6583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6585 # Check whether --enable-backtrace was given.
6586 if test "${enable_backtrace+set}" = set; then
6587 enableval=$enable_backtrace;
6588 if test "$enableval" = yes; then
6589 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6590 else
6591 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6592 fi
6593
6594 else
6595
6596 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6597
6598 fi
6599
6600
6601 eval "$wx_cv_use_backtrace"
6602
6603 if test x"$enablestring" = xdisable; then
6604 if test $wxUSE_STACKWALKER = no; then
6605 result=yes
6606 else
6607 result=no
6608 fi
6609 else
6610 result=$wxUSE_STACKWALKER
6611 fi
6612
6613 { echo "$as_me:$LINENO: result: $result" >&5
6614 echo "${ECHO_T}$result" >&6; }
6615
6616
6617 enablestring=
6618 defaultval=$wxUSE_ALL_FEATURES
6619 if test -z "$defaultval"; then
6620 if test x"$enablestring" = xdisable; then
6621 defaultval=yes
6622 else
6623 defaultval=no
6624 fi
6625 fi
6626
6627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6628 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6629 # Check whether --enable-catch_segvs was given.
6630 if test "${enable_catch_segvs+set}" = set; then
6631 enableval=$enable_catch_segvs;
6632 if test "$enableval" = yes; then
6633 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6634 else
6635 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6636 fi
6637
6638 else
6639
6640 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6641
6642 fi
6643
6644
6645 eval "$wx_cv_use_catch_segvs"
6646
6647 if test x"$enablestring" = xdisable; then
6648 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6649 result=yes
6650 else
6651 result=no
6652 fi
6653 else
6654 result=$wxUSE_ON_FATAL_EXCEPTION
6655 fi
6656
6657 { echo "$as_me:$LINENO: result: $result" >&5
6658 echo "${ECHO_T}$result" >&6; }
6659
6660
6661 enablestring=
6662 defaultval=$wxUSE_ALL_FEATURES
6663 if test -z "$defaultval"; then
6664 if test x"$enablestring" = xdisable; then
6665 defaultval=yes
6666 else
6667 defaultval=no
6668 fi
6669 fi
6670
6671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6673 # Check whether --enable-cmdline was given.
6674 if test "${enable_cmdline+set}" = set; then
6675 enableval=$enable_cmdline;
6676 if test "$enableval" = yes; then
6677 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6678 else
6679 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6680 fi
6681
6682 else
6683
6684 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6685
6686 fi
6687
6688
6689 eval "$wx_cv_use_cmdline"
6690
6691 if test x"$enablestring" = xdisable; then
6692 if test $wxUSE_CMDLINE_PARSER = no; then
6693 result=yes
6694 else
6695 result=no
6696 fi
6697 else
6698 result=$wxUSE_CMDLINE_PARSER
6699 fi
6700
6701 { echo "$as_me:$LINENO: result: $result" >&5
6702 echo "${ECHO_T}$result" >&6; }
6703
6704
6705 enablestring=
6706 defaultval=$wxUSE_ALL_FEATURES
6707 if test -z "$defaultval"; then
6708 if test x"$enablestring" = xdisable; then
6709 defaultval=yes
6710 else
6711 defaultval=no
6712 fi
6713 fi
6714
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6717 # Check whether --enable-datetime was given.
6718 if test "${enable_datetime+set}" = set; then
6719 enableval=$enable_datetime;
6720 if test "$enableval" = yes; then
6721 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6722 else
6723 wx_cv_use_datetime='wxUSE_DATETIME=no'
6724 fi
6725
6726 else
6727
6728 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6729
6730 fi
6731
6732
6733 eval "$wx_cv_use_datetime"
6734
6735 if test x"$enablestring" = xdisable; then
6736 if test $wxUSE_DATETIME = no; then
6737 result=yes
6738 else
6739 result=no
6740 fi
6741 else
6742 result=$wxUSE_DATETIME
6743 fi
6744
6745 { echo "$as_me:$LINENO: result: $result" >&5
6746 echo "${ECHO_T}$result" >&6; }
6747
6748
6749 enablestring=
6750 defaultval=$wxUSE_ALL_FEATURES
6751 if test -z "$defaultval"; then
6752 if test x"$enablestring" = xdisable; then
6753 defaultval=yes
6754 else
6755 defaultval=no
6756 fi
6757 fi
6758
6759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6761 # Check whether --enable-debugreport was given.
6762 if test "${enable_debugreport+set}" = set; then
6763 enableval=$enable_debugreport;
6764 if test "$enableval" = yes; then
6765 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6766 else
6767 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6768 fi
6769
6770 else
6771
6772 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6773
6774 fi
6775
6776
6777 eval "$wx_cv_use_debugreport"
6778
6779 if test x"$enablestring" = xdisable; then
6780 if test $wxUSE_DEBUGREPORT = no; then
6781 result=yes
6782 else
6783 result=no
6784 fi
6785 else
6786 result=$wxUSE_DEBUGREPORT
6787 fi
6788
6789 { echo "$as_me:$LINENO: result: $result" >&5
6790 echo "${ECHO_T}$result" >&6; }
6791
6792
6793 enablestring=
6794 defaultval=$wxUSE_ALL_FEATURES
6795 if test -z "$defaultval"; then
6796 if test x"$enablestring" = xdisable; then
6797 defaultval=yes
6798 else
6799 defaultval=no
6800 fi
6801 fi
6802
6803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6805 # Check whether --enable-dialupman was given.
6806 if test "${enable_dialupman+set}" = set; then
6807 enableval=$enable_dialupman;
6808 if test "$enableval" = yes; then
6809 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6810 else
6811 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6812 fi
6813
6814 else
6815
6816 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6817
6818 fi
6819
6820
6821 eval "$wx_cv_use_dialupman"
6822
6823 if test x"$enablestring" = xdisable; then
6824 if test $wxUSE_DIALUP_MANAGER = no; then
6825 result=yes
6826 else
6827 result=no
6828 fi
6829 else
6830 result=$wxUSE_DIALUP_MANAGER
6831 fi
6832
6833 { echo "$as_me:$LINENO: result: $result" >&5
6834 echo "${ECHO_T}$result" >&6; }
6835
6836
6837 enablestring=
6838 defaultval=$wxUSE_ALL_FEATURES
6839 if test -z "$defaultval"; then
6840 if test x"$enablestring" = xdisable; then
6841 defaultval=yes
6842 else
6843 defaultval=no
6844 fi
6845 fi
6846
6847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6848 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6849 # Check whether --enable-dynlib was given.
6850 if test "${enable_dynlib+set}" = set; then
6851 enableval=$enable_dynlib;
6852 if test "$enableval" = yes; then
6853 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6854 else
6855 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6856 fi
6857
6858 else
6859
6860 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6861
6862 fi
6863
6864
6865 eval "$wx_cv_use_dynlib"
6866
6867 if test x"$enablestring" = xdisable; then
6868 if test $wxUSE_DYNLIB_CLASS = no; then
6869 result=yes
6870 else
6871 result=no
6872 fi
6873 else
6874 result=$wxUSE_DYNLIB_CLASS
6875 fi
6876
6877 { echo "$as_me:$LINENO: result: $result" >&5
6878 echo "${ECHO_T}$result" >&6; }
6879
6880
6881 enablestring=
6882 defaultval=$wxUSE_ALL_FEATURES
6883 if test -z "$defaultval"; then
6884 if test x"$enablestring" = xdisable; then
6885 defaultval=yes
6886 else
6887 defaultval=no
6888 fi
6889 fi
6890
6891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6893 # Check whether --enable-dynamicloader was given.
6894 if test "${enable_dynamicloader+set}" = set; then
6895 enableval=$enable_dynamicloader;
6896 if test "$enableval" = yes; then
6897 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6898 else
6899 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6900 fi
6901
6902 else
6903
6904 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6905
6906 fi
6907
6908
6909 eval "$wx_cv_use_dynamicloader"
6910
6911 if test x"$enablestring" = xdisable; then
6912 if test $wxUSE_DYNAMIC_LOADER = no; then
6913 result=yes
6914 else
6915 result=no
6916 fi
6917 else
6918 result=$wxUSE_DYNAMIC_LOADER
6919 fi
6920
6921 { echo "$as_me:$LINENO: result: $result" >&5
6922 echo "${ECHO_T}$result" >&6; }
6923
6924
6925 enablestring=
6926 defaultval=$wxUSE_ALL_FEATURES
6927 if test -z "$defaultval"; then
6928 if test x"$enablestring" = xdisable; then
6929 defaultval=yes
6930 else
6931 defaultval=no
6932 fi
6933 fi
6934
6935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6937 # Check whether --enable-exceptions was given.
6938 if test "${enable_exceptions+set}" = set; then
6939 enableval=$enable_exceptions;
6940 if test "$enableval" = yes; then
6941 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6942 else
6943 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6944 fi
6945
6946 else
6947
6948 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6949
6950 fi
6951
6952
6953 eval "$wx_cv_use_exceptions"
6954
6955 if test x"$enablestring" = xdisable; then
6956 if test $wxUSE_EXCEPTIONS = no; then
6957 result=yes
6958 else
6959 result=no
6960 fi
6961 else
6962 result=$wxUSE_EXCEPTIONS
6963 fi
6964
6965 { echo "$as_me:$LINENO: result: $result" >&5
6966 echo "${ECHO_T}$result" >&6; }
6967
6968
6969 enablestring=
6970 defaultval=$wxUSE_ALL_FEATURES
6971 if test -z "$defaultval"; then
6972 if test x"$enablestring" = xdisable; then
6973 defaultval=yes
6974 else
6975 defaultval=no
6976 fi
6977 fi
6978
6979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6980 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6981 # Check whether --enable-ffile was given.
6982 if test "${enable_ffile+set}" = set; then
6983 enableval=$enable_ffile;
6984 if test "$enableval" = yes; then
6985 wx_cv_use_ffile='wxUSE_FFILE=yes'
6986 else
6987 wx_cv_use_ffile='wxUSE_FFILE=no'
6988 fi
6989
6990 else
6991
6992 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6993
6994 fi
6995
6996
6997 eval "$wx_cv_use_ffile"
6998
6999 if test x"$enablestring" = xdisable; then
7000 if test $wxUSE_FFILE = no; then
7001 result=yes
7002 else
7003 result=no
7004 fi
7005 else
7006 result=$wxUSE_FFILE
7007 fi
7008
7009 { echo "$as_me:$LINENO: result: $result" >&5
7010 echo "${ECHO_T}$result" >&6; }
7011
7012
7013 enablestring=
7014 defaultval=$wxUSE_ALL_FEATURES
7015 if test -z "$defaultval"; then
7016 if test x"$enablestring" = xdisable; then
7017 defaultval=yes
7018 else
7019 defaultval=no
7020 fi
7021 fi
7022
7023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7025 # Check whether --enable-file was given.
7026 if test "${enable_file+set}" = set; then
7027 enableval=$enable_file;
7028 if test "$enableval" = yes; then
7029 wx_cv_use_file='wxUSE_FILE=yes'
7030 else
7031 wx_cv_use_file='wxUSE_FILE=no'
7032 fi
7033
7034 else
7035
7036 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7037
7038 fi
7039
7040
7041 eval "$wx_cv_use_file"
7042
7043 if test x"$enablestring" = xdisable; then
7044 if test $wxUSE_FILE = no; then
7045 result=yes
7046 else
7047 result=no
7048 fi
7049 else
7050 result=$wxUSE_FILE
7051 fi
7052
7053 { echo "$as_me:$LINENO: result: $result" >&5
7054 echo "${ECHO_T}$result" >&6; }
7055
7056
7057 enablestring=
7058 defaultval=$wxUSE_ALL_FEATURES
7059 if test -z "$defaultval"; then
7060 if test x"$enablestring" = xdisable; then
7061 defaultval=yes
7062 else
7063 defaultval=no
7064 fi
7065 fi
7066
7067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7069 # Check whether --enable-filehistory was given.
7070 if test "${enable_filehistory+set}" = set; then
7071 enableval=$enable_filehistory;
7072 if test "$enableval" = yes; then
7073 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7074 else
7075 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7076 fi
7077
7078 else
7079
7080 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7081
7082 fi
7083
7084
7085 eval "$wx_cv_use_filehistory"
7086
7087 if test x"$enablestring" = xdisable; then
7088 if test $wxUSE_FILE_HISTORY = no; then
7089 result=yes
7090 else
7091 result=no
7092 fi
7093 else
7094 result=$wxUSE_FILE_HISTORY
7095 fi
7096
7097 { echo "$as_me:$LINENO: result: $result" >&5
7098 echo "${ECHO_T}$result" >&6; }
7099
7100
7101 enablestring=
7102 defaultval=$wxUSE_ALL_FEATURES
7103 if test -z "$defaultval"; then
7104 if test x"$enablestring" = xdisable; then
7105 defaultval=yes
7106 else
7107 defaultval=no
7108 fi
7109 fi
7110
7111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7113 # Check whether --enable-filesystem was given.
7114 if test "${enable_filesystem+set}" = set; then
7115 enableval=$enable_filesystem;
7116 if test "$enableval" = yes; then
7117 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7118 else
7119 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7120 fi
7121
7122 else
7123
7124 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7125
7126 fi
7127
7128
7129 eval "$wx_cv_use_filesystem"
7130
7131 if test x"$enablestring" = xdisable; then
7132 if test $wxUSE_FILESYSTEM = no; then
7133 result=yes
7134 else
7135 result=no
7136 fi
7137 else
7138 result=$wxUSE_FILESYSTEM
7139 fi
7140
7141 { echo "$as_me:$LINENO: result: $result" >&5
7142 echo "${ECHO_T}$result" >&6; }
7143
7144
7145 enablestring=
7146 defaultval=$wxUSE_ALL_FEATURES
7147 if test -z "$defaultval"; then
7148 if test x"$enablestring" = xdisable; then
7149 defaultval=yes
7150 else
7151 defaultval=no
7152 fi
7153 fi
7154
7155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7157 # Check whether --enable-fontenum was given.
7158 if test "${enable_fontenum+set}" = set; then
7159 enableval=$enable_fontenum;
7160 if test "$enableval" = yes; then
7161 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7162 else
7163 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7164 fi
7165
7166 else
7167
7168 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7169
7170 fi
7171
7172
7173 eval "$wx_cv_use_fontenum"
7174
7175 if test x"$enablestring" = xdisable; then
7176 if test $wxUSE_FONTENUM = no; then
7177 result=yes
7178 else
7179 result=no
7180 fi
7181 else
7182 result=$wxUSE_FONTENUM
7183 fi
7184
7185 { echo "$as_me:$LINENO: result: $result" >&5
7186 echo "${ECHO_T}$result" >&6; }
7187
7188
7189 enablestring=
7190 defaultval=$wxUSE_ALL_FEATURES
7191 if test -z "$defaultval"; then
7192 if test x"$enablestring" = xdisable; then
7193 defaultval=yes
7194 else
7195 defaultval=no
7196 fi
7197 fi
7198
7199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7200 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7201 # Check whether --enable-fontmap was given.
7202 if test "${enable_fontmap+set}" = set; then
7203 enableval=$enable_fontmap;
7204 if test "$enableval" = yes; then
7205 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7206 else
7207 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7208 fi
7209
7210 else
7211
7212 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7213
7214 fi
7215
7216
7217 eval "$wx_cv_use_fontmap"
7218
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_FONTMAP = no; then
7221 result=yes
7222 else
7223 result=no
7224 fi
7225 else
7226 result=$wxUSE_FONTMAP
7227 fi
7228
7229 { echo "$as_me:$LINENO: result: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7231
7232
7233 enablestring=
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7237 defaultval=yes
7238 else
7239 defaultval=no
7240 fi
7241 fi
7242
7243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7244 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7245 # Check whether --enable-fs_archive was given.
7246 if test "${enable_fs_archive+set}" = set; then
7247 enableval=$enable_fs_archive;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7250 else
7251 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7252 fi
7253
7254 else
7255
7256 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7257
7258 fi
7259
7260
7261 eval "$wx_cv_use_fs_archive"
7262
7263 if test x"$enablestring" = xdisable; then
7264 if test $wxUSE_FS_ARCHIVE = no; then
7265 result=yes
7266 else
7267 result=no
7268 fi
7269 else
7270 result=$wxUSE_FS_ARCHIVE
7271 fi
7272
7273 { echo "$as_me:$LINENO: result: $result" >&5
7274 echo "${ECHO_T}$result" >&6; }
7275
7276
7277 enablestring=
7278 defaultval=$wxUSE_ALL_FEATURES
7279 if test -z "$defaultval"; then
7280 if test x"$enablestring" = xdisable; then
7281 defaultval=yes
7282 else
7283 defaultval=no
7284 fi
7285 fi
7286
7287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7288 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7289 # Check whether --enable-fs_inet was given.
7290 if test "${enable_fs_inet+set}" = set; then
7291 enableval=$enable_fs_inet;
7292 if test "$enableval" = yes; then
7293 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7294 else
7295 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7296 fi
7297
7298 else
7299
7300 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7301
7302 fi
7303
7304
7305 eval "$wx_cv_use_fs_inet"
7306
7307 if test x"$enablestring" = xdisable; then
7308 if test $wxUSE_FS_INET = no; then
7309 result=yes
7310 else
7311 result=no
7312 fi
7313 else
7314 result=$wxUSE_FS_INET
7315 fi
7316
7317 { echo "$as_me:$LINENO: result: $result" >&5
7318 echo "${ECHO_T}$result" >&6; }
7319
7320
7321 enablestring=
7322 defaultval=$wxUSE_ALL_FEATURES
7323 if test -z "$defaultval"; then
7324 if test x"$enablestring" = xdisable; then
7325 defaultval=yes
7326 else
7327 defaultval=no
7328 fi
7329 fi
7330
7331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7332 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7333 # Check whether --enable-fs_zip was given.
7334 if test "${enable_fs_zip+set}" = set; then
7335 enableval=$enable_fs_zip;
7336 if test "$enableval" = yes; then
7337 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7338 else
7339 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7340 fi
7341
7342 else
7343
7344 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7345
7346 fi
7347
7348
7349 eval "$wx_cv_use_fs_zip"
7350
7351 if test x"$enablestring" = xdisable; then
7352 if test $wxUSE_FS_ZIP = no; then
7353 result=yes
7354 else
7355 result=no
7356 fi
7357 else
7358 result=$wxUSE_FS_ZIP
7359 fi
7360
7361 { echo "$as_me:$LINENO: result: $result" >&5
7362 echo "${ECHO_T}$result" >&6; }
7363
7364
7365 enablestring=
7366 defaultval=$wxUSE_ALL_FEATURES
7367 if test -z "$defaultval"; then
7368 if test x"$enablestring" = xdisable; then
7369 defaultval=yes
7370 else
7371 defaultval=no
7372 fi
7373 fi
7374
7375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7377 # Check whether --enable-fswatcher was given.
7378 if test "${enable_fswatcher+set}" = set; then
7379 enableval=$enable_fswatcher;
7380 if test "$enableval" = yes; then
7381 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7382 else
7383 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7384 fi
7385
7386 else
7387
7388 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7389
7390 fi
7391
7392
7393 eval "$wx_cv_use_fswatcher"
7394
7395 if test x"$enablestring" = xdisable; then
7396 if test $wxUSE_FSWATCHER = no; then
7397 result=yes
7398 else
7399 result=no
7400 fi
7401 else
7402 result=$wxUSE_FSWATCHER
7403 fi
7404
7405 { echo "$as_me:$LINENO: result: $result" >&5
7406 echo "${ECHO_T}$result" >&6; }
7407
7408
7409 enablestring=
7410 defaultval=$wxUSE_ALL_FEATURES
7411 if test -z "$defaultval"; then
7412 if test x"$enablestring" = xdisable; then
7413 defaultval=yes
7414 else
7415 defaultval=no
7416 fi
7417 fi
7418
7419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7421 # Check whether --enable-geometry was given.
7422 if test "${enable_geometry+set}" = set; then
7423 enableval=$enable_geometry;
7424 if test "$enableval" = yes; then
7425 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7426 else
7427 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7428 fi
7429
7430 else
7431
7432 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7433
7434 fi
7435
7436
7437 eval "$wx_cv_use_geometry"
7438
7439 if test x"$enablestring" = xdisable; then
7440 if test $wxUSE_GEOMETRY = no; then
7441 result=yes
7442 else
7443 result=no
7444 fi
7445 else
7446 result=$wxUSE_GEOMETRY
7447 fi
7448
7449 { echo "$as_me:$LINENO: result: $result" >&5
7450 echo "${ECHO_T}$result" >&6; }
7451
7452
7453 enablestring=
7454 defaultval=$wxUSE_ALL_FEATURES
7455 if test -z "$defaultval"; then
7456 if test x"$enablestring" = xdisable; then
7457 defaultval=yes
7458 else
7459 defaultval=no
7460 fi
7461 fi
7462
7463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7465 # Check whether --enable-log was given.
7466 if test "${enable_log+set}" = set; then
7467 enableval=$enable_log;
7468 if test "$enableval" = yes; then
7469 wx_cv_use_log='wxUSE_LOG=yes'
7470 else
7471 wx_cv_use_log='wxUSE_LOG=no'
7472 fi
7473
7474 else
7475
7476 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7477
7478 fi
7479
7480
7481 eval "$wx_cv_use_log"
7482
7483 if test x"$enablestring" = xdisable; then
7484 if test $wxUSE_LOG = no; then
7485 result=yes
7486 else
7487 result=no
7488 fi
7489 else
7490 result=$wxUSE_LOG
7491 fi
7492
7493 { echo "$as_me:$LINENO: result: $result" >&5
7494 echo "${ECHO_T}$result" >&6; }
7495
7496
7497 enablestring=
7498 defaultval=$wxUSE_ALL_FEATURES
7499 if test -z "$defaultval"; then
7500 if test x"$enablestring" = xdisable; then
7501 defaultval=yes
7502 else
7503 defaultval=no
7504 fi
7505 fi
7506
7507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7509 # Check whether --enable-longlong was given.
7510 if test "${enable_longlong+set}" = set; then
7511 enableval=$enable_longlong;
7512 if test "$enableval" = yes; then
7513 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7514 else
7515 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7516 fi
7517
7518 else
7519
7520 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7521
7522 fi
7523
7524
7525 eval "$wx_cv_use_longlong"
7526
7527 if test x"$enablestring" = xdisable; then
7528 if test $wxUSE_LONGLONG = no; then
7529 result=yes
7530 else
7531 result=no
7532 fi
7533 else
7534 result=$wxUSE_LONGLONG
7535 fi
7536
7537 { echo "$as_me:$LINENO: result: $result" >&5
7538 echo "${ECHO_T}$result" >&6; }
7539
7540
7541 enablestring=
7542 defaultval=$wxUSE_ALL_FEATURES
7543 if test -z "$defaultval"; then
7544 if test x"$enablestring" = xdisable; then
7545 defaultval=yes
7546 else
7547 defaultval=no
7548 fi
7549 fi
7550
7551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7552 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7553 # Check whether --enable-mimetype was given.
7554 if test "${enable_mimetype+set}" = set; then
7555 enableval=$enable_mimetype;
7556 if test "$enableval" = yes; then
7557 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7558 else
7559 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7560 fi
7561
7562 else
7563
7564 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7565
7566 fi
7567
7568
7569 eval "$wx_cv_use_mimetype"
7570
7571 if test x"$enablestring" = xdisable; then
7572 if test $wxUSE_MIMETYPE = no; then
7573 result=yes
7574 else
7575 result=no
7576 fi
7577 else
7578 result=$wxUSE_MIMETYPE
7579 fi
7580
7581 { echo "$as_me:$LINENO: result: $result" >&5
7582 echo "${ECHO_T}$result" >&6; }
7583
7584
7585 enablestring=
7586 defaultval=$wxUSE_ALL_FEATURES
7587 if test -z "$defaultval"; then
7588 if test x"$enablestring" = xdisable; then
7589 defaultval=yes
7590 else
7591 defaultval=no
7592 fi
7593 fi
7594
7595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7597 # Check whether --enable-printfposparam was given.
7598 if test "${enable_printfposparam+set}" = set; then
7599 enableval=$enable_printfposparam;
7600 if test "$enableval" = yes; then
7601 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7602 else
7603 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7604 fi
7605
7606 else
7607
7608 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7609
7610 fi
7611
7612
7613 eval "$wx_cv_use_printfposparam"
7614
7615 if test x"$enablestring" = xdisable; then
7616 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7617 result=yes
7618 else
7619 result=no
7620 fi
7621 else
7622 result=$wxUSE_PRINTF_POS_PARAMS
7623 fi
7624
7625 { echo "$as_me:$LINENO: result: $result" >&5
7626 echo "${ECHO_T}$result" >&6; }
7627
7628
7629 enablestring=
7630 defaultval=$wxUSE_ALL_FEATURES
7631 if test -z "$defaultval"; then
7632 if test x"$enablestring" = xdisable; then
7633 defaultval=yes
7634 else
7635 defaultval=no
7636 fi
7637 fi
7638
7639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7640 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7641 # Check whether --enable-snglinst was given.
7642 if test "${enable_snglinst+set}" = set; then
7643 enableval=$enable_snglinst;
7644 if test "$enableval" = yes; then
7645 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7646 else
7647 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7648 fi
7649
7650 else
7651
7652 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7653
7654 fi
7655
7656
7657 eval "$wx_cv_use_snglinst"
7658
7659 if test x"$enablestring" = xdisable; then
7660 if test $wxUSE_SNGLINST_CHECKER = no; then
7661 result=yes
7662 else
7663 result=no
7664 fi
7665 else
7666 result=$wxUSE_SNGLINST_CHECKER
7667 fi
7668
7669 { echo "$as_me:$LINENO: result: $result" >&5
7670 echo "${ECHO_T}$result" >&6; }
7671
7672
7673 enablestring=
7674 defaultval=$wxUSE_ALL_FEATURES
7675 if test -z "$defaultval"; then
7676 if test x"$enablestring" = xdisable; then
7677 defaultval=yes
7678 else
7679 defaultval=no
7680 fi
7681 fi
7682
7683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7685 # Check whether --enable-sound was given.
7686 if test "${enable_sound+set}" = set; then
7687 enableval=$enable_sound;
7688 if test "$enableval" = yes; then
7689 wx_cv_use_sound='wxUSE_SOUND=yes'
7690 else
7691 wx_cv_use_sound='wxUSE_SOUND=no'
7692 fi
7693
7694 else
7695
7696 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7697
7698 fi
7699
7700
7701 eval "$wx_cv_use_sound"
7702
7703 if test x"$enablestring" = xdisable; then
7704 if test $wxUSE_SOUND = no; then
7705 result=yes
7706 else
7707 result=no
7708 fi
7709 else
7710 result=$wxUSE_SOUND
7711 fi
7712
7713 { echo "$as_me:$LINENO: result: $result" >&5
7714 echo "${ECHO_T}$result" >&6; }
7715
7716
7717 enablestring=
7718 defaultval=$wxUSE_ALL_FEATURES
7719 if test -z "$defaultval"; then
7720 if test x"$enablestring" = xdisable; then
7721 defaultval=yes
7722 else
7723 defaultval=no
7724 fi
7725 fi
7726
7727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7728 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7729 # Check whether --enable-stdpaths was given.
7730 if test "${enable_stdpaths+set}" = set; then
7731 enableval=$enable_stdpaths;
7732 if test "$enableval" = yes; then
7733 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7734 else
7735 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7736 fi
7737
7738 else
7739
7740 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7741
7742 fi
7743
7744
7745 eval "$wx_cv_use_stdpaths"
7746
7747 if test x"$enablestring" = xdisable; then
7748 if test $wxUSE_STDPATHS = no; then
7749 result=yes
7750 else
7751 result=no
7752 fi
7753 else
7754 result=$wxUSE_STDPATHS
7755 fi
7756
7757 { echo "$as_me:$LINENO: result: $result" >&5
7758 echo "${ECHO_T}$result" >&6; }
7759
7760
7761 enablestring=
7762 defaultval=$wxUSE_ALL_FEATURES
7763 if test -z "$defaultval"; then
7764 if test x"$enablestring" = xdisable; then
7765 defaultval=yes
7766 else
7767 defaultval=no
7768 fi
7769 fi
7770
7771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7773 # Check whether --enable-stopwatch was given.
7774 if test "${enable_stopwatch+set}" = set; then
7775 enableval=$enable_stopwatch;
7776 if test "$enableval" = yes; then
7777 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7778 else
7779 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7780 fi
7781
7782 else
7783
7784 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7785
7786 fi
7787
7788
7789 eval "$wx_cv_use_stopwatch"
7790
7791 if test x"$enablestring" = xdisable; then
7792 if test $wxUSE_STOPWATCH = no; then
7793 result=yes
7794 else
7795 result=no
7796 fi
7797 else
7798 result=$wxUSE_STOPWATCH
7799 fi
7800
7801 { echo "$as_me:$LINENO: result: $result" >&5
7802 echo "${ECHO_T}$result" >&6; }
7803
7804
7805 enablestring=
7806 defaultval=$wxUSE_ALL_FEATURES
7807 if test -z "$defaultval"; then
7808 if test x"$enablestring" = xdisable; then
7809 defaultval=yes
7810 else
7811 defaultval=no
7812 fi
7813 fi
7814
7815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7816 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7817 # Check whether --enable-streams was given.
7818 if test "${enable_streams+set}" = set; then
7819 enableval=$enable_streams;
7820 if test "$enableval" = yes; then
7821 wx_cv_use_streams='wxUSE_STREAMS=yes'
7822 else
7823 wx_cv_use_streams='wxUSE_STREAMS=no'
7824 fi
7825
7826 else
7827
7828 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7829
7830 fi
7831
7832
7833 eval "$wx_cv_use_streams"
7834
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_STREAMS = no; then
7837 result=yes
7838 else
7839 result=no
7840 fi
7841 else
7842 result=$wxUSE_STREAMS
7843 fi
7844
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7847
7848
7849 enablestring=
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7853 defaultval=yes
7854 else
7855 defaultval=no
7856 fi
7857 fi
7858
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7861 # Check whether --enable-sysoptions was given.
7862 if test "${enable_sysoptions+set}" = set; then
7863 enableval=$enable_sysoptions;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7866 else
7867 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7868 fi
7869
7870 else
7871
7872 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7873
7874 fi
7875
7876
7877 eval "$wx_cv_use_sysoptions"
7878
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_SYSTEM_OPTIONS = no; then
7881 result=yes
7882 else
7883 result=no
7884 fi
7885 else
7886 result=$wxUSE_SYSTEM_OPTIONS
7887 fi
7888
7889 { echo "$as_me:$LINENO: result: $result" >&5
7890 echo "${ECHO_T}$result" >&6; }
7891
7892
7893 enablestring=
7894 defaultval=$wxUSE_ALL_FEATURES
7895 if test -z "$defaultval"; then
7896 if test x"$enablestring" = xdisable; then
7897 defaultval=yes
7898 else
7899 defaultval=no
7900 fi
7901 fi
7902
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7905 # Check whether --enable-tarstream was given.
7906 if test "${enable_tarstream+set}" = set; then
7907 enableval=$enable_tarstream;
7908 if test "$enableval" = yes; then
7909 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7910 else
7911 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7912 fi
7913
7914 else
7915
7916 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7917
7918 fi
7919
7920
7921 eval "$wx_cv_use_tarstream"
7922
7923 if test x"$enablestring" = xdisable; then
7924 if test $wxUSE_TARSTREAM = no; then
7925 result=yes
7926 else
7927 result=no
7928 fi
7929 else
7930 result=$wxUSE_TARSTREAM
7931 fi
7932
7933 { echo "$as_me:$LINENO: result: $result" >&5
7934 echo "${ECHO_T}$result" >&6; }
7935
7936
7937 enablestring=
7938 defaultval=$wxUSE_ALL_FEATURES
7939 if test -z "$defaultval"; then
7940 if test x"$enablestring" = xdisable; then
7941 defaultval=yes
7942 else
7943 defaultval=no
7944 fi
7945 fi
7946
7947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7949 # Check whether --enable-textbuf was given.
7950 if test "${enable_textbuf+set}" = set; then
7951 enableval=$enable_textbuf;
7952 if test "$enableval" = yes; then
7953 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7954 else
7955 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7956 fi
7957
7958 else
7959
7960 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7961
7962 fi
7963
7964
7965 eval "$wx_cv_use_textbuf"
7966
7967 if test x"$enablestring" = xdisable; then
7968 if test $wxUSE_TEXTBUFFER = no; then
7969 result=yes
7970 else
7971 result=no
7972 fi
7973 else
7974 result=$wxUSE_TEXTBUFFER
7975 fi
7976
7977 { echo "$as_me:$LINENO: result: $result" >&5
7978 echo "${ECHO_T}$result" >&6; }
7979
7980
7981 enablestring=
7982 defaultval=$wxUSE_ALL_FEATURES
7983 if test -z "$defaultval"; then
7984 if test x"$enablestring" = xdisable; then
7985 defaultval=yes
7986 else
7987 defaultval=no
7988 fi
7989 fi
7990
7991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7993 # Check whether --enable-textfile was given.
7994 if test "${enable_textfile+set}" = set; then
7995 enableval=$enable_textfile;
7996 if test "$enableval" = yes; then
7997 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7998 else
7999 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8000 fi
8001
8002 else
8003
8004 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8005
8006 fi
8007
8008
8009 eval "$wx_cv_use_textfile"
8010
8011 if test x"$enablestring" = xdisable; then
8012 if test $wxUSE_TEXTFILE = no; then
8013 result=yes
8014 else
8015 result=no
8016 fi
8017 else
8018 result=$wxUSE_TEXTFILE
8019 fi
8020
8021 { echo "$as_me:$LINENO: result: $result" >&5
8022 echo "${ECHO_T}$result" >&6; }
8023
8024
8025 enablestring=
8026 defaultval=$wxUSE_ALL_FEATURES
8027 if test -z "$defaultval"; then
8028 if test x"$enablestring" = xdisable; then
8029 defaultval=yes
8030 else
8031 defaultval=no
8032 fi
8033 fi
8034
8035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8037 # Check whether --enable-timer was given.
8038 if test "${enable_timer+set}" = set; then
8039 enableval=$enable_timer;
8040 if test "$enableval" = yes; then
8041 wx_cv_use_timer='wxUSE_TIMER=yes'
8042 else
8043 wx_cv_use_timer='wxUSE_TIMER=no'
8044 fi
8045
8046 else
8047
8048 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8049
8050 fi
8051
8052
8053 eval "$wx_cv_use_timer"
8054
8055 if test x"$enablestring" = xdisable; then
8056 if test $wxUSE_TIMER = no; then
8057 result=yes
8058 else
8059 result=no
8060 fi
8061 else
8062 result=$wxUSE_TIMER
8063 fi
8064
8065 { echo "$as_me:$LINENO: result: $result" >&5
8066 echo "${ECHO_T}$result" >&6; }
8067
8068
8069 enablestring=
8070 defaultval=$wxUSE_ALL_FEATURES
8071 if test -z "$defaultval"; then
8072 if test x"$enablestring" = xdisable; then
8073 defaultval=yes
8074 else
8075 defaultval=no
8076 fi
8077 fi
8078
8079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8081 # Check whether --enable-variant was given.
8082 if test "${enable_variant+set}" = set; then
8083 enableval=$enable_variant;
8084 if test "$enableval" = yes; then
8085 wx_cv_use_variant='wxUSE_VARIANT=yes'
8086 else
8087 wx_cv_use_variant='wxUSE_VARIANT=no'
8088 fi
8089
8090 else
8091
8092 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8093
8094 fi
8095
8096
8097 eval "$wx_cv_use_variant"
8098
8099 if test x"$enablestring" = xdisable; then
8100 if test $wxUSE_VARIANT = no; then
8101 result=yes
8102 else
8103 result=no
8104 fi
8105 else
8106 result=$wxUSE_VARIANT
8107 fi
8108
8109 { echo "$as_me:$LINENO: result: $result" >&5
8110 echo "${ECHO_T}$result" >&6; }
8111
8112
8113 enablestring=
8114 defaultval=$wxUSE_ALL_FEATURES
8115 if test -z "$defaultval"; then
8116 if test x"$enablestring" = xdisable; then
8117 defaultval=yes
8118 else
8119 defaultval=no
8120 fi
8121 fi
8122
8123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8125 # Check whether --enable-zipstream was given.
8126 if test "${enable_zipstream+set}" = set; then
8127 enableval=$enable_zipstream;
8128 if test "$enableval" = yes; then
8129 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8130 else
8131 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8132 fi
8133
8134 else
8135
8136 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8137
8138 fi
8139
8140
8141 eval "$wx_cv_use_zipstream"
8142
8143 if test x"$enablestring" = xdisable; then
8144 if test $wxUSE_ZIPSTREAM = no; then
8145 result=yes
8146 else
8147 result=no
8148 fi
8149 else
8150 result=$wxUSE_ZIPSTREAM
8151 fi
8152
8153 { echo "$as_me:$LINENO: result: $result" >&5
8154 echo "${ECHO_T}$result" >&6; }
8155
8156
8157
8158 enablestring=
8159 defaultval=$wxUSE_ALL_FEATURES
8160 if test -z "$defaultval"; then
8161 if test x"$enablestring" = xdisable; then
8162 defaultval=yes
8163 else
8164 defaultval=no
8165 fi
8166 fi
8167
8168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8170 # Check whether --enable-url was given.
8171 if test "${enable_url+set}" = set; then
8172 enableval=$enable_url;
8173 if test "$enableval" = yes; then
8174 wx_cv_use_url='wxUSE_URL=yes'
8175 else
8176 wx_cv_use_url='wxUSE_URL=no'
8177 fi
8178
8179 else
8180
8181 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8182
8183 fi
8184
8185
8186 eval "$wx_cv_use_url"
8187
8188 if test x"$enablestring" = xdisable; then
8189 if test $wxUSE_URL = no; then
8190 result=yes
8191 else
8192 result=no
8193 fi
8194 else
8195 result=$wxUSE_URL
8196 fi
8197
8198 { echo "$as_me:$LINENO: result: $result" >&5
8199 echo "${ECHO_T}$result" >&6; }
8200
8201
8202 enablestring=
8203 defaultval=$wxUSE_ALL_FEATURES
8204 if test -z "$defaultval"; then
8205 if test x"$enablestring" = xdisable; then
8206 defaultval=yes
8207 else
8208 defaultval=no
8209 fi
8210 fi
8211
8212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8214 # Check whether --enable-protocol was given.
8215 if test "${enable_protocol+set}" = set; then
8216 enableval=$enable_protocol;
8217 if test "$enableval" = yes; then
8218 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8219 else
8220 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8221 fi
8222
8223 else
8224
8225 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8226
8227 fi
8228
8229
8230 eval "$wx_cv_use_protocol"
8231
8232 if test x"$enablestring" = xdisable; then
8233 if test $wxUSE_PROTOCOL = no; then
8234 result=yes
8235 else
8236 result=no
8237 fi
8238 else
8239 result=$wxUSE_PROTOCOL
8240 fi
8241
8242 { echo "$as_me:$LINENO: result: $result" >&5
8243 echo "${ECHO_T}$result" >&6; }
8244
8245
8246 enablestring=
8247 defaultval=$wxUSE_ALL_FEATURES
8248 if test -z "$defaultval"; then
8249 if test x"$enablestring" = xdisable; then
8250 defaultval=yes
8251 else
8252 defaultval=no
8253 fi
8254 fi
8255
8256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8258 # Check whether --enable-protocol_http was given.
8259 if test "${enable_protocol_http+set}" = set; then
8260 enableval=$enable_protocol_http;
8261 if test "$enableval" = yes; then
8262 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8263 else
8264 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8265 fi
8266
8267 else
8268
8269 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8270
8271 fi
8272
8273
8274 eval "$wx_cv_use_protocol_http"
8275
8276 if test x"$enablestring" = xdisable; then
8277 if test $wxUSE_PROTOCOL_HTTP = no; then
8278 result=yes
8279 else
8280 result=no
8281 fi
8282 else
8283 result=$wxUSE_PROTOCOL_HTTP
8284 fi
8285
8286 { echo "$as_me:$LINENO: result: $result" >&5
8287 echo "${ECHO_T}$result" >&6; }
8288
8289
8290 enablestring=
8291 defaultval=$wxUSE_ALL_FEATURES
8292 if test -z "$defaultval"; then
8293 if test x"$enablestring" = xdisable; then
8294 defaultval=yes
8295 else
8296 defaultval=no
8297 fi
8298 fi
8299
8300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8302 # Check whether --enable-protocol_ftp was given.
8303 if test "${enable_protocol_ftp+set}" = set; then
8304 enableval=$enable_protocol_ftp;
8305 if test "$enableval" = yes; then
8306 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8307 else
8308 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8309 fi
8310
8311 else
8312
8313 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8314
8315 fi
8316
8317
8318 eval "$wx_cv_use_protocol_ftp"
8319
8320 if test x"$enablestring" = xdisable; then
8321 if test $wxUSE_PROTOCOL_FTP = no; then
8322 result=yes
8323 else
8324 result=no
8325 fi
8326 else
8327 result=$wxUSE_PROTOCOL_FTP
8328 fi
8329
8330 { echo "$as_me:$LINENO: result: $result" >&5
8331 echo "${ECHO_T}$result" >&6; }
8332
8333
8334 enablestring=
8335 defaultval=$wxUSE_ALL_FEATURES
8336 if test -z "$defaultval"; then
8337 if test x"$enablestring" = xdisable; then
8338 defaultval=yes
8339 else
8340 defaultval=no
8341 fi
8342 fi
8343
8344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8346 # Check whether --enable-protocol_file was given.
8347 if test "${enable_protocol_file+set}" = set; then
8348 enableval=$enable_protocol_file;
8349 if test "$enableval" = yes; then
8350 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8351 else
8352 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8353 fi
8354
8355 else
8356
8357 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8358
8359 fi
8360
8361
8362 eval "$wx_cv_use_protocol_file"
8363
8364 if test x"$enablestring" = xdisable; then
8365 if test $wxUSE_PROTOCOL_FILE = no; then
8366 result=yes
8367 else
8368 result=no
8369 fi
8370 else
8371 result=$wxUSE_PROTOCOL_FILE
8372 fi
8373
8374 { echo "$as_me:$LINENO: result: $result" >&5
8375 echo "${ECHO_T}$result" >&6; }
8376
8377
8378
8379 enablestring=
8380 defaultval=$wxUSE_ALL_FEATURES
8381 if test -z "$defaultval"; then
8382 if test x"$enablestring" = xdisable; then
8383 defaultval=yes
8384 else
8385 defaultval=no
8386 fi
8387 fi
8388
8389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8391 # Check whether --enable-threads was given.
8392 if test "${enable_threads+set}" = set; then
8393 enableval=$enable_threads;
8394 if test "$enableval" = yes; then
8395 wx_cv_use_threads='wxUSE_THREADS=yes'
8396 else
8397 wx_cv_use_threads='wxUSE_THREADS=no'
8398 fi
8399
8400 else
8401
8402 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8403
8404 fi
8405
8406
8407 eval "$wx_cv_use_threads"
8408
8409 if test x"$enablestring" = xdisable; then
8410 if test $wxUSE_THREADS = no; then
8411 result=yes
8412 else
8413 result=no
8414 fi
8415 else
8416 result=$wxUSE_THREADS
8417 fi
8418
8419 { echo "$as_me:$LINENO: result: $result" >&5
8420 echo "${ECHO_T}$result" >&6; }
8421
8422
8423
8424 enablestring=
8425 defaultval=
8426 if test -z "$defaultval"; then
8427 if test x"$enablestring" = xdisable; then
8428 defaultval=yes
8429 else
8430 defaultval=no
8431 fi
8432 fi
8433
8434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8435 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8436 # Check whether --enable-iniconf was given.
8437 if test "${enable_iniconf+set}" = set; then
8438 enableval=$enable_iniconf;
8439 if test "$enableval" = yes; then
8440 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8441 else
8442 wx_cv_use_iniconf='wxUSE_INICONF=no'
8443 fi
8444
8445 else
8446
8447 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8448
8449 fi
8450
8451
8452 eval "$wx_cv_use_iniconf"
8453
8454 if test x"$enablestring" = xdisable; then
8455 if test $wxUSE_INICONF = no; then
8456 result=yes
8457 else
8458 result=no
8459 fi
8460 else
8461 result=$wxUSE_INICONF
8462 fi
8463
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8466
8467
8468 enablestring=
8469 defaultval=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x"$enablestring" = xdisable; then
8472 defaultval=yes
8473 else
8474 defaultval=no
8475 fi
8476 fi
8477
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8480 # Check whether --enable-regkey was given.
8481 if test "${enable_regkey+set}" = set; then
8482 enableval=$enable_regkey;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8485 else
8486 wx_cv_use_regkey='wxUSE_REGKEY=no'
8487 fi
8488
8489 else
8490
8491 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8492
8493 fi
8494
8495
8496 eval "$wx_cv_use_regkey"
8497
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_REGKEY = no; then
8500 result=yes
8501 else
8502 result=no
8503 fi
8504 else
8505 result=$wxUSE_REGKEY
8506 fi
8507
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8510
8511
8512 if test "$wxUSE_GUI" = "yes"; then
8513
8514
8515
8516 enablestring=
8517 defaultval=$wxUSE_ALL_FEATURES
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}-docview" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8528 # Check whether --enable-docview was given.
8529 if test "${enable_docview+set}" = set; then
8530 enableval=$enable_docview;
8531 if test "$enableval" = yes; then
8532 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8533 else
8534 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8535 fi
8536
8537 else
8538
8539 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8540
8541 fi
8542
8543
8544 eval "$wx_cv_use_docview"
8545
8546 if test x"$enablestring" = xdisable; then
8547 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8548 result=yes
8549 else
8550 result=no
8551 fi
8552 else
8553 result=$wxUSE_DOC_VIEW_ARCHITECTURE
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}-help" >&5
8571 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8572 # Check whether --enable-help was given.
8573 if test "${enable_help+set}" = set; then
8574 enableval=$enable_help;
8575 if test "$enableval" = yes; then
8576 wx_cv_use_help='wxUSE_HELP=yes'
8577 else
8578 wx_cv_use_help='wxUSE_HELP=no'
8579 fi
8580
8581 else
8582
8583 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8584
8585 fi
8586
8587
8588 eval "$wx_cv_use_help"
8589
8590 if test x"$enablestring" = xdisable; then
8591 if test $wxUSE_HELP = no; then
8592 result=yes
8593 else
8594 result=no
8595 fi
8596 else
8597 result=$wxUSE_HELP
8598 fi
8599
8600 { echo "$as_me:$LINENO: result: $result" >&5
8601 echo "${ECHO_T}$result" >&6; }
8602
8603
8604 enablestring=
8605 defaultval=$wxUSE_ALL_FEATURES
8606 if test -z "$defaultval"; then
8607 if test x"$enablestring" = xdisable; then
8608 defaultval=yes
8609 else
8610 defaultval=no
8611 fi
8612 fi
8613
8614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8616 # Check whether --enable-mshtmlhelp was given.
8617 if test "${enable_mshtmlhelp+set}" = set; then
8618 enableval=$enable_mshtmlhelp;
8619 if test "$enableval" = yes; then
8620 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8621 else
8622 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8623 fi
8624
8625 else
8626
8627 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8628
8629 fi
8630
8631
8632 eval "$wx_cv_use_mshtmlhelp"
8633
8634 if test x"$enablestring" = xdisable; then
8635 if test $wxUSE_MS_HTML_HELP = no; then
8636 result=yes
8637 else
8638 result=no
8639 fi
8640 else
8641 result=$wxUSE_MS_HTML_HELP
8642 fi
8643
8644 { echo "$as_me:$LINENO: result: $result" >&5
8645 echo "${ECHO_T}$result" >&6; }
8646
8647
8648 enablestring=
8649 defaultval=$wxUSE_ALL_FEATURES
8650 if test -z "$defaultval"; then
8651 if test x"$enablestring" = xdisable; then
8652 defaultval=yes
8653 else
8654 defaultval=no
8655 fi
8656 fi
8657
8658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8659 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8660 # Check whether --enable-html was given.
8661 if test "${enable_html+set}" = set; then
8662 enableval=$enable_html;
8663 if test "$enableval" = yes; then
8664 wx_cv_use_html='wxUSE_HTML=yes'
8665 else
8666 wx_cv_use_html='wxUSE_HTML=no'
8667 fi
8668
8669 else
8670
8671 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8672
8673 fi
8674
8675
8676 eval "$wx_cv_use_html"
8677
8678 if test x"$enablestring" = xdisable; then
8679 if test $wxUSE_HTML = no; then
8680 result=yes
8681 else
8682 result=no
8683 fi
8684 else
8685 result=$wxUSE_HTML
8686 fi
8687
8688 { echo "$as_me:$LINENO: result: $result" >&5
8689 echo "${ECHO_T}$result" >&6; }
8690
8691
8692 enablestring=
8693 defaultval=$wxUSE_ALL_FEATURES
8694 if test -z "$defaultval"; then
8695 if test x"$enablestring" = xdisable; then
8696 defaultval=yes
8697 else
8698 defaultval=no
8699 fi
8700 fi
8701
8702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8703 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8704 # Check whether --enable-htmlhelp was given.
8705 if test "${enable_htmlhelp+set}" = set; then
8706 enableval=$enable_htmlhelp;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8709 else
8710 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8711 fi
8712
8713 else
8714
8715 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8716
8717 fi
8718
8719
8720 eval "$wx_cv_use_htmlhelp"
8721
8722 if test x"$enablestring" = xdisable; then
8723 if test $wxUSE_WXHTML_HELP = no; then
8724 result=yes
8725 else
8726 result=no
8727 fi
8728 else
8729 result=$wxUSE_WXHTML_HELP
8730 fi
8731
8732 { echo "$as_me:$LINENO: result: $result" >&5
8733 echo "${ECHO_T}$result" >&6; }
8734
8735
8736 enablestring=
8737 defaultval=$wxUSE_ALL_FEATURES
8738 if test -z "$defaultval"; then
8739 if test x"$enablestring" = xdisable; then
8740 defaultval=yes
8741 else
8742 defaultval=no
8743 fi
8744 fi
8745
8746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8747 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8748 # Check whether --enable-xrc was given.
8749 if test "${enable_xrc+set}" = set; then
8750 enableval=$enable_xrc;
8751 if test "$enableval" = yes; then
8752 wx_cv_use_xrc='wxUSE_XRC=yes'
8753 else
8754 wx_cv_use_xrc='wxUSE_XRC=no'
8755 fi
8756
8757 else
8758
8759 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8760
8761 fi
8762
8763
8764 eval "$wx_cv_use_xrc"
8765
8766 if test x"$enablestring" = xdisable; then
8767 if test $wxUSE_XRC = no; then
8768 result=yes
8769 else
8770 result=no
8771 fi
8772 else
8773 result=$wxUSE_XRC
8774 fi
8775
8776 { echo "$as_me:$LINENO: result: $result" >&5
8777 echo "${ECHO_T}$result" >&6; }
8778
8779
8780 enablestring=
8781 defaultval=$wxUSE_ALL_FEATURES
8782 if test -z "$defaultval"; then
8783 if test x"$enablestring" = xdisable; then
8784 defaultval=yes
8785 else
8786 defaultval=no
8787 fi
8788 fi
8789
8790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8792 # Check whether --enable-aui was given.
8793 if test "${enable_aui+set}" = set; then
8794 enableval=$enable_aui;
8795 if test "$enableval" = yes; then
8796 wx_cv_use_aui='wxUSE_AUI=yes'
8797 else
8798 wx_cv_use_aui='wxUSE_AUI=no'
8799 fi
8800
8801 else
8802
8803 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8804
8805 fi
8806
8807
8808 eval "$wx_cv_use_aui"
8809
8810 if test x"$enablestring" = xdisable; then
8811 if test $wxUSE_AUI = no; then
8812 result=yes
8813 else
8814 result=no
8815 fi
8816 else
8817 result=$wxUSE_AUI
8818 fi
8819
8820 { echo "$as_me:$LINENO: result: $result" >&5
8821 echo "${ECHO_T}$result" >&6; }
8822
8823
8824 enablestring=
8825 defaultval=$wxUSE_ALL_FEATURES
8826 if test -z "$defaultval"; then
8827 if test x"$enablestring" = xdisable; then
8828 defaultval=yes
8829 else
8830 defaultval=no
8831 fi
8832 fi
8833
8834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8835 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8836 # Check whether --enable-propgrid was given.
8837 if test "${enable_propgrid+set}" = set; then
8838 enableval=$enable_propgrid;
8839 if test "$enableval" = yes; then
8840 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8841 else
8842 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8843 fi
8844
8845 else
8846
8847 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8848
8849 fi
8850
8851
8852 eval "$wx_cv_use_propgrid"
8853
8854 if test x"$enablestring" = xdisable; then
8855 if test $wxUSE_PROPGRID = no; then
8856 result=yes
8857 else
8858 result=no
8859 fi
8860 else
8861 result=$wxUSE_PROPGRID
8862 fi
8863
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8866
8867
8868 enablestring=
8869 defaultval=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x"$enablestring" = xdisable; then
8872 defaultval=yes
8873 else
8874 defaultval=no
8875 fi
8876 fi
8877
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8880 # Check whether --enable-ribbon was given.
8881 if test "${enable_ribbon+set}" = set; then
8882 enableval=$enable_ribbon;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8885 else
8886 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8887 fi
8888
8889 else
8890
8891 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8892
8893 fi
8894
8895
8896 eval "$wx_cv_use_ribbon"
8897
8898 if test x"$enablestring" = xdisable; then
8899 if test $wxUSE_RIBBON = no; then
8900 result=yes
8901 else
8902 result=no
8903 fi
8904 else
8905 result=$wxUSE_RIBBON
8906 fi
8907
8908 { echo "$as_me:$LINENO: result: $result" >&5
8909 echo "${ECHO_T}$result" >&6; }
8910
8911
8912 enablestring=
8913 defaultval=$wxUSE_ALL_FEATURES
8914 if test -z "$defaultval"; then
8915 if test x"$enablestring" = xdisable; then
8916 defaultval=yes
8917 else
8918 defaultval=no
8919 fi
8920 fi
8921
8922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8924 # Check whether --enable-stc was given.
8925 if test "${enable_stc+set}" = set; then
8926 enableval=$enable_stc;
8927 if test "$enableval" = yes; then
8928 wx_cv_use_stc='wxUSE_STC=yes'
8929 else
8930 wx_cv_use_stc='wxUSE_STC=no'
8931 fi
8932
8933 else
8934
8935 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8936
8937 fi
8938
8939
8940 eval "$wx_cv_use_stc"
8941
8942 if test x"$enablestring" = xdisable; then
8943 if test $wxUSE_STC = no; then
8944 result=yes
8945 else
8946 result=no
8947 fi
8948 else
8949 result=$wxUSE_STC
8950 fi
8951
8952 { echo "$as_me:$LINENO: result: $result" >&5
8953 echo "${ECHO_T}$result" >&6; }
8954
8955
8956 enablestring=
8957 defaultval=$wxUSE_ALL_FEATURES
8958 if test -z "$defaultval"; then
8959 if test x"$enablestring" = xdisable; then
8960 defaultval=yes
8961 else
8962 defaultval=no
8963 fi
8964 fi
8965
8966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8967 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8968 # Check whether --enable-constraints was given.
8969 if test "${enable_constraints+set}" = set; then
8970 enableval=$enable_constraints;
8971 if test "$enableval" = yes; then
8972 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8973 else
8974 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8975 fi
8976
8977 else
8978
8979 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8980
8981 fi
8982
8983
8984 eval "$wx_cv_use_constraints"
8985
8986 if test x"$enablestring" = xdisable; then
8987 if test $wxUSE_CONSTRAINTS = no; then
8988 result=yes
8989 else
8990 result=no
8991 fi
8992 else
8993 result=$wxUSE_CONSTRAINTS
8994 fi
8995
8996 { echo "$as_me:$LINENO: result: $result" >&5
8997 echo "${ECHO_T}$result" >&6; }
8998
8999
9000 enablestring=
9001 defaultval=$wxUSE_ALL_FEATURES
9002 if test -z "$defaultval"; then
9003 if test x"$enablestring" = xdisable; then
9004 defaultval=yes
9005 else
9006 defaultval=no
9007 fi
9008 fi
9009
9010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9011 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9012 # Check whether --enable-loggui was given.
9013 if test "${enable_loggui+set}" = set; then
9014 enableval=$enable_loggui;
9015 if test "$enableval" = yes; then
9016 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9017 else
9018 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9019 fi
9020
9021 else
9022
9023 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9024
9025 fi
9026
9027
9028 eval "$wx_cv_use_loggui"
9029
9030 if test x"$enablestring" = xdisable; then
9031 if test $wxUSE_LOGGUI = no; then
9032 result=yes
9033 else
9034 result=no
9035 fi
9036 else
9037 result=$wxUSE_LOGGUI
9038 fi
9039
9040 { echo "$as_me:$LINENO: result: $result" >&5
9041 echo "${ECHO_T}$result" >&6; }
9042
9043
9044 enablestring=
9045 defaultval=$wxUSE_ALL_FEATURES
9046 if test -z "$defaultval"; then
9047 if test x"$enablestring" = xdisable; then
9048 defaultval=yes
9049 else
9050 defaultval=no
9051 fi
9052 fi
9053
9054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9055 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9056 # Check whether --enable-logwin was given.
9057 if test "${enable_logwin+set}" = set; then
9058 enableval=$enable_logwin;
9059 if test "$enableval" = yes; then
9060 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9061 else
9062 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9063 fi
9064
9065 else
9066
9067 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9068
9069 fi
9070
9071
9072 eval "$wx_cv_use_logwin"
9073
9074 if test x"$enablestring" = xdisable; then
9075 if test $wxUSE_LOGWINDOW = no; then
9076 result=yes
9077 else
9078 result=no
9079 fi
9080 else
9081 result=$wxUSE_LOGWINDOW
9082 fi
9083
9084 { echo "$as_me:$LINENO: result: $result" >&5
9085 echo "${ECHO_T}$result" >&6; }
9086
9087
9088 enablestring=
9089 defaultval=$wxUSE_ALL_FEATURES
9090 if test -z "$defaultval"; then
9091 if test x"$enablestring" = xdisable; then
9092 defaultval=yes
9093 else
9094 defaultval=no
9095 fi
9096 fi
9097
9098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9100 # Check whether --enable-logdialog was given.
9101 if test "${enable_logdialog+set}" = set; then
9102 enableval=$enable_logdialog;
9103 if test "$enableval" = yes; then
9104 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9105 else
9106 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9107 fi
9108
9109 else
9110
9111 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9112
9113 fi
9114
9115
9116 eval "$wx_cv_use_logdialog"
9117
9118 if test x"$enablestring" = xdisable; then
9119 if test $wxUSE_LOGDIALOG = no; then
9120 result=yes
9121 else
9122 result=no
9123 fi
9124 else
9125 result=$wxUSE_LOGDIALOG
9126 fi
9127
9128 { echo "$as_me:$LINENO: result: $result" >&5
9129 echo "${ECHO_T}$result" >&6; }
9130
9131
9132 enablestring=
9133 defaultval=$wxUSE_ALL_FEATURES
9134 if test -z "$defaultval"; then
9135 if test x"$enablestring" = xdisable; then
9136 defaultval=yes
9137 else
9138 defaultval=no
9139 fi
9140 fi
9141
9142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9144 # Check whether --enable-mdi was given.
9145 if test "${enable_mdi+set}" = set; then
9146 enableval=$enable_mdi;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_mdi='wxUSE_MDI=yes'
9149 else
9150 wx_cv_use_mdi='wxUSE_MDI=no'
9151 fi
9152
9153 else
9154
9155 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9156
9157 fi
9158
9159
9160 eval "$wx_cv_use_mdi"
9161
9162 if test x"$enablestring" = xdisable; then
9163 if test $wxUSE_MDI = no; then
9164 result=yes
9165 else
9166 result=no
9167 fi
9168 else
9169 result=$wxUSE_MDI
9170 fi
9171
9172 { echo "$as_me:$LINENO: result: $result" >&5
9173 echo "${ECHO_T}$result" >&6; }
9174
9175
9176 enablestring=
9177 defaultval=$wxUSE_ALL_FEATURES
9178 if test -z "$defaultval"; then
9179 if test x"$enablestring" = xdisable; then
9180 defaultval=yes
9181 else
9182 defaultval=no
9183 fi
9184 fi
9185
9186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9188 # Check whether --enable-mdidoc was given.
9189 if test "${enable_mdidoc+set}" = set; then
9190 enableval=$enable_mdidoc;
9191 if test "$enableval" = yes; then
9192 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9193 else
9194 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9195 fi
9196
9197 else
9198
9199 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9200
9201 fi
9202
9203
9204 eval "$wx_cv_use_mdidoc"
9205
9206 if test x"$enablestring" = xdisable; then
9207 if test $wxUSE_MDI_ARCHITECTURE = no; then
9208 result=yes
9209 else
9210 result=no
9211 fi
9212 else
9213 result=$wxUSE_MDI_ARCHITECTURE
9214 fi
9215
9216 { echo "$as_me:$LINENO: result: $result" >&5
9217 echo "${ECHO_T}$result" >&6; }
9218
9219
9220 enablestring=
9221 defaultval=$wxUSE_ALL_FEATURES
9222 if test -z "$defaultval"; then
9223 if test x"$enablestring" = xdisable; then
9224 defaultval=yes
9225 else
9226 defaultval=no
9227 fi
9228 fi
9229
9230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9232 # Check whether --enable-mediactrl was given.
9233 if test "${enable_mediactrl+set}" = set; then
9234 enableval=$enable_mediactrl;
9235 if test "$enableval" = yes; then
9236 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9237 else
9238 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9239 fi
9240
9241 else
9242
9243 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9244
9245 fi
9246
9247
9248 eval "$wx_cv_use_mediactrl"
9249
9250 if test x"$enablestring" = xdisable; then
9251 if test $wxUSE_MEDIACTRL = no; then
9252 result=yes
9253 else
9254 result=no
9255 fi
9256 else
9257 result=$wxUSE_MEDIACTRL
9258 fi
9259
9260 { echo "$as_me:$LINENO: result: $result" >&5
9261 echo "${ECHO_T}$result" >&6; }
9262
9263
9264 enablestring=
9265 defaultval=$wxUSE_ALL_FEATURES
9266 if test -z "$defaultval"; then
9267 if test x"$enablestring" = xdisable; then
9268 defaultval=yes
9269 else
9270 defaultval=no
9271 fi
9272 fi
9273
9274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9276 # Check whether --enable-gstreamer8 was given.
9277 if test "${enable_gstreamer8+set}" = set; then
9278 enableval=$enable_gstreamer8;
9279 if test "$enableval" = yes; then
9280 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9281 else
9282 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9283 fi
9284
9285 else
9286
9287 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9288
9289 fi
9290
9291
9292 eval "$wx_cv_use_gstreamer8"
9293
9294 if test x"$enablestring" = xdisable; then
9295 if test $wxUSE_GSTREAMER8 = no; then
9296 result=yes
9297 else
9298 result=no
9299 fi
9300 else
9301 result=$wxUSE_GSTREAMER8
9302 fi
9303
9304 { echo "$as_me:$LINENO: result: $result" >&5
9305 echo "${ECHO_T}$result" >&6; }
9306
9307
9308 enablestring=
9309 defaultval=$wxUSE_ALL_FEATURES
9310 if test -z "$defaultval"; then
9311 if test x"$enablestring" = xdisable; then
9312 defaultval=yes
9313 else
9314 defaultval=no
9315 fi
9316 fi
9317
9318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9319 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9320 # Check whether --enable-webkit was given.
9321 if test "${enable_webkit+set}" = set; then
9322 enableval=$enable_webkit;
9323 if test "$enableval" = yes; then
9324 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9325 else
9326 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9327 fi
9328
9329 else
9330
9331 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9332
9333 fi
9334
9335
9336 eval "$wx_cv_use_webkit"
9337
9338 if test x"$enablestring" = xdisable; then
9339 if test $wxUSE_WEBKIT = no; then
9340 result=yes
9341 else
9342 result=no
9343 fi
9344 else
9345 result=$wxUSE_WEBKIT
9346 fi
9347
9348 { echo "$as_me:$LINENO: result: $result" >&5
9349 echo "${ECHO_T}$result" >&6; }
9350
9351
9352 enablestring=
9353 defaultval=$wxUSE_ALL_FEATURES
9354 if test -z "$defaultval"; then
9355 if test x"$enablestring" = xdisable; then
9356 defaultval=yes
9357 else
9358 defaultval=no
9359 fi
9360 fi
9361
9362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9363 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9364 # Check whether --enable-richtext was given.
9365 if test "${enable_richtext+set}" = set; then
9366 enableval=$enable_richtext;
9367 if test "$enableval" = yes; then
9368 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9369 else
9370 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9371 fi
9372
9373 else
9374
9375 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9376
9377 fi
9378
9379
9380 eval "$wx_cv_use_richtext"
9381
9382 if test x"$enablestring" = xdisable; then
9383 if test $wxUSE_RICHTEXT = no; then
9384 result=yes
9385 else
9386 result=no
9387 fi
9388 else
9389 result=$wxUSE_RICHTEXT
9390 fi
9391
9392 { echo "$as_me:$LINENO: result: $result" >&5
9393 echo "${ECHO_T}$result" >&6; }
9394
9395
9396 enablestring=
9397 defaultval=$wxUSE_ALL_FEATURES
9398 if test -z "$defaultval"; then
9399 if test x"$enablestring" = xdisable; then
9400 defaultval=yes
9401 else
9402 defaultval=no
9403 fi
9404 fi
9405
9406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9407 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9408 # Check whether --enable-postscript was given.
9409 if test "${enable_postscript+set}" = set; then
9410 enableval=$enable_postscript;
9411 if test "$enableval" = yes; then
9412 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9413 else
9414 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9415 fi
9416
9417 else
9418
9419 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9420
9421 fi
9422
9423
9424 eval "$wx_cv_use_postscript"
9425
9426 if test x"$enablestring" = xdisable; then
9427 if test $wxUSE_POSTSCRIPT = no; then
9428 result=yes
9429 else
9430 result=no
9431 fi
9432 else
9433 result=$wxUSE_POSTSCRIPT
9434 fi
9435
9436 { echo "$as_me:$LINENO: result: $result" >&5
9437 echo "${ECHO_T}$result" >&6; }
9438
9439
9440 enablestring=
9441 defaultval=$wxUSE_ALL_FEATURES
9442 if test -z "$defaultval"; then
9443 if test x"$enablestring" = xdisable; then
9444 defaultval=yes
9445 else
9446 defaultval=no
9447 fi
9448 fi
9449
9450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9451 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9452 # Check whether --enable-printarch was given.
9453 if test "${enable_printarch+set}" = set; then
9454 enableval=$enable_printarch;
9455 if test "$enableval" = yes; then
9456 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9457 else
9458 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9459 fi
9460
9461 else
9462
9463 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9464
9465 fi
9466
9467
9468 eval "$wx_cv_use_printarch"
9469
9470 if test x"$enablestring" = xdisable; then
9471 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9472 result=yes
9473 else
9474 result=no
9475 fi
9476 else
9477 result=$wxUSE_PRINTING_ARCHITECTURE
9478 fi
9479
9480 { echo "$as_me:$LINENO: result: $result" >&5
9481 echo "${ECHO_T}$result" >&6; }
9482
9483
9484 enablestring=
9485 defaultval=$wxUSE_ALL_FEATURES
9486 if test -z "$defaultval"; then
9487 if test x"$enablestring" = xdisable; then
9488 defaultval=yes
9489 else
9490 defaultval=no
9491 fi
9492 fi
9493
9494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9495 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9496 # Check whether --enable-svg was given.
9497 if test "${enable_svg+set}" = set; then
9498 enableval=$enable_svg;
9499 if test "$enableval" = yes; then
9500 wx_cv_use_svg='wxUSE_SVG=yes'
9501 else
9502 wx_cv_use_svg='wxUSE_SVG=no'
9503 fi
9504
9505 else
9506
9507 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9508
9509 fi
9510
9511
9512 eval "$wx_cv_use_svg"
9513
9514 if test x"$enablestring" = xdisable; then
9515 if test $wxUSE_SVG = no; then
9516 result=yes
9517 else
9518 result=no
9519 fi
9520 else
9521 result=$wxUSE_SVG
9522 fi
9523
9524 { echo "$as_me:$LINENO: result: $result" >&5
9525 echo "${ECHO_T}$result" >&6; }
9526
9527
9528 if test "$wxUSE_MAC" != 1; then
9529
9530 enablestring=
9531 defaultval=$wxUSE_ALL_FEATURES
9532 if test -z "$defaultval"; then
9533 if test x"$enablestring" = xdisable; then
9534 defaultval=yes
9535 else
9536 defaultval=no
9537 fi
9538 fi
9539
9540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9542 # Check whether --enable-graphics_ctx was given.
9543 if test "${enable_graphics_ctx+set}" = set; then
9544 enableval=$enable_graphics_ctx;
9545 if test "$enableval" = yes; then
9546 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9547 else
9548 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9549 fi
9550
9551 else
9552
9553 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9554
9555 fi
9556
9557
9558 eval "$wx_cv_use_graphics_ctx"
9559
9560 if test x"$enablestring" = xdisable; then
9561 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9562 result=yes
9563 else
9564 result=no
9565 fi
9566 else
9567 result=$wxUSE_GRAPHICS_CONTEXT
9568 fi
9569
9570 { echo "$as_me:$LINENO: result: $result" >&5
9571 echo "${ECHO_T}$result" >&6; }
9572
9573 fi
9574
9575
9576
9577 enablestring=
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9581 defaultval=yes
9582 else
9583 defaultval=no
9584 fi
9585 fi
9586
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9589 # Check whether --enable-clipboard was given.
9590 if test "${enable_clipboard+set}" = set; then
9591 enableval=$enable_clipboard;
9592 if test "$enableval" = yes; then
9593 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9594 else
9595 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9596 fi
9597
9598 else
9599
9600 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9601
9602 fi
9603
9604
9605 eval "$wx_cv_use_clipboard"
9606
9607 if test x"$enablestring" = xdisable; then
9608 if test $wxUSE_CLIPBOARD = no; then
9609 result=yes
9610 else
9611 result=no
9612 fi
9613 else
9614 result=$wxUSE_CLIPBOARD
9615 fi
9616
9617 { echo "$as_me:$LINENO: result: $result" >&5
9618 echo "${ECHO_T}$result" >&6; }
9619
9620
9621 enablestring=
9622 defaultval=$wxUSE_ALL_FEATURES
9623 if test -z "$defaultval"; then
9624 if test x"$enablestring" = xdisable; then
9625 defaultval=yes
9626 else
9627 defaultval=no
9628 fi
9629 fi
9630
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9633 # Check whether --enable-dnd was given.
9634 if test "${enable_dnd+set}" = set; then
9635 enableval=$enable_dnd;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9638 else
9639 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9640 fi
9641
9642 else
9643
9644 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9645
9646 fi
9647
9648
9649 eval "$wx_cv_use_dnd"
9650
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_DRAG_AND_DROP = no; then
9653 result=yes
9654 else
9655 result=no
9656 fi
9657 else
9658 result=$wxUSE_DRAG_AND_DROP
9659 fi
9660
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9663
9664
9665 enablestring=
9666 defaultval=$wxUSE_ALL_FEATURES
9667 if test -z "$defaultval"; then
9668 if test x"$enablestring" = xdisable; then
9669 defaultval=yes
9670 else
9671 defaultval=no
9672 fi
9673 fi
9674
9675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9677 # Check whether --enable-metafile was given.
9678 if test "${enable_metafile+set}" = set; then
9679 enableval=$enable_metafile;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9682 else
9683 wx_cv_use_metafile='wxUSE_METAFILE=no'
9684 fi
9685
9686 else
9687
9688 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9689
9690 fi
9691
9692
9693 eval "$wx_cv_use_metafile"
9694
9695 if test x"$enablestring" = xdisable; then
9696 if test $wxUSE_METAFILE = no; then
9697 result=yes
9698 else
9699 result=no
9700 fi
9701 else
9702 result=$wxUSE_METAFILE
9703 fi
9704
9705 { echo "$as_me:$LINENO: result: $result" >&5
9706 echo "${ECHO_T}$result" >&6; }
9707
9708
9709
9710 DEFAULT_wxUSE_CONTROLS=none
9711
9712 enablestring=disable
9713 defaultval=
9714 if test -z "$defaultval"; then
9715 if test x"$enablestring" = xdisable; then
9716 defaultval=yes
9717 else
9718 defaultval=no
9719 fi
9720 fi
9721
9722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9724 # Check whether --enable-controls was given.
9725 if test "${enable_controls+set}" = set; then
9726 enableval=$enable_controls;
9727 if test "$enableval" = yes; then
9728 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9729 else
9730 wx_cv_use_controls='wxUSE_CONTROLS=no'
9731 fi
9732
9733 else
9734
9735 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9736
9737 fi
9738
9739
9740 eval "$wx_cv_use_controls"
9741
9742 if test x"$enablestring" = xdisable; then
9743 if test $wxUSE_CONTROLS = no; then
9744 result=yes
9745 else
9746 result=no
9747 fi
9748 else
9749 result=$wxUSE_CONTROLS
9750 fi
9751
9752 { echo "$as_me:$LINENO: result: $result" >&5
9753 echo "${ECHO_T}$result" >&6; }
9754
9755
9756 if test "$wxUSE_CONTROLS" = "no"; then
9757 DEFAULT_wxUSE_ACCEL=no
9758 DEFAULT_wxUSE_ANIMATIONCTRL=no
9759 DEFAULT_wxUSE_BMPBUTTON=no
9760 DEFAULT_wxUSE_BUTTON=no
9761 DEFAULT_wxUSE_CALCTRL=no
9762 DEFAULT_wxUSE_CARET=no
9763 DEFAULT_wxUSE_CHECKBOX=no
9764 DEFAULT_wxUSE_CHECKLISTBOX=no
9765 DEFAULT_wxUSE_CHOICE=no
9766 DEFAULT_wxUSE_CHOICEBOOK=no
9767 DEFAULT_wxUSE_COLLPANE=no
9768 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9769 DEFAULT_wxUSE_COMBOBOX=no
9770 DEFAULT_wxUSE_COMBOBOX=no
9771 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9772 DEFAULT_wxUSE_DATAVIEWCTRL=no
9773 DEFAULT_wxUSE_DATEPICKCTRL=no
9774 DEFAULT_wxUSE_DETECT_SM=no
9775 DEFAULT_wxUSE_DIRPICKERCTRL=no
9776 DEFAULT_wxUSE_DISPLAY=no
9777 DEFAULT_wxUSE_FILECTRL=no
9778 DEFAULT_wxUSE_FILEPICKERCTRL=no
9779 DEFAULT_wxUSE_FONTPICKERCTRL=no
9780 DEFAULT_wxUSE_GAUGE=no
9781 DEFAULT_wxUSE_GRID=no
9782 DEFAULT_wxUSE_HEADERCTRL=no
9783 DEFAULT_wxUSE_HYPERLINKCTRL=no
9784 DEFAULT_wxUSE_IMAGLIST=no
9785 DEFAULT_wxUSE_LISTBOOK=no
9786 DEFAULT_wxUSE_LISTBOX=no
9787 DEFAULT_wxUSE_LISTCTRL=no
9788 DEFAULT_wxUSE_MARKUP=no
9789 DEFAULT_wxUSE_NOTEBOOK=no
9790 DEFAULT_wxUSE_POPUPWIN=no
9791 DEFAULT_wxUSE_RADIOBOX=no
9792 DEFAULT_wxUSE_RADIOBTN=no
9793 DEFAULT_wxUSE_RICHMSGDLG=no
9794 DEFAULT_wxUSE_REARRANGECTRL=no
9795 DEFAULT_wxUSE_SASH=no
9796 DEFAULT_wxUSE_SCROLLBAR=no
9797 DEFAULT_wxUSE_SEARCHCTRL=no
9798 DEFAULT_wxUSE_SLIDER=no
9799 DEFAULT_wxUSE_SPINBTN=no
9800 DEFAULT_wxUSE_SPINCTRL=no
9801 DEFAULT_wxUSE_SPLITTER=no
9802 DEFAULT_wxUSE_STATBMP=no
9803 DEFAULT_wxUSE_STATBOX=no
9804 DEFAULT_wxUSE_STATLINE=no
9805 DEFAULT_wxUSE_STATUSBAR=no
9806 DEFAULT_wxUSE_TIPWINDOW=no
9807 DEFAULT_wxUSE_TOGGLEBTN=no
9808 DEFAULT_wxUSE_TOOLBAR=no
9809 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9810 DEFAULT_wxUSE_TOOLBOOK=no
9811 DEFAULT_wxUSE_TOOLTIPS=no
9812 DEFAULT_wxUSE_TREEBOOK=no
9813 DEFAULT_wxUSE_TREECTRL=no
9814 fi
9815
9816
9817 enablestring=
9818 defaultval=$wxUSE_ALL_FEATURES
9819 if test -z "$defaultval"; then
9820 if test x"$enablestring" = xdisable; then
9821 defaultval=yes
9822 else
9823 defaultval=no
9824 fi
9825 fi
9826
9827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9828 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9829 # Check whether --enable-markup was given.
9830 if test "${enable_markup+set}" = set; then
9831 enableval=$enable_markup;
9832 if test "$enableval" = yes; then
9833 wx_cv_use_markup='wxUSE_MARKUP=yes'
9834 else
9835 wx_cv_use_markup='wxUSE_MARKUP=no'
9836 fi
9837
9838 else
9839
9840 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9841
9842 fi
9843
9844
9845 eval "$wx_cv_use_markup"
9846
9847 if test x"$enablestring" = xdisable; then
9848 if test $wxUSE_MARKUP = no; then
9849 result=yes
9850 else
9851 result=no
9852 fi
9853 else
9854 result=$wxUSE_MARKUP
9855 fi
9856
9857 { echo "$as_me:$LINENO: result: $result" >&5
9858 echo "${ECHO_T}$result" >&6; }
9859
9860
9861
9862 enablestring=
9863 defaultval=$wxUSE_ALL_FEATURES
9864 if test -z "$defaultval"; then
9865 if test x"$enablestring" = xdisable; then
9866 defaultval=yes
9867 else
9868 defaultval=no
9869 fi
9870 fi
9871
9872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9874 # Check whether --enable-accel was given.
9875 if test "${enable_accel+set}" = set; then
9876 enableval=$enable_accel;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_accel='wxUSE_ACCEL=yes'
9879 else
9880 wx_cv_use_accel='wxUSE_ACCEL=no'
9881 fi
9882
9883 else
9884
9885 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9886
9887 fi
9888
9889
9890 eval "$wx_cv_use_accel"
9891
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_ACCEL = no; then
9894 result=yes
9895 else
9896 result=no
9897 fi
9898 else
9899 result=$wxUSE_ACCEL
9900 fi
9901
9902 { echo "$as_me:$LINENO: result: $result" >&5
9903 echo "${ECHO_T}$result" >&6; }
9904
9905
9906 enablestring=
9907 defaultval=$wxUSE_ALL_FEATURES
9908 if test -z "$defaultval"; then
9909 if test x"$enablestring" = xdisable; then
9910 defaultval=yes
9911 else
9912 defaultval=no
9913 fi
9914 fi
9915
9916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9918 # Check whether --enable-animatectrl was given.
9919 if test "${enable_animatectrl+set}" = set; then
9920 enableval=$enable_animatectrl;
9921 if test "$enableval" = yes; then
9922 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9923 else
9924 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9925 fi
9926
9927 else
9928
9929 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9930
9931 fi
9932
9933
9934 eval "$wx_cv_use_animatectrl"
9935
9936 if test x"$enablestring" = xdisable; then
9937 if test $wxUSE_ANIMATIONCTRL = no; then
9938 result=yes
9939 else
9940 result=no
9941 fi
9942 else
9943 result=$wxUSE_ANIMATIONCTRL
9944 fi
9945
9946 { echo "$as_me:$LINENO: result: $result" >&5
9947 echo "${ECHO_T}$result" >&6; }
9948
9949
9950 enablestring=
9951 defaultval=$wxUSE_ALL_FEATURES
9952 if test -z "$defaultval"; then
9953 if test x"$enablestring" = xdisable; then
9954 defaultval=yes
9955 else
9956 defaultval=no
9957 fi
9958 fi
9959
9960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
9962 # Check whether --enable-artstd was given.
9963 if test "${enable_artstd+set}" = set; then
9964 enableval=$enable_artstd;
9965 if test "$enableval" = yes; then
9966 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
9967 else
9968 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
9969 fi
9970
9971 else
9972
9973 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
9974
9975 fi
9976
9977
9978 eval "$wx_cv_use_artstd"
9979
9980 if test x"$enablestring" = xdisable; then
9981 if test $wxUSE_ARTPROVIDER_STD = no; then
9982 result=yes
9983 else
9984 result=no
9985 fi
9986 else
9987 result=$wxUSE_ARTPROVIDER_STD
9988 fi
9989
9990 { echo "$as_me:$LINENO: result: $result" >&5
9991 echo "${ECHO_T}$result" >&6; }
9992
9993
9994 enablestring=
9995 defaultval=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x"$enablestring" = xdisable; then
9998 defaultval=yes
9999 else
10000 defaultval=no
10001 fi
10002 fi
10003
10004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10005 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10006 # Check whether --enable-arttango was given.
10007 if test "${enable_arttango+set}" = set; then
10008 enableval=$enable_arttango;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10011 else
10012 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10013 fi
10014
10015 else
10016
10017 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10018
10019 fi
10020
10021
10022 eval "$wx_cv_use_arttango"
10023
10024 if test x"$enablestring" = xdisable; then
10025 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10026 result=yes
10027 else
10028 result=no
10029 fi
10030 else
10031 result=$wxUSE_ARTPROVIDER_TANGO
10032 fi
10033
10034 { echo "$as_me:$LINENO: result: $result" >&5
10035 echo "${ECHO_T}$result" >&6; }
10036
10037
10038 enablestring=
10039 defaultval=$wxUSE_ALL_FEATURES
10040 if test -z "$defaultval"; then
10041 if test x"$enablestring" = xdisable; then
10042 defaultval=yes
10043 else
10044 defaultval=no
10045 fi
10046 fi
10047
10048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10049 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10050 # Check whether --enable-bmpbutton was given.
10051 if test "${enable_bmpbutton+set}" = set; then
10052 enableval=$enable_bmpbutton;
10053 if test "$enableval" = yes; then
10054 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10055 else
10056 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10057 fi
10058
10059 else
10060
10061 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10062
10063 fi
10064
10065
10066 eval "$wx_cv_use_bmpbutton"
10067
10068 if test x"$enablestring" = xdisable; then
10069 if test $wxUSE_BMPBUTTON = no; then
10070 result=yes
10071 else
10072 result=no
10073 fi
10074 else
10075 result=$wxUSE_BMPBUTTON
10076 fi
10077
10078 { echo "$as_me:$LINENO: result: $result" >&5
10079 echo "${ECHO_T}$result" >&6; }
10080
10081
10082 enablestring=
10083 defaultval=$wxUSE_ALL_FEATURES
10084 if test -z "$defaultval"; then
10085 if test x"$enablestring" = xdisable; then
10086 defaultval=yes
10087 else
10088 defaultval=no
10089 fi
10090 fi
10091
10092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10093 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10094 # Check whether --enable-bmpcombobox was given.
10095 if test "${enable_bmpcombobox+set}" = set; then
10096 enableval=$enable_bmpcombobox;
10097 if test "$enableval" = yes; then
10098 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10099 else
10100 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10101 fi
10102
10103 else
10104
10105 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10106
10107 fi
10108
10109
10110 eval "$wx_cv_use_bmpcombobox"
10111
10112 if test x"$enablestring" = xdisable; then
10113 if test $wxUSE_BITMAPCOMBOBOX = no; then
10114 result=yes
10115 else
10116 result=no
10117 fi
10118 else
10119 result=$wxUSE_BITMAPCOMBOBOX
10120 fi
10121
10122 { echo "$as_me:$LINENO: result: $result" >&5
10123 echo "${ECHO_T}$result" >&6; }
10124
10125
10126 enablestring=
10127 defaultval=$wxUSE_ALL_FEATURES
10128 if test -z "$defaultval"; then
10129 if test x"$enablestring" = xdisable; then
10130 defaultval=yes
10131 else
10132 defaultval=no
10133 fi
10134 fi
10135
10136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10138 # Check whether --enable-button was given.
10139 if test "${enable_button+set}" = set; then
10140 enableval=$enable_button;
10141 if test "$enableval" = yes; then
10142 wx_cv_use_button='wxUSE_BUTTON=yes'
10143 else
10144 wx_cv_use_button='wxUSE_BUTTON=no'
10145 fi
10146
10147 else
10148
10149 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10150
10151 fi
10152
10153
10154 eval "$wx_cv_use_button"
10155
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_BUTTON = no; then
10158 result=yes
10159 else
10160 result=no
10161 fi
10162 else
10163 result=$wxUSE_BUTTON
10164 fi
10165
10166 { echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6; }
10168
10169
10170 enablestring=
10171 defaultval=$wxUSE_ALL_FEATURES
10172 if test -z "$defaultval"; then
10173 if test x"$enablestring" = xdisable; then
10174 defaultval=yes
10175 else
10176 defaultval=no
10177 fi
10178 fi
10179
10180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10181 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10182 # Check whether --enable-calendar was given.
10183 if test "${enable_calendar+set}" = set; then
10184 enableval=$enable_calendar;
10185 if test "$enableval" = yes; then
10186 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10187 else
10188 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10189 fi
10190
10191 else
10192
10193 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10194
10195 fi
10196
10197
10198 eval "$wx_cv_use_calendar"
10199
10200 if test x"$enablestring" = xdisable; then
10201 if test $wxUSE_CALCTRL = no; then
10202 result=yes
10203 else
10204 result=no
10205 fi
10206 else
10207 result=$wxUSE_CALCTRL
10208 fi
10209
10210 { echo "$as_me:$LINENO: result: $result" >&5
10211 echo "${ECHO_T}$result" >&6; }
10212
10213
10214 enablestring=
10215 defaultval=$wxUSE_ALL_FEATURES
10216 if test -z "$defaultval"; then
10217 if test x"$enablestring" = xdisable; then
10218 defaultval=yes
10219 else
10220 defaultval=no
10221 fi
10222 fi
10223
10224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10225 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10226 # Check whether --enable-caret was given.
10227 if test "${enable_caret+set}" = set; then
10228 enableval=$enable_caret;
10229 if test "$enableval" = yes; then
10230 wx_cv_use_caret='wxUSE_CARET=yes'
10231 else
10232 wx_cv_use_caret='wxUSE_CARET=no'
10233 fi
10234
10235 else
10236
10237 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10238
10239 fi
10240
10241
10242 eval "$wx_cv_use_caret"
10243
10244 if test x"$enablestring" = xdisable; then
10245 if test $wxUSE_CARET = no; then
10246 result=yes
10247 else
10248 result=no
10249 fi
10250 else
10251 result=$wxUSE_CARET
10252 fi
10253
10254 { echo "$as_me:$LINENO: result: $result" >&5
10255 echo "${ECHO_T}$result" >&6; }
10256
10257
10258 enablestring=
10259 defaultval=$wxUSE_ALL_FEATURES
10260 if test -z "$defaultval"; then
10261 if test x"$enablestring" = xdisable; then
10262 defaultval=yes
10263 else
10264 defaultval=no
10265 fi
10266 fi
10267
10268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10269 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10270 # Check whether --enable-checkbox was given.
10271 if test "${enable_checkbox+set}" = set; then
10272 enableval=$enable_checkbox;
10273 if test "$enableval" = yes; then
10274 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10275 else
10276 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10277 fi
10278
10279 else
10280
10281 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10282
10283 fi
10284
10285
10286 eval "$wx_cv_use_checkbox"
10287
10288 if test x"$enablestring" = xdisable; then
10289 if test $wxUSE_CHECKBOX = no; then
10290 result=yes
10291 else
10292 result=no
10293 fi
10294 else
10295 result=$wxUSE_CHECKBOX
10296 fi
10297
10298 { echo "$as_me:$LINENO: result: $result" >&5
10299 echo "${ECHO_T}$result" >&6; }
10300
10301
10302 enablestring=
10303 defaultval=$wxUSE_ALL_FEATURES
10304 if test -z "$defaultval"; then
10305 if test x"$enablestring" = xdisable; then
10306 defaultval=yes
10307 else
10308 defaultval=no
10309 fi
10310 fi
10311
10312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10313 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10314 # Check whether --enable-checklst was given.
10315 if test "${enable_checklst+set}" = set; then
10316 enableval=$enable_checklst;
10317 if test "$enableval" = yes; then
10318 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10319 else
10320 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10321 fi
10322
10323 else
10324
10325 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10326
10327 fi
10328
10329
10330 eval "$wx_cv_use_checklst"
10331
10332 if test x"$enablestring" = xdisable; then
10333 if test $wxUSE_CHECKLST = no; then
10334 result=yes
10335 else
10336 result=no
10337 fi
10338 else
10339 result=$wxUSE_CHECKLST
10340 fi
10341
10342 { echo "$as_me:$LINENO: result: $result" >&5
10343 echo "${ECHO_T}$result" >&6; }
10344
10345
10346 enablestring=
10347 defaultval=$wxUSE_ALL_FEATURES
10348 if test -z "$defaultval"; then
10349 if test x"$enablestring" = xdisable; then
10350 defaultval=yes
10351 else
10352 defaultval=no
10353 fi
10354 fi
10355
10356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10358 # Check whether --enable-choice was given.
10359 if test "${enable_choice+set}" = set; then
10360 enableval=$enable_choice;
10361 if test "$enableval" = yes; then
10362 wx_cv_use_choice='wxUSE_CHOICE=yes'
10363 else
10364 wx_cv_use_choice='wxUSE_CHOICE=no'
10365 fi
10366
10367 else
10368
10369 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10370
10371 fi
10372
10373
10374 eval "$wx_cv_use_choice"
10375
10376 if test x"$enablestring" = xdisable; then
10377 if test $wxUSE_CHOICE = no; then
10378 result=yes
10379 else
10380 result=no
10381 fi
10382 else
10383 result=$wxUSE_CHOICE
10384 fi
10385
10386 { echo "$as_me:$LINENO: result: $result" >&5
10387 echo "${ECHO_T}$result" >&6; }
10388
10389
10390 enablestring=
10391 defaultval=$wxUSE_ALL_FEATURES
10392 if test -z "$defaultval"; then
10393 if test x"$enablestring" = xdisable; then
10394 defaultval=yes
10395 else
10396 defaultval=no
10397 fi
10398 fi
10399
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10402 # Check whether --enable-choicebook was given.
10403 if test "${enable_choicebook+set}" = set; then
10404 enableval=$enable_choicebook;
10405 if test "$enableval" = yes; then
10406 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10407 else
10408 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10409 fi
10410
10411 else
10412
10413 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10414
10415 fi
10416
10417
10418 eval "$wx_cv_use_choicebook"
10419
10420 if test x"$enablestring" = xdisable; then
10421 if test $wxUSE_CHOICEBOOK = no; then
10422 result=yes
10423 else
10424 result=no
10425 fi
10426 else
10427 result=$wxUSE_CHOICEBOOK
10428 fi
10429
10430 { echo "$as_me:$LINENO: result: $result" >&5
10431 echo "${ECHO_T}$result" >&6; }
10432
10433
10434 enablestring=
10435 defaultval=$wxUSE_ALL_FEATURES
10436 if test -z "$defaultval"; then
10437 if test x"$enablestring" = xdisable; then
10438 defaultval=yes
10439 else
10440 defaultval=no
10441 fi
10442 fi
10443
10444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10445 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10446 # Check whether --enable-collpane was given.
10447 if test "${enable_collpane+set}" = set; then
10448 enableval=$enable_collpane;
10449 if test "$enableval" = yes; then
10450 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10451 else
10452 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10453 fi
10454
10455 else
10456
10457 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10458
10459 fi
10460
10461
10462 eval "$wx_cv_use_collpane"
10463
10464 if test x"$enablestring" = xdisable; then
10465 if test $wxUSE_COLLPANE = no; then
10466 result=yes
10467 else
10468 result=no
10469 fi
10470 else
10471 result=$wxUSE_COLLPANE
10472 fi
10473
10474 { echo "$as_me:$LINENO: result: $result" >&5
10475 echo "${ECHO_T}$result" >&6; }
10476
10477
10478 enablestring=
10479 defaultval=$wxUSE_ALL_FEATURES
10480 if test -z "$defaultval"; then
10481 if test x"$enablestring" = xdisable; then
10482 defaultval=yes
10483 else
10484 defaultval=no
10485 fi
10486 fi
10487
10488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10489 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10490 # Check whether --enable-colourpicker was given.
10491 if test "${enable_colourpicker+set}" = set; then
10492 enableval=$enable_colourpicker;
10493 if test "$enableval" = yes; then
10494 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10495 else
10496 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10497 fi
10498
10499 else
10500
10501 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10502
10503 fi
10504
10505
10506 eval "$wx_cv_use_colourpicker"
10507
10508 if test x"$enablestring" = xdisable; then
10509 if test $wxUSE_COLOURPICKERCTRL = no; then
10510 result=yes
10511 else
10512 result=no
10513 fi
10514 else
10515 result=$wxUSE_COLOURPICKERCTRL
10516 fi
10517
10518 { echo "$as_me:$LINENO: result: $result" >&5
10519 echo "${ECHO_T}$result" >&6; }
10520
10521
10522 enablestring=
10523 defaultval=$wxUSE_ALL_FEATURES
10524 if test -z "$defaultval"; then
10525 if test x"$enablestring" = xdisable; then
10526 defaultval=yes
10527 else
10528 defaultval=no
10529 fi
10530 fi
10531
10532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10533 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10534 # Check whether --enable-combobox was given.
10535 if test "${enable_combobox+set}" = set; then
10536 enableval=$enable_combobox;
10537 if test "$enableval" = yes; then
10538 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10539 else
10540 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10541 fi
10542
10543 else
10544
10545 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10546
10547 fi
10548
10549
10550 eval "$wx_cv_use_combobox"
10551
10552 if test x"$enablestring" = xdisable; then
10553 if test $wxUSE_COMBOBOX = no; then
10554 result=yes
10555 else
10556 result=no
10557 fi
10558 else
10559 result=$wxUSE_COMBOBOX
10560 fi
10561
10562 { echo "$as_me:$LINENO: result: $result" >&5
10563 echo "${ECHO_T}$result" >&6; }
10564
10565
10566 enablestring=
10567 defaultval=$wxUSE_ALL_FEATURES
10568 if test -z "$defaultval"; then
10569 if test x"$enablestring" = xdisable; then
10570 defaultval=yes
10571 else
10572 defaultval=no
10573 fi
10574 fi
10575
10576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10577 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10578 # Check whether --enable-comboctrl was given.
10579 if test "${enable_comboctrl+set}" = set; then
10580 enableval=$enable_comboctrl;
10581 if test "$enableval" = yes; then
10582 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10583 else
10584 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10585 fi
10586
10587 else
10588
10589 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10590
10591 fi
10592
10593
10594 eval "$wx_cv_use_comboctrl"
10595
10596 if test x"$enablestring" = xdisable; then
10597 if test $wxUSE_COMBOCTRL = no; then
10598 result=yes
10599 else
10600 result=no
10601 fi
10602 else
10603 result=$wxUSE_COMBOCTRL
10604 fi
10605
10606 { echo "$as_me:$LINENO: result: $result" >&5
10607 echo "${ECHO_T}$result" >&6; }
10608
10609
10610 enablestring=
10611 defaultval=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x"$enablestring" = xdisable; then
10614 defaultval=yes
10615 else
10616 defaultval=no
10617 fi
10618 fi
10619
10620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10621 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10622 # Check whether --enable-commandlinkbutton was given.
10623 if test "${enable_commandlinkbutton+set}" = set; then
10624 enableval=$enable_commandlinkbutton;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10627 else
10628 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10629 fi
10630
10631 else
10632
10633 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10634
10635 fi
10636
10637
10638 eval "$wx_cv_use_commandlinkbutton"
10639
10640 if test x"$enablestring" = xdisable; then
10641 if test $wxUSE_COMMANDLINKBUTTON = no; then
10642 result=yes
10643 else
10644 result=no
10645 fi
10646 else
10647 result=$wxUSE_COMMANDLINKBUTTON
10648 fi
10649
10650 { echo "$as_me:$LINENO: result: $result" >&5
10651 echo "${ECHO_T}$result" >&6; }
10652
10653
10654 enablestring=
10655 defaultval=$wxUSE_ALL_FEATURES
10656 if test -z "$defaultval"; then
10657 if test x"$enablestring" = xdisable; then
10658 defaultval=yes
10659 else
10660 defaultval=no
10661 fi
10662 fi
10663
10664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10665 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10666 # Check whether --enable-dataviewctrl was given.
10667 if test "${enable_dataviewctrl+set}" = set; then
10668 enableval=$enable_dataviewctrl;
10669 if test "$enableval" = yes; then
10670 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10671 else
10672 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10673 fi
10674
10675 else
10676
10677 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10678
10679 fi
10680
10681
10682 eval "$wx_cv_use_dataviewctrl"
10683
10684 if test x"$enablestring" = xdisable; then
10685 if test $wxUSE_DATAVIEWCTRL = no; then
10686 result=yes
10687 else
10688 result=no
10689 fi
10690 else
10691 result=$wxUSE_DATAVIEWCTRL
10692 fi
10693
10694 { echo "$as_me:$LINENO: result: $result" >&5
10695 echo "${ECHO_T}$result" >&6; }
10696
10697
10698 enablestring=
10699 defaultval=$wxUSE_ALL_FEATURES
10700 if test -z "$defaultval"; then
10701 if test x"$enablestring" = xdisable; then
10702 defaultval=yes
10703 else
10704 defaultval=no
10705 fi
10706 fi
10707
10708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10709 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10710 # Check whether --enable-datepick was given.
10711 if test "${enable_datepick+set}" = set; then
10712 enableval=$enable_datepick;
10713 if test "$enableval" = yes; then
10714 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10715 else
10716 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10717 fi
10718
10719 else
10720
10721 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10722
10723 fi
10724
10725
10726 eval "$wx_cv_use_datepick"
10727
10728 if test x"$enablestring" = xdisable; then
10729 if test $wxUSE_DATEPICKCTRL = no; then
10730 result=yes
10731 else
10732 result=no
10733 fi
10734 else
10735 result=$wxUSE_DATEPICKCTRL
10736 fi
10737
10738 { echo "$as_me:$LINENO: result: $result" >&5
10739 echo "${ECHO_T}$result" >&6; }
10740
10741
10742 enablestring=
10743 defaultval=$wxUSE_ALL_FEATURES
10744 if test -z "$defaultval"; then
10745 if test x"$enablestring" = xdisable; then
10746 defaultval=yes
10747 else
10748 defaultval=no
10749 fi
10750 fi
10751
10752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10753 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10754 # Check whether --enable-detect_sm was given.
10755 if test "${enable_detect_sm+set}" = set; then
10756 enableval=$enable_detect_sm;
10757 if test "$enableval" = yes; then
10758 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10759 else
10760 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10761 fi
10762
10763 else
10764
10765 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10766
10767 fi
10768
10769
10770 eval "$wx_cv_use_detect_sm"
10771
10772 if test x"$enablestring" = xdisable; then
10773 if test $wxUSE_DETECT_SM = no; then
10774 result=yes
10775 else
10776 result=no
10777 fi
10778 else
10779 result=$wxUSE_DETECT_SM
10780 fi
10781
10782 { echo "$as_me:$LINENO: result: $result" >&5
10783 echo "${ECHO_T}$result" >&6; }
10784
10785
10786 enablestring=
10787 defaultval=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x"$enablestring" = xdisable; then
10790 defaultval=yes
10791 else
10792 defaultval=no
10793 fi
10794 fi
10795
10796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10797 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10798 # Check whether --enable-dirpicker was given.
10799 if test "${enable_dirpicker+set}" = set; then
10800 enableval=$enable_dirpicker;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10803 else
10804 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10805 fi
10806
10807 else
10808
10809 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10810
10811 fi
10812
10813
10814 eval "$wx_cv_use_dirpicker"
10815
10816 if test x"$enablestring" = xdisable; then
10817 if test $wxUSE_DIRPICKERCTRL = no; then
10818 result=yes
10819 else
10820 result=no
10821 fi
10822 else
10823 result=$wxUSE_DIRPICKERCTRL
10824 fi
10825
10826 { echo "$as_me:$LINENO: result: $result" >&5
10827 echo "${ECHO_T}$result" >&6; }
10828
10829
10830 enablestring=
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10834 defaultval=yes
10835 else
10836 defaultval=no
10837 fi
10838 fi
10839
10840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10841 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10842 # Check whether --enable-display was given.
10843 if test "${enable_display+set}" = set; then
10844 enableval=$enable_display;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_display='wxUSE_DISPLAY=yes'
10847 else
10848 wx_cv_use_display='wxUSE_DISPLAY=no'
10849 fi
10850
10851 else
10852
10853 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10854
10855 fi
10856
10857
10858 eval "$wx_cv_use_display"
10859
10860 if test x"$enablestring" = xdisable; then
10861 if test $wxUSE_DISPLAY = no; then
10862 result=yes
10863 else
10864 result=no
10865 fi
10866 else
10867 result=$wxUSE_DISPLAY
10868 fi
10869
10870 { echo "$as_me:$LINENO: result: $result" >&5
10871 echo "${ECHO_T}$result" >&6; }
10872
10873
10874 enablestring=
10875 defaultval=$wxUSE_ALL_FEATURES
10876 if test -z "$defaultval"; then
10877 if test x"$enablestring" = xdisable; then
10878 defaultval=yes
10879 else
10880 defaultval=no
10881 fi
10882 fi
10883
10884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10885 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10886 # Check whether --enable-editablebox was given.
10887 if test "${enable_editablebox+set}" = set; then
10888 enableval=$enable_editablebox;
10889 if test "$enableval" = yes; then
10890 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10891 else
10892 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10893 fi
10894
10895 else
10896
10897 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10898
10899 fi
10900
10901
10902 eval "$wx_cv_use_editablebox"
10903
10904 if test x"$enablestring" = xdisable; then
10905 if test $wxUSE_EDITABLELISTBOX = no; then
10906 result=yes
10907 else
10908 result=no
10909 fi
10910 else
10911 result=$wxUSE_EDITABLELISTBOX
10912 fi
10913
10914 { echo "$as_me:$LINENO: result: $result" >&5
10915 echo "${ECHO_T}$result" >&6; }
10916
10917
10918 enablestring=
10919 defaultval=$wxUSE_ALL_FEATURES
10920 if test -z "$defaultval"; then
10921 if test x"$enablestring" = xdisable; then
10922 defaultval=yes
10923 else
10924 defaultval=no
10925 fi
10926 fi
10927
10928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10929 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10930 # Check whether --enable-filectrl was given.
10931 if test "${enable_filectrl+set}" = set; then
10932 enableval=$enable_filectrl;
10933 if test "$enableval" = yes; then
10934 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10935 else
10936 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10937 fi
10938
10939 else
10940
10941 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10942
10943 fi
10944
10945
10946 eval "$wx_cv_use_filectrl"
10947
10948 if test x"$enablestring" = xdisable; then
10949 if test $wxUSE_FILECTRL = no; then
10950 result=yes
10951 else
10952 result=no
10953 fi
10954 else
10955 result=$wxUSE_FILECTRL
10956 fi
10957
10958 { echo "$as_me:$LINENO: result: $result" >&5
10959 echo "${ECHO_T}$result" >&6; }
10960
10961
10962 enablestring=
10963 defaultval=$wxUSE_ALL_FEATURES
10964 if test -z "$defaultval"; then
10965 if test x"$enablestring" = xdisable; then
10966 defaultval=yes
10967 else
10968 defaultval=no
10969 fi
10970 fi
10971
10972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10973 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10974 # Check whether --enable-filepicker was given.
10975 if test "${enable_filepicker+set}" = set; then
10976 enableval=$enable_filepicker;
10977 if test "$enableval" = yes; then
10978 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10979 else
10980 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10981 fi
10982
10983 else
10984
10985 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10986
10987 fi
10988
10989
10990 eval "$wx_cv_use_filepicker"
10991
10992 if test x"$enablestring" = xdisable; then
10993 if test $wxUSE_FILEPICKERCTRL = no; then
10994 result=yes
10995 else
10996 result=no
10997 fi
10998 else
10999 result=$wxUSE_FILEPICKERCTRL
11000 fi
11001
11002 { echo "$as_me:$LINENO: result: $result" >&5
11003 echo "${ECHO_T}$result" >&6; }
11004
11005
11006 enablestring=
11007 defaultval=$wxUSE_ALL_FEATURES
11008 if test -z "$defaultval"; then
11009 if test x"$enablestring" = xdisable; then
11010 defaultval=yes
11011 else
11012 defaultval=no
11013 fi
11014 fi
11015
11016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11017 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11018 # Check whether --enable-fontpicker was given.
11019 if test "${enable_fontpicker+set}" = set; then
11020 enableval=$enable_fontpicker;
11021 if test "$enableval" = yes; then
11022 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11023 else
11024 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11025 fi
11026
11027 else
11028
11029 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11030
11031 fi
11032
11033
11034 eval "$wx_cv_use_fontpicker"
11035
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_FONTPICKERCTRL = no; then
11038 result=yes
11039 else
11040 result=no
11041 fi
11042 else
11043 result=$wxUSE_FONTPICKERCTRL
11044 fi
11045
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11048
11049
11050 enablestring=
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11054 defaultval=yes
11055 else
11056 defaultval=no
11057 fi
11058 fi
11059
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11062 # Check whether --enable-gauge was given.
11063 if test "${enable_gauge+set}" = set; then
11064 enableval=$enable_gauge;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11067 else
11068 wx_cv_use_gauge='wxUSE_GAUGE=no'
11069 fi
11070
11071 else
11072
11073 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11074
11075 fi
11076
11077
11078 eval "$wx_cv_use_gauge"
11079
11080 if test x"$enablestring" = xdisable; then
11081 if test $wxUSE_GAUGE = no; then
11082 result=yes
11083 else
11084 result=no
11085 fi
11086 else
11087 result=$wxUSE_GAUGE
11088 fi
11089
11090 { echo "$as_me:$LINENO: result: $result" >&5
11091 echo "${ECHO_T}$result" >&6; }
11092
11093
11094 enablestring=
11095 defaultval=$wxUSE_ALL_FEATURES
11096 if test -z "$defaultval"; then
11097 if test x"$enablestring" = xdisable; then
11098 defaultval=yes
11099 else
11100 defaultval=no
11101 fi
11102 fi
11103
11104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11105 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11106 # Check whether --enable-grid was given.
11107 if test "${enable_grid+set}" = set; then
11108 enableval=$enable_grid;
11109 if test "$enableval" = yes; then
11110 wx_cv_use_grid='wxUSE_GRID=yes'
11111 else
11112 wx_cv_use_grid='wxUSE_GRID=no'
11113 fi
11114
11115 else
11116
11117 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11118
11119 fi
11120
11121
11122 eval "$wx_cv_use_grid"
11123
11124 if test x"$enablestring" = xdisable; then
11125 if test $wxUSE_GRID = no; then
11126 result=yes
11127 else
11128 result=no
11129 fi
11130 else
11131 result=$wxUSE_GRID
11132 fi
11133
11134 { echo "$as_me:$LINENO: result: $result" >&5
11135 echo "${ECHO_T}$result" >&6; }
11136
11137
11138 enablestring=
11139 defaultval=$wxUSE_ALL_FEATURES
11140 if test -z "$defaultval"; then
11141 if test x"$enablestring" = xdisable; then
11142 defaultval=yes
11143 else
11144 defaultval=no
11145 fi
11146 fi
11147
11148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11149 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11150 # Check whether --enable-headerctrl was given.
11151 if test "${enable_headerctrl+set}" = set; then
11152 enableval=$enable_headerctrl;
11153 if test "$enableval" = yes; then
11154 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11155 else
11156 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11157 fi
11158
11159 else
11160
11161 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11162
11163 fi
11164
11165
11166 eval "$wx_cv_use_headerctrl"
11167
11168 if test x"$enablestring" = xdisable; then
11169 if test $wxUSE_HEADERCTRL = no; then
11170 result=yes
11171 else
11172 result=no
11173 fi
11174 else
11175 result=$wxUSE_HEADERCTRL
11176 fi
11177
11178 { echo "$as_me:$LINENO: result: $result" >&5
11179 echo "${ECHO_T}$result" >&6; }
11180
11181
11182 enablestring=
11183 defaultval=$wxUSE_ALL_FEATURES
11184 if test -z "$defaultval"; then
11185 if test x"$enablestring" = xdisable; then
11186 defaultval=yes
11187 else
11188 defaultval=no
11189 fi
11190 fi
11191
11192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11193 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11194 # Check whether --enable-hyperlink was given.
11195 if test "${enable_hyperlink+set}" = set; then
11196 enableval=$enable_hyperlink;
11197 if test "$enableval" = yes; then
11198 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11199 else
11200 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11201 fi
11202
11203 else
11204
11205 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11206
11207 fi
11208
11209
11210 eval "$wx_cv_use_hyperlink"
11211
11212 if test x"$enablestring" = xdisable; then
11213 if test $wxUSE_HYPERLINKCTRL = no; then
11214 result=yes
11215 else
11216 result=no
11217 fi
11218 else
11219 result=$wxUSE_HYPERLINKCTRL
11220 fi
11221
11222 { echo "$as_me:$LINENO: result: $result" >&5
11223 echo "${ECHO_T}$result" >&6; }
11224
11225
11226 enablestring=
11227 defaultval=$wxUSE_ALL_FEATURES
11228 if test -z "$defaultval"; then
11229 if test x"$enablestring" = xdisable; then
11230 defaultval=yes
11231 else
11232 defaultval=no
11233 fi
11234 fi
11235
11236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11237 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11238 # Check whether --enable-imaglist was given.
11239 if test "${enable_imaglist+set}" = set; then
11240 enableval=$enable_imaglist;
11241 if test "$enableval" = yes; then
11242 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11243 else
11244 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11245 fi
11246
11247 else
11248
11249 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11250
11251 fi
11252
11253
11254 eval "$wx_cv_use_imaglist"
11255
11256 if test x"$enablestring" = xdisable; then
11257 if test $wxUSE_IMAGLIST = no; then
11258 result=yes
11259 else
11260 result=no
11261 fi
11262 else
11263 result=$wxUSE_IMAGLIST
11264 fi
11265
11266 { echo "$as_me:$LINENO: result: $result" >&5
11267 echo "${ECHO_T}$result" >&6; }
11268
11269
11270 enablestring=
11271 defaultval=$wxUSE_ALL_FEATURES
11272 if test -z "$defaultval"; then
11273 if test x"$enablestring" = xdisable; then
11274 defaultval=yes
11275 else
11276 defaultval=no
11277 fi
11278 fi
11279
11280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11281 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11282 # Check whether --enable-infobar was given.
11283 if test "${enable_infobar+set}" = set; then
11284 enableval=$enable_infobar;
11285 if test "$enableval" = yes; then
11286 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11287 else
11288 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11289 fi
11290
11291 else
11292
11293 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11294
11295 fi
11296
11297
11298 eval "$wx_cv_use_infobar"
11299
11300 if test x"$enablestring" = xdisable; then
11301 if test $wxUSE_INFOBAR = no; then
11302 result=yes
11303 else
11304 result=no
11305 fi
11306 else
11307 result=$wxUSE_INFOBAR
11308 fi
11309
11310 { echo "$as_me:$LINENO: result: $result" >&5
11311 echo "${ECHO_T}$result" >&6; }
11312
11313
11314 enablestring=
11315 defaultval=$wxUSE_ALL_FEATURES
11316 if test -z "$defaultval"; then
11317 if test x"$enablestring" = xdisable; then
11318 defaultval=yes
11319 else
11320 defaultval=no
11321 fi
11322 fi
11323
11324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11326 # Check whether --enable-listbook was given.
11327 if test "${enable_listbook+set}" = set; then
11328 enableval=$enable_listbook;
11329 if test "$enableval" = yes; then
11330 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11331 else
11332 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11333 fi
11334
11335 else
11336
11337 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11338
11339 fi
11340
11341
11342 eval "$wx_cv_use_listbook"
11343
11344 if test x"$enablestring" = xdisable; then
11345 if test $wxUSE_LISTBOOK = no; then
11346 result=yes
11347 else
11348 result=no
11349 fi
11350 else
11351 result=$wxUSE_LISTBOOK
11352 fi
11353
11354 { echo "$as_me:$LINENO: result: $result" >&5
11355 echo "${ECHO_T}$result" >&6; }
11356
11357
11358 enablestring=
11359 defaultval=$wxUSE_ALL_FEATURES
11360 if test -z "$defaultval"; then
11361 if test x"$enablestring" = xdisable; then
11362 defaultval=yes
11363 else
11364 defaultval=no
11365 fi
11366 fi
11367
11368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11369 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11370 # Check whether --enable-listbox was given.
11371 if test "${enable_listbox+set}" = set; then
11372 enableval=$enable_listbox;
11373 if test "$enableval" = yes; then
11374 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11375 else
11376 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11377 fi
11378
11379 else
11380
11381 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11382
11383 fi
11384
11385
11386 eval "$wx_cv_use_listbox"
11387
11388 if test x"$enablestring" = xdisable; then
11389 if test $wxUSE_LISTBOX = no; then
11390 result=yes
11391 else
11392 result=no
11393 fi
11394 else
11395 result=$wxUSE_LISTBOX
11396 fi
11397
11398 { echo "$as_me:$LINENO: result: $result" >&5
11399 echo "${ECHO_T}$result" >&6; }
11400
11401
11402 enablestring=
11403 defaultval=$wxUSE_ALL_FEATURES
11404 if test -z "$defaultval"; then
11405 if test x"$enablestring" = xdisable; then
11406 defaultval=yes
11407 else
11408 defaultval=no
11409 fi
11410 fi
11411
11412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11413 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11414 # Check whether --enable-listctrl was given.
11415 if test "${enable_listctrl+set}" = set; then
11416 enableval=$enable_listctrl;
11417 if test "$enableval" = yes; then
11418 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11419 else
11420 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11421 fi
11422
11423 else
11424
11425 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11426
11427 fi
11428
11429
11430 eval "$wx_cv_use_listctrl"
11431
11432 if test x"$enablestring" = xdisable; then
11433 if test $wxUSE_LISTCTRL = no; then
11434 result=yes
11435 else
11436 result=no
11437 fi
11438 else
11439 result=$wxUSE_LISTCTRL
11440 fi
11441
11442 { echo "$as_me:$LINENO: result: $result" >&5
11443 echo "${ECHO_T}$result" >&6; }
11444
11445
11446 enablestring=
11447 defaultval=$wxUSE_ALL_FEATURES
11448 if test -z "$defaultval"; then
11449 if test x"$enablestring" = xdisable; then
11450 defaultval=yes
11451 else
11452 defaultval=no
11453 fi
11454 fi
11455
11456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11457 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11458 # Check whether --enable-notebook was given.
11459 if test "${enable_notebook+set}" = set; then
11460 enableval=$enable_notebook;
11461 if test "$enableval" = yes; then
11462 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11463 else
11464 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11465 fi
11466
11467 else
11468
11469 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11470
11471 fi
11472
11473
11474 eval "$wx_cv_use_notebook"
11475
11476 if test x"$enablestring" = xdisable; then
11477 if test $wxUSE_NOTEBOOK = no; then
11478 result=yes
11479 else
11480 result=no
11481 fi
11482 else
11483 result=$wxUSE_NOTEBOOK
11484 fi
11485
11486 { echo "$as_me:$LINENO: result: $result" >&5
11487 echo "${ECHO_T}$result" >&6; }
11488
11489
11490 enablestring=
11491 defaultval=$wxUSE_ALL_FEATURES
11492 if test -z "$defaultval"; then
11493 if test x"$enablestring" = xdisable; then
11494 defaultval=yes
11495 else
11496 defaultval=no
11497 fi
11498 fi
11499
11500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11501 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11502 # Check whether --enable-notifmsg was given.
11503 if test "${enable_notifmsg+set}" = set; then
11504 enableval=$enable_notifmsg;
11505 if test "$enableval" = yes; then
11506 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11507 else
11508 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11509 fi
11510
11511 else
11512
11513 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11514
11515 fi
11516
11517
11518 eval "$wx_cv_use_notifmsg"
11519
11520 if test x"$enablestring" = xdisable; then
11521 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11522 result=yes
11523 else
11524 result=no
11525 fi
11526 else
11527 result=$wxUSE_NOTIFICATION_MESSAGE
11528 fi
11529
11530 { echo "$as_me:$LINENO: result: $result" >&5
11531 echo "${ECHO_T}$result" >&6; }
11532
11533
11534 enablestring=
11535 defaultval=$wxUSE_ALL_FEATURES
11536 if test -z "$defaultval"; then
11537 if test x"$enablestring" = xdisable; then
11538 defaultval=yes
11539 else
11540 defaultval=no
11541 fi
11542 fi
11543
11544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11545 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11546 # Check whether --enable-odcombobox was given.
11547 if test "${enable_odcombobox+set}" = set; then
11548 enableval=$enable_odcombobox;
11549 if test "$enableval" = yes; then
11550 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11551 else
11552 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11553 fi
11554
11555 else
11556
11557 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11558
11559 fi
11560
11561
11562 eval "$wx_cv_use_odcombobox"
11563
11564 if test x"$enablestring" = xdisable; then
11565 if test $wxUSE_ODCOMBOBOX = no; then
11566 result=yes
11567 else
11568 result=no
11569 fi
11570 else
11571 result=$wxUSE_ODCOMBOBOX
11572 fi
11573
11574 { echo "$as_me:$LINENO: result: $result" >&5
11575 echo "${ECHO_T}$result" >&6; }
11576
11577
11578 enablestring=
11579 defaultval=$wxUSE_ALL_FEATURES
11580 if test -z "$defaultval"; then
11581 if test x"$enablestring" = xdisable; then
11582 defaultval=yes
11583 else
11584 defaultval=no
11585 fi
11586 fi
11587
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11590 # Check whether --enable-popupwin was given.
11591 if test "${enable_popupwin+set}" = set; then
11592 enableval=$enable_popupwin;
11593 if test "$enableval" = yes; then
11594 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11595 else
11596 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11597 fi
11598
11599 else
11600
11601 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11602
11603 fi
11604
11605
11606 eval "$wx_cv_use_popupwin"
11607
11608 if test x"$enablestring" = xdisable; then
11609 if test $wxUSE_POPUPWIN = no; then
11610 result=yes
11611 else
11612 result=no
11613 fi
11614 else
11615 result=$wxUSE_POPUPWIN
11616 fi
11617
11618 { echo "$as_me:$LINENO: result: $result" >&5
11619 echo "${ECHO_T}$result" >&6; }
11620
11621
11622 enablestring=
11623 defaultval=$wxUSE_ALL_FEATURES
11624 if test -z "$defaultval"; then
11625 if test x"$enablestring" = xdisable; then
11626 defaultval=yes
11627 else
11628 defaultval=no
11629 fi
11630 fi
11631
11632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11633 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11634 # Check whether --enable-radiobox was given.
11635 if test "${enable_radiobox+set}" = set; then
11636 enableval=$enable_radiobox;
11637 if test "$enableval" = yes; then
11638 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11639 else
11640 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11641 fi
11642
11643 else
11644
11645 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11646
11647 fi
11648
11649
11650 eval "$wx_cv_use_radiobox"
11651
11652 if test x"$enablestring" = xdisable; then
11653 if test $wxUSE_RADIOBOX = no; then
11654 result=yes
11655 else
11656 result=no
11657 fi
11658 else
11659 result=$wxUSE_RADIOBOX
11660 fi
11661
11662 { echo "$as_me:$LINENO: result: $result" >&5
11663 echo "${ECHO_T}$result" >&6; }
11664
11665
11666 enablestring=
11667 defaultval=$wxUSE_ALL_FEATURES
11668 if test -z "$defaultval"; then
11669 if test x"$enablestring" = xdisable; then
11670 defaultval=yes
11671 else
11672 defaultval=no
11673 fi
11674 fi
11675
11676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11677 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11678 # Check whether --enable-radiobtn was given.
11679 if test "${enable_radiobtn+set}" = set; then
11680 enableval=$enable_radiobtn;
11681 if test "$enableval" = yes; then
11682 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11683 else
11684 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11685 fi
11686
11687 else
11688
11689 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11690
11691 fi
11692
11693
11694 eval "$wx_cv_use_radiobtn"
11695
11696 if test x"$enablestring" = xdisable; then
11697 if test $wxUSE_RADIOBTN = no; then
11698 result=yes
11699 else
11700 result=no
11701 fi
11702 else
11703 result=$wxUSE_RADIOBTN
11704 fi
11705
11706 { echo "$as_me:$LINENO: result: $result" >&5
11707 echo "${ECHO_T}$result" >&6; }
11708
11709
11710 enablestring=
11711 defaultval=$wxUSE_ALL_FEATURES
11712 if test -z "$defaultval"; then
11713 if test x"$enablestring" = xdisable; then
11714 defaultval=yes
11715 else
11716 defaultval=no
11717 fi
11718 fi
11719
11720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11721 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11722 # Check whether --enable-richmsgdlg was given.
11723 if test "${enable_richmsgdlg+set}" = set; then
11724 enableval=$enable_richmsgdlg;
11725 if test "$enableval" = yes; then
11726 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11727 else
11728 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11729 fi
11730
11731 else
11732
11733 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11734
11735 fi
11736
11737
11738 eval "$wx_cv_use_richmsgdlg"
11739
11740 if test x"$enablestring" = xdisable; then
11741 if test $wxUSE_RICHMSGDLG = no; then
11742 result=yes
11743 else
11744 result=no
11745 fi
11746 else
11747 result=$wxUSE_RICHMSGDLG
11748 fi
11749
11750 { echo "$as_me:$LINENO: result: $result" >&5
11751 echo "${ECHO_T}$result" >&6; }
11752
11753
11754 enablestring=
11755 defaultval=$wxUSE_ALL_FEATURES
11756 if test -z "$defaultval"; then
11757 if test x"$enablestring" = xdisable; then
11758 defaultval=yes
11759 else
11760 defaultval=no
11761 fi
11762 fi
11763
11764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11765 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11766 # Check whether --enable-rearrangectrl was given.
11767 if test "${enable_rearrangectrl+set}" = set; then
11768 enableval=$enable_rearrangectrl;
11769 if test "$enableval" = yes; then
11770 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11771 else
11772 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11773 fi
11774
11775 else
11776
11777 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11778
11779 fi
11780
11781
11782 eval "$wx_cv_use_rearrangectrl"
11783
11784 if test x"$enablestring" = xdisable; then
11785 if test $wxUSE_REARRANGECTRL = no; then
11786 result=yes
11787 else
11788 result=no
11789 fi
11790 else
11791 result=$wxUSE_REARRANGECTRL
11792 fi
11793
11794 { echo "$as_me:$LINENO: result: $result" >&5
11795 echo "${ECHO_T}$result" >&6; }
11796
11797
11798 enablestring=
11799 defaultval=$wxUSE_ALL_FEATURES
11800 if test -z "$defaultval"; then
11801 if test x"$enablestring" = xdisable; then
11802 defaultval=yes
11803 else
11804 defaultval=no
11805 fi
11806 fi
11807
11808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11809 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11810 # Check whether --enable-sash was given.
11811 if test "${enable_sash+set}" = set; then
11812 enableval=$enable_sash;
11813 if test "$enableval" = yes; then
11814 wx_cv_use_sash='wxUSE_SASH=yes'
11815 else
11816 wx_cv_use_sash='wxUSE_SASH=no'
11817 fi
11818
11819 else
11820
11821 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11822
11823 fi
11824
11825
11826 eval "$wx_cv_use_sash"
11827
11828 if test x"$enablestring" = xdisable; then
11829 if test $wxUSE_SASH = no; then
11830 result=yes
11831 else
11832 result=no
11833 fi
11834 else
11835 result=$wxUSE_SASH
11836 fi
11837
11838 { echo "$as_me:$LINENO: result: $result" >&5
11839 echo "${ECHO_T}$result" >&6; }
11840
11841
11842 enablestring=
11843 defaultval=$wxUSE_ALL_FEATURES
11844 if test -z "$defaultval"; then
11845 if test x"$enablestring" = xdisable; then
11846 defaultval=yes
11847 else
11848 defaultval=no
11849 fi
11850 fi
11851
11852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11853 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11854 # Check whether --enable-scrollbar was given.
11855 if test "${enable_scrollbar+set}" = set; then
11856 enableval=$enable_scrollbar;
11857 if test "$enableval" = yes; then
11858 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11859 else
11860 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11861 fi
11862
11863 else
11864
11865 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11866
11867 fi
11868
11869
11870 eval "$wx_cv_use_scrollbar"
11871
11872 if test x"$enablestring" = xdisable; then
11873 if test $wxUSE_SCROLLBAR = no; then
11874 result=yes
11875 else
11876 result=no
11877 fi
11878 else
11879 result=$wxUSE_SCROLLBAR
11880 fi
11881
11882 { echo "$as_me:$LINENO: result: $result" >&5
11883 echo "${ECHO_T}$result" >&6; }
11884
11885
11886 enablestring=
11887 defaultval=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x"$enablestring" = xdisable; then
11890 defaultval=yes
11891 else
11892 defaultval=no
11893 fi
11894 fi
11895
11896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11898 # Check whether --enable-searchctrl was given.
11899 if test "${enable_searchctrl+set}" = set; then
11900 enableval=$enable_searchctrl;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11903 else
11904 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11905 fi
11906
11907 else
11908
11909 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11910
11911 fi
11912
11913
11914 eval "$wx_cv_use_searchctrl"
11915
11916 if test x"$enablestring" = xdisable; then
11917 if test $wxUSE_SEARCHCTRL = no; then
11918 result=yes
11919 else
11920 result=no
11921 fi
11922 else
11923 result=$wxUSE_SEARCHCTRL
11924 fi
11925
11926 { echo "$as_me:$LINENO: result: $result" >&5
11927 echo "${ECHO_T}$result" >&6; }
11928
11929
11930 enablestring=
11931 defaultval=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x"$enablestring" = xdisable; then
11934 defaultval=yes
11935 else
11936 defaultval=no
11937 fi
11938 fi
11939
11940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11941 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11942 # Check whether --enable-slider was given.
11943 if test "${enable_slider+set}" = set; then
11944 enableval=$enable_slider;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_slider='wxUSE_SLIDER=yes'
11947 else
11948 wx_cv_use_slider='wxUSE_SLIDER=no'
11949 fi
11950
11951 else
11952
11953 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11954
11955 fi
11956
11957
11958 eval "$wx_cv_use_slider"
11959
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_SLIDER = no; then
11962 result=yes
11963 else
11964 result=no
11965 fi
11966 else
11967 result=$wxUSE_SLIDER
11968 fi
11969
11970 { echo "$as_me:$LINENO: result: $result" >&5
11971 echo "${ECHO_T}$result" >&6; }
11972
11973
11974 enablestring=
11975 defaultval=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x"$enablestring" = xdisable; then
11978 defaultval=yes
11979 else
11980 defaultval=no
11981 fi
11982 fi
11983
11984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11985 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11986 # Check whether --enable-spinbtn was given.
11987 if test "${enable_spinbtn+set}" = set; then
11988 enableval=$enable_spinbtn;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11991 else
11992 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11993 fi
11994
11995 else
11996
11997 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11998
11999 fi
12000
12001
12002 eval "$wx_cv_use_spinbtn"
12003
12004 if test x"$enablestring" = xdisable; then
12005 if test $wxUSE_SPINBTN = no; then
12006 result=yes
12007 else
12008 result=no
12009 fi
12010 else
12011 result=$wxUSE_SPINBTN
12012 fi
12013
12014 { echo "$as_me:$LINENO: result: $result" >&5
12015 echo "${ECHO_T}$result" >&6; }
12016
12017
12018 enablestring=
12019 defaultval=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x"$enablestring" = xdisable; then
12022 defaultval=yes
12023 else
12024 defaultval=no
12025 fi
12026 fi
12027
12028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12029 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12030 # Check whether --enable-spinctrl was given.
12031 if test "${enable_spinctrl+set}" = set; then
12032 enableval=$enable_spinctrl;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12035 else
12036 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12037 fi
12038
12039 else
12040
12041 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12042
12043 fi
12044
12045
12046 eval "$wx_cv_use_spinctrl"
12047
12048 if test x"$enablestring" = xdisable; then
12049 if test $wxUSE_SPINCTRL = no; then
12050 result=yes
12051 else
12052 result=no
12053 fi
12054 else
12055 result=$wxUSE_SPINCTRL
12056 fi
12057
12058 { echo "$as_me:$LINENO: result: $result" >&5
12059 echo "${ECHO_T}$result" >&6; }
12060
12061
12062 enablestring=
12063 defaultval=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x"$enablestring" = xdisable; then
12066 defaultval=yes
12067 else
12068 defaultval=no
12069 fi
12070 fi
12071
12072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12073 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12074 # Check whether --enable-splitter was given.
12075 if test "${enable_splitter+set}" = set; then
12076 enableval=$enable_splitter;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12079 else
12080 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12081 fi
12082
12083 else
12084
12085 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12086
12087 fi
12088
12089
12090 eval "$wx_cv_use_splitter"
12091
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_SPLITTER = no; then
12094 result=yes
12095 else
12096 result=no
12097 fi
12098 else
12099 result=$wxUSE_SPLITTER
12100 fi
12101
12102 { echo "$as_me:$LINENO: result: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12104
12105
12106 enablestring=
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12110 defaultval=yes
12111 else
12112 defaultval=no
12113 fi
12114 fi
12115
12116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12118 # Check whether --enable-statbmp was given.
12119 if test "${enable_statbmp+set}" = set; then
12120 enableval=$enable_statbmp;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12123 else
12124 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12125 fi
12126
12127 else
12128
12129 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12130
12131 fi
12132
12133
12134 eval "$wx_cv_use_statbmp"
12135
12136 if test x"$enablestring" = xdisable; then
12137 if test $wxUSE_STATBMP = no; then
12138 result=yes
12139 else
12140 result=no
12141 fi
12142 else
12143 result=$wxUSE_STATBMP
12144 fi
12145
12146 { echo "$as_me:$LINENO: result: $result" >&5
12147 echo "${ECHO_T}$result" >&6; }
12148
12149
12150 enablestring=
12151 defaultval=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x"$enablestring" = xdisable; then
12154 defaultval=yes
12155 else
12156 defaultval=no
12157 fi
12158 fi
12159
12160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12161 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12162 # Check whether --enable-statbox was given.
12163 if test "${enable_statbox+set}" = set; then
12164 enableval=$enable_statbox;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12167 else
12168 wx_cv_use_statbox='wxUSE_STATBOX=no'
12169 fi
12170
12171 else
12172
12173 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12174
12175 fi
12176
12177
12178 eval "$wx_cv_use_statbox"
12179
12180 if test x"$enablestring" = xdisable; then
12181 if test $wxUSE_STATBOX = no; then
12182 result=yes
12183 else
12184 result=no
12185 fi
12186 else
12187 result=$wxUSE_STATBOX
12188 fi
12189
12190 { echo "$as_me:$LINENO: result: $result" >&5
12191 echo "${ECHO_T}$result" >&6; }
12192
12193
12194 enablestring=
12195 defaultval=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x"$enablestring" = xdisable; then
12198 defaultval=yes
12199 else
12200 defaultval=no
12201 fi
12202 fi
12203
12204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12206 # Check whether --enable-statline was given.
12207 if test "${enable_statline+set}" = set; then
12208 enableval=$enable_statline;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_statline='wxUSE_STATLINE=yes'
12211 else
12212 wx_cv_use_statline='wxUSE_STATLINE=no'
12213 fi
12214
12215 else
12216
12217 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12218
12219 fi
12220
12221
12222 eval "$wx_cv_use_statline"
12223
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_STATLINE = no; then
12226 result=yes
12227 else
12228 result=no
12229 fi
12230 else
12231 result=$wxUSE_STATLINE
12232 fi
12233
12234 { echo "$as_me:$LINENO: result: $result" >&5
12235 echo "${ECHO_T}$result" >&6; }
12236
12237
12238 enablestring=
12239 defaultval=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x"$enablestring" = xdisable; then
12242 defaultval=yes
12243 else
12244 defaultval=no
12245 fi
12246 fi
12247
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12250 # Check whether --enable-stattext was given.
12251 if test "${enable_stattext+set}" = set; then
12252 enableval=$enable_stattext;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12255 else
12256 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12257 fi
12258
12259 else
12260
12261 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12262
12263 fi
12264
12265
12266 eval "$wx_cv_use_stattext"
12267
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_STATTEXT = no; then
12270 result=yes
12271 else
12272 result=no
12273 fi
12274 else
12275 result=$wxUSE_STATTEXT
12276 fi
12277
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12280
12281
12282 enablestring=
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12286 defaultval=yes
12287 else
12288 defaultval=no
12289 fi
12290 fi
12291
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12294 # Check whether --enable-statusbar was given.
12295 if test "${enable_statusbar+set}" = set; then
12296 enableval=$enable_statusbar;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12299 else
12300 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12301 fi
12302
12303 else
12304
12305 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12306
12307 fi
12308
12309
12310 eval "$wx_cv_use_statusbar"
12311
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_STATUSBAR = no; then
12314 result=yes
12315 else
12316 result=no
12317 fi
12318 else
12319 result=$wxUSE_STATUSBAR
12320 fi
12321
12322 { echo "$as_me:$LINENO: result: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12324
12325
12326 enablestring=
12327 defaultval=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x"$enablestring" = xdisable; then
12330 defaultval=yes
12331 else
12332 defaultval=no
12333 fi
12334 fi
12335
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12338 # Check whether --enable-taskbaricon was given.
12339 if test "${enable_taskbaricon+set}" = set; then
12340 enableval=$enable_taskbaricon;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12343 else
12344 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12345 fi
12346
12347 else
12348
12349 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12350
12351 fi
12352
12353
12354 eval "$wx_cv_use_taskbaricon"
12355
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_TASKBARICON = no; then
12358 result=yes
12359 else
12360 result=no
12361 fi
12362 else
12363 result=$wxUSE_TASKBARICON
12364 fi
12365
12366 { echo "$as_me:$LINENO: result: $result" >&5
12367 echo "${ECHO_T}$result" >&6; }
12368
12369
12370 enablestring=
12371 defaultval=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x"$enablestring" = xdisable; then
12374 defaultval=yes
12375 else
12376 defaultval=no
12377 fi
12378 fi
12379
12380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12381 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12382 # Check whether --enable-tbarnative was given.
12383 if test "${enable_tbarnative+set}" = set; then
12384 enableval=$enable_tbarnative;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12387 else
12388 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12389 fi
12390
12391 else
12392
12393 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12394
12395 fi
12396
12397
12398 eval "$wx_cv_use_tbarnative"
12399
12400 if test x"$enablestring" = xdisable; then
12401 if test $wxUSE_TOOLBAR_NATIVE = no; then
12402 result=yes
12403 else
12404 result=no
12405 fi
12406 else
12407 result=$wxUSE_TOOLBAR_NATIVE
12408 fi
12409
12410 { echo "$as_me:$LINENO: result: $result" >&5
12411 echo "${ECHO_T}$result" >&6; }
12412
12413
12414 enablestring=
12415 defaultval=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x"$enablestring" = xdisable; then
12418 defaultval=yes
12419 else
12420 defaultval=no
12421 fi
12422 fi
12423
12424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12426 # Check whether --enable-textctrl was given.
12427 if test "${enable_textctrl+set}" = set; then
12428 enableval=$enable_textctrl;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12431 else
12432 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12433 fi
12434
12435 else
12436
12437 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12438
12439 fi
12440
12441
12442 eval "$wx_cv_use_textctrl"
12443
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_TEXTCTRL = no; then
12446 result=yes
12447 else
12448 result=no
12449 fi
12450 else
12451 result=$wxUSE_TEXTCTRL
12452 fi
12453
12454 { echo "$as_me:$LINENO: result: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12456
12457
12458 enablestring=
12459 defaultval=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x"$enablestring" = xdisable; then
12462 defaultval=yes
12463 else
12464 defaultval=no
12465 fi
12466 fi
12467
12468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12470 # Check whether --enable-tipwindow was given.
12471 if test "${enable_tipwindow+set}" = set; then
12472 enableval=$enable_tipwindow;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12475 else
12476 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12477 fi
12478
12479 else
12480
12481 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12482
12483 fi
12484
12485
12486 eval "$wx_cv_use_tipwindow"
12487
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_TIPWINDOW = no; then
12490 result=yes
12491 else
12492 result=no
12493 fi
12494 else
12495 result=$wxUSE_TIPWINDOW
12496 fi
12497
12498 { echo "$as_me:$LINENO: result: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12500
12501
12502 enablestring=
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12506 defaultval=yes
12507 else
12508 defaultval=no
12509 fi
12510 fi
12511
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12514 # Check whether --enable-togglebtn was given.
12515 if test "${enable_togglebtn+set}" = set; then
12516 enableval=$enable_togglebtn;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12519 else
12520 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12521 fi
12522
12523 else
12524
12525 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12526
12527 fi
12528
12529
12530 eval "$wx_cv_use_togglebtn"
12531
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_TOGGLEBTN = no; then
12534 result=yes
12535 else
12536 result=no
12537 fi
12538 else
12539 result=$wxUSE_TOGGLEBTN
12540 fi
12541
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12544
12545
12546 enablestring=
12547 defaultval=$wxUSE_ALL_FEATURES
12548 if test -z "$defaultval"; then
12549 if test x"$enablestring" = xdisable; then
12550 defaultval=yes
12551 else
12552 defaultval=no
12553 fi
12554 fi
12555
12556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12557 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12558 # Check whether --enable-toolbar was given.
12559 if test "${enable_toolbar+set}" = set; then
12560 enableval=$enable_toolbar;
12561 if test "$enableval" = yes; then
12562 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12563 else
12564 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12565 fi
12566
12567 else
12568
12569 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12570
12571 fi
12572
12573
12574 eval "$wx_cv_use_toolbar"
12575
12576 if test x"$enablestring" = xdisable; then
12577 if test $wxUSE_TOOLBAR = no; then
12578 result=yes
12579 else
12580 result=no
12581 fi
12582 else
12583 result=$wxUSE_TOOLBAR
12584 fi
12585
12586 { echo "$as_me:$LINENO: result: $result" >&5
12587 echo "${ECHO_T}$result" >&6; }
12588
12589
12590 enablestring=
12591 defaultval=$wxUSE_ALL_FEATURES
12592 if test -z "$defaultval"; then
12593 if test x"$enablestring" = xdisable; then
12594 defaultval=yes
12595 else
12596 defaultval=no
12597 fi
12598 fi
12599
12600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12601 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12602 # Check whether --enable-toolbook was given.
12603 if test "${enable_toolbook+set}" = set; then
12604 enableval=$enable_toolbook;
12605 if test "$enableval" = yes; then
12606 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12607 else
12608 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12609 fi
12610
12611 else
12612
12613 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12614
12615 fi
12616
12617
12618 eval "$wx_cv_use_toolbook"
12619
12620 if test x"$enablestring" = xdisable; then
12621 if test $wxUSE_TOOLBOOK = no; then
12622 result=yes
12623 else
12624 result=no
12625 fi
12626 else
12627 result=$wxUSE_TOOLBOOK
12628 fi
12629
12630 { echo "$as_me:$LINENO: result: $result" >&5
12631 echo "${ECHO_T}$result" >&6; }
12632
12633
12634 enablestring=
12635 defaultval=$wxUSE_ALL_FEATURES
12636 if test -z "$defaultval"; then
12637 if test x"$enablestring" = xdisable; then
12638 defaultval=yes
12639 else
12640 defaultval=no
12641 fi
12642 fi
12643
12644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12645 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12646 # Check whether --enable-treebook was given.
12647 if test "${enable_treebook+set}" = set; then
12648 enableval=$enable_treebook;
12649 if test "$enableval" = yes; then
12650 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12651 else
12652 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12653 fi
12654
12655 else
12656
12657 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12658
12659 fi
12660
12661
12662 eval "$wx_cv_use_treebook"
12663
12664 if test x"$enablestring" = xdisable; then
12665 if test $wxUSE_TREEBOOK = no; then
12666 result=yes
12667 else
12668 result=no
12669 fi
12670 else
12671 result=$wxUSE_TREEBOOK
12672 fi
12673
12674 { echo "$as_me:$LINENO: result: $result" >&5
12675 echo "${ECHO_T}$result" >&6; }
12676
12677
12678 enablestring=
12679 defaultval=$wxUSE_ALL_FEATURES
12680 if test -z "$defaultval"; then
12681 if test x"$enablestring" = xdisable; then
12682 defaultval=yes
12683 else
12684 defaultval=no
12685 fi
12686 fi
12687
12688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12689 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12690 # Check whether --enable-treectrl was given.
12691 if test "${enable_treectrl+set}" = set; then
12692 enableval=$enable_treectrl;
12693 if test "$enableval" = yes; then
12694 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12695 else
12696 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12697 fi
12698
12699 else
12700
12701 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12702
12703 fi
12704
12705
12706 eval "$wx_cv_use_treectrl"
12707
12708 if test x"$enablestring" = xdisable; then
12709 if test $wxUSE_TREECTRL = no; then
12710 result=yes
12711 else
12712 result=no
12713 fi
12714 else
12715 result=$wxUSE_TREECTRL
12716 fi
12717
12718 { echo "$as_me:$LINENO: result: $result" >&5
12719 echo "${ECHO_T}$result" >&6; }
12720
12721
12722
12723
12724 enablestring=
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12728 defaultval=yes
12729 else
12730 defaultval=no
12731 fi
12732 fi
12733
12734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12736 # Check whether --enable-commondlg was given.
12737 if test "${enable_commondlg+set}" = set; then
12738 enableval=$enable_commondlg;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12741 else
12742 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12743 fi
12744
12745 else
12746
12747 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12748
12749 fi
12750
12751
12752 eval "$wx_cv_use_commondlg"
12753
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_COMMONDLGS = no; then
12756 result=yes
12757 else
12758 result=no
12759 fi
12760 else
12761 result=$wxUSE_COMMONDLGS
12762 fi
12763
12764 { echo "$as_me:$LINENO: result: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12766
12767
12768 enablestring=
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12772 defaultval=yes
12773 else
12774 defaultval=no
12775 fi
12776 fi
12777
12778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12779 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12780 # Check whether --enable-aboutdlg was given.
12781 if test "${enable_aboutdlg+set}" = set; then
12782 enableval=$enable_aboutdlg;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12785 else
12786 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12787 fi
12788
12789 else
12790
12791 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12792
12793 fi
12794
12795
12796 eval "$wx_cv_use_aboutdlg"
12797
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_ABOUTDLG = no; then
12800 result=yes
12801 else
12802 result=no
12803 fi
12804 else
12805 result=$wxUSE_ABOUTDLG
12806 fi
12807
12808 { echo "$as_me:$LINENO: result: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12810
12811
12812 enablestring=
12813 defaultval=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x"$enablestring" = xdisable; then
12816 defaultval=yes
12817 else
12818 defaultval=no
12819 fi
12820 fi
12821
12822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12824 # Check whether --enable-choicedlg was given.
12825 if test "${enable_choicedlg+set}" = set; then
12826 enableval=$enable_choicedlg;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12829 else
12830 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12831 fi
12832
12833 else
12834
12835 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12836
12837 fi
12838
12839
12840 eval "$wx_cv_use_choicedlg"
12841
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_CHOICEDLG = no; then
12844 result=yes
12845 else
12846 result=no
12847 fi
12848 else
12849 result=$wxUSE_CHOICEDLG
12850 fi
12851
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12854
12855
12856 enablestring=
12857 defaultval=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x"$enablestring" = xdisable; then
12860 defaultval=yes
12861 else
12862 defaultval=no
12863 fi
12864 fi
12865
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12868 # Check whether --enable-coldlg was given.
12869 if test "${enable_coldlg+set}" = set; then
12870 enableval=$enable_coldlg;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12873 else
12874 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12875 fi
12876
12877 else
12878
12879 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12880
12881 fi
12882
12883
12884 eval "$wx_cv_use_coldlg"
12885
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_COLOURDLG = no; then
12888 result=yes
12889 else
12890 result=no
12891 fi
12892 else
12893 result=$wxUSE_COLOURDLG
12894 fi
12895
12896 { echo "$as_me:$LINENO: result: $result" >&5
12897 echo "${ECHO_T}$result" >&6; }
12898
12899
12900 enablestring=
12901 defaultval=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x"$enablestring" = xdisable; then
12904 defaultval=yes
12905 else
12906 defaultval=no
12907 fi
12908 fi
12909
12910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12911 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12912 # Check whether --enable-filedlg was given.
12913 if test "${enable_filedlg+set}" = set; then
12914 enableval=$enable_filedlg;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12917 else
12918 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12919 fi
12920
12921 else
12922
12923 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12924
12925 fi
12926
12927
12928 eval "$wx_cv_use_filedlg"
12929
12930 if test x"$enablestring" = xdisable; then
12931 if test $wxUSE_FILEDLG = no; then
12932 result=yes
12933 else
12934 result=no
12935 fi
12936 else
12937 result=$wxUSE_FILEDLG
12938 fi
12939
12940 { echo "$as_me:$LINENO: result: $result" >&5
12941 echo "${ECHO_T}$result" >&6; }
12942
12943
12944 enablestring=
12945 defaultval=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x"$enablestring" = xdisable; then
12948 defaultval=yes
12949 else
12950 defaultval=no
12951 fi
12952 fi
12953
12954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12955 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12956 # Check whether --enable-finddlg was given.
12957 if test "${enable_finddlg+set}" = set; then
12958 enableval=$enable_finddlg;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12961 else
12962 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12963 fi
12964
12965 else
12966
12967 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12968
12969 fi
12970
12971
12972 eval "$wx_cv_use_finddlg"
12973
12974 if test x"$enablestring" = xdisable; then
12975 if test $wxUSE_FINDREPLDLG = no; then
12976 result=yes
12977 else
12978 result=no
12979 fi
12980 else
12981 result=$wxUSE_FINDREPLDLG
12982 fi
12983
12984 { echo "$as_me:$LINENO: result: $result" >&5
12985 echo "${ECHO_T}$result" >&6; }
12986
12987
12988 enablestring=
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12992 defaultval=yes
12993 else
12994 defaultval=no
12995 fi
12996 fi
12997
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13000 # Check whether --enable-fontdlg was given.
13001 if test "${enable_fontdlg+set}" = set; then
13002 enableval=$enable_fontdlg;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13005 else
13006 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13007 fi
13008
13009 else
13010
13011 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13012
13013 fi
13014
13015
13016 eval "$wx_cv_use_fontdlg"
13017
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_FONTDLG = no; then
13020 result=yes
13021 else
13022 result=no
13023 fi
13024 else
13025 result=$wxUSE_FONTDLG
13026 fi
13027
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13030
13031
13032 enablestring=
13033 defaultval=$wxUSE_ALL_FEATURES
13034 if test -z "$defaultval"; then
13035 if test x"$enablestring" = xdisable; then
13036 defaultval=yes
13037 else
13038 defaultval=no
13039 fi
13040 fi
13041
13042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13043 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13044 # Check whether --enable-dirdlg was given.
13045 if test "${enable_dirdlg+set}" = set; then
13046 enableval=$enable_dirdlg;
13047 if test "$enableval" = yes; then
13048 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13049 else
13050 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13051 fi
13052
13053 else
13054
13055 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13056
13057 fi
13058
13059
13060 eval "$wx_cv_use_dirdlg"
13061
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_DIRDLG = no; then
13064 result=yes
13065 else
13066 result=no
13067 fi
13068 else
13069 result=$wxUSE_DIRDLG
13070 fi
13071
13072 { echo "$as_me:$LINENO: result: $result" >&5
13073 echo "${ECHO_T}$result" >&6; }
13074
13075
13076 enablestring=
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13080 defaultval=yes
13081 else
13082 defaultval=no
13083 fi
13084 fi
13085
13086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13087 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13088 # Check whether --enable-msgdlg was given.
13089 if test "${enable_msgdlg+set}" = set; then
13090 enableval=$enable_msgdlg;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13093 else
13094 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13095 fi
13096
13097 else
13098
13099 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13100
13101 fi
13102
13103
13104 eval "$wx_cv_use_msgdlg"
13105
13106 if test x"$enablestring" = xdisable; then
13107 if test $wxUSE_MSGDLG = no; then
13108 result=yes
13109 else
13110 result=no
13111 fi
13112 else
13113 result=$wxUSE_MSGDLG
13114 fi
13115
13116 { echo "$as_me:$LINENO: result: $result" >&5
13117 echo "${ECHO_T}$result" >&6; }
13118
13119
13120 enablestring=
13121 defaultval=$wxUSE_ALL_FEATURES
13122 if test -z "$defaultval"; then
13123 if test x"$enablestring" = xdisable; then
13124 defaultval=yes
13125 else
13126 defaultval=no
13127 fi
13128 fi
13129
13130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13131 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13132 # Check whether --enable-numberdlg was given.
13133 if test "${enable_numberdlg+set}" = set; then
13134 enableval=$enable_numberdlg;
13135 if test "$enableval" = yes; then
13136 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13137 else
13138 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13139 fi
13140
13141 else
13142
13143 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13144
13145 fi
13146
13147
13148 eval "$wx_cv_use_numberdlg"
13149
13150 if test x"$enablestring" = xdisable; then
13151 if test $wxUSE_NUMBERDLG = no; then
13152 result=yes
13153 else
13154 result=no
13155 fi
13156 else
13157 result=$wxUSE_NUMBERDLG
13158 fi
13159
13160 { echo "$as_me:$LINENO: result: $result" >&5
13161 echo "${ECHO_T}$result" >&6; }
13162
13163
13164 enablestring=
13165 defaultval=$wxUSE_ALL_FEATURES
13166 if test -z "$defaultval"; then
13167 if test x"$enablestring" = xdisable; then
13168 defaultval=yes
13169 else
13170 defaultval=no
13171 fi
13172 fi
13173
13174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13175 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13176 # Check whether --enable-splash was given.
13177 if test "${enable_splash+set}" = set; then
13178 enableval=$enable_splash;
13179 if test "$enableval" = yes; then
13180 wx_cv_use_splash='wxUSE_SPLASH=yes'
13181 else
13182 wx_cv_use_splash='wxUSE_SPLASH=no'
13183 fi
13184
13185 else
13186
13187 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13188
13189 fi
13190
13191
13192 eval "$wx_cv_use_splash"
13193
13194 if test x"$enablestring" = xdisable; then
13195 if test $wxUSE_SPLASH = no; then
13196 result=yes
13197 else
13198 result=no
13199 fi
13200 else
13201 result=$wxUSE_SPLASH
13202 fi
13203
13204 { echo "$as_me:$LINENO: result: $result" >&5
13205 echo "${ECHO_T}$result" >&6; }
13206
13207
13208 enablestring=
13209 defaultval=$wxUSE_ALL_FEATURES
13210 if test -z "$defaultval"; then
13211 if test x"$enablestring" = xdisable; then
13212 defaultval=yes
13213 else
13214 defaultval=no
13215 fi
13216 fi
13217
13218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13219 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13220 # Check whether --enable-textdlg was given.
13221 if test "${enable_textdlg+set}" = set; then
13222 enableval=$enable_textdlg;
13223 if test "$enableval" = yes; then
13224 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13225 else
13226 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13227 fi
13228
13229 else
13230
13231 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13232
13233 fi
13234
13235
13236 eval "$wx_cv_use_textdlg"
13237
13238 if test x"$enablestring" = xdisable; then
13239 if test $wxUSE_TEXTDLG = no; then
13240 result=yes
13241 else
13242 result=no
13243 fi
13244 else
13245 result=$wxUSE_TEXTDLG
13246 fi
13247
13248 { echo "$as_me:$LINENO: result: $result" >&5
13249 echo "${ECHO_T}$result" >&6; }
13250
13251
13252 enablestring=
13253 defaultval=$wxUSE_ALL_FEATURES
13254 if test -z "$defaultval"; then
13255 if test x"$enablestring" = xdisable; then
13256 defaultval=yes
13257 else
13258 defaultval=no
13259 fi
13260 fi
13261
13262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13263 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13264 # Check whether --enable-tipdlg was given.
13265 if test "${enable_tipdlg+set}" = set; then
13266 enableval=$enable_tipdlg;
13267 if test "$enableval" = yes; then
13268 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13269 else
13270 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13271 fi
13272
13273 else
13274
13275 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13276
13277 fi
13278
13279
13280 eval "$wx_cv_use_tipdlg"
13281
13282 if test x"$enablestring" = xdisable; then
13283 if test $wxUSE_STARTUP_TIPS = no; then
13284 result=yes
13285 else
13286 result=no
13287 fi
13288 else
13289 result=$wxUSE_STARTUP_TIPS
13290 fi
13291
13292 { echo "$as_me:$LINENO: result: $result" >&5
13293 echo "${ECHO_T}$result" >&6; }
13294
13295
13296 enablestring=
13297 defaultval=$wxUSE_ALL_FEATURES
13298 if test -z "$defaultval"; then
13299 if test x"$enablestring" = xdisable; then
13300 defaultval=yes
13301 else
13302 defaultval=no
13303 fi
13304 fi
13305
13306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13307 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13308 # Check whether --enable-progressdlg was given.
13309 if test "${enable_progressdlg+set}" = set; then
13310 enableval=$enable_progressdlg;
13311 if test "$enableval" = yes; then
13312 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13313 else
13314 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13315 fi
13316
13317 else
13318
13319 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13320
13321 fi
13322
13323
13324 eval "$wx_cv_use_progressdlg"
13325
13326 if test x"$enablestring" = xdisable; then
13327 if test $wxUSE_PROGRESSDLG = no; then
13328 result=yes
13329 else
13330 result=no
13331 fi
13332 else
13333 result=$wxUSE_PROGRESSDLG
13334 fi
13335
13336 { echo "$as_me:$LINENO: result: $result" >&5
13337 echo "${ECHO_T}$result" >&6; }
13338
13339
13340 enablestring=
13341 defaultval=$wxUSE_ALL_FEATURES
13342 if test -z "$defaultval"; then
13343 if test x"$enablestring" = xdisable; then
13344 defaultval=yes
13345 else
13346 defaultval=no
13347 fi
13348 fi
13349
13350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13351 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13352 # Check whether --enable-wizarddlg was given.
13353 if test "${enable_wizarddlg+set}" = set; then
13354 enableval=$enable_wizarddlg;
13355 if test "$enableval" = yes; then
13356 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13357 else
13358 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13359 fi
13360
13361 else
13362
13363 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13364
13365 fi
13366
13367
13368 eval "$wx_cv_use_wizarddlg"
13369
13370 if test x"$enablestring" = xdisable; then
13371 if test $wxUSE_WIZARDDLG = no; then
13372 result=yes
13373 else
13374 result=no
13375 fi
13376 else
13377 result=$wxUSE_WIZARDDLG
13378 fi
13379
13380 { echo "$as_me:$LINENO: result: $result" >&5
13381 echo "${ECHO_T}$result" >&6; }
13382
13383
13384
13385
13386 enablestring=
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13390 defaultval=yes
13391 else
13392 defaultval=no
13393 fi
13394 fi
13395
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13398 # Check whether --enable-menus was given.
13399 if test "${enable_menus+set}" = set; then
13400 enableval=$enable_menus;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_menus='wxUSE_MENUS=yes'
13403 else
13404 wx_cv_use_menus='wxUSE_MENUS=no'
13405 fi
13406
13407 else
13408
13409 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13410
13411 fi
13412
13413
13414 eval "$wx_cv_use_menus"
13415
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_MENUS = no; then
13418 result=yes
13419 else
13420 result=no
13421 fi
13422 else
13423 result=$wxUSE_MENUS
13424 fi
13425
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13428
13429
13430 enablestring=
13431 defaultval=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x"$enablestring" = xdisable; then
13434 defaultval=yes
13435 else
13436 defaultval=no
13437 fi
13438 fi
13439
13440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13441 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13442 # Check whether --enable-miniframe was given.
13443 if test "${enable_miniframe+set}" = set; then
13444 enableval=$enable_miniframe;
13445 if test "$enableval" = yes; then
13446 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13447 else
13448 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13449 fi
13450
13451 else
13452
13453 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13454
13455 fi
13456
13457
13458 eval "$wx_cv_use_miniframe"
13459
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_MINIFRAME = no; then
13462 result=yes
13463 else
13464 result=no
13465 fi
13466 else
13467 result=$wxUSE_MINIFRAME
13468 fi
13469
13470 { echo "$as_me:$LINENO: result: $result" >&5
13471 echo "${ECHO_T}$result" >&6; }
13472
13473
13474 enablestring=
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13478 defaultval=yes
13479 else
13480 defaultval=no
13481 fi
13482 fi
13483
13484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13485 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13486 # Check whether --enable-tooltips was given.
13487 if test "${enable_tooltips+set}" = set; then
13488 enableval=$enable_tooltips;
13489 if test "$enableval" = yes; then
13490 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13491 else
13492 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13493 fi
13494
13495 else
13496
13497 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13498
13499 fi
13500
13501
13502 eval "$wx_cv_use_tooltips"
13503
13504 if test x"$enablestring" = xdisable; then
13505 if test $wxUSE_TOOLTIPS = no; then
13506 result=yes
13507 else
13508 result=no
13509 fi
13510 else
13511 result=$wxUSE_TOOLTIPS
13512 fi
13513
13514 { echo "$as_me:$LINENO: result: $result" >&5
13515 echo "${ECHO_T}$result" >&6; }
13516
13517
13518 enablestring=
13519 defaultval=$wxUSE_ALL_FEATURES
13520 if test -z "$defaultval"; then
13521 if test x"$enablestring" = xdisable; then
13522 defaultval=yes
13523 else
13524 defaultval=no
13525 fi
13526 fi
13527
13528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13529 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13530 # Check whether --enable-splines was given.
13531 if test "${enable_splines+set}" = set; then
13532 enableval=$enable_splines;
13533 if test "$enableval" = yes; then
13534 wx_cv_use_splines='wxUSE_SPLINES=yes'
13535 else
13536 wx_cv_use_splines='wxUSE_SPLINES=no'
13537 fi
13538
13539 else
13540
13541 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13542
13543 fi
13544
13545
13546 eval "$wx_cv_use_splines"
13547
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_SPLINES = no; then
13550 result=yes
13551 else
13552 result=no
13553 fi
13554 else
13555 result=$wxUSE_SPLINES
13556 fi
13557
13558 { echo "$as_me:$LINENO: result: $result" >&5
13559 echo "${ECHO_T}$result" >&6; }
13560
13561
13562 enablestring=
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13566 defaultval=yes
13567 else
13568 defaultval=no
13569 fi
13570 fi
13571
13572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13573 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13574 # Check whether --enable-mousewheel was given.
13575 if test "${enable_mousewheel+set}" = set; then
13576 enableval=$enable_mousewheel;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13579 else
13580 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13581 fi
13582
13583 else
13584
13585 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13586
13587 fi
13588
13589
13590 eval "$wx_cv_use_mousewheel"
13591
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_MOUSEWHEEL = no; then
13594 result=yes
13595 else
13596 result=no
13597 fi
13598 else
13599 result=$wxUSE_MOUSEWHEEL
13600 fi
13601
13602 { echo "$as_me:$LINENO: result: $result" >&5
13603 echo "${ECHO_T}$result" >&6; }
13604
13605
13606 enablestring=
13607 defaultval=$wxUSE_ALL_FEATURES
13608 if test -z "$defaultval"; then
13609 if test x"$enablestring" = xdisable; then
13610 defaultval=yes
13611 else
13612 defaultval=no
13613 fi
13614 fi
13615
13616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13617 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13618 # Check whether --enable-validators was given.
13619 if test "${enable_validators+set}" = set; then
13620 enableval=$enable_validators;
13621 if test "$enableval" = yes; then
13622 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13623 else
13624 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13625 fi
13626
13627 else
13628
13629 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13630
13631 fi
13632
13633
13634 eval "$wx_cv_use_validators"
13635
13636 if test x"$enablestring" = xdisable; then
13637 if test $wxUSE_VALIDATORS = no; then
13638 result=yes
13639 else
13640 result=no
13641 fi
13642 else
13643 result=$wxUSE_VALIDATORS
13644 fi
13645
13646 { echo "$as_me:$LINENO: result: $result" >&5
13647 echo "${ECHO_T}$result" >&6; }
13648
13649
13650 enablestring=
13651 defaultval=$wxUSE_ALL_FEATURES
13652 if test -z "$defaultval"; then
13653 if test x"$enablestring" = xdisable; then
13654 defaultval=yes
13655 else
13656 defaultval=no
13657 fi
13658 fi
13659
13660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13661 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13662 # Check whether --enable-busyinfo was given.
13663 if test "${enable_busyinfo+set}" = set; then
13664 enableval=$enable_busyinfo;
13665 if test "$enableval" = yes; then
13666 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13667 else
13668 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13669 fi
13670
13671 else
13672
13673 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13674
13675 fi
13676
13677
13678 eval "$wx_cv_use_busyinfo"
13679
13680 if test x"$enablestring" = xdisable; then
13681 if test $wxUSE_BUSYINFO = no; then
13682 result=yes
13683 else
13684 result=no
13685 fi
13686 else
13687 result=$wxUSE_BUSYINFO
13688 fi
13689
13690 { echo "$as_me:$LINENO: result: $result" >&5
13691 echo "${ECHO_T}$result" >&6; }
13692
13693
13694 enablestring=
13695 defaultval=$wxUSE_ALL_FEATURES
13696 if test -z "$defaultval"; then
13697 if test x"$enablestring" = xdisable; then
13698 defaultval=yes
13699 else
13700 defaultval=no
13701 fi
13702 fi
13703
13704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13705 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13706 # Check whether --enable-joystick was given.
13707 if test "${enable_joystick+set}" = set; then
13708 enableval=$enable_joystick;
13709 if test "$enableval" = yes; then
13710 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13711 else
13712 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13713 fi
13714
13715 else
13716
13717 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13718
13719 fi
13720
13721
13722 eval "$wx_cv_use_joystick"
13723
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_JOYSTICK = no; then
13726 result=yes
13727 else
13728 result=no
13729 fi
13730 else
13731 result=$wxUSE_JOYSTICK
13732 fi
13733
13734 { echo "$as_me:$LINENO: result: $result" >&5
13735 echo "${ECHO_T}$result" >&6; }
13736
13737
13738 enablestring=
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13742 defaultval=yes
13743 else
13744 defaultval=no
13745 fi
13746 fi
13747
13748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13749 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13750 # Check whether --enable-metafile was given.
13751 if test "${enable_metafile+set}" = set; then
13752 enableval=$enable_metafile;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13755 else
13756 wx_cv_use_metafile='wxUSE_METAFILE=no'
13757 fi
13758
13759 else
13760
13761 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13762
13763 fi
13764
13765
13766 eval "$wx_cv_use_metafile"
13767
13768 if test x"$enablestring" = xdisable; then
13769 if test $wxUSE_METAFILE = no; then
13770 result=yes
13771 else
13772 result=no
13773 fi
13774 else
13775 result=$wxUSE_METAFILE
13776 fi
13777
13778 { echo "$as_me:$LINENO: result: $result" >&5
13779 echo "${ECHO_T}$result" >&6; }
13780
13781
13782 enablestring=
13783 defaultval=$wxUSE_ALL_FEATURES
13784 if test -z "$defaultval"; then
13785 if test x"$enablestring" = xdisable; then
13786 defaultval=yes
13787 else
13788 defaultval=no
13789 fi
13790 fi
13791
13792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13793 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13794 # Check whether --enable-dragimage was given.
13795 if test "${enable_dragimage+set}" = set; then
13796 enableval=$enable_dragimage;
13797 if test "$enableval" = yes; then
13798 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13799 else
13800 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13801 fi
13802
13803 else
13804
13805 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13806
13807 fi
13808
13809
13810 eval "$wx_cv_use_dragimage"
13811
13812 if test x"$enablestring" = xdisable; then
13813 if test $wxUSE_DRAGIMAGE = no; then
13814 result=yes
13815 else
13816 result=no
13817 fi
13818 else
13819 result=$wxUSE_DRAGIMAGE
13820 fi
13821
13822 { echo "$as_me:$LINENO: result: $result" >&5
13823 echo "${ECHO_T}$result" >&6; }
13824
13825
13826 enablestring=
13827 defaultval=$wxUSE_ALL_FEATURES
13828 if test -z "$defaultval"; then
13829 if test x"$enablestring" = xdisable; then
13830 defaultval=yes
13831 else
13832 defaultval=no
13833 fi
13834 fi
13835
13836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13837 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13838 # Check whether --enable-accessibility was given.
13839 if test "${enable_accessibility+set}" = set; then
13840 enableval=$enable_accessibility;
13841 if test "$enableval" = yes; then
13842 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13843 else
13844 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13845 fi
13846
13847 else
13848
13849 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13850
13851 fi
13852
13853
13854 eval "$wx_cv_use_accessibility"
13855
13856 if test x"$enablestring" = xdisable; then
13857 if test $wxUSE_ACCESSIBILITY = no; then
13858 result=yes
13859 else
13860 result=no
13861 fi
13862 else
13863 result=$wxUSE_ACCESSIBILITY
13864 fi
13865
13866 { echo "$as_me:$LINENO: result: $result" >&5
13867 echo "${ECHO_T}$result" >&6; }
13868
13869
13870 enablestring=
13871 defaultval=$wxUSE_ALL_FEATURES
13872 if test -z "$defaultval"; then
13873 if test x"$enablestring" = xdisable; then
13874 defaultval=yes
13875 else
13876 defaultval=no
13877 fi
13878 fi
13879
13880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13881 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13882 # Check whether --enable-uiactionsim was given.
13883 if test "${enable_uiactionsim+set}" = set; then
13884 enableval=$enable_uiactionsim;
13885 if test "$enableval" = yes; then
13886 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13887 else
13888 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13889 fi
13890
13891 else
13892
13893 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13894
13895 fi
13896
13897
13898 eval "$wx_cv_use_uiactionsim"
13899
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_UIACTIONSIMULATOR = no; then
13902 result=yes
13903 else
13904 result=no
13905 fi
13906 else
13907 result=$wxUSE_UIACTIONSIMULATOR
13908 fi
13909
13910 { echo "$as_me:$LINENO: result: $result" >&5
13911 echo "${ECHO_T}$result" >&6; }
13912
13913
13914
13915
13916 enablestring=
13917 defaultval=$wxUSE_ALL_FEATURES
13918 if test -z "$defaultval"; then
13919 if test x"$enablestring" = xdisable; then
13920 defaultval=yes
13921 else
13922 defaultval=no
13923 fi
13924 fi
13925
13926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13927 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13928 # Check whether --enable-palette was given.
13929 if test "${enable_palette+set}" = set; then
13930 enableval=$enable_palette;
13931 if test "$enableval" = yes; then
13932 wx_cv_use_palette='wxUSE_PALETTE=yes'
13933 else
13934 wx_cv_use_palette='wxUSE_PALETTE=no'
13935 fi
13936
13937 else
13938
13939 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13940
13941 fi
13942
13943
13944 eval "$wx_cv_use_palette"
13945
13946 if test x"$enablestring" = xdisable; then
13947 if test $wxUSE_PALETTE = no; then
13948 result=yes
13949 else
13950 result=no
13951 fi
13952 else
13953 result=$wxUSE_PALETTE
13954 fi
13955
13956 { echo "$as_me:$LINENO: result: $result" >&5
13957 echo "${ECHO_T}$result" >&6; }
13958
13959
13960 enablestring=
13961 defaultval=$wxUSE_ALL_FEATURES
13962 if test -z "$defaultval"; then
13963 if test x"$enablestring" = xdisable; then
13964 defaultval=yes
13965 else
13966 defaultval=no
13967 fi
13968 fi
13969
13970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13971 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13972 # Check whether --enable-image was given.
13973 if test "${enable_image+set}" = set; then
13974 enableval=$enable_image;
13975 if test "$enableval" = yes; then
13976 wx_cv_use_image='wxUSE_IMAGE=yes'
13977 else
13978 wx_cv_use_image='wxUSE_IMAGE=no'
13979 fi
13980
13981 else
13982
13983 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13984
13985 fi
13986
13987
13988 eval "$wx_cv_use_image"
13989
13990 if test x"$enablestring" = xdisable; then
13991 if test $wxUSE_IMAGE = no; then
13992 result=yes
13993 else
13994 result=no
13995 fi
13996 else
13997 result=$wxUSE_IMAGE
13998 fi
13999
14000 { echo "$as_me:$LINENO: result: $result" >&5
14001 echo "${ECHO_T}$result" >&6; }
14002
14003
14004 enablestring=
14005 defaultval=$wxUSE_ALL_FEATURES
14006 if test -z "$defaultval"; then
14007 if test x"$enablestring" = xdisable; then
14008 defaultval=yes
14009 else
14010 defaultval=no
14011 fi
14012 fi
14013
14014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14015 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14016 # Check whether --enable-gif was given.
14017 if test "${enable_gif+set}" = set; then
14018 enableval=$enable_gif;
14019 if test "$enableval" = yes; then
14020 wx_cv_use_gif='wxUSE_GIF=yes'
14021 else
14022 wx_cv_use_gif='wxUSE_GIF=no'
14023 fi
14024
14025 else
14026
14027 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14028
14029 fi
14030
14031
14032 eval "$wx_cv_use_gif"
14033
14034 if test x"$enablestring" = xdisable; then
14035 if test $wxUSE_GIF = no; then
14036 result=yes
14037 else
14038 result=no
14039 fi
14040 else
14041 result=$wxUSE_GIF
14042 fi
14043
14044 { echo "$as_me:$LINENO: result: $result" >&5
14045 echo "${ECHO_T}$result" >&6; }
14046
14047
14048 enablestring=
14049 defaultval=$wxUSE_ALL_FEATURES
14050 if test -z "$defaultval"; then
14051 if test x"$enablestring" = xdisable; then
14052 defaultval=yes
14053 else
14054 defaultval=no
14055 fi
14056 fi
14057
14058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14059 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14060 # Check whether --enable-pcx was given.
14061 if test "${enable_pcx+set}" = set; then
14062 enableval=$enable_pcx;
14063 if test "$enableval" = yes; then
14064 wx_cv_use_pcx='wxUSE_PCX=yes'
14065 else
14066 wx_cv_use_pcx='wxUSE_PCX=no'
14067 fi
14068
14069 else
14070
14071 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14072
14073 fi
14074
14075
14076 eval "$wx_cv_use_pcx"
14077
14078 if test x"$enablestring" = xdisable; then
14079 if test $wxUSE_PCX = no; then
14080 result=yes
14081 else
14082 result=no
14083 fi
14084 else
14085 result=$wxUSE_PCX
14086 fi
14087
14088 { echo "$as_me:$LINENO: result: $result" >&5
14089 echo "${ECHO_T}$result" >&6; }
14090
14091
14092 enablestring=
14093 defaultval=$wxUSE_ALL_FEATURES
14094 if test -z "$defaultval"; then
14095 if test x"$enablestring" = xdisable; then
14096 defaultval=yes
14097 else
14098 defaultval=no
14099 fi
14100 fi
14101
14102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14103 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14104 # Check whether --enable-tga was given.
14105 if test "${enable_tga+set}" = set; then
14106 enableval=$enable_tga;
14107 if test "$enableval" = yes; then
14108 wx_cv_use_tga='wxUSE_TGA=yes'
14109 else
14110 wx_cv_use_tga='wxUSE_TGA=no'
14111 fi
14112
14113 else
14114
14115 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14116
14117 fi
14118
14119
14120 eval "$wx_cv_use_tga"
14121
14122 if test x"$enablestring" = xdisable; then
14123 if test $wxUSE_TGA = no; then
14124 result=yes
14125 else
14126 result=no
14127 fi
14128 else
14129 result=$wxUSE_TGA
14130 fi
14131
14132 { echo "$as_me:$LINENO: result: $result" >&5
14133 echo "${ECHO_T}$result" >&6; }
14134
14135
14136 enablestring=
14137 defaultval=$wxUSE_ALL_FEATURES
14138 if test -z "$defaultval"; then
14139 if test x"$enablestring" = xdisable; then
14140 defaultval=yes
14141 else
14142 defaultval=no
14143 fi
14144 fi
14145
14146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14147 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14148 # Check whether --enable-iff was given.
14149 if test "${enable_iff+set}" = set; then
14150 enableval=$enable_iff;
14151 if test "$enableval" = yes; then
14152 wx_cv_use_iff='wxUSE_IFF=yes'
14153 else
14154 wx_cv_use_iff='wxUSE_IFF=no'
14155 fi
14156
14157 else
14158
14159 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14160
14161 fi
14162
14163
14164 eval "$wx_cv_use_iff"
14165
14166 if test x"$enablestring" = xdisable; then
14167 if test $wxUSE_IFF = no; then
14168 result=yes
14169 else
14170 result=no
14171 fi
14172 else
14173 result=$wxUSE_IFF
14174 fi
14175
14176 { echo "$as_me:$LINENO: result: $result" >&5
14177 echo "${ECHO_T}$result" >&6; }
14178
14179
14180 enablestring=
14181 defaultval=$wxUSE_ALL_FEATURES
14182 if test -z "$defaultval"; then
14183 if test x"$enablestring" = xdisable; then
14184 defaultval=yes
14185 else
14186 defaultval=no
14187 fi
14188 fi
14189
14190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14191 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14192 # Check whether --enable-pnm was given.
14193 if test "${enable_pnm+set}" = set; then
14194 enableval=$enable_pnm;
14195 if test "$enableval" = yes; then
14196 wx_cv_use_pnm='wxUSE_PNM=yes'
14197 else
14198 wx_cv_use_pnm='wxUSE_PNM=no'
14199 fi
14200
14201 else
14202
14203 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14204
14205 fi
14206
14207
14208 eval "$wx_cv_use_pnm"
14209
14210 if test x"$enablestring" = xdisable; then
14211 if test $wxUSE_PNM = no; then
14212 result=yes
14213 else
14214 result=no
14215 fi
14216 else
14217 result=$wxUSE_PNM
14218 fi
14219
14220 { echo "$as_me:$LINENO: result: $result" >&5
14221 echo "${ECHO_T}$result" >&6; }
14222
14223
14224 enablestring=
14225 defaultval=$wxUSE_ALL_FEATURES
14226 if test -z "$defaultval"; then
14227 if test x"$enablestring" = xdisable; then
14228 defaultval=yes
14229 else
14230 defaultval=no
14231 fi
14232 fi
14233
14234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14235 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14236 # Check whether --enable-xpm was given.
14237 if test "${enable_xpm+set}" = set; then
14238 enableval=$enable_xpm;
14239 if test "$enableval" = yes; then
14240 wx_cv_use_xpm='wxUSE_XPM=yes'
14241 else
14242 wx_cv_use_xpm='wxUSE_XPM=no'
14243 fi
14244
14245 else
14246
14247 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14248
14249 fi
14250
14251
14252 eval "$wx_cv_use_xpm"
14253
14254 if test x"$enablestring" = xdisable; then
14255 if test $wxUSE_XPM = no; then
14256 result=yes
14257 else
14258 result=no
14259 fi
14260 else
14261 result=$wxUSE_XPM
14262 fi
14263
14264 { echo "$as_me:$LINENO: result: $result" >&5
14265 echo "${ECHO_T}$result" >&6; }
14266
14267
14268 enablestring=
14269 defaultval=$wxUSE_ALL_FEATURES
14270 if test -z "$defaultval"; then
14271 if test x"$enablestring" = xdisable; then
14272 defaultval=yes
14273 else
14274 defaultval=no
14275 fi
14276 fi
14277
14278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14280 # Check whether --enable-ico_cur was given.
14281 if test "${enable_ico_cur+set}" = set; then
14282 enableval=$enable_ico_cur;
14283 if test "$enableval" = yes; then
14284 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14285 else
14286 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14287 fi
14288
14289 else
14290
14291 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14292
14293 fi
14294
14295
14296 eval "$wx_cv_use_ico_cur"
14297
14298 if test x"$enablestring" = xdisable; then
14299 if test $wxUSE_ICO_CUR = no; then
14300 result=yes
14301 else
14302 result=no
14303 fi
14304 else
14305 result=$wxUSE_ICO_CUR
14306 fi
14307
14308 { echo "$as_me:$LINENO: result: $result" >&5
14309 echo "${ECHO_T}$result" >&6; }
14310
14311
14312
14313
14314 enablestring=
14315 defaultval=$wxUSE_ALL_FEATURES
14316 if test -z "$defaultval"; then
14317 if test x"$enablestring" = xdisable; then
14318 defaultval=yes
14319 else
14320 defaultval=no
14321 fi
14322 fi
14323
14324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14325 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14326 # Check whether --enable-dccache was given.
14327 if test "${enable_dccache+set}" = set; then
14328 enableval=$enable_dccache;
14329 if test "$enableval" = yes; then
14330 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14331 else
14332 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14333 fi
14334
14335 else
14336
14337 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14338
14339 fi
14340
14341
14342 eval "$wx_cv_use_dccache"
14343
14344 if test x"$enablestring" = xdisable; then
14345 if test $wxUSE_DC_CACHEING = no; then
14346 result=yes
14347 else
14348 result=no
14349 fi
14350 else
14351 result=$wxUSE_DC_CACHEING
14352 fi
14353
14354 { echo "$as_me:$LINENO: result: $result" >&5
14355 echo "${ECHO_T}$result" >&6; }
14356
14357
14358 enablestring=
14359 defaultval=$wxUSE_ALL_FEATURES
14360 if test -z "$defaultval"; then
14361 if test x"$enablestring" = xdisable; then
14362 defaultval=yes
14363 else
14364 defaultval=no
14365 fi
14366 fi
14367
14368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14369 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14370 # Check whether --enable-ps-in-msw was given.
14371 if test "${enable_ps_in_msw+set}" = set; then
14372 enableval=$enable_ps_in_msw;
14373 if test "$enableval" = yes; then
14374 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14375 else
14376 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14377 fi
14378
14379 else
14380
14381 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14382
14383 fi
14384
14385
14386 eval "$wx_cv_use_ps_in_msw"
14387
14388 if test x"$enablestring" = xdisable; then
14389 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14390 result=yes
14391 else
14392 result=no
14393 fi
14394 else
14395 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14396 fi
14397
14398 { echo "$as_me:$LINENO: result: $result" >&5
14399 echo "${ECHO_T}$result" >&6; }
14400
14401
14402 enablestring=
14403 defaultval=$wxUSE_ALL_FEATURES
14404 if test -z "$defaultval"; then
14405 if test x"$enablestring" = xdisable; then
14406 defaultval=yes
14407 else
14408 defaultval=no
14409 fi
14410 fi
14411
14412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14413 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14414 # Check whether --enable-ownerdrawn was given.
14415 if test "${enable_ownerdrawn+set}" = set; then
14416 enableval=$enable_ownerdrawn;
14417 if test "$enableval" = yes; then
14418 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14419 else
14420 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14421 fi
14422
14423 else
14424
14425 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14426
14427 fi
14428
14429
14430 eval "$wx_cv_use_ownerdrawn"
14431
14432 if test x"$enablestring" = xdisable; then
14433 if test $wxUSE_OWNER_DRAWN = no; then
14434 result=yes
14435 else
14436 result=no
14437 fi
14438 else
14439 result=$wxUSE_OWNER_DRAWN
14440 fi
14441
14442 { echo "$as_me:$LINENO: result: $result" >&5
14443 echo "${ECHO_T}$result" >&6; }
14444
14445
14446 enablestring=
14447 defaultval=$wxUSE_ALL_FEATURES
14448 if test -z "$defaultval"; then
14449 if test x"$enablestring" = xdisable; then
14450 defaultval=yes
14451 else
14452 defaultval=no
14453 fi
14454 fi
14455
14456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14457 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14458 # Check whether --enable-uxtheme was given.
14459 if test "${enable_uxtheme+set}" = set; then
14460 enableval=$enable_uxtheme;
14461 if test "$enableval" = yes; then
14462 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14463 else
14464 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14465 fi
14466
14467 else
14468
14469 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14470
14471 fi
14472
14473
14474 eval "$wx_cv_use_uxtheme"
14475
14476 if test x"$enablestring" = xdisable; then
14477 if test $wxUSE_UXTHEME = no; then
14478 result=yes
14479 else
14480 result=no
14481 fi
14482 else
14483 result=$wxUSE_UXTHEME
14484 fi
14485
14486 { echo "$as_me:$LINENO: result: $result" >&5
14487 echo "${ECHO_T}$result" >&6; }
14488
14489
14490 enablestring=
14491 defaultval=$wxUSE_ALL_FEATURES
14492 if test -z "$defaultval"; then
14493 if test x"$enablestring" = xdisable; then
14494 defaultval=yes
14495 else
14496 defaultval=no
14497 fi
14498 fi
14499
14500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14501 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14502 # Check whether --enable-wxdib was given.
14503 if test "${enable_wxdib+set}" = set; then
14504 enableval=$enable_wxdib;
14505 if test "$enableval" = yes; then
14506 wx_cv_use_wxdib='wxUSE_DIB=yes'
14507 else
14508 wx_cv_use_wxdib='wxUSE_DIB=no'
14509 fi
14510
14511 else
14512
14513 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14514
14515 fi
14516
14517
14518 eval "$wx_cv_use_wxdib"
14519
14520 if test x"$enablestring" = xdisable; then
14521 if test $wxUSE_DIB = no; then
14522 result=yes
14523 else
14524 result=no
14525 fi
14526 else
14527 result=$wxUSE_DIB
14528 fi
14529
14530 { echo "$as_me:$LINENO: result: $result" >&5
14531 echo "${ECHO_T}$result" >&6; }
14532
14533
14534 if test "$wxUSE_MSW" != 1; then
14535 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14536 fi
14537
14538
14539 enablestring=
14540 defaultval=$wxUSE_ALL_FEATURES
14541 if test -z "$defaultval"; then
14542 if test x"$enablestring" = xdisable; then
14543 defaultval=yes
14544 else
14545 defaultval=no
14546 fi
14547 fi
14548
14549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14550 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14551 # Check whether --enable-autoidman was given.
14552 if test "${enable_autoidman+set}" = set; then
14553 enableval=$enable_autoidman;
14554 if test "$enableval" = yes; then
14555 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14556 else
14557 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14558 fi
14559
14560 else
14561
14562 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14563
14564 fi
14565
14566
14567 eval "$wx_cv_use_autoidman"
14568
14569 if test x"$enablestring" = xdisable; then
14570 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14571 result=yes
14572 else
14573 result=no
14574 fi
14575 else
14576 result=$wxUSE_AUTOID_MANAGEMENT
14577 fi
14578
14579 { echo "$as_me:$LINENO: result: $result" >&5
14580 echo "${ECHO_T}$result" >&6; }
14581
14582
14583 fi
14584
14585
14586 cat >confcache <<\_ACEOF
14587 # This file is a shell script that caches the results of configure
14588 # tests run on this system so they can be shared between configure
14589 # scripts and configure runs, see configure's option --config-cache.
14590 # It is not useful on other systems. If it contains results you don't
14591 # want to keep, you may remove or edit it.
14592 #
14593 # config.status only pays attention to the cache file if you give it
14594 # the --recheck option to rerun configure.
14595 #
14596 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14598 # following values.
14599
14600 _ACEOF
14601
14602 # The following way of writing the cache mishandles newlines in values,
14603 # but we know of no workaround that is simple, portable, and efficient.
14604 # So, we kill variables containing newlines.
14605 # Ultrix sh set writes to stderr and can't be redirected directly,
14606 # and sets the high bit in the cache file unless we assign to the vars.
14607 (
14608 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14609 eval ac_val=\$$ac_var
14610 case $ac_val in #(
14611 *${as_nl}*)
14612 case $ac_var in #(
14613 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14614 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14615 esac
14616 case $ac_var in #(
14617 _ | IFS | as_nl) ;; #(
14618 *) $as_unset $ac_var ;;
14619 esac ;;
14620 esac
14621 done
14622
14623 (set) 2>&1 |
14624 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14625 *${as_nl}ac_space=\ *)
14626 # `set' does not quote correctly, so add quotes (double-quote
14627 # substitution turns \\\\ into \\, and sed turns \\ into \).
14628 sed -n \
14629 "s/'/'\\\\''/g;
14630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14631 ;; #(
14632 *)
14633 # `set' quotes correctly as required by POSIX, so do not add quotes.
14634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14635 ;;
14636 esac |
14637 sort
14638 ) |
14639 sed '
14640 /^ac_cv_env_/b end
14641 t clear
14642 :clear
14643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14644 t end
14645 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14646 :end' >>confcache
14647 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14648 if test -w "$cache_file"; then
14649 test "x$cache_file" != "x/dev/null" &&
14650 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14651 echo "$as_me: updating cache $cache_file" >&6;}
14652 cat confcache >$cache_file
14653 else
14654 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14655 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14656 fi
14657 fi
14658 rm -f confcache
14659
14660 CFLAGS=${CFLAGS:=}
14661 ac_ext=c
14662 ac_cpp='$CPP $CPPFLAGS'
14663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14666 if test -n "$ac_tool_prefix"; then
14667 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14668 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14671 if test "${ac_cv_prog_CC+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 else
14674 if test -n "$CC"; then
14675 ac_cv_prog_CC="$CC" # Let the user override the test.
14676 else
14677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14678 for as_dir in $PATH
14679 do
14680 IFS=$as_save_IFS
14681 test -z "$as_dir" && as_dir=.
14682 for ac_exec_ext in '' $ac_executable_extensions; do
14683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14684 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14686 break 2
14687 fi
14688 done
14689 done
14690 IFS=$as_save_IFS
14691
14692 fi
14693 fi
14694 CC=$ac_cv_prog_CC
14695 if test -n "$CC"; then
14696 { echo "$as_me:$LINENO: result: $CC" >&5
14697 echo "${ECHO_T}$CC" >&6; }
14698 else
14699 { echo "$as_me:$LINENO: result: no" >&5
14700 echo "${ECHO_T}no" >&6; }
14701 fi
14702
14703
14704 fi
14705 if test -z "$ac_cv_prog_CC"; then
14706 ac_ct_CC=$CC
14707 # Extract the first word of "gcc", so it can be a program name with args.
14708 set dummy gcc; ac_word=$2
14709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14711 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 else
14714 if test -n "$ac_ct_CC"; then
14715 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14716 else
14717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14718 for as_dir in $PATH
14719 do
14720 IFS=$as_save_IFS
14721 test -z "$as_dir" && as_dir=.
14722 for ac_exec_ext in '' $ac_executable_extensions; do
14723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14724 ac_cv_prog_ac_ct_CC="gcc"
14725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14726 break 2
14727 fi
14728 done
14729 done
14730 IFS=$as_save_IFS
14731
14732 fi
14733 fi
14734 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14735 if test -n "$ac_ct_CC"; then
14736 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14737 echo "${ECHO_T}$ac_ct_CC" >&6; }
14738 else
14739 { echo "$as_me:$LINENO: result: no" >&5
14740 echo "${ECHO_T}no" >&6; }
14741 fi
14742
14743 if test "x$ac_ct_CC" = x; then
14744 CC=""
14745 else
14746 case $cross_compiling:$ac_tool_warned in
14747 yes:)
14748 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14749 whose name does not start with the host triplet. If you think this
14750 configuration is useful to you, please write to autoconf@gnu.org." >&5
14751 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14752 whose name does not start with the host triplet. If you think this
14753 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14754 ac_tool_warned=yes ;;
14755 esac
14756 CC=$ac_ct_CC
14757 fi
14758 else
14759 CC="$ac_cv_prog_CC"
14760 fi
14761
14762 if test -z "$CC"; then
14763 if test -n "$ac_tool_prefix"; then
14764 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14765 set dummy ${ac_tool_prefix}cc; ac_word=$2
14766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14768 if test "${ac_cv_prog_CC+set}" = set; then
14769 echo $ECHO_N "(cached) $ECHO_C" >&6
14770 else
14771 if test -n "$CC"; then
14772 ac_cv_prog_CC="$CC" # Let the user override the test.
14773 else
14774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14775 for as_dir in $PATH
14776 do
14777 IFS=$as_save_IFS
14778 test -z "$as_dir" && as_dir=.
14779 for ac_exec_ext in '' $ac_executable_extensions; do
14780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14781 ac_cv_prog_CC="${ac_tool_prefix}cc"
14782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14783 break 2
14784 fi
14785 done
14786 done
14787 IFS=$as_save_IFS
14788
14789 fi
14790 fi
14791 CC=$ac_cv_prog_CC
14792 if test -n "$CC"; then
14793 { echo "$as_me:$LINENO: result: $CC" >&5
14794 echo "${ECHO_T}$CC" >&6; }
14795 else
14796 { echo "$as_me:$LINENO: result: no" >&5
14797 echo "${ECHO_T}no" >&6; }
14798 fi
14799
14800
14801 fi
14802 fi
14803 if test -z "$CC"; then
14804 # Extract the first word of "cc", so it can be a program name with args.
14805 set dummy cc; ac_word=$2
14806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14808 if test "${ac_cv_prog_CC+set}" = set; then
14809 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 else
14811 if test -n "$CC"; then
14812 ac_cv_prog_CC="$CC" # Let the user override the test.
14813 else
14814 ac_prog_rejected=no
14815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14816 for as_dir in $PATH
14817 do
14818 IFS=$as_save_IFS
14819 test -z "$as_dir" && as_dir=.
14820 for ac_exec_ext in '' $ac_executable_extensions; do
14821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14822 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14823 ac_prog_rejected=yes
14824 continue
14825 fi
14826 ac_cv_prog_CC="cc"
14827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14828 break 2
14829 fi
14830 done
14831 done
14832 IFS=$as_save_IFS
14833
14834 if test $ac_prog_rejected = yes; then
14835 # We found a bogon in the path, so make sure we never use it.
14836 set dummy $ac_cv_prog_CC
14837 shift
14838 if test $# != 0; then
14839 # We chose a different compiler from the bogus one.
14840 # However, it has the same basename, so the bogon will be chosen
14841 # first if we set CC to just the basename; use the full file name.
14842 shift
14843 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14844 fi
14845 fi
14846 fi
14847 fi
14848 CC=$ac_cv_prog_CC
14849 if test -n "$CC"; then
14850 { echo "$as_me:$LINENO: result: $CC" >&5
14851 echo "${ECHO_T}$CC" >&6; }
14852 else
14853 { echo "$as_me:$LINENO: result: no" >&5
14854 echo "${ECHO_T}no" >&6; }
14855 fi
14856
14857
14858 fi
14859 if test -z "$CC"; then
14860 if test -n "$ac_tool_prefix"; then
14861 for ac_prog in cl.exe
14862 do
14863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14867 if test "${ac_cv_prog_CC+set}" = set; then
14868 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 else
14870 if test -n "$CC"; then
14871 ac_cv_prog_CC="$CC" # Let the user override the test.
14872 else
14873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14874 for as_dir in $PATH
14875 do
14876 IFS=$as_save_IFS
14877 test -z "$as_dir" && as_dir=.
14878 for ac_exec_ext in '' $ac_executable_extensions; do
14879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14880 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14882 break 2
14883 fi
14884 done
14885 done
14886 IFS=$as_save_IFS
14887
14888 fi
14889 fi
14890 CC=$ac_cv_prog_CC
14891 if test -n "$CC"; then
14892 { echo "$as_me:$LINENO: result: $CC" >&5
14893 echo "${ECHO_T}$CC" >&6; }
14894 else
14895 { echo "$as_me:$LINENO: result: no" >&5
14896 echo "${ECHO_T}no" >&6; }
14897 fi
14898
14899
14900 test -n "$CC" && break
14901 done
14902 fi
14903 if test -z "$CC"; then
14904 ac_ct_CC=$CC
14905 for ac_prog in cl.exe
14906 do
14907 # Extract the first word of "$ac_prog", so it can be a program name with args.
14908 set dummy $ac_prog; ac_word=$2
14909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14912 echo $ECHO_N "(cached) $ECHO_C" >&6
14913 else
14914 if test -n "$ac_ct_CC"; then
14915 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14916 else
14917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14918 for as_dir in $PATH
14919 do
14920 IFS=$as_save_IFS
14921 test -z "$as_dir" && as_dir=.
14922 for ac_exec_ext in '' $ac_executable_extensions; do
14923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14924 ac_cv_prog_ac_ct_CC="$ac_prog"
14925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14926 break 2
14927 fi
14928 done
14929 done
14930 IFS=$as_save_IFS
14931
14932 fi
14933 fi
14934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14935 if test -n "$ac_ct_CC"; then
14936 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14937 echo "${ECHO_T}$ac_ct_CC" >&6; }
14938 else
14939 { echo "$as_me:$LINENO: result: no" >&5
14940 echo "${ECHO_T}no" >&6; }
14941 fi
14942
14943
14944 test -n "$ac_ct_CC" && break
14945 done
14946
14947 if test "x$ac_ct_CC" = x; then
14948 CC=""
14949 else
14950 case $cross_compiling:$ac_tool_warned in
14951 yes:)
14952 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14953 whose name does not start with the host triplet. If you think this
14954 configuration is useful to you, please write to autoconf@gnu.org." >&5
14955 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14956 whose name does not start with the host triplet. If you think this
14957 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14958 ac_tool_warned=yes ;;
14959 esac
14960 CC=$ac_ct_CC
14961 fi
14962 fi
14963
14964 fi
14965
14966
14967 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14968 See \`config.log' for more details." >&5
14969 echo "$as_me: error: no acceptable C compiler found in \$PATH
14970 See \`config.log' for more details." >&2;}
14971 { (exit 1); exit 1; }; }
14972
14973 # Provide some information about the compiler.
14974 echo "$as_me:$LINENO: checking for C compiler version" >&5
14975 ac_compiler=`set X $ac_compile; echo $2`
14976 { (ac_try="$ac_compiler --version >&5"
14977 case "(($ac_try" in
14978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14979 *) ac_try_echo=$ac_try;;
14980 esac
14981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14982 (eval "$ac_compiler --version >&5") 2>&5
14983 ac_status=$?
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }
14986 { (ac_try="$ac_compiler -v >&5"
14987 case "(($ac_try" in
14988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14989 *) ac_try_echo=$ac_try;;
14990 esac
14991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14992 (eval "$ac_compiler -v >&5") 2>&5
14993 ac_status=$?
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }
14996 { (ac_try="$ac_compiler -V >&5"
14997 case "(($ac_try" in
14998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14999 *) ac_try_echo=$ac_try;;
15000 esac
15001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15002 (eval "$ac_compiler -V >&5") 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }
15006
15007 cat >conftest.$ac_ext <<_ACEOF
15008 /* confdefs.h. */
15009 _ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15013
15014 int
15015 main ()
15016 {
15017
15018 ;
15019 return 0;
15020 }
15021 _ACEOF
15022 ac_clean_files_save=$ac_clean_files
15023 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15024 # Try to create an executable without -o first, disregard a.out.
15025 # It will help us diagnose broken compilers, and finding out an intuition
15026 # of exeext.
15027 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15028 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15029 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15030 #
15031 # List of possible output files, starting from the most likely.
15032 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15033 # only as a last resort. b.out is created by i960 compilers.
15034 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15035 #
15036 # The IRIX 6 linker writes into existing files which may not be
15037 # executable, retaining their permissions. Remove them first so a
15038 # subsequent execution test works.
15039 ac_rmfiles=
15040 for ac_file in $ac_files
15041 do
15042 case $ac_file in
15043 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15044 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15045 esac
15046 done
15047 rm -f $ac_rmfiles
15048
15049 if { (ac_try="$ac_link_default"
15050 case "(($ac_try" in
15051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15052 *) ac_try_echo=$ac_try;;
15053 esac
15054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15055 (eval "$ac_link_default") 2>&5
15056 ac_status=$?
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; then
15059 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15060 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15061 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15062 # so that the user can short-circuit this test for compilers unknown to
15063 # Autoconf.
15064 for ac_file in $ac_files ''
15065 do
15066 test -f "$ac_file" || continue
15067 case $ac_file in
15068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15069 ;;
15070 [ab].out )
15071 # We found the default executable, but exeext='' is most
15072 # certainly right.
15073 break;;
15074 *.* )
15075 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15076 then :; else
15077 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15078 fi
15079 # We set ac_cv_exeext here because the later test for it is not
15080 # safe: cross compilers may not add the suffix if given an `-o'
15081 # argument, so we may need to know it at that point already.
15082 # Even if this section looks crufty: it has the advantage of
15083 # actually working.
15084 break;;
15085 * )
15086 break;;
15087 esac
15088 done
15089 test "$ac_cv_exeext" = no && ac_cv_exeext=
15090
15091 else
15092 ac_file=''
15093 fi
15094
15095 { echo "$as_me:$LINENO: result: $ac_file" >&5
15096 echo "${ECHO_T}$ac_file" >&6; }
15097 if test -z "$ac_file"; then
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.$ac_ext >&5
15100
15101 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15102 See \`config.log' for more details." >&5
15103 echo "$as_me: error: C compiler cannot create executables
15104 See \`config.log' for more details." >&2;}
15105 { (exit 77); exit 77; }; }
15106 fi
15107
15108 ac_exeext=$ac_cv_exeext
15109
15110 # Check that the compiler produces executables we can run. If not, either
15111 # the compiler is broken, or we cross compile.
15112 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15113 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15114 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15115 # If not cross compiling, check that we can run a simple program.
15116 if test "$cross_compiling" != yes; then
15117 if { ac_try='./$ac_file'
15118 { (case "(($ac_try" in
15119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15120 *) ac_try_echo=$ac_try;;
15121 esac
15122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15123 (eval "$ac_try") 2>&5
15124 ac_status=$?
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }; }; then
15127 cross_compiling=no
15128 else
15129 if test "$cross_compiling" = maybe; then
15130 cross_compiling=yes
15131 else
15132 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15133 If you meant to cross compile, use \`--host'.
15134 See \`config.log' for more details." >&5
15135 echo "$as_me: error: cannot run C compiled programs.
15136 If you meant to cross compile, use \`--host'.
15137 See \`config.log' for more details." >&2;}
15138 { (exit 1); exit 1; }; }
15139 fi
15140 fi
15141 fi
15142 { echo "$as_me:$LINENO: result: yes" >&5
15143 echo "${ECHO_T}yes" >&6; }
15144
15145 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15146 ac_clean_files=$ac_clean_files_save
15147 # Check that the compiler produces executables we can run. If not, either
15148 # the compiler is broken, or we cross compile.
15149 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15150 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15151 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15152 echo "${ECHO_T}$cross_compiling" >&6; }
15153
15154 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15155 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15156 if { (ac_try="$ac_link"
15157 case "(($ac_try" in
15158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15159 *) ac_try_echo=$ac_try;;
15160 esac
15161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15162 (eval "$ac_link") 2>&5
15163 ac_status=$?
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; then
15166 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15167 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15168 # work properly (i.e., refer to `conftest.exe'), while it won't with
15169 # `rm'.
15170 for ac_file in conftest.exe conftest conftest.*; do
15171 test -f "$ac_file" || continue
15172 case $ac_file in
15173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15174 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15175 break;;
15176 * ) break;;
15177 esac
15178 done
15179 else
15180 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15181 See \`config.log' for more details." >&5
15182 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15183 See \`config.log' for more details." >&2;}
15184 { (exit 1); exit 1; }; }
15185 fi
15186
15187 rm -f conftest$ac_cv_exeext
15188 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15189 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15190
15191 rm -f conftest.$ac_ext
15192 EXEEXT=$ac_cv_exeext
15193 ac_exeext=$EXEEXT
15194 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15195 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15196 if test "${ac_cv_objext+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15198 else
15199 cat >conftest.$ac_ext <<_ACEOF
15200 /* confdefs.h. */
15201 _ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15205
15206 int
15207 main ()
15208 {
15209
15210 ;
15211 return 0;
15212 }
15213 _ACEOF
15214 rm -f conftest.o conftest.obj
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15219 esac
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>&5
15222 ac_status=$?
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; then
15225 for ac_file in conftest.o conftest.obj conftest.*; do
15226 test -f "$ac_file" || continue;
15227 case $ac_file in
15228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15229 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15230 break;;
15231 esac
15232 done
15233 else
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15238 See \`config.log' for more details." >&5
15239 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15240 See \`config.log' for more details." >&2;}
15241 { (exit 1); exit 1; }; }
15242 fi
15243
15244 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15245 fi
15246 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15247 echo "${ECHO_T}$ac_cv_objext" >&6; }
15248 OBJEXT=$ac_cv_objext
15249 ac_objext=$OBJEXT
15250 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15251 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15252 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15254 else
15255 cat >conftest.$ac_ext <<_ACEOF
15256 /* confdefs.h. */
15257 _ACEOF
15258 cat confdefs.h >>conftest.$ac_ext
15259 cat >>conftest.$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15261
15262 int
15263 main ()
15264 {
15265 #ifndef __GNUC__
15266 choke me
15267 #endif
15268
15269 ;
15270 return 0;
15271 }
15272 _ACEOF
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15278 esac
15279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_compile") 2>conftest.er1
15281 ac_status=$?
15282 grep -v '^ *+' conftest.er1 >conftest.err
15283 rm -f conftest.er1
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest.$ac_objext; then
15290 ac_compiler_gnu=yes
15291 else
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15294
15295 ac_compiler_gnu=no
15296 fi
15297
15298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15299 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15300
15301 fi
15302 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15303 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15304 GCC=`test $ac_compiler_gnu = yes && echo yes`
15305 ac_test_CFLAGS=${CFLAGS+set}
15306 ac_save_CFLAGS=$CFLAGS
15307 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15308 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15309 if test "${ac_cv_prog_cc_g+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15311 else
15312 ac_save_c_werror_flag=$ac_c_werror_flag
15313 ac_c_werror_flag=yes
15314 ac_cv_prog_cc_g=no
15315 CFLAGS="-g"
15316 cat >conftest.$ac_ext <<_ACEOF
15317 /* confdefs.h. */
15318 _ACEOF
15319 cat confdefs.h >>conftest.$ac_ext
15320 cat >>conftest.$ac_ext <<_ACEOF
15321 /* end confdefs.h. */
15322
15323 int
15324 main ()
15325 {
15326
15327 ;
15328 return 0;
15329 }
15330 _ACEOF
15331 rm -f conftest.$ac_objext
15332 if { (ac_try="$ac_compile"
15333 case "(($ac_try" in
15334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15335 *) ac_try_echo=$ac_try;;
15336 esac
15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15338 (eval "$ac_compile") 2>conftest.er1
15339 ac_status=$?
15340 grep -v '^ *+' conftest.er1 >conftest.err
15341 rm -f conftest.er1
15342 cat conftest.err >&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } && {
15345 test -z "$ac_c_werror_flag" ||
15346 test ! -s conftest.err
15347 } && test -s conftest.$ac_objext; then
15348 ac_cv_prog_cc_g=yes
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15352
15353 CFLAGS=""
15354 cat >conftest.$ac_ext <<_ACEOF
15355 /* confdefs.h. */
15356 _ACEOF
15357 cat confdefs.h >>conftest.$ac_ext
15358 cat >>conftest.$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360
15361 int
15362 main ()
15363 {
15364
15365 ;
15366 return 0;
15367 }
15368 _ACEOF
15369 rm -f conftest.$ac_objext
15370 if { (ac_try="$ac_compile"
15371 case "(($ac_try" in
15372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15373 *) ac_try_echo=$ac_try;;
15374 esac
15375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15376 (eval "$ac_compile") 2>conftest.er1
15377 ac_status=$?
15378 grep -v '^ *+' conftest.er1 >conftest.err
15379 rm -f conftest.er1
15380 cat conftest.err >&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); } && {
15383 test -z "$ac_c_werror_flag" ||
15384 test ! -s conftest.err
15385 } && test -s conftest.$ac_objext; then
15386 :
15387 else
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15390
15391 ac_c_werror_flag=$ac_save_c_werror_flag
15392 CFLAGS="-g"
15393 cat >conftest.$ac_ext <<_ACEOF
15394 /* confdefs.h. */
15395 _ACEOF
15396 cat confdefs.h >>conftest.$ac_ext
15397 cat >>conftest.$ac_ext <<_ACEOF
15398 /* end confdefs.h. */
15399
15400 int
15401 main ()
15402 {
15403
15404 ;
15405 return 0;
15406 }
15407 _ACEOF
15408 rm -f conftest.$ac_objext
15409 if { (ac_try="$ac_compile"
15410 case "(($ac_try" in
15411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15412 *) ac_try_echo=$ac_try;;
15413 esac
15414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15415 (eval "$ac_compile") 2>conftest.er1
15416 ac_status=$?
15417 grep -v '^ *+' conftest.er1 >conftest.err
15418 rm -f conftest.er1
15419 cat conftest.err >&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } && {
15422 test -z "$ac_c_werror_flag" ||
15423 test ! -s conftest.err
15424 } && test -s conftest.$ac_objext; then
15425 ac_cv_prog_cc_g=yes
15426 else
15427 echo "$as_me: failed program was:" >&5
15428 sed 's/^/| /' conftest.$ac_ext >&5
15429
15430
15431 fi
15432
15433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15434 fi
15435
15436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15437 fi
15438
15439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15440 ac_c_werror_flag=$ac_save_c_werror_flag
15441 fi
15442 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15443 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15444 if test "$ac_test_CFLAGS" = set; then
15445 CFLAGS=$ac_save_CFLAGS
15446 elif test $ac_cv_prog_cc_g = yes; then
15447 if test "$GCC" = yes; then
15448 CFLAGS="-g -O2"
15449 else
15450 CFLAGS="-g"
15451 fi
15452 else
15453 if test "$GCC" = yes; then
15454 CFLAGS="-O2"
15455 else
15456 CFLAGS=
15457 fi
15458 fi
15459 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15460 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15461 if test "${ac_cv_prog_cc_c89+set}" = set; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 else
15464 ac_cv_prog_cc_c89=no
15465 ac_save_CC=$CC
15466 cat >conftest.$ac_ext <<_ACEOF
15467 /* confdefs.h. */
15468 _ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 #include <stdarg.h>
15473 #include <stdio.h>
15474 #include <sys/types.h>
15475 #include <sys/stat.h>
15476 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15477 struct buf { int x; };
15478 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15479 static char *e (p, i)
15480 char **p;
15481 int i;
15482 {
15483 return p[i];
15484 }
15485 static char *f (char * (*g) (char **, int), char **p, ...)
15486 {
15487 char *s;
15488 va_list v;
15489 va_start (v,p);
15490 s = g (p, va_arg (v,int));
15491 va_end (v);
15492 return s;
15493 }
15494
15495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15496 function prototypes and stuff, but not '\xHH' hex character constants.
15497 These don't provoke an error unfortunately, instead are silently treated
15498 as 'x'. The following induces an error, until -std is added to get
15499 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15500 array size at least. It's necessary to write '\x00'==0 to get something
15501 that's true only with -std. */
15502 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15503
15504 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15505 inside strings and character constants. */
15506 #define FOO(x) 'x'
15507 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15508
15509 int test (int i, double x);
15510 struct s1 {int (*f) (int a);};
15511 struct s2 {int (*f) (double a);};
15512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15513 int argc;
15514 char **argv;
15515 int
15516 main ()
15517 {
15518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15519 ;
15520 return 0;
15521 }
15522 _ACEOF
15523 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15524 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15525 do
15526 CC="$ac_save_CC $ac_arg"
15527 rm -f conftest.$ac_objext
15528 if { (ac_try="$ac_compile"
15529 case "(($ac_try" in
15530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15531 *) ac_try_echo=$ac_try;;
15532 esac
15533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15534 (eval "$ac_compile") 2>conftest.er1
15535 ac_status=$?
15536 grep -v '^ *+' conftest.er1 >conftest.err
15537 rm -f conftest.er1
15538 cat conftest.err >&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } && {
15541 test -z "$ac_c_werror_flag" ||
15542 test ! -s conftest.err
15543 } && test -s conftest.$ac_objext; then
15544 ac_cv_prog_cc_c89=$ac_arg
15545 else
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15548
15549
15550 fi
15551
15552 rm -f core conftest.err conftest.$ac_objext
15553 test "x$ac_cv_prog_cc_c89" != "xno" && break
15554 done
15555 rm -f conftest.$ac_ext
15556 CC=$ac_save_CC
15557
15558 fi
15559 # AC_CACHE_VAL
15560 case "x$ac_cv_prog_cc_c89" in
15561 x)
15562 { echo "$as_me:$LINENO: result: none needed" >&5
15563 echo "${ECHO_T}none needed" >&6; } ;;
15564 xno)
15565 { echo "$as_me:$LINENO: result: unsupported" >&5
15566 echo "${ECHO_T}unsupported" >&6; } ;;
15567 *)
15568 CC="$CC $ac_cv_prog_cc_c89"
15569 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15570 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15571 esac
15572
15573
15574 ac_ext=c
15575 ac_cpp='$CPP $CPPFLAGS'
15576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15579
15580
15581
15582
15583
15584
15585
15586
15587 ac_ext=c
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15592
15593 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15594 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15595 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15597 else
15598 cat >conftest.$ac_ext <<_ACEOF
15599 /* confdefs.h. */
15600 _ACEOF
15601 cat confdefs.h >>conftest.$ac_ext
15602 cat >>conftest.$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15604
15605 int
15606 main ()
15607 {
15608
15609 #ifndef __INTEL_COMPILER
15610 choke me
15611 #endif
15612
15613 ;
15614 return 0;
15615 }
15616 _ACEOF
15617 rm -f conftest.$ac_objext
15618 if { (ac_try="$ac_compile"
15619 case "(($ac_try" in
15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;;
15622 esac
15623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15624 (eval "$ac_compile") 2>conftest.er1
15625 ac_status=$?
15626 grep -v '^ *+' conftest.er1 >conftest.err
15627 rm -f conftest.er1
15628 cat conftest.err >&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } && {
15631 test -z "$ac_c_werror_flag" ||
15632 test ! -s conftest.err
15633 } && test -s conftest.$ac_objext; then
15634 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15635 else
15636 echo "$as_me: failed program was:" >&5
15637 sed 's/^/| /' conftest.$ac_ext >&5
15638
15639 bakefile_cv_c_compiler___INTEL_COMPILER=no
15640
15641 fi
15642
15643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15644
15645
15646 fi
15647 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15648 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15649 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15650 :; INTELCC=yes
15651 else
15652 :;
15653 fi
15654 ac_ext=c
15655 ac_cpp='$CPP $CPPFLAGS'
15656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15659
15660
15661
15662
15663 if test "$INTELCC" = "yes"; then
15664
15665
15666 ac_ext=c
15667 ac_cpp='$CPP $CPPFLAGS'
15668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15671
15672 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15673 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15674 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15675 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 else
15677 cat >conftest.$ac_ext <<_ACEOF
15678 /* confdefs.h. */
15679 _ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683
15684 int
15685 main ()
15686 {
15687
15688 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15689 choke me
15690 #endif
15691
15692 ;
15693 return 0;
15694 }
15695 _ACEOF
15696 rm -f conftest.$ac_objext
15697 if { (ac_try="$ac_compile"
15698 case "(($ac_try" in
15699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15700 *) ac_try_echo=$ac_try;;
15701 esac
15702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15703 (eval "$ac_compile") 2>conftest.er1
15704 ac_status=$?
15705 grep -v '^ *+' conftest.er1 >conftest.err
15706 rm -f conftest.er1
15707 cat conftest.err >&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); } && {
15710 test -z "$ac_c_werror_flag" ||
15711 test ! -s conftest.err
15712 } && test -s conftest.$ac_objext; then
15713 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15714 else
15715 echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.$ac_ext >&5
15717
15718 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15719
15720 fi
15721
15722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15723
15724
15725 fi
15726 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15727 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15728 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15729 :; INTELCC8=yes
15730 else
15731 :;
15732 fi
15733 ac_ext=c
15734 ac_cpp='$CPP $CPPFLAGS'
15735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15738
15739
15740
15741
15742
15743 ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15748
15749 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15750 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15751 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15752 echo $ECHO_N "(cached) $ECHO_C" >&6
15753 else
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760
15761 int
15762 main ()
15763 {
15764
15765 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15766 choke me
15767 #endif
15768
15769 ;
15770 return 0;
15771 }
15772 _ACEOF
15773 rm -f conftest.$ac_objext
15774 if { (ac_try="$ac_compile"
15775 case "(($ac_try" in
15776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15777 *) ac_try_echo=$ac_try;;
15778 esac
15779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15780 (eval "$ac_compile") 2>conftest.er1
15781 ac_status=$?
15782 grep -v '^ *+' conftest.er1 >conftest.err
15783 rm -f conftest.er1
15784 cat conftest.err >&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } && {
15787 test -z "$ac_c_werror_flag" ||
15788 test ! -s conftest.err
15789 } && test -s conftest.$ac_objext; then
15790 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15791 else
15792 echo "$as_me: failed program was:" >&5
15793 sed 's/^/| /' conftest.$ac_ext >&5
15794
15795 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15796
15797 fi
15798
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800
15801
15802 fi
15803 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15804 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15805 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15806 :; INTELCC10=yes
15807 else
15808 :;
15809 fi
15810 ac_ext=c
15811 ac_cpp='$CPP $CPPFLAGS'
15812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15815
15816
15817
15818 fi
15819
15820 if test "x$GCC" != "xyes"; then
15821 if test "xCC" = "xC"; then
15822 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15823 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15824 if test "${bakefile_cv_c_exto+set}" = set; then
15825 echo $ECHO_N "(cached) $ECHO_C" >&6
15826 else
15827 cat >conftest.$ac_ext <<_ACEOF
15828 /* confdefs.h. */
15829 _ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15833
15834 int
15835 main ()
15836 {
15837
15838 ;
15839 return 0;
15840 }
15841 _ACEOF
15842 rm -f conftest.$ac_objext conftest.$ac_ext.o
15843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15844 (eval $ac_compile) 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; then
15848 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15849 case $ac_file in
15850 conftest.$ac_ext.o)
15851 bakefile_cv_c_exto="-ext o"
15852 ;;
15853 *)
15854 ;;
15855 esac
15856 done
15857 else
15858 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15859 See \`config.log' for more details." >&5
15860 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15861 See \`config.log' for more details." >&2;}
15862 { (exit 1); exit 1; }; }
15863
15864 fi
15865
15866 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15867
15868 fi
15869 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15870 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15871 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15872 if test "c" = "c"; then
15873 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15874 fi
15875 if test "c" = "cxx"; then
15876 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15877 fi
15878 fi
15879
15880 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15881 unset ac_cv_prog_cc_g
15882 ac_test_CFLAGS=${CFLAGS+set}
15883 ac_save_CFLAGS=$CFLAGS
15884 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15885 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15886 if test "${ac_cv_prog_cc_g+set}" = set; then
15887 echo $ECHO_N "(cached) $ECHO_C" >&6
15888 else
15889 ac_save_c_werror_flag=$ac_c_werror_flag
15890 ac_c_werror_flag=yes
15891 ac_cv_prog_cc_g=no
15892 CFLAGS="-g"
15893 cat >conftest.$ac_ext <<_ACEOF
15894 /* confdefs.h. */
15895 _ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899
15900 int
15901 main ()
15902 {
15903
15904 ;
15905 return 0;
15906 }
15907 _ACEOF
15908 rm -f conftest.$ac_objext
15909 if { (ac_try="$ac_compile"
15910 case "(($ac_try" in
15911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15912 *) ac_try_echo=$ac_try;;
15913 esac
15914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15915 (eval "$ac_compile") 2>conftest.er1
15916 ac_status=$?
15917 grep -v '^ *+' conftest.er1 >conftest.err
15918 rm -f conftest.er1
15919 cat conftest.err >&5
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); } && {
15922 test -z "$ac_c_werror_flag" ||
15923 test ! -s conftest.err
15924 } && test -s conftest.$ac_objext; then
15925 ac_cv_prog_cc_g=yes
15926 else
15927 echo "$as_me: failed program was:" >&5
15928 sed 's/^/| /' conftest.$ac_ext >&5
15929
15930 CFLAGS=""
15931 cat >conftest.$ac_ext <<_ACEOF
15932 /* confdefs.h. */
15933 _ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937
15938 int
15939 main ()
15940 {
15941
15942 ;
15943 return 0;
15944 }
15945 _ACEOF
15946 rm -f conftest.$ac_objext
15947 if { (ac_try="$ac_compile"
15948 case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15951 esac
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_compile") 2>conftest.er1
15954 ac_status=$?
15955 grep -v '^ *+' conftest.er1 >conftest.err
15956 rm -f conftest.er1
15957 cat conftest.err >&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } && {
15960 test -z "$ac_c_werror_flag" ||
15961 test ! -s conftest.err
15962 } && test -s conftest.$ac_objext; then
15963 :
15964 else
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15967
15968 ac_c_werror_flag=$ac_save_c_werror_flag
15969 CFLAGS="-g"
15970 cat >conftest.$ac_ext <<_ACEOF
15971 /* confdefs.h. */
15972 _ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976
15977 int
15978 main ()
15979 {
15980
15981 ;
15982 return 0;
15983 }
15984 _ACEOF
15985 rm -f conftest.$ac_objext
15986 if { (ac_try="$ac_compile"
15987 case "(($ac_try" in
15988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989 *) ac_try_echo=$ac_try;;
15990 esac
15991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992 (eval "$ac_compile") 2>conftest.er1
15993 ac_status=$?
15994 grep -v '^ *+' conftest.er1 >conftest.err
15995 rm -f conftest.er1
15996 cat conftest.err >&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } && {
15999 test -z "$ac_c_werror_flag" ||
16000 test ! -s conftest.err
16001 } && test -s conftest.$ac_objext; then
16002 ac_cv_prog_cc_g=yes
16003 else
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.$ac_ext >&5
16006
16007
16008 fi
16009
16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16011 fi
16012
16013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16014 fi
16015
16016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16017 ac_c_werror_flag=$ac_save_c_werror_flag
16018 fi
16019 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16020 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16021 if test "$ac_test_CFLAGS" = set; then
16022 CFLAGS=$ac_save_CFLAGS
16023 elif test $ac_cv_prog_cc_g = yes; then
16024 if test "$GCC" = yes; then
16025 CFLAGS="-g -O2"
16026 else
16027 CFLAGS="-g"
16028 fi
16029 else
16030 if test "$GCC" = yes; then
16031 CFLAGS="-O2"
16032 else
16033 CFLAGS=
16034 fi
16035 fi
16036 fi
16037 fi
16038
16039 case `uname -s` in
16040 AIX*)
16041
16042
16043 ac_ext=c
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16048
16049 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16050 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16051 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 else
16054 cat >conftest.$ac_ext <<_ACEOF
16055 /* confdefs.h. */
16056 _ACEOF
16057 cat confdefs.h >>conftest.$ac_ext
16058 cat >>conftest.$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060
16061 int
16062 main ()
16063 {
16064
16065 #ifndef __xlC__
16066 choke me
16067 #endif
16068
16069 ;
16070 return 0;
16071 }
16072 _ACEOF
16073 rm -f conftest.$ac_objext
16074 if { (ac_try="$ac_compile"
16075 case "(($ac_try" in
16076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16077 *) ac_try_echo=$ac_try;;
16078 esac
16079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16080 (eval "$ac_compile") 2>conftest.er1
16081 ac_status=$?
16082 grep -v '^ *+' conftest.er1 >conftest.err
16083 rm -f conftest.er1
16084 cat conftest.err >&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } && {
16087 test -z "$ac_c_werror_flag" ||
16088 test ! -s conftest.err
16089 } && test -s conftest.$ac_objext; then
16090 bakefile_cv_c_compiler___xlC__=yes
16091 else
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.$ac_ext >&5
16094
16095 bakefile_cv_c_compiler___xlC__=no
16096
16097 fi
16098
16099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16100
16101
16102 fi
16103 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16104 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16105 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16106 :; XLCC=yes
16107 else
16108 :;
16109 fi
16110 ac_ext=c
16111 ac_cpp='$CPP $CPPFLAGS'
16112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16115
16116
16117
16118 ;;
16119
16120 Darwin)
16121
16122
16123 ac_ext=c
16124 ac_cpp='$CPP $CPPFLAGS'
16125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16128
16129 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16130 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16131 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16133 else
16134 cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140
16141 int
16142 main ()
16143 {
16144
16145 #ifndef __MWERKS__
16146 choke me
16147 #endif
16148
16149 ;
16150 return 0;
16151 }
16152 _ACEOF
16153 rm -f conftest.$ac_objext
16154 if { (ac_try="$ac_compile"
16155 case "(($ac_try" in
16156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16157 *) ac_try_echo=$ac_try;;
16158 esac
16159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16160 (eval "$ac_compile") 2>conftest.er1
16161 ac_status=$?
16162 grep -v '^ *+' conftest.er1 >conftest.err
16163 rm -f conftest.er1
16164 cat conftest.err >&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } && {
16167 test -z "$ac_c_werror_flag" ||
16168 test ! -s conftest.err
16169 } && test -s conftest.$ac_objext; then
16170 bakefile_cv_c_compiler___MWERKS__=yes
16171 else
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16174
16175 bakefile_cv_c_compiler___MWERKS__=no
16176
16177 fi
16178
16179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16180
16181
16182 fi
16183 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16184 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16185 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16186 :; MWCC=yes
16187 else
16188 :;
16189 fi
16190 ac_ext=c
16191 ac_cpp='$CPP $CPPFLAGS'
16192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16195
16196
16197
16198 if test "$MWCC" != "yes"; then
16199
16200
16201 ac_ext=c
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206
16207 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16208 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16209 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16210 echo $ECHO_N "(cached) $ECHO_C" >&6
16211 else
16212 cat >conftest.$ac_ext <<_ACEOF
16213 /* confdefs.h. */
16214 _ACEOF
16215 cat confdefs.h >>conftest.$ac_ext
16216 cat >>conftest.$ac_ext <<_ACEOF
16217 /* end confdefs.h. */
16218
16219 int
16220 main ()
16221 {
16222
16223 #ifndef __xlC__
16224 choke me
16225 #endif
16226
16227 ;
16228 return 0;
16229 }
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (ac_try="$ac_compile"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16236 esac
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_compile") 2>conftest.er1
16239 ac_status=$?
16240 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 } && test -s conftest.$ac_objext; then
16248 bakefile_cv_c_compiler___xlC__=yes
16249 else
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16252
16253 bakefile_cv_c_compiler___xlC__=no
16254
16255 fi
16256
16257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16258
16259
16260 fi
16261 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16262 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16263 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16264 :; XLCC=yes
16265 else
16266 :;
16267 fi
16268 ac_ext=c
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16273
16274
16275
16276 fi
16277 ;;
16278
16279 IRIX*)
16280
16281
16282 ac_ext=c
16283 ac_cpp='$CPP $CPPFLAGS'
16284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16287
16288 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16289 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16290 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16293 cat >conftest.$ac_ext <<_ACEOF
16294 /* confdefs.h. */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299
16300 int
16301 main ()
16302 {
16303
16304 #ifndef _SGI_COMPILER_VERSION
16305 choke me
16306 #endif
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16317 esac
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16320 ac_status=$?
16321 grep -v '^ *+' conftest.er1 >conftest.err
16322 rm -f conftest.er1
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_c_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.$ac_objext; then
16329 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16330 else
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16333
16334 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16335
16336 fi
16337
16338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16339
16340
16341 fi
16342 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16343 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16344 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16345 :; SGICC=yes
16346 else
16347 :;
16348 fi
16349 ac_ext=c
16350 ac_cpp='$CPP $CPPFLAGS'
16351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16354
16355
16356
16357 ;;
16358
16359 Linux*)
16360 if test "$INTELCC" != "yes"; then
16361
16362
16363 ac_ext=c
16364 ac_cpp='$CPP $CPPFLAGS'
16365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16368
16369 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16370 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16371 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 else
16374 cat >conftest.$ac_ext <<_ACEOF
16375 /* confdefs.h. */
16376 _ACEOF
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16380
16381 int
16382 main ()
16383 {
16384
16385 #ifndef __SUNPRO_C
16386 choke me
16387 #endif
16388
16389 ;
16390 return 0;
16391 }
16392 _ACEOF
16393 rm -f conftest.$ac_objext
16394 if { (ac_try="$ac_compile"
16395 case "(($ac_try" in
16396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16397 *) ac_try_echo=$ac_try;;
16398 esac
16399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16400 (eval "$ac_compile") 2>conftest.er1
16401 ac_status=$?
16402 grep -v '^ *+' conftest.er1 >conftest.err
16403 rm -f conftest.er1
16404 cat conftest.err >&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); } && {
16407 test -z "$ac_c_werror_flag" ||
16408 test ! -s conftest.err
16409 } && test -s conftest.$ac_objext; then
16410 bakefile_cv_c_compiler___SUNPRO_C=yes
16411 else
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.$ac_ext >&5
16414
16415 bakefile_cv_c_compiler___SUNPRO_C=no
16416
16417 fi
16418
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420
16421
16422 fi
16423 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16424 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16425 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16426 :; SUNCC=yes
16427 else
16428 :;
16429 fi
16430 ac_ext=c
16431 ac_cpp='$CPP $CPPFLAGS'
16432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16435
16436
16437
16438 fi
16439 ;;
16440
16441 HP-UX*)
16442
16443
16444 ac_ext=c
16445 ac_cpp='$CPP $CPPFLAGS'
16446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16449
16450 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16451 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16452 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16453 echo $ECHO_N "(cached) $ECHO_C" >&6
16454 else
16455 cat >conftest.$ac_ext <<_ACEOF
16456 /* confdefs.h. */
16457 _ACEOF
16458 cat confdefs.h >>conftest.$ac_ext
16459 cat >>conftest.$ac_ext <<_ACEOF
16460 /* end confdefs.h. */
16461
16462 int
16463 main ()
16464 {
16465
16466 #ifndef __HP_cc
16467 choke me
16468 #endif
16469
16470 ;
16471 return 0;
16472 }
16473 _ACEOF
16474 rm -f conftest.$ac_objext
16475 if { (ac_try="$ac_compile"
16476 case "(($ac_try" in
16477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16478 *) ac_try_echo=$ac_try;;
16479 esac
16480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16481 (eval "$ac_compile") 2>conftest.er1
16482 ac_status=$?
16483 grep -v '^ *+' conftest.er1 >conftest.err
16484 rm -f conftest.er1
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } && {
16488 test -z "$ac_c_werror_flag" ||
16489 test ! -s conftest.err
16490 } && test -s conftest.$ac_objext; then
16491 bakefile_cv_c_compiler___HP_cc=yes
16492 else
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.$ac_ext >&5
16495
16496 bakefile_cv_c_compiler___HP_cc=no
16497
16498 fi
16499
16500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16501
16502
16503 fi
16504 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16505 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16506 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16507 :; HPCC=yes
16508 else
16509 :;
16510 fi
16511 ac_ext=c
16512 ac_cpp='$CPP $CPPFLAGS'
16513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16516
16517
16518
16519 ;;
16520
16521 OSF1)
16522
16523
16524 ac_ext=c
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16529
16530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16531 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16532 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 else
16535 cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h. */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541
16542 int
16543 main ()
16544 {
16545
16546 #ifndef __DECC
16547 choke me
16548 #endif
16549
16550 ;
16551 return 0;
16552 }
16553 _ACEOF
16554 rm -f conftest.$ac_objext
16555 if { (ac_try="$ac_compile"
16556 case "(($ac_try" in
16557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16559 esac
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_compile") 2>conftest.er1
16562 ac_status=$?
16563 grep -v '^ *+' conftest.er1 >conftest.err
16564 rm -f conftest.er1
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } && {
16568 test -z "$ac_c_werror_flag" ||
16569 test ! -s conftest.err
16570 } && test -s conftest.$ac_objext; then
16571 bakefile_cv_c_compiler___DECC=yes
16572 else
16573 echo "$as_me: failed program was:" >&5
16574 sed 's/^/| /' conftest.$ac_ext >&5
16575
16576 bakefile_cv_c_compiler___DECC=no
16577
16578 fi
16579
16580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16581
16582
16583 fi
16584 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16585 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16586 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16587 :; COMPAQCC=yes
16588 else
16589 :;
16590 fi
16591 ac_ext=c
16592 ac_cpp='$CPP $CPPFLAGS'
16593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16596
16597
16598
16599 ;;
16600
16601 SunOS)
16602
16603
16604 ac_ext=c
16605 ac_cpp='$CPP $CPPFLAGS'
16606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16609
16610 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16611 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16612 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16614 else
16615 cat >conftest.$ac_ext <<_ACEOF
16616 /* confdefs.h. */
16617 _ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16621
16622 int
16623 main ()
16624 {
16625
16626 #ifndef __SUNPRO_C
16627 choke me
16628 #endif
16629
16630 ;
16631 return 0;
16632 }
16633 _ACEOF
16634 rm -f conftest.$ac_objext
16635 if { (ac_try="$ac_compile"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;;
16639 esac
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_compile") 2>conftest.er1
16642 ac_status=$?
16643 grep -v '^ *+' conftest.er1 >conftest.err
16644 rm -f conftest.er1
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_c_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest.$ac_objext; then
16651 bakefile_cv_c_compiler___SUNPRO_C=yes
16652 else
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16655
16656 bakefile_cv_c_compiler___SUNPRO_C=no
16657
16658 fi
16659
16660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16661
16662
16663 fi
16664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16665 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16666 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16667 :; SUNCC=yes
16668 else
16669 :;
16670 fi
16671 ac_ext=c
16672 ac_cpp='$CPP $CPPFLAGS'
16673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16676
16677
16678
16679 ;;
16680 esac
16681 fi
16682
16683
16684
16685 ac_ext=c
16686 ac_cpp='$CPP $CPPFLAGS'
16687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16690 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16691 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16692 # On Suns, sometimes $CPP names a directory.
16693 if test -n "$CPP" && test -d "$CPP"; then
16694 CPP=
16695 fi
16696 if test -z "$CPP"; then
16697 if test "${ac_cv_prog_CPP+set}" = set; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 else
16700 # Double quotes because CPP needs to be expanded
16701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16702 do
16703 ac_preproc_ok=false
16704 for ac_c_preproc_warn_flag in '' yes
16705 do
16706 # Use a header file that comes with gcc, so configuring glibc
16707 # with a fresh cross-compiler works.
16708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16709 # <limits.h> exists even on freestanding compilers.
16710 # On the NeXT, cc -E runs the code through the compiler's parser,
16711 # not just through cpp. "Syntax error" is here to catch this case.
16712 cat >conftest.$ac_ext <<_ACEOF
16713 /* confdefs.h. */
16714 _ACEOF
16715 cat confdefs.h >>conftest.$ac_ext
16716 cat >>conftest.$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 #ifdef __STDC__
16719 # include <limits.h>
16720 #else
16721 # include <assert.h>
16722 #endif
16723 Syntax error
16724 _ACEOF
16725 if { (ac_try="$ac_cpp conftest.$ac_ext"
16726 case "(($ac_try" in
16727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16728 *) ac_try_echo=$ac_try;;
16729 esac
16730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16732 ac_status=$?
16733 grep -v '^ *+' conftest.er1 >conftest.err
16734 rm -f conftest.er1
16735 cat conftest.err >&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } >/dev/null && {
16738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16739 test ! -s conftest.err
16740 }; then
16741 :
16742 else
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16745
16746 # Broken: fails on valid input.
16747 continue
16748 fi
16749
16750 rm -f conftest.err conftest.$ac_ext
16751
16752 # OK, works on sane cases. Now check whether nonexistent headers
16753 # can be detected and how.
16754 cat >conftest.$ac_ext <<_ACEOF
16755 /* confdefs.h. */
16756 _ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760 #include <ac_nonexistent.h>
16761 _ACEOF
16762 if { (ac_try="$ac_cpp conftest.$ac_ext"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16766 esac
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16769 ac_status=$?
16770 grep -v '^ *+' conftest.er1 >conftest.err
16771 rm -f conftest.er1
16772 cat conftest.err >&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } >/dev/null && {
16775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16776 test ! -s conftest.err
16777 }; then
16778 # Broken: success on invalid input.
16779 continue
16780 else
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.$ac_ext >&5
16783
16784 # Passes both tests.
16785 ac_preproc_ok=:
16786 break
16787 fi
16788
16789 rm -f conftest.err conftest.$ac_ext
16790
16791 done
16792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16793 rm -f conftest.err conftest.$ac_ext
16794 if $ac_preproc_ok; then
16795 break
16796 fi
16797
16798 done
16799 ac_cv_prog_CPP=$CPP
16800
16801 fi
16802 CPP=$ac_cv_prog_CPP
16803 else
16804 ac_cv_prog_CPP=$CPP
16805 fi
16806 { echo "$as_me:$LINENO: result: $CPP" >&5
16807 echo "${ECHO_T}$CPP" >&6; }
16808 ac_preproc_ok=false
16809 for ac_c_preproc_warn_flag in '' yes
16810 do
16811 # Use a header file that comes with gcc, so configuring glibc
16812 # with a fresh cross-compiler works.
16813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16814 # <limits.h> exists even on freestanding compilers.
16815 # On the NeXT, cc -E runs the code through the compiler's parser,
16816 # not just through cpp. "Syntax error" is here to catch this case.
16817 cat >conftest.$ac_ext <<_ACEOF
16818 /* confdefs.h. */
16819 _ACEOF
16820 cat confdefs.h >>conftest.$ac_ext
16821 cat >>conftest.$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 #ifdef __STDC__
16824 # include <limits.h>
16825 #else
16826 # include <assert.h>
16827 #endif
16828 Syntax error
16829 _ACEOF
16830 if { (ac_try="$ac_cpp conftest.$ac_ext"
16831 case "(($ac_try" in
16832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16833 *) ac_try_echo=$ac_try;;
16834 esac
16835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16837 ac_status=$?
16838 grep -v '^ *+' conftest.er1 >conftest.err
16839 rm -f conftest.er1
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } >/dev/null && {
16843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16844 test ! -s conftest.err
16845 }; then
16846 :
16847 else
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16850
16851 # Broken: fails on valid input.
16852 continue
16853 fi
16854
16855 rm -f conftest.err conftest.$ac_ext
16856
16857 # OK, works on sane cases. Now check whether nonexistent headers
16858 # can be detected and how.
16859 cat >conftest.$ac_ext <<_ACEOF
16860 /* confdefs.h. */
16861 _ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 #include <ac_nonexistent.h>
16866 _ACEOF
16867 if { (ac_try="$ac_cpp conftest.$ac_ext"
16868 case "(($ac_try" in
16869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16870 *) ac_try_echo=$ac_try;;
16871 esac
16872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16874 ac_status=$?
16875 grep -v '^ *+' conftest.er1 >conftest.err
16876 rm -f conftest.er1
16877 cat conftest.err >&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } >/dev/null && {
16880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16881 test ! -s conftest.err
16882 }; then
16883 # Broken: success on invalid input.
16884 continue
16885 else
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.$ac_ext >&5
16888
16889 # Passes both tests.
16890 ac_preproc_ok=:
16891 break
16892 fi
16893
16894 rm -f conftest.err conftest.$ac_ext
16895
16896 done
16897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16898 rm -f conftest.err conftest.$ac_ext
16899 if $ac_preproc_ok; then
16900 :
16901 else
16902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16903 See \`config.log' for more details." >&5
16904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16905 See \`config.log' for more details." >&2;}
16906 { (exit 1); exit 1; }; }
16907 fi
16908
16909 ac_ext=c
16910 ac_cpp='$CPP $CPPFLAGS'
16911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16914
16915
16916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16918 if test "${ac_cv_path_GREP+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 else
16921 # Extract the first word of "grep ggrep" to use in msg output
16922 if test -z "$GREP"; then
16923 set dummy grep ggrep; ac_prog_name=$2
16924 if test "${ac_cv_path_GREP+set}" = set; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16926 else
16927 ac_path_GREP_found=false
16928 # Loop through the user's path and test for each of PROGNAME-LIST
16929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16931 do
16932 IFS=$as_save_IFS
16933 test -z "$as_dir" && as_dir=.
16934 for ac_prog in grep ggrep; do
16935 for ac_exec_ext in '' $ac_executable_extensions; do
16936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16938 # Check for GNU ac_path_GREP and select it if it is found.
16939 # Check for GNU $ac_path_GREP
16940 case `"$ac_path_GREP" --version 2>&1` in
16941 *GNU*)
16942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16943 *)
16944 ac_count=0
16945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16946 while :
16947 do
16948 cat "conftest.in" "conftest.in" >"conftest.tmp"
16949 mv "conftest.tmp" "conftest.in"
16950 cp "conftest.in" "conftest.nl"
16951 echo 'GREP' >> "conftest.nl"
16952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16954 ac_count=`expr $ac_count + 1`
16955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16956 # Best one so far, save it but keep looking for a better one
16957 ac_cv_path_GREP="$ac_path_GREP"
16958 ac_path_GREP_max=$ac_count
16959 fi
16960 # 10*(2^10) chars as input seems more than enough
16961 test $ac_count -gt 10 && break
16962 done
16963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16964 esac
16965
16966
16967 $ac_path_GREP_found && break 3
16968 done
16969 done
16970
16971 done
16972 IFS=$as_save_IFS
16973
16974
16975 fi
16976
16977 GREP="$ac_cv_path_GREP"
16978 if test -z "$GREP"; then
16979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16981 { (exit 1); exit 1; }; }
16982 fi
16983
16984 else
16985 ac_cv_path_GREP=$GREP
16986 fi
16987
16988
16989 fi
16990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16992 GREP="$ac_cv_path_GREP"
16993
16994
16995 { echo "$as_me:$LINENO: checking for egrep" >&5
16996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16997 if test "${ac_cv_path_EGREP+set}" = set; then
16998 echo $ECHO_N "(cached) $ECHO_C" >&6
16999 else
17000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17001 then ac_cv_path_EGREP="$GREP -E"
17002 else
17003 # Extract the first word of "egrep" to use in msg output
17004 if test -z "$EGREP"; then
17005 set dummy egrep; ac_prog_name=$2
17006 if test "${ac_cv_path_EGREP+set}" = set; then
17007 echo $ECHO_N "(cached) $ECHO_C" >&6
17008 else
17009 ac_path_EGREP_found=false
17010 # Loop through the user's path and test for each of PROGNAME-LIST
17011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17012 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17013 do
17014 IFS=$as_save_IFS
17015 test -z "$as_dir" && as_dir=.
17016 for ac_prog in egrep; do
17017 for ac_exec_ext in '' $ac_executable_extensions; do
17018 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17020 # Check for GNU ac_path_EGREP and select it if it is found.
17021 # Check for GNU $ac_path_EGREP
17022 case `"$ac_path_EGREP" --version 2>&1` in
17023 *GNU*)
17024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17025 *)
17026 ac_count=0
17027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17028 while :
17029 do
17030 cat "conftest.in" "conftest.in" >"conftest.tmp"
17031 mv "conftest.tmp" "conftest.in"
17032 cp "conftest.in" "conftest.nl"
17033 echo 'EGREP' >> "conftest.nl"
17034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17036 ac_count=`expr $ac_count + 1`
17037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17038 # Best one so far, save it but keep looking for a better one
17039 ac_cv_path_EGREP="$ac_path_EGREP"
17040 ac_path_EGREP_max=$ac_count
17041 fi
17042 # 10*(2^10) chars as input seems more than enough
17043 test $ac_count -gt 10 && break
17044 done
17045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17046 esac
17047
17048
17049 $ac_path_EGREP_found && break 3
17050 done
17051 done
17052
17053 done
17054 IFS=$as_save_IFS
17055
17056
17057 fi
17058
17059 EGREP="$ac_cv_path_EGREP"
17060 if test -z "$EGREP"; then
17061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17063 { (exit 1); exit 1; }; }
17064 fi
17065
17066 else
17067 ac_cv_path_EGREP=$EGREP
17068 fi
17069
17070
17071 fi
17072 fi
17073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17075 EGREP="$ac_cv_path_EGREP"
17076
17077
17078 if test $ac_cv_c_compiler_gnu = yes; then
17079 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17080 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17081 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17083 else
17084 ac_pattern="Autoconf.*'x'"
17085 cat >conftest.$ac_ext <<_ACEOF
17086 /* confdefs.h. */
17087 _ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 #include <sgtty.h>
17092 Autoconf TIOCGETP
17093 _ACEOF
17094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17095 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17096 ac_cv_prog_gcc_traditional=yes
17097 else
17098 ac_cv_prog_gcc_traditional=no
17099 fi
17100 rm -f conftest*
17101
17102
17103 if test $ac_cv_prog_gcc_traditional = no; then
17104 cat >conftest.$ac_ext <<_ACEOF
17105 /* confdefs.h. */
17106 _ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 #include <termio.h>
17111 Autoconf TCGETA
17112 _ACEOF
17113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17114 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17115 ac_cv_prog_gcc_traditional=yes
17116 fi
17117 rm -f conftest*
17118
17119 fi
17120 fi
17121 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17123 if test $ac_cv_prog_gcc_traditional = yes; then
17124 CC="$CC -traditional"
17125 fi
17126 fi
17127
17128
17129 CXXFLAGS=${CXXFLAGS:=}
17130 ac_ext=cpp
17131 ac_cpp='$CXXCPP $CPPFLAGS'
17132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17135 if test -z "$CXX"; then
17136 if test -n "$CCC"; then
17137 CXX=$CCC
17138 else
17139 if test -n "$ac_tool_prefix"; then
17140 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17141 do
17142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17146 if test "${ac_cv_prog_CXX+set}" = set; then
17147 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 else
17149 if test -n "$CXX"; then
17150 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17151 else
17152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17153 for as_dir in $PATH
17154 do
17155 IFS=$as_save_IFS
17156 test -z "$as_dir" && as_dir=.
17157 for ac_exec_ext in '' $ac_executable_extensions; do
17158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17159 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17161 break 2
17162 fi
17163 done
17164 done
17165 IFS=$as_save_IFS
17166
17167 fi
17168 fi
17169 CXX=$ac_cv_prog_CXX
17170 if test -n "$CXX"; then
17171 { echo "$as_me:$LINENO: result: $CXX" >&5
17172 echo "${ECHO_T}$CXX" >&6; }
17173 else
17174 { echo "$as_me:$LINENO: result: no" >&5
17175 echo "${ECHO_T}no" >&6; }
17176 fi
17177
17178
17179 test -n "$CXX" && break
17180 done
17181 fi
17182 if test -z "$CXX"; then
17183 ac_ct_CXX=$CXX
17184 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17185 do
17186 # Extract the first word of "$ac_prog", so it can be a program name with args.
17187 set dummy $ac_prog; ac_word=$2
17188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17190 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17191 echo $ECHO_N "(cached) $ECHO_C" >&6
17192 else
17193 if test -n "$ac_ct_CXX"; then
17194 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17195 else
17196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17197 for as_dir in $PATH
17198 do
17199 IFS=$as_save_IFS
17200 test -z "$as_dir" && as_dir=.
17201 for ac_exec_ext in '' $ac_executable_extensions; do
17202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17203 ac_cv_prog_ac_ct_CXX="$ac_prog"
17204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17205 break 2
17206 fi
17207 done
17208 done
17209 IFS=$as_save_IFS
17210
17211 fi
17212 fi
17213 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17214 if test -n "$ac_ct_CXX"; then
17215 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17216 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17217 else
17218 { echo "$as_me:$LINENO: result: no" >&5
17219 echo "${ECHO_T}no" >&6; }
17220 fi
17221
17222
17223 test -n "$ac_ct_CXX" && break
17224 done
17225
17226 if test "x$ac_ct_CXX" = x; then
17227 CXX="g++"
17228 else
17229 case $cross_compiling:$ac_tool_warned in
17230 yes:)
17231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17232 whose name does not start with the host triplet. If you think this
17233 configuration is useful to you, please write to autoconf@gnu.org." >&5
17234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17235 whose name does not start with the host triplet. If you think this
17236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17237 ac_tool_warned=yes ;;
17238 esac
17239 CXX=$ac_ct_CXX
17240 fi
17241 fi
17242
17243 fi
17244 fi
17245 # Provide some information about the compiler.
17246 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17247 ac_compiler=`set X $ac_compile; echo $2`
17248 { (ac_try="$ac_compiler --version >&5"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17252 esac
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compiler --version >&5") 2>&5
17255 ac_status=$?
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }
17258 { (ac_try="$ac_compiler -v >&5"
17259 case "(($ac_try" in
17260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17261 *) ac_try_echo=$ac_try;;
17262 esac
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17264 (eval "$ac_compiler -v >&5") 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }
17268 { (ac_try="$ac_compiler -V >&5"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17271 *) ac_try_echo=$ac_try;;
17272 esac
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_compiler -V >&5") 2>&5
17275 ac_status=$?
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }
17278
17279 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17280 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17281 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 else
17284 cat >conftest.$ac_ext <<_ACEOF
17285 /* confdefs.h. */
17286 _ACEOF
17287 cat confdefs.h >>conftest.$ac_ext
17288 cat >>conftest.$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17290
17291 int
17292 main ()
17293 {
17294 #ifndef __GNUC__
17295 choke me
17296 #endif
17297
17298 ;
17299 return 0;
17300 }
17301 _ACEOF
17302 rm -f conftest.$ac_objext
17303 if { (ac_try="$ac_compile"
17304 case "(($ac_try" in
17305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17306 *) ac_try_echo=$ac_try;;
17307 esac
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_compile") 2>conftest.er1
17310 ac_status=$?
17311 grep -v '^ *+' conftest.er1 >conftest.err
17312 rm -f conftest.er1
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_cxx_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest.$ac_objext; then
17319 ac_compiler_gnu=yes
17320 else
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.$ac_ext >&5
17323
17324 ac_compiler_gnu=no
17325 fi
17326
17327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17328 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17329
17330 fi
17331 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17332 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17333 GXX=`test $ac_compiler_gnu = yes && echo yes`
17334 ac_test_CXXFLAGS=${CXXFLAGS+set}
17335 ac_save_CXXFLAGS=$CXXFLAGS
17336 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17337 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17338 if test "${ac_cv_prog_cxx_g+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 else
17341 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17342 ac_cxx_werror_flag=yes
17343 ac_cv_prog_cxx_g=no
17344 CXXFLAGS="-g"
17345 cat >conftest.$ac_ext <<_ACEOF
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351
17352 int
17353 main ()
17354 {
17355
17356 ;
17357 return 0;
17358 }
17359 _ACEOF
17360 rm -f conftest.$ac_objext
17361 if { (ac_try="$ac_compile"
17362 case "(($ac_try" in
17363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17365 esac
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_compile") 2>conftest.er1
17368 ac_status=$?
17369 grep -v '^ *+' conftest.er1 >conftest.err
17370 rm -f conftest.er1
17371 cat conftest.err >&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } && {
17374 test -z "$ac_cxx_werror_flag" ||
17375 test ! -s conftest.err
17376 } && test -s conftest.$ac_objext; then
17377 ac_cv_prog_cxx_g=yes
17378 else
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17381
17382 CXXFLAGS=""
17383 cat >conftest.$ac_ext <<_ACEOF
17384 /* confdefs.h. */
17385 _ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389
17390 int
17391 main ()
17392 {
17393
17394 ;
17395 return 0;
17396 }
17397 _ACEOF
17398 rm -f conftest.$ac_objext
17399 if { (ac_try="$ac_compile"
17400 case "(($ac_try" in
17401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17402 *) ac_try_echo=$ac_try;;
17403 esac
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17405 (eval "$ac_compile") 2>conftest.er1
17406 ac_status=$?
17407 grep -v '^ *+' conftest.er1 >conftest.err
17408 rm -f conftest.er1
17409 cat conftest.err >&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } && {
17412 test -z "$ac_cxx_werror_flag" ||
17413 test ! -s conftest.err
17414 } && test -s conftest.$ac_objext; then
17415 :
17416 else
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.$ac_ext >&5
17419
17420 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17421 CXXFLAGS="-g"
17422 cat >conftest.$ac_ext <<_ACEOF
17423 /* confdefs.h. */
17424 _ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428
17429 int
17430 main ()
17431 {
17432
17433 ;
17434 return 0;
17435 }
17436 _ACEOF
17437 rm -f conftest.$ac_objext
17438 if { (ac_try="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17442 esac
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17445 ac_status=$?
17446 grep -v '^ *+' conftest.er1 >conftest.err
17447 rm -f conftest.er1
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_cxx_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.$ac_objext; then
17454 ac_cv_prog_cxx_g=yes
17455 else
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17458
17459
17460 fi
17461
17462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17463 fi
17464
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17466 fi
17467
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17470 fi
17471 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17472 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17473 if test "$ac_test_CXXFLAGS" = set; then
17474 CXXFLAGS=$ac_save_CXXFLAGS
17475 elif test $ac_cv_prog_cxx_g = yes; then
17476 if test "$GXX" = yes; then
17477 CXXFLAGS="-g -O2"
17478 else
17479 CXXFLAGS="-g"
17480 fi
17481 else
17482 if test "$GXX" = yes; then
17483 CXXFLAGS="-O2"
17484 else
17485 CXXFLAGS=
17486 fi
17487 fi
17488 ac_ext=c
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17493
17494
17495
17496
17497
17498
17499
17500
17501 ac_ext=cpp
17502 ac_cpp='$CXXCPP $CPPFLAGS'
17503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17506
17507 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17508 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17509 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 else
17512 cat >conftest.$ac_ext <<_ACEOF
17513 /* confdefs.h. */
17514 _ACEOF
17515 cat confdefs.h >>conftest.$ac_ext
17516 cat >>conftest.$ac_ext <<_ACEOF
17517 /* end confdefs.h. */
17518
17519 int
17520 main ()
17521 {
17522
17523 #ifndef __INTEL_COMPILER
17524 choke me
17525 #endif
17526
17527 ;
17528 return 0;
17529 }
17530 _ACEOF
17531 rm -f conftest.$ac_objext
17532 if { (ac_try="$ac_compile"
17533 case "(($ac_try" in
17534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17535 *) ac_try_echo=$ac_try;;
17536 esac
17537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17538 (eval "$ac_compile") 2>conftest.er1
17539 ac_status=$?
17540 grep -v '^ *+' conftest.er1 >conftest.err
17541 rm -f conftest.er1
17542 cat conftest.err >&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } && {
17545 test -z "$ac_cxx_werror_flag" ||
17546 test ! -s conftest.err
17547 } && test -s conftest.$ac_objext; then
17548 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17549 else
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.$ac_ext >&5
17552
17553 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17554
17555 fi
17556
17557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558
17559
17560 fi
17561 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17562 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17563 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17564 :; INTELCXX=yes
17565 else
17566 :;
17567 fi
17568 ac_ext=c
17569 ac_cpp='$CPP $CPPFLAGS'
17570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17573
17574
17575
17576
17577 if test "$INTELCXX" = "yes"; then
17578
17579
17580 ac_ext=cpp
17581 ac_cpp='$CXXCPP $CPPFLAGS'
17582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17585
17586 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17587 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17588 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 else
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597
17598 int
17599 main ()
17600 {
17601
17602 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17603 choke me
17604 #endif
17605
17606 ;
17607 return 0;
17608 }
17609 _ACEOF
17610 rm -f conftest.$ac_objext
17611 if { (ac_try="$ac_compile"
17612 case "(($ac_try" in
17613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17614 *) ac_try_echo=$ac_try;;
17615 esac
17616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17617 (eval "$ac_compile") 2>conftest.er1
17618 ac_status=$?
17619 grep -v '^ *+' conftest.er1 >conftest.err
17620 rm -f conftest.er1
17621 cat conftest.err >&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } && {
17624 test -z "$ac_cxx_werror_flag" ||
17625 test ! -s conftest.err
17626 } && test -s conftest.$ac_objext; then
17627 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17628 else
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.$ac_ext >&5
17631
17632 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17633
17634 fi
17635
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17637
17638
17639 fi
17640 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17641 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17642 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17643 :; INTELCXX8=yes
17644 else
17645 :;
17646 fi
17647 ac_ext=c
17648 ac_cpp='$CPP $CPPFLAGS'
17649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17652
17653
17654
17655
17656
17657 ac_ext=cpp
17658 ac_cpp='$CXXCPP $CPPFLAGS'
17659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17662
17663 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17664 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17665 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17666 echo $ECHO_N "(cached) $ECHO_C" >&6
17667 else
17668 cat >conftest.$ac_ext <<_ACEOF
17669 /* confdefs.h. */
17670 _ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17674
17675 int
17676 main ()
17677 {
17678
17679 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17680 choke me
17681 #endif
17682
17683 ;
17684 return 0;
17685 }
17686 _ACEOF
17687 rm -f conftest.$ac_objext
17688 if { (ac_try="$ac_compile"
17689 case "(($ac_try" in
17690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17691 *) ac_try_echo=$ac_try;;
17692 esac
17693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17694 (eval "$ac_compile") 2>conftest.er1
17695 ac_status=$?
17696 grep -v '^ *+' conftest.er1 >conftest.err
17697 rm -f conftest.er1
17698 cat conftest.err >&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } && {
17701 test -z "$ac_cxx_werror_flag" ||
17702 test ! -s conftest.err
17703 } && test -s conftest.$ac_objext; then
17704 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17705 else
17706 echo "$as_me: failed program was:" >&5
17707 sed 's/^/| /' conftest.$ac_ext >&5
17708
17709 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17710
17711 fi
17712
17713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714
17715
17716 fi
17717 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17718 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17719 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17720 :; INTELCXX10=yes
17721 else
17722 :;
17723 fi
17724 ac_ext=c
17725 ac_cpp='$CPP $CPPFLAGS'
17726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17729
17730
17731
17732 fi
17733
17734 if test "x$GCXX" != "xyes"; then
17735 if test "xCXX" = "xC"; then
17736 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17737 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17738 if test "${bakefile_cv_c_exto+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 else
17741 cat >conftest.$ac_ext <<_ACEOF
17742 /* confdefs.h. */
17743 _ACEOF
17744 cat confdefs.h >>conftest.$ac_ext
17745 cat >>conftest.$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747
17748 int
17749 main ()
17750 {
17751
17752 ;
17753 return 0;
17754 }
17755 _ACEOF
17756 rm -f conftest.$ac_objext conftest.$ac_ext.o
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>&5
17759 ac_status=$?
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; then
17762 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17763 case $ac_file in
17764 conftest.$ac_ext.o)
17765 bakefile_cv_c_exto="-ext o"
17766 ;;
17767 *)
17768 ;;
17769 esac
17770 done
17771 else
17772 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17773 See \`config.log' for more details." >&5
17774 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17775 See \`config.log' for more details." >&2;}
17776 { (exit 1); exit 1; }; }
17777
17778 fi
17779
17780 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17781
17782 fi
17783 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17784 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17785 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17786 if test "c" = "c"; then
17787 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17788 fi
17789 if test "c" = "cxx"; then
17790 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17791 fi
17792 fi
17793
17794 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17795 unset ac_cv_prog_cc_g
17796 ac_test_CFLAGS=${CFLAGS+set}
17797 ac_save_CFLAGS=$CFLAGS
17798 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17799 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17800 if test "${ac_cv_prog_cc_g+set}" = set; then
17801 echo $ECHO_N "(cached) $ECHO_C" >&6
17802 else
17803 ac_save_c_werror_flag=$ac_c_werror_flag
17804 ac_c_werror_flag=yes
17805 ac_cv_prog_cc_g=no
17806 CFLAGS="-g"
17807 cat >conftest.$ac_ext <<_ACEOF
17808 /* confdefs.h. */
17809 _ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17813
17814 int
17815 main ()
17816 {
17817
17818 ;
17819 return 0;
17820 }
17821 _ACEOF
17822 rm -f conftest.$ac_objext
17823 if { (ac_try="$ac_compile"
17824 case "(($ac_try" in
17825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17826 *) ac_try_echo=$ac_try;;
17827 esac
17828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17829 (eval "$ac_compile") 2>conftest.er1
17830 ac_status=$?
17831 grep -v '^ *+' conftest.er1 >conftest.err
17832 rm -f conftest.er1
17833 cat conftest.err >&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } && {
17836 test -z "$ac_c_werror_flag" ||
17837 test ! -s conftest.err
17838 } && test -s conftest.$ac_objext; then
17839 ac_cv_prog_cc_g=yes
17840 else
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17843
17844 CFLAGS=""
17845 cat >conftest.$ac_ext <<_ACEOF
17846 /* confdefs.h. */
17847 _ACEOF
17848 cat confdefs.h >>conftest.$ac_ext
17849 cat >>conftest.$ac_ext <<_ACEOF
17850 /* end confdefs.h. */
17851
17852 int
17853 main ()
17854 {
17855
17856 ;
17857 return 0;
17858 }
17859 _ACEOF
17860 rm -f conftest.$ac_objext
17861 if { (ac_try="$ac_compile"
17862 case "(($ac_try" in
17863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17864 *) ac_try_echo=$ac_try;;
17865 esac
17866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17867 (eval "$ac_compile") 2>conftest.er1
17868 ac_status=$?
17869 grep -v '^ *+' conftest.er1 >conftest.err
17870 rm -f conftest.er1
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_c_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest.$ac_objext; then
17877 :
17878 else
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.$ac_ext >&5
17881
17882 ac_c_werror_flag=$ac_save_c_werror_flag
17883 CFLAGS="-g"
17884 cat >conftest.$ac_ext <<_ACEOF
17885 /* confdefs.h. */
17886 _ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890
17891 int
17892 main ()
17893 {
17894
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 rm -f conftest.$ac_objext
17900 if { (ac_try="$ac_compile"
17901 case "(($ac_try" in
17902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17903 *) ac_try_echo=$ac_try;;
17904 esac
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_compile") 2>conftest.er1
17907 ac_status=$?
17908 grep -v '^ *+' conftest.er1 >conftest.err
17909 rm -f conftest.er1
17910 cat conftest.err >&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } && {
17913 test -z "$ac_c_werror_flag" ||
17914 test ! -s conftest.err
17915 } && test -s conftest.$ac_objext; then
17916 ac_cv_prog_cc_g=yes
17917 else
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17920
17921
17922 fi
17923
17924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17925 fi
17926
17927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17928 fi
17929
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 ac_c_werror_flag=$ac_save_c_werror_flag
17932 fi
17933 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17935 if test "$ac_test_CFLAGS" = set; then
17936 CFLAGS=$ac_save_CFLAGS
17937 elif test $ac_cv_prog_cc_g = yes; then
17938 if test "$GCC" = yes; then
17939 CFLAGS="-g -O2"
17940 else
17941 CFLAGS="-g"
17942 fi
17943 else
17944 if test "$GCC" = yes; then
17945 CFLAGS="-O2"
17946 else
17947 CFLAGS=
17948 fi
17949 fi
17950 fi
17951 fi
17952
17953 case `uname -s` in
17954 AIX*)
17955
17956
17957 ac_ext=cpp
17958 ac_cpp='$CXXCPP $CPPFLAGS'
17959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17962
17963 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17964 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17965 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 else
17968 cat >conftest.$ac_ext <<_ACEOF
17969 /* confdefs.h. */
17970 _ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17974
17975 int
17976 main ()
17977 {
17978
17979 #ifndef __xlC__
17980 choke me
17981 #endif
17982
17983 ;
17984 return 0;
17985 }
17986 _ACEOF
17987 rm -f conftest.$ac_objext
17988 if { (ac_try="$ac_compile"
17989 case "(($ac_try" in
17990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17991 *) ac_try_echo=$ac_try;;
17992 esac
17993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17994 (eval "$ac_compile") 2>conftest.er1
17995 ac_status=$?
17996 grep -v '^ *+' conftest.er1 >conftest.err
17997 rm -f conftest.er1
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } && {
18001 test -z "$ac_cxx_werror_flag" ||
18002 test ! -s conftest.err
18003 } && test -s conftest.$ac_objext; then
18004 bakefile_cv_cxx_compiler___xlC__=yes
18005 else
18006 echo "$as_me: failed program was:" >&5
18007 sed 's/^/| /' conftest.$ac_ext >&5
18008
18009 bakefile_cv_cxx_compiler___xlC__=no
18010
18011 fi
18012
18013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18014
18015
18016 fi
18017 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18018 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18019 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18020 :; XLCXX=yes
18021 else
18022 :;
18023 fi
18024 ac_ext=c
18025 ac_cpp='$CPP $CPPFLAGS'
18026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18029
18030
18031
18032 ;;
18033
18034 Darwin)
18035
18036
18037 ac_ext=cpp
18038 ac_cpp='$CXXCPP $CPPFLAGS'
18039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18042
18043 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18044 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18045 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18047 else
18048 cat >conftest.$ac_ext <<_ACEOF
18049 /* confdefs.h. */
18050 _ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054
18055 int
18056 main ()
18057 {
18058
18059 #ifndef __MWERKS__
18060 choke me
18061 #endif
18062
18063 ;
18064 return 0;
18065 }
18066 _ACEOF
18067 rm -f conftest.$ac_objext
18068 if { (ac_try="$ac_compile"
18069 case "(($ac_try" in
18070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18071 *) ac_try_echo=$ac_try;;
18072 esac
18073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18074 (eval "$ac_compile") 2>conftest.er1
18075 ac_status=$?
18076 grep -v '^ *+' conftest.er1 >conftest.err
18077 rm -f conftest.er1
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } && {
18081 test -z "$ac_cxx_werror_flag" ||
18082 test ! -s conftest.err
18083 } && test -s conftest.$ac_objext; then
18084 bakefile_cv_cxx_compiler___MWERKS__=yes
18085 else
18086 echo "$as_me: failed program was:" >&5
18087 sed 's/^/| /' conftest.$ac_ext >&5
18088
18089 bakefile_cv_cxx_compiler___MWERKS__=no
18090
18091 fi
18092
18093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18094
18095
18096 fi
18097 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18098 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18099 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18100 :; MWCXX=yes
18101 else
18102 :;
18103 fi
18104 ac_ext=c
18105 ac_cpp='$CPP $CPPFLAGS'
18106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18109
18110
18111
18112 if test "$MWCXX" != "yes"; then
18113
18114
18115 ac_ext=cpp
18116 ac_cpp='$CXXCPP $CPPFLAGS'
18117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18120
18121 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18122 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18123 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 else
18126 cat >conftest.$ac_ext <<_ACEOF
18127 /* confdefs.h. */
18128 _ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18132
18133 int
18134 main ()
18135 {
18136
18137 #ifndef __xlC__
18138 choke me
18139 #endif
18140
18141 ;
18142 return 0;
18143 }
18144 _ACEOF
18145 rm -f conftest.$ac_objext
18146 if { (ac_try="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18149 *) ac_try_echo=$ac_try;;
18150 esac
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_cxx_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.$ac_objext; then
18162 bakefile_cv_cxx_compiler___xlC__=yes
18163 else
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18166
18167 bakefile_cv_cxx_compiler___xlC__=no
18168
18169 fi
18170
18171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18172
18173
18174 fi
18175 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18176 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18177 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18178 :; XLCXX=yes
18179 else
18180 :;
18181 fi
18182 ac_ext=c
18183 ac_cpp='$CPP $CPPFLAGS'
18184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18187
18188
18189
18190 fi
18191 ;;
18192
18193 IRIX*)
18194
18195
18196 ac_ext=cpp
18197 ac_cpp='$CXXCPP $CPPFLAGS'
18198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18201
18202 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18203 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18204 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 else
18207 cat >conftest.$ac_ext <<_ACEOF
18208 /* confdefs.h. */
18209 _ACEOF
18210 cat confdefs.h >>conftest.$ac_ext
18211 cat >>conftest.$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18213
18214 int
18215 main ()
18216 {
18217
18218 #ifndef _SGI_COMPILER_VERSION
18219 choke me
18220 #endif
18221
18222 ;
18223 return 0;
18224 }
18225 _ACEOF
18226 rm -f conftest.$ac_objext
18227 if { (ac_try="$ac_compile"
18228 case "(($ac_try" in
18229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18230 *) ac_try_echo=$ac_try;;
18231 esac
18232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18233 (eval "$ac_compile") 2>conftest.er1
18234 ac_status=$?
18235 grep -v '^ *+' conftest.er1 >conftest.err
18236 rm -f conftest.er1
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } && {
18240 test -z "$ac_cxx_werror_flag" ||
18241 test ! -s conftest.err
18242 } && test -s conftest.$ac_objext; then
18243 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18244 else
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18247
18248 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18249
18250 fi
18251
18252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18253
18254
18255 fi
18256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18257 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18258 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18259 :; SGICXX=yes
18260 else
18261 :;
18262 fi
18263 ac_ext=c
18264 ac_cpp='$CPP $CPPFLAGS'
18265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18268
18269
18270
18271 ;;
18272
18273 Linux*)
18274 if test "$INTELCXX" != "yes"; then
18275
18276
18277 ac_ext=cpp
18278 ac_cpp='$CXXCPP $CPPFLAGS'
18279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18282
18283 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18284 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18285 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18287 else
18288 cat >conftest.$ac_ext <<_ACEOF
18289 /* confdefs.h. */
18290 _ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294
18295 int
18296 main ()
18297 {
18298
18299 #ifndef __SUNPRO_CC
18300 choke me
18301 #endif
18302
18303 ;
18304 return 0;
18305 }
18306 _ACEOF
18307 rm -f conftest.$ac_objext
18308 if { (ac_try="$ac_compile"
18309 case "(($ac_try" in
18310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18311 *) ac_try_echo=$ac_try;;
18312 esac
18313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18314 (eval "$ac_compile") 2>conftest.er1
18315 ac_status=$?
18316 grep -v '^ *+' conftest.er1 >conftest.err
18317 rm -f conftest.er1
18318 cat conftest.err >&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } && {
18321 test -z "$ac_cxx_werror_flag" ||
18322 test ! -s conftest.err
18323 } && test -s conftest.$ac_objext; then
18324 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18325 else
18326 echo "$as_me: failed program was:" >&5
18327 sed 's/^/| /' conftest.$ac_ext >&5
18328
18329 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18330
18331 fi
18332
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18334
18335
18336 fi
18337 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18338 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18339 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18340 :; SUNCXX=yes
18341 else
18342 :;
18343 fi
18344 ac_ext=c
18345 ac_cpp='$CPP $CPPFLAGS'
18346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18349
18350
18351
18352 fi
18353 ;;
18354
18355 HP-UX*)
18356
18357
18358 ac_ext=cpp
18359 ac_cpp='$CXXCPP $CPPFLAGS'
18360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18363
18364 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18365 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18366 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18367 echo $ECHO_N "(cached) $ECHO_C" >&6
18368 else
18369 cat >conftest.$ac_ext <<_ACEOF
18370 /* confdefs.h. */
18371 _ACEOF
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375
18376 int
18377 main ()
18378 {
18379
18380 #ifndef __HP_aCC
18381 choke me
18382 #endif
18383
18384 ;
18385 return 0;
18386 }
18387 _ACEOF
18388 rm -f conftest.$ac_objext
18389 if { (ac_try="$ac_compile"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18393 esac
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_compile") 2>conftest.er1
18396 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_cxx_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then
18405 bakefile_cv_cxx_compiler___HP_aCC=yes
18406 else
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18409
18410 bakefile_cv_cxx_compiler___HP_aCC=no
18411
18412 fi
18413
18414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18415
18416
18417 fi
18418 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18419 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18420 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18421 :; HPCXX=yes
18422 else
18423 :;
18424 fi
18425 ac_ext=c
18426 ac_cpp='$CPP $CPPFLAGS'
18427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18430
18431
18432
18433 ;;
18434
18435 OSF1)
18436
18437
18438 ac_ext=cpp
18439 ac_cpp='$CXXCPP $CPPFLAGS'
18440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18443
18444 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18445 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18446 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 else
18449 cat >conftest.$ac_ext <<_ACEOF
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455
18456 int
18457 main ()
18458 {
18459
18460 #ifndef __DECCXX
18461 choke me
18462 #endif
18463
18464 ;
18465 return 0;
18466 }
18467 _ACEOF
18468 rm -f conftest.$ac_objext
18469 if { (ac_try="$ac_compile"
18470 case "(($ac_try" in
18471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18472 *) ac_try_echo=$ac_try;;
18473 esac
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_compile") 2>conftest.er1
18476 ac_status=$?
18477 grep -v '^ *+' conftest.er1 >conftest.err
18478 rm -f conftest.er1
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && {
18482 test -z "$ac_cxx_werror_flag" ||
18483 test ! -s conftest.err
18484 } && test -s conftest.$ac_objext; then
18485 bakefile_cv_cxx_compiler___DECCXX=yes
18486 else
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18489
18490 bakefile_cv_cxx_compiler___DECCXX=no
18491
18492 fi
18493
18494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18495
18496
18497 fi
18498 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18499 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18500 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18501 :; COMPAQCXX=yes
18502 else
18503 :;
18504 fi
18505 ac_ext=c
18506 ac_cpp='$CPP $CPPFLAGS'
18507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18510
18511
18512
18513 ;;
18514
18515 SunOS)
18516
18517
18518 ac_ext=cpp
18519 ac_cpp='$CXXCPP $CPPFLAGS'
18520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18523
18524 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18525 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18526 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18527 echo $ECHO_N "(cached) $ECHO_C" >&6
18528 else
18529 cat >conftest.$ac_ext <<_ACEOF
18530 /* confdefs.h. */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535
18536 int
18537 main ()
18538 {
18539
18540 #ifndef __SUNPRO_CC
18541 choke me
18542 #endif
18543
18544 ;
18545 return 0;
18546 }
18547 _ACEOF
18548 rm -f conftest.$ac_objext
18549 if { (ac_try="$ac_compile"
18550 case "(($ac_try" in
18551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18552 *) ac_try_echo=$ac_try;;
18553 esac
18554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18555 (eval "$ac_compile") 2>conftest.er1
18556 ac_status=$?
18557 grep -v '^ *+' conftest.er1 >conftest.err
18558 rm -f conftest.er1
18559 cat conftest.err >&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } && {
18562 test -z "$ac_cxx_werror_flag" ||
18563 test ! -s conftest.err
18564 } && test -s conftest.$ac_objext; then
18565 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18566 else
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.$ac_ext >&5
18569
18570 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18571
18572 fi
18573
18574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18575
18576
18577 fi
18578 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18579 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18580 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18581 :; SUNCXX=yes
18582 else
18583 :;
18584 fi
18585 ac_ext=c
18586 ac_cpp='$CPP $CPPFLAGS'
18587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18590
18591
18592
18593 ;;
18594 esac
18595 fi
18596
18597
18598
18599 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18600 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18601 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18602 { (exit 1); exit 1; }; }
18603 fi
18604
18605 if test "x$SUNCXX" != xyes; then
18606 if test -n "$ac_tool_prefix"; then
18607 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18608 set dummy ${ac_tool_prefix}ar; ac_word=$2
18609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18611 if test "${ac_cv_prog_AR+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18613 else
18614 if test -n "$AR"; then
18615 ac_cv_prog_AR="$AR" # Let the user override the test.
18616 else
18617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18618 for as_dir in $PATH
18619 do
18620 IFS=$as_save_IFS
18621 test -z "$as_dir" && as_dir=.
18622 for ac_exec_ext in '' $ac_executable_extensions; do
18623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18624 ac_cv_prog_AR="${ac_tool_prefix}ar"
18625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18626 break 2
18627 fi
18628 done
18629 done
18630 IFS=$as_save_IFS
18631
18632 fi
18633 fi
18634 AR=$ac_cv_prog_AR
18635 if test -n "$AR"; then
18636 { echo "$as_me:$LINENO: result: $AR" >&5
18637 echo "${ECHO_T}$AR" >&6; }
18638 else
18639 { echo "$as_me:$LINENO: result: no" >&5
18640 echo "${ECHO_T}no" >&6; }
18641 fi
18642
18643
18644 fi
18645 if test -z "$ac_cv_prog_AR"; then
18646 ac_ct_AR=$AR
18647 # Extract the first word of "ar", so it can be a program name with args.
18648 set dummy ar; ac_word=$2
18649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18651 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18652 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 else
18654 if test -n "$ac_ct_AR"; then
18655 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18656 else
18657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18658 for as_dir in $PATH
18659 do
18660 IFS=$as_save_IFS
18661 test -z "$as_dir" && as_dir=.
18662 for ac_exec_ext in '' $ac_executable_extensions; do
18663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18664 ac_cv_prog_ac_ct_AR="ar"
18665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18666 break 2
18667 fi
18668 done
18669 done
18670 IFS=$as_save_IFS
18671
18672 fi
18673 fi
18674 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18675 if test -n "$ac_ct_AR"; then
18676 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18677 echo "${ECHO_T}$ac_ct_AR" >&6; }
18678 else
18679 { echo "$as_me:$LINENO: result: no" >&5
18680 echo "${ECHO_T}no" >&6; }
18681 fi
18682
18683 if test "x$ac_ct_AR" = x; then
18684 AR=""
18685 else
18686 case $cross_compiling:$ac_tool_warned in
18687 yes:)
18688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18689 whose name does not start with the host triplet. If you think this
18690 configuration is useful to you, please write to autoconf@gnu.org." >&5
18691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18692 whose name does not start with the host triplet. If you think this
18693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18694 ac_tool_warned=yes ;;
18695 esac
18696 AR=$ac_ct_AR
18697 fi
18698 else
18699 AR="$ac_cv_prog_AR"
18700 fi
18701
18702 if test "x$AR" = "x" ; then
18703 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18704 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18705 { (exit 1); exit 1; }; }
18706 fi
18707 fi
18708
18709
18710 if test "$wxUSE_MAC" = 1; then
18711
18712 retest_macosx_linking=no
18713
18714 OSX_ARCH_OPTS=""
18715 if test "x$wxUSE_MAC_ARCH" != xno; then
18716 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18717 fi
18718
18719 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18720 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18721 # Implicitly turn on the new --with-macosx-sdk using the default
18722 # SDK which provides the behaviour this option has always had.
18723 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18724 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18725 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18726 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18727 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18728 wxUSE_MACOSX_SDK=yes
18729 fi
18730 else
18731 # Complain to user if he specified an argument to --enable-universal_binary
18732 # and also 1) specified --with-macosx-sdk using the default (yes) or
18733 # 2) specified --with-macosx-sdk using a path or 3) specified
18734 # --without-macosx-sdk (no).
18735 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18736 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18737 See \`config.log' for more details." >&5
18738 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18739 See \`config.log' for more details." >&2;}
18740 { (exit 1); exit 1; }; }
18741 else
18742 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18743 # special-case the empty string because the below test simply
18744 # converts "no" to the empty string anyway.
18745 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18746 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18747 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18748 fi
18749 fi
18750 OSX_ARCH_OPTS="-arch ppc -arch i386"
18751 if test "$wxUSE_OSX_COCOA" = 1; then
18752 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18753 fi
18754 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18755 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18756 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18757 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18758
18759 retest_macosx_linking=yes
18760
18761 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18762 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18763 bk_use_pch=no
18764 fi
18765
18766 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18767 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18768 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18769 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18770 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18771
18772 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18773 wxUSE_MACOSX_SDK=
18774 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18775 # TODO: Search for most recent SDK and use it.
18776 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18777 fi
18778
18779
18780 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18781 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18782 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18783 if ! test -d "$wxUSE_MACOSX_SDK"; then
18784 { { echo "$as_me:$LINENO: error: not found
18785 See \`config.log' for more details." >&5
18786 echo "$as_me: error: not found
18787 See \`config.log' for more details." >&2;}
18788 { (exit 1); exit 1; }; }
18789 else
18790 { echo "$as_me:$LINENO: result: exists" >&5
18791 echo "${ECHO_T}exists" >&6; }
18792 fi
18793 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18794 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18795 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18796 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18797 retest_macosx_linking=yes
18798 fi
18799
18800 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18801 wxUSE_MACOSX_VERSION_MIN=
18802 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18803 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18804 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18805 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18806
18807 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/'`
18808
18809 # If that failed, try again with the new key
18810 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18811
18812 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/'`
18813
18814 fi
18815
18816 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18817 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18818 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18819 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18820 else
18821 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18822 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18823 wxUSE_MACOSX_VERSION_MIN=
18824 fi
18825 else
18826 wxUSE_MACOSX_VERSION_MIN=
18827 fi
18828 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18829 for ac_prog in sw_vers
18830 do
18831 # Extract the first word of "$ac_prog", so it can be a program name with args.
18832 set dummy $ac_prog; ac_word=$2
18833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18835 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 else
18838 if test -n "$OSX_SW_VERS"; then
18839 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18840 else
18841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18842 for as_dir in $PATH
18843 do
18844 IFS=$as_save_IFS
18845 test -z "$as_dir" && as_dir=.
18846 for ac_exec_ext in '' $ac_executable_extensions; do
18847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18848 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18850 break 2
18851 fi
18852 done
18853 done
18854 IFS=$as_save_IFS
18855
18856 fi
18857 fi
18858 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18859 if test -n "$OSX_SW_VERS"; then
18860 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18861 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18862 else
18863 { echo "$as_me:$LINENO: result: no" >&5
18864 echo "${ECHO_T}no" >&6; }
18865 fi
18866
18867
18868 test -n "$OSX_SW_VERS" && break
18869 done
18870
18871 if test "$OSX_SW_VERS" != ""; then
18872 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18873 else
18874 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18875 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18876 OSX_VERSION="10.4"
18877 fi
18878
18879 case "$OSX_VERSION" in
18880 10.4* )
18881 wxUSE_MACOSX_VERSION_MIN=10.4
18882 ;;
18883
18884 * )
18885 if test "$wxUSE_OSX_CARBON" = 1; then
18886 # otherwise configure stops on leopard for universal_binary
18887 wxUSE_MACOSX_VERSION_MIN=10.4
18888 else
18889 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18890 wxUSE_MACOSX_VERSION_MIN=10.5
18891 fi
18892 ;;
18893 esac
18894 fi
18895
18896 NEEDS_GCC40="no"
18897 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18898 NEEDS_GCC40="yes"
18899 fi
18900
18901 if test "$wxUSE_OSX_CARBON" = 1; then
18902 NEEDS_GCC40="yes"
18903 fi
18904
18905 if test "x$NEEDS_GCC40" == "xyes"; then
18906 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18907 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18908 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18909 if test "x$CC" = "xgcc"; then
18910 CCVERSION=`$CC --version | grep 4.[2-9].`
18911 if test "x$CCVERSION" != "x"; then
18912 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18913 CC="/usr/bin/gcc-4.0"
18914 fi
18915 fi
18916
18917 if test "x$CXX" = "xg++"; then
18918 CCVERSION=`$CXX --version | grep 4.[2-9].`
18919 if test "x$CCVERSION" != "x"; then
18920 CXX="/usr/bin/g++-4.0"
18921 fi
18922 fi
18923 fi
18924
18925 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18926 if test "$wxUSE_OSX_IPHONE" = 1; then
18927 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18928 else
18929 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18930 fi
18931 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18932 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18933 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18934 retest_macosx_linking=yes
18935 fi
18936
18937 if test "x$retest_macosx_linking" = "xyes"; then
18938 ac_ext=c
18939 ac_cpp='$CPP $CPPFLAGS'
18940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18943
18944 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18945 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18946 cat >conftest.$ac_ext <<_ACEOF
18947 /* confdefs.h. */
18948 _ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952
18953 int
18954 main ()
18955 {
18956
18957 ;
18958 return 0;
18959 }
18960 _ACEOF
18961 rm -f conftest.$ac_objext conftest$ac_exeext
18962 if { (ac_try="$ac_link"
18963 case "(($ac_try" in
18964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18965 *) ac_try_echo=$ac_try;;
18966 esac
18967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18968 (eval "$ac_link") 2>conftest.er1
18969 ac_status=$?
18970 grep -v '^ *+' conftest.er1 >conftest.err
18971 rm -f conftest.er1
18972 cat conftest.err >&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } && {
18975 test -z "$ac_c_werror_flag" ||
18976 test ! -s conftest.err
18977 } && test -s conftest$ac_exeext &&
18978 $as_test_x conftest$ac_exeext; then
18979 { echo "$as_me:$LINENO: result: yes" >&5
18980 echo "${ECHO_T}yes" >&6; }
18981 else
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.$ac_ext >&5
18984
18985 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18986 See \`config.log' for more details." >&5
18987 echo "$as_me: error: no. Try a different SDK
18988 See \`config.log' for more details." >&2;}
18989 { (exit 1); exit 1; }; }; exit 1
18990 fi
18991
18992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18993 conftest$ac_exeext conftest.$ac_ext
18994 ac_ext=c
18995 ac_cpp='$CPP $CPPFLAGS'
18996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18999
19000
19001 ac_ext=cpp
19002 ac_cpp='$CXXCPP $CPPFLAGS'
19003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19006
19007 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19008 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19009 cat >conftest.$ac_ext <<_ACEOF
19010 /* confdefs.h. */
19011 _ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015
19016 int
19017 main ()
19018 {
19019
19020 ;
19021 return 0;
19022 }
19023 _ACEOF
19024 rm -f conftest.$ac_objext conftest$ac_exeext
19025 if { (ac_try="$ac_link"
19026 case "(($ac_try" in
19027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19028 *) ac_try_echo=$ac_try;;
19029 esac
19030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19031 (eval "$ac_link") 2>conftest.er1
19032 ac_status=$?
19033 grep -v '^ *+' conftest.er1 >conftest.err
19034 rm -f conftest.er1
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } && {
19038 test -z "$ac_cxx_werror_flag" ||
19039 test ! -s conftest.err
19040 } && test -s conftest$ac_exeext &&
19041 $as_test_x conftest$ac_exeext; then
19042 { echo "$as_me:$LINENO: result: yes" >&5
19043 echo "${ECHO_T}yes" >&6; }
19044 else
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.$ac_ext >&5
19047
19048 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19049 See \`config.log' for more details." >&5
19050 echo "$as_me: error: no. Try a different SDK
19051 See \`config.log' for more details." >&2;}
19052 { (exit 1); exit 1; }; }; exit 1
19053 fi
19054
19055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19056 conftest$ac_exeext conftest.$ac_ext
19057 ac_ext=c
19058 ac_cpp='$CPP $CPPFLAGS'
19059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19062
19063 fi
19064
19065 fi
19066 case "${host}" in
19067
19068 *-*-darwin* )
19069 INSTALL_PROGRAM="cp -fp"
19070 INSTALL_DATA="cp -fp"
19071 ;;
19072 *)
19073 ;;
19074 esac
19075
19076
19077 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19078 CXXFLAGS="-qunique $CXXFLAGS"
19079 fi
19080
19081 case "${host}" in
19082 powerpc-*-darwin* )
19083 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19084 echo $ECHO_N "checking if __POWERPC__ is already defined... $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 #ifndef __POWERPC__
19096 choke me for lack of PowerPC
19097 #endif
19098
19099 ;
19100 return 0;
19101 }
19102 _ACEOF
19103 rm -f conftest.$ac_objext
19104 if { (ac_try="$ac_compile"
19105 case "(($ac_try" in
19106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19108 esac
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19111 ac_status=$?
19112 grep -v '^ *+' conftest.er1 >conftest.err
19113 rm -f conftest.er1
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.$ac_objext; then
19120 { echo "$as_me:$LINENO: result: yes" >&5
19121 echo "${ECHO_T}yes" >&6; }
19122 else
19123 echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.$ac_ext >&5
19125
19126 { echo "$as_me:$LINENO: result: no" >&5
19127 echo "${ECHO_T}no" >&6; }
19128 cat >>confdefs.h <<\_ACEOF
19129 #define __POWERPC__ 1
19130 _ACEOF
19131
19132
19133 fi
19134
19135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19136 ;;
19137 esac
19138
19139 case "${host}" in
19140 *-*-darwin* )
19141 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19142 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19143 cat >conftest.$ac_ext <<_ACEOF
19144 /* confdefs.h. */
19145 _ACEOF
19146 cat confdefs.h >>conftest.$ac_ext
19147 cat >>conftest.$ac_ext <<_ACEOF
19148 /* end confdefs.h. */
19149 #include <CoreFoundation/CFBase.h>
19150
19151 int
19152 main ()
19153 {
19154
19155 ;
19156 return 0;
19157 }
19158 _ACEOF
19159 rm -f conftest.$ac_objext
19160 if { (ac_try="$ac_compile"
19161 case "(($ac_try" in
19162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19163 *) ac_try_echo=$ac_try;;
19164 esac
19165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19166 (eval "$ac_compile") 2>conftest.er1
19167 ac_status=$?
19168 grep -v '^ *+' conftest.er1 >conftest.err
19169 rm -f conftest.er1
19170 cat conftest.err >&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } && {
19173 test -z "$ac_c_werror_flag" ||
19174 test ! -s conftest.err
19175 } && test -s conftest.$ac_objext; then
19176 { echo "$as_me:$LINENO: result: yes" >&5
19177 echo "${ECHO_T}yes" >&6; }
19178 else
19179 echo "$as_me: failed program was:" >&5
19180 sed 's/^/| /' conftest.$ac_ext >&5
19181
19182 { echo "$as_me:$LINENO: result: no" >&5
19183 echo "${ECHO_T}no" >&6; }
19184 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19185 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19186 cat >conftest.$ac_ext <<_ACEOF
19187 /* confdefs.h. */
19188 _ACEOF
19189 cat confdefs.h >>conftest.$ac_ext
19190 cat >>conftest.$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 #define __CF_USE_FRAMEWORK_INCLUDES__
19193 #include <CoreFoundation/CFBase.h>
19194
19195 int
19196 main ()
19197 {
19198
19199 ;
19200 return 0;
19201 }
19202 _ACEOF
19203 rm -f conftest.$ac_objext
19204 if { (ac_try="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19208 esac
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19211 ac_status=$?
19212 grep -v '^ *+' conftest.er1 >conftest.err
19213 rm -f conftest.er1
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.$ac_objext; then
19220 { echo "$as_me:$LINENO: result: yes" >&5
19221 echo "${ECHO_T}yes" >&6; }
19222 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19223 else
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19226
19227 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19228 See \`config.log' for more details." >&5
19229 echo "$as_me: error: no. CoreFoundation not available.
19230 See \`config.log' for more details." >&2;}
19231 { (exit 1); exit 1; }; }
19232
19233 fi
19234
19235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19236
19237
19238 fi
19239
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19241 ;;
19242 esac
19243
19244 wants_win32=0
19245 doesnt_want_win32=0
19246 case "${host}" in
19247 *-*-cygwin*)
19248 if test "$wxUSE_MSW" = 1 ; then
19249 wants_win32=1
19250 else
19251 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19252 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19253 if test "${wx_cv_nocygwin+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19255 else
19256
19257 cat >conftest.$ac_ext <<_ACEOF
19258 /* confdefs.h. */
19259 _ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263
19264 int
19265 main ()
19266 {
19267
19268 #ifdef __MINGW32__
19269 choke me
19270 #endif
19271
19272 ;
19273 return 0;
19274 }
19275 _ACEOF
19276 rm -f conftest.$ac_objext
19277 if { (ac_try="$ac_compile"
19278 case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19281 esac
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_compile") 2>conftest.er1
19284 ac_status=$?
19285 grep -v '^ *+' conftest.er1 >conftest.err
19286 rm -f conftest.er1
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } && {
19290 test -z "$ac_c_werror_flag" ||
19291 test ! -s conftest.err
19292 } && test -s conftest.$ac_objext; then
19293 wx_cv_nocygwin=no
19294 else
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19297
19298 wx_cv_nocygwin=yes
19299
19300 fi
19301
19302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19303
19304
19305 fi
19306 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19307 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19308
19309 if test "$wx_cv_nocygwin" = "yes"; then
19310 wants_win32=1
19311 else
19312 doesnt_want_win32=1
19313 fi
19314 fi
19315 if test "$wants_win32" = 1 ; then
19316 BAKEFILE_FORCE_PLATFORM=win32
19317 fi
19318 ;;
19319 *-*-mingw*)
19320 wants_win32=1
19321 ;;
19322 esac
19323
19324 if test "$wxUSE_WINE" = "yes"; then
19325 wants_win32=1
19326 LDFLAGS_GUI="-mwindows"
19327 fi
19328
19329 if test "$wants_win32" = 1 ; then
19330 USE_UNIX=0
19331 USE_WIN32=1
19332 cat >>confdefs.h <<\_ACEOF
19333 #define __WIN32__ 1
19334 _ACEOF
19335
19336 cat >>confdefs.h <<\_ACEOF
19337 #define __WIN95__ 1
19338 _ACEOF
19339
19340 cat >>confdefs.h <<\_ACEOF
19341 #define __WINDOWS__ 1
19342 _ACEOF
19343
19344 cat >>confdefs.h <<\_ACEOF
19345 #define __GNUWIN32__ 1
19346 _ACEOF
19347
19348 cat >>confdefs.h <<\_ACEOF
19349 #define STRICT 1
19350 _ACEOF
19351
19352 fi
19353 if test "$doesnt_want_win32" = 1 ; then
19354 USE_UNIX=1
19355 USE_WIN32=0
19356 fi
19357
19358 if test "$USE_UNIX" = 1 ; then
19359 wxUSE_UNIX=yes
19360 cat >>confdefs.h <<\_ACEOF
19361 #define __UNIX__ 1
19362 _ACEOF
19363
19364 fi
19365
19366 case "${host}" in
19367 *-pc-os2_emx | *-pc-os2-emx )
19368 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19369 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19370 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19371 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19373 else
19374 ac_check_lib_save_LIBS=$LIBS
19375 LIBS="-lcExt $LIBS"
19376 cat >conftest.$ac_ext <<_ACEOF
19377 /* confdefs.h. */
19378 _ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382
19383 /* Override any GCC internal prototype to avoid an error.
19384 Use char because int might match the return type of a GCC
19385 builtin and then its argument prototype would still apply. */
19386 #ifdef __cplusplus
19387 extern "C"
19388 #endif
19389 char drand48 ();
19390 int
19391 main ()
19392 {
19393 return drand48 ();
19394 ;
19395 return 0;
19396 }
19397 _ACEOF
19398 rm -f conftest.$ac_objext conftest$ac_exeext
19399 if { (ac_try="$ac_link"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19403 esac
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_link") 2>conftest.er1
19406 ac_status=$?
19407 grep -v '^ *+' conftest.er1 >conftest.err
19408 rm -f conftest.er1
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest$ac_exeext &&
19415 $as_test_x conftest$ac_exeext; then
19416 ac_cv_lib_cExt_drand48=yes
19417 else
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.$ac_ext >&5
19420
19421 ac_cv_lib_cExt_drand48=no
19422 fi
19423
19424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19425 conftest$ac_exeext conftest.$ac_ext
19426 LIBS=$ac_check_lib_save_LIBS
19427 fi
19428 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19429 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19430 if test $ac_cv_lib_cExt_drand48 = yes; then
19431 LIBS="$LIBS -lcExt"
19432 fi
19433
19434 else
19435 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19436 fi
19437 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19438 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19439 if test "${wx_cv_gccversion+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19441 else
19442
19443 if test "$cross_compiling" = yes; then
19444 wx_cv_gccversion="EMX2"
19445
19446 else
19447 cat >conftest.$ac_ext <<_ACEOF
19448 /* confdefs.h. */
19449 _ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453
19454 #include <stdio.h>
19455
19456 int main()
19457 {
19458 FILE *f=fopen("conftestval", "w");
19459 if (!f) exit(1);
19460 fprintf(f,
19461 #if (__GNUC__ < 3)
19462 "EMX2"
19463 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19464 "EMX3"
19465 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19466 "Innotek5"
19467 #else
19468 "Innotek6"
19469 #endif
19470 );
19471 exit(0);
19472 }
19473
19474 _ACEOF
19475 rm -f conftest$ac_exeext
19476 if { (ac_try="$ac_link"
19477 case "(($ac_try" in
19478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19479 *) ac_try_echo=$ac_try;;
19480 esac
19481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19482 (eval "$ac_link") 2>&5
19483 ac_status=$?
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19486 { (case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19489 esac
19490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_try") 2>&5
19492 ac_status=$?
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); }; }; then
19495 wx_cv_gccversion=`cat conftestval`
19496 else
19497 echo "$as_me: program exited with status $ac_status" >&5
19498 echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.$ac_ext >&5
19500
19501 ( exit $ac_status )
19502 wx_cv_gccversion="EMX2"
19503 fi
19504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19505 fi
19506
19507
19508
19509 fi
19510 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19511 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19512 if test "$wx_cv_gccversion" = "EMX2"; then
19513 LIBS="$LIBS -lstdcpp"
19514 LDFLAGS="$LDFLAGS -Zsysv-signals"
19515 else
19516 if test "$wx_cv_gccversion" = "EMX3"; then
19517 LIBS="$LIBS -lstdcxx -lgcc"
19518 LDFLAGS="$LDFLAGS -Zsysv-signals"
19519 else
19520 LIBS="$LIBS -lstdc++"
19521 fi
19522 fi
19523 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19524 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19525 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19526 wxUSE_OMF=yes
19527 enable_omf=yes
19528 fi
19529 ;;
19530 *)
19531
19532 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19533 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19534 if test "${ac_cv_string_strcasecmp+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 else
19537
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544
19545 #include <string.h>
19546
19547 int
19548 main ()
19549 {
19550
19551 strcasecmp("foo", "bar");
19552
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 rm -f conftest.$ac_objext conftest$ac_exeext
19558 if { (ac_try="$ac_link"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_link") 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest$ac_exeext &&
19574 $as_test_x conftest$ac_exeext; then
19575 ac_cv_string_strcasecmp=yes
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19579
19580 ac_cv_string_strcasecmp=no
19581
19582 fi
19583
19584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19585 conftest$ac_exeext conftest.$ac_ext
19586
19587 fi
19588 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19589 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19590
19591 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19592 cat >>confdefs.h <<\_ACEOF
19593 #define HAVE_STRCASECMP_IN_STRING_H 1
19594 _ACEOF
19595
19596 else
19597 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19598 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19599 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 else
19602
19603 cat >conftest.$ac_ext <<_ACEOF
19604 /* confdefs.h. */
19605 _ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609
19610 #include <strings.h>
19611
19612 int
19613 main ()
19614 {
19615
19616 strcasecmp("foo", "bar");
19617
19618 ;
19619 return 0;
19620 }
19621 _ACEOF
19622 rm -f conftest.$ac_objext conftest$ac_exeext
19623 if { (ac_try="$ac_link"
19624 case "(($ac_try" in
19625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19626 *) ac_try_echo=$ac_try;;
19627 esac
19628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19629 (eval "$ac_link") 2>conftest.er1
19630 ac_status=$?
19631 grep -v '^ *+' conftest.er1 >conftest.err
19632 rm -f conftest.er1
19633 cat conftest.err >&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); } && {
19636 test -z "$ac_c_werror_flag" ||
19637 test ! -s conftest.err
19638 } && test -s conftest$ac_exeext &&
19639 $as_test_x conftest$ac_exeext; then
19640 ac_cv_strings_strcasecmp=yes
19641 else
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19644
19645 ac_cv_strings_strcasecmp=no
19646
19647 fi
19648
19649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19650 conftest$ac_exeext conftest.$ac_ext
19651
19652 fi
19653 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19654 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19655
19656 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19657 cat >>confdefs.h <<\_ACEOF
19658 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19659 _ACEOF
19660
19661 else
19662 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19663 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19664 { (exit 1); exit 1; }; }
19665 fi
19666 fi
19667
19668 ;;
19669 esac
19670
19671
19672 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19673 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19674 if test "${ac_cv_header_stdc+set}" = set; then
19675 echo $ECHO_N "(cached) $ECHO_C" >&6
19676 else
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 #include <stdlib.h>
19684 #include <stdarg.h>
19685 #include <string.h>
19686 #include <float.h>
19687
19688 int
19689 main ()
19690 {
19691
19692 ;
19693 return 0;
19694 }
19695 _ACEOF
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
19713 ac_cv_header_stdc=yes
19714 else
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19717
19718 ac_cv_header_stdc=no
19719 fi
19720
19721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19722
19723 if test $ac_cv_header_stdc = yes; then
19724 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19725 cat >conftest.$ac_ext <<_ACEOF
19726 /* confdefs.h. */
19727 _ACEOF
19728 cat confdefs.h >>conftest.$ac_ext
19729 cat >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 #include <string.h>
19732
19733 _ACEOF
19734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19735 $EGREP "memchr" >/dev/null 2>&1; then
19736 :
19737 else
19738 ac_cv_header_stdc=no
19739 fi
19740 rm -f conftest*
19741
19742 fi
19743
19744 if test $ac_cv_header_stdc = yes; then
19745 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19746 cat >conftest.$ac_ext <<_ACEOF
19747 /* confdefs.h. */
19748 _ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 #include <stdlib.h>
19753
19754 _ACEOF
19755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19756 $EGREP "free" >/dev/null 2>&1; then
19757 :
19758 else
19759 ac_cv_header_stdc=no
19760 fi
19761 rm -f conftest*
19762
19763 fi
19764
19765 if test $ac_cv_header_stdc = yes; then
19766 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19767 if test "$cross_compiling" = yes; then
19768 :
19769 else
19770 cat >conftest.$ac_ext <<_ACEOF
19771 /* confdefs.h. */
19772 _ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 #include <ctype.h>
19777 #include <stdlib.h>
19778 #if ((' ' & 0x0FF) == 0x020)
19779 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19780 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19781 #else
19782 # define ISLOWER(c) \
19783 (('a' <= (c) && (c) <= 'i') \
19784 || ('j' <= (c) && (c) <= 'r') \
19785 || ('s' <= (c) && (c) <= 'z'))
19786 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19787 #endif
19788
19789 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19790 int
19791 main ()
19792 {
19793 int i;
19794 for (i = 0; i < 256; i++)
19795 if (XOR (islower (i), ISLOWER (i))
19796 || toupper (i) != TOUPPER (i))
19797 return 2;
19798 return 0;
19799 }
19800 _ACEOF
19801 rm -f conftest$ac_exeext
19802 if { (ac_try="$ac_link"
19803 case "(($ac_try" in
19804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19805 *) ac_try_echo=$ac_try;;
19806 esac
19807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19808 (eval "$ac_link") 2>&5
19809 ac_status=$?
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19812 { (case "(($ac_try" in
19813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19814 *) ac_try_echo=$ac_try;;
19815 esac
19816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19817 (eval "$ac_try") 2>&5
19818 ac_status=$?
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 :
19822 else
19823 echo "$as_me: program exited with status $ac_status" >&5
19824 echo "$as_me: failed program was:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19826
19827 ( exit $ac_status )
19828 ac_cv_header_stdc=no
19829 fi
19830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19831 fi
19832
19833
19834 fi
19835 fi
19836 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19837 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19838 if test $ac_cv_header_stdc = yes; then
19839
19840 cat >>confdefs.h <<\_ACEOF
19841 #define STDC_HEADERS 1
19842 _ACEOF
19843
19844 fi
19845
19846 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19857 inttypes.h stdint.h unistd.h
19858 do
19859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19860 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19863 echo $ECHO_N "(cached) $ECHO_C" >&6
19864 else
19865 cat >conftest.$ac_ext <<_ACEOF
19866 /* confdefs.h. */
19867 _ACEOF
19868 cat confdefs.h >>conftest.$ac_ext
19869 cat >>conftest.$ac_ext <<_ACEOF
19870 /* end confdefs.h. */
19871 $ac_includes_default
19872
19873 #include <$ac_header>
19874 _ACEOF
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19880 esac
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19892 eval "$as_ac_Header=yes"
19893 else
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19896
19897 eval "$as_ac_Header=no"
19898 fi
19899
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901 fi
19902 ac_res=`eval echo '${'$as_ac_Header'}'`
19903 { echo "$as_me:$LINENO: result: $ac_res" >&5
19904 echo "${ECHO_T}$ac_res" >&6; }
19905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19906 cat >>confdefs.h <<_ACEOF
19907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19908 _ACEOF
19909
19910 fi
19911
19912 done
19913
19914
19915
19916
19917 for ac_header in langinfo.h wchar.h
19918 do
19919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 else
19925 cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h. */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 $ac_includes_default
19932
19933 #include <$ac_header>
19934 _ACEOF
19935 rm -f conftest.$ac_objext
19936 if { (ac_try="$ac_compile"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19940 esac
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_compile") 2>conftest.er1
19943 ac_status=$?
19944 grep -v '^ *+' conftest.er1 >conftest.err
19945 rm -f conftest.er1
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } && {
19949 test -z "$ac_c_werror_flag" ||
19950 test ! -s conftest.err
19951 } && test -s conftest.$ac_objext; then
19952 eval "$as_ac_Header=yes"
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19956
19957 eval "$as_ac_Header=no"
19958 fi
19959
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961 fi
19962 ac_res=`eval echo '${'$as_ac_Header'}'`
19963 { echo "$as_me:$LINENO: result: $ac_res" >&5
19964 echo "${ECHO_T}$ac_res" >&6; }
19965 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19966 cat >>confdefs.h <<_ACEOF
19967 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19968 _ACEOF
19969
19970 fi
19971
19972 done
19973
19974
19975 if test "$ac_cv_header_wchar_h" != "yes"; then
19976
19977 for ac_header in wcstr.h
19978 do
19979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19980 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 else
19985 cat >conftest.$ac_ext <<_ACEOF
19986 /* confdefs.h. */
19987 _ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19991 $ac_includes_default
19992
19993 #include <$ac_header>
19994 _ACEOF
19995 rm -f conftest.$ac_objext
19996 if { (ac_try="$ac_compile"
19997 case "(($ac_try" in
19998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19999 *) ac_try_echo=$ac_try;;
20000 esac
20001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20002 (eval "$ac_compile") 2>conftest.er1
20003 ac_status=$?
20004 grep -v '^ *+' conftest.er1 >conftest.err
20005 rm -f conftest.er1
20006 cat conftest.err >&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); } && {
20009 test -z "$ac_c_werror_flag" ||
20010 test ! -s conftest.err
20011 } && test -s conftest.$ac_objext; then
20012 eval "$as_ac_Header=yes"
20013 else
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.$ac_ext >&5
20016
20017 eval "$as_ac_Header=no"
20018 fi
20019
20020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 fi
20022 ac_res=`eval echo '${'$as_ac_Header'}'`
20023 { echo "$as_me:$LINENO: result: $ac_res" >&5
20024 echo "${ECHO_T}$ac_res" >&6; }
20025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20026 cat >>confdefs.h <<_ACEOF
20027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20028 _ACEOF
20029
20030 fi
20031
20032 done
20033
20034 fi
20035
20036 case "${host}" in
20037 *-pc-os2_emx | *-pc-os2-emx )
20038 if test $ac_cv_header_langinfo_h = "yes" \
20039 -a \( "$wx_cv_gccversion" = "EMX2" \
20040 -o "$wx_cv_gccversion" = "EMX3" \
20041 -o "$wx_cv_gccversion" = "Innotek5" \); then
20042 LIBS="$LIBS -lintl"
20043 fi
20044 ;;
20045 esac
20046
20047 if test "$USE_UNIX" = 1 ; then
20048
20049 for ac_header in sys/select.h
20050 do
20051 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20052 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 else
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20064
20065 #include <$ac_header>
20066 _ACEOF
20067 rm -f conftest.$ac_objext
20068 if { (ac_try="$ac_compile"
20069 case "(($ac_try" in
20070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20071 *) ac_try_echo=$ac_try;;
20072 esac
20073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20074 (eval "$ac_compile") 2>conftest.er1
20075 ac_status=$?
20076 grep -v '^ *+' conftest.er1 >conftest.err
20077 rm -f conftest.er1
20078 cat conftest.err >&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); } && {
20081 test -z "$ac_c_werror_flag" ||
20082 test ! -s conftest.err
20083 } && test -s conftest.$ac_objext; then
20084 eval "$as_ac_Header=yes"
20085 else
20086 echo "$as_me: failed program was:" >&5
20087 sed 's/^/| /' conftest.$ac_ext >&5
20088
20089 eval "$as_ac_Header=no"
20090 fi
20091
20092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 fi
20094 ac_res=`eval echo '${'$as_ac_Header'}'`
20095 { echo "$as_me:$LINENO: result: $ac_res" >&5
20096 echo "${ECHO_T}$ac_res" >&6; }
20097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20098 cat >>confdefs.h <<_ACEOF
20099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20100 _ACEOF
20101
20102 fi
20103
20104 done
20105
20106 fi
20107
20108
20109 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20110 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20111 if test "${ac_cv_c_const+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 else
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120
20121 int
20122 main ()
20123 {
20124 /* FIXME: Include the comments suggested by Paul. */
20125 #ifndef __cplusplus
20126 /* Ultrix mips cc rejects this. */
20127 typedef int charset[2];
20128 const charset cs;
20129 /* SunOS 4.1.1 cc rejects this. */
20130 char const *const *pcpcc;
20131 char **ppc;
20132 /* NEC SVR4.0.2 mips cc rejects this. */
20133 struct point {int x, y;};
20134 static struct point const zero = {0,0};
20135 /* AIX XL C 1.02.0.0 rejects this.
20136 It does not let you subtract one const X* pointer from another in
20137 an arm of an if-expression whose if-part is not a constant
20138 expression */
20139 const char *g = "string";
20140 pcpcc = &g + (g ? g-g : 0);
20141 /* HPUX 7.0 cc rejects these. */
20142 ++pcpcc;
20143 ppc = (char**) pcpcc;
20144 pcpcc = (char const *const *) ppc;
20145 { /* SCO 3.2v4 cc rejects this. */
20146 char *t;
20147 char const *s = 0 ? (char *) 0 : (char const *) 0;
20148
20149 *t++ = 0;
20150 if (s) return 0;
20151 }
20152 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20153 int x[] = {25, 17};
20154 const int *foo = &x[0];
20155 ++foo;
20156 }
20157 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20158 typedef const int *iptr;
20159 iptr p = 0;
20160 ++p;
20161 }
20162 { /* AIX XL C 1.02.0.0 rejects this saying
20163 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20164 struct s { int j; const int *ap[3]; };
20165 struct s *b; b->j = 5;
20166 }
20167 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20168 const int foo = 10;
20169 if (!foo) return 0;
20170 }
20171 return !cs[0] && !zero.x;
20172 #endif
20173
20174 ;
20175 return 0;
20176 }
20177 _ACEOF
20178 rm -f conftest.$ac_objext
20179 if { (ac_try="$ac_compile"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20183 esac
20184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_compile") 2>conftest.er1
20186 ac_status=$?
20187 grep -v '^ *+' conftest.er1 >conftest.err
20188 rm -f conftest.er1
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } && {
20192 test -z "$ac_c_werror_flag" ||
20193 test ! -s conftest.err
20194 } && test -s conftest.$ac_objext; then
20195 ac_cv_c_const=yes
20196 else
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.$ac_ext >&5
20199
20200 ac_cv_c_const=no
20201 fi
20202
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20204 fi
20205 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20206 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20207 if test $ac_cv_c_const = no; then
20208
20209 cat >>confdefs.h <<\_ACEOF
20210 #define const
20211 _ACEOF
20212
20213 fi
20214
20215 { echo "$as_me:$LINENO: checking for inline" >&5
20216 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20217 if test "${ac_cv_c_inline+set}" = set; then
20218 echo $ECHO_N "(cached) $ECHO_C" >&6
20219 else
20220 ac_cv_c_inline=no
20221 for ac_kw in inline __inline__ __inline; do
20222 cat >conftest.$ac_ext <<_ACEOF
20223 /* confdefs.h. */
20224 _ACEOF
20225 cat confdefs.h >>conftest.$ac_ext
20226 cat >>conftest.$ac_ext <<_ACEOF
20227 /* end confdefs.h. */
20228 #ifndef __cplusplus
20229 typedef int foo_t;
20230 static $ac_kw foo_t static_foo () {return 0; }
20231 $ac_kw foo_t foo () {return 0; }
20232 #endif
20233
20234 _ACEOF
20235 rm -f conftest.$ac_objext
20236 if { (ac_try="$ac_compile"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20240 esac
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_compile") 2>conftest.er1
20243 ac_status=$?
20244 grep -v '^ *+' conftest.er1 >conftest.err
20245 rm -f conftest.er1
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_c_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest.$ac_objext; then
20252 ac_cv_c_inline=$ac_kw
20253 else
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20256
20257
20258 fi
20259
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 test "$ac_cv_c_inline" != no && break
20262 done
20263
20264 fi
20265 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20266 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20267
20268
20269 case $ac_cv_c_inline in
20270 inline | yes) ;;
20271 *)
20272 case $ac_cv_c_inline in
20273 no) ac_val=;;
20274 *) ac_val=$ac_cv_c_inline;;
20275 esac
20276 cat >>confdefs.h <<_ACEOF
20277 #ifndef __cplusplus
20278 #define inline $ac_val
20279 #endif
20280 _ACEOF
20281 ;;
20282 esac
20283
20284
20285 { echo "$as_me:$LINENO: checking for short" >&5
20286 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20287 if test "${ac_cv_type_short+set}" = set; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 else
20290 cat >conftest.$ac_ext <<_ACEOF
20291 /* confdefs.h. */
20292 _ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 $ac_includes_default
20297 typedef short ac__type_new_;
20298 int
20299 main ()
20300 {
20301 if ((ac__type_new_ *) 0)
20302 return 0;
20303 if (sizeof (ac__type_new_))
20304 return 0;
20305 ;
20306 return 0;
20307 }
20308 _ACEOF
20309 rm -f conftest.$ac_objext
20310 if { (ac_try="$ac_compile"
20311 case "(($ac_try" in
20312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20313 *) ac_try_echo=$ac_try;;
20314 esac
20315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20316 (eval "$ac_compile") 2>conftest.er1
20317 ac_status=$?
20318 grep -v '^ *+' conftest.er1 >conftest.err
20319 rm -f conftest.er1
20320 cat conftest.err >&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } && {
20323 test -z "$ac_c_werror_flag" ||
20324 test ! -s conftest.err
20325 } && test -s conftest.$ac_objext; then
20326 ac_cv_type_short=yes
20327 else
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.$ac_ext >&5
20330
20331 ac_cv_type_short=no
20332 fi
20333
20334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20335 fi
20336 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20337 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20338
20339 # The cast to long int works around a bug in the HP C Compiler
20340 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20341 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20342 # This bug is HP SR number 8606223364.
20343 { echo "$as_me:$LINENO: checking size of short" >&5
20344 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20345 if test "${ac_cv_sizeof_short+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20347 else
20348 if test "$cross_compiling" = yes; then
20349 # Depending upon the size, compute the lo and hi bounds.
20350 cat >conftest.$ac_ext <<_ACEOF
20351 /* confdefs.h. */
20352 _ACEOF
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20356 $ac_includes_default
20357 typedef short ac__type_sizeof_;
20358 int
20359 main ()
20360 {
20361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20362 test_array [0] = 0
20363
20364 ;
20365 return 0;
20366 }
20367 _ACEOF
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20373 esac
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20385 ac_lo=0 ac_mid=0
20386 while :; do
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h. */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 typedef short ac__type_sizeof_;
20395 int
20396 main ()
20397 {
20398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20399 test_array [0] = 0
20400
20401 ;
20402 return 0;
20403 }
20404 _ACEOF
20405 rm -f conftest.$ac_objext
20406 if { (ac_try="$ac_compile"
20407 case "(($ac_try" in
20408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20409 *) ac_try_echo=$ac_try;;
20410 esac
20411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20412 (eval "$ac_compile") 2>conftest.er1
20413 ac_status=$?
20414 grep -v '^ *+' conftest.er1 >conftest.err
20415 rm -f conftest.er1
20416 cat conftest.err >&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); } && {
20419 test -z "$ac_c_werror_flag" ||
20420 test ! -s conftest.err
20421 } && test -s conftest.$ac_objext; then
20422 ac_hi=$ac_mid; break
20423 else
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20426
20427 ac_lo=`expr $ac_mid + 1`
20428 if test $ac_lo -le $ac_mid; then
20429 ac_lo= ac_hi=
20430 break
20431 fi
20432 ac_mid=`expr 2 '*' $ac_mid + 1`
20433 fi
20434
20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20436 done
20437 else
20438 echo "$as_me: failed program was:" >&5
20439 sed 's/^/| /' conftest.$ac_ext >&5
20440
20441 cat >conftest.$ac_ext <<_ACEOF
20442 /* confdefs.h. */
20443 _ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20448 typedef short ac__type_sizeof_;
20449 int
20450 main ()
20451 {
20452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20453 test_array [0] = 0
20454
20455 ;
20456 return 0;
20457 }
20458 _ACEOF
20459 rm -f conftest.$ac_objext
20460 if { (ac_try="$ac_compile"
20461 case "(($ac_try" in
20462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20463 *) ac_try_echo=$ac_try;;
20464 esac
20465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20466 (eval "$ac_compile") 2>conftest.er1
20467 ac_status=$?
20468 grep -v '^ *+' conftest.er1 >conftest.err
20469 rm -f conftest.er1
20470 cat conftest.err >&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && {
20473 test -z "$ac_c_werror_flag" ||
20474 test ! -s conftest.err
20475 } && test -s conftest.$ac_objext; then
20476 ac_hi=-1 ac_mid=-1
20477 while :; do
20478 cat >conftest.$ac_ext <<_ACEOF
20479 /* confdefs.h. */
20480 _ACEOF
20481 cat confdefs.h >>conftest.$ac_ext
20482 cat >>conftest.$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20484 $ac_includes_default
20485 typedef short ac__type_sizeof_;
20486 int
20487 main ()
20488 {
20489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20490 test_array [0] = 0
20491
20492 ;
20493 return 0;
20494 }
20495 _ACEOF
20496 rm -f conftest.$ac_objext
20497 if { (ac_try="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20500 *) ac_try_echo=$ac_try;;
20501 esac
20502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20504 ac_status=$?
20505 grep -v '^ *+' conftest.er1 >conftest.err
20506 rm -f conftest.er1
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.$ac_objext; then
20513 ac_lo=$ac_mid; break
20514 else
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.$ac_ext >&5
20517
20518 ac_hi=`expr '(' $ac_mid ')' - 1`
20519 if test $ac_mid -le $ac_hi; then
20520 ac_lo= ac_hi=
20521 break
20522 fi
20523 ac_mid=`expr 2 '*' $ac_mid`
20524 fi
20525
20526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20527 done
20528 else
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.$ac_ext >&5
20531
20532 ac_lo= ac_hi=
20533 fi
20534
20535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20536 fi
20537
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539 # Binary search between lo and hi bounds.
20540 while test "x$ac_lo" != "x$ac_hi"; do
20541 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20542 cat >conftest.$ac_ext <<_ACEOF
20543 /* confdefs.h. */
20544 _ACEOF
20545 cat confdefs.h >>conftest.$ac_ext
20546 cat >>conftest.$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 $ac_includes_default
20549 typedef short ac__type_sizeof_;
20550 int
20551 main ()
20552 {
20553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20554 test_array [0] = 0
20555
20556 ;
20557 return 0;
20558 }
20559 _ACEOF
20560 rm -f conftest.$ac_objext
20561 if { (ac_try="$ac_compile"
20562 case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20565 esac
20566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_compile") 2>conftest.er1
20568 ac_status=$?
20569 grep -v '^ *+' conftest.er1 >conftest.err
20570 rm -f conftest.er1
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && {
20574 test -z "$ac_c_werror_flag" ||
20575 test ! -s conftest.err
20576 } && test -s conftest.$ac_objext; then
20577 ac_hi=$ac_mid
20578 else
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.$ac_ext >&5
20581
20582 ac_lo=`expr '(' $ac_mid ')' + 1`
20583 fi
20584
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20586 done
20587 case $ac_lo in
20588 ?*) ac_cv_sizeof_short=$ac_lo;;
20589 '') if test "$ac_cv_type_short" = yes; then
20590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20591 See \`config.log' for more details." >&5
20592 echo "$as_me: error: cannot compute sizeof (short)
20593 See \`config.log' for more details." >&2;}
20594 { (exit 77); exit 77; }; }
20595 else
20596 ac_cv_sizeof_short=0
20597 fi ;;
20598 esac
20599 else
20600 cat >conftest.$ac_ext <<_ACEOF
20601 /* confdefs.h. */
20602 _ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 typedef short ac__type_sizeof_;
20608 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20609 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20610 #include <stdio.h>
20611 #include <stdlib.h>
20612 int
20613 main ()
20614 {
20615
20616 FILE *f = fopen ("conftest.val", "w");
20617 if (! f)
20618 return 1;
20619 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20620 {
20621 long int i = longval ();
20622 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20623 return 1;
20624 fprintf (f, "%ld\n", i);
20625 }
20626 else
20627 {
20628 unsigned long int i = ulongval ();
20629 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20630 return 1;
20631 fprintf (f, "%lu\n", i);
20632 }
20633 return ferror (f) || fclose (f) != 0;
20634
20635 ;
20636 return 0;
20637 }
20638 _ACEOF
20639 rm -f conftest$ac_exeext
20640 if { (ac_try="$ac_link"
20641 case "(($ac_try" in
20642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20643 *) ac_try_echo=$ac_try;;
20644 esac
20645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20646 (eval "$ac_link") 2>&5
20647 ac_status=$?
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20650 { (case "(($ac_try" in
20651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20653 esac
20654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20655 (eval "$ac_try") 2>&5
20656 ac_status=$?
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); }; }; then
20659 ac_cv_sizeof_short=`cat conftest.val`
20660 else
20661 echo "$as_me: program exited with status $ac_status" >&5
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 ( exit $ac_status )
20666 if test "$ac_cv_type_short" = yes; then
20667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20668 See \`config.log' for more details." >&5
20669 echo "$as_me: error: cannot compute sizeof (short)
20670 See \`config.log' for more details." >&2;}
20671 { (exit 77); exit 77; }; }
20672 else
20673 ac_cv_sizeof_short=0
20674 fi
20675 fi
20676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20677 fi
20678 rm -f conftest.val
20679 fi
20680 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20681 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20682
20683
20684
20685 cat >>confdefs.h <<_ACEOF
20686 #define SIZEOF_SHORT $ac_cv_sizeof_short
20687 _ACEOF
20688
20689
20690 { echo "$as_me:$LINENO: checking for void *" >&5
20691 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20692 if test "${ac_cv_type_void_p+set}" = set; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20694 else
20695 cat >conftest.$ac_ext <<_ACEOF
20696 /* confdefs.h. */
20697 _ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 $ac_includes_default
20702 typedef void * ac__type_new_;
20703 int
20704 main ()
20705 {
20706 if ((ac__type_new_ *) 0)
20707 return 0;
20708 if (sizeof (ac__type_new_))
20709 return 0;
20710 ;
20711 return 0;
20712 }
20713 _ACEOF
20714 rm -f conftest.$ac_objext
20715 if { (ac_try="$ac_compile"
20716 case "(($ac_try" in
20717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20718 *) ac_try_echo=$ac_try;;
20719 esac
20720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20721 (eval "$ac_compile") 2>conftest.er1
20722 ac_status=$?
20723 grep -v '^ *+' conftest.er1 >conftest.err
20724 rm -f conftest.er1
20725 cat conftest.err >&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } && {
20728 test -z "$ac_c_werror_flag" ||
20729 test ! -s conftest.err
20730 } && test -s conftest.$ac_objext; then
20731 ac_cv_type_void_p=yes
20732 else
20733 echo "$as_me: failed program was:" >&5
20734 sed 's/^/| /' conftest.$ac_ext >&5
20735
20736 ac_cv_type_void_p=no
20737 fi
20738
20739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20740 fi
20741 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20742 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20743
20744 # The cast to long int works around a bug in the HP C Compiler
20745 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20746 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20747 # This bug is HP SR number 8606223364.
20748 { echo "$as_me:$LINENO: checking size of void *" >&5
20749 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20750 if test "${ac_cv_sizeof_void_p+set}" = set; then
20751 echo $ECHO_N "(cached) $ECHO_C" >&6
20752 else
20753 if test "$cross_compiling" = yes; then
20754 # Depending upon the size, compute the lo and hi bounds.
20755 cat >conftest.$ac_ext <<_ACEOF
20756 /* confdefs.h. */
20757 _ACEOF
20758 cat confdefs.h >>conftest.$ac_ext
20759 cat >>conftest.$ac_ext <<_ACEOF
20760 /* end confdefs.h. */
20761 $ac_includes_default
20762 typedef void * ac__type_sizeof_;
20763 int
20764 main ()
20765 {
20766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20767 test_array [0] = 0
20768
20769 ;
20770 return 0;
20771 }
20772 _ACEOF
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20778 esac
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20781 ac_status=$?
20782 grep -v '^ *+' conftest.er1 >conftest.err
20783 rm -f conftest.er1
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && {
20787 test -z "$ac_c_werror_flag" ||
20788 test ! -s conftest.err
20789 } && test -s conftest.$ac_objext; then
20790 ac_lo=0 ac_mid=0
20791 while :; do
20792 cat >conftest.$ac_ext <<_ACEOF
20793 /* confdefs.h. */
20794 _ACEOF
20795 cat confdefs.h >>conftest.$ac_ext
20796 cat >>conftest.$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798 $ac_includes_default
20799 typedef void * ac__type_sizeof_;
20800 int
20801 main ()
20802 {
20803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20804 test_array [0] = 0
20805
20806 ;
20807 return 0;
20808 }
20809 _ACEOF
20810 rm -f conftest.$ac_objext
20811 if { (ac_try="$ac_compile"
20812 case "(($ac_try" in
20813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20814 *) ac_try_echo=$ac_try;;
20815 esac
20816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20817 (eval "$ac_compile") 2>conftest.er1
20818 ac_status=$?
20819 grep -v '^ *+' conftest.er1 >conftest.err
20820 rm -f conftest.er1
20821 cat conftest.err >&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } && {
20824 test -z "$ac_c_werror_flag" ||
20825 test ! -s conftest.err
20826 } && test -s conftest.$ac_objext; then
20827 ac_hi=$ac_mid; break
20828 else
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.$ac_ext >&5
20831
20832 ac_lo=`expr $ac_mid + 1`
20833 if test $ac_lo -le $ac_mid; then
20834 ac_lo= ac_hi=
20835 break
20836 fi
20837 ac_mid=`expr 2 '*' $ac_mid + 1`
20838 fi
20839
20840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20841 done
20842 else
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.$ac_ext >&5
20845
20846 cat >conftest.$ac_ext <<_ACEOF
20847 /* confdefs.h. */
20848 _ACEOF
20849 cat confdefs.h >>conftest.$ac_ext
20850 cat >>conftest.$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20852 $ac_includes_default
20853 typedef void * ac__type_sizeof_;
20854 int
20855 main ()
20856 {
20857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20858 test_array [0] = 0
20859
20860 ;
20861 return 0;
20862 }
20863 _ACEOF
20864 rm -f conftest.$ac_objext
20865 if { (ac_try="$ac_compile"
20866 case "(($ac_try" in
20867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20869 esac
20870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_compile") 2>conftest.er1
20872 ac_status=$?
20873 grep -v '^ *+' conftest.er1 >conftest.err
20874 rm -f conftest.er1
20875 cat conftest.err >&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } && {
20878 test -z "$ac_c_werror_flag" ||
20879 test ! -s conftest.err
20880 } && test -s conftest.$ac_objext; then
20881 ac_hi=-1 ac_mid=-1
20882 while :; do
20883 cat >conftest.$ac_ext <<_ACEOF
20884 /* confdefs.h. */
20885 _ACEOF
20886 cat confdefs.h >>conftest.$ac_ext
20887 cat >>conftest.$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20889 $ac_includes_default
20890 typedef void * ac__type_sizeof_;
20891 int
20892 main ()
20893 {
20894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20895 test_array [0] = 0
20896
20897 ;
20898 return 0;
20899 }
20900 _ACEOF
20901 rm -f conftest.$ac_objext
20902 if { (ac_try="$ac_compile"
20903 case "(($ac_try" in
20904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20905 *) ac_try_echo=$ac_try;;
20906 esac
20907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20908 (eval "$ac_compile") 2>conftest.er1
20909 ac_status=$?
20910 grep -v '^ *+' conftest.er1 >conftest.err
20911 rm -f conftest.er1
20912 cat conftest.err >&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } && {
20915 test -z "$ac_c_werror_flag" ||
20916 test ! -s conftest.err
20917 } && test -s conftest.$ac_objext; then
20918 ac_lo=$ac_mid; break
20919 else
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.$ac_ext >&5
20922
20923 ac_hi=`expr '(' $ac_mid ')' - 1`
20924 if test $ac_mid -le $ac_hi; then
20925 ac_lo= ac_hi=
20926 break
20927 fi
20928 ac_mid=`expr 2 '*' $ac_mid`
20929 fi
20930
20931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20932 done
20933 else
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.$ac_ext >&5
20936
20937 ac_lo= ac_hi=
20938 fi
20939
20940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20941 fi
20942
20943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20944 # Binary search between lo and hi bounds.
20945 while test "x$ac_lo" != "x$ac_hi"; do
20946 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20947 cat >conftest.$ac_ext <<_ACEOF
20948 /* confdefs.h. */
20949 _ACEOF
20950 cat confdefs.h >>conftest.$ac_ext
20951 cat >>conftest.$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20953 $ac_includes_default
20954 typedef void * ac__type_sizeof_;
20955 int
20956 main ()
20957 {
20958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20959 test_array [0] = 0
20960
20961 ;
20962 return 0;
20963 }
20964 _ACEOF
20965 rm -f conftest.$ac_objext
20966 if { (ac_try="$ac_compile"
20967 case "(($ac_try" in
20968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20969 *) ac_try_echo=$ac_try;;
20970 esac
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_compile") 2>conftest.er1
20973 ac_status=$?
20974 grep -v '^ *+' conftest.er1 >conftest.err
20975 rm -f conftest.er1
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest.$ac_objext; then
20982 ac_hi=$ac_mid
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20986
20987 ac_lo=`expr '(' $ac_mid ')' + 1`
20988 fi
20989
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 done
20992 case $ac_lo in
20993 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20994 '') if test "$ac_cv_type_void_p" = yes; then
20995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20996 See \`config.log' for more details." >&5
20997 echo "$as_me: error: cannot compute sizeof (void *)
20998 See \`config.log' for more details." >&2;}
20999 { (exit 77); exit 77; }; }
21000 else
21001 ac_cv_sizeof_void_p=0
21002 fi ;;
21003 esac
21004 else
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h. */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 typedef void * ac__type_sizeof_;
21013 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21014 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21015 #include <stdio.h>
21016 #include <stdlib.h>
21017 int
21018 main ()
21019 {
21020
21021 FILE *f = fopen ("conftest.val", "w");
21022 if (! f)
21023 return 1;
21024 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21025 {
21026 long int i = longval ();
21027 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21028 return 1;
21029 fprintf (f, "%ld\n", i);
21030 }
21031 else
21032 {
21033 unsigned long int i = ulongval ();
21034 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21035 return 1;
21036 fprintf (f, "%lu\n", i);
21037 }
21038 return ferror (f) || fclose (f) != 0;
21039
21040 ;
21041 return 0;
21042 }
21043 _ACEOF
21044 rm -f conftest$ac_exeext
21045 if { (ac_try="$ac_link"
21046 case "(($ac_try" in
21047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21048 *) ac_try_echo=$ac_try;;
21049 esac
21050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21051 (eval "$ac_link") 2>&5
21052 ac_status=$?
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21055 { (case "(($ac_try" in
21056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21057 *) ac_try_echo=$ac_try;;
21058 esac
21059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21060 (eval "$ac_try") 2>&5
21061 ac_status=$?
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; }; then
21064 ac_cv_sizeof_void_p=`cat conftest.val`
21065 else
21066 echo "$as_me: program exited with status $ac_status" >&5
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21069
21070 ( exit $ac_status )
21071 if test "$ac_cv_type_void_p" = yes; then
21072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21073 See \`config.log' for more details." >&5
21074 echo "$as_me: error: cannot compute sizeof (void *)
21075 See \`config.log' for more details." >&2;}
21076 { (exit 77); exit 77; }; }
21077 else
21078 ac_cv_sizeof_void_p=0
21079 fi
21080 fi
21081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21082 fi
21083 rm -f conftest.val
21084 fi
21085 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21086 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21087
21088
21089
21090 cat >>confdefs.h <<_ACEOF
21091 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21092 _ACEOF
21093
21094
21095 { echo "$as_me:$LINENO: checking for int" >&5
21096 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21097 if test "${ac_cv_type_int+set}" = set; then
21098 echo $ECHO_N "(cached) $ECHO_C" >&6
21099 else
21100 cat >conftest.$ac_ext <<_ACEOF
21101 /* confdefs.h. */
21102 _ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef int ac__type_new_;
21108 int
21109 main ()
21110 {
21111 if ((ac__type_new_ *) 0)
21112 return 0;
21113 if (sizeof (ac__type_new_))
21114 return 0;
21115 ;
21116 return 0;
21117 }
21118 _ACEOF
21119 rm -f conftest.$ac_objext
21120 if { (ac_try="$ac_compile"
21121 case "(($ac_try" in
21122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21123 *) ac_try_echo=$ac_try;;
21124 esac
21125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21126 (eval "$ac_compile") 2>conftest.er1
21127 ac_status=$?
21128 grep -v '^ *+' conftest.er1 >conftest.err
21129 rm -f conftest.er1
21130 cat conftest.err >&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } && {
21133 test -z "$ac_c_werror_flag" ||
21134 test ! -s conftest.err
21135 } && test -s conftest.$ac_objext; then
21136 ac_cv_type_int=yes
21137 else
21138 echo "$as_me: failed program was:" >&5
21139 sed 's/^/| /' conftest.$ac_ext >&5
21140
21141 ac_cv_type_int=no
21142 fi
21143
21144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21145 fi
21146 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21147 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21148
21149 # The cast to long int works around a bug in the HP C Compiler
21150 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21151 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21152 # This bug is HP SR number 8606223364.
21153 { echo "$as_me:$LINENO: checking size of int" >&5
21154 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21155 if test "${ac_cv_sizeof_int+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 else
21158 if test "$cross_compiling" = yes; then
21159 # Depending upon the size, compute the lo and hi bounds.
21160 cat >conftest.$ac_ext <<_ACEOF
21161 /* confdefs.h. */
21162 _ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21167 typedef int ac__type_sizeof_;
21168 int
21169 main ()
21170 {
21171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21172 test_array [0] = 0
21173
21174 ;
21175 return 0;
21176 }
21177 _ACEOF
21178 rm -f conftest.$ac_objext
21179 if { (ac_try="$ac_compile"
21180 case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21183 esac
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_compile") 2>conftest.er1
21186 ac_status=$?
21187 grep -v '^ *+' conftest.er1 >conftest.err
21188 rm -f conftest.er1
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && {
21192 test -z "$ac_c_werror_flag" ||
21193 test ! -s conftest.err
21194 } && test -s conftest.$ac_objext; then
21195 ac_lo=0 ac_mid=0
21196 while :; do
21197 cat >conftest.$ac_ext <<_ACEOF
21198 /* confdefs.h. */
21199 _ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 typedef int ac__type_sizeof_;
21205 int
21206 main ()
21207 {
21208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21209 test_array [0] = 0
21210
21211 ;
21212 return 0;
21213 }
21214 _ACEOF
21215 rm -f conftest.$ac_objext
21216 if { (ac_try="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21219 *) ac_try_echo=$ac_try;;
21220 esac
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21223 ac_status=$?
21224 grep -v '^ *+' conftest.er1 >conftest.err
21225 rm -f conftest.er1
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } && {
21229 test -z "$ac_c_werror_flag" ||
21230 test ! -s conftest.err
21231 } && test -s conftest.$ac_objext; then
21232 ac_hi=$ac_mid; break
21233 else
21234 echo "$as_me: failed program was:" >&5
21235 sed 's/^/| /' conftest.$ac_ext >&5
21236
21237 ac_lo=`expr $ac_mid + 1`
21238 if test $ac_lo -le $ac_mid; then
21239 ac_lo= ac_hi=
21240 break
21241 fi
21242 ac_mid=`expr 2 '*' $ac_mid + 1`
21243 fi
21244
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21246 done
21247 else
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
21250
21251 cat >conftest.$ac_ext <<_ACEOF
21252 /* confdefs.h. */
21253 _ACEOF
21254 cat confdefs.h >>conftest.$ac_ext
21255 cat >>conftest.$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 $ac_includes_default
21258 typedef int ac__type_sizeof_;
21259 int
21260 main ()
21261 {
21262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21263 test_array [0] = 0
21264
21265 ;
21266 return 0;
21267 }
21268 _ACEOF
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21274 esac
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21277 ac_status=$?
21278 grep -v '^ *+' conftest.er1 >conftest.err
21279 rm -f conftest.er1
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21286 ac_hi=-1 ac_mid=-1
21287 while :; do
21288 cat >conftest.$ac_ext <<_ACEOF
21289 /* confdefs.h. */
21290 _ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef int ac__type_sizeof_;
21296 int
21297 main ()
21298 {
21299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21300 test_array [0] = 0
21301
21302 ;
21303 return 0;
21304 }
21305 _ACEOF
21306 rm -f conftest.$ac_objext
21307 if { (ac_try="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21311 esac
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21314 ac_status=$?
21315 grep -v '^ *+' conftest.er1 >conftest.err
21316 rm -f conftest.er1
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.$ac_objext; then
21323 ac_lo=$ac_mid; break
21324 else
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21327
21328 ac_hi=`expr '(' $ac_mid ')' - 1`
21329 if test $ac_mid -le $ac_hi; then
21330 ac_lo= ac_hi=
21331 break
21332 fi
21333 ac_mid=`expr 2 '*' $ac_mid`
21334 fi
21335
21336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21337 done
21338 else
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21341
21342 ac_lo= ac_hi=
21343 fi
21344
21345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21346 fi
21347
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349 # Binary search between lo and hi bounds.
21350 while test "x$ac_lo" != "x$ac_hi"; do
21351 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21352 cat >conftest.$ac_ext <<_ACEOF
21353 /* confdefs.h. */
21354 _ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 $ac_includes_default
21359 typedef int ac__type_sizeof_;
21360 int
21361 main ()
21362 {
21363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21364 test_array [0] = 0
21365
21366 ;
21367 return 0;
21368 }
21369 _ACEOF
21370 rm -f conftest.$ac_objext
21371 if { (ac_try="$ac_compile"
21372 case "(($ac_try" in
21373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21375 esac
21376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_compile") 2>conftest.er1
21378 ac_status=$?
21379 grep -v '^ *+' conftest.er1 >conftest.err
21380 rm -f conftest.er1
21381 cat conftest.err >&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); } && {
21384 test -z "$ac_c_werror_flag" ||
21385 test ! -s conftest.err
21386 } && test -s conftest.$ac_objext; then
21387 ac_hi=$ac_mid
21388 else
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21391
21392 ac_lo=`expr '(' $ac_mid ')' + 1`
21393 fi
21394
21395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21396 done
21397 case $ac_lo in
21398 ?*) ac_cv_sizeof_int=$ac_lo;;
21399 '') if test "$ac_cv_type_int" = yes; then
21400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21401 See \`config.log' for more details." >&5
21402 echo "$as_me: error: cannot compute sizeof (int)
21403 See \`config.log' for more details." >&2;}
21404 { (exit 77); exit 77; }; }
21405 else
21406 ac_cv_sizeof_int=0
21407 fi ;;
21408 esac
21409 else
21410 cat >conftest.$ac_ext <<_ACEOF
21411 /* confdefs.h. */
21412 _ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 typedef int ac__type_sizeof_;
21418 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21419 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21420 #include <stdio.h>
21421 #include <stdlib.h>
21422 int
21423 main ()
21424 {
21425
21426 FILE *f = fopen ("conftest.val", "w");
21427 if (! f)
21428 return 1;
21429 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21430 {
21431 long int i = longval ();
21432 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21433 return 1;
21434 fprintf (f, "%ld\n", i);
21435 }
21436 else
21437 {
21438 unsigned long int i = ulongval ();
21439 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21440 return 1;
21441 fprintf (f, "%lu\n", i);
21442 }
21443 return ferror (f) || fclose (f) != 0;
21444
21445 ;
21446 return 0;
21447 }
21448 _ACEOF
21449 rm -f conftest$ac_exeext
21450 if { (ac_try="$ac_link"
21451 case "(($ac_try" in
21452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21453 *) ac_try_echo=$ac_try;;
21454 esac
21455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21456 (eval "$ac_link") 2>&5
21457 ac_status=$?
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21460 { (case "(($ac_try" in
21461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21462 *) ac_try_echo=$ac_try;;
21463 esac
21464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21465 (eval "$ac_try") 2>&5
21466 ac_status=$?
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 ac_cv_sizeof_int=`cat conftest.val`
21470 else
21471 echo "$as_me: program exited with status $ac_status" >&5
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21474
21475 ( exit $ac_status )
21476 if test "$ac_cv_type_int" = yes; then
21477 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21478 See \`config.log' for more details." >&5
21479 echo "$as_me: error: cannot compute sizeof (int)
21480 See \`config.log' for more details." >&2;}
21481 { (exit 77); exit 77; }; }
21482 else
21483 ac_cv_sizeof_int=0
21484 fi
21485 fi
21486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21487 fi
21488 rm -f conftest.val
21489 fi
21490 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21491 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21492
21493
21494
21495 cat >>confdefs.h <<_ACEOF
21496 #define SIZEOF_INT $ac_cv_sizeof_int
21497 _ACEOF
21498
21499
21500 { echo "$as_me:$LINENO: checking for long" >&5
21501 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21502 if test "${ac_cv_type_long+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 else
21505 cat >conftest.$ac_ext <<_ACEOF
21506 /* confdefs.h. */
21507 _ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511 $ac_includes_default
21512 typedef long ac__type_new_;
21513 int
21514 main ()
21515 {
21516 if ((ac__type_new_ *) 0)
21517 return 0;
21518 if (sizeof (ac__type_new_))
21519 return 0;
21520 ;
21521 return 0;
21522 }
21523 _ACEOF
21524 rm -f conftest.$ac_objext
21525 if { (ac_try="$ac_compile"
21526 case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21529 esac
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_compile") 2>conftest.er1
21532 ac_status=$?
21533 grep -v '^ *+' conftest.er1 >conftest.err
21534 rm -f conftest.er1
21535 cat conftest.err >&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); } && {
21538 test -z "$ac_c_werror_flag" ||
21539 test ! -s conftest.err
21540 } && test -s conftest.$ac_objext; then
21541 ac_cv_type_long=yes
21542 else
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21545
21546 ac_cv_type_long=no
21547 fi
21548
21549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21550 fi
21551 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21552 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21553
21554 # The cast to long int works around a bug in the HP C Compiler
21555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21557 # This bug is HP SR number 8606223364.
21558 { echo "$as_me:$LINENO: checking size of long" >&5
21559 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21560 if test "${ac_cv_sizeof_long+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 else
21563 if test "$cross_compiling" = yes; then
21564 # Depending upon the size, compute the lo and hi bounds.
21565 cat >conftest.$ac_ext <<_ACEOF
21566 /* confdefs.h. */
21567 _ACEOF
21568 cat confdefs.h >>conftest.$ac_ext
21569 cat >>conftest.$ac_ext <<_ACEOF
21570 /* end confdefs.h. */
21571 $ac_includes_default
21572 typedef long ac__type_sizeof_;
21573 int
21574 main ()
21575 {
21576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21577 test_array [0] = 0
21578
21579 ;
21580 return 0;
21581 }
21582 _ACEOF
21583 rm -f conftest.$ac_objext
21584 if { (ac_try="$ac_compile"
21585 case "(($ac_try" in
21586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21587 *) ac_try_echo=$ac_try;;
21588 esac
21589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21590 (eval "$ac_compile") 2>conftest.er1
21591 ac_status=$?
21592 grep -v '^ *+' conftest.er1 >conftest.err
21593 rm -f conftest.er1
21594 cat conftest.err >&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } && {
21597 test -z "$ac_c_werror_flag" ||
21598 test ! -s conftest.err
21599 } && test -s conftest.$ac_objext; then
21600 ac_lo=0 ac_mid=0
21601 while :; do
21602 cat >conftest.$ac_ext <<_ACEOF
21603 /* confdefs.h. */
21604 _ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 $ac_includes_default
21609 typedef long ac__type_sizeof_;
21610 int
21611 main ()
21612 {
21613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21614 test_array [0] = 0
21615
21616 ;
21617 return 0;
21618 }
21619 _ACEOF
21620 rm -f conftest.$ac_objext
21621 if { (ac_try="$ac_compile"
21622 case "(($ac_try" in
21623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21624 *) ac_try_echo=$ac_try;;
21625 esac
21626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21627 (eval "$ac_compile") 2>conftest.er1
21628 ac_status=$?
21629 grep -v '^ *+' conftest.er1 >conftest.err
21630 rm -f conftest.er1
21631 cat conftest.err >&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); } && {
21634 test -z "$ac_c_werror_flag" ||
21635 test ! -s conftest.err
21636 } && test -s conftest.$ac_objext; then
21637 ac_hi=$ac_mid; break
21638 else
21639 echo "$as_me: failed program was:" >&5
21640 sed 's/^/| /' conftest.$ac_ext >&5
21641
21642 ac_lo=`expr $ac_mid + 1`
21643 if test $ac_lo -le $ac_mid; then
21644 ac_lo= ac_hi=
21645 break
21646 fi
21647 ac_mid=`expr 2 '*' $ac_mid + 1`
21648 fi
21649
21650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21651 done
21652 else
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21655
21656 cat >conftest.$ac_ext <<_ACEOF
21657 /* confdefs.h. */
21658 _ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21663 typedef long ac__type_sizeof_;
21664 int
21665 main ()
21666 {
21667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21668 test_array [0] = 0
21669
21670 ;
21671 return 0;
21672 }
21673 _ACEOF
21674 rm -f conftest.$ac_objext
21675 if { (ac_try="$ac_compile"
21676 case "(($ac_try" in
21677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21679 esac
21680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_compile") 2>conftest.er1
21682 ac_status=$?
21683 grep -v '^ *+' conftest.er1 >conftest.err
21684 rm -f conftest.er1
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest.$ac_objext; then
21691 ac_hi=-1 ac_mid=-1
21692 while :; do
21693 cat >conftest.$ac_ext <<_ACEOF
21694 /* confdefs.h. */
21695 _ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 $ac_includes_default
21700 typedef long ac__type_sizeof_;
21701 int
21702 main ()
21703 {
21704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21705 test_array [0] = 0
21706
21707 ;
21708 return 0;
21709 }
21710 _ACEOF
21711 rm -f conftest.$ac_objext
21712 if { (ac_try="$ac_compile"
21713 case "(($ac_try" in
21714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21715 *) ac_try_echo=$ac_try;;
21716 esac
21717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 (eval "$ac_compile") 2>conftest.er1
21719 ac_status=$?
21720 grep -v '^ *+' conftest.er1 >conftest.err
21721 rm -f conftest.er1
21722 cat conftest.err >&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } && {
21725 test -z "$ac_c_werror_flag" ||
21726 test ! -s conftest.err
21727 } && test -s conftest.$ac_objext; then
21728 ac_lo=$ac_mid; break
21729 else
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21732
21733 ac_hi=`expr '(' $ac_mid ')' - 1`
21734 if test $ac_mid -le $ac_hi; then
21735 ac_lo= ac_hi=
21736 break
21737 fi
21738 ac_mid=`expr 2 '*' $ac_mid`
21739 fi
21740
21741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21742 done
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21746
21747 ac_lo= ac_hi=
21748 fi
21749
21750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751 fi
21752
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 # Binary search between lo and hi bounds.
21755 while test "x$ac_lo" != "x$ac_hi"; do
21756 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21757 cat >conftest.$ac_ext <<_ACEOF
21758 /* confdefs.h. */
21759 _ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef long ac__type_sizeof_;
21765 int
21766 main ()
21767 {
21768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21769 test_array [0] = 0
21770
21771 ;
21772 return 0;
21773 }
21774 _ACEOF
21775 rm -f conftest.$ac_objext
21776 if { (ac_try="$ac_compile"
21777 case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21780 esac
21781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_compile") 2>conftest.er1
21783 ac_status=$?
21784 grep -v '^ *+' conftest.er1 >conftest.err
21785 rm -f conftest.er1
21786 cat conftest.err >&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); } && {
21789 test -z "$ac_c_werror_flag" ||
21790 test ! -s conftest.err
21791 } && test -s conftest.$ac_objext; then
21792 ac_hi=$ac_mid
21793 else
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.$ac_ext >&5
21796
21797 ac_lo=`expr '(' $ac_mid ')' + 1`
21798 fi
21799
21800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21801 done
21802 case $ac_lo in
21803 ?*) ac_cv_sizeof_long=$ac_lo;;
21804 '') if test "$ac_cv_type_long" = yes; then
21805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21806 See \`config.log' for more details." >&5
21807 echo "$as_me: error: cannot compute sizeof (long)
21808 See \`config.log' for more details." >&2;}
21809 { (exit 77); exit 77; }; }
21810 else
21811 ac_cv_sizeof_long=0
21812 fi ;;
21813 esac
21814 else
21815 cat >conftest.$ac_ext <<_ACEOF
21816 /* confdefs.h. */
21817 _ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21822 typedef long ac__type_sizeof_;
21823 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21824 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21825 #include <stdio.h>
21826 #include <stdlib.h>
21827 int
21828 main ()
21829 {
21830
21831 FILE *f = fopen ("conftest.val", "w");
21832 if (! f)
21833 return 1;
21834 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21835 {
21836 long int i = longval ();
21837 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21838 return 1;
21839 fprintf (f, "%ld\n", i);
21840 }
21841 else
21842 {
21843 unsigned long int i = ulongval ();
21844 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21845 return 1;
21846 fprintf (f, "%lu\n", i);
21847 }
21848 return ferror (f) || fclose (f) != 0;
21849
21850 ;
21851 return 0;
21852 }
21853 _ACEOF
21854 rm -f conftest$ac_exeext
21855 if { (ac_try="$ac_link"
21856 case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21858 *) ac_try_echo=$ac_try;;
21859 esac
21860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_link") 2>&5
21862 ac_status=$?
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21865 { (case "(($ac_try" in
21866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21867 *) ac_try_echo=$ac_try;;
21868 esac
21869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21870 (eval "$ac_try") 2>&5
21871 ac_status=$?
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; }; then
21874 ac_cv_sizeof_long=`cat conftest.val`
21875 else
21876 echo "$as_me: program exited with status $ac_status" >&5
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21879
21880 ( exit $ac_status )
21881 if test "$ac_cv_type_long" = yes; then
21882 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21883 See \`config.log' for more details." >&5
21884 echo "$as_me: error: cannot compute sizeof (long)
21885 See \`config.log' for more details." >&2;}
21886 { (exit 77); exit 77; }; }
21887 else
21888 ac_cv_sizeof_long=0
21889 fi
21890 fi
21891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21892 fi
21893 rm -f conftest.val
21894 fi
21895 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21896 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21897
21898
21899
21900 cat >>confdefs.h <<_ACEOF
21901 #define SIZEOF_LONG $ac_cv_sizeof_long
21902 _ACEOF
21903
21904
21905 { echo "$as_me:$LINENO: checking for size_t" >&5
21906 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21907 if test "${ac_cv_type_size_t+set}" = set; then
21908 echo $ECHO_N "(cached) $ECHO_C" >&6
21909 else
21910 cat >conftest.$ac_ext <<_ACEOF
21911 /* confdefs.h. */
21912 _ACEOF
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 $ac_includes_default
21917 typedef size_t ac__type_new_;
21918 int
21919 main ()
21920 {
21921 if ((ac__type_new_ *) 0)
21922 return 0;
21923 if (sizeof (ac__type_new_))
21924 return 0;
21925 ;
21926 return 0;
21927 }
21928 _ACEOF
21929 rm -f conftest.$ac_objext
21930 if { (ac_try="$ac_compile"
21931 case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;;
21934 esac
21935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21936 (eval "$ac_compile") 2>conftest.er1
21937 ac_status=$?
21938 grep -v '^ *+' conftest.er1 >conftest.err
21939 rm -f conftest.er1
21940 cat conftest.err >&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); } && {
21943 test -z "$ac_c_werror_flag" ||
21944 test ! -s conftest.err
21945 } && test -s conftest.$ac_objext; then
21946 ac_cv_type_size_t=yes
21947 else
21948 echo "$as_me: failed program was:" >&5
21949 sed 's/^/| /' conftest.$ac_ext >&5
21950
21951 ac_cv_type_size_t=no
21952 fi
21953
21954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21955 fi
21956 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21957 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21958
21959 # The cast to long int works around a bug in the HP C Compiler
21960 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21961 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21962 # This bug is HP SR number 8606223364.
21963 { echo "$as_me:$LINENO: checking size of size_t" >&5
21964 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21965 if test "${ac_cv_sizeof_size_t+set}" = set; then
21966 echo $ECHO_N "(cached) $ECHO_C" >&6
21967 else
21968 if test "$cross_compiling" = yes; then
21969 # Depending upon the size, compute the lo and hi bounds.
21970 cat >conftest.$ac_ext <<_ACEOF
21971 /* confdefs.h. */
21972 _ACEOF
21973 cat confdefs.h >>conftest.$ac_ext
21974 cat >>conftest.$ac_ext <<_ACEOF
21975 /* end confdefs.h. */
21976 $ac_includes_default
21977 typedef size_t ac__type_sizeof_;
21978 int
21979 main ()
21980 {
21981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21982 test_array [0] = 0
21983
21984 ;
21985 return 0;
21986 }
21987 _ACEOF
21988 rm -f conftest.$ac_objext
21989 if { (ac_try="$ac_compile"
21990 case "(($ac_try" in
21991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21992 *) ac_try_echo=$ac_try;;
21993 esac
21994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21995 (eval "$ac_compile") 2>conftest.er1
21996 ac_status=$?
21997 grep -v '^ *+' conftest.er1 >conftest.err
21998 rm -f conftest.er1
21999 cat conftest.err >&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } && {
22002 test -z "$ac_c_werror_flag" ||
22003 test ! -s conftest.err
22004 } && test -s conftest.$ac_objext; then
22005 ac_lo=0 ac_mid=0
22006 while :; do
22007 cat >conftest.$ac_ext <<_ACEOF
22008 /* confdefs.h. */
22009 _ACEOF
22010 cat confdefs.h >>conftest.$ac_ext
22011 cat >>conftest.$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22013 $ac_includes_default
22014 typedef size_t ac__type_sizeof_;
22015 int
22016 main ()
22017 {
22018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22019 test_array [0] = 0
22020
22021 ;
22022 return 0;
22023 }
22024 _ACEOF
22025 rm -f conftest.$ac_objext
22026 if { (ac_try="$ac_compile"
22027 case "(($ac_try" in
22028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22029 *) ac_try_echo=$ac_try;;
22030 esac
22031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22032 (eval "$ac_compile") 2>conftest.er1
22033 ac_status=$?
22034 grep -v '^ *+' conftest.er1 >conftest.err
22035 rm -f conftest.er1
22036 cat conftest.err >&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } && {
22039 test -z "$ac_c_werror_flag" ||
22040 test ! -s conftest.err
22041 } && test -s conftest.$ac_objext; then
22042 ac_hi=$ac_mid; break
22043 else
22044 echo "$as_me: failed program was:" >&5
22045 sed 's/^/| /' conftest.$ac_ext >&5
22046
22047 ac_lo=`expr $ac_mid + 1`
22048 if test $ac_lo -le $ac_mid; then
22049 ac_lo= ac_hi=
22050 break
22051 fi
22052 ac_mid=`expr 2 '*' $ac_mid + 1`
22053 fi
22054
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056 done
22057 else
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.$ac_ext >&5
22060
22061 cat >conftest.$ac_ext <<_ACEOF
22062 /* confdefs.h. */
22063 _ACEOF
22064 cat confdefs.h >>conftest.$ac_ext
22065 cat >>conftest.$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22067 $ac_includes_default
22068 typedef size_t ac__type_sizeof_;
22069 int
22070 main ()
22071 {
22072 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22073 test_array [0] = 0
22074
22075 ;
22076 return 0;
22077 }
22078 _ACEOF
22079 rm -f conftest.$ac_objext
22080 if { (ac_try="$ac_compile"
22081 case "(($ac_try" in
22082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22083 *) ac_try_echo=$ac_try;;
22084 esac
22085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22086 (eval "$ac_compile") 2>conftest.er1
22087 ac_status=$?
22088 grep -v '^ *+' conftest.er1 >conftest.err
22089 rm -f conftest.er1
22090 cat conftest.err >&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && {
22093 test -z "$ac_c_werror_flag" ||
22094 test ! -s conftest.err
22095 } && test -s conftest.$ac_objext; then
22096 ac_hi=-1 ac_mid=-1
22097 while :; do
22098 cat >conftest.$ac_ext <<_ACEOF
22099 /* confdefs.h. */
22100 _ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104 $ac_includes_default
22105 typedef size_t ac__type_sizeof_;
22106 int
22107 main ()
22108 {
22109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22110 test_array [0] = 0
22111
22112 ;
22113 return 0;
22114 }
22115 _ACEOF
22116 rm -f conftest.$ac_objext
22117 if { (ac_try="$ac_compile"
22118 case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120 *) ac_try_echo=$ac_try;;
22121 esac
22122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_compile") 2>conftest.er1
22124 ac_status=$?
22125 grep -v '^ *+' conftest.er1 >conftest.err
22126 rm -f conftest.er1
22127 cat conftest.err >&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); } && {
22130 test -z "$ac_c_werror_flag" ||
22131 test ! -s conftest.err
22132 } && test -s conftest.$ac_objext; then
22133 ac_lo=$ac_mid; break
22134 else
22135 echo "$as_me: failed program was:" >&5
22136 sed 's/^/| /' conftest.$ac_ext >&5
22137
22138 ac_hi=`expr '(' $ac_mid ')' - 1`
22139 if test $ac_mid -le $ac_hi; then
22140 ac_lo= ac_hi=
22141 break
22142 fi
22143 ac_mid=`expr 2 '*' $ac_mid`
22144 fi
22145
22146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22147 done
22148 else
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22151
22152 ac_lo= ac_hi=
22153 fi
22154
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22156 fi
22157
22158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22159 # Binary search between lo and hi bounds.
22160 while test "x$ac_lo" != "x$ac_hi"; do
22161 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22162 cat >conftest.$ac_ext <<_ACEOF
22163 /* confdefs.h. */
22164 _ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 $ac_includes_default
22169 typedef size_t ac__type_sizeof_;
22170 int
22171 main ()
22172 {
22173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22174 test_array [0] = 0
22175
22176 ;
22177 return 0;
22178 }
22179 _ACEOF
22180 rm -f conftest.$ac_objext
22181 if { (ac_try="$ac_compile"
22182 case "(($ac_try" in
22183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22184 *) ac_try_echo=$ac_try;;
22185 esac
22186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22187 (eval "$ac_compile") 2>conftest.er1
22188 ac_status=$?
22189 grep -v '^ *+' conftest.er1 >conftest.err
22190 rm -f conftest.er1
22191 cat conftest.err >&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } && {
22194 test -z "$ac_c_werror_flag" ||
22195 test ! -s conftest.err
22196 } && test -s conftest.$ac_objext; then
22197 ac_hi=$ac_mid
22198 else
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22201
22202 ac_lo=`expr '(' $ac_mid ')' + 1`
22203 fi
22204
22205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22206 done
22207 case $ac_lo in
22208 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22209 '') if test "$ac_cv_type_size_t" = yes; then
22210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22211 See \`config.log' for more details." >&5
22212 echo "$as_me: error: cannot compute sizeof (size_t)
22213 See \`config.log' for more details." >&2;}
22214 { (exit 77); exit 77; }; }
22215 else
22216 ac_cv_sizeof_size_t=0
22217 fi ;;
22218 esac
22219 else
22220 cat >conftest.$ac_ext <<_ACEOF
22221 /* confdefs.h. */
22222 _ACEOF
22223 cat confdefs.h >>conftest.$ac_ext
22224 cat >>conftest.$ac_ext <<_ACEOF
22225 /* end confdefs.h. */
22226 $ac_includes_default
22227 typedef size_t ac__type_sizeof_;
22228 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22229 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22230 #include <stdio.h>
22231 #include <stdlib.h>
22232 int
22233 main ()
22234 {
22235
22236 FILE *f = fopen ("conftest.val", "w");
22237 if (! f)
22238 return 1;
22239 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22240 {
22241 long int i = longval ();
22242 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22243 return 1;
22244 fprintf (f, "%ld\n", i);
22245 }
22246 else
22247 {
22248 unsigned long int i = ulongval ();
22249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22250 return 1;
22251 fprintf (f, "%lu\n", i);
22252 }
22253 return ferror (f) || fclose (f) != 0;
22254
22255 ;
22256 return 0;
22257 }
22258 _ACEOF
22259 rm -f conftest$ac_exeext
22260 if { (ac_try="$ac_link"
22261 case "(($ac_try" in
22262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22263 *) ac_try_echo=$ac_try;;
22264 esac
22265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22266 (eval "$ac_link") 2>&5
22267 ac_status=$?
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22270 { (case "(($ac_try" in
22271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22272 *) ac_try_echo=$ac_try;;
22273 esac
22274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22275 (eval "$ac_try") 2>&5
22276 ac_status=$?
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 ac_cv_sizeof_size_t=`cat conftest.val`
22280 else
22281 echo "$as_me: program exited with status $ac_status" >&5
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22284
22285 ( exit $ac_status )
22286 if test "$ac_cv_type_size_t" = yes; then
22287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22288 See \`config.log' for more details." >&5
22289 echo "$as_me: error: cannot compute sizeof (size_t)
22290 See \`config.log' for more details." >&2;}
22291 { (exit 77); exit 77; }; }
22292 else
22293 ac_cv_sizeof_size_t=0
22294 fi
22295 fi
22296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22297 fi
22298 rm -f conftest.val
22299 fi
22300 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22301 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22302
22303
22304
22305 cat >>confdefs.h <<_ACEOF
22306 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22307 _ACEOF
22308
22309
22310
22311 case "${host}" in
22312 arm-*-linux* )
22313 { echo "$as_me:$LINENO: checking for long long" >&5
22314 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22315 if test "${ac_cv_type_long_long+set}" = set; then
22316 echo $ECHO_N "(cached) $ECHO_C" >&6
22317 else
22318 cat >conftest.$ac_ext <<_ACEOF
22319 /* confdefs.h. */
22320 _ACEOF
22321 cat confdefs.h >>conftest.$ac_ext
22322 cat >>conftest.$ac_ext <<_ACEOF
22323 /* end confdefs.h. */
22324 $ac_includes_default
22325 typedef long long ac__type_new_;
22326 int
22327 main ()
22328 {
22329 if ((ac__type_new_ *) 0)
22330 return 0;
22331 if (sizeof (ac__type_new_))
22332 return 0;
22333 ;
22334 return 0;
22335 }
22336 _ACEOF
22337 rm -f conftest.$ac_objext
22338 if { (ac_try="$ac_compile"
22339 case "(($ac_try" in
22340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22341 *) ac_try_echo=$ac_try;;
22342 esac
22343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22344 (eval "$ac_compile") 2>conftest.er1
22345 ac_status=$?
22346 grep -v '^ *+' conftest.er1 >conftest.err
22347 rm -f conftest.er1
22348 cat conftest.err >&5
22349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350 (exit $ac_status); } && {
22351 test -z "$ac_c_werror_flag" ||
22352 test ! -s conftest.err
22353 } && test -s conftest.$ac_objext; then
22354 ac_cv_type_long_long=yes
22355 else
22356 echo "$as_me: failed program was:" >&5
22357 sed 's/^/| /' conftest.$ac_ext >&5
22358
22359 ac_cv_type_long_long=no
22360 fi
22361
22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22363 fi
22364 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22365 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22366
22367 # The cast to long int works around a bug in the HP C Compiler
22368 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22369 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22370 # This bug is HP SR number 8606223364.
22371 { echo "$as_me:$LINENO: checking size of long long" >&5
22372 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22373 if test "${ac_cv_sizeof_long_long+set}" = set; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22375 else
22376 if test "$cross_compiling" = yes; then
22377 # Depending upon the size, compute the lo and hi bounds.
22378 cat >conftest.$ac_ext <<_ACEOF
22379 /* confdefs.h. */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 typedef long long ac__type_sizeof_;
22386 int
22387 main ()
22388 {
22389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22390 test_array [0] = 0
22391
22392 ;
22393 return 0;
22394 }
22395 _ACEOF
22396 rm -f conftest.$ac_objext
22397 if { (ac_try="$ac_compile"
22398 case "(($ac_try" in
22399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22400 *) ac_try_echo=$ac_try;;
22401 esac
22402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22403 (eval "$ac_compile") 2>conftest.er1
22404 ac_status=$?
22405 grep -v '^ *+' conftest.er1 >conftest.err
22406 rm -f conftest.er1
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } && {
22410 test -z "$ac_c_werror_flag" ||
22411 test ! -s conftest.err
22412 } && test -s conftest.$ac_objext; then
22413 ac_lo=0 ac_mid=0
22414 while :; do
22415 cat >conftest.$ac_ext <<_ACEOF
22416 /* confdefs.h. */
22417 _ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef long long ac__type_sizeof_;
22423 int
22424 main ()
22425 {
22426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22427 test_array [0] = 0
22428
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 rm -f conftest.$ac_objext
22434 if { (ac_try="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22437 *) ac_try_echo=$ac_try;;
22438 esac
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22441 ac_status=$?
22442 grep -v '^ *+' conftest.er1 >conftest.err
22443 rm -f conftest.er1
22444 cat conftest.err >&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.$ac_objext; then
22450 ac_hi=$ac_mid; break
22451 else
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.$ac_ext >&5
22454
22455 ac_lo=`expr $ac_mid + 1`
22456 if test $ac_lo -le $ac_mid; then
22457 ac_lo= ac_hi=
22458 break
22459 fi
22460 ac_mid=`expr 2 '*' $ac_mid + 1`
22461 fi
22462
22463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22464 done
22465 else
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22468
22469 cat >conftest.$ac_ext <<_ACEOF
22470 /* confdefs.h. */
22471 _ACEOF
22472 cat confdefs.h >>conftest.$ac_ext
22473 cat >>conftest.$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22475 $ac_includes_default
22476 typedef long long ac__type_sizeof_;
22477 int
22478 main ()
22479 {
22480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22481 test_array [0] = 0
22482
22483 ;
22484 return 0;
22485 }
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (ac_try="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22491 *) ac_try_echo=$ac_try;;
22492 esac
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22495 ac_status=$?
22496 grep -v '^ *+' conftest.er1 >conftest.err
22497 rm -f conftest.er1
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.$ac_objext; then
22504 ac_hi=-1 ac_mid=-1
22505 while :; do
22506 cat >conftest.$ac_ext <<_ACEOF
22507 /* confdefs.h. */
22508 _ACEOF
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22512 $ac_includes_default
22513 typedef long long ac__type_sizeof_;
22514 int
22515 main ()
22516 {
22517 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22518 test_array [0] = 0
22519
22520 ;
22521 return 0;
22522 }
22523 _ACEOF
22524 rm -f conftest.$ac_objext
22525 if { (ac_try="$ac_compile"
22526 case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22528 *) ac_try_echo=$ac_try;;
22529 esac
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_compile") 2>conftest.er1
22532 ac_status=$?
22533 grep -v '^ *+' conftest.er1 >conftest.err
22534 rm -f conftest.er1
22535 cat conftest.err >&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } && {
22538 test -z "$ac_c_werror_flag" ||
22539 test ! -s conftest.err
22540 } && test -s conftest.$ac_objext; then
22541 ac_lo=$ac_mid; break
22542 else
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22545
22546 ac_hi=`expr '(' $ac_mid ')' - 1`
22547 if test $ac_mid -le $ac_hi; then
22548 ac_lo= ac_hi=
22549 break
22550 fi
22551 ac_mid=`expr 2 '*' $ac_mid`
22552 fi
22553
22554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22555 done
22556 else
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.$ac_ext >&5
22559
22560 ac_lo= ac_hi=
22561 fi
22562
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564 fi
22565
22566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22567 # Binary search between lo and hi bounds.
22568 while test "x$ac_lo" != "x$ac_hi"; do
22569 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22570 cat >conftest.$ac_ext <<_ACEOF
22571 /* confdefs.h. */
22572 _ACEOF
22573 cat confdefs.h >>conftest.$ac_ext
22574 cat >>conftest.$ac_ext <<_ACEOF
22575 /* end confdefs.h. */
22576 $ac_includes_default
22577 typedef long long ac__type_sizeof_;
22578 int
22579 main ()
22580 {
22581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22582 test_array [0] = 0
22583
22584 ;
22585 return 0;
22586 }
22587 _ACEOF
22588 rm -f conftest.$ac_objext
22589 if { (ac_try="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22593 esac
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22596 ac_status=$?
22597 grep -v '^ *+' conftest.er1 >conftest.err
22598 rm -f conftest.er1
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.$ac_objext; then
22605 ac_hi=$ac_mid
22606 else
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22609
22610 ac_lo=`expr '(' $ac_mid ')' + 1`
22611 fi
22612
22613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22614 done
22615 case $ac_lo in
22616 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22617 '') if test "$ac_cv_type_long_long" = yes; then
22618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22619 See \`config.log' for more details." >&5
22620 echo "$as_me: error: cannot compute sizeof (long long)
22621 See \`config.log' for more details." >&2;}
22622 { (exit 77); exit 77; }; }
22623 else
22624 ac_cv_sizeof_long_long=0
22625 fi ;;
22626 esac
22627 else
22628 cat >conftest.$ac_ext <<_ACEOF
22629 /* confdefs.h. */
22630 _ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 $ac_includes_default
22635 typedef long long ac__type_sizeof_;
22636 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22637 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22638 #include <stdio.h>
22639 #include <stdlib.h>
22640 int
22641 main ()
22642 {
22643
22644 FILE *f = fopen ("conftest.val", "w");
22645 if (! f)
22646 return 1;
22647 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22648 {
22649 long int i = longval ();
22650 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22651 return 1;
22652 fprintf (f, "%ld\n", i);
22653 }
22654 else
22655 {
22656 unsigned long int i = ulongval ();
22657 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22658 return 1;
22659 fprintf (f, "%lu\n", i);
22660 }
22661 return ferror (f) || fclose (f) != 0;
22662
22663 ;
22664 return 0;
22665 }
22666 _ACEOF
22667 rm -f conftest$ac_exeext
22668 if { (ac_try="$ac_link"
22669 case "(($ac_try" in
22670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22671 *) ac_try_echo=$ac_try;;
22672 esac
22673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22674 (eval "$ac_link") 2>&5
22675 ac_status=$?
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22678 { (case "(($ac_try" in
22679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22680 *) ac_try_echo=$ac_try;;
22681 esac
22682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22683 (eval "$ac_try") 2>&5
22684 ac_status=$?
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); }; }; then
22687 ac_cv_sizeof_long_long=`cat conftest.val`
22688 else
22689 echo "$as_me: program exited with status $ac_status" >&5
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22692
22693 ( exit $ac_status )
22694 if test "$ac_cv_type_long_long" = yes; then
22695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22696 See \`config.log' for more details." >&5
22697 echo "$as_me: error: cannot compute sizeof (long long)
22698 See \`config.log' for more details." >&2;}
22699 { (exit 77); exit 77; }; }
22700 else
22701 ac_cv_sizeof_long_long=0
22702 fi
22703 fi
22704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22705 fi
22706 rm -f conftest.val
22707 fi
22708 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22709 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22710
22711
22712
22713 cat >>confdefs.h <<_ACEOF
22714 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22715 _ACEOF
22716
22717
22718 ;;
22719 *-hp-hpux* )
22720 { echo "$as_me:$LINENO: checking for long long" >&5
22721 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22722 if test "${ac_cv_type_long_long+set}" = set; then
22723 echo $ECHO_N "(cached) $ECHO_C" >&6
22724 else
22725 cat >conftest.$ac_ext <<_ACEOF
22726 /* confdefs.h. */
22727 _ACEOF
22728 cat confdefs.h >>conftest.$ac_ext
22729 cat >>conftest.$ac_ext <<_ACEOF
22730 /* end confdefs.h. */
22731 $ac_includes_default
22732 typedef long long ac__type_new_;
22733 int
22734 main ()
22735 {
22736 if ((ac__type_new_ *) 0)
22737 return 0;
22738 if (sizeof (ac__type_new_))
22739 return 0;
22740 ;
22741 return 0;
22742 }
22743 _ACEOF
22744 rm -f conftest.$ac_objext
22745 if { (ac_try="$ac_compile"
22746 case "(($ac_try" in
22747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22748 *) ac_try_echo=$ac_try;;
22749 esac
22750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22751 (eval "$ac_compile") 2>conftest.er1
22752 ac_status=$?
22753 grep -v '^ *+' conftest.er1 >conftest.err
22754 rm -f conftest.er1
22755 cat conftest.err >&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } && {
22758 test -z "$ac_c_werror_flag" ||
22759 test ! -s conftest.err
22760 } && test -s conftest.$ac_objext; then
22761 ac_cv_type_long_long=yes
22762 else
22763 echo "$as_me: failed program was:" >&5
22764 sed 's/^/| /' conftest.$ac_ext >&5
22765
22766 ac_cv_type_long_long=no
22767 fi
22768
22769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22770 fi
22771 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22772 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22773
22774 # The cast to long int works around a bug in the HP C Compiler
22775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22776 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22777 # This bug is HP SR number 8606223364.
22778 { echo "$as_me:$LINENO: checking size of long long" >&5
22779 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22780 if test "${ac_cv_sizeof_long_long+set}" = set; then
22781 echo $ECHO_N "(cached) $ECHO_C" >&6
22782 else
22783 if test "$cross_compiling" = yes; then
22784 # Depending upon the size, compute the lo and hi bounds.
22785 cat >conftest.$ac_ext <<_ACEOF
22786 /* confdefs.h. */
22787 _ACEOF
22788 cat confdefs.h >>conftest.$ac_ext
22789 cat >>conftest.$ac_ext <<_ACEOF
22790 /* end confdefs.h. */
22791 $ac_includes_default
22792 typedef long long ac__type_sizeof_;
22793 int
22794 main ()
22795 {
22796 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22797 test_array [0] = 0
22798
22799 ;
22800 return 0;
22801 }
22802 _ACEOF
22803 rm -f conftest.$ac_objext
22804 if { (ac_try="$ac_compile"
22805 case "(($ac_try" in
22806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22807 *) ac_try_echo=$ac_try;;
22808 esac
22809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22810 (eval "$ac_compile") 2>conftest.er1
22811 ac_status=$?
22812 grep -v '^ *+' conftest.er1 >conftest.err
22813 rm -f conftest.er1
22814 cat conftest.err >&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } && {
22817 test -z "$ac_c_werror_flag" ||
22818 test ! -s conftest.err
22819 } && test -s conftest.$ac_objext; then
22820 ac_lo=0 ac_mid=0
22821 while :; do
22822 cat >conftest.$ac_ext <<_ACEOF
22823 /* confdefs.h. */
22824 _ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 $ac_includes_default
22829 typedef long long ac__type_sizeof_;
22830 int
22831 main ()
22832 {
22833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22834 test_array [0] = 0
22835
22836 ;
22837 return 0;
22838 }
22839 _ACEOF
22840 rm -f conftest.$ac_objext
22841 if { (ac_try="$ac_compile"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22844 *) ac_try_echo=$ac_try;;
22845 esac
22846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_compile") 2>conftest.er1
22848 ac_status=$?
22849 grep -v '^ *+' conftest.er1 >conftest.err
22850 rm -f conftest.er1
22851 cat conftest.err >&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } && {
22854 test -z "$ac_c_werror_flag" ||
22855 test ! -s conftest.err
22856 } && test -s conftest.$ac_objext; then
22857 ac_hi=$ac_mid; break
22858 else
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.$ac_ext >&5
22861
22862 ac_lo=`expr $ac_mid + 1`
22863 if test $ac_lo -le $ac_mid; then
22864 ac_lo= ac_hi=
22865 break
22866 fi
22867 ac_mid=`expr 2 '*' $ac_mid + 1`
22868 fi
22869
22870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22871 done
22872 else
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.$ac_ext >&5
22875
22876 cat >conftest.$ac_ext <<_ACEOF
22877 /* confdefs.h. */
22878 _ACEOF
22879 cat confdefs.h >>conftest.$ac_ext
22880 cat >>conftest.$ac_ext <<_ACEOF
22881 /* end confdefs.h. */
22882 $ac_includes_default
22883 typedef long long ac__type_sizeof_;
22884 int
22885 main ()
22886 {
22887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22888 test_array [0] = 0
22889
22890 ;
22891 return 0;
22892 }
22893 _ACEOF
22894 rm -f conftest.$ac_objext
22895 if { (ac_try="$ac_compile"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22899 esac
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_compile") 2>conftest.er1
22902 ac_status=$?
22903 grep -v '^ *+' conftest.er1 >conftest.err
22904 rm -f conftest.er1
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && {
22908 test -z "$ac_c_werror_flag" ||
22909 test ! -s conftest.err
22910 } && test -s conftest.$ac_objext; then
22911 ac_hi=-1 ac_mid=-1
22912 while :; do
22913 cat >conftest.$ac_ext <<_ACEOF
22914 /* confdefs.h. */
22915 _ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919 $ac_includes_default
22920 typedef long long ac__type_sizeof_;
22921 int
22922 main ()
22923 {
22924 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22925 test_array [0] = 0
22926
22927 ;
22928 return 0;
22929 }
22930 _ACEOF
22931 rm -f conftest.$ac_objext
22932 if { (ac_try="$ac_compile"
22933 case "(($ac_try" in
22934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22935 *) ac_try_echo=$ac_try;;
22936 esac
22937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22938 (eval "$ac_compile") 2>conftest.er1
22939 ac_status=$?
22940 grep -v '^ *+' conftest.er1 >conftest.err
22941 rm -f conftest.er1
22942 cat conftest.err >&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } && {
22945 test -z "$ac_c_werror_flag" ||
22946 test ! -s conftest.err
22947 } && test -s conftest.$ac_objext; then
22948 ac_lo=$ac_mid; break
22949 else
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.$ac_ext >&5
22952
22953 ac_hi=`expr '(' $ac_mid ')' - 1`
22954 if test $ac_mid -le $ac_hi; then
22955 ac_lo= ac_hi=
22956 break
22957 fi
22958 ac_mid=`expr 2 '*' $ac_mid`
22959 fi
22960
22961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22962 done
22963 else
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.$ac_ext >&5
22966
22967 ac_lo= ac_hi=
22968 fi
22969
22970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22971 fi
22972
22973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22974 # Binary search between lo and hi bounds.
22975 while test "x$ac_lo" != "x$ac_hi"; do
22976 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22977 cat >conftest.$ac_ext <<_ACEOF
22978 /* confdefs.h. */
22979 _ACEOF
22980 cat confdefs.h >>conftest.$ac_ext
22981 cat >>conftest.$ac_ext <<_ACEOF
22982 /* end confdefs.h. */
22983 $ac_includes_default
22984 typedef long long ac__type_sizeof_;
22985 int
22986 main ()
22987 {
22988 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22989 test_array [0] = 0
22990
22991 ;
22992 return 0;
22993 }
22994 _ACEOF
22995 rm -f conftest.$ac_objext
22996 if { (ac_try="$ac_compile"
22997 case "(($ac_try" in
22998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23000 esac
23001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_compile") 2>conftest.er1
23003 ac_status=$?
23004 grep -v '^ *+' conftest.er1 >conftest.err
23005 rm -f conftest.er1
23006 cat conftest.err >&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); } && {
23009 test -z "$ac_c_werror_flag" ||
23010 test ! -s conftest.err
23011 } && test -s conftest.$ac_objext; then
23012 ac_hi=$ac_mid
23013 else
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.$ac_ext >&5
23016
23017 ac_lo=`expr '(' $ac_mid ')' + 1`
23018 fi
23019
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23021 done
23022 case $ac_lo in
23023 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23024 '') if test "$ac_cv_type_long_long" = yes; then
23025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23026 See \`config.log' for more details." >&5
23027 echo "$as_me: error: cannot compute sizeof (long long)
23028 See \`config.log' for more details." >&2;}
23029 { (exit 77); exit 77; }; }
23030 else
23031 ac_cv_sizeof_long_long=0
23032 fi ;;
23033 esac
23034 else
23035 cat >conftest.$ac_ext <<_ACEOF
23036 /* confdefs.h. */
23037 _ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 $ac_includes_default
23042 typedef long long ac__type_sizeof_;
23043 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23044 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23045 #include <stdio.h>
23046 #include <stdlib.h>
23047 int
23048 main ()
23049 {
23050
23051 FILE *f = fopen ("conftest.val", "w");
23052 if (! f)
23053 return 1;
23054 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23055 {
23056 long int i = longval ();
23057 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23058 return 1;
23059 fprintf (f, "%ld\n", i);
23060 }
23061 else
23062 {
23063 unsigned long int i = ulongval ();
23064 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23065 return 1;
23066 fprintf (f, "%lu\n", i);
23067 }
23068 return ferror (f) || fclose (f) != 0;
23069
23070 ;
23071 return 0;
23072 }
23073 _ACEOF
23074 rm -f conftest$ac_exeext
23075 if { (ac_try="$ac_link"
23076 case "(($ac_try" in
23077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23078 *) ac_try_echo=$ac_try;;
23079 esac
23080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23081 (eval "$ac_link") 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23085 { (case "(($ac_try" in
23086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23087 *) ac_try_echo=$ac_try;;
23088 esac
23089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23090 (eval "$ac_try") 2>&5
23091 ac_status=$?
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); }; }; then
23094 ac_cv_sizeof_long_long=`cat conftest.val`
23095 else
23096 echo "$as_me: program exited with status $ac_status" >&5
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23099
23100 ( exit $ac_status )
23101 if test "$ac_cv_type_long_long" = yes; then
23102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23103 See \`config.log' for more details." >&5
23104 echo "$as_me: error: cannot compute sizeof (long long)
23105 See \`config.log' for more details." >&2;}
23106 { (exit 77); exit 77; }; }
23107 else
23108 ac_cv_sizeof_long_long=0
23109 fi
23110 fi
23111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23112 fi
23113 rm -f conftest.val
23114 fi
23115 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23116 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23117
23118
23119
23120 cat >>confdefs.h <<_ACEOF
23121 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23122 _ACEOF
23123
23124
23125 if test "$ac_cv_sizeof_long_long" != 0; then
23126 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23127 fi
23128 ;;
23129 * )
23130 { echo "$as_me:$LINENO: checking for long long" >&5
23131 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23132 if test "${ac_cv_type_long_long+set}" = set; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23134 else
23135 cat >conftest.$ac_ext <<_ACEOF
23136 /* confdefs.h. */
23137 _ACEOF
23138 cat confdefs.h >>conftest.$ac_ext
23139 cat >>conftest.$ac_ext <<_ACEOF
23140 /* end confdefs.h. */
23141 $ac_includes_default
23142 typedef long long ac__type_new_;
23143 int
23144 main ()
23145 {
23146 if ((ac__type_new_ *) 0)
23147 return 0;
23148 if (sizeof (ac__type_new_))
23149 return 0;
23150 ;
23151 return 0;
23152 }
23153 _ACEOF
23154 rm -f conftest.$ac_objext
23155 if { (ac_try="$ac_compile"
23156 case "(($ac_try" in
23157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23158 *) ac_try_echo=$ac_try;;
23159 esac
23160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23161 (eval "$ac_compile") 2>conftest.er1
23162 ac_status=$?
23163 grep -v '^ *+' conftest.er1 >conftest.err
23164 rm -f conftest.er1
23165 cat conftest.err >&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } && {
23168 test -z "$ac_c_werror_flag" ||
23169 test ! -s conftest.err
23170 } && test -s conftest.$ac_objext; then
23171 ac_cv_type_long_long=yes
23172 else
23173 echo "$as_me: failed program was:" >&5
23174 sed 's/^/| /' conftest.$ac_ext >&5
23175
23176 ac_cv_type_long_long=no
23177 fi
23178
23179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23180 fi
23181 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23182 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23183
23184 # The cast to long int works around a bug in the HP C Compiler
23185 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23186 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23187 # This bug is HP SR number 8606223364.
23188 { echo "$as_me:$LINENO: checking size of long long" >&5
23189 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23190 if test "${ac_cv_sizeof_long_long+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23192 else
23193 if test "$cross_compiling" = yes; then
23194 # Depending upon the size, compute the lo and hi bounds.
23195 cat >conftest.$ac_ext <<_ACEOF
23196 /* confdefs.h. */
23197 _ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 typedef long long ac__type_sizeof_;
23203 int
23204 main ()
23205 {
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23207 test_array [0] = 0
23208
23209 ;
23210 return 0;
23211 }
23212 _ACEOF
23213 rm -f conftest.$ac_objext
23214 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23221 ac_status=$?
23222 grep -v '^ *+' conftest.er1 >conftest.err
23223 rm -f conftest.er1
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23230 ac_lo=0 ac_mid=0
23231 while :; do
23232 cat >conftest.$ac_ext <<_ACEOF
23233 /* confdefs.h. */
23234 _ACEOF
23235 cat confdefs.h >>conftest.$ac_ext
23236 cat >>conftest.$ac_ext <<_ACEOF
23237 /* end confdefs.h. */
23238 $ac_includes_default
23239 typedef long long ac__type_sizeof_;
23240 int
23241 main ()
23242 {
23243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23244 test_array [0] = 0
23245
23246 ;
23247 return 0;
23248 }
23249 _ACEOF
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23255 esac
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23258 ac_status=$?
23259 grep -v '^ *+' conftest.er1 >conftest.err
23260 rm -f conftest.er1
23261 cat conftest.err >&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } && {
23264 test -z "$ac_c_werror_flag" ||
23265 test ! -s conftest.err
23266 } && test -s conftest.$ac_objext; then
23267 ac_hi=$ac_mid; break
23268 else
23269 echo "$as_me: failed program was:" >&5
23270 sed 's/^/| /' conftest.$ac_ext >&5
23271
23272 ac_lo=`expr $ac_mid + 1`
23273 if test $ac_lo -le $ac_mid; then
23274 ac_lo= ac_hi=
23275 break
23276 fi
23277 ac_mid=`expr 2 '*' $ac_mid + 1`
23278 fi
23279
23280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23281 done
23282 else
23283 echo "$as_me: failed program was:" >&5
23284 sed 's/^/| /' conftest.$ac_ext >&5
23285
23286 cat >conftest.$ac_ext <<_ACEOF
23287 /* confdefs.h. */
23288 _ACEOF
23289 cat confdefs.h >>conftest.$ac_ext
23290 cat >>conftest.$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 $ac_includes_default
23293 typedef long long ac__type_sizeof_;
23294 int
23295 main ()
23296 {
23297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23298 test_array [0] = 0
23299
23300 ;
23301 return 0;
23302 }
23303 _ACEOF
23304 rm -f conftest.$ac_objext
23305 if { (ac_try="$ac_compile"
23306 case "(($ac_try" in
23307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23308 *) ac_try_echo=$ac_try;;
23309 esac
23310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23311 (eval "$ac_compile") 2>conftest.er1
23312 ac_status=$?
23313 grep -v '^ *+' conftest.er1 >conftest.err
23314 rm -f conftest.er1
23315 cat conftest.err >&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } && {
23318 test -z "$ac_c_werror_flag" ||
23319 test ! -s conftest.err
23320 } && test -s conftest.$ac_objext; then
23321 ac_hi=-1 ac_mid=-1
23322 while :; do
23323 cat >conftest.$ac_ext <<_ACEOF
23324 /* confdefs.h. */
23325 _ACEOF
23326 cat confdefs.h >>conftest.$ac_ext
23327 cat >>conftest.$ac_ext <<_ACEOF
23328 /* end confdefs.h. */
23329 $ac_includes_default
23330 typedef long long ac__type_sizeof_;
23331 int
23332 main ()
23333 {
23334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23335 test_array [0] = 0
23336
23337 ;
23338 return 0;
23339 }
23340 _ACEOF
23341 rm -f conftest.$ac_objext
23342 if { (ac_try="$ac_compile"
23343 case "(($ac_try" in
23344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23345 *) ac_try_echo=$ac_try;;
23346 esac
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_compile") 2>conftest.er1
23349 ac_status=$?
23350 grep -v '^ *+' conftest.er1 >conftest.err
23351 rm -f conftest.er1
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } && {
23355 test -z "$ac_c_werror_flag" ||
23356 test ! -s conftest.err
23357 } && test -s conftest.$ac_objext; then
23358 ac_lo=$ac_mid; break
23359 else
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23362
23363 ac_hi=`expr '(' $ac_mid ')' - 1`
23364 if test $ac_mid -le $ac_hi; then
23365 ac_lo= ac_hi=
23366 break
23367 fi
23368 ac_mid=`expr 2 '*' $ac_mid`
23369 fi
23370
23371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23372 done
23373 else
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23376
23377 ac_lo= ac_hi=
23378 fi
23379
23380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23381 fi
23382
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23384 # Binary search between lo and hi bounds.
23385 while test "x$ac_lo" != "x$ac_hi"; do
23386 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23387 cat >conftest.$ac_ext <<_ACEOF
23388 /* confdefs.h. */
23389 _ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef long long ac__type_sizeof_;
23395 int
23396 main ()
23397 {
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23399 test_array [0] = 0
23400
23401 ;
23402 return 0;
23403 }
23404 _ACEOF
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23410 esac
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23413 ac_status=$?
23414 grep -v '^ *+' conftest.er1 >conftest.err
23415 rm -f conftest.er1
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_c_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest.$ac_objext; then
23422 ac_hi=$ac_mid
23423 else
23424 echo "$as_me: failed program was:" >&5
23425 sed 's/^/| /' conftest.$ac_ext >&5
23426
23427 ac_lo=`expr '(' $ac_mid ')' + 1`
23428 fi
23429
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431 done
23432 case $ac_lo in
23433 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23434 '') if test "$ac_cv_type_long_long" = yes; then
23435 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23436 See \`config.log' for more details." >&5
23437 echo "$as_me: error: cannot compute sizeof (long long)
23438 See \`config.log' for more details." >&2;}
23439 { (exit 77); exit 77; }; }
23440 else
23441 ac_cv_sizeof_long_long=0
23442 fi ;;
23443 esac
23444 else
23445 cat >conftest.$ac_ext <<_ACEOF
23446 /* confdefs.h. */
23447 _ACEOF
23448 cat confdefs.h >>conftest.$ac_ext
23449 cat >>conftest.$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23451 $ac_includes_default
23452 typedef long long ac__type_sizeof_;
23453 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23454 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23455 #include <stdio.h>
23456 #include <stdlib.h>
23457 int
23458 main ()
23459 {
23460
23461 FILE *f = fopen ("conftest.val", "w");
23462 if (! f)
23463 return 1;
23464 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23465 {
23466 long int i = longval ();
23467 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23468 return 1;
23469 fprintf (f, "%ld\n", i);
23470 }
23471 else
23472 {
23473 unsigned long int i = ulongval ();
23474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23475 return 1;
23476 fprintf (f, "%lu\n", i);
23477 }
23478 return ferror (f) || fclose (f) != 0;
23479
23480 ;
23481 return 0;
23482 }
23483 _ACEOF
23484 rm -f conftest$ac_exeext
23485 if { (ac_try="$ac_link"
23486 case "(($ac_try" in
23487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23488 *) ac_try_echo=$ac_try;;
23489 esac
23490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23491 (eval "$ac_link") 2>&5
23492 ac_status=$?
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23495 { (case "(($ac_try" in
23496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23497 *) ac_try_echo=$ac_try;;
23498 esac
23499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23500 (eval "$ac_try") 2>&5
23501 ac_status=$?
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; }; then
23504 ac_cv_sizeof_long_long=`cat conftest.val`
23505 else
23506 echo "$as_me: program exited with status $ac_status" >&5
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23509
23510 ( exit $ac_status )
23511 if test "$ac_cv_type_long_long" = yes; then
23512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23513 See \`config.log' for more details." >&5
23514 echo "$as_me: error: cannot compute sizeof (long long)
23515 See \`config.log' for more details." >&2;}
23516 { (exit 77); exit 77; }; }
23517 else
23518 ac_cv_sizeof_long_long=0
23519 fi
23520 fi
23521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23522 fi
23523 rm -f conftest.val
23524 fi
23525 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23526 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23527
23528
23529
23530 cat >>confdefs.h <<_ACEOF
23531 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23532 _ACEOF
23533
23534
23535 esac
23536
23537 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23538 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23539 if test "${ac_cv_type_wchar_t+set}" = set; then
23540 echo $ECHO_N "(cached) $ECHO_C" >&6
23541 else
23542 cat >conftest.$ac_ext <<_ACEOF
23543 /* confdefs.h. */
23544 _ACEOF
23545 cat confdefs.h >>conftest.$ac_ext
23546 cat >>conftest.$ac_ext <<_ACEOF
23547 /* end confdefs.h. */
23548
23549 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23550 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23551 # error "fake wchar_t"
23552 #endif
23553 #ifdef HAVE_WCHAR_H
23554 # ifdef __CYGWIN__
23555 # include <stddef.h>
23556 # endif
23557 # include <wchar.h>
23558 #endif
23559 #ifdef HAVE_STDLIB_H
23560 # include <stdlib.h>
23561 #endif
23562 #include <stdio.h>
23563
23564
23565
23566 typedef wchar_t ac__type_new_;
23567 int
23568 main ()
23569 {
23570 if ((ac__type_new_ *) 0)
23571 return 0;
23572 if (sizeof (ac__type_new_))
23573 return 0;
23574 ;
23575 return 0;
23576 }
23577 _ACEOF
23578 rm -f conftest.$ac_objext
23579 if { (ac_try="$ac_compile"
23580 case "(($ac_try" in
23581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23582 *) ac_try_echo=$ac_try;;
23583 esac
23584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23585 (eval "$ac_compile") 2>conftest.er1
23586 ac_status=$?
23587 grep -v '^ *+' conftest.er1 >conftest.err
23588 rm -f conftest.er1
23589 cat conftest.err >&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); } && {
23592 test -z "$ac_c_werror_flag" ||
23593 test ! -s conftest.err
23594 } && test -s conftest.$ac_objext; then
23595 ac_cv_type_wchar_t=yes
23596 else
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.$ac_ext >&5
23599
23600 ac_cv_type_wchar_t=no
23601 fi
23602
23603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23604 fi
23605 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23606 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23607
23608 # The cast to long int works around a bug in the HP C Compiler
23609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23610 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23611 # This bug is HP SR number 8606223364.
23612 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23613 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23614 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23615 echo $ECHO_N "(cached) $ECHO_C" >&6
23616 else
23617 if test "$cross_compiling" = yes; then
23618 # Depending upon the size, compute the lo and hi bounds.
23619 cat >conftest.$ac_ext <<_ACEOF
23620 /* confdefs.h. */
23621 _ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625
23626 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23627 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23628 # error "fake wchar_t"
23629 #endif
23630 #ifdef HAVE_WCHAR_H
23631 # ifdef __CYGWIN__
23632 # include <stddef.h>
23633 # endif
23634 # include <wchar.h>
23635 #endif
23636 #ifdef HAVE_STDLIB_H
23637 # include <stdlib.h>
23638 #endif
23639 #include <stdio.h>
23640
23641
23642
23643 typedef wchar_t ac__type_sizeof_;
23644 int
23645 main ()
23646 {
23647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23648 test_array [0] = 0
23649
23650 ;
23651 return 0;
23652 }
23653 _ACEOF
23654 rm -f conftest.$ac_objext
23655 if { (ac_try="$ac_compile"
23656 case "(($ac_try" in
23657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23658 *) ac_try_echo=$ac_try;;
23659 esac
23660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23661 (eval "$ac_compile") 2>conftest.er1
23662 ac_status=$?
23663 grep -v '^ *+' conftest.er1 >conftest.err
23664 rm -f conftest.er1
23665 cat conftest.err >&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } && {
23668 test -z "$ac_c_werror_flag" ||
23669 test ! -s conftest.err
23670 } && test -s conftest.$ac_objext; then
23671 ac_lo=0 ac_mid=0
23672 while :; do
23673 cat >conftest.$ac_ext <<_ACEOF
23674 /* confdefs.h. */
23675 _ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23679
23680 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23681 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23682 # error "fake wchar_t"
23683 #endif
23684 #ifdef HAVE_WCHAR_H
23685 # ifdef __CYGWIN__
23686 # include <stddef.h>
23687 # endif
23688 # include <wchar.h>
23689 #endif
23690 #ifdef HAVE_STDLIB_H
23691 # include <stdlib.h>
23692 #endif
23693 #include <stdio.h>
23694
23695
23696
23697 typedef wchar_t ac__type_sizeof_;
23698 int
23699 main ()
23700 {
23701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23702 test_array [0] = 0
23703
23704 ;
23705 return 0;
23706 }
23707 _ACEOF
23708 rm -f conftest.$ac_objext
23709 if { (ac_try="$ac_compile"
23710 case "(($ac_try" in
23711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23712 *) ac_try_echo=$ac_try;;
23713 esac
23714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23715 (eval "$ac_compile") 2>conftest.er1
23716 ac_status=$?
23717 grep -v '^ *+' conftest.er1 >conftest.err
23718 rm -f conftest.er1
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } && {
23722 test -z "$ac_c_werror_flag" ||
23723 test ! -s conftest.err
23724 } && test -s conftest.$ac_objext; then
23725 ac_hi=$ac_mid; break
23726 else
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23729
23730 ac_lo=`expr $ac_mid + 1`
23731 if test $ac_lo -le $ac_mid; then
23732 ac_lo= ac_hi=
23733 break
23734 fi
23735 ac_mid=`expr 2 '*' $ac_mid + 1`
23736 fi
23737
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739 done
23740 else
23741 echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.$ac_ext >&5
23743
23744 cat >conftest.$ac_ext <<_ACEOF
23745 /* confdefs.h. */
23746 _ACEOF
23747 cat confdefs.h >>conftest.$ac_ext
23748 cat >>conftest.$ac_ext <<_ACEOF
23749 /* end confdefs.h. */
23750
23751 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23752 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23753 # error "fake wchar_t"
23754 #endif
23755 #ifdef HAVE_WCHAR_H
23756 # ifdef __CYGWIN__
23757 # include <stddef.h>
23758 # endif
23759 # include <wchar.h>
23760 #endif
23761 #ifdef HAVE_STDLIB_H
23762 # include <stdlib.h>
23763 #endif
23764 #include <stdio.h>
23765
23766
23767
23768 typedef wchar_t ac__type_sizeof_;
23769 int
23770 main ()
23771 {
23772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23773 test_array [0] = 0
23774
23775 ;
23776 return 0;
23777 }
23778 _ACEOF
23779 rm -f conftest.$ac_objext
23780 if { (ac_try="$ac_compile"
23781 case "(($ac_try" in
23782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23783 *) ac_try_echo=$ac_try;;
23784 esac
23785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23786 (eval "$ac_compile") 2>conftest.er1
23787 ac_status=$?
23788 grep -v '^ *+' conftest.er1 >conftest.err
23789 rm -f conftest.er1
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } && {
23793 test -z "$ac_c_werror_flag" ||
23794 test ! -s conftest.err
23795 } && test -s conftest.$ac_objext; then
23796 ac_hi=-1 ac_mid=-1
23797 while :; do
23798 cat >conftest.$ac_ext <<_ACEOF
23799 /* confdefs.h. */
23800 _ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23804
23805 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23806 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23807 # error "fake wchar_t"
23808 #endif
23809 #ifdef HAVE_WCHAR_H
23810 # ifdef __CYGWIN__
23811 # include <stddef.h>
23812 # endif
23813 # include <wchar.h>
23814 #endif
23815 #ifdef HAVE_STDLIB_H
23816 # include <stdlib.h>
23817 #endif
23818 #include <stdio.h>
23819
23820
23821
23822 typedef wchar_t ac__type_sizeof_;
23823 int
23824 main ()
23825 {
23826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23827 test_array [0] = 0
23828
23829 ;
23830 return 0;
23831 }
23832 _ACEOF
23833 rm -f conftest.$ac_objext
23834 if { (ac_try="$ac_compile"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23837 *) ac_try_echo=$ac_try;;
23838 esac
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_compile") 2>conftest.er1
23841 ac_status=$?
23842 grep -v '^ *+' conftest.er1 >conftest.err
23843 rm -f conftest.er1
23844 cat conftest.err >&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); } && {
23847 test -z "$ac_c_werror_flag" ||
23848 test ! -s conftest.err
23849 } && test -s conftest.$ac_objext; then
23850 ac_lo=$ac_mid; break
23851 else
23852 echo "$as_me: failed program was:" >&5
23853 sed 's/^/| /' conftest.$ac_ext >&5
23854
23855 ac_hi=`expr '(' $ac_mid ')' - 1`
23856 if test $ac_mid -le $ac_hi; then
23857 ac_lo= ac_hi=
23858 break
23859 fi
23860 ac_mid=`expr 2 '*' $ac_mid`
23861 fi
23862
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23864 done
23865 else
23866 echo "$as_me: failed program was:" >&5
23867 sed 's/^/| /' conftest.$ac_ext >&5
23868
23869 ac_lo= ac_hi=
23870 fi
23871
23872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23873 fi
23874
23875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23876 # Binary search between lo and hi bounds.
23877 while test "x$ac_lo" != "x$ac_hi"; do
23878 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23879 cat >conftest.$ac_ext <<_ACEOF
23880 /* confdefs.h. */
23881 _ACEOF
23882 cat confdefs.h >>conftest.$ac_ext
23883 cat >>conftest.$ac_ext <<_ACEOF
23884 /* end confdefs.h. */
23885
23886 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23887 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23888 # error "fake wchar_t"
23889 #endif
23890 #ifdef HAVE_WCHAR_H
23891 # ifdef __CYGWIN__
23892 # include <stddef.h>
23893 # endif
23894 # include <wchar.h>
23895 #endif
23896 #ifdef HAVE_STDLIB_H
23897 # include <stdlib.h>
23898 #endif
23899 #include <stdio.h>
23900
23901
23902
23903 typedef wchar_t ac__type_sizeof_;
23904 int
23905 main ()
23906 {
23907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23908 test_array [0] = 0
23909
23910 ;
23911 return 0;
23912 }
23913 _ACEOF
23914 rm -f conftest.$ac_objext
23915 if { (ac_try="$ac_compile"
23916 case "(($ac_try" in
23917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23918 *) ac_try_echo=$ac_try;;
23919 esac
23920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23921 (eval "$ac_compile") 2>conftest.er1
23922 ac_status=$?
23923 grep -v '^ *+' conftest.er1 >conftest.err
23924 rm -f conftest.er1
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } && {
23928 test -z "$ac_c_werror_flag" ||
23929 test ! -s conftest.err
23930 } && test -s conftest.$ac_objext; then
23931 ac_hi=$ac_mid
23932 else
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23935
23936 ac_lo=`expr '(' $ac_mid ')' + 1`
23937 fi
23938
23939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23940 done
23941 case $ac_lo in
23942 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23943 '') if test "$ac_cv_type_wchar_t" = yes; then
23944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23945 See \`config.log' for more details." >&5
23946 echo "$as_me: error: cannot compute sizeof (wchar_t)
23947 See \`config.log' for more details." >&2;}
23948 { (exit 77); exit 77; }; }
23949 else
23950 ac_cv_sizeof_wchar_t=0
23951 fi ;;
23952 esac
23953 else
23954 cat >conftest.$ac_ext <<_ACEOF
23955 /* confdefs.h. */
23956 _ACEOF
23957 cat confdefs.h >>conftest.$ac_ext
23958 cat >>conftest.$ac_ext <<_ACEOF
23959 /* end confdefs.h. */
23960
23961 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23962 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23963 # error "fake wchar_t"
23964 #endif
23965 #ifdef HAVE_WCHAR_H
23966 # ifdef __CYGWIN__
23967 # include <stddef.h>
23968 # endif
23969 # include <wchar.h>
23970 #endif
23971 #ifdef HAVE_STDLIB_H
23972 # include <stdlib.h>
23973 #endif
23974 #include <stdio.h>
23975
23976
23977
23978 typedef wchar_t ac__type_sizeof_;
23979 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23980 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23981 #include <stdio.h>
23982 #include <stdlib.h>
23983 int
23984 main ()
23985 {
23986
23987 FILE *f = fopen ("conftest.val", "w");
23988 if (! f)
23989 return 1;
23990 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23991 {
23992 long int i = longval ();
23993 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23994 return 1;
23995 fprintf (f, "%ld\n", i);
23996 }
23997 else
23998 {
23999 unsigned long int i = ulongval ();
24000 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24001 return 1;
24002 fprintf (f, "%lu\n", i);
24003 }
24004 return ferror (f) || fclose (f) != 0;
24005
24006 ;
24007 return 0;
24008 }
24009 _ACEOF
24010 rm -f conftest$ac_exeext
24011 if { (ac_try="$ac_link"
24012 case "(($ac_try" in
24013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24014 *) ac_try_echo=$ac_try;;
24015 esac
24016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24017 (eval "$ac_link") 2>&5
24018 ac_status=$?
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24021 { (case "(($ac_try" in
24022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24023 *) ac_try_echo=$ac_try;;
24024 esac
24025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24026 (eval "$ac_try") 2>&5
24027 ac_status=$?
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; }; then
24030 ac_cv_sizeof_wchar_t=`cat conftest.val`
24031 else
24032 echo "$as_me: program exited with status $ac_status" >&5
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24035
24036 ( exit $ac_status )
24037 if test "$ac_cv_type_wchar_t" = yes; then
24038 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24039 See \`config.log' for more details." >&5
24040 echo "$as_me: error: cannot compute sizeof (wchar_t)
24041 See \`config.log' for more details." >&2;}
24042 { (exit 77); exit 77; }; }
24043 else
24044 ac_cv_sizeof_wchar_t=0
24045 fi
24046 fi
24047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24048 fi
24049 rm -f conftest.val
24050 fi
24051 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24052 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24053
24054
24055
24056 cat >>confdefs.h <<_ACEOF
24057 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24058 _ACEOF
24059
24060
24061 if test "$ac_cv_sizeof_wchar_t" = 0; then
24062 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24063 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24064 { (exit 1); exit 1; }; }
24065 fi
24066 cat >>confdefs.h <<\_ACEOF
24067 #define wxUSE_WCHAR_T 1
24068 _ACEOF
24069
24070
24071 { echo "$as_me:$LINENO: checking for va_copy" >&5
24072 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24073 if test "${wx_cv_func_va_copy+set}" = set; then
24074 echo $ECHO_N "(cached) $ECHO_C" >&6
24075 else
24076
24077 ac_ext=cpp
24078 ac_cpp='$CXXCPP $CPPFLAGS'
24079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24082
24083 cat >conftest.$ac_ext <<_ACEOF
24084
24085 #include <stdarg.h>
24086 void foo(char *f, ...)
24087 {
24088 va_list ap1, ap2;
24089 va_start(ap1, f);
24090 va_copy(ap2, ap1);
24091 va_end(ap2);
24092 va_end(ap1);
24093 }
24094 int main()
24095 {
24096 foo("hi", 17);
24097 return 0;
24098 }
24099 _ACEOF
24100 rm -f conftest.$ac_objext conftest$ac_exeext
24101 if { (ac_try="$ac_link"
24102 case "(($ac_try" in
24103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24104 *) ac_try_echo=$ac_try;;
24105 esac
24106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24107 (eval "$ac_link") 2>conftest.er1
24108 ac_status=$?
24109 grep -v '^ *+' conftest.er1 >conftest.err
24110 rm -f conftest.er1
24111 cat conftest.err >&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } && {
24114 test -z "$ac_cxx_werror_flag" ||
24115 test ! -s conftest.err
24116 } && test -s conftest$ac_exeext &&
24117 $as_test_x conftest$ac_exeext; then
24118 wx_cv_func_va_copy=yes
24119 else
24120 echo "$as_me: failed program was:" >&5
24121 sed 's/^/| /' conftest.$ac_ext >&5
24122
24123 wx_cv_func_va_copy=no
24124
24125 fi
24126
24127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24128 conftest$ac_exeext conftest.$ac_ext
24129 ac_ext=c
24130 ac_cpp='$CPP $CPPFLAGS'
24131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24134
24135
24136
24137 fi
24138 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24139 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24140
24141 if test $wx_cv_func_va_copy = "yes"; then
24142 cat >>confdefs.h <<\_ACEOF
24143 #define HAVE_VA_COPY 1
24144 _ACEOF
24145
24146 else
24147 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24148 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24149 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24150 echo $ECHO_N "(cached) $ECHO_C" >&6
24151 else
24152
24153 if test "$cross_compiling" = yes; then
24154 wx_cv_type_va_list_lvalue=yes
24155
24156 else
24157 cat >conftest.$ac_ext <<_ACEOF
24158
24159 #include <stdarg.h>
24160 int foo(char *f, ...)
24161 {
24162 va_list ap1, ap2;
24163 va_start(ap1, f);
24164 ap2 = ap1;
24165 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24166 return 1;
24167 va_end(ap2);
24168 va_end(ap1);
24169 return 0;
24170 }
24171 int main()
24172 {
24173 return foo("hi", 17);
24174 }
24175 _ACEOF
24176 rm -f conftest$ac_exeext
24177 if { (ac_try="$ac_link"
24178 case "(($ac_try" in
24179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24180 *) ac_try_echo=$ac_try;;
24181 esac
24182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24183 (eval "$ac_link") 2>&5
24184 ac_status=$?
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24187 { (case "(($ac_try" in
24188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24189 *) ac_try_echo=$ac_try;;
24190 esac
24191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24192 (eval "$ac_try") 2>&5
24193 ac_status=$?
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 wx_cv_type_va_list_lvalue=yes
24197 else
24198 echo "$as_me: program exited with status $ac_status" >&5
24199 echo "$as_me: failed program was:" >&5
24200 sed 's/^/| /' conftest.$ac_ext >&5
24201
24202 ( exit $ac_status )
24203 wx_cv_type_va_list_lvalue=no
24204 fi
24205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24206 fi
24207
24208
24209
24210
24211 fi
24212 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24213 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24214
24215 if test $wx_cv_type_va_list_lvalue != "yes"; then
24216 cat >>confdefs.h <<\_ACEOF
24217 #define VA_LIST_IS_ARRAY 1
24218 _ACEOF
24219
24220 fi
24221 fi
24222
24223 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24224
24225 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24226 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24227 if test "${wx_cv_have_variadic_macros+set}" = set; then
24228 echo $ECHO_N "(cached) $ECHO_C" >&6
24229 else
24230
24231 ac_ext=cpp
24232 ac_cpp='$CXXCPP $CPPFLAGS'
24233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24236
24237 cat >conftest.$ac_ext <<_ACEOF
24238 /* confdefs.h. */
24239 _ACEOF
24240 cat confdefs.h >>conftest.$ac_ext
24241 cat >>conftest.$ac_ext <<_ACEOF
24242 /* end confdefs.h. */
24243
24244 #include <stdio.h>
24245 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24246
24247 int
24248 main ()
24249 {
24250
24251 test("%s %d %p", "test", 1, 0);
24252
24253
24254 ;
24255 return 0;
24256 }
24257 _ACEOF
24258 rm -f conftest.$ac_objext
24259 if { (ac_try="$ac_compile"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24263 esac
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_compile") 2>conftest.er1
24266 ac_status=$?
24267 grep -v '^ *+' conftest.er1 >conftest.err
24268 rm -f conftest.er1
24269 cat conftest.err >&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } && {
24272 test -z "$ac_cxx_werror_flag" ||
24273 test ! -s conftest.err
24274 } && test -s conftest.$ac_objext; then
24275 wx_cv_have_variadic_macros=yes
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280 wx_cv_have_variadic_macros=no
24281
24282 fi
24283
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285 ac_ext=c
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24290
24291
24292
24293 fi
24294 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24295 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24296
24297 if test $wx_cv_have_variadic_macros = "yes"; then
24298 cat >>confdefs.h <<\_ACEOF
24299 #define HAVE_VARIADIC_MACROS 1
24300 _ACEOF
24301
24302 fi
24303
24304 fi
24305
24306 LARGEFILE_CPPFLAGS=
24307 # Check whether --enable-largefile was given.
24308 if test "${enable_largefile+set}" = set; then
24309 enableval=$enable_largefile;
24310 fi
24311
24312 if test "$enable_largefile" != no; then
24313 wx_largefile=no
24314
24315 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24316 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24317 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24318 echo $ECHO_N "(cached) $ECHO_C" >&6
24319 else
24320
24321 cat >conftest.$ac_ext <<_ACEOF
24322 /* confdefs.h. */
24323 _ACEOF
24324 cat confdefs.h >>conftest.$ac_ext
24325 cat >>conftest.$ac_ext <<_ACEOF
24326 /* end confdefs.h. */
24327 #define _FILE_OFFSET_BITS 64
24328 #include <sys/types.h>
24329 int
24330 main ()
24331 {
24332 typedef struct {
24333 unsigned int field: sizeof(off_t) == 8;
24334 } wxlf;
24335
24336 ;
24337 return 0;
24338 }
24339 _ACEOF
24340 rm -f conftest.$ac_objext
24341 if { (ac_try="$ac_compile"
24342 case "(($ac_try" in
24343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24344 *) ac_try_echo=$ac_try;;
24345 esac
24346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24347 (eval "$ac_compile") 2>conftest.er1
24348 ac_status=$?
24349 grep -v '^ *+' conftest.er1 >conftest.err
24350 rm -f conftest.er1
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } && {
24354 test -z "$ac_c_werror_flag" ||
24355 test ! -s conftest.err
24356 } && test -s conftest.$ac_objext; then
24357 ac_cv_sys_file_offset_bits=64
24358 else
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.$ac_ext >&5
24361
24362 ac_cv_sys_file_offset_bits=no
24363 fi
24364
24365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24366
24367
24368 fi
24369 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24370 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24371
24372 if test "$ac_cv_sys_file_offset_bits" != no; then
24373 wx_largefile=yes
24374 cat >>confdefs.h <<_ACEOF
24375 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24376 _ACEOF
24377
24378 fi
24379
24380 if test "x$wx_largefile" != "xyes"; then
24381
24382 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24383 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24384 if test "${ac_cv_sys_large_files+set}" = set; then
24385 echo $ECHO_N "(cached) $ECHO_C" >&6
24386 else
24387
24388 cat >conftest.$ac_ext <<_ACEOF
24389 /* confdefs.h. */
24390 _ACEOF
24391 cat confdefs.h >>conftest.$ac_ext
24392 cat >>conftest.$ac_ext <<_ACEOF
24393 /* end confdefs.h. */
24394 #define _LARGE_FILES 1
24395 #include <sys/types.h>
24396 int
24397 main ()
24398 {
24399 typedef struct {
24400 unsigned int field: sizeof(off_t) == 8;
24401 } wxlf;
24402
24403 ;
24404 return 0;
24405 }
24406 _ACEOF
24407 rm -f conftest.$ac_objext
24408 if { (ac_try="$ac_compile"
24409 case "(($ac_try" in
24410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24411 *) ac_try_echo=$ac_try;;
24412 esac
24413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24414 (eval "$ac_compile") 2>conftest.er1
24415 ac_status=$?
24416 grep -v '^ *+' conftest.er1 >conftest.err
24417 rm -f conftest.er1
24418 cat conftest.err >&5
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); } && {
24421 test -z "$ac_c_werror_flag" ||
24422 test ! -s conftest.err
24423 } && test -s conftest.$ac_objext; then
24424 ac_cv_sys_large_files=1
24425 else
24426 echo "$as_me: failed program was:" >&5
24427 sed 's/^/| /' conftest.$ac_ext >&5
24428
24429 ac_cv_sys_large_files=no
24430 fi
24431
24432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24433
24434
24435 fi
24436 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24437 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24438
24439 if test "$ac_cv_sys_large_files" != no; then
24440 wx_largefile=yes
24441 cat >>confdefs.h <<_ACEOF
24442 #define _LARGE_FILES $ac_cv_sys_large_files
24443 _ACEOF
24444
24445 fi
24446
24447 fi
24448
24449 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24450 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24451 if test "x$wx_largefile" = "xyes"; then
24452 cat >>confdefs.h <<\_ACEOF
24453 #define HAVE_LARGEFILE_SUPPORT 1
24454 _ACEOF
24455
24456 fi
24457 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24458 echo "${ECHO_T}$wx_largefile" >&6; }
24459 fi
24460
24461 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24462 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24463 elif test "$ac_cv_sys_large_files" = 1; then
24464 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24465 fi
24466
24467 if test -n "$LARGEFILE_CPPFLAGS"; then
24468 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24469
24470 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24471 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24472 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24473 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24474 echo $ECHO_N "(cached) $ECHO_C" >&6
24475 else
24476
24477 ac_ext=cpp
24478 ac_cpp='$CXXCPP $CPPFLAGS'
24479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24482
24483 cat >conftest.$ac_ext <<_ACEOF
24484 /* confdefs.h. */
24485 _ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24489
24490 int
24491 main ()
24492 {
24493
24494 #ifndef __STDC_EXT__
24495 choke me
24496 #endif
24497
24498 ;
24499 return 0;
24500 }
24501 _ACEOF
24502 rm -f conftest.$ac_objext
24503 if { (ac_try="$ac_compile"
24504 case "(($ac_try" in
24505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24506 *) ac_try_echo=$ac_try;;
24507 esac
24508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24509 (eval "$ac_compile") 2>conftest.er1
24510 ac_status=$?
24511 grep -v '^ *+' conftest.er1 >conftest.err
24512 rm -f conftest.er1
24513 cat conftest.err >&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); } && {
24516 test -z "$ac_cxx_werror_flag" ||
24517 test ! -s conftest.err
24518 } && test -s conftest.$ac_objext; then
24519 wx_cv_STDC_EXT_required=no
24520 else
24521 echo "$as_me: failed program was:" >&5
24522 sed 's/^/| /' conftest.$ac_ext >&5
24523
24524 wx_cv_STDC_EXT_required=yes
24525
24526 fi
24527
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24529 ac_ext=c
24530 ac_cpp='$CPP $CPPFLAGS'
24531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24534
24535
24536
24537 fi
24538 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24539 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24540 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24541 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24542 fi
24543 fi
24544 fi
24545
24546 ac_ext=cpp
24547 ac_cpp='$CXXCPP $CPPFLAGS'
24548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24551
24552 old_CPPFLAGS="$CPPFLAGS"
24553 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24554 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24555 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24556 if test "${ac_cv_sys_largefile_source+set}" = set; then
24557 echo $ECHO_N "(cached) $ECHO_C" >&6
24558 else
24559 while :; do
24560 cat >conftest.$ac_ext <<_ACEOF
24561 /* confdefs.h. */
24562 _ACEOF
24563 cat confdefs.h >>conftest.$ac_ext
24564 cat >>conftest.$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24566 #include <sys/types.h> /* for off_t */
24567 #include <stdio.h>
24568 int
24569 main ()
24570 {
24571 int (*fp) (FILE *, off_t, int) = fseeko;
24572 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24573 ;
24574 return 0;
24575 }
24576 _ACEOF
24577 rm -f conftest.$ac_objext conftest$ac_exeext
24578 if { (ac_try="$ac_link"
24579 case "(($ac_try" in
24580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24581 *) ac_try_echo=$ac_try;;
24582 esac
24583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24584 (eval "$ac_link") 2>conftest.er1
24585 ac_status=$?
24586 grep -v '^ *+' conftest.er1 >conftest.err
24587 rm -f conftest.er1
24588 cat conftest.err >&5
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); } && {
24591 test -z "$ac_cxx_werror_flag" ||
24592 test ! -s conftest.err
24593 } && test -s conftest$ac_exeext &&
24594 $as_test_x conftest$ac_exeext; then
24595 ac_cv_sys_largefile_source=no; break
24596 else
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24599
24600
24601 fi
24602
24603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24604 conftest$ac_exeext conftest.$ac_ext
24605 cat >conftest.$ac_ext <<_ACEOF
24606 /* confdefs.h. */
24607 _ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24611 #define _LARGEFILE_SOURCE 1
24612 #include <sys/types.h> /* for off_t */
24613 #include <stdio.h>
24614 int
24615 main ()
24616 {
24617 int (*fp) (FILE *, off_t, int) = fseeko;
24618 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24619 ;
24620 return 0;
24621 }
24622 _ACEOF
24623 rm -f conftest.$ac_objext conftest$ac_exeext
24624 if { (ac_try="$ac_link"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24628 esac
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_link") 2>conftest.er1
24631 ac_status=$?
24632 grep -v '^ *+' conftest.er1 >conftest.err
24633 rm -f conftest.er1
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && {
24637 test -z "$ac_cxx_werror_flag" ||
24638 test ! -s conftest.err
24639 } && test -s conftest$ac_exeext &&
24640 $as_test_x conftest$ac_exeext; then
24641 ac_cv_sys_largefile_source=1; break
24642 else
24643 echo "$as_me: failed program was:" >&5
24644 sed 's/^/| /' conftest.$ac_ext >&5
24645
24646
24647 fi
24648
24649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24650 conftest$ac_exeext conftest.$ac_ext
24651 ac_cv_sys_largefile_source=unknown
24652 break
24653 done
24654 fi
24655 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24656 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24657 case $ac_cv_sys_largefile_source in #(
24658 no | unknown) ;;
24659 *)
24660 cat >>confdefs.h <<_ACEOF
24661 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24662 _ACEOF
24663 ;;
24664 esac
24665 rm -f conftest*
24666
24667 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24668 # in glibc 2.1.3, but that breaks too many other things.
24669 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24670 if test $ac_cv_sys_largefile_source != unknown; then
24671
24672 cat >>confdefs.h <<\_ACEOF
24673 #define HAVE_FSEEKO 1
24674 _ACEOF
24675
24676 fi
24677
24678 CPPFLAGS="$old_CPPFLAGS"
24679 ac_ext=c
24680 ac_cpp='$CPP $CPPFLAGS'
24681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24684
24685 if test "$ac_cv_sys_largefile_source" != no; then
24686 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24687 fi
24688
24689 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24690 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24691 if test "${ac_cv_c_bigendian+set}" = set; then
24692 echo $ECHO_N "(cached) $ECHO_C" >&6
24693 else
24694 ac_cv_c_bigendian=unknown
24695 # See if sys/param.h defines the BYTE_ORDER macro.
24696 cat >conftest.$ac_ext <<_ACEOF
24697 /* confdefs.h. */
24698 _ACEOF
24699 cat confdefs.h >>conftest.$ac_ext
24700 cat >>conftest.$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24702 #include <sys/types.h>
24703 #include <sys/param.h>
24704 int
24705 main ()
24706 {
24707
24708 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24709 bogus endian macros
24710 #endif
24711 ;
24712 return 0;
24713 }
24714 _ACEOF
24715 rm -f conftest.$ac_objext
24716 if { (ac_try="$ac_compile"
24717 case "(($ac_try" in
24718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24719 *) ac_try_echo=$ac_try;;
24720 esac
24721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24722 (eval "$ac_compile") 2>conftest.er1
24723 ac_status=$?
24724 grep -v '^ *+' conftest.er1 >conftest.err
24725 rm -f conftest.er1
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } && {
24729 test -z "$ac_c_werror_flag" ||
24730 test ! -s conftest.err
24731 } && test -s conftest.$ac_objext; then
24732 # It does; now see whether it defined to BIG_ENDIAN or not.
24733 cat >conftest.$ac_ext <<_ACEOF
24734 /* confdefs.h. */
24735 _ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739 #include <sys/types.h>
24740 #include <sys/param.h>
24741 int
24742 main ()
24743 {
24744
24745 #if BYTE_ORDER != BIG_ENDIAN
24746 not big endian
24747 #endif
24748 ;
24749 return 0;
24750 }
24751 _ACEOF
24752 rm -f conftest.$ac_objext
24753 if { (ac_try="$ac_compile"
24754 case "(($ac_try" in
24755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24756 *) ac_try_echo=$ac_try;;
24757 esac
24758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24759 (eval "$ac_compile") 2>conftest.er1
24760 ac_status=$?
24761 grep -v '^ *+' conftest.er1 >conftest.err
24762 rm -f conftest.er1
24763 cat conftest.err >&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } && {
24766 test -z "$ac_c_werror_flag" ||
24767 test ! -s conftest.err
24768 } && test -s conftest.$ac_objext; then
24769 ac_cv_c_bigendian=yes
24770 else
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.$ac_ext >&5
24773
24774 ac_cv_c_bigendian=no
24775 fi
24776
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24778 else
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.$ac_ext >&5
24781
24782
24783 fi
24784
24785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24786 if test $ac_cv_c_bigendian = unknown; then
24787 if test "$cross_compiling" = yes; then
24788 ac_cv_c_bigendian=unknown
24789 else
24790 cat >conftest.$ac_ext <<_ACEOF
24791 /* confdefs.h. */
24792 _ACEOF
24793 cat confdefs.h >>conftest.$ac_ext
24794 cat >>conftest.$ac_ext <<_ACEOF
24795 /* end confdefs.h. */
24796 main () {
24797 /* Are we little or big endian? From Harbison&Steele. */
24798 union
24799 {
24800 long l;
24801 char c[sizeof (long)];
24802 } u;
24803 u.l = 1;
24804 exit (u.c[sizeof (long) - 1] == 1);
24805 }
24806 _ACEOF
24807 rm -f conftest$ac_exeext
24808 if { (ac_try="$ac_link"
24809 case "(($ac_try" in
24810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24811 *) ac_try_echo=$ac_try;;
24812 esac
24813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24814 (eval "$ac_link") 2>&5
24815 ac_status=$?
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24818 { (case "(($ac_try" in
24819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24820 *) ac_try_echo=$ac_try;;
24821 esac
24822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24823 (eval "$ac_try") 2>&5
24824 ac_status=$?
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); }; }; then
24827 ac_cv_c_bigendian=no
24828 else
24829 echo "$as_me: program exited with status $ac_status" >&5
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.$ac_ext >&5
24832
24833 ( exit $ac_status )
24834 ac_cv_c_bigendian=yes
24835 fi
24836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24837 fi
24838
24839
24840 fi
24841 fi
24842 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24843 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24844 if test $ac_cv_c_bigendian = unknown; then
24845 { 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
24846 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;}
24847 fi
24848 if test $ac_cv_c_bigendian = yes; then
24849 cat >>confdefs.h <<\_ACEOF
24850 #define WORDS_BIGENDIAN 1
24851 _ACEOF
24852
24853 fi
24854
24855
24856
24857
24858 ac_ext=cpp
24859 ac_cpp='$CXXCPP $CPPFLAGS'
24860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24863
24864
24865
24866 for ac_header in iostream
24867 do
24868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 else
24874 cat >conftest.$ac_ext <<_ACEOF
24875 /* confdefs.h. */
24876 _ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880
24881
24882 #include <$ac_header>
24883 _ACEOF
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888 *) ac_try_echo=$ac_try;;
24889 esac
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891 (eval "$ac_compile") 2>conftest.er1
24892 ac_status=$?
24893 grep -v '^ *+' conftest.er1 >conftest.err
24894 rm -f conftest.er1
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } && {
24898 test -z "$ac_cxx_werror_flag" ||
24899 test ! -s conftest.err
24900 } && test -s conftest.$ac_objext; then
24901 eval "$as_ac_Header=yes"
24902 else
24903 echo "$as_me: failed program was:" >&5
24904 sed 's/^/| /' conftest.$ac_ext >&5
24905
24906 eval "$as_ac_Header=no"
24907 fi
24908
24909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24910 fi
24911 ac_res=`eval echo '${'$as_ac_Header'}'`
24912 { echo "$as_me:$LINENO: result: $ac_res" >&5
24913 echo "${ECHO_T}$ac_res" >&6; }
24914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24915 cat >>confdefs.h <<_ACEOF
24916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24917 _ACEOF
24918
24919 fi
24920
24921 done
24922
24923
24924 if test "$ac_cv_header_iostream" = "yes" ; then
24925 :
24926 else
24927 cat >>confdefs.h <<\_ACEOF
24928 #define wxUSE_IOSTREAMH 1
24929 _ACEOF
24930
24931 fi
24932
24933 ac_ext=c
24934 ac_cpp='$CPP $CPPFLAGS'
24935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24938
24939
24940
24941
24942 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24943 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24944 if test "${wx_cv_explicit+set}" = set; then
24945 echo $ECHO_N "(cached) $ECHO_C" >&6
24946 else
24947
24948
24949 ac_ext=cpp
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24954
24955
24956 cat >conftest.$ac_ext <<_ACEOF
24957 /* confdefs.h. */
24958 _ACEOF
24959 cat confdefs.h >>conftest.$ac_ext
24960 cat >>conftest.$ac_ext <<_ACEOF
24961 /* end confdefs.h. */
24962
24963 class Foo { public: explicit Foo(int) {} };
24964
24965 int
24966 main ()
24967 {
24968
24969 return 0;
24970
24971 ;
24972 return 0;
24973 }
24974 _ACEOF
24975 rm -f conftest.$ac_objext
24976 if { (ac_try="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24980 esac
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24983 ac_status=$?
24984 grep -v '^ *+' conftest.er1 >conftest.err
24985 rm -f conftest.er1
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } && {
24989 test -z "$ac_cxx_werror_flag" ||
24990 test ! -s conftest.err
24991 } && test -s conftest.$ac_objext; then
24992
24993 cat >conftest.$ac_ext <<_ACEOF
24994 /* confdefs.h. */
24995 _ACEOF
24996 cat confdefs.h >>conftest.$ac_ext
24997 cat >>conftest.$ac_ext <<_ACEOF
24998 /* end confdefs.h. */
24999
25000 class Foo { public: explicit Foo(int) {} };
25001 static void TakeFoo(const Foo& foo) { }
25002
25003 int
25004 main ()
25005 {
25006
25007 TakeFoo(17);
25008 return 0;
25009
25010 ;
25011 return 0;
25012 }
25013 _ACEOF
25014 rm -f conftest.$ac_objext
25015 if { (ac_try="$ac_compile"
25016 case "(($ac_try" in
25017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25019 esac
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_compile") 2>conftest.er1
25022 ac_status=$?
25023 grep -v '^ *+' conftest.er1 >conftest.err
25024 rm -f conftest.er1
25025 cat conftest.err >&5
25026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027 (exit $ac_status); } && {
25028 test -z "$ac_cxx_werror_flag" ||
25029 test ! -s conftest.err
25030 } && test -s conftest.$ac_objext; then
25031 wx_cv_explicit=no
25032 else
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25035
25036 wx_cv_explicit=yes
25037
25038 fi
25039
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041
25042 else
25043 echo "$as_me: failed program was:" >&5
25044 sed 's/^/| /' conftest.$ac_ext >&5
25045
25046 wx_cv_explicit=no
25047
25048 fi
25049
25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25051
25052 ac_ext=c
25053 ac_cpp='$CPP $CPPFLAGS'
25054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25057
25058
25059 fi
25060 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25061 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25062
25063 if test "$wx_cv_explicit" = "yes"; then
25064 cat >>confdefs.h <<\_ACEOF
25065 #define HAVE_EXPLICIT 1
25066 _ACEOF
25067
25068 fi
25069
25070
25071 if test "x$SUNCXX" = xyes; then
25072 CXXFLAGS="-features=tmplife $CXXFLAGS"
25073 fi
25074
25075 if test "x$SUNCC" = xyes; then
25076 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25077 fi
25078
25079 if test "x$SGICC" = "xyes"; then
25080 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25081 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25082 if test "${wx_cv_prog_sgicc744+set}" = set; then
25083 echo $ECHO_N "(cached) $ECHO_C" >&6
25084 else
25085
25086 cat >conftest.$ac_ext <<_ACEOF
25087 /* confdefs.h. */
25088 _ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25092
25093 int
25094 main ()
25095 {
25096
25097 #if _SGI_COMPILER_VERSION >= 744
25098 chock me: mipsPro is 7.4.4 or later
25099 #endif
25100
25101 ;
25102 return 0;
25103 }
25104 _ACEOF
25105 rm -f conftest.$ac_objext
25106 if { (ac_try="$ac_compile"
25107 case "(($ac_try" in
25108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25110 esac
25111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_compile") 2>conftest.er1
25113 ac_status=$?
25114 grep -v '^ *+' conftest.er1 >conftest.err
25115 rm -f conftest.er1
25116 cat conftest.err >&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } && {
25119 test -z "$ac_c_werror_flag" ||
25120 test ! -s conftest.err
25121 } && test -s conftest.$ac_objext; then
25122 wx_cv_prog_sgicc744=no
25123 else
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.$ac_ext >&5
25126
25127 wx_cv_prog_sgicc744=yes
25128
25129 fi
25130
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25132
25133
25134 fi
25135 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25136 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25137
25138 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25139 CFLAGS="-woff 3970 $CFLAGS"
25140 fi
25141 fi
25142 if test "x$SGICXX" = "xyes"; then
25143 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25144 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25145 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25146 echo $ECHO_N "(cached) $ECHO_C" >&6
25147 else
25148
25149 ac_ext=cpp
25150 ac_cpp='$CXXCPP $CPPFLAGS'
25151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25154
25155 cat >conftest.$ac_ext <<_ACEOF
25156 /* confdefs.h. */
25157 _ACEOF
25158 cat confdefs.h >>conftest.$ac_ext
25159 cat >>conftest.$ac_ext <<_ACEOF
25160 /* end confdefs.h. */
25161
25162 int
25163 main ()
25164 {
25165
25166 #if _SGI_COMPILER_VERSION >= 744
25167 chock me: mipsPro is 7.4.4 or later
25168 #endif
25169
25170 ;
25171 return 0;
25172 }
25173 _ACEOF
25174 rm -f conftest.$ac_objext
25175 if { (ac_try="$ac_compile"
25176 case "(($ac_try" in
25177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25178 *) ac_try_echo=$ac_try;;
25179 esac
25180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25181 (eval "$ac_compile") 2>conftest.er1
25182 ac_status=$?
25183 grep -v '^ *+' conftest.er1 >conftest.err
25184 rm -f conftest.er1
25185 cat conftest.err >&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && {
25188 test -z "$ac_cxx_werror_flag" ||
25189 test ! -s conftest.err
25190 } && test -s conftest.$ac_objext; then
25191 wx_cv_prog_sgicxx744=no
25192 else
25193 echo "$as_me: failed program was:" >&5
25194 sed 's/^/| /' conftest.$ac_ext >&5
25195
25196 wx_cv_prog_sgicxx744=yes
25197
25198 fi
25199
25200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25201 ac_ext=c
25202 ac_cpp='$CPP $CPPFLAGS'
25203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25206
25207
25208
25209 fi
25210 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25211 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25212
25213 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25214 CXXFLAGS="-woff 3970 $CXXFLAGS"
25215 fi
25216 fi
25217
25218 if test "x$HPCC" = "xyes"; then
25219 CFLAGS="+W 2011,2450 $CFLAGS"
25220 fi
25221 if test "x$HPCXX" = "xyes"; then
25222 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25223 fi
25224
25225 if test "x$COMPAQCXX" = "xyes"; then
25226 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25227 fi
25228
25229 ac_ext=cpp
25230 ac_cpp='$CXXCPP $CPPFLAGS'
25231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25234
25235
25236 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25237 if test "$wxUSE_UNICODE" = "yes"; then
25238 std_string="std::wstring"
25239 char_type="wchar_t"
25240 else
25241 std_string="std::string"
25242 char_type="char"
25243 fi
25244
25245 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25246 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25247 if test "${wx_cv_class_stdstring+set}" = set; then
25248 echo $ECHO_N "(cached) $ECHO_C" >&6
25249 else
25250
25251 cat >conftest.$ac_ext <<_ACEOF
25252 /* confdefs.h. */
25253 _ACEOF
25254 cat confdefs.h >>conftest.$ac_ext
25255 cat >>conftest.$ac_ext <<_ACEOF
25256 /* end confdefs.h. */
25257 #include <string>
25258 int
25259 main ()
25260 {
25261 $std_string foo;
25262 ;
25263 return 0;
25264 }
25265 _ACEOF
25266 rm -f conftest.$ac_objext
25267 if { (ac_try="$ac_compile"
25268 case "(($ac_try" in
25269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25270 *) ac_try_echo=$ac_try;;
25271 esac
25272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25273 (eval "$ac_compile") 2>conftest.er1
25274 ac_status=$?
25275 grep -v '^ *+' conftest.er1 >conftest.err
25276 rm -f conftest.er1
25277 cat conftest.err >&5
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); } && {
25280 test -z "$ac_cxx_werror_flag" ||
25281 test ! -s conftest.err
25282 } && test -s conftest.$ac_objext; then
25283 wx_cv_class_stdstring=yes
25284 else
25285 echo "$as_me: failed program was:" >&5
25286 sed 's/^/| /' conftest.$ac_ext >&5
25287
25288 wx_cv_class_stdstring=no
25289
25290 fi
25291
25292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25293
25294
25295 fi
25296 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25297 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25298
25299 if test "$wx_cv_class_stdstring" = yes; then
25300 if test "$wxUSE_UNICODE" = "yes"; then
25301 cat >>confdefs.h <<\_ACEOF
25302 #define HAVE_STD_WSTRING 1
25303 _ACEOF
25304
25305 fi
25306 else
25307 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25308 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25309 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25310 echo $ECHO_N "(cached) $ECHO_C" >&6
25311 else
25312
25313 cat >conftest.$ac_ext <<_ACEOF
25314 /* confdefs.h. */
25315 _ACEOF
25316 cat confdefs.h >>conftest.$ac_ext
25317 cat >>conftest.$ac_ext <<_ACEOF
25318 /* end confdefs.h. */
25319
25320 #ifdef HAVE_WCHAR_H
25321 # ifdef __CYGWIN__
25322 # include <stddef.h>
25323 # endif
25324 # include <wchar.h>
25325 #endif
25326 #ifdef HAVE_STDLIB_H
25327 # include <stdlib.h>
25328 #endif
25329 #include <stdio.h>
25330 #include <string>
25331
25332 int
25333 main ()
25334 {
25335 std::basic_string<$char_type> foo;
25336 const $char_type* dummy = foo.c_str();
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 rm -f conftest.$ac_objext
25342 if { (ac_try="$ac_compile"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25346 esac
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_compile") 2>conftest.er1
25349 ac_status=$?
25350 grep -v '^ *+' conftest.er1 >conftest.err
25351 rm -f conftest.er1
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_cxx_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest.$ac_objext; then
25358 wx_cv_class_stdbasicstring=yes
25359 else
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25362
25363 wx_cv_class_stdbasicstring=no
25364
25365 fi
25366
25367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25368
25369
25370 fi
25371 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25372 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25373
25374 if test "$wx_cv_class_stdbasicstring" != yes; then
25375 if test "$wxUSE_STL" = "yes"; then
25376 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25377 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25378 { (exit 1); exit 1; }; }
25379 elif test "$wxUSE_STD_STRING" = "yes"; then
25380 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25381 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25382 { (exit 1); exit 1; }; }
25383 else
25384 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25385 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25386 wxUSE_STD_STRING=no
25387 fi
25388 fi
25389 fi
25390 fi
25391
25392 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25393 { echo "$as_me:$LINENO: checking for std::istream" >&5
25394 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25395 if test "${ac_cv_type_std__istream+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25397 else
25398 cat >conftest.$ac_ext <<_ACEOF
25399 /* confdefs.h. */
25400 _ACEOF
25401 cat confdefs.h >>conftest.$ac_ext
25402 cat >>conftest.$ac_ext <<_ACEOF
25403 /* end confdefs.h. */
25404 #include <iostream>
25405
25406 typedef std::istream ac__type_new_;
25407 int
25408 main ()
25409 {
25410 if ((ac__type_new_ *) 0)
25411 return 0;
25412 if (sizeof (ac__type_new_))
25413 return 0;
25414 ;
25415 return 0;
25416 }
25417 _ACEOF
25418 rm -f conftest.$ac_objext
25419 if { (ac_try="$ac_compile"
25420 case "(($ac_try" in
25421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25422 *) ac_try_echo=$ac_try;;
25423 esac
25424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25425 (eval "$ac_compile") 2>conftest.er1
25426 ac_status=$?
25427 grep -v '^ *+' conftest.er1 >conftest.err
25428 rm -f conftest.er1
25429 cat conftest.err >&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } && {
25432 test -z "$ac_cxx_werror_flag" ||
25433 test ! -s conftest.err
25434 } && test -s conftest.$ac_objext; then
25435 ac_cv_type_std__istream=yes
25436 else
25437 echo "$as_me: failed program was:" >&5
25438 sed 's/^/| /' conftest.$ac_ext >&5
25439
25440 ac_cv_type_std__istream=no
25441 fi
25442
25443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25444 fi
25445 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25446 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25447 if test $ac_cv_type_std__istream = yes; then
25448
25449 cat >>confdefs.h <<_ACEOF
25450 #define HAVE_STD__ISTREAM 1
25451 _ACEOF
25452
25453
25454 else
25455 wxUSE_STD_IOSTREAM=no
25456 fi
25457 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25458 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25459 if test "${ac_cv_type_std__ostream+set}" = set; then
25460 echo $ECHO_N "(cached) $ECHO_C" >&6
25461 else
25462 cat >conftest.$ac_ext <<_ACEOF
25463 /* confdefs.h. */
25464 _ACEOF
25465 cat confdefs.h >>conftest.$ac_ext
25466 cat >>conftest.$ac_ext <<_ACEOF
25467 /* end confdefs.h. */
25468 #include <iostream>
25469
25470 typedef std::ostream ac__type_new_;
25471 int
25472 main ()
25473 {
25474 if ((ac__type_new_ *) 0)
25475 return 0;
25476 if (sizeof (ac__type_new_))
25477 return 0;
25478 ;
25479 return 0;
25480 }
25481 _ACEOF
25482 rm -f conftest.$ac_objext
25483 if { (ac_try="$ac_compile"
25484 case "(($ac_try" in
25485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25486 *) ac_try_echo=$ac_try;;
25487 esac
25488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25489 (eval "$ac_compile") 2>conftest.er1
25490 ac_status=$?
25491 grep -v '^ *+' conftest.er1 >conftest.err
25492 rm -f conftest.er1
25493 cat conftest.err >&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); } && {
25496 test -z "$ac_cxx_werror_flag" ||
25497 test ! -s conftest.err
25498 } && test -s conftest.$ac_objext; then
25499 ac_cv_type_std__ostream=yes
25500 else
25501 echo "$as_me: failed program was:" >&5
25502 sed 's/^/| /' conftest.$ac_ext >&5
25503
25504 ac_cv_type_std__ostream=no
25505 fi
25506
25507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25508 fi
25509 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25510 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25511 if test $ac_cv_type_std__ostream = yes; then
25512
25513 cat >>confdefs.h <<_ACEOF
25514 #define HAVE_STD__OSTREAM 1
25515 _ACEOF
25516
25517
25518 else
25519 wxUSE_STD_IOSTREAM=no
25520 fi
25521
25522
25523 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25524 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25525 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25526 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25527 { (exit 1); exit 1; }; }
25528 else
25529 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25530 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25531 fi
25532 fi
25533 fi
25534
25535 if test "$wxUSE_STL" = "yes"; then
25536 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25537 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25538 if test "${wx_cv_lib_stl+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25540 else
25541 cat >conftest.$ac_ext <<_ACEOF
25542 /* confdefs.h. */
25543 _ACEOF
25544 cat confdefs.h >>conftest.$ac_ext
25545 cat >>conftest.$ac_ext <<_ACEOF
25546 /* end confdefs.h. */
25547 #include <string>
25548 #include <functional>
25549 #include <algorithm>
25550 #include <vector>
25551 #include <list>
25552 int
25553 main ()
25554 {
25555 std::vector<int> moo;
25556 std::list<int> foo;
25557 std::vector<int>::iterator it =
25558 std::find_if(moo.begin(), moo.end(),
25559 std::bind2nd(std::less<int>(), 3));
25560 ;
25561 return 0;
25562 }
25563 _ACEOF
25564 rm -f conftest.$ac_objext
25565 if { (ac_try="$ac_compile"
25566 case "(($ac_try" in
25567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25568 *) ac_try_echo=$ac_try;;
25569 esac
25570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25571 (eval "$ac_compile") 2>conftest.er1
25572 ac_status=$?
25573 grep -v '^ *+' conftest.er1 >conftest.err
25574 rm -f conftest.er1
25575 cat conftest.err >&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); } && {
25578 test -z "$ac_cxx_werror_flag" ||
25579 test ! -s conftest.err
25580 } && test -s conftest.$ac_objext; then
25581 wx_cv_lib_stl=yes
25582 else
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.$ac_ext >&5
25585
25586 wx_cv_lib_stl=no
25587
25588 fi
25589
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25591
25592 fi
25593 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25594 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25595
25596 if test "$wx_cv_lib_stl" != yes; then
25597 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25598 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25599 { (exit 1); exit 1; }; }
25600 fi
25601
25602 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25603 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25604 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25605 echo $ECHO_N "(cached) $ECHO_C" >&6
25606 else
25607 cat >conftest.$ac_ext <<_ACEOF
25608 /* confdefs.h. */
25609 _ACEOF
25610 cat confdefs.h >>conftest.$ac_ext
25611 cat >>conftest.$ac_ext <<_ACEOF
25612 /* end confdefs.h. */
25613 #include <string>
25614 int
25615 main ()
25616 {
25617 std::string foo, bar;
25618 foo.compare(bar);
25619 foo.compare(1, 1, bar);
25620 foo.compare(1, 1, bar, 1, 1);
25621 foo.compare("");
25622 foo.compare(1, 1, "");
25623 foo.compare(1, 1, "", 2);
25624 ;
25625 return 0;
25626 }
25627 _ACEOF
25628 rm -f conftest.$ac_objext
25629 if { (ac_try="$ac_compile"
25630 case "(($ac_try" in
25631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25632 *) ac_try_echo=$ac_try;;
25633 esac
25634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25635 (eval "$ac_compile") 2>conftest.er1
25636 ac_status=$?
25637 grep -v '^ *+' conftest.er1 >conftest.err
25638 rm -f conftest.er1
25639 cat conftest.err >&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } && {
25642 test -z "$ac_cxx_werror_flag" ||
25643 test ! -s conftest.err
25644 } && test -s conftest.$ac_objext; then
25645 wx_cv_func_stdstring_compare=yes
25646 else
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.$ac_ext >&5
25649
25650 wx_cv_func_stdstring_compare=no
25651
25652 fi
25653
25654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25655
25656 fi
25657 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25658 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25659
25660 if test "$wx_cv_func_stdstring_compare" = yes; then
25661 cat >>confdefs.h <<\_ACEOF
25662 #define HAVE_STD_STRING_COMPARE 1
25663 _ACEOF
25664
25665 fi
25666
25667 if test "$wx_cv_class_gnuhashmapset" = yes; then
25668 cat >>confdefs.h <<\_ACEOF
25669 #define HAVE_EXT_HASH_MAP 1
25670 _ACEOF
25671
25672 cat >>confdefs.h <<\_ACEOF
25673 #define HAVE_GNU_CXX_HASH_MAP 1
25674 _ACEOF
25675
25676 fi
25677
25678 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25679 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25680 if test "${ac_cv_header_unordered_map+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25682 else
25683 cat >conftest.$ac_ext <<_ACEOF
25684 /* confdefs.h. */
25685 _ACEOF
25686 cat confdefs.h >>conftest.$ac_ext
25687 cat >>conftest.$ac_ext <<_ACEOF
25688 /* end confdefs.h. */
25689
25690
25691
25692 #include <unordered_map>
25693 _ACEOF
25694 rm -f conftest.$ac_objext
25695 if { (ac_try="$ac_compile"
25696 case "(($ac_try" in
25697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25698 *) ac_try_echo=$ac_try;;
25699 esac
25700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25701 (eval "$ac_compile") 2>conftest.er1
25702 ac_status=$?
25703 grep -v '^ *+' conftest.er1 >conftest.err
25704 rm -f conftest.er1
25705 cat conftest.err >&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } && {
25708 test -z "$ac_cxx_werror_flag" ||
25709 test ! -s conftest.err
25710 } && test -s conftest.$ac_objext; then
25711 ac_cv_header_unordered_map=yes
25712 else
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.$ac_ext >&5
25715
25716 ac_cv_header_unordered_map=no
25717 fi
25718
25719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25720 fi
25721 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25722 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25723 if test $ac_cv_header_unordered_map = yes; then
25724 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25725 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25726 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25728 else
25729 cat >conftest.$ac_ext <<_ACEOF
25730 /* confdefs.h. */
25731 _ACEOF
25732 cat confdefs.h >>conftest.$ac_ext
25733 cat >>conftest.$ac_ext <<_ACEOF
25734 /* end confdefs.h. */
25735 #include <unordered_map>
25736 #include <unordered_set>
25737 int
25738 main ()
25739 {
25740 std::unordered_map<double*, char*> test1;
25741 std::unordered_set<char*> test2;
25742 ;
25743 return 0;
25744 }
25745 _ACEOF
25746 rm -f conftest.$ac_objext
25747 if { (ac_try="$ac_compile"
25748 case "(($ac_try" in
25749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25750 *) ac_try_echo=$ac_try;;
25751 esac
25752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25753 (eval "$ac_compile") 2>conftest.er1
25754 ac_status=$?
25755 grep -v '^ *+' conftest.er1 >conftest.err
25756 rm -f conftest.er1
25757 cat conftest.err >&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } && {
25760 test -z "$ac_cxx_werror_flag" ||
25761 test ! -s conftest.err
25762 } && test -s conftest.$ac_objext; then
25763 wx_cv_class_stdunorderedmapset=yes
25764 else
25765 echo "$as_me: failed program was:" >&5
25766 sed 's/^/| /' conftest.$ac_ext >&5
25767
25768 wx_cv_class_stdunorderedmapset=no
25769 fi
25770
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772
25773
25774 fi
25775 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25776 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25777 fi
25778
25779
25780
25781 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25782 cat >>confdefs.h <<\_ACEOF
25783 #define HAVE_STD_UNORDERED_MAP 1
25784 _ACEOF
25785
25786 cat >>confdefs.h <<\_ACEOF
25787 #define HAVE_STD_UNORDERED_SET 1
25788 _ACEOF
25789
25790 else
25791 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25792 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25793 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25795 else
25796 cat >conftest.$ac_ext <<_ACEOF
25797 /* confdefs.h. */
25798 _ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802
25803
25804
25805 #include <tr1/unordered_map>
25806 _ACEOF
25807 rm -f conftest.$ac_objext
25808 if { (ac_try="$ac_compile"
25809 case "(($ac_try" in
25810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25811 *) ac_try_echo=$ac_try;;
25812 esac
25813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25814 (eval "$ac_compile") 2>conftest.er1
25815 ac_status=$?
25816 grep -v '^ *+' conftest.er1 >conftest.err
25817 rm -f conftest.er1
25818 cat conftest.err >&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); } && {
25821 test -z "$ac_cxx_werror_flag" ||
25822 test ! -s conftest.err
25823 } && test -s conftest.$ac_objext; then
25824 ac_cv_header_tr1_unordered_map=yes
25825 else
25826 echo "$as_me: failed program was:" >&5
25827 sed 's/^/| /' conftest.$ac_ext >&5
25828
25829 ac_cv_header_tr1_unordered_map=no
25830 fi
25831
25832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25833 fi
25834 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25835 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25836 if test $ac_cv_header_tr1_unordered_map = yes; then
25837 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25838 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25839 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25840 echo $ECHO_N "(cached) $ECHO_C" >&6
25841 else
25842 cat >conftest.$ac_ext <<_ACEOF
25843 /* confdefs.h. */
25844 _ACEOF
25845 cat confdefs.h >>conftest.$ac_ext
25846 cat >>conftest.$ac_ext <<_ACEOF
25847 /* end confdefs.h. */
25848 #include <tr1/unordered_map>
25849 #include <tr1/unordered_set>
25850 int
25851 main ()
25852 {
25853 std::tr1::unordered_map<double*, char*> test1;
25854 std::tr1::unordered_set<char*> test2;
25855 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25856 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25857 #endif
25858 ;
25859 return 0;
25860 }
25861 _ACEOF
25862 rm -f conftest.$ac_objext
25863 if { (ac_try="$ac_compile"
25864 case "(($ac_try" in
25865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25866 *) ac_try_echo=$ac_try;;
25867 esac
25868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25869 (eval "$ac_compile") 2>conftest.er1
25870 ac_status=$?
25871 grep -v '^ *+' conftest.er1 >conftest.err
25872 rm -f conftest.er1
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } && {
25876 test -z "$ac_cxx_werror_flag" ||
25877 test ! -s conftest.err
25878 } && test -s conftest.$ac_objext; then
25879 wx_cv_class_tr1unorderedmapset=yes
25880 else
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.$ac_ext >&5
25883
25884 wx_cv_class_tr1unorderedmapset=no
25885 fi
25886
25887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25888
25889
25890 fi
25891 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25892 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25893 fi
25894
25895
25896
25897 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25898 cat >>confdefs.h <<\_ACEOF
25899 #define HAVE_TR1_UNORDERED_MAP 1
25900 _ACEOF
25901
25902 cat >>confdefs.h <<\_ACEOF
25903 #define HAVE_TR1_UNORDERED_SET 1
25904 _ACEOF
25905
25906 else
25907 { echo "$as_me:$LINENO: checking for hash_map" >&5
25908 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25909 if test "${ac_cv_header_hash_map+set}" = set; then
25910 echo $ECHO_N "(cached) $ECHO_C" >&6
25911 else
25912 cat >conftest.$ac_ext <<_ACEOF
25913 /* confdefs.h. */
25914 _ACEOF
25915 cat confdefs.h >>conftest.$ac_ext
25916 cat >>conftest.$ac_ext <<_ACEOF
25917 /* end confdefs.h. */
25918
25919
25920
25921 #include <hash_map>
25922 _ACEOF
25923 rm -f conftest.$ac_objext
25924 if { (ac_try="$ac_compile"
25925 case "(($ac_try" in
25926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25927 *) ac_try_echo=$ac_try;;
25928 esac
25929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25930 (eval "$ac_compile") 2>conftest.er1
25931 ac_status=$?
25932 grep -v '^ *+' conftest.er1 >conftest.err
25933 rm -f conftest.er1
25934 cat conftest.err >&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); } && {
25937 test -z "$ac_cxx_werror_flag" ||
25938 test ! -s conftest.err
25939 } && test -s conftest.$ac_objext; then
25940 ac_cv_header_hash_map=yes
25941 else
25942 echo "$as_me: failed program was:" >&5
25943 sed 's/^/| /' conftest.$ac_ext >&5
25944
25945 ac_cv_header_hash_map=no
25946 fi
25947
25948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25949 fi
25950 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25951 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25952 if test $ac_cv_header_hash_map = yes; then
25953 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25954 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25955 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25956 echo $ECHO_N "(cached) $ECHO_C" >&6
25957 else
25958 cat >conftest.$ac_ext <<_ACEOF
25959 /* confdefs.h. */
25960 _ACEOF
25961 cat confdefs.h >>conftest.$ac_ext
25962 cat >>conftest.$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25964 #include <hash_map>
25965 #include <hash_set>
25966 int
25967 main ()
25968 {
25969 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25970 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25971 ;
25972 return 0;
25973 }
25974 _ACEOF
25975 rm -f conftest.$ac_objext
25976 if { (ac_try="$ac_compile"
25977 case "(($ac_try" in
25978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25979 *) ac_try_echo=$ac_try;;
25980 esac
25981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25982 (eval "$ac_compile") 2>conftest.er1
25983 ac_status=$?
25984 grep -v '^ *+' conftest.er1 >conftest.err
25985 rm -f conftest.er1
25986 cat conftest.err >&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } && {
25989 test -z "$ac_cxx_werror_flag" ||
25990 test ! -s conftest.err
25991 } && test -s conftest.$ac_objext; then
25992 wx_cv_class_stdhashmapset=yes
25993 else
25994 echo "$as_me: failed program was:" >&5
25995 sed 's/^/| /' conftest.$ac_ext >&5
25996
25997 wx_cv_class_stdhashmapset=no
25998 fi
25999
26000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26001
26002
26003 fi
26004 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26005 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26006 fi
26007
26008
26009
26010 if test "$wx_cv_class_stdhashmapset" = yes; then
26011 cat >>confdefs.h <<\_ACEOF
26012 #define HAVE_HASH_MAP 1
26013 _ACEOF
26014
26015 cat >>confdefs.h <<\_ACEOF
26016 #define HAVE_STD_HASH_MAP 1
26017 _ACEOF
26018
26019 fi
26020
26021 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26022 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26023 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26024 echo $ECHO_N "(cached) $ECHO_C" >&6
26025 else
26026 cat >conftest.$ac_ext <<_ACEOF
26027 /* confdefs.h. */
26028 _ACEOF
26029 cat confdefs.h >>conftest.$ac_ext
26030 cat >>conftest.$ac_ext <<_ACEOF
26031 /* end confdefs.h. */
26032
26033
26034
26035 #include <ext/hash_map>
26036 _ACEOF
26037 rm -f conftest.$ac_objext
26038 if { (ac_try="$ac_compile"
26039 case "(($ac_try" in
26040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26041 *) ac_try_echo=$ac_try;;
26042 esac
26043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26044 (eval "$ac_compile") 2>conftest.er1
26045 ac_status=$?
26046 grep -v '^ *+' conftest.er1 >conftest.err
26047 rm -f conftest.er1
26048 cat conftest.err >&5
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); } && {
26051 test -z "$ac_cxx_werror_flag" ||
26052 test ! -s conftest.err
26053 } && test -s conftest.$ac_objext; then
26054 ac_cv_header_ext_hash_map=yes
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26058
26059 ac_cv_header_ext_hash_map=no
26060 fi
26061
26062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26063 fi
26064 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26065 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26066 if test $ac_cv_header_ext_hash_map = yes; then
26067 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26068 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26069 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26071 else
26072 cat >conftest.$ac_ext <<_ACEOF
26073 /* confdefs.h. */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078 #include <ext/hash_map>
26079 #include <ext/hash_set>
26080 int
26081 main ()
26082 {
26083 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26084 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26085 ;
26086 return 0;
26087 }
26088 _ACEOF
26089 rm -f conftest.$ac_objext
26090 if { (ac_try="$ac_compile"
26091 case "(($ac_try" in
26092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26094 esac
26095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26096 (eval "$ac_compile") 2>conftest.er1
26097 ac_status=$?
26098 grep -v '^ *+' conftest.er1 >conftest.err
26099 rm -f conftest.er1
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && {
26103 test -z "$ac_cxx_werror_flag" ||
26104 test ! -s conftest.err
26105 } && test -s conftest.$ac_objext; then
26106 wx_cv_class_gnuhashmapset=yes
26107 else
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.$ac_ext >&5
26110
26111 wx_cv_class_gnuhashmapset=no
26112 fi
26113
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26115
26116
26117 fi
26118 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26119 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26120 fi
26121
26122
26123
26124 fi
26125 fi
26126 fi
26127
26128 ac_ext=cpp
26129 ac_cpp='$CXXCPP $CPPFLAGS'
26130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26133 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26134 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26135 if test -z "$CXXCPP"; then
26136 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26137 echo $ECHO_N "(cached) $ECHO_C" >&6
26138 else
26139 # Double quotes because CXXCPP needs to be expanded
26140 for CXXCPP in "$CXX -E" "/lib/cpp"
26141 do
26142 ac_preproc_ok=false
26143 for ac_cxx_preproc_warn_flag in '' yes
26144 do
26145 # Use a header file that comes with gcc, so configuring glibc
26146 # with a fresh cross-compiler works.
26147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26148 # <limits.h> exists even on freestanding compilers.
26149 # On the NeXT, cc -E runs the code through the compiler's parser,
26150 # not just through cpp. "Syntax error" is here to catch this case.
26151 cat >conftest.$ac_ext <<_ACEOF
26152 /* confdefs.h. */
26153 _ACEOF
26154 cat confdefs.h >>conftest.$ac_ext
26155 cat >>conftest.$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26157 #ifdef __STDC__
26158 # include <limits.h>
26159 #else
26160 # include <assert.h>
26161 #endif
26162 Syntax error
26163 _ACEOF
26164 if { (ac_try="$ac_cpp conftest.$ac_ext"
26165 case "(($ac_try" in
26166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26167 *) ac_try_echo=$ac_try;;
26168 esac
26169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26171 ac_status=$?
26172 grep -v '^ *+' conftest.er1 >conftest.err
26173 rm -f conftest.er1
26174 cat conftest.err >&5
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); } >/dev/null && {
26177 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26178 test ! -s conftest.err
26179 }; then
26180 :
26181 else
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26184
26185 # Broken: fails on valid input.
26186 continue
26187 fi
26188
26189 rm -f conftest.err conftest.$ac_ext
26190
26191 # OK, works on sane cases. Now check whether nonexistent headers
26192 # can be detected and how.
26193 cat >conftest.$ac_ext <<_ACEOF
26194 /* confdefs.h. */
26195 _ACEOF
26196 cat confdefs.h >>conftest.$ac_ext
26197 cat >>conftest.$ac_ext <<_ACEOF
26198 /* end confdefs.h. */
26199 #include <ac_nonexistent.h>
26200 _ACEOF
26201 if { (ac_try="$ac_cpp conftest.$ac_ext"
26202 case "(($ac_try" in
26203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26204 *) ac_try_echo=$ac_try;;
26205 esac
26206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26208 ac_status=$?
26209 grep -v '^ *+' conftest.er1 >conftest.err
26210 rm -f conftest.er1
26211 cat conftest.err >&5
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); } >/dev/null && {
26214 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26215 test ! -s conftest.err
26216 }; then
26217 # Broken: success on invalid input.
26218 continue
26219 else
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26222
26223 # Passes both tests.
26224 ac_preproc_ok=:
26225 break
26226 fi
26227
26228 rm -f conftest.err conftest.$ac_ext
26229
26230 done
26231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26232 rm -f conftest.err conftest.$ac_ext
26233 if $ac_preproc_ok; then
26234 break
26235 fi
26236
26237 done
26238 ac_cv_prog_CXXCPP=$CXXCPP
26239
26240 fi
26241 CXXCPP=$ac_cv_prog_CXXCPP
26242 else
26243 ac_cv_prog_CXXCPP=$CXXCPP
26244 fi
26245 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26246 echo "${ECHO_T}$CXXCPP" >&6; }
26247 ac_preproc_ok=false
26248 for ac_cxx_preproc_warn_flag in '' yes
26249 do
26250 # Use a header file that comes with gcc, so configuring glibc
26251 # with a fresh cross-compiler works.
26252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26253 # <limits.h> exists even on freestanding compilers.
26254 # On the NeXT, cc -E runs the code through the compiler's parser,
26255 # not just through cpp. "Syntax error" is here to catch this case.
26256 cat >conftest.$ac_ext <<_ACEOF
26257 /* confdefs.h. */
26258 _ACEOF
26259 cat confdefs.h >>conftest.$ac_ext
26260 cat >>conftest.$ac_ext <<_ACEOF
26261 /* end confdefs.h. */
26262 #ifdef __STDC__
26263 # include <limits.h>
26264 #else
26265 # include <assert.h>
26266 #endif
26267 Syntax error
26268 _ACEOF
26269 if { (ac_try="$ac_cpp conftest.$ac_ext"
26270 case "(($ac_try" in
26271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26272 *) ac_try_echo=$ac_try;;
26273 esac
26274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26276 ac_status=$?
26277 grep -v '^ *+' conftest.er1 >conftest.err
26278 rm -f conftest.er1
26279 cat conftest.err >&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } >/dev/null && {
26282 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26283 test ! -s conftest.err
26284 }; then
26285 :
26286 else
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26289
26290 # Broken: fails on valid input.
26291 continue
26292 fi
26293
26294 rm -f conftest.err conftest.$ac_ext
26295
26296 # OK, works on sane cases. Now check whether nonexistent headers
26297 # can be detected and how.
26298 cat >conftest.$ac_ext <<_ACEOF
26299 /* confdefs.h. */
26300 _ACEOF
26301 cat confdefs.h >>conftest.$ac_ext
26302 cat >>conftest.$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 #include <ac_nonexistent.h>
26305 _ACEOF
26306 if { (ac_try="$ac_cpp conftest.$ac_ext"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26309 *) ac_try_echo=$ac_try;;
26310 esac
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26313 ac_status=$?
26314 grep -v '^ *+' conftest.er1 >conftest.err
26315 rm -f conftest.er1
26316 cat conftest.err >&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } >/dev/null && {
26319 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26320 test ! -s conftest.err
26321 }; then
26322 # Broken: success on invalid input.
26323 continue
26324 else
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.$ac_ext >&5
26327
26328 # Passes both tests.
26329 ac_preproc_ok=:
26330 break
26331 fi
26332
26333 rm -f conftest.err conftest.$ac_ext
26334
26335 done
26336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26337 rm -f conftest.err conftest.$ac_ext
26338 if $ac_preproc_ok; then
26339 :
26340 else
26341 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26342 See \`config.log' for more details." >&5
26343 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26344 See \`config.log' for more details." >&2;}
26345 { (exit 1); exit 1; }; }
26346 fi
26347
26348 ac_ext=cpp
26349 ac_cpp='$CXXCPP $CPPFLAGS'
26350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26353
26354
26355
26356
26357 for ac_header in type_traits tr1/type_traits
26358 do
26359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26364 echo $ECHO_N "(cached) $ECHO_C" >&6
26365 fi
26366 ac_res=`eval echo '${'$as_ac_Header'}'`
26367 { echo "$as_me:$LINENO: result: $ac_res" >&5
26368 echo "${ECHO_T}$ac_res" >&6; }
26369 else
26370 # Is the header compilable?
26371 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26373 cat >conftest.$ac_ext <<_ACEOF
26374 /* confdefs.h. */
26375 _ACEOF
26376 cat confdefs.h >>conftest.$ac_ext
26377 cat >>conftest.$ac_ext <<_ACEOF
26378 /* end confdefs.h. */
26379 $ac_includes_default
26380 #include <$ac_header>
26381 _ACEOF
26382 rm -f conftest.$ac_objext
26383 if { (ac_try="$ac_compile"
26384 case "(($ac_try" in
26385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26386 *) ac_try_echo=$ac_try;;
26387 esac
26388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389 (eval "$ac_compile") 2>conftest.er1
26390 ac_status=$?
26391 grep -v '^ *+' conftest.er1 >conftest.err
26392 rm -f conftest.er1
26393 cat conftest.err >&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); } && {
26396 test -z "$ac_cxx_werror_flag" ||
26397 test ! -s conftest.err
26398 } && test -s conftest.$ac_objext; then
26399 ac_header_compiler=yes
26400 else
26401 echo "$as_me: failed program was:" >&5
26402 sed 's/^/| /' conftest.$ac_ext >&5
26403
26404 ac_header_compiler=no
26405 fi
26406
26407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26408 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26409 echo "${ECHO_T}$ac_header_compiler" >&6; }
26410
26411 # Is the header present?
26412 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26414 cat >conftest.$ac_ext <<_ACEOF
26415 /* confdefs.h. */
26416 _ACEOF
26417 cat confdefs.h >>conftest.$ac_ext
26418 cat >>conftest.$ac_ext <<_ACEOF
26419 /* end confdefs.h. */
26420 #include <$ac_header>
26421 _ACEOF
26422 if { (ac_try="$ac_cpp conftest.$ac_ext"
26423 case "(($ac_try" in
26424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26425 *) ac_try_echo=$ac_try;;
26426 esac
26427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26429 ac_status=$?
26430 grep -v '^ *+' conftest.er1 >conftest.err
26431 rm -f conftest.er1
26432 cat conftest.err >&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } >/dev/null && {
26435 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26436 test ! -s conftest.err
26437 }; then
26438 ac_header_preproc=yes
26439 else
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.$ac_ext >&5
26442
26443 ac_header_preproc=no
26444 fi
26445
26446 rm -f conftest.err conftest.$ac_ext
26447 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26448 echo "${ECHO_T}$ac_header_preproc" >&6; }
26449
26450 # So? What about this header?
26451 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26452 yes:no: )
26453 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26457 ac_header_preproc=yes
26458 ;;
26459 no:yes:* )
26460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26466 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26467 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26470 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26472 ( cat <<\_ASBOX
26473 ## ----------------------------------------- ##
26474 ## Report this to wx-dev@lists.wxwidgets.org ##
26475 ## ----------------------------------------- ##
26476 _ASBOX
26477 ) | sed "s/^/$as_me: WARNING: /" >&2
26478 ;;
26479 esac
26480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26482 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26483 echo $ECHO_N "(cached) $ECHO_C" >&6
26484 else
26485 eval "$as_ac_Header=\$ac_header_preproc"
26486 fi
26487 ac_res=`eval echo '${'$as_ac_Header'}'`
26488 { echo "$as_me:$LINENO: result: $ac_res" >&5
26489 echo "${ECHO_T}$ac_res" >&6; }
26490
26491 fi
26492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26493 cat >>confdefs.h <<_ACEOF
26494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26495 _ACEOF
26496
26497 fi
26498
26499 done
26500
26501
26502
26503
26504 if test -n "$GCC"; then
26505 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26506 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26507 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 else
26510
26511 cat >conftest.$ac_ext <<_ACEOF
26512 /* confdefs.h. */
26513 _ACEOF
26514 cat confdefs.h >>conftest.$ac_ext
26515 cat >>conftest.$ac_ext <<_ACEOF
26516 /* end confdefs.h. */
26517
26518 int
26519 main ()
26520 {
26521
26522 unsigned int value=0;
26523 /* wxAtomicInc doesn't use return value here */
26524 __sync_fetch_and_add(&value, 2);
26525 __sync_sub_and_fetch(&value, 1);
26526 /* but wxAtomicDec does, so mimic that: */
26527 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26528
26529 ;
26530 return 0;
26531 }
26532 _ACEOF
26533 rm -f conftest.$ac_objext conftest$ac_exeext
26534 if { (ac_try="$ac_link"
26535 case "(($ac_try" in
26536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26537 *) ac_try_echo=$ac_try;;
26538 esac
26539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26540 (eval "$ac_link") 2>conftest.er1
26541 ac_status=$?
26542 grep -v '^ *+' conftest.er1 >conftest.err
26543 rm -f conftest.er1
26544 cat conftest.err >&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); } && {
26547 test -z "$ac_cxx_werror_flag" ||
26548 test ! -s conftest.err
26549 } && test -s conftest$ac_exeext &&
26550 $as_test_x conftest$ac_exeext; then
26551 wx_cv_cc_gcc_atomic_builtins=yes
26552 else
26553 echo "$as_me: failed program was:" >&5
26554 sed 's/^/| /' conftest.$ac_ext >&5
26555
26556 wx_cv_cc_gcc_atomic_builtins=no
26557 fi
26558
26559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26560 conftest$ac_exeext conftest.$ac_ext
26561
26562 fi
26563
26564 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26565 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26566 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26567 cat >>confdefs.h <<\_ACEOF
26568 #define HAVE_GCC_ATOMIC_BUILTINS 1
26569 _ACEOF
26570
26571 fi
26572 fi
26573
26574
26575 ac_ext=c
26576 ac_cpp='$CPP $CPPFLAGS'
26577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26580
26581
26582
26583 SEARCH_INCLUDE="\
26584 /usr/local/include \
26585 /usr/local/X11/include \
26586 /usr/local/include/X11 \
26587 /usr/local/X11R7/include \
26588 /usr/local/X11R6/include \
26589 /usr/local/include/X11R7 \
26590 /usr/local/include/X11R6 \
26591 \
26592 /usr/Motif-2.1/include \
26593 /usr/Motif-1.2/include \
26594 /usr/include/Motif1.2 \
26595 \
26596 /usr/dt/include \
26597 /usr/openwin/include \
26598 \
26599 /usr/include/Xm \
26600 \
26601 /usr/X11R7/include \
26602 /usr/X11R6/include \
26603 /usr/X11R6.4/include \
26604 \
26605 /usr/include/X11R7 \
26606 /usr/include/X11R6 \
26607 \
26608 /usr/X11/include \
26609 /usr/include/X11 \
26610 \
26611 /usr/XFree86/include/X11 \
26612 /usr/pkg/include \
26613 \
26614 /usr/local/X1R5/include \
26615 /usr/local/include/X11R5 \
26616 /usr/X11R5/include \
26617 /usr/include/X11R5 \
26618 \
26619 /usr/local/X11R4/include \
26620 /usr/local/include/X11R4 \
26621 /usr/X11R4/include \
26622 /usr/include/X11R4 \
26623 \
26624 /usr/openwin/share/include"
26625
26626 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26627 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26628
26629 case "${host}" in
26630 *-*-irix6* )
26631 if test "${wx_cv_std_libpath+set}" = set; then
26632 echo $ECHO_N "(cached) $ECHO_C" >&6
26633 else
26634
26635 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26636 for e in a so sl dylib dll.a; do
26637 libc="$d/libc.$e"
26638 if test -f $libc; then
26639 save_LIBS="$LIBS"
26640 LIBS="$libc"
26641 cat >conftest.$ac_ext <<_ACEOF
26642 int main() { return 0; }
26643 _ACEOF
26644 rm -f conftest.$ac_objext conftest$ac_exeext
26645 if { (ac_try="$ac_link"
26646 case "(($ac_try" in
26647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26648 *) ac_try_echo=$ac_try;;
26649 esac
26650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26651 (eval "$ac_link") 2>conftest.er1
26652 ac_status=$?
26653 grep -v '^ *+' conftest.er1 >conftest.err
26654 rm -f conftest.er1
26655 cat conftest.err >&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } && {
26658 test -z "$ac_c_werror_flag" ||
26659 test ! -s conftest.err
26660 } && test -s conftest$ac_exeext &&
26661 $as_test_x conftest$ac_exeext; then
26662 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26663 else
26664 echo "$as_me: failed program was:" >&5
26665 sed 's/^/| /' conftest.$ac_ext >&5
26666
26667
26668 fi
26669
26670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26671 conftest$ac_exeext conftest.$ac_ext
26672 LIBS="$save_LIBS"
26673 if test "x$wx_cv_std_libpath" != "x"; then
26674 break 2
26675 fi
26676 fi
26677 done
26678 done
26679 if test "x$wx_cv_std_libpath" = "x"; then
26680 wx_cv_std_libpath="lib"
26681 fi
26682
26683
26684 fi
26685
26686 ;;
26687
26688 *-*-solaris2* )
26689 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26690 wx_cv_std_libpath="lib/64"
26691 else
26692 wx_cv_std_libpath="lib"
26693 fi
26694 ;;
26695
26696 *-*-linux* )
26697 if test "$ac_cv_sizeof_void_p" = 8 -a \
26698 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26699 wx_cv_std_libpath="lib64"
26700 else
26701 wx_cv_std_libpath="lib"
26702 fi
26703 ;;
26704
26705 *)
26706 wx_cv_std_libpath="lib";
26707 ;;
26708 esac
26709
26710 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26711 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26712
26713 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26714
26715 if test "$build" != "$host" -a "$GCC" = yes; then
26716 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26717 cross_root=`dirname $cross_root`
26718 cross_root=`dirname $cross_root`
26719
26720 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26721 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26722 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26723
26724 if test -z "$PKG_CONFIG_PATH"; then
26725 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26726 export PKG_CONFIG_PATH
26727 fi
26728
26729 if test -z "$x_includes" -o "$x_includes" = NONE; then
26730
26731 ac_find_includes=
26732 for ac_dir in $SEARCH_INCLUDE /usr/include
26733 do
26734 if test -f "$ac_dir/X11/Intrinsic.h"; then
26735 ac_find_includes=$ac_dir
26736 break
26737 fi
26738 done
26739
26740 x_includes=$ac_find_includes
26741 fi
26742 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26743
26744 ac_find_libraries=
26745 for ac_dir in $SEARCH_LIB
26746 do
26747 for ac_extension in a so sl dylib dll.a; do
26748 if test -f "$ac_dir/libXt.$ac_extension"; then
26749 ac_find_libraries=$ac_dir
26750 break 2
26751 fi
26752 done
26753 done
26754
26755 x_libraries=$ac_find_libraries
26756 fi
26757 fi
26758 fi
26759
26760
26761 cat >confcache <<\_ACEOF
26762 # This file is a shell script that caches the results of configure
26763 # tests run on this system so they can be shared between configure
26764 # scripts and configure runs, see configure's option --config-cache.
26765 # It is not useful on other systems. If it contains results you don't
26766 # want to keep, you may remove or edit it.
26767 #
26768 # config.status only pays attention to the cache file if you give it
26769 # the --recheck option to rerun configure.
26770 #
26771 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26772 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26773 # following values.
26774
26775 _ACEOF
26776
26777 # The following way of writing the cache mishandles newlines in values,
26778 # but we know of no workaround that is simple, portable, and efficient.
26779 # So, we kill variables containing newlines.
26780 # Ultrix sh set writes to stderr and can't be redirected directly,
26781 # and sets the high bit in the cache file unless we assign to the vars.
26782 (
26783 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26784 eval ac_val=\$$ac_var
26785 case $ac_val in #(
26786 *${as_nl}*)
26787 case $ac_var in #(
26788 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26789 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26790 esac
26791 case $ac_var in #(
26792 _ | IFS | as_nl) ;; #(
26793 *) $as_unset $ac_var ;;
26794 esac ;;
26795 esac
26796 done
26797
26798 (set) 2>&1 |
26799 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26800 *${as_nl}ac_space=\ *)
26801 # `set' does not quote correctly, so add quotes (double-quote
26802 # substitution turns \\\\ into \\, and sed turns \\ into \).
26803 sed -n \
26804 "s/'/'\\\\''/g;
26805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26806 ;; #(
26807 *)
26808 # `set' quotes correctly as required by POSIX, so do not add quotes.
26809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26810 ;;
26811 esac |
26812 sort
26813 ) |
26814 sed '
26815 /^ac_cv_env_/b end
26816 t clear
26817 :clear
26818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26819 t end
26820 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26821 :end' >>confcache
26822 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26823 if test -w "$cache_file"; then
26824 test "x$cache_file" != "x/dev/null" &&
26825 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26826 echo "$as_me: updating cache $cache_file" >&6;}
26827 cat confcache >$cache_file
26828 else
26829 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26830 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26831 fi
26832 fi
26833 rm -f confcache
26834
26835 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26836 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26837 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26838 if test "${wx_cv_lib_glibc21+set}" = set; then
26839 echo $ECHO_N "(cached) $ECHO_C" >&6
26840 else
26841
26842 cat >conftest.$ac_ext <<_ACEOF
26843 /* confdefs.h. */
26844 _ACEOF
26845 cat confdefs.h >>conftest.$ac_ext
26846 cat >>conftest.$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26848 #include <features.h>
26849 int
26850 main ()
26851 {
26852
26853 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26854 not glibc 2.1
26855 #endif
26856
26857 ;
26858 return 0;
26859 }
26860 _ACEOF
26861 rm -f conftest.$ac_objext
26862 if { (ac_try="$ac_compile"
26863 case "(($ac_try" in
26864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26865 *) ac_try_echo=$ac_try;;
26866 esac
26867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26868 (eval "$ac_compile") 2>conftest.er1
26869 ac_status=$?
26870 grep -v '^ *+' conftest.er1 >conftest.err
26871 rm -f conftest.er1
26872 cat conftest.err >&5
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); } && {
26875 test -z "$ac_c_werror_flag" ||
26876 test ! -s conftest.err
26877 } && test -s conftest.$ac_objext; then
26878
26879 wx_cv_lib_glibc21=yes
26880
26881 else
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26884
26885
26886 wx_cv_lib_glibc21=no
26887
26888
26889 fi
26890
26891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26892
26893 fi
26894 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26895 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26896 if test "$wx_cv_lib_glibc21" = "yes"; then
26897 cat >>confdefs.h <<\_ACEOF
26898 #define wxHAVE_GLIBC2 1
26899 _ACEOF
26900
26901 fi
26902 fi
26903
26904 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26905 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26906 cat >>confdefs.h <<\_ACEOF
26907 #define _GNU_SOURCE 1
26908 _ACEOF
26909
26910 fi
26911 fi
26912
26913 have_cos=0
26914 have_floor=0
26915
26916 for ac_func in cos
26917 do
26918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26922 echo $ECHO_N "(cached) $ECHO_C" >&6
26923 else
26924 cat >conftest.$ac_ext <<_ACEOF
26925 /* confdefs.h. */
26926 _ACEOF
26927 cat confdefs.h >>conftest.$ac_ext
26928 cat >>conftest.$ac_ext <<_ACEOF
26929 /* end confdefs.h. */
26930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26932 #define $ac_func innocuous_$ac_func
26933
26934 /* System header to define __stub macros and hopefully few prototypes,
26935 which can conflict with char $ac_func (); below.
26936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26937 <limits.h> exists even on freestanding compilers. */
26938
26939 #ifdef __STDC__
26940 # include <limits.h>
26941 #else
26942 # include <assert.h>
26943 #endif
26944
26945 #undef $ac_func
26946
26947 /* Override any GCC internal prototype to avoid an error.
26948 Use char because int might match the return type of a GCC
26949 builtin and then its argument prototype would still apply. */
26950 #ifdef __cplusplus
26951 extern "C"
26952 #endif
26953 char $ac_func ();
26954 /* The GNU C library defines this for functions which it implements
26955 to always fail with ENOSYS. Some functions are actually named
26956 something starting with __ and the normal name is an alias. */
26957 #if defined __stub_$ac_func || defined __stub___$ac_func
26958 choke me
26959 #endif
26960
26961 int
26962 main ()
26963 {
26964 return $ac_func ();
26965 ;
26966 return 0;
26967 }
26968 _ACEOF
26969 rm -f conftest.$ac_objext conftest$ac_exeext
26970 if { (ac_try="$ac_link"
26971 case "(($ac_try" in
26972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26973 *) ac_try_echo=$ac_try;;
26974 esac
26975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26976 (eval "$ac_link") 2>conftest.er1
26977 ac_status=$?
26978 grep -v '^ *+' conftest.er1 >conftest.err
26979 rm -f conftest.er1
26980 cat conftest.err >&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); } && {
26983 test -z "$ac_c_werror_flag" ||
26984 test ! -s conftest.err
26985 } && test -s conftest$ac_exeext &&
26986 $as_test_x conftest$ac_exeext; then
26987 eval "$as_ac_var=yes"
26988 else
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26991
26992 eval "$as_ac_var=no"
26993 fi
26994
26995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26996 conftest$ac_exeext conftest.$ac_ext
26997 fi
26998 ac_res=`eval echo '${'$as_ac_var'}'`
26999 { echo "$as_me:$LINENO: result: $ac_res" >&5
27000 echo "${ECHO_T}$ac_res" >&6; }
27001 if test `eval echo '${'$as_ac_var'}'` = yes; then
27002 cat >>confdefs.h <<_ACEOF
27003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27004 _ACEOF
27005 have_cos=1
27006 fi
27007 done
27008
27009
27010 for ac_func in floor
27011 do
27012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27013 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27015 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27016 echo $ECHO_N "(cached) $ECHO_C" >&6
27017 else
27018 cat >conftest.$ac_ext <<_ACEOF
27019 /* confdefs.h. */
27020 _ACEOF
27021 cat confdefs.h >>conftest.$ac_ext
27022 cat >>conftest.$ac_ext <<_ACEOF
27023 /* end confdefs.h. */
27024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27026 #define $ac_func innocuous_$ac_func
27027
27028 /* System header to define __stub macros and hopefully few prototypes,
27029 which can conflict with char $ac_func (); below.
27030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27031 <limits.h> exists even on freestanding compilers. */
27032
27033 #ifdef __STDC__
27034 # include <limits.h>
27035 #else
27036 # include <assert.h>
27037 #endif
27038
27039 #undef $ac_func
27040
27041 /* Override any GCC internal prototype to avoid an error.
27042 Use char because int might match the return type of a GCC
27043 builtin and then its argument prototype would still apply. */
27044 #ifdef __cplusplus
27045 extern "C"
27046 #endif
27047 char $ac_func ();
27048 /* The GNU C library defines this for functions which it implements
27049 to always fail with ENOSYS. Some functions are actually named
27050 something starting with __ and the normal name is an alias. */
27051 #if defined __stub_$ac_func || defined __stub___$ac_func
27052 choke me
27053 #endif
27054
27055 int
27056 main ()
27057 {
27058 return $ac_func ();
27059 ;
27060 return 0;
27061 }
27062 _ACEOF
27063 rm -f conftest.$ac_objext conftest$ac_exeext
27064 if { (ac_try="$ac_link"
27065 case "(($ac_try" in
27066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27067 *) ac_try_echo=$ac_try;;
27068 esac
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070 (eval "$ac_link") 2>conftest.er1
27071 ac_status=$?
27072 grep -v '^ *+' conftest.er1 >conftest.err
27073 rm -f conftest.er1
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } && {
27077 test -z "$ac_c_werror_flag" ||
27078 test ! -s conftest.err
27079 } && test -s conftest$ac_exeext &&
27080 $as_test_x conftest$ac_exeext; then
27081 eval "$as_ac_var=yes"
27082 else
27083 echo "$as_me: failed program was:" >&5
27084 sed 's/^/| /' conftest.$ac_ext >&5
27085
27086 eval "$as_ac_var=no"
27087 fi
27088
27089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27090 conftest$ac_exeext conftest.$ac_ext
27091 fi
27092 ac_res=`eval echo '${'$as_ac_var'}'`
27093 { echo "$as_me:$LINENO: result: $ac_res" >&5
27094 echo "${ECHO_T}$ac_res" >&6; }
27095 if test `eval echo '${'$as_ac_var'}'` = yes; then
27096 cat >>confdefs.h <<_ACEOF
27097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27098 _ACEOF
27099 have_floor=1
27100 fi
27101 done
27102
27103 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27104 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27105 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27106 { echo "$as_me:$LINENO: result: yes" >&5
27107 echo "${ECHO_T}yes" >&6; }
27108 else
27109 { echo "$as_me:$LINENO: result: no" >&5
27110 echo "${ECHO_T}no" >&6; }
27111 LIBS="$LIBS -lm"
27112 # use different functions to avoid configure caching
27113 have_sin=0
27114 have_ceil=0
27115
27116 for ac_func in sin
27117 do
27118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27122 echo $ECHO_N "(cached) $ECHO_C" >&6
27123 else
27124 cat >conftest.$ac_ext <<_ACEOF
27125 /* confdefs.h. */
27126 _ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27132 #define $ac_func innocuous_$ac_func
27133
27134 /* System header to define __stub macros and hopefully few prototypes,
27135 which can conflict with char $ac_func (); below.
27136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27137 <limits.h> exists even on freestanding compilers. */
27138
27139 #ifdef __STDC__
27140 # include <limits.h>
27141 #else
27142 # include <assert.h>
27143 #endif
27144
27145 #undef $ac_func
27146
27147 /* Override any GCC internal prototype to avoid an error.
27148 Use char because int might match the return type of a GCC
27149 builtin and then its argument prototype would still apply. */
27150 #ifdef __cplusplus
27151 extern "C"
27152 #endif
27153 char $ac_func ();
27154 /* The GNU C library defines this for functions which it implements
27155 to always fail with ENOSYS. Some functions are actually named
27156 something starting with __ and the normal name is an alias. */
27157 #if defined __stub_$ac_func || defined __stub___$ac_func
27158 choke me
27159 #endif
27160
27161 int
27162 main ()
27163 {
27164 return $ac_func ();
27165 ;
27166 return 0;
27167 }
27168 _ACEOF
27169 rm -f conftest.$ac_objext conftest$ac_exeext
27170 if { (ac_try="$ac_link"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27174 esac
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_link") 2>conftest.er1
27177 ac_status=$?
27178 grep -v '^ *+' conftest.er1 >conftest.err
27179 rm -f conftest.er1
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_c_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest$ac_exeext &&
27186 $as_test_x conftest$ac_exeext; then
27187 eval "$as_ac_var=yes"
27188 else
27189 echo "$as_me: failed program was:" >&5
27190 sed 's/^/| /' conftest.$ac_ext >&5
27191
27192 eval "$as_ac_var=no"
27193 fi
27194
27195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27196 conftest$ac_exeext conftest.$ac_ext
27197 fi
27198 ac_res=`eval echo '${'$as_ac_var'}'`
27199 { echo "$as_me:$LINENO: result: $ac_res" >&5
27200 echo "${ECHO_T}$ac_res" >&6; }
27201 if test `eval echo '${'$as_ac_var'}'` = yes; then
27202 cat >>confdefs.h <<_ACEOF
27203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27204 _ACEOF
27205 have_sin=1
27206 fi
27207 done
27208
27209
27210 for ac_func in ceil
27211 do
27212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27216 echo $ECHO_N "(cached) $ECHO_C" >&6
27217 else
27218 cat >conftest.$ac_ext <<_ACEOF
27219 /* confdefs.h. */
27220 _ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27226 #define $ac_func innocuous_$ac_func
27227
27228 /* System header to define __stub macros and hopefully few prototypes,
27229 which can conflict with char $ac_func (); below.
27230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27231 <limits.h> exists even on freestanding compilers. */
27232
27233 #ifdef __STDC__
27234 # include <limits.h>
27235 #else
27236 # include <assert.h>
27237 #endif
27238
27239 #undef $ac_func
27240
27241 /* Override any GCC internal prototype to avoid an error.
27242 Use char because int might match the return type of a GCC
27243 builtin and then its argument prototype would still apply. */
27244 #ifdef __cplusplus
27245 extern "C"
27246 #endif
27247 char $ac_func ();
27248 /* The GNU C library defines this for functions which it implements
27249 to always fail with ENOSYS. Some functions are actually named
27250 something starting with __ and the normal name is an alias. */
27251 #if defined __stub_$ac_func || defined __stub___$ac_func
27252 choke me
27253 #endif
27254
27255 int
27256 main ()
27257 {
27258 return $ac_func ();
27259 ;
27260 return 0;
27261 }
27262 _ACEOF
27263 rm -f conftest.$ac_objext conftest$ac_exeext
27264 if { (ac_try="$ac_link"
27265 case "(($ac_try" in
27266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27267 *) ac_try_echo=$ac_try;;
27268 esac
27269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27270 (eval "$ac_link") 2>conftest.er1
27271 ac_status=$?
27272 grep -v '^ *+' conftest.er1 >conftest.err
27273 rm -f conftest.er1
27274 cat conftest.err >&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); } && {
27277 test -z "$ac_c_werror_flag" ||
27278 test ! -s conftest.err
27279 } && test -s conftest$ac_exeext &&
27280 $as_test_x conftest$ac_exeext; then
27281 eval "$as_ac_var=yes"
27282 else
27283 echo "$as_me: failed program was:" >&5
27284 sed 's/^/| /' conftest.$ac_ext >&5
27285
27286 eval "$as_ac_var=no"
27287 fi
27288
27289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27290 conftest$ac_exeext conftest.$ac_ext
27291 fi
27292 ac_res=`eval echo '${'$as_ac_var'}'`
27293 { echo "$as_me:$LINENO: result: $ac_res" >&5
27294 echo "${ECHO_T}$ac_res" >&6; }
27295 if test `eval echo '${'$as_ac_var'}'` = yes; then
27296 cat >>confdefs.h <<_ACEOF
27297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27298 _ACEOF
27299 have_ceil=1
27300 fi
27301 done
27302
27303 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27304 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27305 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27306 { echo "$as_me:$LINENO: result: yes" >&5
27307 echo "${ECHO_T}yes" >&6; }
27308 else
27309 { echo "$as_me:$LINENO: result: no" >&5
27310 echo "${ECHO_T}no" >&6; }
27311 # not sure we should warn the user, crash, etc.
27312 fi
27313 fi
27314
27315 ac_ext=cpp
27316 ac_cpp='$CXXCPP $CPPFLAGS'
27317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27320
27321 if test "wxUSE_UNICODE" = "yes"; then
27322
27323 for wx_func in wcstoull
27324 do
27325 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27326 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27327 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27329 else
27330
27331 cat >conftest.$ac_ext <<_ACEOF
27332
27333 /* confdefs.h. */
27334 _ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27338
27339
27340 $ac_includes_default
27341
27342 int
27343 main ()
27344 {
27345
27346 #ifndef $wx_func
27347 &$wx_func;
27348 #endif
27349
27350
27351 ;
27352 return 0;
27353 }
27354
27355 _ACEOF
27356 rm -f conftest.$ac_objext conftest$ac_exeext
27357 if { (ac_try="$ac_link"
27358 case "(($ac_try" in
27359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27360 *) ac_try_echo=$ac_try;;
27361 esac
27362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27363 (eval "$ac_link") 2>conftest.er1
27364 ac_status=$?
27365 grep -v '^ *+' conftest.er1 >conftest.err
27366 rm -f conftest.er1
27367 cat conftest.err >&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); } && {
27370 test -z "$ac_cxx_werror_flag" ||
27371 test ! -s conftest.err
27372 } && test -s conftest$ac_exeext &&
27373 $as_test_x conftest$ac_exeext; then
27374 eval wx_cv_func_$wx_func=yes
27375 else
27376 echo "$as_me: failed program was:" >&5
27377 sed 's/^/| /' conftest.$ac_ext >&5
27378
27379 eval wx_cv_func_$wx_func=no
27380 fi
27381
27382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27383 conftest$ac_exeext conftest.$ac_ext
27384
27385 fi
27386 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27387 { echo "$as_me:$LINENO: result: $ac_res" >&5
27388 echo "${ECHO_T}$ac_res" >&6; }
27389
27390 if eval test \$wx_cv_func_$wx_func = yes
27391 then
27392 cat >>confdefs.h <<_ACEOF
27393 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27394 _ACEOF
27395
27396
27397 else
27398 :
27399
27400 fi
27401 done
27402
27403 else
27404
27405 for wx_func in strtoull
27406 do
27407 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27408 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27409 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27410 echo $ECHO_N "(cached) $ECHO_C" >&6
27411 else
27412
27413 cat >conftest.$ac_ext <<_ACEOF
27414
27415 /* confdefs.h. */
27416 _ACEOF
27417 cat confdefs.h >>conftest.$ac_ext
27418 cat >>conftest.$ac_ext <<_ACEOF
27419 /* end confdefs.h. */
27420
27421
27422 $ac_includes_default
27423
27424 int
27425 main ()
27426 {
27427
27428 #ifndef $wx_func
27429 &$wx_func;
27430 #endif
27431
27432
27433 ;
27434 return 0;
27435 }
27436
27437 _ACEOF
27438 rm -f conftest.$ac_objext conftest$ac_exeext
27439 if { (ac_try="$ac_link"
27440 case "(($ac_try" in
27441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27442 *) ac_try_echo=$ac_try;;
27443 esac
27444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27445 (eval "$ac_link") 2>conftest.er1
27446 ac_status=$?
27447 grep -v '^ *+' conftest.er1 >conftest.err
27448 rm -f conftest.er1
27449 cat conftest.err >&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } && {
27452 test -z "$ac_cxx_werror_flag" ||
27453 test ! -s conftest.err
27454 } && test -s conftest$ac_exeext &&
27455 $as_test_x conftest$ac_exeext; then
27456 eval wx_cv_func_$wx_func=yes
27457 else
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.$ac_ext >&5
27460
27461 eval wx_cv_func_$wx_func=no
27462 fi
27463
27464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27465 conftest$ac_exeext conftest.$ac_ext
27466
27467 fi
27468 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27469 { echo "$as_me:$LINENO: result: $ac_res" >&5
27470 echo "${ECHO_T}$ac_res" >&6; }
27471
27472 if eval test \$wx_cv_func_$wx_func = yes
27473 then
27474 cat >>confdefs.h <<_ACEOF
27475 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27476 _ACEOF
27477
27478
27479 else
27480 :
27481
27482 fi
27483 done
27484
27485 fi
27486 ac_ext=c
27487 ac_cpp='$CPP $CPPFLAGS'
27488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27491
27492
27493
27494
27495 if test "$wxUSE_REGEX" != "no"; then
27496 cat >>confdefs.h <<\_ACEOF
27497 #define wxUSE_REGEX 1
27498 _ACEOF
27499
27500
27501 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27502 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27503 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27504 wxUSE_REGEX=builtin
27505 fi
27506
27507 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27508 { echo "$as_me:$LINENO: checking for regex.h" >&5
27509 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27510 if test "${ac_cv_header_regex_h+set}" = set; then
27511 echo $ECHO_N "(cached) $ECHO_C" >&6
27512 else
27513 cat >conftest.$ac_ext <<_ACEOF
27514 /* confdefs.h. */
27515 _ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27519
27520
27521 #include <regex.h>
27522 _ACEOF
27523 rm -f conftest.$ac_objext
27524 if { (ac_try="$ac_compile"
27525 case "(($ac_try" in
27526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27527 *) ac_try_echo=$ac_try;;
27528 esac
27529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27530 (eval "$ac_compile") 2>conftest.er1
27531 ac_status=$?
27532 grep -v '^ *+' conftest.er1 >conftest.err
27533 rm -f conftest.er1
27534 cat conftest.err >&5
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); } && {
27537 test -z "$ac_c_werror_flag" ||
27538 test ! -s conftest.err
27539 } && test -s conftest.$ac_objext; then
27540 ac_cv_header_regex_h=yes
27541 else
27542 echo "$as_me: failed program was:" >&5
27543 sed 's/^/| /' conftest.$ac_ext >&5
27544
27545 ac_cv_header_regex_h=no
27546 fi
27547
27548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27549 fi
27550 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27551 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27552 if test $ac_cv_header_regex_h = yes; then
27553
27554
27555 for ac_func in regcomp re_search
27556 do
27557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27561 echo $ECHO_N "(cached) $ECHO_C" >&6
27562 else
27563 cat >conftest.$ac_ext <<_ACEOF
27564 /* confdefs.h. */
27565 _ACEOF
27566 cat confdefs.h >>conftest.$ac_ext
27567 cat >>conftest.$ac_ext <<_ACEOF
27568 /* end confdefs.h. */
27569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27571 #define $ac_func innocuous_$ac_func
27572
27573 /* System header to define __stub macros and hopefully few prototypes,
27574 which can conflict with char $ac_func (); below.
27575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27576 <limits.h> exists even on freestanding compilers. */
27577
27578 #ifdef __STDC__
27579 # include <limits.h>
27580 #else
27581 # include <assert.h>
27582 #endif
27583
27584 #undef $ac_func
27585
27586 /* Override any GCC internal prototype to avoid an error.
27587 Use char because int might match the return type of a GCC
27588 builtin and then its argument prototype would still apply. */
27589 #ifdef __cplusplus
27590 extern "C"
27591 #endif
27592 char $ac_func ();
27593 /* The GNU C library defines this for functions which it implements
27594 to always fail with ENOSYS. Some functions are actually named
27595 something starting with __ and the normal name is an alias. */
27596 #if defined __stub_$ac_func || defined __stub___$ac_func
27597 choke me
27598 #endif
27599
27600 int
27601 main ()
27602 {
27603 return $ac_func ();
27604 ;
27605 return 0;
27606 }
27607 _ACEOF
27608 rm -f conftest.$ac_objext conftest$ac_exeext
27609 if { (ac_try="$ac_link"
27610 case "(($ac_try" in
27611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27612 *) ac_try_echo=$ac_try;;
27613 esac
27614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27615 (eval "$ac_link") 2>conftest.er1
27616 ac_status=$?
27617 grep -v '^ *+' conftest.er1 >conftest.err
27618 rm -f conftest.er1
27619 cat conftest.err >&5
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); } && {
27622 test -z "$ac_c_werror_flag" ||
27623 test ! -s conftest.err
27624 } && test -s conftest$ac_exeext &&
27625 $as_test_x conftest$ac_exeext; then
27626 eval "$as_ac_var=yes"
27627 else
27628 echo "$as_me: failed program was:" >&5
27629 sed 's/^/| /' conftest.$ac_ext >&5
27630
27631 eval "$as_ac_var=no"
27632 fi
27633
27634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27635 conftest$ac_exeext conftest.$ac_ext
27636 fi
27637 ac_res=`eval echo '${'$as_ac_var'}'`
27638 { echo "$as_me:$LINENO: result: $ac_res" >&5
27639 echo "${ECHO_T}$ac_res" >&6; }
27640 if test `eval echo '${'$as_ac_var'}'` = yes; then
27641 cat >>confdefs.h <<_ACEOF
27642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27643 _ACEOF
27644
27645 fi
27646 done
27647
27648 fi
27649
27650
27651
27652 if test "x$ac_cv_func_regcomp" != "xyes"; then
27653 if test "$wxUSE_REGEX" = "sys" ; then
27654 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27655 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27656 { (exit 1); exit 1; }; }
27657 else
27658 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27659 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27660 wxUSE_REGEX=builtin
27661 fi
27662 else
27663 wxUSE_REGEX=sys
27664 cat >>confdefs.h <<\_ACEOF
27665 #define WX_NO_REGEX_ADVANCED 1
27666 _ACEOF
27667
27668 fi
27669 fi
27670 fi
27671
27672
27673 ZLIB_LINK=
27674 if test "$wxUSE_ZLIB" != "no" ; then
27675 cat >>confdefs.h <<\_ACEOF
27676 #define wxUSE_ZLIB 1
27677 _ACEOF
27678
27679
27680 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27681 if test "$USE_DARWIN" = 1; then
27682 system_zlib_h_ok="yes"
27683 else
27684 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27685 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27686 if test "${ac_cv_header_zlib_h+set}" = set; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27688 else
27689 if test "$cross_compiling" = yes; then
27690 unset ac_cv_header_zlib_h
27691
27692 else
27693 cat >conftest.$ac_ext <<_ACEOF
27694 /* confdefs.h. */
27695 _ACEOF
27696 cat confdefs.h >>conftest.$ac_ext
27697 cat >>conftest.$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27699
27700 #include <zlib.h>
27701 #include <stdio.h>
27702
27703 int main()
27704 {
27705 FILE *f=fopen("conftestval", "w");
27706 if (!f) exit(1);
27707 fprintf(f, "%s",
27708 ZLIB_VERSION[0] == '1' &&
27709 (ZLIB_VERSION[2] > '1' ||
27710 (ZLIB_VERSION[2] == '1' &&
27711 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27712 exit(0);
27713 }
27714
27715 _ACEOF
27716 rm -f conftest$ac_exeext
27717 if { (ac_try="$ac_link"
27718 case "(($ac_try" in
27719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27720 *) ac_try_echo=$ac_try;;
27721 esac
27722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27723 (eval "$ac_link") 2>&5
27724 ac_status=$?
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27727 { (case "(($ac_try" in
27728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27729 *) ac_try_echo=$ac_try;;
27730 esac
27731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27732 (eval "$ac_try") 2>&5
27733 ac_status=$?
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; }; then
27736 ac_cv_header_zlib_h=`cat conftestval`
27737 else
27738 echo "$as_me: program exited with status $ac_status" >&5
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27741
27742 ( exit $ac_status )
27743 ac_cv_header_zlib_h=no
27744 fi
27745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27746 fi
27747
27748
27749
27750 fi
27751 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27752 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27753 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27754 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27755 if test "${ac_cv_header_zlib_h+set}" = set; then
27756 echo $ECHO_N "(cached) $ECHO_C" >&6
27757 else
27758 cat >conftest.$ac_ext <<_ACEOF
27759 /* confdefs.h. */
27760 _ACEOF
27761 cat confdefs.h >>conftest.$ac_ext
27762 cat >>conftest.$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27764
27765
27766 #include <zlib.h>
27767 _ACEOF
27768 rm -f conftest.$ac_objext
27769 if { (ac_try="$ac_compile"
27770 case "(($ac_try" in
27771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27772 *) ac_try_echo=$ac_try;;
27773 esac
27774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27775 (eval "$ac_compile") 2>conftest.er1
27776 ac_status=$?
27777 grep -v '^ *+' conftest.er1 >conftest.err
27778 rm -f conftest.er1
27779 cat conftest.err >&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); } && {
27782 test -z "$ac_c_werror_flag" ||
27783 test ! -s conftest.err
27784 } && test -s conftest.$ac_objext; then
27785 ac_cv_header_zlib_h=yes
27786 else
27787 echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.$ac_ext >&5
27789
27790 ac_cv_header_zlib_h=no
27791 fi
27792
27793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27794 fi
27795 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27796 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27797
27798
27799
27800 system_zlib_h_ok=$ac_cv_header_zlib_h
27801 fi
27802
27803 if test "$system_zlib_h_ok" = "yes"; then
27804 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27805 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27806 if test "${ac_cv_lib_z_deflate+set}" = set; then
27807 echo $ECHO_N "(cached) $ECHO_C" >&6
27808 else
27809 ac_check_lib_save_LIBS=$LIBS
27810 LIBS="-lz $LIBS"
27811 cat >conftest.$ac_ext <<_ACEOF
27812 /* confdefs.h. */
27813 _ACEOF
27814 cat confdefs.h >>conftest.$ac_ext
27815 cat >>conftest.$ac_ext <<_ACEOF
27816 /* end confdefs.h. */
27817
27818 /* Override any GCC internal prototype to avoid an error.
27819 Use char because int might match the return type of a GCC
27820 builtin and then its argument prototype would still apply. */
27821 #ifdef __cplusplus
27822 extern "C"
27823 #endif
27824 char deflate ();
27825 int
27826 main ()
27827 {
27828 return deflate ();
27829 ;
27830 return 0;
27831 }
27832 _ACEOF
27833 rm -f conftest.$ac_objext conftest$ac_exeext
27834 if { (ac_try="$ac_link"
27835 case "(($ac_try" in
27836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27837 *) ac_try_echo=$ac_try;;
27838 esac
27839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27840 (eval "$ac_link") 2>conftest.er1
27841 ac_status=$?
27842 grep -v '^ *+' conftest.er1 >conftest.err
27843 rm -f conftest.er1
27844 cat conftest.err >&5
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); } && {
27847 test -z "$ac_c_werror_flag" ||
27848 test ! -s conftest.err
27849 } && test -s conftest$ac_exeext &&
27850 $as_test_x conftest$ac_exeext; then
27851 ac_cv_lib_z_deflate=yes
27852 else
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27855
27856 ac_cv_lib_z_deflate=no
27857 fi
27858
27859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27860 conftest$ac_exeext conftest.$ac_ext
27861 LIBS=$ac_check_lib_save_LIBS
27862 fi
27863 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27864 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27865 if test $ac_cv_lib_z_deflate = yes; then
27866 ZLIB_LINK=" -lz"
27867 fi
27868
27869 fi
27870
27871 if test "x$ZLIB_LINK" = "x" ; then
27872 if test "$wxUSE_ZLIB" = "sys" ; then
27873 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27874 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27875 { (exit 1); exit 1; }; }
27876 else
27877 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27878 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27879 wxUSE_ZLIB=builtin
27880 fi
27881 else
27882 wxUSE_ZLIB=sys
27883 fi
27884 fi
27885 fi
27886
27887
27888 PNG_LINK=
27889 if test "$wxUSE_LIBPNG" != "no" ; then
27890 cat >>confdefs.h <<\_ACEOF
27891 #define wxUSE_LIBPNG 1
27892 _ACEOF
27893
27894
27895 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27896 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27897 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27898 wxUSE_LIBPNG=sys
27899 fi
27900
27901 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27902 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27903 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27904 wxUSE_LIBPNG=builtin
27905 fi
27906
27907 if test "$wxUSE_MGL" != 1 ; then
27908 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27909 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27910 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27911 if test "${ac_cv_header_png_h+set}" = set; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27913 else
27914 if test "$cross_compiling" = yes; then
27915 unset ac_cv_header_png_h
27916
27917 else
27918 cat >conftest.$ac_ext <<_ACEOF
27919 /* confdefs.h. */
27920 _ACEOF
27921 cat confdefs.h >>conftest.$ac_ext
27922 cat >>conftest.$ac_ext <<_ACEOF
27923 /* end confdefs.h. */
27924
27925 #include <png.h>
27926 #include <stdio.h>
27927
27928 int main()
27929 {
27930 FILE *f=fopen("conftestval", "w");
27931 if (!f) exit(1);
27932 fprintf(f, "%s",
27933 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27934 exit(0);
27935 }
27936
27937 _ACEOF
27938 rm -f conftest$ac_exeext
27939 if { (ac_try="$ac_link"
27940 case "(($ac_try" in
27941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27942 *) ac_try_echo=$ac_try;;
27943 esac
27944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27945 (eval "$ac_link") 2>&5
27946 ac_status=$?
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27949 { (case "(($ac_try" in
27950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27951 *) ac_try_echo=$ac_try;;
27952 esac
27953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27954 (eval "$ac_try") 2>&5
27955 ac_status=$?
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; }; then
27958 ac_cv_header_png_h=`cat conftestval`
27959 else
27960 echo "$as_me: program exited with status $ac_status" >&5
27961 echo "$as_me: failed program was:" >&5
27962 sed 's/^/| /' conftest.$ac_ext >&5
27963
27964 ( exit $ac_status )
27965 ac_cv_header_png_h=no
27966 fi
27967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27968 fi
27969
27970
27971
27972 fi
27973 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27974 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27975 { echo "$as_me:$LINENO: checking for png.h" >&5
27976 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27977 if test "${ac_cv_header_png_h+set}" = set; then
27978 echo $ECHO_N "(cached) $ECHO_C" >&6
27979 else
27980 cat >conftest.$ac_ext <<_ACEOF
27981 /* confdefs.h. */
27982 _ACEOF
27983 cat confdefs.h >>conftest.$ac_ext
27984 cat >>conftest.$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27986
27987
27988 #include <png.h>
27989 _ACEOF
27990 rm -f conftest.$ac_objext
27991 if { (ac_try="$ac_compile"
27992 case "(($ac_try" in
27993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27994 *) ac_try_echo=$ac_try;;
27995 esac
27996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27997 (eval "$ac_compile") 2>conftest.er1
27998 ac_status=$?
27999 grep -v '^ *+' conftest.er1 >conftest.err
28000 rm -f conftest.er1
28001 cat conftest.err >&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } && {
28004 test -z "$ac_c_werror_flag" ||
28005 test ! -s conftest.err
28006 } && test -s conftest.$ac_objext; then
28007 ac_cv_header_png_h=yes
28008 else
28009 echo "$as_me: failed program was:" >&5
28010 sed 's/^/| /' conftest.$ac_ext >&5
28011
28012 ac_cv_header_png_h=no
28013 fi
28014
28015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28016 fi
28017 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28018 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28019
28020
28021
28022 if test "$ac_cv_header_png_h" = "yes"; then
28023 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28024 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28025 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28026 echo $ECHO_N "(cached) $ECHO_C" >&6
28027 else
28028 ac_check_lib_save_LIBS=$LIBS
28029 LIBS="-lpng -lz -lm $LIBS"
28030 cat >conftest.$ac_ext <<_ACEOF
28031 /* confdefs.h. */
28032 _ACEOF
28033 cat confdefs.h >>conftest.$ac_ext
28034 cat >>conftest.$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036
28037 /* Override any GCC internal prototype to avoid an error.
28038 Use char because int might match the return type of a GCC
28039 builtin and then its argument prototype would still apply. */
28040 #ifdef __cplusplus
28041 extern "C"
28042 #endif
28043 char png_sig_cmp ();
28044 int
28045 main ()
28046 {
28047 return png_sig_cmp ();
28048 ;
28049 return 0;
28050 }
28051 _ACEOF
28052 rm -f conftest.$ac_objext conftest$ac_exeext
28053 if { (ac_try="$ac_link"
28054 case "(($ac_try" in
28055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28056 *) ac_try_echo=$ac_try;;
28057 esac
28058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28059 (eval "$ac_link") 2>conftest.er1
28060 ac_status=$?
28061 grep -v '^ *+' conftest.er1 >conftest.err
28062 rm -f conftest.er1
28063 cat conftest.err >&5
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); } && {
28066 test -z "$ac_c_werror_flag" ||
28067 test ! -s conftest.err
28068 } && test -s conftest$ac_exeext &&
28069 $as_test_x conftest$ac_exeext; then
28070 ac_cv_lib_png_png_sig_cmp=yes
28071 else
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.$ac_ext >&5
28074
28075 ac_cv_lib_png_png_sig_cmp=no
28076 fi
28077
28078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28079 conftest$ac_exeext conftest.$ac_ext
28080 LIBS=$ac_check_lib_save_LIBS
28081 fi
28082 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28083 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28084 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28085 PNG_LINK=" -lpng -lz"
28086 fi
28087
28088 fi
28089
28090 if test "x$PNG_LINK" = "x" ; then
28091 if test "$wxUSE_LIBPNG" = "sys" ; then
28092 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28093 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28094 { (exit 1); exit 1; }; }
28095 else
28096 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28097 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28098 wxUSE_LIBPNG=builtin
28099 fi
28100 else
28101 wxUSE_LIBPNG=sys
28102 fi
28103 fi
28104 fi
28105 fi
28106
28107
28108 JPEG_LINK=
28109 if test "$wxUSE_LIBJPEG" != "no" ; then
28110 cat >>confdefs.h <<\_ACEOF
28111 #define wxUSE_LIBJPEG 1
28112 _ACEOF
28113
28114
28115 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28116 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28117 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28118 wxUSE_LIBJPEG=sys
28119 fi
28120
28121 if test "$wxUSE_MGL" != 1 ; then
28122 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28123 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28124 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28125 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28126 echo $ECHO_N "(cached) $ECHO_C" >&6
28127 else
28128 cat >conftest.$ac_ext <<_ACEOF
28129 /* confdefs.h. */
28130 _ACEOF
28131 cat confdefs.h >>conftest.$ac_ext
28132 cat >>conftest.$ac_ext <<_ACEOF
28133 /* end confdefs.h. */
28134
28135 #undef HAVE_STDLIB_H
28136 #include <stdio.h>
28137 #include <jpeglib.h>
28138
28139 int
28140 main ()
28141 {
28142
28143
28144 ;
28145 return 0;
28146 }
28147 _ACEOF
28148 rm -f conftest.$ac_objext
28149 if { (ac_try="$ac_compile"
28150 case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28152 *) ac_try_echo=$ac_try;;
28153 esac
28154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_compile") 2>conftest.er1
28156 ac_status=$?
28157 grep -v '^ *+' conftest.er1 >conftest.err
28158 rm -f conftest.er1
28159 cat conftest.err >&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } && {
28162 test -z "$ac_c_werror_flag" ||
28163 test ! -s conftest.err
28164 } && test -s conftest.$ac_objext; then
28165 ac_cv_header_jpeglib_h=yes
28166 else
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28169
28170 ac_cv_header_jpeglib_h=no
28171
28172 fi
28173
28174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28175
28176 fi
28177
28178 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28179 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28180
28181 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28182 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28183 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28184 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28185 echo $ECHO_N "(cached) $ECHO_C" >&6
28186 else
28187 ac_check_lib_save_LIBS=$LIBS
28188 LIBS="-ljpeg $LIBS"
28189 cat >conftest.$ac_ext <<_ACEOF
28190 /* confdefs.h. */
28191 _ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195
28196 /* Override any GCC internal prototype to avoid an error.
28197 Use char because int might match the return type of a GCC
28198 builtin and then its argument prototype would still apply. */
28199 #ifdef __cplusplus
28200 extern "C"
28201 #endif
28202 char jpeg_read_header ();
28203 int
28204 main ()
28205 {
28206 return jpeg_read_header ();
28207 ;
28208 return 0;
28209 }
28210 _ACEOF
28211 rm -f conftest.$ac_objext conftest$ac_exeext
28212 if { (ac_try="$ac_link"
28213 case "(($ac_try" in
28214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28215 *) ac_try_echo=$ac_try;;
28216 esac
28217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28218 (eval "$ac_link") 2>conftest.er1
28219 ac_status=$?
28220 grep -v '^ *+' conftest.er1 >conftest.err
28221 rm -f conftest.er1
28222 cat conftest.err >&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); } && {
28225 test -z "$ac_c_werror_flag" ||
28226 test ! -s conftest.err
28227 } && test -s conftest$ac_exeext &&
28228 $as_test_x conftest$ac_exeext; then
28229 ac_cv_lib_jpeg_jpeg_read_header=yes
28230 else
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28233
28234 ac_cv_lib_jpeg_jpeg_read_header=no
28235 fi
28236
28237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28238 conftest$ac_exeext conftest.$ac_ext
28239 LIBS=$ac_check_lib_save_LIBS
28240 fi
28241 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28242 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28243 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28244 JPEG_LINK=" -ljpeg"
28245 fi
28246
28247 fi
28248
28249 if test "x$JPEG_LINK" = "x" ; then
28250 if test "$wxUSE_LIBJPEG" = "sys" ; then
28251 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28252 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28253 { (exit 1); exit 1; }; }
28254 else
28255 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28256 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28257 wxUSE_LIBJPEG=builtin
28258 fi
28259 else
28260 wxUSE_LIBJPEG=sys
28261
28262 if test "$wxUSE_MSW" = 1; then
28263 { echo "$as_me:$LINENO: checking for boolean" >&5
28264 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28265 if test "${ac_cv_type_boolean+set}" = set; then
28266 echo $ECHO_N "(cached) $ECHO_C" >&6
28267 else
28268 cat >conftest.$ac_ext <<_ACEOF
28269 /* confdefs.h. */
28270 _ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28274 #include <windows.h>
28275
28276 typedef boolean ac__type_new_;
28277 int
28278 main ()
28279 {
28280 if ((ac__type_new_ *) 0)
28281 return 0;
28282 if (sizeof (ac__type_new_))
28283 return 0;
28284 ;
28285 return 0;
28286 }
28287 _ACEOF
28288 rm -f conftest.$ac_objext
28289 if { (ac_try="$ac_compile"
28290 case "(($ac_try" in
28291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28292 *) ac_try_echo=$ac_try;;
28293 esac
28294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28295 (eval "$ac_compile") 2>conftest.er1
28296 ac_status=$?
28297 grep -v '^ *+' conftest.er1 >conftest.err
28298 rm -f conftest.er1
28299 cat conftest.err >&5
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); } && {
28302 test -z "$ac_c_werror_flag" ||
28303 test ! -s conftest.err
28304 } && test -s conftest.$ac_objext; then
28305 ac_cv_type_boolean=yes
28306 else
28307 echo "$as_me: failed program was:" >&5
28308 sed 's/^/| /' conftest.$ac_ext >&5
28309
28310 ac_cv_type_boolean=no
28311 fi
28312
28313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28314 fi
28315 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28316 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28317 if test $ac_cv_type_boolean = yes; then
28318
28319 cat >>confdefs.h <<_ACEOF
28320 #define HAVE_BOOLEAN 1
28321 _ACEOF
28322
28323
28324 { echo "$as_me:$LINENO: checking for boolean" >&5
28325 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28326 if test "${ac_cv_type_boolean+set}" = set; then
28327 echo $ECHO_N "(cached) $ECHO_C" >&6
28328 else
28329 cat >conftest.$ac_ext <<_ACEOF
28330 /* confdefs.h. */
28331 _ACEOF
28332 cat confdefs.h >>conftest.$ac_ext
28333 cat >>conftest.$ac_ext <<_ACEOF
28334 /* end confdefs.h. */
28335
28336 #undef HAVE_BOOLEAN
28337 #include <stdio.h>
28338 #include <jpeglib.h>
28339
28340
28341 typedef boolean ac__type_new_;
28342 int
28343 main ()
28344 {
28345 if ((ac__type_new_ *) 0)
28346 return 0;
28347 if (sizeof (ac__type_new_))
28348 return 0;
28349 ;
28350 return 0;
28351 }
28352 _ACEOF
28353 rm -f conftest.$ac_objext
28354 if { (ac_try="$ac_compile"
28355 case "(($ac_try" in
28356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28357 *) ac_try_echo=$ac_try;;
28358 esac
28359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28360 (eval "$ac_compile") 2>conftest.er1
28361 ac_status=$?
28362 grep -v '^ *+' conftest.er1 >conftest.err
28363 rm -f conftest.er1
28364 cat conftest.err >&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); } && {
28367 test -z "$ac_c_werror_flag" ||
28368 test ! -s conftest.err
28369 } && test -s conftest.$ac_objext; then
28370 ac_cv_type_boolean=yes
28371 else
28372 echo "$as_me: failed program was:" >&5
28373 sed 's/^/| /' conftest.$ac_ext >&5
28374
28375 ac_cv_type_boolean=no
28376 fi
28377
28378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28379 fi
28380 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28381 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28382
28383 # The cast to long int works around a bug in the HP C Compiler
28384 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28385 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28386 # This bug is HP SR number 8606223364.
28387 { echo "$as_me:$LINENO: checking size of boolean" >&5
28388 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28389 if test "${ac_cv_sizeof_boolean+set}" = set; then
28390 echo $ECHO_N "(cached) $ECHO_C" >&6
28391 else
28392 if test "$cross_compiling" = yes; then
28393 # Depending upon the size, compute the lo and hi bounds.
28394 cat >conftest.$ac_ext <<_ACEOF
28395 /* confdefs.h. */
28396 _ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28400
28401 #undef HAVE_BOOLEAN
28402 #include <stdio.h>
28403 #include <jpeglib.h>
28404
28405
28406 typedef boolean ac__type_sizeof_;
28407 int
28408 main ()
28409 {
28410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28411 test_array [0] = 0
28412
28413 ;
28414 return 0;
28415 }
28416 _ACEOF
28417 rm -f conftest.$ac_objext
28418 if { (ac_try="$ac_compile"
28419 case "(($ac_try" in
28420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28421 *) ac_try_echo=$ac_try;;
28422 esac
28423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28424 (eval "$ac_compile") 2>conftest.er1
28425 ac_status=$?
28426 grep -v '^ *+' conftest.er1 >conftest.err
28427 rm -f conftest.er1
28428 cat conftest.err >&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } && {
28431 test -z "$ac_c_werror_flag" ||
28432 test ! -s conftest.err
28433 } && test -s conftest.$ac_objext; then
28434 ac_lo=0 ac_mid=0
28435 while :; do
28436 cat >conftest.$ac_ext <<_ACEOF
28437 /* confdefs.h. */
28438 _ACEOF
28439 cat confdefs.h >>conftest.$ac_ext
28440 cat >>conftest.$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28442
28443 #undef HAVE_BOOLEAN
28444 #include <stdio.h>
28445 #include <jpeglib.h>
28446
28447
28448 typedef boolean ac__type_sizeof_;
28449 int
28450 main ()
28451 {
28452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28453 test_array [0] = 0
28454
28455 ;
28456 return 0;
28457 }
28458 _ACEOF
28459 rm -f conftest.$ac_objext
28460 if { (ac_try="$ac_compile"
28461 case "(($ac_try" in
28462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28463 *) ac_try_echo=$ac_try;;
28464 esac
28465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28466 (eval "$ac_compile") 2>conftest.er1
28467 ac_status=$?
28468 grep -v '^ *+' conftest.er1 >conftest.err
28469 rm -f conftest.er1
28470 cat conftest.err >&5
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); } && {
28473 test -z "$ac_c_werror_flag" ||
28474 test ! -s conftest.err
28475 } && test -s conftest.$ac_objext; then
28476 ac_hi=$ac_mid; break
28477 else
28478 echo "$as_me: failed program was:" >&5
28479 sed 's/^/| /' conftest.$ac_ext >&5
28480
28481 ac_lo=`expr $ac_mid + 1`
28482 if test $ac_lo -le $ac_mid; then
28483 ac_lo= ac_hi=
28484 break
28485 fi
28486 ac_mid=`expr 2 '*' $ac_mid + 1`
28487 fi
28488
28489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28490 done
28491 else
28492 echo "$as_me: failed program was:" >&5
28493 sed 's/^/| /' conftest.$ac_ext >&5
28494
28495 cat >conftest.$ac_ext <<_ACEOF
28496 /* confdefs.h. */
28497 _ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h. */
28501
28502 #undef HAVE_BOOLEAN
28503 #include <stdio.h>
28504 #include <jpeglib.h>
28505
28506
28507 typedef boolean ac__type_sizeof_;
28508 int
28509 main ()
28510 {
28511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28512 test_array [0] = 0
28513
28514 ;
28515 return 0;
28516 }
28517 _ACEOF
28518 rm -f conftest.$ac_objext
28519 if { (ac_try="$ac_compile"
28520 case "(($ac_try" in
28521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28522 *) ac_try_echo=$ac_try;;
28523 esac
28524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28525 (eval "$ac_compile") 2>conftest.er1
28526 ac_status=$?
28527 grep -v '^ *+' conftest.er1 >conftest.err
28528 rm -f conftest.er1
28529 cat conftest.err >&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } && {
28532 test -z "$ac_c_werror_flag" ||
28533 test ! -s conftest.err
28534 } && test -s conftest.$ac_objext; then
28535 ac_hi=-1 ac_mid=-1
28536 while :; do
28537 cat >conftest.$ac_ext <<_ACEOF
28538 /* confdefs.h. */
28539 _ACEOF
28540 cat confdefs.h >>conftest.$ac_ext
28541 cat >>conftest.$ac_ext <<_ACEOF
28542 /* end confdefs.h. */
28543
28544 #undef HAVE_BOOLEAN
28545 #include <stdio.h>
28546 #include <jpeglib.h>
28547
28548
28549 typedef boolean ac__type_sizeof_;
28550 int
28551 main ()
28552 {
28553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28554 test_array [0] = 0
28555
28556 ;
28557 return 0;
28558 }
28559 _ACEOF
28560 rm -f conftest.$ac_objext
28561 if { (ac_try="$ac_compile"
28562 case "(($ac_try" in
28563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28564 *) ac_try_echo=$ac_try;;
28565 esac
28566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28567 (eval "$ac_compile") 2>conftest.er1
28568 ac_status=$?
28569 grep -v '^ *+' conftest.er1 >conftest.err
28570 rm -f conftest.er1
28571 cat conftest.err >&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); } && {
28574 test -z "$ac_c_werror_flag" ||
28575 test ! -s conftest.err
28576 } && test -s conftest.$ac_objext; then
28577 ac_lo=$ac_mid; break
28578 else
28579 echo "$as_me: failed program was:" >&5
28580 sed 's/^/| /' conftest.$ac_ext >&5
28581
28582 ac_hi=`expr '(' $ac_mid ')' - 1`
28583 if test $ac_mid -le $ac_hi; then
28584 ac_lo= ac_hi=
28585 break
28586 fi
28587 ac_mid=`expr 2 '*' $ac_mid`
28588 fi
28589
28590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28591 done
28592 else
28593 echo "$as_me: failed program was:" >&5
28594 sed 's/^/| /' conftest.$ac_ext >&5
28595
28596 ac_lo= ac_hi=
28597 fi
28598
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28600 fi
28601
28602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28603 # Binary search between lo and hi bounds.
28604 while test "x$ac_lo" != "x$ac_hi"; do
28605 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28606 cat >conftest.$ac_ext <<_ACEOF
28607 /* confdefs.h. */
28608 _ACEOF
28609 cat confdefs.h >>conftest.$ac_ext
28610 cat >>conftest.$ac_ext <<_ACEOF
28611 /* end confdefs.h. */
28612
28613 #undef HAVE_BOOLEAN
28614 #include <stdio.h>
28615 #include <jpeglib.h>
28616
28617
28618 typedef boolean ac__type_sizeof_;
28619 int
28620 main ()
28621 {
28622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28623 test_array [0] = 0
28624
28625 ;
28626 return 0;
28627 }
28628 _ACEOF
28629 rm -f conftest.$ac_objext
28630 if { (ac_try="$ac_compile"
28631 case "(($ac_try" in
28632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28633 *) ac_try_echo=$ac_try;;
28634 esac
28635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28636 (eval "$ac_compile") 2>conftest.er1
28637 ac_status=$?
28638 grep -v '^ *+' conftest.er1 >conftest.err
28639 rm -f conftest.er1
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } && {
28643 test -z "$ac_c_werror_flag" ||
28644 test ! -s conftest.err
28645 } && test -s conftest.$ac_objext; then
28646 ac_hi=$ac_mid
28647 else
28648 echo "$as_me: failed program was:" >&5
28649 sed 's/^/| /' conftest.$ac_ext >&5
28650
28651 ac_lo=`expr '(' $ac_mid ')' + 1`
28652 fi
28653
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28655 done
28656 case $ac_lo in
28657 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28658 '') if test "$ac_cv_type_boolean" = yes; then
28659 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28660 See \`config.log' for more details." >&5
28661 echo "$as_me: error: cannot compute sizeof (boolean)
28662 See \`config.log' for more details." >&2;}
28663 { (exit 77); exit 77; }; }
28664 else
28665 ac_cv_sizeof_boolean=0
28666 fi ;;
28667 esac
28668 else
28669 cat >conftest.$ac_ext <<_ACEOF
28670 /* confdefs.h. */
28671 _ACEOF
28672 cat confdefs.h >>conftest.$ac_ext
28673 cat >>conftest.$ac_ext <<_ACEOF
28674 /* end confdefs.h. */
28675
28676 #undef HAVE_BOOLEAN
28677 #include <stdio.h>
28678 #include <jpeglib.h>
28679
28680
28681 typedef boolean ac__type_sizeof_;
28682 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28683 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28684 #include <stdio.h>
28685 #include <stdlib.h>
28686 int
28687 main ()
28688 {
28689
28690 FILE *f = fopen ("conftest.val", "w");
28691 if (! f)
28692 return 1;
28693 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28694 {
28695 long int i = longval ();
28696 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28697 return 1;
28698 fprintf (f, "%ld\n", i);
28699 }
28700 else
28701 {
28702 unsigned long int i = ulongval ();
28703 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28704 return 1;
28705 fprintf (f, "%lu\n", i);
28706 }
28707 return ferror (f) || fclose (f) != 0;
28708
28709 ;
28710 return 0;
28711 }
28712 _ACEOF
28713 rm -f conftest$ac_exeext
28714 if { (ac_try="$ac_link"
28715 case "(($ac_try" in
28716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28717 *) ac_try_echo=$ac_try;;
28718 esac
28719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28720 (eval "$ac_link") 2>&5
28721 ac_status=$?
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28724 { (case "(($ac_try" in
28725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28726 *) ac_try_echo=$ac_try;;
28727 esac
28728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28729 (eval "$ac_try") 2>&5
28730 ac_status=$?
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; }; then
28733 ac_cv_sizeof_boolean=`cat conftest.val`
28734 else
28735 echo "$as_me: program exited with status $ac_status" >&5
28736 echo "$as_me: failed program was:" >&5
28737 sed 's/^/| /' conftest.$ac_ext >&5
28738
28739 ( exit $ac_status )
28740 if test "$ac_cv_type_boolean" = yes; then
28741 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28742 See \`config.log' for more details." >&5
28743 echo "$as_me: error: cannot compute sizeof (boolean)
28744 See \`config.log' for more details." >&2;}
28745 { (exit 77); exit 77; }; }
28746 else
28747 ac_cv_sizeof_boolean=0
28748 fi
28749 fi
28750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28751 fi
28752 rm -f conftest.val
28753 fi
28754 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28755 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28756
28757
28758
28759 cat >>confdefs.h <<_ACEOF
28760 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28761 _ACEOF
28762
28763
28764 cat >>confdefs.h <<_ACEOF
28765 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28766 _ACEOF
28767
28768
28769 fi
28770
28771 fi
28772 fi
28773 fi
28774 fi
28775 fi
28776
28777
28778 TIFF_LINK=
28779 TIFF_PREREQ_LINKS=-lm
28780 if test "$wxUSE_LIBTIFF" != "no" ; then
28781 cat >>confdefs.h <<\_ACEOF
28782 #define wxUSE_LIBTIFF 1
28783 _ACEOF
28784
28785
28786 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28787 if test "$wxUSE_LIBJPEG" = "sys"; then
28788 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28789 fi
28790 if test "$wxUSE_ZLIB" = "sys"; then
28791 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28792 fi
28793 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28794 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28795 if test "${ac_cv_header_tiffio_h+set}" = set; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28797 else
28798 cat >conftest.$ac_ext <<_ACEOF
28799 /* confdefs.h. */
28800 _ACEOF
28801 cat confdefs.h >>conftest.$ac_ext
28802 cat >>conftest.$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28804
28805
28806
28807 #include <tiffio.h>
28808 _ACEOF
28809 rm -f conftest.$ac_objext
28810 if { (ac_try="$ac_compile"
28811 case "(($ac_try" in
28812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28813 *) ac_try_echo=$ac_try;;
28814 esac
28815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28816 (eval "$ac_compile") 2>conftest.er1
28817 ac_status=$?
28818 grep -v '^ *+' conftest.er1 >conftest.err
28819 rm -f conftest.er1
28820 cat conftest.err >&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } && {
28823 test -z "$ac_c_werror_flag" ||
28824 test ! -s conftest.err
28825 } && test -s conftest.$ac_objext; then
28826 ac_cv_header_tiffio_h=yes
28827 else
28828 echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28830
28831 ac_cv_header_tiffio_h=no
28832 fi
28833
28834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28835 fi
28836 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28837 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28838 if test $ac_cv_header_tiffio_h = yes; then
28839
28840 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28841 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28842 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28843 echo $ECHO_N "(cached) $ECHO_C" >&6
28844 else
28845 ac_check_lib_save_LIBS=$LIBS
28846 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28847 cat >conftest.$ac_ext <<_ACEOF
28848 /* confdefs.h. */
28849 _ACEOF
28850 cat confdefs.h >>conftest.$ac_ext
28851 cat >>conftest.$ac_ext <<_ACEOF
28852 /* end confdefs.h. */
28853
28854 /* Override any GCC internal prototype to avoid an error.
28855 Use char because int might match the return type of a GCC
28856 builtin and then its argument prototype would still apply. */
28857 #ifdef __cplusplus
28858 extern "C"
28859 #endif
28860 char TIFFError ();
28861 int
28862 main ()
28863 {
28864 return TIFFError ();
28865 ;
28866 return 0;
28867 }
28868 _ACEOF
28869 rm -f conftest.$ac_objext conftest$ac_exeext
28870 if { (ac_try="$ac_link"
28871 case "(($ac_try" in
28872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28874 esac
28875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_link") 2>conftest.er1
28877 ac_status=$?
28878 grep -v '^ *+' conftest.er1 >conftest.err
28879 rm -f conftest.er1
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); } && {
28883 test -z "$ac_c_werror_flag" ||
28884 test ! -s conftest.err
28885 } && test -s conftest$ac_exeext &&
28886 $as_test_x conftest$ac_exeext; then
28887 ac_cv_lib_tiff_TIFFError=yes
28888 else
28889 echo "$as_me: failed program was:" >&5
28890 sed 's/^/| /' conftest.$ac_ext >&5
28891
28892 ac_cv_lib_tiff_TIFFError=no
28893 fi
28894
28895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28896 conftest$ac_exeext conftest.$ac_ext
28897 LIBS=$ac_check_lib_save_LIBS
28898 fi
28899 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28900 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28901 if test $ac_cv_lib_tiff_TIFFError = yes; then
28902 TIFF_LINK=" -ltiff"
28903 fi
28904
28905
28906 fi
28907
28908
28909
28910 if test "x$TIFF_LINK" = "x" ; then
28911 if test "$wxUSE_LIBTIFF" = "sys" ; then
28912 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28913 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28914 { (exit 1); exit 1; }; }
28915 else
28916 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28917 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28918 wxUSE_LIBTIFF=builtin
28919 fi
28920 else
28921 wxUSE_LIBTIFF=sys
28922 fi
28923 fi
28924 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28925 if test "$wxUSE_LIBJPEG" = "no"; then
28926 ac_configure_args="$ac_configure_args --disable-jpeg"
28927 fi
28928 subdirs="$subdirs src/tiff"
28929
28930 fi
28931 fi
28932
28933
28934 if test "$wxUSE_EXPAT" != "no"; then
28935 wxUSE_XML=yes
28936 cat >>confdefs.h <<\_ACEOF
28937 #define wxUSE_EXPAT 1
28938 _ACEOF
28939
28940 cat >>confdefs.h <<\_ACEOF
28941 #define wxUSE_XML 1
28942 _ACEOF
28943
28944
28945 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28946 { echo "$as_me:$LINENO: checking for expat.h" >&5
28947 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28948 if test "${ac_cv_header_expat_h+set}" = set; then
28949 echo $ECHO_N "(cached) $ECHO_C" >&6
28950 else
28951 cat >conftest.$ac_ext <<_ACEOF
28952 /* confdefs.h. */
28953 _ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28957
28958
28959 #include <expat.h>
28960 _ACEOF
28961 rm -f conftest.$ac_objext
28962 if { (ac_try="$ac_compile"
28963 case "(($ac_try" in
28964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28965 *) ac_try_echo=$ac_try;;
28966 esac
28967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28968 (eval "$ac_compile") 2>conftest.er1
28969 ac_status=$?
28970 grep -v '^ *+' conftest.er1 >conftest.err
28971 rm -f conftest.er1
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } && {
28975 test -z "$ac_c_werror_flag" ||
28976 test ! -s conftest.err
28977 } && test -s conftest.$ac_objext; then
28978 ac_cv_header_expat_h=yes
28979 else
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28982
28983 ac_cv_header_expat_h=no
28984 fi
28985
28986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28987 fi
28988 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28989 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28990 if test $ac_cv_header_expat_h = yes; then
28991 found_expat_h=1
28992 fi
28993
28994
28995 if test "x$found_expat_h" = "x1"; then
28996 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28997 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28998 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29000 else
29001
29002 ac_ext=cpp
29003 ac_cpp='$CXXCPP $CPPFLAGS'
29004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29007
29008 cat >conftest.$ac_ext <<_ACEOF
29009 /* confdefs.h. */
29010 _ACEOF
29011 cat confdefs.h >>conftest.$ac_ext
29012 cat >>conftest.$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29014 #include <expat.h>
29015 int
29016 main ()
29017 {
29018
29019 ;
29020 return 0;
29021 }
29022 _ACEOF
29023 rm -f conftest.$ac_objext
29024 if { (ac_try="$ac_compile"
29025 case "(($ac_try" in
29026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29027 *) ac_try_echo=$ac_try;;
29028 esac
29029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29030 (eval "$ac_compile") 2>conftest.er1
29031 ac_status=$?
29032 grep -v '^ *+' conftest.er1 >conftest.err
29033 rm -f conftest.er1
29034 cat conftest.err >&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); } && {
29037 test -z "$ac_cxx_werror_flag" ||
29038 test ! -s conftest.err
29039 } && test -s conftest.$ac_objext; then
29040 wx_cv_expat_is_not_broken=yes
29041 else
29042 echo "$as_me: failed program was:" >&5
29043 sed 's/^/| /' conftest.$ac_ext >&5
29044
29045 wx_cv_expat_is_not_broken=no
29046
29047 fi
29048
29049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29050 ac_ext=c
29051 ac_cpp='$CPP $CPPFLAGS'
29052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29055
29056
29057
29058 fi
29059 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29060 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29061 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29062 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29063 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29064 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29065 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 else
29067 ac_check_lib_save_LIBS=$LIBS
29068 LIBS="-lexpat $LIBS"
29069 cat >conftest.$ac_ext <<_ACEOF
29070 /* confdefs.h. */
29071 _ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075
29076 /* Override any GCC internal prototype to avoid an error.
29077 Use char because int might match the return type of a GCC
29078 builtin and then its argument prototype would still apply. */
29079 #ifdef __cplusplus
29080 extern "C"
29081 #endif
29082 char XML_ParserCreate ();
29083 int
29084 main ()
29085 {
29086 return XML_ParserCreate ();
29087 ;
29088 return 0;
29089 }
29090 _ACEOF
29091 rm -f conftest.$ac_objext conftest$ac_exeext
29092 if { (ac_try="$ac_link"
29093 case "(($ac_try" in
29094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29095 *) ac_try_echo=$ac_try;;
29096 esac
29097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29098 (eval "$ac_link") 2>conftest.er1
29099 ac_status=$?
29100 grep -v '^ *+' conftest.er1 >conftest.err
29101 rm -f conftest.er1
29102 cat conftest.err >&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); } && {
29105 test -z "$ac_c_werror_flag" ||
29106 test ! -s conftest.err
29107 } && test -s conftest$ac_exeext &&
29108 $as_test_x conftest$ac_exeext; then
29109 ac_cv_lib_expat_XML_ParserCreate=yes
29110 else
29111 echo "$as_me: failed program was:" >&5
29112 sed 's/^/| /' conftest.$ac_ext >&5
29113
29114 ac_cv_lib_expat_XML_ParserCreate=no
29115 fi
29116
29117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29118 conftest$ac_exeext conftest.$ac_ext
29119 LIBS=$ac_check_lib_save_LIBS
29120 fi
29121 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29122 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29123 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29124 EXPAT_LINK=" -lexpat"
29125 fi
29126
29127 fi
29128 fi
29129 if test "x$EXPAT_LINK" = "x" ; then
29130 if test "$wxUSE_EXPAT" = "sys" ; then
29131 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29132 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29133 { (exit 1); exit 1; }; }
29134 else
29135 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29136 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29137 wxUSE_EXPAT=builtin
29138 fi
29139 else
29140 wxUSE_EXPAT=sys
29141 fi
29142 fi
29143 if test "$wxUSE_EXPAT" = "builtin" ; then
29144 subdirs="$subdirs src/expat"
29145
29146 fi
29147 fi
29148
29149
29150
29151 if test "$wxUSE_LIBMSPACK" != "no"; then
29152 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29153 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29154 if test "${ac_cv_header_mspack_h+set}" = set; then
29155 echo $ECHO_N "(cached) $ECHO_C" >&6
29156 else
29157 cat >conftest.$ac_ext <<_ACEOF
29158 /* confdefs.h. */
29159 _ACEOF
29160 cat confdefs.h >>conftest.$ac_ext
29161 cat >>conftest.$ac_ext <<_ACEOF
29162 /* end confdefs.h. */
29163
29164
29165 #include <mspack.h>
29166 _ACEOF
29167 rm -f conftest.$ac_objext
29168 if { (ac_try="$ac_compile"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29171 *) ac_try_echo=$ac_try;;
29172 esac
29173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_compile") 2>conftest.er1
29175 ac_status=$?
29176 grep -v '^ *+' conftest.er1 >conftest.err
29177 rm -f conftest.er1
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } && {
29181 test -z "$ac_c_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest.$ac_objext; then
29184 ac_cv_header_mspack_h=yes
29185 else
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29188
29189 ac_cv_header_mspack_h=no
29190 fi
29191
29192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29193 fi
29194 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29195 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29196 if test $ac_cv_header_mspack_h = yes; then
29197 found_mspack_h=1
29198 fi
29199
29200
29201 if test "x$found_mspack_h" = "x1"; then
29202 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29203 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29204 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29206 else
29207 ac_check_lib_save_LIBS=$LIBS
29208 LIBS="-lmspack $LIBS"
29209 cat >conftest.$ac_ext <<_ACEOF
29210 /* confdefs.h. */
29211 _ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29215
29216 /* Override any GCC internal prototype to avoid an error.
29217 Use char because int might match the return type of a GCC
29218 builtin and then its argument prototype would still apply. */
29219 #ifdef __cplusplus
29220 extern "C"
29221 #endif
29222 char mspack_create_chm_decompressor ();
29223 int
29224 main ()
29225 {
29226 return mspack_create_chm_decompressor ();
29227 ;
29228 return 0;
29229 }
29230 _ACEOF
29231 rm -f conftest.$ac_objext conftest$ac_exeext
29232 if { (ac_try="$ac_link"
29233 case "(($ac_try" in
29234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29235 *) ac_try_echo=$ac_try;;
29236 esac
29237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29238 (eval "$ac_link") 2>conftest.er1
29239 ac_status=$?
29240 grep -v '^ *+' conftest.er1 >conftest.err
29241 rm -f conftest.er1
29242 cat conftest.err >&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); } && {
29245 test -z "$ac_c_werror_flag" ||
29246 test ! -s conftest.err
29247 } && test -s conftest$ac_exeext &&
29248 $as_test_x conftest$ac_exeext; then
29249 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29250 else
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29253
29254 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29255 fi
29256
29257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29258 conftest$ac_exeext conftest.$ac_ext
29259 LIBS=$ac_check_lib_save_LIBS
29260 fi
29261 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29262 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29263 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29264 MSPACK_LINK=" -lmspack"
29265 fi
29266
29267 fi
29268 if test "x$MSPACK_LINK" = "x" ; then
29269 wxUSE_LIBMSPACK=no
29270 fi
29271 fi
29272
29273 if test "$wxUSE_LIBMSPACK" != "no"; then
29274 cat >>confdefs.h <<\_ACEOF
29275 #define wxUSE_LIBMSPACK 1
29276 _ACEOF
29277
29278 fi
29279
29280
29281
29282 AFMINSTALL=
29283 WIN32INSTALL=
29284
29285 TOOLKIT=
29286 TOOLKIT_INCLUDE=
29287 WIDGET_SET=
29288
29289 if test "$USE_WIN32" = 1 ; then
29290
29291 for ac_header in w32api.h
29292 do
29293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29294 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29297 echo $ECHO_N "(cached) $ECHO_C" >&6
29298 else
29299 cat >conftest.$ac_ext <<_ACEOF
29300 /* confdefs.h. */
29301 _ACEOF
29302 cat confdefs.h >>conftest.$ac_ext
29303 cat >>conftest.$ac_ext <<_ACEOF
29304 /* end confdefs.h. */
29305
29306
29307 #include <$ac_header>
29308 _ACEOF
29309 rm -f conftest.$ac_objext
29310 if { (ac_try="$ac_compile"
29311 case "(($ac_try" in
29312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29313 *) ac_try_echo=$ac_try;;
29314 esac
29315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29316 (eval "$ac_compile") 2>conftest.er1
29317 ac_status=$?
29318 grep -v '^ *+' conftest.er1 >conftest.err
29319 rm -f conftest.er1
29320 cat conftest.err >&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); } && {
29323 test -z "$ac_c_werror_flag" ||
29324 test ! -s conftest.err
29325 } && test -s conftest.$ac_objext; then
29326 eval "$as_ac_Header=yes"
29327 else
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29330
29331 eval "$as_ac_Header=no"
29332 fi
29333
29334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29335 fi
29336 ac_res=`eval echo '${'$as_ac_Header'}'`
29337 { echo "$as_me:$LINENO: result: $ac_res" >&5
29338 echo "${ECHO_T}$ac_res" >&6; }
29339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29340 cat >>confdefs.h <<_ACEOF
29341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29342 _ACEOF
29343
29344 fi
29345
29346 done
29347
29348 { echo "$as_me:$LINENO: checking for windows.h" >&5
29349 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29350 if test "${ac_cv_header_windows_h+set}" = set; then
29351 echo $ECHO_N "(cached) $ECHO_C" >&6
29352 else
29353 cat >conftest.$ac_ext <<_ACEOF
29354 /* confdefs.h. */
29355 _ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29359
29360
29361 #include <windows.h>
29362 _ACEOF
29363 rm -f conftest.$ac_objext
29364 if { (ac_try="$ac_compile"
29365 case "(($ac_try" in
29366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29367 *) ac_try_echo=$ac_try;;
29368 esac
29369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29370 (eval "$ac_compile") 2>conftest.er1
29371 ac_status=$?
29372 grep -v '^ *+' conftest.er1 >conftest.err
29373 rm -f conftest.er1
29374 cat conftest.err >&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); } && {
29377 test -z "$ac_c_werror_flag" ||
29378 test ! -s conftest.err
29379 } && test -s conftest.$ac_objext; then
29380 ac_cv_header_windows_h=yes
29381 else
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.$ac_ext >&5
29384
29385 ac_cv_header_windows_h=no
29386 fi
29387
29388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29389 fi
29390 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29391 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29392 if test $ac_cv_header_windows_h = yes; then
29393 :
29394 else
29395
29396 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29397 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29398 { (exit 1); exit 1; }; }
29399
29400 fi
29401
29402
29403
29404 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29405 case "${host}" in
29406 x86_64-*-mingw32* )
29407 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29408 ;;
29409 esac
29410 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29411 LIBS="$LIBS -loleacc"
29412 fi
29413
29414 case "${host}" in
29415 *-*-cygwin* )
29416 LIBS="$LIBS -lkernel32 -luser32"
29417 esac
29418
29419 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29420 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29421
29422 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29423
29424 WIN32INSTALL=win32install
29425
29426 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29427 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29428 if test "${ac_cv_header_pbt_h+set}" = set; then
29429 echo $ECHO_N "(cached) $ECHO_C" >&6
29430 else
29431 cat >conftest.$ac_ext <<_ACEOF
29432 /* confdefs.h. */
29433 _ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437
29438
29439 #include <pbt.h>
29440 _ACEOF
29441 rm -f conftest.$ac_objext
29442 if { (ac_try="$ac_compile"
29443 case "(($ac_try" in
29444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29445 *) ac_try_echo=$ac_try;;
29446 esac
29447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29448 (eval "$ac_compile") 2>conftest.er1
29449 ac_status=$?
29450 grep -v '^ *+' conftest.er1 >conftest.err
29451 rm -f conftest.er1
29452 cat conftest.err >&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } && {
29455 test -z "$ac_c_werror_flag" ||
29456 test ! -s conftest.err
29457 } && test -s conftest.$ac_objext; then
29458 ac_cv_header_pbt_h=yes
29459 else
29460 echo "$as_me: failed program was:" >&5
29461 sed 's/^/| /' conftest.$ac_ext >&5
29462
29463 ac_cv_header_pbt_h=no
29464 fi
29465
29466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29467 fi
29468 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29469 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29470 if test $ac_cv_header_pbt_h = yes; then
29471 :
29472 else
29473 cat >>confdefs.h <<\_ACEOF
29474 #define NEED_PBT_H 1
29475 _ACEOF
29476
29477 fi
29478
29479
29480 fi
29481
29482 if test "$wxUSE_GUI" = "yes"; then
29483 USE_GUI=1
29484
29485 GUI_TK_LIBRARY=
29486
29487 WXGTK12=
29488 WXGTK127=
29489 WXGTK2=
29490 WXGPE=
29491
29492 if test "$wxUSE_OLD_COCOA" = 1 ; then
29493 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29494 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29495 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29496 wxUSE_PRINTING_ARCHITECTURE=no
29497 fi
29498 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29499 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29500 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29501 wxUSE_DRAG_AND_DROP=no
29502 fi
29503 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29504 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29505 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29506 wxUSE_DRAGIMAGE=no
29507 fi
29508 fi
29509
29510 if test "$wxUSE_MSW" = 1 ; then
29511 TOOLKIT=MSW
29512 GUIDIST=MSW_DIST
29513
29514 case "${host}" in
29515 *-*-mingw32* )
29516 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29517 esac
29518 fi
29519
29520 if test "$wxUSE_GTK" = 1; then
29521 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29522 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29523
29524 gtk_version_cached=1
29525 if test "${wx_cv_lib_gtk+set}" = set; then
29526 echo $ECHO_N "(cached) $ECHO_C" >&6
29527 else
29528
29529 gtk_version_cached=0
29530 { echo "$as_me:$LINENO: result: " >&5
29531 echo "${ECHO_T}" >&6; }
29532
29533 GTK_MODULES=
29534 if test "$wxUSE_THREADS" = "yes"; then
29535 GTK_MODULES=gthread
29536 fi
29537
29538 wx_cv_lib_gtk=
29539 if test "x$wxGTK_VERSION" != "x1"
29540 then
29541 case "${host}" in
29542 *-*-solaris2* )
29543 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29544 enable_gtktest=no
29545 fi
29546 esac
29547
29548 # Check whether --enable-gtktest was given.
29549 if test "${enable_gtktest+set}" = set; then
29550 enableval=$enable_gtktest;
29551 else
29552 enable_gtktest=yes
29553 fi
29554
29555
29556 pkg_config_args=gtk+-2.0
29557 for module in . $GTK_MODULES
29558 do
29559 case "$module" in
29560 gthread)
29561 pkg_config_args="$pkg_config_args gthread-2.0"
29562 ;;
29563 esac
29564 done
29565
29566 no_gtk=""
29567
29568 # Extract the first word of "pkg-config", so it can be a program name with args.
29569 set dummy pkg-config; ac_word=$2
29570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29573 echo $ECHO_N "(cached) $ECHO_C" >&6
29574 else
29575 case $PKG_CONFIG in
29576 [\\/]* | ?:[\\/]*)
29577 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29578 ;;
29579 *)
29580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29581 for as_dir in $PATH
29582 do
29583 IFS=$as_save_IFS
29584 test -z "$as_dir" && as_dir=.
29585 for ac_exec_ext in '' $ac_executable_extensions; do
29586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29587 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29589 break 2
29590 fi
29591 done
29592 done
29593 IFS=$as_save_IFS
29594
29595 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29596 ;;
29597 esac
29598 fi
29599 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29600 if test -n "$PKG_CONFIG"; then
29601 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29602 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29603 else
29604 { echo "$as_me:$LINENO: result: no" >&5
29605 echo "${ECHO_T}no" >&6; }
29606 fi
29607
29608
29609
29610 if test x$PKG_CONFIG != xno ; then
29611 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29612 :
29613 else
29614 echo "*** pkg-config too old; version 0.7 or better required."
29615 no_gtk=yes
29616 PKG_CONFIG=no
29617 fi
29618 else
29619 no_gtk=yes
29620 fi
29621
29622 min_gtk_version=2.4.0
29623 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29624 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29625
29626 if test x$PKG_CONFIG != xno ; then
29627 ## don't try to run the test against uninstalled libtool libs
29628 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29629 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29630 enable_gtktest=no
29631 fi
29632
29633 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29634 :
29635 else
29636 no_gtk=yes
29637 fi
29638 fi
29639
29640 if test x"$no_gtk" = x ; then
29641 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29642 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29643 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29645 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29646 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29647 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29649 if test "x$enable_gtktest" = "xyes" ; then
29650 ac_save_CFLAGS="$CFLAGS"
29651 ac_save_LIBS="$LIBS"
29652 CFLAGS="$CFLAGS $GTK_CFLAGS"
29653 LIBS="$GTK_LIBS $LIBS"
29654 rm -f conf.gtktest
29655 if test "$cross_compiling" = yes; then
29656 echo $ac_n "cross compiling; assumed OK... $ac_c"
29657 else
29658 cat >conftest.$ac_ext <<_ACEOF
29659 /* confdefs.h. */
29660 _ACEOF
29661 cat confdefs.h >>conftest.$ac_ext
29662 cat >>conftest.$ac_ext <<_ACEOF
29663 /* end confdefs.h. */
29664
29665 #include <gtk/gtk.h>
29666 #include <stdio.h>
29667 #include <stdlib.h>
29668
29669 int
29670 main ()
29671 {
29672 int major, minor, micro;
29673 char *tmp_version;
29674
29675 system ("touch conf.gtktest");
29676
29677 /* HP/UX 9 (%@#!) writes to sscanf strings */
29678 tmp_version = g_strdup("$min_gtk_version");
29679 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29680 printf("%s, bad version string\n", "$min_gtk_version");
29681 exit(1);
29682 }
29683
29684 if ((gtk_major_version != $gtk_config_major_version) ||
29685 (gtk_minor_version != $gtk_config_minor_version) ||
29686 (gtk_micro_version != $gtk_config_micro_version))
29687 {
29688 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29689 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29690 gtk_major_version, gtk_minor_version, gtk_micro_version);
29691 printf ("*** was found! If pkg-config was correct, then it is best\n");
29692 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29693 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29694 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29695 printf("*** required on your system.\n");
29696 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29697 printf("*** to point to the correct configuration files\n");
29698 }
29699 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29700 (gtk_minor_version != GTK_MINOR_VERSION) ||
29701 (gtk_micro_version != GTK_MICRO_VERSION))
29702 {
29703 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29704 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29705 printf("*** library (version %d.%d.%d)\n",
29706 gtk_major_version, gtk_minor_version, gtk_micro_version);
29707 }
29708 else
29709 {
29710 if ((gtk_major_version > major) ||
29711 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29712 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29713 {
29714 return 0;
29715 }
29716 else
29717 {
29718 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29719 gtk_major_version, gtk_minor_version, gtk_micro_version);
29720 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29721 major, minor, micro);
29722 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29723 printf("***\n");
29724 printf("*** If you have already installed a sufficiently new version, this error\n");
29725 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29726 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29727 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29728 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29729 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29730 printf("*** so that the correct libraries are found at run-time))\n");
29731 }
29732 }
29733 return 1;
29734 }
29735
29736 _ACEOF
29737 rm -f conftest$ac_exeext
29738 if { (ac_try="$ac_link"
29739 case "(($ac_try" in
29740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29741 *) ac_try_echo=$ac_try;;
29742 esac
29743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29744 (eval "$ac_link") 2>&5
29745 ac_status=$?
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29748 { (case "(($ac_try" in
29749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29750 *) ac_try_echo=$ac_try;;
29751 esac
29752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29753 (eval "$ac_try") 2>&5
29754 ac_status=$?
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); }; }; then
29757 :
29758 else
29759 echo "$as_me: program exited with status $ac_status" >&5
29760 echo "$as_me: failed program was:" >&5
29761 sed 's/^/| /' conftest.$ac_ext >&5
29762
29763 ( exit $ac_status )
29764 no_gtk=yes
29765 fi
29766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29767 fi
29768
29769
29770 CFLAGS="$ac_save_CFLAGS"
29771 LIBS="$ac_save_LIBS"
29772 fi
29773 fi
29774 if test "x$no_gtk" = x ; then
29775 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29776 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29777 wx_cv_lib_gtk=2.0
29778 else
29779 { echo "$as_me:$LINENO: result: no" >&5
29780 echo "${ECHO_T}no" >&6; }
29781 if test "$PKG_CONFIG" = "no" ; then
29782 echo "*** A new enough version of pkg-config was not found."
29783 echo "*** See http://pkgconfig.sourceforge.net"
29784 else
29785 if test -f conf.gtktest ; then
29786 :
29787 else
29788 echo "*** Could not run GTK+ test program, checking why..."
29789 ac_save_CFLAGS="$CFLAGS"
29790 ac_save_LIBS="$LIBS"
29791 CFLAGS="$CFLAGS $GTK_CFLAGS"
29792 LIBS="$LIBS $GTK_LIBS"
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
29803 int
29804 main ()
29805 {
29806 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29807 ;
29808 return 0;
29809 }
29810 _ACEOF
29811 rm -f conftest.$ac_objext conftest$ac_exeext
29812 if { (ac_try="$ac_link"
29813 case "(($ac_try" in
29814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29815 *) ac_try_echo=$ac_try;;
29816 esac
29817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29818 (eval "$ac_link") 2>conftest.er1
29819 ac_status=$?
29820 grep -v '^ *+' conftest.er1 >conftest.err
29821 rm -f conftest.er1
29822 cat conftest.err >&5
29823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29824 (exit $ac_status); } && {
29825 test -z "$ac_c_werror_flag" ||
29826 test ! -s conftest.err
29827 } && test -s conftest$ac_exeext &&
29828 $as_test_x conftest$ac_exeext; then
29829 echo "*** The test program compiled, but did not run. This usually means"
29830 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29831 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29832 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29833 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29834 echo "*** is required on your system"
29835 echo "***"
29836 echo "*** If you have an old version installed, it is best to remove it, although"
29837 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29838 else
29839 echo "$as_me: failed program was:" >&5
29840 sed 's/^/| /' conftest.$ac_ext >&5
29841
29842 echo "*** The test program failed to compile or link. See the file config.log for the"
29843 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29844 fi
29845
29846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29847 conftest$ac_exeext conftest.$ac_ext
29848 CFLAGS="$ac_save_CFLAGS"
29849 LIBS="$ac_save_LIBS"
29850 fi
29851 fi
29852 GTK_CFLAGS=""
29853 GTK_LIBS=""
29854 :
29855 fi
29856
29857
29858 rm -f conf.gtktest
29859
29860
29861 case "${host}" in
29862 *-*-solaris2* )
29863 if test "$wxUSE_SHARED" != "yes"; then
29864 GTK_LIBS="$GTK_LIBS -lX11"
29865 fi
29866 esac
29867 fi
29868
29869 if test -z "$wx_cv_lib_gtk"; then
29870 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29871
29872 # Check whether --with-gtk-prefix was given.
29873 if test "${with_gtk_prefix+set}" = set; then
29874 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29875 else
29876 gtk_config_prefix=""
29877 fi
29878
29879
29880 # Check whether --with-gtk-exec-prefix was given.
29881 if test "${with_gtk_exec_prefix+set}" = set; then
29882 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29883 else
29884 gtk_config_exec_prefix=""
29885 fi
29886
29887 # Check whether --enable-gtktest was given.
29888 if test "${enable_gtktest+set}" = set; then
29889 enableval=$enable_gtktest;
29890 else
29891 enable_gtktest=yes
29892 fi
29893
29894
29895 for module in . $GTK_MODULES
29896 do
29897 case "$module" in
29898 gthread)
29899 gtk_config_args="$gtk_config_args gthread"
29900 ;;
29901 esac
29902 done
29903
29904 if test x$gtk_config_exec_prefix != x ; then
29905 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29906 if test x${GTK_CONFIG+set} != xset ; then
29907 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29908 fi
29909 fi
29910 if test x$gtk_config_prefix != x ; then
29911 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29912 if test x${GTK_CONFIG+set} != xset ; then
29913 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29914 fi
29915 fi
29916
29917 # Extract the first word of "gtk-config", so it can be a program name with args.
29918 set dummy gtk-config; ac_word=$2
29919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29921 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29922 echo $ECHO_N "(cached) $ECHO_C" >&6
29923 else
29924 case $GTK_CONFIG in
29925 [\\/]* | ?:[\\/]*)
29926 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29927 ;;
29928 *)
29929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29930 for as_dir in $PATH
29931 do
29932 IFS=$as_save_IFS
29933 test -z "$as_dir" && as_dir=.
29934 for ac_exec_ext in '' $ac_executable_extensions; do
29935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29936 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29938 break 2
29939 fi
29940 done
29941 done
29942 IFS=$as_save_IFS
29943
29944 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29945 ;;
29946 esac
29947 fi
29948 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29949 if test -n "$GTK_CONFIG"; then
29950 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29951 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29952 else
29953 { echo "$as_me:$LINENO: result: no" >&5
29954 echo "${ECHO_T}no" >&6; }
29955 fi
29956
29957
29958 min_gtk_version=1.2.7
29959 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29960 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29961 no_gtk=""
29962 if test "$GTK_CONFIG" = "no" ; then
29963 no_gtk=yes
29964 else
29965 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29966 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29967 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29969 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29971 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29973 if test "x$enable_gtktest" = "xyes" ; then
29974 ac_save_CFLAGS="$CFLAGS"
29975 ac_save_LIBS="$LIBS"
29976 CFLAGS="$CFLAGS $GTK_CFLAGS"
29977 LIBS="$GTK_LIBS $LIBS"
29978 rm -f conf.gtktest
29979 if test "$cross_compiling" = yes; then
29980 echo $ac_n "cross compiling; assumed OK... $ac_c"
29981 else
29982 cat >conftest.$ac_ext <<_ACEOF
29983 /* confdefs.h. */
29984 _ACEOF
29985 cat confdefs.h >>conftest.$ac_ext
29986 cat >>conftest.$ac_ext <<_ACEOF
29987 /* end confdefs.h. */
29988
29989 #include <gtk/gtk.h>
29990 #include <stdio.h>
29991 #include <stdlib.h>
29992
29993 int
29994 main ()
29995 {
29996 int major, minor, micro;
29997 char *tmp_version;
29998
29999 system ("touch conf.gtktest");
30000
30001 /* HP/UX 9 (%@#!) writes to sscanf strings */
30002 tmp_version = g_strdup("$min_gtk_version");
30003 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30004 printf("%s, bad version string\n", "$min_gtk_version");
30005 exit(1);
30006 }
30007
30008 if ((gtk_major_version != $gtk_config_major_version) ||
30009 (gtk_minor_version != $gtk_config_minor_version) ||
30010 (gtk_micro_version != $gtk_config_micro_version))
30011 {
30012 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30013 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30014 gtk_major_version, gtk_minor_version, gtk_micro_version);
30015 printf ("*** was found! If gtk-config was correct, then it is best\n");
30016 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30017 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30018 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30019 printf("*** required on your system.\n");
30020 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30021 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30022 printf("*** before re-running configure\n");
30023 }
30024 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30025 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30026 (gtk_minor_version != GTK_MINOR_VERSION) ||
30027 (gtk_micro_version != GTK_MICRO_VERSION))
30028 {
30029 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30030 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30031 printf("*** library (version %d.%d.%d)\n",
30032 gtk_major_version, gtk_minor_version, gtk_micro_version);
30033 }
30034 #endif /* defined (GTK_MAJOR_VERSION) ... */
30035 else
30036 {
30037 if ((gtk_major_version > major) ||
30038 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30039 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30040 {
30041 return 0;
30042 }
30043 else
30044 {
30045 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30046 gtk_major_version, gtk_minor_version, gtk_micro_version);
30047 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30048 major, minor, micro);
30049 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30050 printf("***\n");
30051 printf("*** If you have already installed a sufficiently new version, this error\n");
30052 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30053 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30054 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30055 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30056 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30057 printf("*** so that the correct libraries are found at run-time))\n");
30058 }
30059 }
30060 return 1;
30061 }
30062
30063 _ACEOF
30064 rm -f conftest$ac_exeext
30065 if { (ac_try="$ac_link"
30066 case "(($ac_try" in
30067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30068 *) ac_try_echo=$ac_try;;
30069 esac
30070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30071 (eval "$ac_link") 2>&5
30072 ac_status=$?
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30075 { (case "(($ac_try" in
30076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30077 *) ac_try_echo=$ac_try;;
30078 esac
30079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30080 (eval "$ac_try") 2>&5
30081 ac_status=$?
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; }; then
30084 :
30085 else
30086 echo "$as_me: program exited with status $ac_status" >&5
30087 echo "$as_me: failed program was:" >&5
30088 sed 's/^/| /' conftest.$ac_ext >&5
30089
30090 ( exit $ac_status )
30091 no_gtk=yes
30092 fi
30093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30094 fi
30095
30096
30097 CFLAGS="$ac_save_CFLAGS"
30098 LIBS="$ac_save_LIBS"
30099 fi
30100 fi
30101 if test "x$no_gtk" = x ; then
30102 { echo "$as_me:$LINENO: result: yes" >&5
30103 echo "${ECHO_T}yes" >&6; }
30104 wx_cv_lib_gtk=1.2.7
30105 else
30106 { echo "$as_me:$LINENO: result: no" >&5
30107 echo "${ECHO_T}no" >&6; }
30108 if test "$GTK_CONFIG" = "no" ; then
30109 echo "*** The gtk-config script installed by GTK could not be found"
30110 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30111 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30112 echo "*** full path to gtk-config."
30113 else
30114 if test -f conf.gtktest ; then
30115 :
30116 else
30117 echo "*** Could not run GTK test program, checking why..."
30118 CFLAGS="$CFLAGS $GTK_CFLAGS"
30119 LIBS="$LIBS $GTK_LIBS"
30120 cat >conftest.$ac_ext <<_ACEOF
30121 /* confdefs.h. */
30122 _ACEOF
30123 cat confdefs.h >>conftest.$ac_ext
30124 cat >>conftest.$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30126
30127 #include <gtk/gtk.h>
30128 #include <stdio.h>
30129
30130 int
30131 main ()
30132 {
30133 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30134 ;
30135 return 0;
30136 }
30137 _ACEOF
30138 rm -f conftest.$ac_objext conftest$ac_exeext
30139 if { (ac_try="$ac_link"
30140 case "(($ac_try" in
30141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30142 *) ac_try_echo=$ac_try;;
30143 esac
30144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30145 (eval "$ac_link") 2>conftest.er1
30146 ac_status=$?
30147 grep -v '^ *+' conftest.er1 >conftest.err
30148 rm -f conftest.er1
30149 cat conftest.err >&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); } && {
30152 test -z "$ac_c_werror_flag" ||
30153 test ! -s conftest.err
30154 } && test -s conftest$ac_exeext &&
30155 $as_test_x conftest$ac_exeext; then
30156 echo "*** The test program compiled, but did not run. This usually means"
30157 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30158 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30159 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30160 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30161 echo "*** is required on your system"
30162 echo "***"
30163 echo "*** If you have an old version installed, it is best to remove it, although"
30164 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30165 echo "***"
30166 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30167 echo "*** came with the system with the command"
30168 echo "***"
30169 echo "*** rpm --erase --nodeps gtk gtk-devel"
30170 else
30171 echo "$as_me: failed program was:" >&5
30172 sed 's/^/| /' conftest.$ac_ext >&5
30173
30174 echo "*** The test program failed to compile or link. See the file config.log for the"
30175 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30176 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30177 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30178 fi
30179
30180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30181 conftest$ac_exeext conftest.$ac_ext
30182 CFLAGS="$ac_save_CFLAGS"
30183 LIBS="$ac_save_LIBS"
30184 fi
30185 fi
30186 GTK_CFLAGS=""
30187 GTK_LIBS=""
30188 :
30189 fi
30190
30191
30192 rm -f conf.gtktest
30193
30194
30195 if test -z "$wx_cv_lib_gtk"; then
30196
30197 # Check whether --with-gtk-prefix was given.
30198 if test "${with_gtk_prefix+set}" = set; then
30199 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30200 else
30201 gtk_config_prefix=""
30202 fi
30203
30204
30205 # Check whether --with-gtk-exec-prefix was given.
30206 if test "${with_gtk_exec_prefix+set}" = set; then
30207 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30208 else
30209 gtk_config_exec_prefix=""
30210 fi
30211
30212 # Check whether --enable-gtktest was given.
30213 if test "${enable_gtktest+set}" = set; then
30214 enableval=$enable_gtktest;
30215 else
30216 enable_gtktest=yes
30217 fi
30218
30219
30220 for module in . $GTK_MODULES
30221 do
30222 case "$module" in
30223 gthread)
30224 gtk_config_args="$gtk_config_args gthread"
30225 ;;
30226 esac
30227 done
30228
30229 if test x$gtk_config_exec_prefix != x ; then
30230 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30231 if test x${GTK_CONFIG+set} != xset ; then
30232 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30233 fi
30234 fi
30235 if test x$gtk_config_prefix != x ; then
30236 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30237 if test x${GTK_CONFIG+set} != xset ; then
30238 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30239 fi
30240 fi
30241
30242 # Extract the first word of "gtk-config", so it can be a program name with args.
30243 set dummy gtk-config; ac_word=$2
30244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30246 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30248 else
30249 case $GTK_CONFIG in
30250 [\\/]* | ?:[\\/]*)
30251 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30252 ;;
30253 *)
30254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30255 for as_dir in $PATH
30256 do
30257 IFS=$as_save_IFS
30258 test -z "$as_dir" && as_dir=.
30259 for ac_exec_ext in '' $ac_executable_extensions; do
30260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30261 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30263 break 2
30264 fi
30265 done
30266 done
30267 IFS=$as_save_IFS
30268
30269 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30270 ;;
30271 esac
30272 fi
30273 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30274 if test -n "$GTK_CONFIG"; then
30275 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30276 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30277 else
30278 { echo "$as_me:$LINENO: result: no" >&5
30279 echo "${ECHO_T}no" >&6; }
30280 fi
30281
30282
30283 min_gtk_version=1.2.3
30284 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30285 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30286 no_gtk=""
30287 if test "$GTK_CONFIG" = "no" ; then
30288 no_gtk=yes
30289 else
30290 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30291 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30292 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30294 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30296 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30297 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30298 if test "x$enable_gtktest" = "xyes" ; then
30299 ac_save_CFLAGS="$CFLAGS"
30300 ac_save_LIBS="$LIBS"
30301 CFLAGS="$CFLAGS $GTK_CFLAGS"
30302 LIBS="$GTK_LIBS $LIBS"
30303 rm -f conf.gtktest
30304 if test "$cross_compiling" = yes; then
30305 echo $ac_n "cross compiling; assumed OK... $ac_c"
30306 else
30307 cat >conftest.$ac_ext <<_ACEOF
30308 /* confdefs.h. */
30309 _ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30313
30314 #include <gtk/gtk.h>
30315 #include <stdio.h>
30316 #include <stdlib.h>
30317
30318 int
30319 main ()
30320 {
30321 int major, minor, micro;
30322 char *tmp_version;
30323
30324 system ("touch conf.gtktest");
30325
30326 /* HP/UX 9 (%@#!) writes to sscanf strings */
30327 tmp_version = g_strdup("$min_gtk_version");
30328 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30329 printf("%s, bad version string\n", "$min_gtk_version");
30330 exit(1);
30331 }
30332
30333 if ((gtk_major_version != $gtk_config_major_version) ||
30334 (gtk_minor_version != $gtk_config_minor_version) ||
30335 (gtk_micro_version != $gtk_config_micro_version))
30336 {
30337 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30338 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30339 gtk_major_version, gtk_minor_version, gtk_micro_version);
30340 printf ("*** was found! If gtk-config was correct, then it is best\n");
30341 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30342 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30343 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30344 printf("*** required on your system.\n");
30345 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30346 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30347 printf("*** before re-running configure\n");
30348 }
30349 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30350 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30351 (gtk_minor_version != GTK_MINOR_VERSION) ||
30352 (gtk_micro_version != GTK_MICRO_VERSION))
30353 {
30354 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30355 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30356 printf("*** library (version %d.%d.%d)\n",
30357 gtk_major_version, gtk_minor_version, gtk_micro_version);
30358 }
30359 #endif /* defined (GTK_MAJOR_VERSION) ... */
30360 else
30361 {
30362 if ((gtk_major_version > major) ||
30363 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30364 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30365 {
30366 return 0;
30367 }
30368 else
30369 {
30370 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30371 gtk_major_version, gtk_minor_version, gtk_micro_version);
30372 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30373 major, minor, micro);
30374 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30375 printf("***\n");
30376 printf("*** If you have already installed a sufficiently new version, this error\n");
30377 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30378 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30379 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30380 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30381 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30382 printf("*** so that the correct libraries are found at run-time))\n");
30383 }
30384 }
30385 return 1;
30386 }
30387
30388 _ACEOF
30389 rm -f conftest$ac_exeext
30390 if { (ac_try="$ac_link"
30391 case "(($ac_try" in
30392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30393 *) ac_try_echo=$ac_try;;
30394 esac
30395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30396 (eval "$ac_link") 2>&5
30397 ac_status=$?
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30400 { (case "(($ac_try" in
30401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30402 *) ac_try_echo=$ac_try;;
30403 esac
30404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30405 (eval "$ac_try") 2>&5
30406 ac_status=$?
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); }; }; then
30409 :
30410 else
30411 echo "$as_me: program exited with status $ac_status" >&5
30412 echo "$as_me: failed program was:" >&5
30413 sed 's/^/| /' conftest.$ac_ext >&5
30414
30415 ( exit $ac_status )
30416 no_gtk=yes
30417 fi
30418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30419 fi
30420
30421
30422 CFLAGS="$ac_save_CFLAGS"
30423 LIBS="$ac_save_LIBS"
30424 fi
30425 fi
30426 if test "x$no_gtk" = x ; then
30427 { echo "$as_me:$LINENO: result: yes" >&5
30428 echo "${ECHO_T}yes" >&6; }
30429 wx_cv_lib_gtk=1.2.3
30430 else
30431 { echo "$as_me:$LINENO: result: no" >&5
30432 echo "${ECHO_T}no" >&6; }
30433 if test "$GTK_CONFIG" = "no" ; then
30434 echo "*** The gtk-config script installed by GTK could not be found"
30435 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30436 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30437 echo "*** full path to gtk-config."
30438 else
30439 if test -f conf.gtktest ; then
30440 :
30441 else
30442 echo "*** Could not run GTK test program, checking why..."
30443 CFLAGS="$CFLAGS $GTK_CFLAGS"
30444 LIBS="$LIBS $GTK_LIBS"
30445 cat >conftest.$ac_ext <<_ACEOF
30446 /* confdefs.h. */
30447 _ACEOF
30448 cat confdefs.h >>conftest.$ac_ext
30449 cat >>conftest.$ac_ext <<_ACEOF
30450 /* end confdefs.h. */
30451
30452 #include <gtk/gtk.h>
30453 #include <stdio.h>
30454
30455 int
30456 main ()
30457 {
30458 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30459 ;
30460 return 0;
30461 }
30462 _ACEOF
30463 rm -f conftest.$ac_objext conftest$ac_exeext
30464 if { (ac_try="$ac_link"
30465 case "(($ac_try" in
30466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30467 *) ac_try_echo=$ac_try;;
30468 esac
30469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30470 (eval "$ac_link") 2>conftest.er1
30471 ac_status=$?
30472 grep -v '^ *+' conftest.er1 >conftest.err
30473 rm -f conftest.er1
30474 cat conftest.err >&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); } && {
30477 test -z "$ac_c_werror_flag" ||
30478 test ! -s conftest.err
30479 } && test -s conftest$ac_exeext &&
30480 $as_test_x conftest$ac_exeext; then
30481 echo "*** The test program compiled, but did not run. This usually means"
30482 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30483 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30484 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30485 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30486 echo "*** is required on your system"
30487 echo "***"
30488 echo "*** If you have an old version installed, it is best to remove it, although"
30489 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30490 echo "***"
30491 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30492 echo "*** came with the system with the command"
30493 echo "***"
30494 echo "*** rpm --erase --nodeps gtk gtk-devel"
30495 else
30496 echo "$as_me: failed program was:" >&5
30497 sed 's/^/| /' conftest.$ac_ext >&5
30498
30499 echo "*** The test program failed to compile or link. See the file config.log for the"
30500 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30501 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30502 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30503 fi
30504
30505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30506 conftest$ac_exeext conftest.$ac_ext
30507 CFLAGS="$ac_save_CFLAGS"
30508 LIBS="$ac_save_LIBS"
30509 fi
30510 fi
30511 GTK_CFLAGS=""
30512 GTK_LIBS=""
30513 :
30514 fi
30515
30516
30517 rm -f conf.gtktest
30518
30519 fi
30520 fi
30521 fi
30522
30523 if test -z "$wx_cv_lib_gtk"; then
30524 wx_cv_lib_gtk=none
30525 else
30526 wx_cv_cflags_gtk=$GTK_CFLAGS
30527 wx_cv_libs_gtk=$GTK_LIBS
30528 fi
30529
30530
30531 fi
30532
30533
30534 if test "$gtk_version_cached" = 1; then
30535 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30536 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30537 fi
30538
30539 case "$wx_cv_lib_gtk" in
30540 2.0) WXGTK2=1
30541 TOOLKIT_VERSION=2
30542 ;;
30543 1.2.7) WXGTK127=1
30544 WXGTK12=1
30545 ;;
30546 1.2.3) WXGTK12=1
30547 ;;
30548 *) { { echo "$as_me:$LINENO: error:
30549 The development files for GTK+ were not found. For GTK+ 2, please
30550 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30551 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30552 and that the version is 1.2.3 or above. Also check that the
30553 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30554 --libs' are in the LD_LIBRARY_PATH or equivalent.
30555 " >&5
30556 echo "$as_me: error:
30557 The development files for GTK+ were not found. For GTK+ 2, please
30558 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30559 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30560 and that the version is 1.2.3 or above. Also check that the
30561 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30562 --libs' are in the LD_LIBRARY_PATH or equivalent.
30563 " >&2;}
30564 { (exit 1); exit 1; }; }
30565 ;;
30566 esac
30567
30568 if test "$WXGTK2" = 1; then
30569 save_CFLAGS="$CFLAGS"
30570 save_LIBS="$LIBS"
30571 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30572 LIBS="$LIBS $wx_cv_libs_gtk"
30573
30574 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30575 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30576 cat >conftest.$ac_ext <<_ACEOF
30577 /* confdefs.h. */
30578 _ACEOF
30579 cat confdefs.h >>conftest.$ac_ext
30580 cat >>conftest.$ac_ext <<_ACEOF
30581 /* end confdefs.h. */
30582
30583 #include <gtk/gtk.h>
30584
30585 int
30586 main ()
30587 {
30588
30589 #if !GTK_CHECK_VERSION(2,18,0)
30590 Not GTK+ 2.18
30591 #endif
30592
30593 ;
30594 return 0;
30595 }
30596 _ACEOF
30597 rm -f conftest.$ac_objext
30598 if { (ac_try="$ac_compile"
30599 case "(($ac_try" in
30600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30601 *) ac_try_echo=$ac_try;;
30602 esac
30603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30604 (eval "$ac_compile") 2>conftest.er1
30605 ac_status=$?
30606 grep -v '^ *+' conftest.er1 >conftest.err
30607 rm -f conftest.er1
30608 cat conftest.err >&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); } && {
30611 test -z "$ac_c_werror_flag" ||
30612 test ! -s conftest.err
30613 } && test -s conftest.$ac_objext; then
30614
30615 cat >>confdefs.h <<\_ACEOF
30616 #define __WXGTK218__ 1
30617 _ACEOF
30618
30619 cat >>confdefs.h <<\_ACEOF
30620 #define __WXGTK210__ 1
30621 _ACEOF
30622
30623 cat >>confdefs.h <<\_ACEOF
30624 #define __WXGTK26__ 1
30625 _ACEOF
30626
30627 { echo "$as_me:$LINENO: result: yes" >&5
30628 echo "${ECHO_T}yes" >&6; }
30629 ac_wxgtk218=1
30630
30631 else
30632 echo "$as_me: failed program was:" >&5
30633 sed 's/^/| /' conftest.$ac_ext >&5
30634
30635
30636 { echo "$as_me:$LINENO: result: no" >&5
30637 echo "${ECHO_T}no" >&6; }
30638 ac_wxgtk218=0
30639
30640 fi
30641
30642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30643
30644 if test "$ac_wxgtk218" = 0; then
30645 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30646 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30647 cat >conftest.$ac_ext <<_ACEOF
30648 /* confdefs.h. */
30649 _ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30653
30654 #include <gtk/gtk.h>
30655
30656 int
30657 main ()
30658 {
30659
30660 #if !GTK_CHECK_VERSION(2,10,0)
30661 Not GTK+ 2.10
30662 #endif
30663
30664 ;
30665 return 0;
30666 }
30667 _ACEOF
30668 rm -f conftest.$ac_objext
30669 if { (ac_try="$ac_compile"
30670 case "(($ac_try" in
30671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30672 *) ac_try_echo=$ac_try;;
30673 esac
30674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30675 (eval "$ac_compile") 2>conftest.er1
30676 ac_status=$?
30677 grep -v '^ *+' conftest.er1 >conftest.err
30678 rm -f conftest.er1
30679 cat conftest.err >&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); } && {
30682 test -z "$ac_c_werror_flag" ||
30683 test ! -s conftest.err
30684 } && test -s conftest.$ac_objext; then
30685
30686 cat >>confdefs.h <<\_ACEOF
30687 #define __WXGTK210__ 1
30688 _ACEOF
30689
30690 cat >>confdefs.h <<\_ACEOF
30691 #define __WXGTK26__ 1
30692 _ACEOF
30693
30694 { echo "$as_me:$LINENO: result: yes" >&5
30695 echo "${ECHO_T}yes" >&6; }
30696 ac_wxgtk210=1
30697
30698 else
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.$ac_ext >&5
30701
30702
30703 { echo "$as_me:$LINENO: result: no" >&5
30704 echo "${ECHO_T}no" >&6; }
30705 ac_wxgtk210=0
30706
30707 fi
30708
30709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30710
30711 if test "$ac_wxgtk210" = 0; then
30712 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30713 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30714 cat >conftest.$ac_ext <<_ACEOF
30715 /* confdefs.h. */
30716 _ACEOF
30717 cat confdefs.h >>conftest.$ac_ext
30718 cat >>conftest.$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30720
30721 #include <gtk/gtk.h>
30722
30723 int
30724 main ()
30725 {
30726
30727 #if !GTK_CHECK_VERSION(2,6,0)
30728 Not GTK+ 2.6
30729 #endif
30730
30731 ;
30732 return 0;
30733 }
30734 _ACEOF
30735 rm -f conftest.$ac_objext
30736 if { (ac_try="$ac_compile"
30737 case "(($ac_try" in
30738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30740 esac
30741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30742 (eval "$ac_compile") 2>conftest.er1
30743 ac_status=$?
30744 grep -v '^ *+' conftest.er1 >conftest.err
30745 rm -f conftest.er1
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } && {
30749 test -z "$ac_c_werror_flag" ||
30750 test ! -s conftest.err
30751 } && test -s conftest.$ac_objext; then
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_wxgtk26=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_wxgtk26=0
30769
30770 fi
30771
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30773 fi
30774 fi
30775
30776 CFLAGS="$save_CFLAGS"
30777 LIBS="$save_LIBS"
30778 else
30779 if test "$wxUSE_UNICODE" = "yes"; then
30780 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30781 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30782 wxUSE_UNICODE=no
30783 fi
30784
30785 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30786 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30787 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30789 else
30790 ac_check_lib_save_LIBS=$LIBS
30791 LIBS="-lgdk $LIBS"
30792 cat >conftest.$ac_ext <<_ACEOF
30793 /* confdefs.h. */
30794 _ACEOF
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30798
30799 /* Override any GCC internal prototype to avoid an error.
30800 Use char because int might match the return type of a GCC
30801 builtin and then its argument prototype would still apply. */
30802 #ifdef __cplusplus
30803 extern "C"
30804 #endif
30805 char gdk_im_open ();
30806 int
30807 main ()
30808 {
30809 return gdk_im_open ();
30810 ;
30811 return 0;
30812 }
30813 _ACEOF
30814 rm -f conftest.$ac_objext conftest$ac_exeext
30815 if { (ac_try="$ac_link"
30816 case "(($ac_try" in
30817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30818 *) ac_try_echo=$ac_try;;
30819 esac
30820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30821 (eval "$ac_link") 2>conftest.er1
30822 ac_status=$?
30823 grep -v '^ *+' conftest.er1 >conftest.err
30824 rm -f conftest.er1
30825 cat conftest.err >&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); } && {
30828 test -z "$ac_c_werror_flag" ||
30829 test ! -s conftest.err
30830 } && test -s conftest$ac_exeext &&
30831 $as_test_x conftest$ac_exeext; then
30832 ac_cv_lib_gdk_gdk_im_open=yes
30833 else
30834 echo "$as_me: failed program was:" >&5
30835 sed 's/^/| /' conftest.$ac_ext >&5
30836
30837 ac_cv_lib_gdk_gdk_im_open=no
30838 fi
30839
30840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30841 conftest$ac_exeext conftest.$ac_ext
30842 LIBS=$ac_check_lib_save_LIBS
30843 fi
30844 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30845 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30846 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30847 cat >>confdefs.h <<\_ACEOF
30848 #define HAVE_XIM 1
30849 _ACEOF
30850
30851 fi
30852
30853
30854 if test "$USE_DARWIN" != 1; then
30855
30856 for ac_func in poll
30857 do
30858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30861 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30862 echo $ECHO_N "(cached) $ECHO_C" >&6
30863 else
30864 cat >conftest.$ac_ext <<_ACEOF
30865 /* confdefs.h. */
30866 _ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30872 #define $ac_func innocuous_$ac_func
30873
30874 /* System header to define __stub macros and hopefully few prototypes,
30875 which can conflict with char $ac_func (); below.
30876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30877 <limits.h> exists even on freestanding compilers. */
30878
30879 #ifdef __STDC__
30880 # include <limits.h>
30881 #else
30882 # include <assert.h>
30883 #endif
30884
30885 #undef $ac_func
30886
30887 /* Override any GCC internal prototype to avoid an error.
30888 Use char because int might match the return type of a GCC
30889 builtin and then its argument prototype would still apply. */
30890 #ifdef __cplusplus
30891 extern "C"
30892 #endif
30893 char $ac_func ();
30894 /* The GNU C library defines this for functions which it implements
30895 to always fail with ENOSYS. Some functions are actually named
30896 something starting with __ and the normal name is an alias. */
30897 #if defined __stub_$ac_func || defined __stub___$ac_func
30898 choke me
30899 #endif
30900
30901 int
30902 main ()
30903 {
30904 return $ac_func ();
30905 ;
30906 return 0;
30907 }
30908 _ACEOF
30909 rm -f conftest.$ac_objext conftest$ac_exeext
30910 if { (ac_try="$ac_link"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30914 esac
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_link") 2>conftest.er1
30917 ac_status=$?
30918 grep -v '^ *+' conftest.er1 >conftest.err
30919 rm -f conftest.er1
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } && {
30923 test -z "$ac_c_werror_flag" ||
30924 test ! -s conftest.err
30925 } && test -s conftest$ac_exeext &&
30926 $as_test_x conftest$ac_exeext; then
30927 eval "$as_ac_var=yes"
30928 else
30929 echo "$as_me: failed program was:" >&5
30930 sed 's/^/| /' conftest.$ac_ext >&5
30931
30932 eval "$as_ac_var=no"
30933 fi
30934
30935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30936 conftest$ac_exeext conftest.$ac_ext
30937 fi
30938 ac_res=`eval echo '${'$as_ac_var'}'`
30939 { echo "$as_me:$LINENO: result: $ac_res" >&5
30940 echo "${ECHO_T}$ac_res" >&6; }
30941 if test `eval echo '${'$as_ac_var'}'` = yes; then
30942 cat >>confdefs.h <<_ACEOF
30943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30944 _ACEOF
30945
30946 fi
30947 done
30948
30949 fi
30950 fi
30951
30952 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30953 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30954
30955 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30956
30957 AFMINSTALL=afminstall
30958 TOOLKIT=GTK
30959 GUIDIST=GTK_DIST
30960
30961 if test "$wxUSE_GPE" = "yes"; then
30962 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30963 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30964
30965 ac_find_libraries=
30966 for ac_dir in $SEARCH_LIB
30967 do
30968 for ac_extension in a so sl dylib dll.a; do
30969 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30970 ac_find_libraries=$ac_dir
30971 break 2
30972 fi
30973 done
30974 done
30975
30976 if test "$ac_find_libraries" != "" ; then
30977
30978 if test "$ac_find_libraries" = "default location"; then
30979 ac_path_to_link=""
30980 else
30981 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30982 result=$?
30983 if test $result = 0; then
30984 ac_path_to_link=""
30985 else
30986 ac_path_to_link=" -L$ac_find_libraries"
30987 fi
30988 fi
30989
30990 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30991 WXGPE=1
30992 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30993 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30994 else
30995 { echo "$as_me:$LINENO: result: not found" >&5
30996 echo "${ECHO_T}not found" >&6; }
30997 fi
30998
30999 fi
31000 fi
31001
31002 if test "$wxUSE_MGL" = 1; then
31003 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31004 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31005 if test "x$MGL_ROOT" = x ; then
31006 { echo "$as_me:$LINENO: result: not found" >&5
31007 echo "${ECHO_T}not found" >&6; }
31008 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31009 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31010 { (exit 1); exit 1; }; }
31011 else
31012 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31013 echo "${ECHO_T}$MGL_ROOT" >&6; }
31014 fi
31015
31016 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31017 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31018 case "${host}" in
31019 *-*-linux* )
31020 if test "x$wxUSE_SHARED" = xyes ; then
31021 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31022 else
31023 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31024 fi
31025 ;;
31026 *-pc-msdosdjgpp )
31027 mgl_os_candidates="dos32/dj2"
31028 ;;
31029 *)
31030 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31031 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31032 { (exit 1); exit 1; }; }
31033 esac
31034
31035 mgl_lib_type=""
31036 mgl_os=""
31037
31038 for mgl_os_i in $mgl_os_candidates ; do
31039 if test "x$mgl_os" = x ; then
31040 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31041 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31042 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31043 mgl_lib_type=debug
31044 mgl_os=$mgl_os_i
31045 fi
31046 fi
31047 if test "x$mgl_lib_type" = x ; then
31048 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31049 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31050 mgl_lib_type=release
31051 mgl_os=$mgl_os_i
31052 fi
31053 fi
31054 fi
31055 done
31056
31057 if test "x$mgl_os" = x ; then
31058 { echo "$as_me:$LINENO: result: not found" >&5
31059 echo "${ECHO_T}not found" >&6; }
31060 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31061 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31062 { (exit 1); exit 1; }; }
31063 fi
31064 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31065 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31066
31067 wxUSE_UNIVERSAL="yes"
31068
31069 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31070 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31071
31072 AFMINSTALL=afminstall
31073 TOOLKIT=MGL
31074 GUIDIST=MGL_DIST
31075 fi
31076
31077 if test "$wxUSE_DFB" = 1; then
31078
31079
31080 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31081 if test -n "$ac_tool_prefix"; then
31082 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31083 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31086 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31087 echo $ECHO_N "(cached) $ECHO_C" >&6
31088 else
31089 case $PKG_CONFIG in
31090 [\\/]* | ?:[\\/]*)
31091 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31092 ;;
31093 *)
31094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31095 for as_dir in $PATH
31096 do
31097 IFS=$as_save_IFS
31098 test -z "$as_dir" && as_dir=.
31099 for ac_exec_ext in '' $ac_executable_extensions; do
31100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31101 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31103 break 2
31104 fi
31105 done
31106 done
31107 IFS=$as_save_IFS
31108
31109 ;;
31110 esac
31111 fi
31112 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31113 if test -n "$PKG_CONFIG"; then
31114 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31115 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31116 else
31117 { echo "$as_me:$LINENO: result: no" >&5
31118 echo "${ECHO_T}no" >&6; }
31119 fi
31120
31121
31122 fi
31123 if test -z "$ac_cv_path_PKG_CONFIG"; then
31124 ac_pt_PKG_CONFIG=$PKG_CONFIG
31125 # Extract the first word of "pkg-config", so it can be a program name with args.
31126 set dummy pkg-config; ac_word=$2
31127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31129 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31130 echo $ECHO_N "(cached) $ECHO_C" >&6
31131 else
31132 case $ac_pt_PKG_CONFIG in
31133 [\\/]* | ?:[\\/]*)
31134 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31135 ;;
31136 *)
31137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31138 for as_dir in $PATH
31139 do
31140 IFS=$as_save_IFS
31141 test -z "$as_dir" && as_dir=.
31142 for ac_exec_ext in '' $ac_executable_extensions; do
31143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31144 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31146 break 2
31147 fi
31148 done
31149 done
31150 IFS=$as_save_IFS
31151
31152 ;;
31153 esac
31154 fi
31155 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31156 if test -n "$ac_pt_PKG_CONFIG"; then
31157 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31158 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31159 else
31160 { echo "$as_me:$LINENO: result: no" >&5
31161 echo "${ECHO_T}no" >&6; }
31162 fi
31163
31164 if test "x$ac_pt_PKG_CONFIG" = x; then
31165 PKG_CONFIG=""
31166 else
31167 case $cross_compiling:$ac_tool_warned in
31168 yes:)
31169 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31170 whose name does not start with the host triplet. If you think this
31171 configuration is useful to you, please write to autoconf@gnu.org." >&5
31172 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31173 whose name does not start with the host triplet. If you think this
31174 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31175 ac_tool_warned=yes ;;
31176 esac
31177 PKG_CONFIG=$ac_pt_PKG_CONFIG
31178 fi
31179 else
31180 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31181 fi
31182
31183 fi
31184 if test -n "$PKG_CONFIG"; then
31185 _pkg_min_version=0.9.0
31186 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31187 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31188 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31189 { echo "$as_me:$LINENO: result: yes" >&5
31190 echo "${ECHO_T}yes" >&6; }
31191 else
31192 { echo "$as_me:$LINENO: result: no" >&5
31193 echo "${ECHO_T}no" >&6; }
31194 PKG_CONFIG=""
31195 fi
31196
31197 fi
31198
31199
31200 pkg_failed=no
31201 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31202 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31203
31204 if test -n "$PKG_CONFIG"; then
31205 if test -n "$DIRECTFB_CFLAGS"; then
31206 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31207 else
31208 if test -n "$PKG_CONFIG" && \
31209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31210 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31211 ac_status=$?
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); }; then
31214 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31215 else
31216 pkg_failed=yes
31217 fi
31218 fi
31219 else
31220 pkg_failed=untried
31221 fi
31222 if test -n "$PKG_CONFIG"; then
31223 if test -n "$DIRECTFB_LIBS"; then
31224 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31225 else
31226 if test -n "$PKG_CONFIG" && \
31227 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31228 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31229 ac_status=$?
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; then
31232 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31233 else
31234 pkg_failed=yes
31235 fi
31236 fi
31237 else
31238 pkg_failed=untried
31239 fi
31240
31241
31242
31243 if test $pkg_failed = yes; then
31244
31245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31246 _pkg_short_errors_supported=yes
31247 else
31248 _pkg_short_errors_supported=no
31249 fi
31250 if test $_pkg_short_errors_supported = yes; then
31251 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31252 else
31253 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31254 fi
31255 # Put the nasty error message in config.log where it belongs
31256 echo "$DIRECTFB_PKG_ERRORS" >&5
31257
31258
31259 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31260 echo "$as_me: error: DirectFB not found." >&2;}
31261 { (exit 1); exit 1; }; }
31262
31263
31264 elif test $pkg_failed = untried; then
31265
31266 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31267 echo "$as_me: error: DirectFB not found." >&2;}
31268 { (exit 1); exit 1; }; }
31269
31270
31271 else
31272 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31273 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31274 { echo "$as_me:$LINENO: result: yes" >&5
31275 echo "${ECHO_T}yes" >&6; }
31276
31277 wxUSE_UNIVERSAL="yes"
31278 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31279 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31280 TOOLKIT=DFB
31281 GUIDIST=DFB_DIST
31282
31283 fi
31284 fi
31285
31286 if test "$wxUSE_MICROWIN" = 1; then
31287 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31288 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31289 if test "x$MICROWINDOWS" = x ; then
31290 { echo "$as_me:$LINENO: result: not found" >&5
31291 echo "${ECHO_T}not found" >&6; }
31292 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31293 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31294 { (exit 1); exit 1; }; }
31295 else
31296 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31297 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31298 fi
31299
31300 if test -f $MICROWINDOWS/lib/libmwin.a; then
31301 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31302 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31303 else
31304 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31305 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31306 { (exit 1); exit 1; }; }
31307 fi
31308
31309 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31310 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31311
31312 wxUSE_UNIVERSAL="yes"
31313
31314 AFMINSTALL=afminstall
31315 TOOLKIT=MICROWIN
31316 GUIDIST=MICROWIN_DIST
31317
31318 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31319 fi
31320
31321 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31322 { echo "$as_me:$LINENO: checking for X" >&5
31323 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31324
31325
31326 # Check whether --with-x was given.
31327 if test "${with_x+set}" = set; then
31328 withval=$with_x;
31329 fi
31330
31331 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31332 if test "x$with_x" = xno; then
31333 # The user explicitly disabled X.
31334 have_x=disabled
31335 else
31336 case $x_includes,$x_libraries in #(
31337 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31338 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31339 { (exit 1); exit 1; }; };; #(
31340 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31341 echo $ECHO_N "(cached) $ECHO_C" >&6
31342 else
31343 # One or both of the vars are not set, and there is no cached value.
31344 ac_x_includes=no ac_x_libraries=no
31345 rm -f -r conftest.dir
31346 if mkdir conftest.dir; then
31347 cd conftest.dir
31348 cat >Imakefile <<'_ACEOF'
31349 incroot:
31350 @echo incroot='${INCROOT}'
31351 usrlibdir:
31352 @echo usrlibdir='${USRLIBDIR}'
31353 libdir:
31354 @echo libdir='${LIBDIR}'
31355 _ACEOF
31356 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31357 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31358 for ac_var in incroot usrlibdir libdir; do
31359 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31360 done
31361 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31362 for ac_extension in a so sl; do
31363 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31364 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31365 ac_im_usrlibdir=$ac_im_libdir; break
31366 fi
31367 done
31368 # Screen out bogus values from the imake configuration. They are
31369 # bogus both because they are the default anyway, and because
31370 # using them would break gcc on systems where it needs fixed includes.
31371 case $ac_im_incroot in
31372 /usr/include) ac_x_includes= ;;
31373 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31374 esac
31375 case $ac_im_usrlibdir in
31376 /usr/lib | /lib) ;;
31377 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31378 esac
31379 fi
31380 cd ..
31381 rm -f -r conftest.dir
31382 fi
31383
31384 # Standard set of common directories for X headers.
31385 # Check X11 before X11Rn because it is often a symlink to the current release.
31386 ac_x_header_dirs='
31387 /usr/X11/include
31388 /usr/X11R6/include
31389 /usr/X11R5/include
31390 /usr/X11R4/include
31391
31392 /usr/include/X11
31393 /usr/include/X11R6
31394 /usr/include/X11R5
31395 /usr/include/X11R4
31396
31397 /usr/local/X11/include
31398 /usr/local/X11R6/include
31399 /usr/local/X11R5/include
31400 /usr/local/X11R4/include
31401
31402 /usr/local/include/X11
31403 /usr/local/include/X11R6
31404 /usr/local/include/X11R5
31405 /usr/local/include/X11R4
31406
31407 /usr/X386/include
31408 /usr/x386/include
31409 /usr/XFree86/include/X11
31410
31411 /usr/include
31412 /usr/local/include
31413 /usr/unsupported/include
31414 /usr/athena/include
31415 /usr/local/x11r5/include
31416 /usr/lpp/Xamples/include
31417
31418 /usr/openwin/include
31419 /usr/openwin/share/include'
31420
31421 if test "$ac_x_includes" = no; then
31422 # Guess where to find include files, by looking for Xlib.h.
31423 # First, try using that file with no special directory specified.
31424 cat >conftest.$ac_ext <<_ACEOF
31425 /* confdefs.h. */
31426 _ACEOF
31427 cat confdefs.h >>conftest.$ac_ext
31428 cat >>conftest.$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 #include <X11/Xlib.h>
31431 _ACEOF
31432 if { (ac_try="$ac_cpp conftest.$ac_ext"
31433 case "(($ac_try" in
31434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31435 *) ac_try_echo=$ac_try;;
31436 esac
31437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31439 ac_status=$?
31440 grep -v '^ *+' conftest.er1 >conftest.err
31441 rm -f conftest.er1
31442 cat conftest.err >&5
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); } >/dev/null && {
31445 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31446 test ! -s conftest.err
31447 }; then
31448 # We can compile using X headers with no special include directory.
31449 ac_x_includes=
31450 else
31451 echo "$as_me: failed program was:" >&5
31452 sed 's/^/| /' conftest.$ac_ext >&5
31453
31454 for ac_dir in $ac_x_header_dirs; do
31455 if test -r "$ac_dir/X11/Xlib.h"; then
31456 ac_x_includes=$ac_dir
31457 break
31458 fi
31459 done
31460 fi
31461
31462 rm -f conftest.err conftest.$ac_ext
31463 fi # $ac_x_includes = no
31464
31465 if test "$ac_x_libraries" = no; then
31466 # Check for the libraries.
31467 # See if we find them without any special options.
31468 # Don't add to $LIBS permanently.
31469 ac_save_LIBS=$LIBS
31470 LIBS="-lX11 $LIBS"
31471 cat >conftest.$ac_ext <<_ACEOF
31472 /* confdefs.h. */
31473 _ACEOF
31474 cat confdefs.h >>conftest.$ac_ext
31475 cat >>conftest.$ac_ext <<_ACEOF
31476 /* end confdefs.h. */
31477 #include <X11/Xlib.h>
31478 int
31479 main ()
31480 {
31481 XrmInitialize ()
31482 ;
31483 return 0;
31484 }
31485 _ACEOF
31486 rm -f conftest.$ac_objext conftest$ac_exeext
31487 if { (ac_try="$ac_link"
31488 case "(($ac_try" in
31489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31490 *) ac_try_echo=$ac_try;;
31491 esac
31492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31493 (eval "$ac_link") 2>conftest.er1
31494 ac_status=$?
31495 grep -v '^ *+' conftest.er1 >conftest.err
31496 rm -f conftest.er1
31497 cat conftest.err >&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); } && {
31500 test -z "$ac_c_werror_flag" ||
31501 test ! -s conftest.err
31502 } && test -s conftest$ac_exeext &&
31503 $as_test_x conftest$ac_exeext; then
31504 LIBS=$ac_save_LIBS
31505 # We can link X programs with no special library path.
31506 ac_x_libraries=
31507 else
31508 echo "$as_me: failed program was:" >&5
31509 sed 's/^/| /' conftest.$ac_ext >&5
31510
31511 LIBS=$ac_save_LIBS
31512 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31513 do
31514 # Don't even attempt the hair of trying to link an X program!
31515 for ac_extension in a so sl; do
31516 if test -r "$ac_dir/libX11.$ac_extension"; then
31517 ac_x_libraries=$ac_dir
31518 break 2
31519 fi
31520 done
31521 done
31522 fi
31523
31524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31525 conftest$ac_exeext conftest.$ac_ext
31526 fi # $ac_x_libraries = no
31527
31528 case $ac_x_includes,$ac_x_libraries in #(
31529 no,* | *,no | *\'*)
31530 # Didn't find X, or a directory has "'" in its name.
31531 ac_cv_have_x="have_x=no";; #(
31532 *)
31533 # Record where we found X for the cache.
31534 ac_cv_have_x="have_x=yes\
31535 ac_x_includes='$ac_x_includes'\
31536 ac_x_libraries='$ac_x_libraries'"
31537 esac
31538 fi
31539 ;; #(
31540 *) have_x=yes;;
31541 esac
31542 eval "$ac_cv_have_x"
31543 fi # $with_x != no
31544
31545 if test "$have_x" != yes; then
31546 { echo "$as_me:$LINENO: result: $have_x" >&5
31547 echo "${ECHO_T}$have_x" >&6; }
31548 no_x=yes
31549 else
31550 # If each of the values was on the command line, it overrides each guess.
31551 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31552 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31553 # Update the cache value to reflect the command line values.
31554 ac_cv_have_x="have_x=yes\
31555 ac_x_includes='$x_includes'\
31556 ac_x_libraries='$x_libraries'"
31557 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31558 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31559 fi
31560
31561 if test "$no_x" = yes; then
31562 # Not all programs may use this symbol, but it does not hurt to define it.
31563
31564 cat >>confdefs.h <<\_ACEOF
31565 #define X_DISPLAY_MISSING 1
31566 _ACEOF
31567
31568 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31569 else
31570 if test -n "$x_includes"; then
31571 X_CFLAGS="$X_CFLAGS -I$x_includes"
31572 fi
31573
31574 # It would also be nice to do this for all -L options, not just this one.
31575 if test -n "$x_libraries"; then
31576 X_LIBS="$X_LIBS -L$x_libraries"
31577 # For Solaris; some versions of Sun CC require a space after -R and
31578 # others require no space. Words are not sufficient . . . .
31579 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31580 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31581 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31582 ac_xsave_c_werror_flag=$ac_c_werror_flag
31583 ac_c_werror_flag=yes
31584 cat >conftest.$ac_ext <<_ACEOF
31585 /* confdefs.h. */
31586 _ACEOF
31587 cat confdefs.h >>conftest.$ac_ext
31588 cat >>conftest.$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31590
31591 int
31592 main ()
31593 {
31594
31595 ;
31596 return 0;
31597 }
31598 _ACEOF
31599 rm -f conftest.$ac_objext conftest$ac_exeext
31600 if { (ac_try="$ac_link"
31601 case "(($ac_try" in
31602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31603 *) ac_try_echo=$ac_try;;
31604 esac
31605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31606 (eval "$ac_link") 2>conftest.er1
31607 ac_status=$?
31608 grep -v '^ *+' conftest.er1 >conftest.err
31609 rm -f conftest.er1
31610 cat conftest.err >&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } && {
31613 test -z "$ac_c_werror_flag" ||
31614 test ! -s conftest.err
31615 } && test -s conftest$ac_exeext &&
31616 $as_test_x conftest$ac_exeext; then
31617 { echo "$as_me:$LINENO: result: no" >&5
31618 echo "${ECHO_T}no" >&6; }
31619 X_LIBS="$X_LIBS -R$x_libraries"
31620 else
31621 echo "$as_me: failed program was:" >&5
31622 sed 's/^/| /' conftest.$ac_ext >&5
31623
31624 LIBS="$ac_xsave_LIBS -R $x_libraries"
31625 cat >conftest.$ac_ext <<_ACEOF
31626 /* confdefs.h. */
31627 _ACEOF
31628 cat confdefs.h >>conftest.$ac_ext
31629 cat >>conftest.$ac_ext <<_ACEOF
31630 /* end confdefs.h. */
31631
31632 int
31633 main ()
31634 {
31635
31636 ;
31637 return 0;
31638 }
31639 _ACEOF
31640 rm -f conftest.$ac_objext conftest$ac_exeext
31641 if { (ac_try="$ac_link"
31642 case "(($ac_try" in
31643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31644 *) ac_try_echo=$ac_try;;
31645 esac
31646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31647 (eval "$ac_link") 2>conftest.er1
31648 ac_status=$?
31649 grep -v '^ *+' conftest.er1 >conftest.err
31650 rm -f conftest.er1
31651 cat conftest.err >&5
31652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31653 (exit $ac_status); } && {
31654 test -z "$ac_c_werror_flag" ||
31655 test ! -s conftest.err
31656 } && test -s conftest$ac_exeext &&
31657 $as_test_x conftest$ac_exeext; then
31658 { echo "$as_me:$LINENO: result: yes" >&5
31659 echo "${ECHO_T}yes" >&6; }
31660 X_LIBS="$X_LIBS -R $x_libraries"
31661 else
31662 echo "$as_me: failed program was:" >&5
31663 sed 's/^/| /' conftest.$ac_ext >&5
31664
31665 { echo "$as_me:$LINENO: result: neither works" >&5
31666 echo "${ECHO_T}neither works" >&6; }
31667 fi
31668
31669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31670 conftest$ac_exeext conftest.$ac_ext
31671 fi
31672
31673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31674 conftest$ac_exeext conftest.$ac_ext
31675 ac_c_werror_flag=$ac_xsave_c_werror_flag
31676 LIBS=$ac_xsave_LIBS
31677 fi
31678
31679 # Check for system-dependent libraries X programs must link with.
31680 # Do this before checking for the system-independent R6 libraries
31681 # (-lICE), since we may need -lsocket or whatever for X linking.
31682
31683 if test "$ISC" = yes; then
31684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31685 else
31686 # Martyn Johnson says this is needed for Ultrix, if the X
31687 # libraries were built with DECnet support. And Karl Berry says
31688 # the Alpha needs dnet_stub (dnet does not exist).
31689 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31690 cat >conftest.$ac_ext <<_ACEOF
31691 /* confdefs.h. */
31692 _ACEOF
31693 cat confdefs.h >>conftest.$ac_ext
31694 cat >>conftest.$ac_ext <<_ACEOF
31695 /* end confdefs.h. */
31696
31697 /* Override any GCC internal prototype to avoid an error.
31698 Use char because int might match the return type of a GCC
31699 builtin and then its argument prototype would still apply. */
31700 #ifdef __cplusplus
31701 extern "C"
31702 #endif
31703 char XOpenDisplay ();
31704 int
31705 main ()
31706 {
31707 return XOpenDisplay ();
31708 ;
31709 return 0;
31710 }
31711 _ACEOF
31712 rm -f conftest.$ac_objext conftest$ac_exeext
31713 if { (ac_try="$ac_link"
31714 case "(($ac_try" in
31715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31716 *) ac_try_echo=$ac_try;;
31717 esac
31718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31719 (eval "$ac_link") 2>conftest.er1
31720 ac_status=$?
31721 grep -v '^ *+' conftest.er1 >conftest.err
31722 rm -f conftest.er1
31723 cat conftest.err >&5
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); } && {
31726 test -z "$ac_c_werror_flag" ||
31727 test ! -s conftest.err
31728 } && test -s conftest$ac_exeext &&
31729 $as_test_x conftest$ac_exeext; then
31730 :
31731 else
31732 echo "$as_me: failed program was:" >&5
31733 sed 's/^/| /' conftest.$ac_ext >&5
31734
31735 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31736 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31737 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31738 echo $ECHO_N "(cached) $ECHO_C" >&6
31739 else
31740 ac_check_lib_save_LIBS=$LIBS
31741 LIBS="-ldnet $LIBS"
31742 cat >conftest.$ac_ext <<_ACEOF
31743 /* confdefs.h. */
31744 _ACEOF
31745 cat confdefs.h >>conftest.$ac_ext
31746 cat >>conftest.$ac_ext <<_ACEOF
31747 /* end confdefs.h. */
31748
31749 /* Override any GCC internal prototype to avoid an error.
31750 Use char because int might match the return type of a GCC
31751 builtin and then its argument prototype would still apply. */
31752 #ifdef __cplusplus
31753 extern "C"
31754 #endif
31755 char dnet_ntoa ();
31756 int
31757 main ()
31758 {
31759 return dnet_ntoa ();
31760 ;
31761 return 0;
31762 }
31763 _ACEOF
31764 rm -f conftest.$ac_objext conftest$ac_exeext
31765 if { (ac_try="$ac_link"
31766 case "(($ac_try" in
31767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31768 *) ac_try_echo=$ac_try;;
31769 esac
31770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31771 (eval "$ac_link") 2>conftest.er1
31772 ac_status=$?
31773 grep -v '^ *+' conftest.er1 >conftest.err
31774 rm -f conftest.er1
31775 cat conftest.err >&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } && {
31778 test -z "$ac_c_werror_flag" ||
31779 test ! -s conftest.err
31780 } && test -s conftest$ac_exeext &&
31781 $as_test_x conftest$ac_exeext; then
31782 ac_cv_lib_dnet_dnet_ntoa=yes
31783 else
31784 echo "$as_me: failed program was:" >&5
31785 sed 's/^/| /' conftest.$ac_ext >&5
31786
31787 ac_cv_lib_dnet_dnet_ntoa=no
31788 fi
31789
31790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31791 conftest$ac_exeext conftest.$ac_ext
31792 LIBS=$ac_check_lib_save_LIBS
31793 fi
31794 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31795 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31796 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31797 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31798 fi
31799
31800 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31801 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31802 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31803 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31804 echo $ECHO_N "(cached) $ECHO_C" >&6
31805 else
31806 ac_check_lib_save_LIBS=$LIBS
31807 LIBS="-ldnet_stub $LIBS"
31808 cat >conftest.$ac_ext <<_ACEOF
31809 /* confdefs.h. */
31810 _ACEOF
31811 cat confdefs.h >>conftest.$ac_ext
31812 cat >>conftest.$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31814
31815 /* Override any GCC internal prototype to avoid an error.
31816 Use char because int might match the return type of a GCC
31817 builtin and then its argument prototype would still apply. */
31818 #ifdef __cplusplus
31819 extern "C"
31820 #endif
31821 char dnet_ntoa ();
31822 int
31823 main ()
31824 {
31825 return dnet_ntoa ();
31826 ;
31827 return 0;
31828 }
31829 _ACEOF
31830 rm -f conftest.$ac_objext conftest$ac_exeext
31831 if { (ac_try="$ac_link"
31832 case "(($ac_try" in
31833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31834 *) ac_try_echo=$ac_try;;
31835 esac
31836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31837 (eval "$ac_link") 2>conftest.er1
31838 ac_status=$?
31839 grep -v '^ *+' conftest.er1 >conftest.err
31840 rm -f conftest.er1
31841 cat conftest.err >&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } && {
31844 test -z "$ac_c_werror_flag" ||
31845 test ! -s conftest.err
31846 } && test -s conftest$ac_exeext &&
31847 $as_test_x conftest$ac_exeext; then
31848 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31849 else
31850 echo "$as_me: failed program was:" >&5
31851 sed 's/^/| /' conftest.$ac_ext >&5
31852
31853 ac_cv_lib_dnet_stub_dnet_ntoa=no
31854 fi
31855
31856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31857 conftest$ac_exeext conftest.$ac_ext
31858 LIBS=$ac_check_lib_save_LIBS
31859 fi
31860 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31861 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31862 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31863 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31864 fi
31865
31866 fi
31867 fi
31868
31869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31870 conftest$ac_exeext conftest.$ac_ext
31871 LIBS="$ac_xsave_LIBS"
31872
31873 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31874 # to get the SysV transport functions.
31875 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31876 # needs -lnsl.
31877 # The nsl library prevents programs from opening the X display
31878 # on Irix 5.2, according to T.E. Dickey.
31879 # The functions gethostbyname, getservbyname, and inet_addr are
31880 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31881 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31882 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31883 if test "${ac_cv_func_gethostbyname+set}" = set; then
31884 echo $ECHO_N "(cached) $ECHO_C" >&6
31885 else
31886 cat >conftest.$ac_ext <<_ACEOF
31887 /* confdefs.h. */
31888 _ACEOF
31889 cat confdefs.h >>conftest.$ac_ext
31890 cat >>conftest.$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31892 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31894 #define gethostbyname innocuous_gethostbyname
31895
31896 /* System header to define __stub macros and hopefully few prototypes,
31897 which can conflict with char gethostbyname (); below.
31898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31899 <limits.h> exists even on freestanding compilers. */
31900
31901 #ifdef __STDC__
31902 # include <limits.h>
31903 #else
31904 # include <assert.h>
31905 #endif
31906
31907 #undef gethostbyname
31908
31909 /* Override any GCC internal prototype to avoid an error.
31910 Use char because int might match the return type of a GCC
31911 builtin and then its argument prototype would still apply. */
31912 #ifdef __cplusplus
31913 extern "C"
31914 #endif
31915 char gethostbyname ();
31916 /* The GNU C library defines this for functions which it implements
31917 to always fail with ENOSYS. Some functions are actually named
31918 something starting with __ and the normal name is an alias. */
31919 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31920 choke me
31921 #endif
31922
31923 int
31924 main ()
31925 {
31926 return gethostbyname ();
31927 ;
31928 return 0;
31929 }
31930 _ACEOF
31931 rm -f conftest.$ac_objext conftest$ac_exeext
31932 if { (ac_try="$ac_link"
31933 case "(($ac_try" in
31934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31935 *) ac_try_echo=$ac_try;;
31936 esac
31937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31938 (eval "$ac_link") 2>conftest.er1
31939 ac_status=$?
31940 grep -v '^ *+' conftest.er1 >conftest.err
31941 rm -f conftest.er1
31942 cat conftest.err >&5
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); } && {
31945 test -z "$ac_c_werror_flag" ||
31946 test ! -s conftest.err
31947 } && test -s conftest$ac_exeext &&
31948 $as_test_x conftest$ac_exeext; then
31949 ac_cv_func_gethostbyname=yes
31950 else
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31953
31954 ac_cv_func_gethostbyname=no
31955 fi
31956
31957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31958 conftest$ac_exeext conftest.$ac_ext
31959 fi
31960 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31961 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31962
31963 if test $ac_cv_func_gethostbyname = no; then
31964 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31965 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31966 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31967 echo $ECHO_N "(cached) $ECHO_C" >&6
31968 else
31969 ac_check_lib_save_LIBS=$LIBS
31970 LIBS="-lnsl $LIBS"
31971 cat >conftest.$ac_ext <<_ACEOF
31972 /* confdefs.h. */
31973 _ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31977
31978 /* Override any GCC internal prototype to avoid an error.
31979 Use char because int might match the return type of a GCC
31980 builtin and then its argument prototype would still apply. */
31981 #ifdef __cplusplus
31982 extern "C"
31983 #endif
31984 char gethostbyname ();
31985 int
31986 main ()
31987 {
31988 return gethostbyname ();
31989 ;
31990 return 0;
31991 }
31992 _ACEOF
31993 rm -f conftest.$ac_objext conftest$ac_exeext
31994 if { (ac_try="$ac_link"
31995 case "(($ac_try" in
31996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31997 *) ac_try_echo=$ac_try;;
31998 esac
31999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32000 (eval "$ac_link") 2>conftest.er1
32001 ac_status=$?
32002 grep -v '^ *+' conftest.er1 >conftest.err
32003 rm -f conftest.er1
32004 cat conftest.err >&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); } && {
32007 test -z "$ac_c_werror_flag" ||
32008 test ! -s conftest.err
32009 } && test -s conftest$ac_exeext &&
32010 $as_test_x conftest$ac_exeext; then
32011 ac_cv_lib_nsl_gethostbyname=yes
32012 else
32013 echo "$as_me: failed program was:" >&5
32014 sed 's/^/| /' conftest.$ac_ext >&5
32015
32016 ac_cv_lib_nsl_gethostbyname=no
32017 fi
32018
32019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32020 conftest$ac_exeext conftest.$ac_ext
32021 LIBS=$ac_check_lib_save_LIBS
32022 fi
32023 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32024 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32025 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32026 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32027 fi
32028
32029 if test $ac_cv_lib_nsl_gethostbyname = no; then
32030 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32031 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32032 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32033 echo $ECHO_N "(cached) $ECHO_C" >&6
32034 else
32035 ac_check_lib_save_LIBS=$LIBS
32036 LIBS="-lbsd $LIBS"
32037 cat >conftest.$ac_ext <<_ACEOF
32038 /* confdefs.h. */
32039 _ACEOF
32040 cat confdefs.h >>conftest.$ac_ext
32041 cat >>conftest.$ac_ext <<_ACEOF
32042 /* end confdefs.h. */
32043
32044 /* Override any GCC internal prototype to avoid an error.
32045 Use char because int might match the return type of a GCC
32046 builtin and then its argument prototype would still apply. */
32047 #ifdef __cplusplus
32048 extern "C"
32049 #endif
32050 char gethostbyname ();
32051 int
32052 main ()
32053 {
32054 return gethostbyname ();
32055 ;
32056 return 0;
32057 }
32058 _ACEOF
32059 rm -f conftest.$ac_objext conftest$ac_exeext
32060 if { (ac_try="$ac_link"
32061 case "(($ac_try" in
32062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32063 *) ac_try_echo=$ac_try;;
32064 esac
32065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32066 (eval "$ac_link") 2>conftest.er1
32067 ac_status=$?
32068 grep -v '^ *+' conftest.er1 >conftest.err
32069 rm -f conftest.er1
32070 cat conftest.err >&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); } && {
32073 test -z "$ac_c_werror_flag" ||
32074 test ! -s conftest.err
32075 } && test -s conftest$ac_exeext &&
32076 $as_test_x conftest$ac_exeext; then
32077 ac_cv_lib_bsd_gethostbyname=yes
32078 else
32079 echo "$as_me: failed program was:" >&5
32080 sed 's/^/| /' conftest.$ac_ext >&5
32081
32082 ac_cv_lib_bsd_gethostbyname=no
32083 fi
32084
32085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32086 conftest$ac_exeext conftest.$ac_ext
32087 LIBS=$ac_check_lib_save_LIBS
32088 fi
32089 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32090 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32091 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32092 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32093 fi
32094
32095 fi
32096 fi
32097
32098 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32099 # socket/setsockopt and other routines are undefined under SCO ODT
32100 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32101 # on later versions), says Simon Leinen: it contains gethostby*
32102 # variants that don't use the name server (or something). -lsocket
32103 # must be given before -lnsl if both are needed. We assume that
32104 # if connect needs -lnsl, so does gethostbyname.
32105 { echo "$as_me:$LINENO: checking for connect" >&5
32106 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32107 if test "${ac_cv_func_connect+set}" = set; then
32108 echo $ECHO_N "(cached) $ECHO_C" >&6
32109 else
32110 cat >conftest.$ac_ext <<_ACEOF
32111 /* confdefs.h. */
32112 _ACEOF
32113 cat confdefs.h >>conftest.$ac_ext
32114 cat >>conftest.$ac_ext <<_ACEOF
32115 /* end confdefs.h. */
32116 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32118 #define connect innocuous_connect
32119
32120 /* System header to define __stub macros and hopefully few prototypes,
32121 which can conflict with char connect (); below.
32122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32123 <limits.h> exists even on freestanding compilers. */
32124
32125 #ifdef __STDC__
32126 # include <limits.h>
32127 #else
32128 # include <assert.h>
32129 #endif
32130
32131 #undef connect
32132
32133 /* Override any GCC internal prototype to avoid an error.
32134 Use char because int might match the return type of a GCC
32135 builtin and then its argument prototype would still apply. */
32136 #ifdef __cplusplus
32137 extern "C"
32138 #endif
32139 char connect ();
32140 /* The GNU C library defines this for functions which it implements
32141 to always fail with ENOSYS. Some functions are actually named
32142 something starting with __ and the normal name is an alias. */
32143 #if defined __stub_connect || defined __stub___connect
32144 choke me
32145 #endif
32146
32147 int
32148 main ()
32149 {
32150 return connect ();
32151 ;
32152 return 0;
32153 }
32154 _ACEOF
32155 rm -f conftest.$ac_objext conftest$ac_exeext
32156 if { (ac_try="$ac_link"
32157 case "(($ac_try" in
32158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32159 *) ac_try_echo=$ac_try;;
32160 esac
32161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32162 (eval "$ac_link") 2>conftest.er1
32163 ac_status=$?
32164 grep -v '^ *+' conftest.er1 >conftest.err
32165 rm -f conftest.er1
32166 cat conftest.err >&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); } && {
32169 test -z "$ac_c_werror_flag" ||
32170 test ! -s conftest.err
32171 } && test -s conftest$ac_exeext &&
32172 $as_test_x conftest$ac_exeext; then
32173 ac_cv_func_connect=yes
32174 else
32175 echo "$as_me: failed program was:" >&5
32176 sed 's/^/| /' conftest.$ac_ext >&5
32177
32178 ac_cv_func_connect=no
32179 fi
32180
32181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32182 conftest$ac_exeext conftest.$ac_ext
32183 fi
32184 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32185 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32186
32187 if test $ac_cv_func_connect = no; then
32188 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32189 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32190 if test "${ac_cv_lib_socket_connect+set}" = set; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 else
32193 ac_check_lib_save_LIBS=$LIBS
32194 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32195 cat >conftest.$ac_ext <<_ACEOF
32196 /* confdefs.h. */
32197 _ACEOF
32198 cat confdefs.h >>conftest.$ac_ext
32199 cat >>conftest.$ac_ext <<_ACEOF
32200 /* end confdefs.h. */
32201
32202 /* Override any GCC internal prototype to avoid an error.
32203 Use char because int might match the return type of a GCC
32204 builtin and then its argument prototype would still apply. */
32205 #ifdef __cplusplus
32206 extern "C"
32207 #endif
32208 char connect ();
32209 int
32210 main ()
32211 {
32212 return connect ();
32213 ;
32214 return 0;
32215 }
32216 _ACEOF
32217 rm -f conftest.$ac_objext conftest$ac_exeext
32218 if { (ac_try="$ac_link"
32219 case "(($ac_try" in
32220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32221 *) ac_try_echo=$ac_try;;
32222 esac
32223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32224 (eval "$ac_link") 2>conftest.er1
32225 ac_status=$?
32226 grep -v '^ *+' conftest.er1 >conftest.err
32227 rm -f conftest.er1
32228 cat conftest.err >&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } && {
32231 test -z "$ac_c_werror_flag" ||
32232 test ! -s conftest.err
32233 } && test -s conftest$ac_exeext &&
32234 $as_test_x conftest$ac_exeext; then
32235 ac_cv_lib_socket_connect=yes
32236 else
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.$ac_ext >&5
32239
32240 ac_cv_lib_socket_connect=no
32241 fi
32242
32243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32244 conftest$ac_exeext conftest.$ac_ext
32245 LIBS=$ac_check_lib_save_LIBS
32246 fi
32247 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32248 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32249 if test $ac_cv_lib_socket_connect = yes; then
32250 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32251 fi
32252
32253 fi
32254
32255 # Guillermo Gomez says -lposix is necessary on A/UX.
32256 { echo "$as_me:$LINENO: checking for remove" >&5
32257 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32258 if test "${ac_cv_func_remove+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261 cat >conftest.$ac_ext <<_ACEOF
32262 /* confdefs.h. */
32263 _ACEOF
32264 cat confdefs.h >>conftest.$ac_ext
32265 cat >>conftest.$ac_ext <<_ACEOF
32266 /* end confdefs.h. */
32267 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32269 #define remove innocuous_remove
32270
32271 /* System header to define __stub macros and hopefully few prototypes,
32272 which can conflict with char remove (); below.
32273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32274 <limits.h> exists even on freestanding compilers. */
32275
32276 #ifdef __STDC__
32277 # include <limits.h>
32278 #else
32279 # include <assert.h>
32280 #endif
32281
32282 #undef remove
32283
32284 /* Override any GCC internal prototype to avoid an error.
32285 Use char because int might match the return type of a GCC
32286 builtin and then its argument prototype would still apply. */
32287 #ifdef __cplusplus
32288 extern "C"
32289 #endif
32290 char remove ();
32291 /* The GNU C library defines this for functions which it implements
32292 to always fail with ENOSYS. Some functions are actually named
32293 something starting with __ and the normal name is an alias. */
32294 #if defined __stub_remove || defined __stub___remove
32295 choke me
32296 #endif
32297
32298 int
32299 main ()
32300 {
32301 return remove ();
32302 ;
32303 return 0;
32304 }
32305 _ACEOF
32306 rm -f conftest.$ac_objext conftest$ac_exeext
32307 if { (ac_try="$ac_link"
32308 case "(($ac_try" in
32309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32310 *) ac_try_echo=$ac_try;;
32311 esac
32312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32313 (eval "$ac_link") 2>conftest.er1
32314 ac_status=$?
32315 grep -v '^ *+' conftest.er1 >conftest.err
32316 rm -f conftest.er1
32317 cat conftest.err >&5
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); } && {
32320 test -z "$ac_c_werror_flag" ||
32321 test ! -s conftest.err
32322 } && test -s conftest$ac_exeext &&
32323 $as_test_x conftest$ac_exeext; then
32324 ac_cv_func_remove=yes
32325 else
32326 echo "$as_me: failed program was:" >&5
32327 sed 's/^/| /' conftest.$ac_ext >&5
32328
32329 ac_cv_func_remove=no
32330 fi
32331
32332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32333 conftest$ac_exeext conftest.$ac_ext
32334 fi
32335 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32336 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32337
32338 if test $ac_cv_func_remove = no; then
32339 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32340 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32341 if test "${ac_cv_lib_posix_remove+set}" = set; then
32342 echo $ECHO_N "(cached) $ECHO_C" >&6
32343 else
32344 ac_check_lib_save_LIBS=$LIBS
32345 LIBS="-lposix $LIBS"
32346 cat >conftest.$ac_ext <<_ACEOF
32347 /* confdefs.h. */
32348 _ACEOF
32349 cat confdefs.h >>conftest.$ac_ext
32350 cat >>conftest.$ac_ext <<_ACEOF
32351 /* end confdefs.h. */
32352
32353 /* Override any GCC internal prototype to avoid an error.
32354 Use char because int might match the return type of a GCC
32355 builtin and then its argument prototype would still apply. */
32356 #ifdef __cplusplus
32357 extern "C"
32358 #endif
32359 char remove ();
32360 int
32361 main ()
32362 {
32363 return remove ();
32364 ;
32365 return 0;
32366 }
32367 _ACEOF
32368 rm -f conftest.$ac_objext conftest$ac_exeext
32369 if { (ac_try="$ac_link"
32370 case "(($ac_try" in
32371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32372 *) ac_try_echo=$ac_try;;
32373 esac
32374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32375 (eval "$ac_link") 2>conftest.er1
32376 ac_status=$?
32377 grep -v '^ *+' conftest.er1 >conftest.err
32378 rm -f conftest.er1
32379 cat conftest.err >&5
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); } && {
32382 test -z "$ac_c_werror_flag" ||
32383 test ! -s conftest.err
32384 } && test -s conftest$ac_exeext &&
32385 $as_test_x conftest$ac_exeext; then
32386 ac_cv_lib_posix_remove=yes
32387 else
32388 echo "$as_me: failed program was:" >&5
32389 sed 's/^/| /' conftest.$ac_ext >&5
32390
32391 ac_cv_lib_posix_remove=no
32392 fi
32393
32394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32395 conftest$ac_exeext conftest.$ac_ext
32396 LIBS=$ac_check_lib_save_LIBS
32397 fi
32398 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32399 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32400 if test $ac_cv_lib_posix_remove = yes; then
32401 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32402 fi
32403
32404 fi
32405
32406 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32407 { echo "$as_me:$LINENO: checking for shmat" >&5
32408 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32409 if test "${ac_cv_func_shmat+set}" = set; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32411 else
32412 cat >conftest.$ac_ext <<_ACEOF
32413 /* confdefs.h. */
32414 _ACEOF
32415 cat confdefs.h >>conftest.$ac_ext
32416 cat >>conftest.$ac_ext <<_ACEOF
32417 /* end confdefs.h. */
32418 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32420 #define shmat innocuous_shmat
32421
32422 /* System header to define __stub macros and hopefully few prototypes,
32423 which can conflict with char shmat (); below.
32424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32425 <limits.h> exists even on freestanding compilers. */
32426
32427 #ifdef __STDC__
32428 # include <limits.h>
32429 #else
32430 # include <assert.h>
32431 #endif
32432
32433 #undef shmat
32434
32435 /* Override any GCC internal prototype to avoid an error.
32436 Use char because int might match the return type of a GCC
32437 builtin and then its argument prototype would still apply. */
32438 #ifdef __cplusplus
32439 extern "C"
32440 #endif
32441 char shmat ();
32442 /* The GNU C library defines this for functions which it implements
32443 to always fail with ENOSYS. Some functions are actually named
32444 something starting with __ and the normal name is an alias. */
32445 #if defined __stub_shmat || defined __stub___shmat
32446 choke me
32447 #endif
32448
32449 int
32450 main ()
32451 {
32452 return shmat ();
32453 ;
32454 return 0;
32455 }
32456 _ACEOF
32457 rm -f conftest.$ac_objext conftest$ac_exeext
32458 if { (ac_try="$ac_link"
32459 case "(($ac_try" in
32460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32461 *) ac_try_echo=$ac_try;;
32462 esac
32463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32464 (eval "$ac_link") 2>conftest.er1
32465 ac_status=$?
32466 grep -v '^ *+' conftest.er1 >conftest.err
32467 rm -f conftest.er1
32468 cat conftest.err >&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } && {
32471 test -z "$ac_c_werror_flag" ||
32472 test ! -s conftest.err
32473 } && test -s conftest$ac_exeext &&
32474 $as_test_x conftest$ac_exeext; then
32475 ac_cv_func_shmat=yes
32476 else
32477 echo "$as_me: failed program was:" >&5
32478 sed 's/^/| /' conftest.$ac_ext >&5
32479
32480 ac_cv_func_shmat=no
32481 fi
32482
32483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32484 conftest$ac_exeext conftest.$ac_ext
32485 fi
32486 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32487 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32488
32489 if test $ac_cv_func_shmat = no; then
32490 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32491 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32492 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32493 echo $ECHO_N "(cached) $ECHO_C" >&6
32494 else
32495 ac_check_lib_save_LIBS=$LIBS
32496 LIBS="-lipc $LIBS"
32497 cat >conftest.$ac_ext <<_ACEOF
32498 /* confdefs.h. */
32499 _ACEOF
32500 cat confdefs.h >>conftest.$ac_ext
32501 cat >>conftest.$ac_ext <<_ACEOF
32502 /* end confdefs.h. */
32503
32504 /* Override any GCC internal prototype to avoid an error.
32505 Use char because int might match the return type of a GCC
32506 builtin and then its argument prototype would still apply. */
32507 #ifdef __cplusplus
32508 extern "C"
32509 #endif
32510 char shmat ();
32511 int
32512 main ()
32513 {
32514 return shmat ();
32515 ;
32516 return 0;
32517 }
32518 _ACEOF
32519 rm -f conftest.$ac_objext conftest$ac_exeext
32520 if { (ac_try="$ac_link"
32521 case "(($ac_try" in
32522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32523 *) ac_try_echo=$ac_try;;
32524 esac
32525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32526 (eval "$ac_link") 2>conftest.er1
32527 ac_status=$?
32528 grep -v '^ *+' conftest.er1 >conftest.err
32529 rm -f conftest.er1
32530 cat conftest.err >&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } && {
32533 test -z "$ac_c_werror_flag" ||
32534 test ! -s conftest.err
32535 } && test -s conftest$ac_exeext &&
32536 $as_test_x conftest$ac_exeext; then
32537 ac_cv_lib_ipc_shmat=yes
32538 else
32539 echo "$as_me: failed program was:" >&5
32540 sed 's/^/| /' conftest.$ac_ext >&5
32541
32542 ac_cv_lib_ipc_shmat=no
32543 fi
32544
32545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32546 conftest$ac_exeext conftest.$ac_ext
32547 LIBS=$ac_check_lib_save_LIBS
32548 fi
32549 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32550 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32551 if test $ac_cv_lib_ipc_shmat = yes; then
32552 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32553 fi
32554
32555 fi
32556 fi
32557
32558 # Check for libraries that X11R6 Xt/Xaw programs need.
32559 ac_save_LDFLAGS=$LDFLAGS
32560 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32561 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32562 # check for ICE first), but we must link in the order -lSM -lICE or
32563 # we get undefined symbols. So assume we have SM if we have ICE.
32564 # These have to be linked with before -lX11, unlike the other
32565 # libraries we check for below, so use a different variable.
32566 # John Interrante, Karl Berry
32567 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32568 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32569 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32570 echo $ECHO_N "(cached) $ECHO_C" >&6
32571 else
32572 ac_check_lib_save_LIBS=$LIBS
32573 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32574 cat >conftest.$ac_ext <<_ACEOF
32575 /* confdefs.h. */
32576 _ACEOF
32577 cat confdefs.h >>conftest.$ac_ext
32578 cat >>conftest.$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32580
32581 /* Override any GCC internal prototype to avoid an error.
32582 Use char because int might match the return type of a GCC
32583 builtin and then its argument prototype would still apply. */
32584 #ifdef __cplusplus
32585 extern "C"
32586 #endif
32587 char IceConnectionNumber ();
32588 int
32589 main ()
32590 {
32591 return IceConnectionNumber ();
32592 ;
32593 return 0;
32594 }
32595 _ACEOF
32596 rm -f conftest.$ac_objext conftest$ac_exeext
32597 if { (ac_try="$ac_link"
32598 case "(($ac_try" in
32599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32600 *) ac_try_echo=$ac_try;;
32601 esac
32602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32603 (eval "$ac_link") 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } && {
32610 test -z "$ac_c_werror_flag" ||
32611 test ! -s conftest.err
32612 } && test -s conftest$ac_exeext &&
32613 $as_test_x conftest$ac_exeext; then
32614 ac_cv_lib_ICE_IceConnectionNumber=yes
32615 else
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32618
32619 ac_cv_lib_ICE_IceConnectionNumber=no
32620 fi
32621
32622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32623 conftest$ac_exeext conftest.$ac_ext
32624 LIBS=$ac_check_lib_save_LIBS
32625 fi
32626 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32627 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32628 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32629 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32630 fi
32631
32632 LDFLAGS=$ac_save_LDFLAGS
32633
32634 fi
32635
32636
32637 if test "$no_x" = "yes"; then
32638 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32639 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32640 { (exit 1); exit 1; }; }
32641 fi
32642
32643 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32644 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32645 AFMINSTALL=afminstall
32646 COMPILED_X_PROGRAM=0
32647
32648 fi
32649
32650 if test "$wxUSE_X11" = 1; then
32651 if test "$wxUSE_NANOX" = "yes"; then
32652 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32653 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32654 if test "x$MICROWIN" = x ; then
32655 { echo "$as_me:$LINENO: result: not found" >&5
32656 echo "${ECHO_T}not found" >&6; }
32657 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32658 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32659 { (exit 1); exit 1; }; }
32660 else
32661 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32662 echo "${ECHO_T}$MICROWIN" >&6; }
32663 cat >>confdefs.h <<\_ACEOF
32664 #define wxUSE_NANOX 1
32665 _ACEOF
32666
32667 fi
32668 fi
32669
32670 if test "$wxUSE_UNICODE" = "yes"; then
32671
32672
32673 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32674 if test -n "$ac_tool_prefix"; then
32675 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32676 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32679 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32680 echo $ECHO_N "(cached) $ECHO_C" >&6
32681 else
32682 case $PKG_CONFIG in
32683 [\\/]* | ?:[\\/]*)
32684 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32685 ;;
32686 *)
32687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32688 for as_dir in $PATH
32689 do
32690 IFS=$as_save_IFS
32691 test -z "$as_dir" && as_dir=.
32692 for ac_exec_ext in '' $ac_executable_extensions; do
32693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32694 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32696 break 2
32697 fi
32698 done
32699 done
32700 IFS=$as_save_IFS
32701
32702 ;;
32703 esac
32704 fi
32705 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32706 if test -n "$PKG_CONFIG"; then
32707 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32708 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32709 else
32710 { echo "$as_me:$LINENO: result: no" >&5
32711 echo "${ECHO_T}no" >&6; }
32712 fi
32713
32714
32715 fi
32716 if test -z "$ac_cv_path_PKG_CONFIG"; then
32717 ac_pt_PKG_CONFIG=$PKG_CONFIG
32718 # Extract the first word of "pkg-config", so it can be a program name with args.
32719 set dummy pkg-config; ac_word=$2
32720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32722 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32723 echo $ECHO_N "(cached) $ECHO_C" >&6
32724 else
32725 case $ac_pt_PKG_CONFIG in
32726 [\\/]* | ?:[\\/]*)
32727 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32728 ;;
32729 *)
32730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32731 for as_dir in $PATH
32732 do
32733 IFS=$as_save_IFS
32734 test -z "$as_dir" && as_dir=.
32735 for ac_exec_ext in '' $ac_executable_extensions; do
32736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32737 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32739 break 2
32740 fi
32741 done
32742 done
32743 IFS=$as_save_IFS
32744
32745 ;;
32746 esac
32747 fi
32748 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32749 if test -n "$ac_pt_PKG_CONFIG"; then
32750 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32751 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32752 else
32753 { echo "$as_me:$LINENO: result: no" >&5
32754 echo "${ECHO_T}no" >&6; }
32755 fi
32756
32757 if test "x$ac_pt_PKG_CONFIG" = x; then
32758 PKG_CONFIG=""
32759 else
32760 case $cross_compiling:$ac_tool_warned in
32761 yes:)
32762 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32763 whose name does not start with the host triplet. If you think this
32764 configuration is useful to you, please write to autoconf@gnu.org." >&5
32765 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32766 whose name does not start with the host triplet. If you think this
32767 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32768 ac_tool_warned=yes ;;
32769 esac
32770 PKG_CONFIG=$ac_pt_PKG_CONFIG
32771 fi
32772 else
32773 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32774 fi
32775
32776 fi
32777 if test -n "$PKG_CONFIG"; then
32778 _pkg_min_version=0.9.0
32779 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32780 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32781 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32782 { echo "$as_me:$LINENO: result: yes" >&5
32783 echo "${ECHO_T}yes" >&6; }
32784 else
32785 { echo "$as_me:$LINENO: result: no" >&5
32786 echo "${ECHO_T}no" >&6; }
32787 PKG_CONFIG=""
32788 fi
32789
32790 fi
32791
32792
32793 pkg_failed=no
32794 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32795 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32796
32797 if test -n "$PKG_CONFIG"; then
32798 if test -n "$PANGOX_CFLAGS"; then
32799 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32800 else
32801 if test -n "$PKG_CONFIG" && \
32802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32803 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32804 ac_status=$?
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); }; then
32807 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32808 else
32809 pkg_failed=yes
32810 fi
32811 fi
32812 else
32813 pkg_failed=untried
32814 fi
32815 if test -n "$PKG_CONFIG"; then
32816 if test -n "$PANGOX_LIBS"; then
32817 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32818 else
32819 if test -n "$PKG_CONFIG" && \
32820 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32821 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32822 ac_status=$?
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); }; then
32825 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32826 else
32827 pkg_failed=yes
32828 fi
32829 fi
32830 else
32831 pkg_failed=untried
32832 fi
32833
32834
32835
32836 if test $pkg_failed = yes; then
32837
32838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32839 _pkg_short_errors_supported=yes
32840 else
32841 _pkg_short_errors_supported=no
32842 fi
32843 if test $_pkg_short_errors_supported = yes; then
32844 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32845 else
32846 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32847 fi
32848 # Put the nasty error message in config.log where it belongs
32849 echo "$PANGOX_PKG_ERRORS" >&5
32850
32851
32852 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32853 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32854 { (exit 1); exit 1; }; }
32855
32856
32857 elif test $pkg_failed = untried; then
32858
32859 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32860 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32861 { (exit 1); exit 1; }; }
32862
32863
32864 else
32865 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32866 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32867 { echo "$as_me:$LINENO: result: yes" >&5
32868 echo "${ECHO_T}yes" >&6; }
32869
32870 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32871 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32873
32874 fi
32875
32876 pkg_failed=no
32877 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32878 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32879
32880 if test -n "$PKG_CONFIG"; then
32881 if test -n "$PANGOFT2_CFLAGS"; then
32882 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32883 else
32884 if test -n "$PKG_CONFIG" && \
32885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32886 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32887 ac_status=$?
32888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; then
32890 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32891 else
32892 pkg_failed=yes
32893 fi
32894 fi
32895 else
32896 pkg_failed=untried
32897 fi
32898 if test -n "$PKG_CONFIG"; then
32899 if test -n "$PANGOFT2_LIBS"; then
32900 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32901 else
32902 if test -n "$PKG_CONFIG" && \
32903 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32904 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32905 ac_status=$?
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; then
32908 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32909 else
32910 pkg_failed=yes
32911 fi
32912 fi
32913 else
32914 pkg_failed=untried
32915 fi
32916
32917
32918
32919 if test $pkg_failed = yes; then
32920
32921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32922 _pkg_short_errors_supported=yes
32923 else
32924 _pkg_short_errors_supported=no
32925 fi
32926 if test $_pkg_short_errors_supported = yes; then
32927 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32928 else
32929 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32930 fi
32931 # Put the nasty error message in config.log where it belongs
32932 echo "$PANGOFT2_PKG_ERRORS" >&5
32933
32934
32935 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32936 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32937 wxUSE_PRINTING_ARCHITECTURE="no"
32938
32939
32940 elif test $pkg_failed = untried; then
32941
32942 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32943 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32944 wxUSE_PRINTING_ARCHITECTURE="no"
32945
32946
32947 else
32948 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32949 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32950 { echo "$as_me:$LINENO: result: yes" >&5
32951 echo "${ECHO_T}yes" >&6; }
32952
32953 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32954 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32955 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32956
32957 fi
32958
32959 pkg_failed=no
32960 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32961 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32962
32963 if test -n "$PKG_CONFIG"; then
32964 if test -n "$PANGOXFT_CFLAGS"; then
32965 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32966 else
32967 if test -n "$PKG_CONFIG" && \
32968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32969 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32970 ac_status=$?
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); }; then
32973 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32974 else
32975 pkg_failed=yes
32976 fi
32977 fi
32978 else
32979 pkg_failed=untried
32980 fi
32981 if test -n "$PKG_CONFIG"; then
32982 if test -n "$PANGOXFT_LIBS"; then
32983 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32984 else
32985 if test -n "$PKG_CONFIG" && \
32986 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32987 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32988 ac_status=$?
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; then
32991 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32992 else
32993 pkg_failed=yes
32994 fi
32995 fi
32996 else
32997 pkg_failed=untried
32998 fi
32999
33000
33001
33002 if test $pkg_failed = yes; then
33003
33004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33005 _pkg_short_errors_supported=yes
33006 else
33007 _pkg_short_errors_supported=no
33008 fi
33009 if test $_pkg_short_errors_supported = yes; then
33010 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33011 else
33012 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33013 fi
33014 # Put the nasty error message in config.log where it belongs
33015 echo "$PANGOXFT_PKG_ERRORS" >&5
33016
33017
33018 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33019 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33020
33021
33022 elif test $pkg_failed = untried; then
33023
33024 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33025 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33026
33027
33028 else
33029 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33030 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33031 { echo "$as_me:$LINENO: result: yes" >&5
33032 echo "${ECHO_T}yes" >&6; }
33033
33034 cat >>confdefs.h <<\_ACEOF
33035 #define HAVE_PANGO_XFT 1
33036 _ACEOF
33037
33038 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33039 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33040 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33041
33042 fi
33043 save_LIBS="$LIBS"
33044 LIBS="$LIBS $PANGOX_LIBS"
33045
33046 for ac_func in pango_font_family_is_monospace
33047 do
33048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33049 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33051 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33052 echo $ECHO_N "(cached) $ECHO_C" >&6
33053 else
33054 cat >conftest.$ac_ext <<_ACEOF
33055 /* confdefs.h. */
33056 _ACEOF
33057 cat confdefs.h >>conftest.$ac_ext
33058 cat >>conftest.$ac_ext <<_ACEOF
33059 /* end confdefs.h. */
33060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33062 #define $ac_func innocuous_$ac_func
33063
33064 /* System header to define __stub macros and hopefully few prototypes,
33065 which can conflict with char $ac_func (); below.
33066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33067 <limits.h> exists even on freestanding compilers. */
33068
33069 #ifdef __STDC__
33070 # include <limits.h>
33071 #else
33072 # include <assert.h>
33073 #endif
33074
33075 #undef $ac_func
33076
33077 /* Override any GCC internal prototype to avoid an error.
33078 Use char because int might match the return type of a GCC
33079 builtin and then its argument prototype would still apply. */
33080 #ifdef __cplusplus
33081 extern "C"
33082 #endif
33083 char $ac_func ();
33084 /* The GNU C library defines this for functions which it implements
33085 to always fail with ENOSYS. Some functions are actually named
33086 something starting with __ and the normal name is an alias. */
33087 #if defined __stub_$ac_func || defined __stub___$ac_func
33088 choke me
33089 #endif
33090
33091 int
33092 main ()
33093 {
33094 return $ac_func ();
33095 ;
33096 return 0;
33097 }
33098 _ACEOF
33099 rm -f conftest.$ac_objext conftest$ac_exeext
33100 if { (ac_try="$ac_link"
33101 case "(($ac_try" in
33102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33103 *) ac_try_echo=$ac_try;;
33104 esac
33105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33106 (eval "$ac_link") 2>conftest.er1
33107 ac_status=$?
33108 grep -v '^ *+' conftest.er1 >conftest.err
33109 rm -f conftest.er1
33110 cat conftest.err >&5
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); } && {
33113 test -z "$ac_c_werror_flag" ||
33114 test ! -s conftest.err
33115 } && test -s conftest$ac_exeext &&
33116 $as_test_x conftest$ac_exeext; then
33117 eval "$as_ac_var=yes"
33118 else
33119 echo "$as_me: failed program was:" >&5
33120 sed 's/^/| /' conftest.$ac_ext >&5
33121
33122 eval "$as_ac_var=no"
33123 fi
33124
33125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33126 conftest$ac_exeext conftest.$ac_ext
33127 fi
33128 ac_res=`eval echo '${'$as_ac_var'}'`
33129 { echo "$as_me:$LINENO: result: $ac_res" >&5
33130 echo "${ECHO_T}$ac_res" >&6; }
33131 if test `eval echo '${'$as_ac_var'}'` = yes; then
33132 cat >>confdefs.h <<_ACEOF
33133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33134 _ACEOF
33135
33136 fi
33137 done
33138
33139 LIBS="$save_LIBS"
33140 fi
33141
33142 wxUSE_UNIVERSAL="yes"
33143
33144 if test "$wxUSE_NANOX" = "yes"; then
33145 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33146 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"
33147 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33148 else
33149 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33150 fi
33151
33152 TOOLKIT=X11
33153 GUIDIST=X11_DIST
33154 fi
33155
33156 if test "$wxUSE_MOTIF" = 1; then
33157 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33158 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33159
33160 ac_find_includes=
33161 for ac_dir in $SEARCH_INCLUDE /usr/include
33162 do
33163 if test -f "$ac_dir/Xm/Xm.h"; then
33164 ac_find_includes=$ac_dir
33165 break
33166 fi
33167 done
33168
33169 if test "$ac_find_includes" != "" ; then
33170 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33171 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33172
33173 if test "x$ac_find_includes" = "x/usr/include"; then
33174 ac_path_to_include=""
33175 else
33176 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33177 result=$?
33178 if test $result = 0; then
33179 ac_path_to_include=""
33180 else
33181 ac_path_to_include=" -I$ac_find_includes"
33182 fi
33183 fi
33184
33185 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33186 else
33187 save_CFLAGS=$CFLAGS
33188 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33189
33190 cat >conftest.$ac_ext <<_ACEOF
33191 /* confdefs.h. */
33192 _ACEOF
33193 cat confdefs.h >>conftest.$ac_ext
33194 cat >>conftest.$ac_ext <<_ACEOF
33195 /* end confdefs.h. */
33196
33197 #include <Xm/Xm.h>
33198
33199 int
33200 main ()
33201 {
33202
33203 int version;
33204 version = xmUseVersion;
33205
33206 ;
33207 return 0;
33208 }
33209 _ACEOF
33210 rm -f conftest.$ac_objext
33211 if { (ac_try="$ac_compile"
33212 case "(($ac_try" in
33213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33214 *) ac_try_echo=$ac_try;;
33215 esac
33216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33217 (eval "$ac_compile") 2>conftest.er1
33218 ac_status=$?
33219 grep -v '^ *+' conftest.er1 >conftest.err
33220 rm -f conftest.er1
33221 cat conftest.err >&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); } && {
33224 test -z "$ac_c_werror_flag" ||
33225 test ! -s conftest.err
33226 } && test -s conftest.$ac_objext; then
33227
33228 { echo "$as_me:$LINENO: result: found in default search path" >&5
33229 echo "${ECHO_T}found in default search path" >&6; }
33230 COMPILED_X_PROGRAM=1
33231
33232 else
33233 echo "$as_me: failed program was:" >&5
33234 sed 's/^/| /' conftest.$ac_ext >&5
33235
33236
33237 { echo "$as_me:$LINENO: result: no" >&5
33238 echo "${ECHO_T}no" >&6; }
33239 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33240 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33241 { (exit 1); exit 1; }; }
33242
33243
33244 fi
33245
33246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33247
33248 CFLAGS=$save_CFLAGS
33249 fi
33250
33251
33252 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33253 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33254
33255 ac_find_libraries=
33256 for ac_dir in $SEARCH_LIB
33257 do
33258 for ac_extension in a so sl dylib dll.a; do
33259 if test -f "$ac_dir/libXm.$ac_extension"; then
33260 ac_find_libraries=$ac_dir
33261 break 2
33262 fi
33263 done
33264 done
33265
33266
33267 if test "x$ac_find_libraries" != "x" ; then
33268 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33269 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33270
33271
33272 if test "$ac_find_libraries" = "default location"; then
33273 ac_path_to_link=""
33274 else
33275 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33276 result=$?
33277 if test $result = 0; then
33278 ac_path_to_link=""
33279 else
33280 ac_path_to_link=" -L$ac_find_libraries"
33281 fi
33282 fi
33283
33284 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33285 else
33286 save_CFLAGS=$CFLAGS
33287 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33288 save_LIBS="$LIBS"
33289 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33290
33291 cat >conftest.$ac_ext <<_ACEOF
33292 /* confdefs.h. */
33293 _ACEOF
33294 cat confdefs.h >>conftest.$ac_ext
33295 cat >>conftest.$ac_ext <<_ACEOF
33296 /* end confdefs.h. */
33297
33298 #include <Xm/Xm.h>
33299
33300 int
33301 main ()
33302 {
33303
33304 int version;
33305 version = xmUseVersion;
33306
33307 ;
33308 return 0;
33309 }
33310 _ACEOF
33311 rm -f conftest.$ac_objext conftest$ac_exeext
33312 if { (ac_try="$ac_link"
33313 case "(($ac_try" in
33314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33315 *) ac_try_echo=$ac_try;;
33316 esac
33317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33318 (eval "$ac_link") 2>conftest.er1
33319 ac_status=$?
33320 grep -v '^ *+' conftest.er1 >conftest.err
33321 rm -f conftest.er1
33322 cat conftest.err >&5
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); } && {
33325 test -z "$ac_c_werror_flag" ||
33326 test ! -s conftest.err
33327 } && test -s conftest$ac_exeext &&
33328 $as_test_x conftest$ac_exeext; then
33329
33330 { echo "$as_me:$LINENO: result: found in default search path" >&5
33331 echo "${ECHO_T}found in default search path" >&6; }
33332 COMPILED_X_PROGRAM=1
33333
33334 else
33335 echo "$as_me: failed program was:" >&5
33336 sed 's/^/| /' conftest.$ac_ext >&5
33337
33338
33339 { echo "$as_me:$LINENO: result: no" >&5
33340 echo "${ECHO_T}no" >&6; }
33341 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33342 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33343 { (exit 1); exit 1; }; }
33344
33345
33346 fi
33347
33348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33349 conftest$ac_exeext conftest.$ac_ext
33350
33351 CFLAGS=$save_CFLAGS
33352 LIBS="$save_LIBS"
33353 fi
33354
33355 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33356 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33357 libp_link=""
33358 libsm_ice_link=""
33359 libs_found=0
33360 for libp in "" " -lXp"; do
33361 if test "$libs_found" = 0; then
33362 for libsm_ice in "" " -lSM -lICE"; do
33363 if test "$libs_found" = 0; then
33364 save_LIBS="$LIBS"
33365 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33366 save_CFLAGS=$CFLAGS
33367 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33368
33369 cat >conftest.$ac_ext <<_ACEOF
33370 /* confdefs.h. */
33371 _ACEOF
33372 cat confdefs.h >>conftest.$ac_ext
33373 cat >>conftest.$ac_ext <<_ACEOF
33374 /* end confdefs.h. */
33375
33376 #include <Xm/Xm.h>
33377 #include <Xm/List.h>
33378
33379 int
33380 main ()
33381 {
33382
33383 XmString string = NULL;
33384 Widget w = NULL;
33385 int position = 0;
33386 XmListAddItem(w, string, position);
33387
33388 ;
33389 return 0;
33390 }
33391 _ACEOF
33392 rm -f conftest.$ac_objext conftest$ac_exeext
33393 if { (ac_try="$ac_link"
33394 case "(($ac_try" in
33395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33396 *) ac_try_echo=$ac_try;;
33397 esac
33398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33399 (eval "$ac_link") 2>conftest.er1
33400 ac_status=$?
33401 grep -v '^ *+' conftest.er1 >conftest.err
33402 rm -f conftest.er1
33403 cat conftest.err >&5
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); } && {
33406 test -z "$ac_c_werror_flag" ||
33407 test ! -s conftest.err
33408 } && test -s conftest$ac_exeext &&
33409 $as_test_x conftest$ac_exeext; then
33410
33411 libp_link="$libp"
33412 libsm_ice_link="$libsm_ice"
33413 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33414 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33415 libs_found=1
33416
33417 else
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.$ac_ext >&5
33420
33421
33422
33423 fi
33424
33425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33426 conftest$ac_exeext conftest.$ac_ext
33427
33428 LIBS="$save_LIBS"
33429 CFLAGS=$save_CFLAGS
33430 fi
33431 done
33432 fi
33433 done
33434
33435 if test "$libs_found" = 0; then
33436 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33437 echo "${ECHO_T}can't find the right libraries" >&6; }
33438 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33439 echo "$as_me: error: can't link a simple motif program" >&2;}
33440 { (exit 1); exit 1; }; }
33441 fi
33442
33443 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33444 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33445 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33446 echo $ECHO_N "(cached) $ECHO_C" >&6
33447 else
33448 ac_check_lib_save_LIBS=$LIBS
33449 LIBS="-lSgm $LIBS"
33450 cat >conftest.$ac_ext <<_ACEOF
33451 /* confdefs.h. */
33452 _ACEOF
33453 cat confdefs.h >>conftest.$ac_ext
33454 cat >>conftest.$ac_ext <<_ACEOF
33455 /* end confdefs.h. */
33456
33457 /* Override any GCC internal prototype to avoid an error.
33458 Use char because int might match the return type of a GCC
33459 builtin and then its argument prototype would still apply. */
33460 #ifdef __cplusplus
33461 extern "C"
33462 #endif
33463 char SgCreateList ();
33464 int
33465 main ()
33466 {
33467 return SgCreateList ();
33468 ;
33469 return 0;
33470 }
33471 _ACEOF
33472 rm -f conftest.$ac_objext conftest$ac_exeext
33473 if { (ac_try="$ac_link"
33474 case "(($ac_try" in
33475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33476 *) ac_try_echo=$ac_try;;
33477 esac
33478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33479 (eval "$ac_link") 2>conftest.er1
33480 ac_status=$?
33481 grep -v '^ *+' conftest.er1 >conftest.err
33482 rm -f conftest.er1
33483 cat conftest.err >&5
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 (exit $ac_status); } && {
33486 test -z "$ac_c_werror_flag" ||
33487 test ! -s conftest.err
33488 } && test -s conftest$ac_exeext &&
33489 $as_test_x conftest$ac_exeext; then
33490 ac_cv_lib_Sgm_SgCreateList=yes
33491 else
33492 echo "$as_me: failed program was:" >&5
33493 sed 's/^/| /' conftest.$ac_ext >&5
33494
33495 ac_cv_lib_Sgm_SgCreateList=no
33496 fi
33497
33498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33499 conftest$ac_exeext conftest.$ac_ext
33500 LIBS=$ac_check_lib_save_LIBS
33501 fi
33502 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33503 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33504 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33505 libsgm_link=" -lSgm"
33506 fi
33507
33508
33509 save_CFLAGS=$CFLAGS
33510 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33511
33512 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33513 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33514 if test "${wx_cv_lib_motif2+set}" = set; then
33515 echo $ECHO_N "(cached) $ECHO_C" >&6
33516 else
33517 cat >conftest.$ac_ext <<_ACEOF
33518 /* confdefs.h. */
33519 _ACEOF
33520 cat confdefs.h >>conftest.$ac_ext
33521 cat >>conftest.$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33523
33524 #include <Xm/Xm.h>
33525
33526 int
33527 main ()
33528 {
33529
33530 #if XmVersion < 2000
33531 Not Motif 2
33532 #endif
33533
33534 ;
33535 return 0;
33536 }
33537 _ACEOF
33538 rm -f conftest.$ac_objext
33539 if { (ac_try="$ac_compile"
33540 case "(($ac_try" in
33541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33542 *) ac_try_echo=$ac_try;;
33543 esac
33544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33545 (eval "$ac_compile") 2>conftest.er1
33546 ac_status=$?
33547 grep -v '^ *+' conftest.er1 >conftest.err
33548 rm -f conftest.er1
33549 cat conftest.err >&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); } && {
33552 test -z "$ac_c_werror_flag" ||
33553 test ! -s conftest.err
33554 } && test -s conftest.$ac_objext; then
33555 wx_cv_lib_motif2="yes"
33556 else
33557 echo "$as_me: failed program was:" >&5
33558 sed 's/^/| /' conftest.$ac_ext >&5
33559
33560 wx_cv_lib_motif2="no"
33561 fi
33562
33563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33564 fi
33565 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33566 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33567 if test "$wx_cv_lib_motif2" = "yes"; then
33568 cat >>confdefs.h <<\_ACEOF
33569 #define __WXMOTIF20__ 1
33570 _ACEOF
33571
33572 else
33573 cat >>confdefs.h <<\_ACEOF
33574 #define __WXMOTIF20__ 0
33575 _ACEOF
33576
33577 fi
33578
33579 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33580 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33581 if test "${wx_cv_lib_lesstif+set}" = set; then
33582 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 else
33584 cat >conftest.$ac_ext <<_ACEOF
33585 /* confdefs.h. */
33586 _ACEOF
33587 cat confdefs.h >>conftest.$ac_ext
33588 cat >>conftest.$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33590
33591 #include <Xm/Xm.h>
33592
33593 int
33594 main ()
33595 {
33596
33597 #if !defined(LesstifVersion) || LesstifVersion <= 0
33598 Not Lesstif
33599 #endif
33600
33601 ;
33602 return 0;
33603 }
33604 _ACEOF
33605 rm -f conftest.$ac_objext
33606 if { (ac_try="$ac_compile"
33607 case "(($ac_try" in
33608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33609 *) ac_try_echo=$ac_try;;
33610 esac
33611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33612 (eval "$ac_compile") 2>conftest.er1
33613 ac_status=$?
33614 grep -v '^ *+' conftest.er1 >conftest.err
33615 rm -f conftest.er1
33616 cat conftest.err >&5
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); } && {
33619 test -z "$ac_c_werror_flag" ||
33620 test ! -s conftest.err
33621 } && test -s conftest.$ac_objext; then
33622 wx_cv_lib_lesstif="yes"
33623 else
33624 echo "$as_me: failed program was:" >&5
33625 sed 's/^/| /' conftest.$ac_ext >&5
33626
33627 wx_cv_lib_lesstif="no"
33628 fi
33629
33630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33631
33632 fi
33633 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33634 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33635 if test "$wx_cv_lib_lesstif" = "yes"; then
33636 cat >>confdefs.h <<\_ACEOF
33637 #define __WXLESSTIF__ 1
33638 _ACEOF
33639
33640 else
33641 cat >>confdefs.h <<\_ACEOF
33642 #define __WXLESSTIF__ 0
33643 _ACEOF
33644
33645 fi
33646
33647 CFLAGS=$save_CFLAGS
33648
33649 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33650 TOOLKIT=MOTIF
33651 GUIDIST=MOTIF_DIST
33652 fi
33653
33654 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33655 if test "$wxUSE_LIBXPM" = "sys"; then
33656 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33657 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33658
33659 ac_find_libraries=
33660 for ac_dir in $SEARCH_LIB
33661 do
33662 for ac_extension in a so sl dylib dll.a; do
33663 if test -f "$ac_dir/libXpm.$ac_extension"; then
33664 ac_find_libraries=$ac_dir
33665 break 2
33666 fi
33667 done
33668 done
33669
33670 if test "$ac_find_libraries" != "" ; then
33671
33672 if test "$ac_find_libraries" = "default location"; then
33673 ac_path_to_link=""
33674 else
33675 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33676 result=$?
33677 if test $result = 0; then
33678 ac_path_to_link=""
33679 else
33680 ac_path_to_link=" -L$ac_find_libraries"
33681 fi
33682 fi
33683
33684 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33685 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33686 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33687
33688 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33689 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33690 if test "${wx_cv_x11_xpm_h+set}" = set; then
33691 echo $ECHO_N "(cached) $ECHO_C" >&6
33692 else
33693
33694 save_CFLAGS=$CFLAGS
33695 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33696
33697 cat >conftest.$ac_ext <<_ACEOF
33698 /* confdefs.h. */
33699 _ACEOF
33700 cat confdefs.h >>conftest.$ac_ext
33701 cat >>conftest.$ac_ext <<_ACEOF
33702 /* end confdefs.h. */
33703
33704 #include <X11/xpm.h>
33705
33706 int
33707 main ()
33708 {
33709
33710 int version;
33711 version = XpmLibraryVersion();
33712
33713 ;
33714 return 0;
33715 }
33716 _ACEOF
33717 rm -f conftest.$ac_objext
33718 if { (ac_try="$ac_compile"
33719 case "(($ac_try" in
33720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33721 *) ac_try_echo=$ac_try;;
33722 esac
33723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33724 (eval "$ac_compile") 2>conftest.er1
33725 ac_status=$?
33726 grep -v '^ *+' conftest.er1 >conftest.err
33727 rm -f conftest.er1
33728 cat conftest.err >&5
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); } && {
33731 test -z "$ac_c_werror_flag" ||
33732 test ! -s conftest.err
33733 } && test -s conftest.$ac_objext; then
33734 wx_cv_x11_xpm_h=yes
33735 else
33736 echo "$as_me: failed program was:" >&5
33737 sed 's/^/| /' conftest.$ac_ext >&5
33738
33739 wx_cv_x11_xpm_h=no
33740
33741 fi
33742
33743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33744
33745 CFLAGS=$save_CFLAGS
33746
33747
33748 fi
33749 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33750 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33751
33752 if test $wx_cv_x11_xpm_h = "yes"; then
33753 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33754 cat >>confdefs.h <<\_ACEOF
33755 #define wxHAVE_LIB_XPM 1
33756 _ACEOF
33757
33758 else
33759 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33760 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33761 fi
33762 fi
33763
33764 fi
33765
33766 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33767 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33768 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33769 echo $ECHO_N "(cached) $ECHO_C" >&6
33770 else
33771 ac_check_lib_save_LIBS=$LIBS
33772 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33773 cat >conftest.$ac_ext <<_ACEOF
33774 /* confdefs.h. */
33775 _ACEOF
33776 cat confdefs.h >>conftest.$ac_ext
33777 cat >>conftest.$ac_ext <<_ACEOF
33778 /* end confdefs.h. */
33779
33780 /* Override any GCC internal prototype to avoid an error.
33781 Use char because int might match the return type of a GCC
33782 builtin and then its argument prototype would still apply. */
33783 #ifdef __cplusplus
33784 extern "C"
33785 #endif
33786 char XShapeQueryExtension ();
33787 int
33788 main ()
33789 {
33790 return XShapeQueryExtension ();
33791 ;
33792 return 0;
33793 }
33794 _ACEOF
33795 rm -f conftest.$ac_objext conftest$ac_exeext
33796 if { (ac_try="$ac_link"
33797 case "(($ac_try" in
33798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33799 *) ac_try_echo=$ac_try;;
33800 esac
33801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33802 (eval "$ac_link") 2>conftest.er1
33803 ac_status=$?
33804 grep -v '^ *+' conftest.er1 >conftest.err
33805 rm -f conftest.er1
33806 cat conftest.err >&5
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); } && {
33809 test -z "$ac_c_werror_flag" ||
33810 test ! -s conftest.err
33811 } && test -s conftest$ac_exeext &&
33812 $as_test_x conftest$ac_exeext; then
33813 ac_cv_lib_Xext_XShapeQueryExtension=yes
33814 else
33815 echo "$as_me: failed program was:" >&5
33816 sed 's/^/| /' conftest.$ac_ext >&5
33817
33818 ac_cv_lib_Xext_XShapeQueryExtension=no
33819 fi
33820
33821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33822 conftest$ac_exeext conftest.$ac_ext
33823 LIBS=$ac_check_lib_save_LIBS
33824 fi
33825 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33826 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33827 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33828
33829 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33830 wxHAVE_XEXT_LIB=1
33831
33832 fi
33833
33834
33835 if test "$wxHAVE_XEXT_LIB" = 1; then
33836 save_CFLAGS="$CFLAGS"
33837 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33838
33839 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33840 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33841 cat >conftest.$ac_ext <<_ACEOF
33842 /* confdefs.h. */
33843 _ACEOF
33844 cat confdefs.h >>conftest.$ac_ext
33845 cat >>conftest.$ac_ext <<_ACEOF
33846 /* end confdefs.h. */
33847
33848 #include <X11/Xlib.h>
33849 #include <X11/extensions/shape.h>
33850
33851 int
33852 main ()
33853 {
33854
33855 int dummy1, dummy2;
33856 XShapeQueryExtension((Display*)NULL,
33857 (int*)NULL, (int*)NULL);
33858
33859 ;
33860 return 0;
33861 }
33862 _ACEOF
33863 rm -f conftest.$ac_objext
33864 if { (ac_try="$ac_compile"
33865 case "(($ac_try" in
33866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33867 *) ac_try_echo=$ac_try;;
33868 esac
33869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33870 (eval "$ac_compile") 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } && {
33877 test -z "$ac_c_werror_flag" ||
33878 test ! -s conftest.err
33879 } && test -s conftest.$ac_objext; then
33880
33881 cat >>confdefs.h <<\_ACEOF
33882 #define HAVE_XSHAPE 1
33883 _ACEOF
33884
33885 { echo "$as_me:$LINENO: result: found" >&5
33886 echo "${ECHO_T}found" >&6; }
33887
33888 else
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33891
33892
33893 { echo "$as_me:$LINENO: result: not found" >&5
33894 echo "${ECHO_T}not found" >&6; }
33895
33896 fi
33897
33898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33899 CFLAGS="$save_CFLAGS"
33900
33901 fi
33902 fi
33903
33904 if test "$wxUSE_OSX_CARBON" = 1; then
33905 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33906 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33907 if test "$GCC" = yes; then
33908 { echo "$as_me:$LINENO: result: gcc" >&5
33909 echo "${ECHO_T}gcc" >&6; }
33910 CPPFLAGS_PASCAL="-fpascal-strings"
33911 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33912 { echo "$as_me:$LINENO: result: xlc" >&5
33913 echo "${ECHO_T}xlc" >&6; }
33914 CPPFLAGS_PASCAL="-qmacpstr"
33915 else
33916 { echo "$as_me:$LINENO: result: none" >&5
33917 echo "${ECHO_T}none" >&6; }
33918 fi
33919
33920 if test "x$wxUSE_UNIX" = "xyes"; then
33921 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33922 else
33923 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33924 fi
33925
33926 TOOLKIT=OSX_CARBON
33927 GUIDIST=OSX_CARBON_DIST
33928 WXBASEPORT="_carbon"
33929
33930 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33931 fi
33932
33933 if test "$wxUSE_OSX_COCOA" = 1; then
33934 TOOLKIT=OSX_COCOA
33935 GUIDIST=OSX_COCOA_DIST
33936
33937 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33938 fi
33939
33940 if test "$wxUSE_OSX_IPHONE" = 1; then
33941 TOOLKIT=OSX_IPHONE
33942 fi
33943
33944 if test "$wxUSE_OLD_COCOA" = 1; then
33945 TOOLKIT=COCOA
33946 GUIDIST=COCOA_DIST
33947 fi
33948
33949 if test "$wxUSE_PM" = 1; then
33950 TOOLKIT=PM
33951 GUIDIST=PM_DIST
33952 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33953 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33954 if test "${wx_cv_spbcdata+set}" = set; then
33955 echo $ECHO_N "(cached) $ECHO_C" >&6
33956 else
33957
33958 cat >conftest.$ac_ext <<_ACEOF
33959 /* confdefs.h. */
33960 _ACEOF
33961 cat confdefs.h >>conftest.$ac_ext
33962 cat >>conftest.$ac_ext <<_ACEOF
33963 /* end confdefs.h. */
33964
33965 #define INCL_PM
33966 #include <os2.h>
33967
33968 int
33969 main ()
33970 {
33971
33972 SPBCDATA test;
33973
33974 ;
33975 return 0;
33976 }
33977 _ACEOF
33978 rm -f conftest.$ac_objext
33979 if { (ac_try="$ac_compile"
33980 case "(($ac_try" in
33981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33982 *) ac_try_echo=$ac_try;;
33983 esac
33984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33985 (eval "$ac_compile") 2>conftest.er1
33986 ac_status=$?
33987 grep -v '^ *+' conftest.er1 >conftest.err
33988 rm -f conftest.er1
33989 cat conftest.err >&5
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); } && {
33992 test -z "$ac_c_werror_flag" ||
33993 test ! -s conftest.err
33994 } && test -s conftest.$ac_objext; then
33995 wx_cv_spbcdata=yes
33996 else
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
33999
34000 wx_cv_spbcdata=no
34001
34002 fi
34003
34004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34005
34006
34007 fi
34008 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34009 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34010
34011 if test $wx_cv_spbcdata = "yes"; then
34012 cat >>confdefs.h <<\_ACEOF
34013 #define HAVE_SPBCDATA 1
34014 _ACEOF
34015
34016 fi
34017 fi
34018
34019 if test "$TOOLKIT" = "PM" ; then
34020 TOOLKIT_DIR="os2"
34021 else
34022 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34023 fi
34024
34025 if test "$wxUSE_UNIVERSAL" = "yes"; then
34026 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34027 WIDGET_SET=univ
34028 fi
34029
34030 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34031 DISTDIR="wx\$(TOOLKIT)"
34032 else
34033 USE_GUI=0
34034
34035 TOOLKIT_DIR="base"
34036
34037 if test "$USE_WIN32" = 1 ; then
34038 TOOLKIT="MSW"
34039 fi
34040
34041 GUIDIST="BASE_DIST"
34042 DISTDIR="wxBase"
34043 fi
34044
34045
34046
34047 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34048 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34049 wxUSE_UNICODE_UTF8=yes
34050 elif test "$USE_OS2" = 1 ; then
34051 wxUSE_UNICODE_UTF8=yes
34052 else
34053 wxUSE_UNICODE_UTF8=no
34054 fi
34055 fi
34056
34057
34058 if test "$wxUSE_GUI" = "yes"; then
34059 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34060
34061 for ac_header in X11/Xlib.h
34062 do
34063 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34064 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34066 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 else
34069 cat >conftest.$ac_ext <<_ACEOF
34070 /* confdefs.h. */
34071 _ACEOF
34072 cat confdefs.h >>conftest.$ac_ext
34073 cat >>conftest.$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34075
34076
34077 #include <$ac_header>
34078 _ACEOF
34079 rm -f conftest.$ac_objext
34080 if { (ac_try="$ac_compile"
34081 case "(($ac_try" in
34082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34083 *) ac_try_echo=$ac_try;;
34084 esac
34085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34086 (eval "$ac_compile") 2>conftest.er1
34087 ac_status=$?
34088 grep -v '^ *+' conftest.er1 >conftest.err
34089 rm -f conftest.er1
34090 cat conftest.err >&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); } && {
34093 test -z "$ac_c_werror_flag" ||
34094 test ! -s conftest.err
34095 } && test -s conftest.$ac_objext; then
34096 eval "$as_ac_Header=yes"
34097 else
34098 echo "$as_me: failed program was:" >&5
34099 sed 's/^/| /' conftest.$ac_ext >&5
34100
34101 eval "$as_ac_Header=no"
34102 fi
34103
34104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34105 fi
34106 ac_res=`eval echo '${'$as_ac_Header'}'`
34107 { echo "$as_me:$LINENO: result: $ac_res" >&5
34108 echo "${ECHO_T}$ac_res" >&6; }
34109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34110 cat >>confdefs.h <<_ACEOF
34111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34112 _ACEOF
34113
34114 fi
34115
34116 done
34117
34118
34119 for ac_header in X11/XKBlib.h
34120 do
34121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34125 echo $ECHO_N "(cached) $ECHO_C" >&6
34126 else
34127 cat >conftest.$ac_ext <<_ACEOF
34128 /* confdefs.h. */
34129 _ACEOF
34130 cat confdefs.h >>conftest.$ac_ext
34131 cat >>conftest.$ac_ext <<_ACEOF
34132 /* end confdefs.h. */
34133
34134 #if HAVE_X11_XLIB_H
34135 #include <X11/Xlib.h>
34136 #endif
34137
34138
34139 #include <$ac_header>
34140 _ACEOF
34141 rm -f conftest.$ac_objext
34142 if { (ac_try="$ac_compile"
34143 case "(($ac_try" in
34144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34145 *) ac_try_echo=$ac_try;;
34146 esac
34147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34148 (eval "$ac_compile") 2>conftest.er1
34149 ac_status=$?
34150 grep -v '^ *+' conftest.er1 >conftest.err
34151 rm -f conftest.er1
34152 cat conftest.err >&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); } && {
34155 test -z "$ac_c_werror_flag" ||
34156 test ! -s conftest.err
34157 } && test -s conftest.$ac_objext; then
34158 eval "$as_ac_Header=yes"
34159 else
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34162
34163 eval "$as_ac_Header=no"
34164 fi
34165
34166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34167 fi
34168 ac_res=`eval echo '${'$as_ac_Header'}'`
34169 { echo "$as_me:$LINENO: result: $ac_res" >&5
34170 echo "${ECHO_T}$ac_res" >&6; }
34171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34172 cat >>confdefs.h <<_ACEOF
34173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34174 _ACEOF
34175
34176 fi
34177
34178 done
34179
34180 fi
34181 fi
34182
34183
34184
34185 USE_XINERAMA=0
34186 if test "$wxUSE_DISPLAY" = "yes"; then
34187 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34188 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34189 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34190
34191 ac_find_libraries=
34192 for ac_dir in $SEARCH_LIB
34193 do
34194 for ac_extension in a so sl dylib dll.a; do
34195 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34196 ac_find_libraries=$ac_dir
34197 break 2
34198 fi
34199 done
34200 done
34201
34202 if test "$ac_find_libraries" != "" ; then
34203
34204 if test "$ac_find_libraries" = "default location"; then
34205 ac_path_to_link=""
34206 else
34207 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34208 result=$?
34209 if test $result = 0; then
34210 ac_path_to_link=""
34211 else
34212 ac_path_to_link=" -L$ac_find_libraries"
34213 fi
34214 fi
34215
34216 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34217 LDFLAGS="$LDFLAGS $ac_path_to_link"
34218 fi
34219 USE_XINERAMA=1
34220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34221 { echo "$as_me:$LINENO: result: yes" >&5
34222 echo "${ECHO_T}yes" >&6; }
34223 else
34224 { echo "$as_me:$LINENO: result: no" >&5
34225 echo "${ECHO_T}no" >&6; }
34226 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34227 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34228 wxUSE_DISPLAY="no"
34229 fi
34230 elif test "$wxUSE_MSW" = 1; then
34231 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34232 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34233 if test "${ac_cv_header_ddraw_h+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 else
34236 cat >conftest.$ac_ext <<_ACEOF
34237 /* confdefs.h. */
34238 _ACEOF
34239 cat confdefs.h >>conftest.$ac_ext
34240 cat >>conftest.$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34242 #include <windows.h>
34243
34244 #include <ddraw.h>
34245 _ACEOF
34246 rm -f conftest.$ac_objext
34247 if { (ac_try="$ac_compile"
34248 case "(($ac_try" in
34249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34250 *) ac_try_echo=$ac_try;;
34251 esac
34252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34253 (eval "$ac_compile") 2>conftest.er1
34254 ac_status=$?
34255 grep -v '^ *+' conftest.er1 >conftest.err
34256 rm -f conftest.er1
34257 cat conftest.err >&5
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); } && {
34260 test -z "$ac_c_werror_flag" ||
34261 test ! -s conftest.err
34262 } && test -s conftest.$ac_objext; then
34263 ac_cv_header_ddraw_h=yes
34264 else
34265 echo "$as_me: failed program was:" >&5
34266 sed 's/^/| /' conftest.$ac_ext >&5
34267
34268 ac_cv_header_ddraw_h=no
34269 fi
34270
34271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34272 fi
34273 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34274 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34275
34276
34277 fi
34278 fi
34279
34280 if test "$wxUSE_DISPLAY" = "yes"; then
34281 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34282 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34283 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34284
34285 ac_find_libraries=
34286 for ac_dir in $SEARCH_LIB
34287 do
34288 for ac_extension in a so sl dylib dll.a; do
34289 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34290 ac_find_libraries=$ac_dir
34291 break 2
34292 fi
34293 done
34294 done
34295
34296 if test "$ac_find_libraries" != "" ; then
34297 { echo "$as_me:$LINENO: result: yes" >&5
34298 echo "${ECHO_T}yes" >&6; }
34299
34300 for ac_header in X11/extensions/xf86vmode.h
34301 do
34302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34306 echo $ECHO_N "(cached) $ECHO_C" >&6
34307 else
34308 cat >conftest.$ac_ext <<_ACEOF
34309 /* confdefs.h. */
34310 _ACEOF
34311 cat confdefs.h >>conftest.$ac_ext
34312 cat >>conftest.$ac_ext <<_ACEOF
34313 /* end confdefs.h. */
34314
34315 #if HAVE_X11_XLIB_H
34316 #include <X11/Xlib.h>
34317 #endif
34318
34319
34320 #include <$ac_header>
34321 _ACEOF
34322 rm -f conftest.$ac_objext
34323 if { (ac_try="$ac_compile"
34324 case "(($ac_try" in
34325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34326 *) ac_try_echo=$ac_try;;
34327 esac
34328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34329 (eval "$ac_compile") 2>conftest.er1
34330 ac_status=$?
34331 grep -v '^ *+' conftest.er1 >conftest.err
34332 rm -f conftest.er1
34333 cat conftest.err >&5
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); } && {
34336 test -z "$ac_c_werror_flag" ||
34337 test ! -s conftest.err
34338 } && test -s conftest.$ac_objext; then
34339 eval "$as_ac_Header=yes"
34340 else
34341 echo "$as_me: failed program was:" >&5
34342 sed 's/^/| /' conftest.$ac_ext >&5
34343
34344 eval "$as_ac_Header=no"
34345 fi
34346
34347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34348 fi
34349 ac_res=`eval echo '${'$as_ac_Header'}'`
34350 { echo "$as_me:$LINENO: result: $ac_res" >&5
34351 echo "${ECHO_T}$ac_res" >&6; }
34352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34353 cat >>confdefs.h <<_ACEOF
34354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34355 _ACEOF
34356
34357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34358
34359 fi
34360
34361 done
34362
34363 else
34364 { echo "$as_me:$LINENO: result: no" >&5
34365 echo "${ECHO_T}no" >&6; }
34366 fi
34367 fi
34368 fi
34369
34370 if test "$wxUSE_DETECT_SM" = "yes"; then
34371 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34372 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34373 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34374
34375 ac_find_libraries=
34376 for ac_dir in $SEARCH_LIB
34377 do
34378 for ac_extension in a so sl dylib dll.a; do
34379 if test -f "$ac_dir/libSM.$ac_extension"; then
34380 ac_find_libraries=$ac_dir
34381 break 2
34382 fi
34383 done
34384 done
34385
34386 if test "$ac_find_libraries" != "" ; then
34387
34388 if test "$ac_find_libraries" = "default location"; then
34389 ac_path_to_link=""
34390 else
34391 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34392 result=$?
34393 if test $result = 0; then
34394 ac_path_to_link=""
34395 else
34396 ac_path_to_link=" -L$ac_find_libraries"
34397 fi
34398 fi
34399
34400 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34401 LDFLAGS="$LDFLAGS $ac_path_to_link"
34402 fi
34403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34404 { echo "$as_me:$LINENO: result: yes" >&5
34405 echo "${ECHO_T}yes" >&6; }
34406 else
34407 { echo "$as_me:$LINENO: result: no" >&5
34408 echo "${ECHO_T}no" >&6; }
34409 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34410 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34411 wxUSE_DETECT_SM="no"
34412 fi
34413 else
34414 wxUSE_DETECT_SM="no"
34415 fi
34416 fi
34417
34418
34419
34420 USE_OPENGL=0
34421 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34422
34423
34424 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34425 OPENGL_LIBS="-framework OpenGL -framework AGL"
34426 elif test "$wxUSE_MSW" = 1; then
34427 OPENGL_LIBS="-lopengl32 -lglu32"
34428 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34429
34430 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34431 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34432
34433 ac_find_includes=
34434 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34435 do
34436 if test -f "$ac_dir/GL/gl.h"; then
34437 ac_find_includes=$ac_dir
34438 break
34439 fi
34440 done
34441
34442 if test "$ac_find_includes" != "" ; then
34443 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34444 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34445
34446 if test "x$ac_find_includes" = "x/usr/include"; then
34447 ac_path_to_include=""
34448 else
34449 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34450 result=$?
34451 if test $result = 0; then
34452 ac_path_to_include=""
34453 else
34454 ac_path_to_include=" -I$ac_find_includes"
34455 fi
34456 fi
34457
34458 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34459 else
34460 { echo "$as_me:$LINENO: result: not found" >&5
34461 echo "${ECHO_T}not found" >&6; }
34462 fi
34463
34464 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34465 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34466 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34467 echo $ECHO_N "(cached) $ECHO_C" >&6
34468 else
34469 cat >conftest.$ac_ext <<_ACEOF
34470 /* confdefs.h. */
34471 _ACEOF
34472 cat confdefs.h >>conftest.$ac_ext
34473 cat >>conftest.$ac_ext <<_ACEOF
34474 /* end confdefs.h. */
34475
34476
34477 #include <GL/gl.h>
34478 _ACEOF
34479 rm -f conftest.$ac_objext
34480 if { (ac_try="$ac_compile"
34481 case "(($ac_try" in
34482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34483 *) ac_try_echo=$ac_try;;
34484 esac
34485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34486 (eval "$ac_compile") 2>conftest.er1
34487 ac_status=$?
34488 grep -v '^ *+' conftest.er1 >conftest.err
34489 rm -f conftest.er1
34490 cat conftest.err >&5
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); } && {
34493 test -z "$ac_c_werror_flag" ||
34494 test ! -s conftest.err
34495 } && test -s conftest.$ac_objext; then
34496 ac_cv_header_GL_gl_h=yes
34497 else
34498 echo "$as_me: failed program was:" >&5
34499 sed 's/^/| /' conftest.$ac_ext >&5
34500
34501 ac_cv_header_GL_gl_h=no
34502 fi
34503
34504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34505 fi
34506 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34507 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34508 if test $ac_cv_header_GL_gl_h = yes; then
34509
34510 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34511 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34512 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34513 echo $ECHO_N "(cached) $ECHO_C" >&6
34514 else
34515 cat >conftest.$ac_ext <<_ACEOF
34516 /* confdefs.h. */
34517 _ACEOF
34518 cat confdefs.h >>conftest.$ac_ext
34519 cat >>conftest.$ac_ext <<_ACEOF
34520 /* end confdefs.h. */
34521
34522
34523 #include <GL/glu.h>
34524 _ACEOF
34525 rm -f conftest.$ac_objext
34526 if { (ac_try="$ac_compile"
34527 case "(($ac_try" in
34528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34529 *) ac_try_echo=$ac_try;;
34530 esac
34531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34532 (eval "$ac_compile") 2>conftest.er1
34533 ac_status=$?
34534 grep -v '^ *+' conftest.er1 >conftest.err
34535 rm -f conftest.er1
34536 cat conftest.err >&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); } && {
34539 test -z "$ac_c_werror_flag" ||
34540 test ! -s conftest.err
34541 } && test -s conftest.$ac_objext; then
34542 ac_cv_header_GL_glu_h=yes
34543 else
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.$ac_ext >&5
34546
34547 ac_cv_header_GL_glu_h=no
34548 fi
34549
34550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34551 fi
34552 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34553 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34554 if test $ac_cv_header_GL_glu_h = yes; then
34555
34556 found_gl=0
34557
34558 { echo "$as_me:$LINENO: checking for -lGL" >&5
34559 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34560
34561 ac_find_libraries=
34562 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34563 do
34564 for ac_extension in a so sl dylib dll.a; do
34565 if test -f "$ac_dir/libGL.$ac_extension"; then
34566 ac_find_libraries=$ac_dir
34567 break 2
34568 fi
34569 done
34570 done
34571
34572 if test "$ac_find_libraries" != "" ; then
34573 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34574 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34575
34576
34577 if test "$ac_find_libraries" = "default location"; then
34578 ac_path_to_link=""
34579 else
34580 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34581 result=$?
34582 if test $result = 0; then
34583 ac_path_to_link=""
34584 else
34585 ac_path_to_link=" -L$ac_find_libraries"
34586 fi
34587 fi
34588
34589 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34590 LDFLAGS_GL="$ac_path_to_link"
34591 fi
34592
34593 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34594 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34595
34596 ac_find_libraries=
34597 for ac_dir in $SEARCH_LIB
34598 do
34599 for ac_extension in a so sl dylib dll.a; do
34600 if test -f "$ac_dir/libGLU.$ac_extension"; then
34601 ac_find_libraries=$ac_dir
34602 break 2
34603 fi
34604 done
34605 done
34606
34607 if test "$ac_find_libraries" != "" ; then
34608
34609 if test "$ac_find_libraries" = "default location"; then
34610 ac_path_to_link=""
34611 else
34612 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34613 result=$?
34614 if test $result = 0; then
34615 ac_path_to_link=""
34616 else
34617 ac_path_to_link=" -L$ac_find_libraries"
34618 fi
34619 fi
34620
34621 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34622 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34623 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34624 fi
34625
34626 found_gl=1
34627 OPENGL_LIBS="-lGL -lGLU"
34628 { echo "$as_me:$LINENO: result: yes" >&5
34629 echo "${ECHO_T}yes" >&6; }
34630 else
34631 { echo "$as_me:$LINENO: result: no" >&5
34632 echo "${ECHO_T}no" >&6; }
34633 fi
34634 else
34635 { echo "$as_me:$LINENO: result: no" >&5
34636 echo "${ECHO_T}no" >&6; }
34637 fi
34638
34639 if test "$found_gl" != 1; then
34640 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34641 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34642
34643 ac_find_libraries=
34644 for ac_dir in $SEARCH_LIB
34645 do
34646 for ac_extension in a so sl dylib dll.a; do
34647 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34648 ac_find_libraries=$ac_dir
34649 break 2
34650 fi
34651 done
34652 done
34653
34654 if test "$ac_find_libraries" != "" ; then
34655
34656 if test "$ac_find_libraries" = "default location"; then
34657 ac_path_to_link=""
34658 else
34659 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34660 result=$?
34661 if test $result = 0; then
34662 ac_path_to_link=""
34663 else
34664 ac_path_to_link=" -L$ac_find_libraries"
34665 fi
34666 fi
34667
34668 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34669 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34670 { echo "$as_me:$LINENO: result: yes" >&5
34671 echo "${ECHO_T}yes" >&6; }
34672 else
34673 { echo "$as_me:$LINENO: result: no" >&5
34674 echo "${ECHO_T}no" >&6; }
34675 fi
34676 fi
34677
34678 fi
34679
34680
34681
34682 fi
34683
34684
34685
34686 if test "x$OPENGL_LIBS" = "x"; then
34687 if test "$wxUSE_OPENGL" = "yes"; then
34688 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34689 echo "$as_me: error: OpenGL libraries not available" >&2;}
34690 { (exit 1); exit 1; }; }
34691 else
34692 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34693 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34694 wxUSE_OPENGL=no
34695 USE_OPENGL=0
34696 fi
34697 fi
34698 else
34699 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34700 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34701 wxUSE_OPENGL="no"
34702 fi
34703
34704 if test "$wxUSE_OPENGL" = "auto"; then
34705 wxUSE_OPENGL=yes
34706 fi
34707
34708 if test "$wxUSE_OPENGL" = "yes"; then
34709 USE_OPENGL=1
34710 cat >>confdefs.h <<\_ACEOF
34711 #define wxUSE_OPENGL 1
34712 _ACEOF
34713
34714 cat >>confdefs.h <<\_ACEOF
34715 #define wxUSE_GLCANVAS 1
34716 _ACEOF
34717
34718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34719 fi
34720 fi
34721
34722
34723 if test -n "$TOOLKIT" ; then
34724 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34725 fi
34726
34727
34728
34729 if test "$wxUSE_SHARED" = "yes"; then
34730 case "${host}" in
34731 *-pc-msdosdjgpp )
34732 wxUSE_SHARED=no
34733 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34734 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34735 ;;
34736 esac
34737 fi
34738
34739 if test "$wxUSE_SHARED" = "yes"; then
34740
34741
34742 case "${host}" in
34743 *-*-cygwin* | *-*-mingw* )
34744 wx_cv_version_script=no
34745 ;;
34746
34747 *)
34748 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34749 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34750 if test "${wx_cv_version_script+set}" = set; then
34751 echo $ECHO_N "(cached) $ECHO_C" >&6
34752 else
34753
34754 echo "VER_1 { *; };" >conftest.sym
34755 echo "int main() { return 0; }" >conftest.cpp
34756
34757 if { ac_try='
34758 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34759 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34761 (eval $ac_try) 2>&5
34762 ac_status=$?
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); }; } ; then
34765 if test -s conftest.stderr ; then
34766 wx_cv_version_script=no
34767 else
34768 wx_cv_version_script=yes
34769 fi
34770 else
34771 wx_cv_version_script=no
34772 fi
34773
34774 if test $wx_cv_version_script = yes
34775 then
34776 echo "struct B { virtual ~B() { } }; \
34777 struct D : public B { }; \
34778 void F() { D d; }" > conftest.cpp
34779
34780 if { ac_try='
34781 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34782 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34784 (eval $ac_try) 2>&5
34785 ac_status=$?
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); }; } &&
34788 { ac_try='
34789 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34790 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34793 ac_status=$?
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; }
34796 then
34797 if { ac_try='
34798 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34799 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34802 ac_status=$?
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; }
34805 then
34806 wx_cv_version_script=yes
34807 else
34808 wx_cv_version_script=no
34809 fi
34810 fi
34811 fi
34812
34813 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34814 rm -f conftest1.output conftest2.output conftest3.output
34815
34816 fi
34817 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34818 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34819
34820 if test $wx_cv_version_script = yes ; then
34821 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34822 fi
34823 ;;
34824 esac
34825
34826
34827 if test "$wxUSE_VISIBILITY" != "no"; then
34828
34829
34830 if test -n "$GCC"; then
34831 CFLAGS_VISIBILITY="-fvisibility=hidden"
34832 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34833 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34834 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34835 if test "${wx_cv_cc_visibility+set}" = set; then
34836 echo $ECHO_N "(cached) $ECHO_C" >&6
34837 else
34838
34839 wx_save_CXXFLAGS="$CXXFLAGS"
34840 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34841 ac_ext=cpp
34842 ac_cpp='$CXXCPP $CPPFLAGS'
34843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34846
34847 cat >conftest.$ac_ext <<_ACEOF
34848 /* confdefs.h. */
34849 _ACEOF
34850 cat confdefs.h >>conftest.$ac_ext
34851 cat >>conftest.$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34853
34854 /* we need gcc >= 4.0, older versions with visibility support
34855 didn't have class visibility: */
34856 #if defined(__GNUC__) && __GNUC__ < 4
34857 error this gcc is too old;
34858 #endif
34859
34860 /* visibility only makes sense for ELF shared libs: */
34861 #if !defined(__ELF__) && !defined(__APPLE__)
34862 error this platform has no visibility;
34863 #endif
34864
34865 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34866 extern __attribute__((__visibility__("default"))) int exportedvar;
34867 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34868 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34869 class __attribute__((__visibility__("default"))) Foo {
34870 Foo() {}
34871 };
34872
34873 int
34874 main ()
34875 {
34876
34877 ;
34878 return 0;
34879 }
34880 _ACEOF
34881 rm -f conftest.$ac_objext
34882 if { (ac_try="$ac_compile"
34883 case "(($ac_try" in
34884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34885 *) ac_try_echo=$ac_try;;
34886 esac
34887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34888 (eval "$ac_compile") 2>conftest.er1
34889 ac_status=$?
34890 grep -v '^ *+' conftest.er1 >conftest.err
34891 rm -f conftest.er1
34892 cat conftest.err >&5
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); } && {
34895 test -z "$ac_cxx_werror_flag" ||
34896 test ! -s conftest.err
34897 } && test -s conftest.$ac_objext; then
34898 wx_cv_cc_visibility=yes
34899 else
34900 echo "$as_me: failed program was:" >&5
34901 sed 's/^/| /' conftest.$ac_ext >&5
34902
34903 wx_cv_cc_visibility=no
34904 fi
34905
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34907 ac_ext=c
34908 ac_cpp='$CPP $CPPFLAGS'
34909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34912
34913 CXXFLAGS="$wx_save_CXXFLAGS"
34914 fi
34915
34916 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34917 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34918 if test $wx_cv_cc_visibility = yes; then
34919 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34920 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34921 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34923 else
34924
34925 wx_save_CXXFLAGS="$CXXFLAGS"
34926 wx_save_LDFLAGS="$LDFLAGS"
34927 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34928 LDFLAGS="$LDFLAGS -shared -fPIC"
34929 ac_ext=cpp
34930 ac_cpp='$CXXCPP $CPPFLAGS'
34931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34934
34935 cat >conftest.$ac_ext <<_ACEOF
34936 /* confdefs.h. */
34937 _ACEOF
34938 cat confdefs.h >>conftest.$ac_ext
34939 cat >>conftest.$ac_ext <<_ACEOF
34940 /* end confdefs.h. */
34941
34942 #include <string>
34943
34944 int
34945 main ()
34946 {
34947
34948 std::string s("hello");
34949 return s.length();
34950
34951 ;
34952 return 0;
34953 }
34954 _ACEOF
34955 rm -f conftest.$ac_objext conftest$ac_exeext
34956 if { (ac_try="$ac_link"
34957 case "(($ac_try" in
34958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34959 *) ac_try_echo=$ac_try;;
34960 esac
34961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34962 (eval "$ac_link") 2>conftest.er1
34963 ac_status=$?
34964 grep -v '^ *+' conftest.er1 >conftest.err
34965 rm -f conftest.er1
34966 cat conftest.err >&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); } && {
34969 test -z "$ac_cxx_werror_flag" ||
34970 test ! -s conftest.err
34971 } && test -s conftest$ac_exeext &&
34972 $as_test_x conftest$ac_exeext; then
34973 wx_cv_cc_broken_libstdcxx_visibility=no
34974 else
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.$ac_ext >&5
34977
34978 wx_cv_cc_broken_libstdcxx_visibility=yes
34979 fi
34980
34981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34982 conftest$ac_exeext conftest.$ac_ext
34983 ac_ext=c
34984 ac_cpp='$CPP $CPPFLAGS'
34985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34988
34989 CXXFLAGS="$wx_save_CXXFLAGS"
34990 LDFLAGS="$wx_save_LDFLAGS"
34991 fi
34992
34993 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34994 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34995
34996 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34997 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34998 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34999 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35000 echo $ECHO_N "(cached) $ECHO_C" >&6
35001 else
35002
35003 ac_ext=cpp
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008
35009 cat >conftest.$ac_ext <<_ACEOF
35010 /* confdefs.h. */
35011 _ACEOF
35012 cat confdefs.h >>conftest.$ac_ext
35013 cat >>conftest.$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35015
35016 #pragma GCC visibility push(default)
35017 #include <string>
35018 #pragma GCC visibility pop
35019
35020 int
35021 main ()
35022 {
35023
35024 std::string s("hello");
35025 return s.length();
35026
35027 ;
35028 return 0;
35029 }
35030 _ACEOF
35031 rm -f conftest.$ac_objext conftest$ac_exeext
35032 if { (ac_try="$ac_link"
35033 case "(($ac_try" in
35034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35035 *) ac_try_echo=$ac_try;;
35036 esac
35037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35038 (eval "$ac_link") 2>conftest.er1
35039 ac_status=$?
35040 grep -v '^ *+' conftest.er1 >conftest.err
35041 rm -f conftest.er1
35042 cat conftest.err >&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); } && {
35045 test -z "$ac_cxx_werror_flag" ||
35046 test ! -s conftest.err
35047 } && test -s conftest$ac_exeext &&
35048 $as_test_x conftest$ac_exeext; then
35049 wx_cv_cc_visibility_workaround=no
35050 else
35051 echo "$as_me: failed program was:" >&5
35052 sed 's/^/| /' conftest.$ac_ext >&5
35053
35054 wx_cv_cc_visibility_workaround=yes
35055 fi
35056
35057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35058 conftest$ac_exeext conftest.$ac_ext
35059 ac_ext=c
35060 ac_cpp='$CPP $CPPFLAGS'
35061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35064
35065
35066 fi
35067
35068 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35069 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35070
35071 if test $wx_cv_cc_visibility_workaround = no; then
35072 wx_cv_cc_visibility=no
35073 fi
35074 fi
35075 fi
35076
35077 if test $wx_cv_cc_visibility = yes; then
35078 cat >>confdefs.h <<\_ACEOF
35079 #define HAVE_VISIBILITY 1
35080 _ACEOF
35081
35082 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35083 cat >>confdefs.h <<\_ACEOF
35084 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35085 _ACEOF
35086
35087 fi
35088 else
35089 CFLAGS_VISIBILITY=""
35090 CXXFLAGS_VISIBILITY=""
35091 fi
35092
35093
35094 fi
35095
35096 fi
35097
35098 if test "x$SUNCXX" = xyes; then
35099 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35100 WXCONFIG_RPATH="-R\$libdir"
35101 else
35102 case "${host}" in
35103 *-*-linux* | *-*-gnu* )
35104 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35105 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35106 ;;
35107
35108 *-*-solaris2* )
35109
35110 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35111
35112 saveLdflags="$LDFLAGS"
35113 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35114 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35115 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35116 cat >conftest.$ac_ext <<_ACEOF
35117 /* confdefs.h. */
35118 _ACEOF
35119 cat confdefs.h >>conftest.$ac_ext
35120 cat >>conftest.$ac_ext <<_ACEOF
35121 /* end confdefs.h. */
35122
35123 int
35124 main ()
35125 {
35126
35127 ;
35128 return 0;
35129 }
35130 _ACEOF
35131 rm -f conftest.$ac_objext conftest$ac_exeext
35132 if { (ac_try="$ac_link"
35133 case "(($ac_try" in
35134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35135 *) ac_try_echo=$ac_try;;
35136 esac
35137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35138 (eval "$ac_link") 2>conftest.er1
35139 ac_status=$?
35140 grep -v '^ *+' conftest.er1 >conftest.err
35141 rm -f conftest.er1
35142 cat conftest.err >&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 (exit $ac_status); } && {
35145 test -z "$ac_c_werror_flag" ||
35146 test ! -s conftest.err
35147 } && test -s conftest$ac_exeext &&
35148 $as_test_x conftest$ac_exeext; then
35149
35150 { echo "$as_me:$LINENO: result: yes" >&5
35151 echo "${ECHO_T}yes" >&6; }
35152 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35153 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35154
35155 else
35156 echo "$as_me: failed program was:" >&5
35157 sed 's/^/| /' conftest.$ac_ext >&5
35158
35159
35160 { echo "$as_me:$LINENO: result: no" >&5
35161 echo "${ECHO_T}no" >&6; }
35162 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35163 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35164 LDFLAGS="$saveLdflags -Wl,-R,/"
35165 cat >conftest.$ac_ext <<_ACEOF
35166 /* confdefs.h. */
35167 _ACEOF
35168 cat confdefs.h >>conftest.$ac_ext
35169 cat >>conftest.$ac_ext <<_ACEOF
35170 /* end confdefs.h. */
35171
35172 int
35173 main ()
35174 {
35175
35176 ;
35177 return 0;
35178 }
35179 _ACEOF
35180 rm -f conftest.$ac_objext conftest$ac_exeext
35181 if { (ac_try="$ac_link"
35182 case "(($ac_try" in
35183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35184 *) ac_try_echo=$ac_try;;
35185 esac
35186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35187 (eval "$ac_link") 2>conftest.er1
35188 ac_status=$?
35189 grep -v '^ *+' conftest.er1 >conftest.err
35190 rm -f conftest.er1
35191 cat conftest.err >&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } && {
35194 test -z "$ac_c_werror_flag" ||
35195 test ! -s conftest.err
35196 } && test -s conftest$ac_exeext &&
35197 $as_test_x conftest$ac_exeext; then
35198
35199 { echo "$as_me:$LINENO: result: yes" >&5
35200 echo "${ECHO_T}yes" >&6; }
35201 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35202 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35203
35204 else
35205 echo "$as_me: failed program was:" >&5
35206 sed 's/^/| /' conftest.$ac_ext >&5
35207
35208
35209 { echo "$as_me:$LINENO: result: no" >&5
35210 echo "${ECHO_T}no" >&6; }
35211
35212 fi
35213
35214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35215 conftest$ac_exeext conftest.$ac_ext
35216
35217 fi
35218
35219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35220 conftest$ac_exeext conftest.$ac_ext
35221 LDFLAGS="$saveLdflags"
35222 ;;
35223
35224 *-*-darwin* )
35225 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35226 if test "$install_name_tool" -a -x "$install_name_tool"; then
35227 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35228 cat <<EOF >change-install-names
35229 #!/bin/sh
35230 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35231 for i in \${libnames} ; do
35232 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35233 for dep in \${libnames} ; do
35234 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35235 done
35236 done
35237 EOF
35238 chmod +x change-install-names
35239 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35240 fi
35241
35242 HEADER_PAD_OPTION="-headerpad_max_install_names"
35243 ;;
35244
35245 *-*-cygwin* | *-*-mingw32* )
35246 ;;
35247
35248 *-*-hpux* )
35249 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35250 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35251 ;;
35252
35253 esac
35254 fi
35255
35256 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35257
35258 if test $wxUSE_RPATH = "no"; then
35259 SAMPLES_RPATH_FLAG=''
35260 DYLIB_PATH_POSTLINK=''
35261 WXCONFIG_RPATH=''
35262 fi
35263
35264 SHARED=1
35265
35266 else
35267
35268 config_linkage_component="-static"
35269 SHARED=0
35270
35271 fi
35272
35273
35274 UNICODE=0
35275 lib_unicode_suffix=
35276 WX_CHARTYPE="ansi"
35277 if test "$wxUSE_UNICODE" = "yes"; then
35278 lib_unicode_suffix=u
35279 WX_CHARTYPE="unicode"
35280 UNICODE=1
35281 fi
35282
35283 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35284 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35285
35286 DEBUG_INFO=0
35287 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35288 DEBUG_INFO=1
35289 fi
35290
35291 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35292
35293 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35294
35295 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35296
35297
35298 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35299 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35300 else
35301 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35302 fi
35303 if test "${TOOLKIT_DIR}" = "os2"; then
35304 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35305 else
35306 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35307 fi
35308
35309
35310
35311 if test "$wxUSE_OLD_COCOA" = 1; then
35312
35313 ac_ext=c
35314 ac_cpp='$CPP $CPPFLAGS'
35315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35318
35319 ac_ext=m
35320
35321 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35322 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35323 cat >conftest.$ac_ext <<_ACEOF
35324 /* confdefs.h. */
35325 _ACEOF
35326 cat confdefs.h >>conftest.$ac_ext
35327 cat >>conftest.$ac_ext <<_ACEOF
35328 /* end confdefs.h. */
35329 #include <AppKit/NSEvent.h>
35330 #include <CoreFoundation/CoreFoundation.h>
35331
35332 int
35333 main ()
35334 {
35335
35336 ;
35337 return 0;
35338 }
35339 _ACEOF
35340 rm -f conftest.$ac_objext
35341 if { (ac_try="$ac_compile"
35342 case "(($ac_try" in
35343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35344 *) ac_try_echo=$ac_try;;
35345 esac
35346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35347 (eval "$ac_compile") 2>conftest.er1
35348 ac_status=$?
35349 grep -v '^ *+' conftest.er1 >conftest.err
35350 rm -f conftest.er1
35351 cat conftest.err >&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); } && {
35354 test -z "$ac_c_werror_flag" ||
35355 test ! -s conftest.err
35356 } && test -s conftest.$ac_objext; then
35357 { echo "$as_me:$LINENO: result: no" >&5
35358 echo "${ECHO_T}no" >&6; }
35359 else
35360 echo "$as_me: failed program was:" >&5
35361 sed 's/^/| /' conftest.$ac_ext >&5
35362
35363 { echo "$as_me:$LINENO: result: yes" >&5
35364 echo "${ECHO_T}yes" >&6; }
35365 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35366 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35367 cat >conftest.$ac_ext <<_ACEOF
35368 /* confdefs.h. */
35369 _ACEOF
35370 cat confdefs.h >>conftest.$ac_ext
35371 cat >>conftest.$ac_ext <<_ACEOF
35372 /* end confdefs.h. */
35373 #define __Point__ 1
35374 #include <AppKit/NSEvent.h>
35375 #include <CoreFoundation/CoreFoundation.h>
35376
35377 int
35378 main ()
35379 {
35380
35381 ;
35382 return 0;
35383 }
35384 _ACEOF
35385 rm -f conftest.$ac_objext
35386 if { (ac_try="$ac_compile"
35387 case "(($ac_try" in
35388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35389 *) ac_try_echo=$ac_try;;
35390 esac
35391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35392 (eval "$ac_compile") 2>conftest.er1
35393 ac_status=$?
35394 grep -v '^ *+' conftest.er1 >conftest.err
35395 rm -f conftest.er1
35396 cat conftest.err >&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } && {
35399 test -z "$ac_c_werror_flag" ||
35400 test ! -s conftest.err
35401 } && test -s conftest.$ac_objext; then
35402 { echo "$as_me:$LINENO: result: yes" >&5
35403 echo "${ECHO_T}yes" >&6; }
35404 cat >>confdefs.h <<\_ACEOF
35405 #define __Point__ 1
35406 _ACEOF
35407
35408
35409 else
35410 echo "$as_me: failed program was:" >&5
35411 sed 's/^/| /' conftest.$ac_ext >&5
35412
35413 { { echo "$as_me:$LINENO: error: no
35414 See \`config.log' for more details." >&5
35415 echo "$as_me: error: no
35416 See \`config.log' for more details." >&2;}
35417 { (exit 1); exit 1; }; }
35418
35419 fi
35420
35421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35422
35423 fi
35424
35425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35426 ac_ext=c
35427 ac_cpp='$CPP $CPPFLAGS'
35428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35431
35432 fi
35433
35434
35435 { echo "$as_me:$LINENO: checking for mode_t" >&5
35436 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35437 if test "${ac_cv_type_mode_t+set}" = set; then
35438 echo $ECHO_N "(cached) $ECHO_C" >&6
35439 else
35440 cat >conftest.$ac_ext <<_ACEOF
35441 /* confdefs.h. */
35442 _ACEOF
35443 cat confdefs.h >>conftest.$ac_ext
35444 cat >>conftest.$ac_ext <<_ACEOF
35445 /* end confdefs.h. */
35446 $ac_includes_default
35447 typedef mode_t ac__type_new_;
35448 int
35449 main ()
35450 {
35451 if ((ac__type_new_ *) 0)
35452 return 0;
35453 if (sizeof (ac__type_new_))
35454 return 0;
35455 ;
35456 return 0;
35457 }
35458 _ACEOF
35459 rm -f conftest.$ac_objext
35460 if { (ac_try="$ac_compile"
35461 case "(($ac_try" in
35462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35463 *) ac_try_echo=$ac_try;;
35464 esac
35465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35466 (eval "$ac_compile") 2>conftest.er1
35467 ac_status=$?
35468 grep -v '^ *+' conftest.er1 >conftest.err
35469 rm -f conftest.er1
35470 cat conftest.err >&5
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); } && {
35473 test -z "$ac_c_werror_flag" ||
35474 test ! -s conftest.err
35475 } && test -s conftest.$ac_objext; then
35476 ac_cv_type_mode_t=yes
35477 else
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35480
35481 ac_cv_type_mode_t=no
35482 fi
35483
35484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35485 fi
35486 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35487 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35488 if test $ac_cv_type_mode_t = yes; then
35489 :
35490 else
35491
35492 cat >>confdefs.h <<_ACEOF
35493 #define mode_t int
35494 _ACEOF
35495
35496 fi
35497
35498 { echo "$as_me:$LINENO: checking for off_t" >&5
35499 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35500 if test "${ac_cv_type_off_t+set}" = set; then
35501 echo $ECHO_N "(cached) $ECHO_C" >&6
35502 else
35503 cat >conftest.$ac_ext <<_ACEOF
35504 /* confdefs.h. */
35505 _ACEOF
35506 cat confdefs.h >>conftest.$ac_ext
35507 cat >>conftest.$ac_ext <<_ACEOF
35508 /* end confdefs.h. */
35509 $ac_includes_default
35510 typedef off_t ac__type_new_;
35511 int
35512 main ()
35513 {
35514 if ((ac__type_new_ *) 0)
35515 return 0;
35516 if (sizeof (ac__type_new_))
35517 return 0;
35518 ;
35519 return 0;
35520 }
35521 _ACEOF
35522 rm -f conftest.$ac_objext
35523 if { (ac_try="$ac_compile"
35524 case "(($ac_try" in
35525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35526 *) ac_try_echo=$ac_try;;
35527 esac
35528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35529 (eval "$ac_compile") 2>conftest.er1
35530 ac_status=$?
35531 grep -v '^ *+' conftest.er1 >conftest.err
35532 rm -f conftest.er1
35533 cat conftest.err >&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); } && {
35536 test -z "$ac_c_werror_flag" ||
35537 test ! -s conftest.err
35538 } && test -s conftest.$ac_objext; then
35539 ac_cv_type_off_t=yes
35540 else
35541 echo "$as_me: failed program was:" >&5
35542 sed 's/^/| /' conftest.$ac_ext >&5
35543
35544 ac_cv_type_off_t=no
35545 fi
35546
35547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35548 fi
35549 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35550 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35551 if test $ac_cv_type_off_t = yes; then
35552 :
35553 else
35554
35555 cat >>confdefs.h <<_ACEOF
35556 #define off_t long int
35557 _ACEOF
35558
35559 fi
35560
35561 { echo "$as_me:$LINENO: checking for pid_t" >&5
35562 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35563 if test "${ac_cv_type_pid_t+set}" = set; then
35564 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 else
35566 cat >conftest.$ac_ext <<_ACEOF
35567 /* confdefs.h. */
35568 _ACEOF
35569 cat confdefs.h >>conftest.$ac_ext
35570 cat >>conftest.$ac_ext <<_ACEOF
35571 /* end confdefs.h. */
35572 $ac_includes_default
35573 typedef pid_t ac__type_new_;
35574 int
35575 main ()
35576 {
35577 if ((ac__type_new_ *) 0)
35578 return 0;
35579 if (sizeof (ac__type_new_))
35580 return 0;
35581 ;
35582 return 0;
35583 }
35584 _ACEOF
35585 rm -f conftest.$ac_objext
35586 if { (ac_try="$ac_compile"
35587 case "(($ac_try" in
35588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35589 *) ac_try_echo=$ac_try;;
35590 esac
35591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35592 (eval "$ac_compile") 2>conftest.er1
35593 ac_status=$?
35594 grep -v '^ *+' conftest.er1 >conftest.err
35595 rm -f conftest.er1
35596 cat conftest.err >&5
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); } && {
35599 test -z "$ac_c_werror_flag" ||
35600 test ! -s conftest.err
35601 } && test -s conftest.$ac_objext; then
35602 ac_cv_type_pid_t=yes
35603 else
35604 echo "$as_me: failed program was:" >&5
35605 sed 's/^/| /' conftest.$ac_ext >&5
35606
35607 ac_cv_type_pid_t=no
35608 fi
35609
35610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35611 fi
35612 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35613 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35614 if test $ac_cv_type_pid_t = yes; then
35615 :
35616 else
35617
35618 cat >>confdefs.h <<_ACEOF
35619 #define pid_t int
35620 _ACEOF
35621
35622 fi
35623
35624 { echo "$as_me:$LINENO: checking for size_t" >&5
35625 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35626 if test "${ac_cv_type_size_t+set}" = set; then
35627 echo $ECHO_N "(cached) $ECHO_C" >&6
35628 else
35629 cat >conftest.$ac_ext <<_ACEOF
35630 /* confdefs.h. */
35631 _ACEOF
35632 cat confdefs.h >>conftest.$ac_ext
35633 cat >>conftest.$ac_ext <<_ACEOF
35634 /* end confdefs.h. */
35635 $ac_includes_default
35636 typedef size_t ac__type_new_;
35637 int
35638 main ()
35639 {
35640 if ((ac__type_new_ *) 0)
35641 return 0;
35642 if (sizeof (ac__type_new_))
35643 return 0;
35644 ;
35645 return 0;
35646 }
35647 _ACEOF
35648 rm -f conftest.$ac_objext
35649 if { (ac_try="$ac_compile"
35650 case "(($ac_try" in
35651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35652 *) ac_try_echo=$ac_try;;
35653 esac
35654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35655 (eval "$ac_compile") 2>conftest.er1
35656 ac_status=$?
35657 grep -v '^ *+' conftest.er1 >conftest.err
35658 rm -f conftest.er1
35659 cat conftest.err >&5
35660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661 (exit $ac_status); } && {
35662 test -z "$ac_c_werror_flag" ||
35663 test ! -s conftest.err
35664 } && test -s conftest.$ac_objext; then
35665 ac_cv_type_size_t=yes
35666 else
35667 echo "$as_me: failed program was:" >&5
35668 sed 's/^/| /' conftest.$ac_ext >&5
35669
35670 ac_cv_type_size_t=no
35671 fi
35672
35673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35674 fi
35675 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35676 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35677 if test $ac_cv_type_size_t = yes; then
35678 :
35679 else
35680
35681 cat >>confdefs.h <<_ACEOF
35682 #define size_t unsigned int
35683 _ACEOF
35684
35685 fi
35686
35687
35688 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35689 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35690 if test "${ac_cv_type_ssize_t+set}" = set; then
35691 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 else
35693 cat >conftest.$ac_ext <<_ACEOF
35694 /* confdefs.h. */
35695 _ACEOF
35696 cat confdefs.h >>conftest.$ac_ext
35697 cat >>conftest.$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35699 $ac_includes_default
35700 typedef ssize_t ac__type_new_;
35701 int
35702 main ()
35703 {
35704 if ((ac__type_new_ *) 0)
35705 return 0;
35706 if (sizeof (ac__type_new_))
35707 return 0;
35708 ;
35709 return 0;
35710 }
35711 _ACEOF
35712 rm -f conftest.$ac_objext
35713 if { (ac_try="$ac_compile"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35717 esac
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_compile") 2>conftest.er1
35720 ac_status=$?
35721 grep -v '^ *+' conftest.er1 >conftest.err
35722 rm -f conftest.er1
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_c_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest.$ac_objext; then
35729 ac_cv_type_ssize_t=yes
35730 else
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.$ac_ext >&5
35733
35734 ac_cv_type_ssize_t=no
35735 fi
35736
35737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35738 fi
35739 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35740 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35741 if test $ac_cv_type_ssize_t = yes; then
35742
35743 cat >>confdefs.h <<_ACEOF
35744 #define HAVE_SSIZE_T 1
35745 _ACEOF
35746
35747
35748 fi
35749
35750
35751 ac_ext=cpp
35752 ac_cpp='$CXXCPP $CPPFLAGS'
35753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35756 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35757 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35758 if test "${wx_cv_size_t_is_uint+set}" = set; then
35759 echo $ECHO_N "(cached) $ECHO_C" >&6
35760 else
35761
35762 cat >conftest.$ac_ext <<_ACEOF
35763 /* confdefs.h. */
35764 _ACEOF
35765 cat confdefs.h >>conftest.$ac_ext
35766 cat >>conftest.$ac_ext <<_ACEOF
35767 /* end confdefs.h. */
35768 #include <stddef.h>
35769 int
35770 main ()
35771 {
35772
35773 return 0; }
35774
35775 struct Foo { void foo(size_t); void foo(unsigned int); };
35776
35777 int bar() {
35778
35779 ;
35780 return 0;
35781 }
35782 _ACEOF
35783 rm -f conftest.$ac_objext
35784 if { (ac_try="$ac_compile"
35785 case "(($ac_try" in
35786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35787 *) ac_try_echo=$ac_try;;
35788 esac
35789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35790 (eval "$ac_compile") 2>conftest.er1
35791 ac_status=$?
35792 grep -v '^ *+' conftest.er1 >conftest.err
35793 rm -f conftest.er1
35794 cat conftest.err >&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); } && {
35797 test -z "$ac_cxx_werror_flag" ||
35798 test ! -s conftest.err
35799 } && test -s conftest.$ac_objext; then
35800 wx_cv_size_t_is_uint=no
35801 else
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35804
35805 wx_cv_size_t_is_uint=yes
35806
35807 fi
35808
35809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35810
35811
35812 fi
35813 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35814 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35815
35816 if test "$wx_cv_size_t_is_uint" = "yes"; then
35817 cat >>confdefs.h <<\_ACEOF
35818 #define wxSIZE_T_IS_UINT 1
35819 _ACEOF
35820
35821 else
35822 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35823 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35824 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35825 echo $ECHO_N "(cached) $ECHO_C" >&6
35826 else
35827 cat >conftest.$ac_ext <<_ACEOF
35828 /* confdefs.h. */
35829 _ACEOF
35830 cat confdefs.h >>conftest.$ac_ext
35831 cat >>conftest.$ac_ext <<_ACEOF
35832 /* end confdefs.h. */
35833 #include <stddef.h>
35834 int
35835 main ()
35836 {
35837
35838 return 0; }
35839
35840 struct Foo { void foo(size_t); void foo(unsigned long); };
35841
35842 int bar() {
35843
35844 ;
35845 return 0;
35846 }
35847 _ACEOF
35848 rm -f conftest.$ac_objext
35849 if { (ac_try="$ac_compile"
35850 case "(($ac_try" in
35851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35852 *) ac_try_echo=$ac_try;;
35853 esac
35854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35855 (eval "$ac_compile") 2>conftest.er1
35856 ac_status=$?
35857 grep -v '^ *+' conftest.er1 >conftest.err
35858 rm -f conftest.er1
35859 cat conftest.err >&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); } && {
35862 test -z "$ac_cxx_werror_flag" ||
35863 test ! -s conftest.err
35864 } && test -s conftest.$ac_objext; then
35865 wx_cv_size_t_is_ulong=no
35866 else
35867 echo "$as_me: failed program was:" >&5
35868 sed 's/^/| /' conftest.$ac_ext >&5
35869
35870 wx_cv_size_t_is_ulong=yes
35871
35872 fi
35873
35874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35875
35876 fi
35877 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35878 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35879
35880 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35881 cat >>confdefs.h <<\_ACEOF
35882 #define wxSIZE_T_IS_ULONG 1
35883 _ACEOF
35884
35885 fi
35886 fi
35887
35888 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35889 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35890 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35891 echo $ECHO_N "(cached) $ECHO_C" >&6
35892 else
35893 cat >conftest.$ac_ext <<_ACEOF
35894 /* confdefs.h. */
35895 _ACEOF
35896 cat confdefs.h >>conftest.$ac_ext
35897 cat >>conftest.$ac_ext <<_ACEOF
35898 /* end confdefs.h. */
35899 #include <wchar.h>
35900 int
35901 main ()
35902 {
35903
35904 return 0; }
35905
35906 struct Foo { void foo(wchar_t);
35907 void foo(unsigned short);
35908 void foo(unsigned int);
35909 void foo(unsigned long); };
35910
35911 int bar() {
35912
35913 ;
35914 return 0;
35915 }
35916 _ACEOF
35917 rm -f conftest.$ac_objext
35918 if { (ac_try="$ac_compile"
35919 case "(($ac_try" in
35920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35921 *) ac_try_echo=$ac_try;;
35922 esac
35923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35924 (eval "$ac_compile") 2>conftest.er1
35925 ac_status=$?
35926 grep -v '^ *+' conftest.er1 >conftest.err
35927 rm -f conftest.er1
35928 cat conftest.err >&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); } && {
35931 test -z "$ac_cxx_werror_flag" ||
35932 test ! -s conftest.err
35933 } && test -s conftest.$ac_objext; then
35934 wx_cv_wchar_t_is_separate_type=yes
35935 else
35936 echo "$as_me: failed program was:" >&5
35937 sed 's/^/| /' conftest.$ac_ext >&5
35938
35939 wx_cv_wchar_t_is_separate_type=no
35940
35941 fi
35942
35943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35944
35945 fi
35946 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35947 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35948
35949 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35950 cat >>confdefs.h <<\_ACEOF
35951 #define wxWCHAR_T_IS_REAL_TYPE 1
35952 _ACEOF
35953
35954 else
35955 cat >>confdefs.h <<\_ACEOF
35956 #define wxWCHAR_T_IS_REAL_TYPE 0
35957 _ACEOF
35958
35959 fi
35960
35961 ac_ext=c
35962 ac_cpp='$CPP $CPPFLAGS'
35963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35966
35967
35968 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35969 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35970 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35971 echo $ECHO_N "(cached) $ECHO_C" >&6
35972 else
35973
35974 cat >conftest.$ac_ext <<_ACEOF
35975 /* confdefs.h. */
35976 _ACEOF
35977 cat confdefs.h >>conftest.$ac_ext
35978 cat >>conftest.$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35980 #include <pwd.h>
35981 int
35982 main ()
35983 {
35984
35985 char *p;
35986 struct passwd *pw;
35987 p = pw->pw_gecos;
35988
35989 ;
35990 return 0;
35991 }
35992 _ACEOF
35993 rm -f conftest.$ac_objext
35994 if { (ac_try="$ac_compile"
35995 case "(($ac_try" in
35996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35997 *) ac_try_echo=$ac_try;;
35998 esac
35999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36000 (eval "$ac_compile") 2>conftest.er1
36001 ac_status=$?
36002 grep -v '^ *+' conftest.er1 >conftest.err
36003 rm -f conftest.er1
36004 cat conftest.err >&5
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); } && {
36007 test -z "$ac_c_werror_flag" ||
36008 test ! -s conftest.err
36009 } && test -s conftest.$ac_objext; then
36010
36011 wx_cv_struct_pw_gecos=yes
36012
36013 else
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36016
36017
36018 wx_cv_struct_pw_gecos=no
36019
36020
36021 fi
36022
36023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36024
36025
36026 fi
36027 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36028 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36029
36030 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36031 cat >>confdefs.h <<\_ACEOF
36032 #define HAVE_PW_GECOS 1
36033 _ACEOF
36034
36035 fi
36036
36037
36038 WCSLEN_FOUND=0
36039 WCHAR_LINK=
36040
36041 for ac_func in wcslen
36042 do
36043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36044 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36046 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36048 else
36049 cat >conftest.$ac_ext <<_ACEOF
36050 /* confdefs.h. */
36051 _ACEOF
36052 cat confdefs.h >>conftest.$ac_ext
36053 cat >>conftest.$ac_ext <<_ACEOF
36054 /* end confdefs.h. */
36055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36057 #define $ac_func innocuous_$ac_func
36058
36059 /* System header to define __stub macros and hopefully few prototypes,
36060 which can conflict with char $ac_func (); below.
36061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36062 <limits.h> exists even on freestanding compilers. */
36063
36064 #ifdef __STDC__
36065 # include <limits.h>
36066 #else
36067 # include <assert.h>
36068 #endif
36069
36070 #undef $ac_func
36071
36072 /* Override any GCC internal prototype to avoid an error.
36073 Use char because int might match the return type of a GCC
36074 builtin and then its argument prototype would still apply. */
36075 #ifdef __cplusplus
36076 extern "C"
36077 #endif
36078 char $ac_func ();
36079 /* The GNU C library defines this for functions which it implements
36080 to always fail with ENOSYS. Some functions are actually named
36081 something starting with __ and the normal name is an alias. */
36082 #if defined __stub_$ac_func || defined __stub___$ac_func
36083 choke me
36084 #endif
36085
36086 int
36087 main ()
36088 {
36089 return $ac_func ();
36090 ;
36091 return 0;
36092 }
36093 _ACEOF
36094 rm -f conftest.$ac_objext conftest$ac_exeext
36095 if { (ac_try="$ac_link"
36096 case "(($ac_try" in
36097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36098 *) ac_try_echo=$ac_try;;
36099 esac
36100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36101 (eval "$ac_link") 2>conftest.er1
36102 ac_status=$?
36103 grep -v '^ *+' conftest.er1 >conftest.err
36104 rm -f conftest.er1
36105 cat conftest.err >&5
36106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107 (exit $ac_status); } && {
36108 test -z "$ac_c_werror_flag" ||
36109 test ! -s conftest.err
36110 } && test -s conftest$ac_exeext &&
36111 $as_test_x conftest$ac_exeext; then
36112 eval "$as_ac_var=yes"
36113 else
36114 echo "$as_me: failed program was:" >&5
36115 sed 's/^/| /' conftest.$ac_ext >&5
36116
36117 eval "$as_ac_var=no"
36118 fi
36119
36120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36121 conftest$ac_exeext conftest.$ac_ext
36122 fi
36123 ac_res=`eval echo '${'$as_ac_var'}'`
36124 { echo "$as_me:$LINENO: result: $ac_res" >&5
36125 echo "${ECHO_T}$ac_res" >&6; }
36126 if test `eval echo '${'$as_ac_var'}'` = yes; then
36127 cat >>confdefs.h <<_ACEOF
36128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36129 _ACEOF
36130 WCSLEN_FOUND=1
36131 fi
36132 done
36133
36134
36135 if test "$WCSLEN_FOUND" = 0; then
36136 if test "$TOOLKIT" = "MSW"; then
36137 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36138 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36139 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36140 echo $ECHO_N "(cached) $ECHO_C" >&6
36141 else
36142 ac_check_lib_save_LIBS=$LIBS
36143 LIBS="-lmsvcrt $LIBS"
36144 cat >conftest.$ac_ext <<_ACEOF
36145 /* confdefs.h. */
36146 _ACEOF
36147 cat confdefs.h >>conftest.$ac_ext
36148 cat >>conftest.$ac_ext <<_ACEOF
36149 /* end confdefs.h. */
36150
36151 /* Override any GCC internal prototype to avoid an error.
36152 Use char because int might match the return type of a GCC
36153 builtin and then its argument prototype would still apply. */
36154 #ifdef __cplusplus
36155 extern "C"
36156 #endif
36157 char wcslen ();
36158 int
36159 main ()
36160 {
36161 return wcslen ();
36162 ;
36163 return 0;
36164 }
36165 _ACEOF
36166 rm -f conftest.$ac_objext conftest$ac_exeext
36167 if { (ac_try="$ac_link"
36168 case "(($ac_try" in
36169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36170 *) ac_try_echo=$ac_try;;
36171 esac
36172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36173 (eval "$ac_link") 2>conftest.er1
36174 ac_status=$?
36175 grep -v '^ *+' conftest.er1 >conftest.err
36176 rm -f conftest.er1
36177 cat conftest.err >&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); } && {
36180 test -z "$ac_c_werror_flag" ||
36181 test ! -s conftest.err
36182 } && test -s conftest$ac_exeext &&
36183 $as_test_x conftest$ac_exeext; then
36184 ac_cv_lib_msvcrt_wcslen=yes
36185 else
36186 echo "$as_me: failed program was:" >&5
36187 sed 's/^/| /' conftest.$ac_ext >&5
36188
36189 ac_cv_lib_msvcrt_wcslen=no
36190 fi
36191
36192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36193 conftest$ac_exeext conftest.$ac_ext
36194 LIBS=$ac_check_lib_save_LIBS
36195 fi
36196 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36197 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36198 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36199 WCHAR_OK=1
36200 fi
36201
36202 else
36203 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36204 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36205 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36206 echo $ECHO_N "(cached) $ECHO_C" >&6
36207 else
36208 ac_check_lib_save_LIBS=$LIBS
36209 LIBS="-lw $LIBS"
36210 cat >conftest.$ac_ext <<_ACEOF
36211 /* confdefs.h. */
36212 _ACEOF
36213 cat confdefs.h >>conftest.$ac_ext
36214 cat >>conftest.$ac_ext <<_ACEOF
36215 /* end confdefs.h. */
36216
36217 /* Override any GCC internal prototype to avoid an error.
36218 Use char because int might match the return type of a GCC
36219 builtin and then its argument prototype would still apply. */
36220 #ifdef __cplusplus
36221 extern "C"
36222 #endif
36223 char wcslen ();
36224 int
36225 main ()
36226 {
36227 return wcslen ();
36228 ;
36229 return 0;
36230 }
36231 _ACEOF
36232 rm -f conftest.$ac_objext conftest$ac_exeext
36233 if { (ac_try="$ac_link"
36234 case "(($ac_try" in
36235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36236 *) ac_try_echo=$ac_try;;
36237 esac
36238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36239 (eval "$ac_link") 2>conftest.er1
36240 ac_status=$?
36241 grep -v '^ *+' conftest.er1 >conftest.err
36242 rm -f conftest.er1
36243 cat conftest.err >&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); } && {
36246 test -z "$ac_c_werror_flag" ||
36247 test ! -s conftest.err
36248 } && test -s conftest$ac_exeext &&
36249 $as_test_x conftest$ac_exeext; then
36250 ac_cv_lib_w_wcslen=yes
36251 else
36252 echo "$as_me: failed program was:" >&5
36253 sed 's/^/| /' conftest.$ac_ext >&5
36254
36255 ac_cv_lib_w_wcslen=no
36256 fi
36257
36258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36259 conftest$ac_exeext conftest.$ac_ext
36260 LIBS=$ac_check_lib_save_LIBS
36261 fi
36262 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36263 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36264 if test $ac_cv_lib_w_wcslen = yes; then
36265
36266 WCHAR_LINK=" -lw"
36267 WCSLEN_FOUND=1
36268
36269 fi
36270
36271 fi
36272 fi
36273
36274 if test "$WCSLEN_FOUND" = 1; then
36275 cat >>confdefs.h <<\_ACEOF
36276 #define HAVE_WCSLEN 1
36277 _ACEOF
36278
36279 fi
36280
36281
36282
36283
36284
36285
36286
36287 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36288 do
36289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36290 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36294 else
36295 cat >conftest.$ac_ext <<_ACEOF
36296 /* confdefs.h. */
36297 _ACEOF
36298 cat confdefs.h >>conftest.$ac_ext
36299 cat >>conftest.$ac_ext <<_ACEOF
36300 /* end confdefs.h. */
36301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36303 #define $ac_func innocuous_$ac_func
36304
36305 /* System header to define __stub macros and hopefully few prototypes,
36306 which can conflict with char $ac_func (); below.
36307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36308 <limits.h> exists even on freestanding compilers. */
36309
36310 #ifdef __STDC__
36311 # include <limits.h>
36312 #else
36313 # include <assert.h>
36314 #endif
36315
36316 #undef $ac_func
36317
36318 /* Override any GCC internal prototype to avoid an error.
36319 Use char because int might match the return type of a GCC
36320 builtin and then its argument prototype would still apply. */
36321 #ifdef __cplusplus
36322 extern "C"
36323 #endif
36324 char $ac_func ();
36325 /* The GNU C library defines this for functions which it implements
36326 to always fail with ENOSYS. Some functions are actually named
36327 something starting with __ and the normal name is an alias. */
36328 #if defined __stub_$ac_func || defined __stub___$ac_func
36329 choke me
36330 #endif
36331
36332 int
36333 main ()
36334 {
36335 return $ac_func ();
36336 ;
36337 return 0;
36338 }
36339 _ACEOF
36340 rm -f conftest.$ac_objext conftest$ac_exeext
36341 if { (ac_try="$ac_link"
36342 case "(($ac_try" in
36343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36344 *) ac_try_echo=$ac_try;;
36345 esac
36346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36347 (eval "$ac_link") 2>conftest.er1
36348 ac_status=$?
36349 grep -v '^ *+' conftest.er1 >conftest.err
36350 rm -f conftest.er1
36351 cat conftest.err >&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); } && {
36354 test -z "$ac_c_werror_flag" ||
36355 test ! -s conftest.err
36356 } && test -s conftest$ac_exeext &&
36357 $as_test_x conftest$ac_exeext; then
36358 eval "$as_ac_var=yes"
36359 else
36360 echo "$as_me: failed program was:" >&5
36361 sed 's/^/| /' conftest.$ac_ext >&5
36362
36363 eval "$as_ac_var=no"
36364 fi
36365
36366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36367 conftest$ac_exeext conftest.$ac_ext
36368 fi
36369 ac_res=`eval echo '${'$as_ac_var'}'`
36370 { echo "$as_me:$LINENO: result: $ac_res" >&5
36371 echo "${ECHO_T}$ac_res" >&6; }
36372 if test `eval echo '${'$as_ac_var'}'` = yes; then
36373 cat >>confdefs.h <<_ACEOF
36374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36375 _ACEOF
36376
36377 fi
36378 done
36379
36380
36381 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36382 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36383 fi
36384
36385 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36386 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36387 if test "${ac_cv_type_mbstate_t+set}" = set; then
36388 echo $ECHO_N "(cached) $ECHO_C" >&6
36389 else
36390 cat >conftest.$ac_ext <<_ACEOF
36391 /* confdefs.h. */
36392 _ACEOF
36393 cat confdefs.h >>conftest.$ac_ext
36394 cat >>conftest.$ac_ext <<_ACEOF
36395 /* end confdefs.h. */
36396 #include <wchar.h>
36397
36398 typedef mbstate_t ac__type_new_;
36399 int
36400 main ()
36401 {
36402 if ((ac__type_new_ *) 0)
36403 return 0;
36404 if (sizeof (ac__type_new_))
36405 return 0;
36406 ;
36407 return 0;
36408 }
36409 _ACEOF
36410 rm -f conftest.$ac_objext
36411 if { (ac_try="$ac_compile"
36412 case "(($ac_try" in
36413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36414 *) ac_try_echo=$ac_try;;
36415 esac
36416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36417 (eval "$ac_compile") 2>conftest.er1
36418 ac_status=$?
36419 grep -v '^ *+' conftest.er1 >conftest.err
36420 rm -f conftest.er1
36421 cat conftest.err >&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } && {
36424 test -z "$ac_c_werror_flag" ||
36425 test ! -s conftest.err
36426 } && test -s conftest.$ac_objext; then
36427 ac_cv_type_mbstate_t=yes
36428 else
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36431
36432 ac_cv_type_mbstate_t=no
36433 fi
36434
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36436 fi
36437 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36438 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36439 if test $ac_cv_type_mbstate_t = yes; then
36440
36441 cat >>confdefs.h <<_ACEOF
36442 #define HAVE_MBSTATE_T 1
36443 _ACEOF
36444
36445
36446 for ac_func in wcsrtombs
36447 do
36448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36452 echo $ECHO_N "(cached) $ECHO_C" >&6
36453 else
36454 cat >conftest.$ac_ext <<_ACEOF
36455 /* confdefs.h. */
36456 _ACEOF
36457 cat confdefs.h >>conftest.$ac_ext
36458 cat >>conftest.$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36462 #define $ac_func innocuous_$ac_func
36463
36464 /* System header to define __stub macros and hopefully few prototypes,
36465 which can conflict with char $ac_func (); below.
36466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36467 <limits.h> exists even on freestanding compilers. */
36468
36469 #ifdef __STDC__
36470 # include <limits.h>
36471 #else
36472 # include <assert.h>
36473 #endif
36474
36475 #undef $ac_func
36476
36477 /* Override any GCC internal prototype to avoid an error.
36478 Use char because int might match the return type of a GCC
36479 builtin and then its argument prototype would still apply. */
36480 #ifdef __cplusplus
36481 extern "C"
36482 #endif
36483 char $ac_func ();
36484 /* The GNU C library defines this for functions which it implements
36485 to always fail with ENOSYS. Some functions are actually named
36486 something starting with __ and the normal name is an alias. */
36487 #if defined __stub_$ac_func || defined __stub___$ac_func
36488 choke me
36489 #endif
36490
36491 int
36492 main ()
36493 {
36494 return $ac_func ();
36495 ;
36496 return 0;
36497 }
36498 _ACEOF
36499 rm -f conftest.$ac_objext conftest$ac_exeext
36500 if { (ac_try="$ac_link"
36501 case "(($ac_try" in
36502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36503 *) ac_try_echo=$ac_try;;
36504 esac
36505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36506 (eval "$ac_link") 2>conftest.er1
36507 ac_status=$?
36508 grep -v '^ *+' conftest.er1 >conftest.err
36509 rm -f conftest.er1
36510 cat conftest.err >&5
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); } && {
36513 test -z "$ac_c_werror_flag" ||
36514 test ! -s conftest.err
36515 } && test -s conftest$ac_exeext &&
36516 $as_test_x conftest$ac_exeext; then
36517 eval "$as_ac_var=yes"
36518 else
36519 echo "$as_me: failed program was:" >&5
36520 sed 's/^/| /' conftest.$ac_ext >&5
36521
36522 eval "$as_ac_var=no"
36523 fi
36524
36525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36526 conftest$ac_exeext conftest.$ac_ext
36527 fi
36528 ac_res=`eval echo '${'$as_ac_var'}'`
36529 { echo "$as_me:$LINENO: result: $ac_res" >&5
36530 echo "${ECHO_T}$ac_res" >&6; }
36531 if test `eval echo '${'$as_ac_var'}'` = yes; then
36532 cat >>confdefs.h <<_ACEOF
36533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36534 _ACEOF
36535
36536 fi
36537 done
36538
36539 fi
36540
36541
36542
36543
36544
36545 for ac_func in snprintf vsnprintf vsscanf
36546 do
36547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36548 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36550 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36551 echo $ECHO_N "(cached) $ECHO_C" >&6
36552 else
36553 cat >conftest.$ac_ext <<_ACEOF
36554 /* confdefs.h. */
36555 _ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36561 #define $ac_func innocuous_$ac_func
36562
36563 /* System header to define __stub macros and hopefully few prototypes,
36564 which can conflict with char $ac_func (); below.
36565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36566 <limits.h> exists even on freestanding compilers. */
36567
36568 #ifdef __STDC__
36569 # include <limits.h>
36570 #else
36571 # include <assert.h>
36572 #endif
36573
36574 #undef $ac_func
36575
36576 /* Override any GCC internal prototype to avoid an error.
36577 Use char because int might match the return type of a GCC
36578 builtin and then its argument prototype would still apply. */
36579 #ifdef __cplusplus
36580 extern "C"
36581 #endif
36582 char $ac_func ();
36583 /* The GNU C library defines this for functions which it implements
36584 to always fail with ENOSYS. Some functions are actually named
36585 something starting with __ and the normal name is an alias. */
36586 #if defined __stub_$ac_func || defined __stub___$ac_func
36587 choke me
36588 #endif
36589
36590 int
36591 main ()
36592 {
36593 return $ac_func ();
36594 ;
36595 return 0;
36596 }
36597 _ACEOF
36598 rm -f conftest.$ac_objext conftest$ac_exeext
36599 if { (ac_try="$ac_link"
36600 case "(($ac_try" in
36601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36602 *) ac_try_echo=$ac_try;;
36603 esac
36604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36605 (eval "$ac_link") 2>conftest.er1
36606 ac_status=$?
36607 grep -v '^ *+' conftest.er1 >conftest.err
36608 rm -f conftest.er1
36609 cat conftest.err >&5
36610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611 (exit $ac_status); } && {
36612 test -z "$ac_c_werror_flag" ||
36613 test ! -s conftest.err
36614 } && test -s conftest$ac_exeext &&
36615 $as_test_x conftest$ac_exeext; then
36616 eval "$as_ac_var=yes"
36617 else
36618 echo "$as_me: failed program was:" >&5
36619 sed 's/^/| /' conftest.$ac_ext >&5
36620
36621 eval "$as_ac_var=no"
36622 fi
36623
36624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36625 conftest$ac_exeext conftest.$ac_ext
36626 fi
36627 ac_res=`eval echo '${'$as_ac_var'}'`
36628 { echo "$as_me:$LINENO: result: $ac_res" >&5
36629 echo "${ECHO_T}$ac_res" >&6; }
36630 if test `eval echo '${'$as_ac_var'}'` = yes; then
36631 cat >>confdefs.h <<_ACEOF
36632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36633 _ACEOF
36634
36635 fi
36636 done
36637
36638
36639 ac_ext=cpp
36640 ac_cpp='$CXXCPP $CPPFLAGS'
36641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36644
36645 if test "$ac_cv_func_vsnprintf" = "yes"; then
36646 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36647 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36648 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36650 else
36651
36652 cat >conftest.$ac_ext <<_ACEOF
36653 /* confdefs.h. */
36654 _ACEOF
36655 cat confdefs.h >>conftest.$ac_ext
36656 cat >>conftest.$ac_ext <<_ACEOF
36657 /* end confdefs.h. */
36658
36659 #include <stdio.h>
36660 #include <stdarg.h>
36661 #ifdef __MSL__
36662 #if __MSL__ >= 0x6000
36663 namespace std {}
36664 using namespace std;
36665 #endif
36666 #endif
36667
36668 int
36669 main ()
36670 {
36671
36672 char *buf;
36673 va_list ap;
36674 vsnprintf(buf, 10u, "%s", ap);
36675
36676 ;
36677 return 0;
36678 }
36679 _ACEOF
36680 rm -f conftest.$ac_objext
36681 if { (ac_try="$ac_compile"
36682 case "(($ac_try" in
36683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36684 *) ac_try_echo=$ac_try;;
36685 esac
36686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36687 (eval "$ac_compile") 2>conftest.er1
36688 ac_status=$?
36689 grep -v '^ *+' conftest.er1 >conftest.err
36690 rm -f conftest.er1
36691 cat conftest.err >&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); } && {
36694 test -z "$ac_cxx_werror_flag" ||
36695 test ! -s conftest.err
36696 } && test -s conftest.$ac_objext; then
36697 wx_cv_func_vsnprintf_decl=yes
36698 else
36699 echo "$as_me: failed program was:" >&5
36700 sed 's/^/| /' conftest.$ac_ext >&5
36701
36702 wx_cv_func_vsnprintf_decl=no
36703
36704 fi
36705
36706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36707
36708
36709 fi
36710 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36711 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36712
36713 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36714 cat >>confdefs.h <<\_ACEOF
36715 #define HAVE_VSNPRINTF_DECL 1
36716 _ACEOF
36717
36718
36719 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36720 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36721 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36722 echo $ECHO_N "(cached) $ECHO_C" >&6
36723 else
36724
36725 cat >conftest.$ac_ext <<_ACEOF
36726 /* confdefs.h. */
36727 _ACEOF
36728 cat confdefs.h >>conftest.$ac_ext
36729 cat >>conftest.$ac_ext <<_ACEOF
36730 /* end confdefs.h. */
36731
36732 #include <stdio.h>
36733 #include <stdarg.h>
36734 #ifdef __MSL__
36735 #if __MSL__ >= 0x6000
36736 namespace std {}
36737 using namespace std;
36738 #endif
36739 #endif
36740
36741 int
36742 main ()
36743 {
36744
36745 char *buf;
36746 va_list ap;
36747 const char *fmt = "%s";
36748 vsnprintf(buf, 10u, fmt, ap);
36749
36750 ;
36751 return 0;
36752 }
36753 _ACEOF
36754 rm -f conftest.$ac_objext
36755 if { (ac_try="$ac_compile"
36756 case "(($ac_try" in
36757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36758 *) ac_try_echo=$ac_try;;
36759 esac
36760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36761 (eval "$ac_compile") 2>conftest.er1
36762 ac_status=$?
36763 grep -v '^ *+' conftest.er1 >conftest.err
36764 rm -f conftest.er1
36765 cat conftest.err >&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); } && {
36768 test -z "$ac_cxx_werror_flag" ||
36769 test ! -s conftest.err
36770 } && test -s conftest.$ac_objext; then
36771 wx_cv_func_broken_vsnprintf_decl=no
36772 else
36773 echo "$as_me: failed program was:" >&5
36774 sed 's/^/| /' conftest.$ac_ext >&5
36775
36776 wx_cv_func_broken_vsnprintf_decl=yes
36777
36778 fi
36779
36780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36781
36782
36783 fi
36784 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36785 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36786
36787 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36788 cat >>confdefs.h <<\_ACEOF
36789 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36790 _ACEOF
36791
36792 fi
36793 fi
36794 fi
36795
36796 if test "$ac_cv_func_snprintf" = "yes"; then
36797 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36798 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36799 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36800 echo $ECHO_N "(cached) $ECHO_C" >&6
36801 else
36802
36803 cat >conftest.$ac_ext <<_ACEOF
36804 /* confdefs.h. */
36805 _ACEOF
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36809
36810 #include <stdio.h>
36811 #include <stdarg.h>
36812 #ifdef __MSL__
36813 #if __MSL__ >= 0x6000
36814 namespace std {}
36815 using namespace std;
36816 #endif
36817 #endif
36818
36819 int
36820 main ()
36821 {
36822
36823 char *buf;
36824 snprintf(buf, 10u, "%s", "wx");
36825
36826 ;
36827 return 0;
36828 }
36829 _ACEOF
36830 rm -f conftest.$ac_objext
36831 if { (ac_try="$ac_compile"
36832 case "(($ac_try" in
36833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36834 *) ac_try_echo=$ac_try;;
36835 esac
36836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36837 (eval "$ac_compile") 2>conftest.er1
36838 ac_status=$?
36839 grep -v '^ *+' conftest.er1 >conftest.err
36840 rm -f conftest.er1
36841 cat conftest.err >&5
36842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843 (exit $ac_status); } && {
36844 test -z "$ac_cxx_werror_flag" ||
36845 test ! -s conftest.err
36846 } && test -s conftest.$ac_objext; then
36847 wx_cv_func_snprintf_decl=yes
36848 else
36849 echo "$as_me: failed program was:" >&5
36850 sed 's/^/| /' conftest.$ac_ext >&5
36851
36852 wx_cv_func_snprintf_decl=no
36853
36854 fi
36855
36856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36857
36858
36859 fi
36860 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36861 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36862
36863 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36864 cat >>confdefs.h <<\_ACEOF
36865 #define HAVE_SNPRINTF_DECL 1
36866 _ACEOF
36867
36868 fi
36869
36870 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36871
36872 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36873 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36874 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36875 echo $ECHO_N "(cached) $ECHO_C" >&6
36876 else
36877
36878 if test "$cross_compiling" = yes; then
36879
36880 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36881 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36882 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36883 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36884 wx_cv_func_snprintf_pos_params=no
36885
36886
36887 else
36888 cat >conftest.$ac_ext <<_ACEOF
36889 /* confdefs.h. */
36890 _ACEOF
36891 cat confdefs.h >>conftest.$ac_ext
36892 cat >>conftest.$ac_ext <<_ACEOF
36893 /* end confdefs.h. */
36894
36895 #include <stdio.h>
36896
36897 int main (void)
36898 {
36899 char buffer[128];
36900 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36901 if (strcmp ("2 3 1", buffer) == 0)
36902 exit (0);
36903 exit (1);
36904 }
36905
36906 _ACEOF
36907 rm -f conftest$ac_exeext
36908 if { (ac_try="$ac_link"
36909 case "(($ac_try" in
36910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36911 *) ac_try_echo=$ac_try;;
36912 esac
36913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36914 (eval "$ac_link") 2>&5
36915 ac_status=$?
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36918 { (case "(($ac_try" in
36919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36920 *) ac_try_echo=$ac_try;;
36921 esac
36922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36923 (eval "$ac_try") 2>&5
36924 ac_status=$?
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; }; then
36927 wx_cv_func_snprintf_pos_params=no
36928 else
36929 echo "$as_me: program exited with status $ac_status" >&5
36930 echo "$as_me: failed program was:" >&5
36931 sed 's/^/| /' conftest.$ac_ext >&5
36932
36933 ( exit $ac_status )
36934 wx_cv_func_snprintf_pos_params=yes
36935 fi
36936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36937 fi
36938
36939
36940
36941
36942 fi
36943 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36944 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36945
36946 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36947 cat >>confdefs.h <<\_ACEOF
36948 #define HAVE_UNIX98_PRINTF 1
36949 _ACEOF
36950
36951 fi
36952 fi
36953 fi
36954
36955 if test "$ac_cv_func_vsscanf" = "yes"; then
36956 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36957 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36958 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36960 else
36961
36962 cat >conftest.$ac_ext <<_ACEOF
36963 /* confdefs.h. */
36964 _ACEOF
36965 cat confdefs.h >>conftest.$ac_ext
36966 cat >>conftest.$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36968
36969 #include <stdio.h>
36970 #include <stdarg.h>
36971 #ifdef __MSL__
36972 #if __MSL__ >= 0x6000
36973 namespace std {}
36974 using namespace std;
36975 #endif
36976 #endif
36977
36978 int
36979 main ()
36980 {
36981
36982 char *buf;
36983 va_list args;
36984 vsscanf(buf, "%s", args);
36985
36986 ;
36987 return 0;
36988 }
36989 _ACEOF
36990 rm -f conftest.$ac_objext
36991 if { (ac_try="$ac_compile"
36992 case "(($ac_try" in
36993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36994 *) ac_try_echo=$ac_try;;
36995 esac
36996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36997 (eval "$ac_compile") 2>conftest.er1
36998 ac_status=$?
36999 grep -v '^ *+' conftest.er1 >conftest.err
37000 rm -f conftest.er1
37001 cat conftest.err >&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); } && {
37004 test -z "$ac_cxx_werror_flag" ||
37005 test ! -s conftest.err
37006 } && test -s conftest.$ac_objext; then
37007 wx_cv_func_vsscanf_decl=yes
37008 else
37009 echo "$as_me: failed program was:" >&5
37010 sed 's/^/| /' conftest.$ac_ext >&5
37011
37012 wx_cv_func_vsscanf_decl=no
37013
37014 fi
37015
37016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37017
37018
37019 fi
37020 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37021 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37022
37023 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37024 cat >>confdefs.h <<\_ACEOF
37025 #define HAVE_VSSCANF_DECL 1
37026 _ACEOF
37027
37028 fi
37029 fi
37030 ac_ext=c
37031 ac_cpp='$CPP $CPPFLAGS'
37032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37035
37036
37037 if test "$wxUSE_UNICODE" = yes; then
37038
37039 wchar_headers="#include <stdio.h>
37040 #include <wchar.h>"
37041 case "${host}" in
37042 *-*-solaris2* )
37043
37044 for ac_header in widec.h
37045 do
37046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37050 echo $ECHO_N "(cached) $ECHO_C" >&6
37051 else
37052 cat >conftest.$ac_ext <<_ACEOF
37053 /* confdefs.h. */
37054 _ACEOF
37055 cat confdefs.h >>conftest.$ac_ext
37056 cat >>conftest.$ac_ext <<_ACEOF
37057 /* end confdefs.h. */
37058 $ac_includes_default
37059
37060 #include <$ac_header>
37061 _ACEOF
37062 rm -f conftest.$ac_objext
37063 if { (ac_try="$ac_compile"
37064 case "(($ac_try" in
37065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37066 *) ac_try_echo=$ac_try;;
37067 esac
37068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37069 (eval "$ac_compile") 2>conftest.er1
37070 ac_status=$?
37071 grep -v '^ *+' conftest.er1 >conftest.err
37072 rm -f conftest.er1
37073 cat conftest.err >&5
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); } && {
37076 test -z "$ac_c_werror_flag" ||
37077 test ! -s conftest.err
37078 } && test -s conftest.$ac_objext; then
37079 eval "$as_ac_Header=yes"
37080 else
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.$ac_ext >&5
37083
37084 eval "$as_ac_Header=no"
37085 fi
37086
37087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37088 fi
37089 ac_res=`eval echo '${'$as_ac_Header'}'`
37090 { echo "$as_me:$LINENO: result: $ac_res" >&5
37091 echo "${ECHO_T}$ac_res" >&6; }
37092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37093 cat >>confdefs.h <<_ACEOF
37094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37095 _ACEOF
37096
37097 fi
37098
37099 done
37100
37101 if test "$ac_cv_header_widec_h" = "yes"; then
37102 wchar_headers="$wchar_headers
37103 #include <widec.h>"
37104 fi
37105 esac
37106
37107
37108 for wx_func in putws fputws wprintf vswprintf vswscanf
37109 do
37110 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37111 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37112 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 else
37115
37116 cat >conftest.$ac_ext <<_ACEOF
37117
37118 /* confdefs.h. */
37119 _ACEOF
37120 cat confdefs.h >>conftest.$ac_ext
37121 cat >>conftest.$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37123
37124 $wchar_headers
37125 $ac_includes_default
37126
37127 int
37128 main ()
37129 {
37130
37131 #ifndef $wx_func
37132 &$wx_func;
37133 #endif
37134
37135
37136 ;
37137 return 0;
37138 }
37139
37140 _ACEOF
37141 rm -f conftest.$ac_objext conftest$ac_exeext
37142 if { (ac_try="$ac_link"
37143 case "(($ac_try" in
37144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37145 *) ac_try_echo=$ac_try;;
37146 esac
37147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37148 (eval "$ac_link") 2>conftest.er1
37149 ac_status=$?
37150 grep -v '^ *+' conftest.er1 >conftest.err
37151 rm -f conftest.er1
37152 cat conftest.err >&5
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); } && {
37155 test -z "$ac_c_werror_flag" ||
37156 test ! -s conftest.err
37157 } && test -s conftest$ac_exeext &&
37158 $as_test_x conftest$ac_exeext; then
37159 eval wx_cv_func_$wx_func=yes
37160 else
37161 echo "$as_me: failed program was:" >&5
37162 sed 's/^/| /' conftest.$ac_ext >&5
37163
37164 eval wx_cv_func_$wx_func=no
37165 fi
37166
37167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37168 conftest$ac_exeext conftest.$ac_ext
37169
37170 fi
37171 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37172 { echo "$as_me:$LINENO: result: $ac_res" >&5
37173 echo "${ECHO_T}$ac_res" >&6; }
37174
37175 if eval test \$wx_cv_func_$wx_func = yes
37176 then
37177 cat >>confdefs.h <<_ACEOF
37178 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37179 _ACEOF
37180
37181
37182 else
37183 :
37184
37185 fi
37186 done
37187
37188
37189 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37190 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37191 cat >conftest.$ac_ext <<_ACEOF
37192 /* confdefs.h. */
37193 _ACEOF
37194 cat confdefs.h >>conftest.$ac_ext
37195 cat >>conftest.$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197 #include <wchar.h>
37198 int
37199 main ()
37200 {
37201 &_vsnwprintf;
37202 ;
37203 return 0;
37204 }
37205 _ACEOF
37206 rm -f conftest.$ac_objext
37207 if { (ac_try="$ac_compile"
37208 case "(($ac_try" in
37209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37210 *) ac_try_echo=$ac_try;;
37211 esac
37212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37213 (eval "$ac_compile") 2>conftest.er1
37214 ac_status=$?
37215 grep -v '^ *+' conftest.er1 >conftest.err
37216 rm -f conftest.er1
37217 cat conftest.err >&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); } && {
37220 test -z "$ac_c_werror_flag" ||
37221 test ! -s conftest.err
37222 } && test -s conftest.$ac_objext; then
37223 { echo "$as_me:$LINENO: result: yes" >&5
37224 echo "${ECHO_T}yes" >&6; }
37225 cat >>confdefs.h <<\_ACEOF
37226 #define HAVE__VSNWPRINTF 1
37227 _ACEOF
37228
37229 else
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37232
37233 { echo "$as_me:$LINENO: result: no" >&5
37234 echo "${ECHO_T}no" >&6; }
37235 fi
37236
37237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37238 fi
37239
37240 if test "$wxUSE_FILE" = "yes"; then
37241
37242 for wx_func in fsync
37243 do
37244 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37245 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37246 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37247 echo $ECHO_N "(cached) $ECHO_C" >&6
37248 else
37249
37250 cat >conftest.$ac_ext <<_ACEOF
37251
37252 /* confdefs.h. */
37253 _ACEOF
37254 cat confdefs.h >>conftest.$ac_ext
37255 cat >>conftest.$ac_ext <<_ACEOF
37256 /* end confdefs.h. */
37257
37258
37259 $ac_includes_default
37260
37261 int
37262 main ()
37263 {
37264
37265 #ifndef $wx_func
37266 &$wx_func;
37267 #endif
37268
37269
37270 ;
37271 return 0;
37272 }
37273
37274 _ACEOF
37275 rm -f conftest.$ac_objext conftest$ac_exeext
37276 if { (ac_try="$ac_link"
37277 case "(($ac_try" in
37278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37279 *) ac_try_echo=$ac_try;;
37280 esac
37281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37282 (eval "$ac_link") 2>conftest.er1
37283 ac_status=$?
37284 grep -v '^ *+' conftest.er1 >conftest.err
37285 rm -f conftest.er1
37286 cat conftest.err >&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } && {
37289 test -z "$ac_c_werror_flag" ||
37290 test ! -s conftest.err
37291 } && test -s conftest$ac_exeext &&
37292 $as_test_x conftest$ac_exeext; then
37293 eval wx_cv_func_$wx_func=yes
37294 else
37295 echo "$as_me: failed program was:" >&5
37296 sed 's/^/| /' conftest.$ac_ext >&5
37297
37298 eval wx_cv_func_$wx_func=no
37299 fi
37300
37301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37302 conftest$ac_exeext conftest.$ac_ext
37303
37304 fi
37305 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37306 { echo "$as_me:$LINENO: result: $ac_res" >&5
37307 echo "${ECHO_T}$ac_res" >&6; }
37308
37309 if eval test \$wx_cv_func_$wx_func = yes
37310 then
37311 cat >>confdefs.h <<_ACEOF
37312 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37313 _ACEOF
37314
37315
37316 else
37317 :
37318
37319 fi
37320 done
37321
37322 fi
37323
37324 ac_ext=cpp
37325 ac_cpp='$CXXCPP $CPPFLAGS'
37326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37329
37330
37331 for wx_func in round
37332 do
37333 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37335 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37337 else
37338
37339 cat >conftest.$ac_ext <<_ACEOF
37340
37341 /* confdefs.h. */
37342 _ACEOF
37343 cat confdefs.h >>conftest.$ac_ext
37344 cat >>conftest.$ac_ext <<_ACEOF
37345 /* end confdefs.h. */
37346
37347 #include <math.h>
37348 $ac_includes_default
37349
37350 int
37351 main ()
37352 {
37353
37354 #ifndef $wx_func
37355 &$wx_func;
37356 #endif
37357
37358
37359 ;
37360 return 0;
37361 }
37362
37363 _ACEOF
37364 rm -f conftest.$ac_objext conftest$ac_exeext
37365 if { (ac_try="$ac_link"
37366 case "(($ac_try" in
37367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37368 *) ac_try_echo=$ac_try;;
37369 esac
37370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37371 (eval "$ac_link") 2>conftest.er1
37372 ac_status=$?
37373 grep -v '^ *+' conftest.er1 >conftest.err
37374 rm -f conftest.er1
37375 cat conftest.err >&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); } && {
37378 test -z "$ac_cxx_werror_flag" ||
37379 test ! -s conftest.err
37380 } && test -s conftest$ac_exeext &&
37381 $as_test_x conftest$ac_exeext; then
37382 eval wx_cv_func_$wx_func=yes
37383 else
37384 echo "$as_me: failed program was:" >&5
37385 sed 's/^/| /' conftest.$ac_ext >&5
37386
37387 eval wx_cv_func_$wx_func=no
37388 fi
37389
37390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37391 conftest$ac_exeext conftest.$ac_ext
37392
37393 fi
37394 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37395 { echo "$as_me:$LINENO: result: $ac_res" >&5
37396 echo "${ECHO_T}$ac_res" >&6; }
37397
37398 if eval test \$wx_cv_func_$wx_func = yes
37399 then
37400 cat >>confdefs.h <<_ACEOF
37401 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37402 _ACEOF
37403
37404
37405 else
37406 :
37407
37408 fi
37409 done
37410
37411 ac_ext=c
37412 ac_cpp='$CPP $CPPFLAGS'
37413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37416
37417
37418 if test "$TOOLKIT" != "MSW"; then
37419
37420 if test "$wxUSE_LIBICONV" != "no" ; then
37421
37422
37423
37424 # Check whether --with-libiconv-prefix was given.
37425 if test "${with_libiconv_prefix+set}" = set; then
37426 withval=$with_libiconv_prefix;
37427 for dir in `echo "$withval" | tr : ' '`; do
37428 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37429 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37430 done
37431
37432 fi
37433
37434
37435 { echo "$as_me:$LINENO: checking for iconv" >&5
37436 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37437 if test "${am_cv_func_iconv+set}" = set; then
37438 echo $ECHO_N "(cached) $ECHO_C" >&6
37439 else
37440
37441 am_cv_func_iconv="no, consider installing GNU libiconv"
37442 am_cv_lib_iconv=no
37443 cat >conftest.$ac_ext <<_ACEOF
37444 /* confdefs.h. */
37445 _ACEOF
37446 cat confdefs.h >>conftest.$ac_ext
37447 cat >>conftest.$ac_ext <<_ACEOF
37448 /* end confdefs.h. */
37449 #include <stdlib.h>
37450 #include <iconv.h>
37451 int
37452 main ()
37453 {
37454 iconv_t cd = iconv_open("","");
37455 iconv(cd,NULL,NULL,NULL,NULL);
37456 iconv_close(cd);
37457 ;
37458 return 0;
37459 }
37460 _ACEOF
37461 rm -f conftest.$ac_objext conftest$ac_exeext
37462 if { (ac_try="$ac_link"
37463 case "(($ac_try" in
37464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37465 *) ac_try_echo=$ac_try;;
37466 esac
37467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37468 (eval "$ac_link") 2>conftest.er1
37469 ac_status=$?
37470 grep -v '^ *+' conftest.er1 >conftest.err
37471 rm -f conftest.er1
37472 cat conftest.err >&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } && {
37475 test -z "$ac_c_werror_flag" ||
37476 test ! -s conftest.err
37477 } && test -s conftest$ac_exeext &&
37478 $as_test_x conftest$ac_exeext; then
37479 am_cv_func_iconv=yes
37480 else
37481 echo "$as_me: failed program was:" >&5
37482 sed 's/^/| /' conftest.$ac_ext >&5
37483
37484
37485 fi
37486
37487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37488 conftest$ac_exeext conftest.$ac_ext
37489 if test "$am_cv_func_iconv" != yes; then
37490 am_save_LIBS="$LIBS"
37491 LIBS="$LIBS -liconv"
37492 cat >conftest.$ac_ext <<_ACEOF
37493 /* confdefs.h. */
37494 _ACEOF
37495 cat confdefs.h >>conftest.$ac_ext
37496 cat >>conftest.$ac_ext <<_ACEOF
37497 /* end confdefs.h. */
37498 #include <stdlib.h>
37499 #include <iconv.h>
37500 int
37501 main ()
37502 {
37503 iconv_t cd = iconv_open("","");
37504 iconv(cd,NULL,NULL,NULL,NULL);
37505 iconv_close(cd);
37506 ;
37507 return 0;
37508 }
37509 _ACEOF
37510 rm -f conftest.$ac_objext conftest$ac_exeext
37511 if { (ac_try="$ac_link"
37512 case "(($ac_try" in
37513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37514 *) ac_try_echo=$ac_try;;
37515 esac
37516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37517 (eval "$ac_link") 2>conftest.er1
37518 ac_status=$?
37519 grep -v '^ *+' conftest.er1 >conftest.err
37520 rm -f conftest.er1
37521 cat conftest.err >&5
37522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37523 (exit $ac_status); } && {
37524 test -z "$ac_c_werror_flag" ||
37525 test ! -s conftest.err
37526 } && test -s conftest$ac_exeext &&
37527 $as_test_x conftest$ac_exeext; then
37528 am_cv_lib_iconv=yes
37529 am_cv_func_iconv=yes
37530 else
37531 echo "$as_me: failed program was:" >&5
37532 sed 's/^/| /' conftest.$ac_ext >&5
37533
37534
37535 fi
37536
37537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37538 conftest$ac_exeext conftest.$ac_ext
37539 LIBS="$am_save_LIBS"
37540 fi
37541
37542 fi
37543 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37544 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37545 if test "$am_cv_func_iconv" = yes; then
37546
37547 cat >>confdefs.h <<\_ACEOF
37548 #define HAVE_ICONV 1
37549 _ACEOF
37550
37551 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37552 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37553 if test "${wx_cv_func_iconv_const+set}" = set; then
37554 echo $ECHO_N "(cached) $ECHO_C" >&6
37555 else
37556 cat >conftest.$ac_ext <<_ACEOF
37557 /* confdefs.h. */
37558 _ACEOF
37559 cat confdefs.h >>conftest.$ac_ext
37560 cat >>conftest.$ac_ext <<_ACEOF
37561 /* end confdefs.h. */
37562
37563 #include <stdlib.h>
37564 #include <iconv.h>
37565 extern
37566 #ifdef __cplusplus
37567 "C"
37568 #endif
37569 #if defined(__STDC__) || defined(__cplusplus)
37570 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37571 #else
37572 size_t iconv();
37573 #endif
37574
37575 int
37576 main ()
37577 {
37578
37579 ;
37580 return 0;
37581 }
37582 _ACEOF
37583 rm -f conftest.$ac_objext
37584 if { (ac_try="$ac_compile"
37585 case "(($ac_try" in
37586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37587 *) ac_try_echo=$ac_try;;
37588 esac
37589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37590 (eval "$ac_compile") 2>conftest.er1
37591 ac_status=$?
37592 grep -v '^ *+' conftest.er1 >conftest.err
37593 rm -f conftest.er1
37594 cat conftest.err >&5
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); } && {
37597 test -z "$ac_c_werror_flag" ||
37598 test ! -s conftest.err
37599 } && test -s conftest.$ac_objext; then
37600 wx_cv_func_iconv_const="no"
37601 else
37602 echo "$as_me: failed program was:" >&5
37603 sed 's/^/| /' conftest.$ac_ext >&5
37604
37605 wx_cv_func_iconv_const="yes"
37606
37607 fi
37608
37609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37610
37611 fi
37612 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37613 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37614
37615 iconv_const=
37616 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37617 iconv_const="const"
37618 fi
37619
37620
37621 cat >>confdefs.h <<_ACEOF
37622 #define ICONV_CONST $iconv_const
37623 _ACEOF
37624
37625 fi
37626 LIBICONV=
37627 if test "$am_cv_lib_iconv" = yes; then
37628 LIBICONV="-liconv"
37629 fi
37630
37631
37632 LIBS="$LIBICONV $LIBS"
37633 fi
37634
37635 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37636
37637 for ac_func in sigaction
37638 do
37639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37643 echo $ECHO_N "(cached) $ECHO_C" >&6
37644 else
37645 cat >conftest.$ac_ext <<_ACEOF
37646 /* confdefs.h. */
37647 _ACEOF
37648 cat confdefs.h >>conftest.$ac_ext
37649 cat >>conftest.$ac_ext <<_ACEOF
37650 /* end confdefs.h. */
37651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37653 #define $ac_func innocuous_$ac_func
37654
37655 /* System header to define __stub macros and hopefully few prototypes,
37656 which can conflict with char $ac_func (); below.
37657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37658 <limits.h> exists even on freestanding compilers. */
37659
37660 #ifdef __STDC__
37661 # include <limits.h>
37662 #else
37663 # include <assert.h>
37664 #endif
37665
37666 #undef $ac_func
37667
37668 /* Override any GCC internal prototype to avoid an error.
37669 Use char because int might match the return type of a GCC
37670 builtin and then its argument prototype would still apply. */
37671 #ifdef __cplusplus
37672 extern "C"
37673 #endif
37674 char $ac_func ();
37675 /* The GNU C library defines this for functions which it implements
37676 to always fail with ENOSYS. Some functions are actually named
37677 something starting with __ and the normal name is an alias. */
37678 #if defined __stub_$ac_func || defined __stub___$ac_func
37679 choke me
37680 #endif
37681
37682 int
37683 main ()
37684 {
37685 return $ac_func ();
37686 ;
37687 return 0;
37688 }
37689 _ACEOF
37690 rm -f conftest.$ac_objext conftest$ac_exeext
37691 if { (ac_try="$ac_link"
37692 case "(($ac_try" in
37693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37694 *) ac_try_echo=$ac_try;;
37695 esac
37696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37697 (eval "$ac_link") 2>conftest.er1
37698 ac_status=$?
37699 grep -v '^ *+' conftest.er1 >conftest.err
37700 rm -f conftest.er1
37701 cat conftest.err >&5
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); } && {
37704 test -z "$ac_c_werror_flag" ||
37705 test ! -s conftest.err
37706 } && test -s conftest$ac_exeext &&
37707 $as_test_x conftest$ac_exeext; then
37708 eval "$as_ac_var=yes"
37709 else
37710 echo "$as_me: failed program was:" >&5
37711 sed 's/^/| /' conftest.$ac_ext >&5
37712
37713 eval "$as_ac_var=no"
37714 fi
37715
37716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37717 conftest$ac_exeext conftest.$ac_ext
37718 fi
37719 ac_res=`eval echo '${'$as_ac_var'}'`
37720 { echo "$as_me:$LINENO: result: $ac_res" >&5
37721 echo "${ECHO_T}$ac_res" >&6; }
37722 if test `eval echo '${'$as_ac_var'}'` = yes; then
37723 cat >>confdefs.h <<_ACEOF
37724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37725 _ACEOF
37726
37727 fi
37728 done
37729
37730
37731 if test "$ac_cv_func_sigaction" = "no"; then
37732 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37733 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37734 wxUSE_ON_FATAL_EXCEPTION=no
37735 fi
37736
37737 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37738 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37739 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37740 if test "${wx_cv_type_sa_handler+set}" = set; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37742 else
37743
37744 ac_ext=cpp
37745 ac_cpp='$CXXCPP $CPPFLAGS'
37746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37749
37750 cat >conftest.$ac_ext <<_ACEOF
37751 /* confdefs.h. */
37752 _ACEOF
37753 cat confdefs.h >>conftest.$ac_ext
37754 cat >>conftest.$ac_ext <<_ACEOF
37755 /* end confdefs.h. */
37756 #include <signal.h>
37757 int
37758 main ()
37759 {
37760
37761 extern void testSigHandler(int);
37762
37763 struct sigaction sa;
37764 sa.sa_handler = testSigHandler;
37765
37766 ;
37767 return 0;
37768 }
37769 _ACEOF
37770 rm -f conftest.$ac_objext
37771 if { (ac_try="$ac_compile"
37772 case "(($ac_try" in
37773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37774 *) ac_try_echo=$ac_try;;
37775 esac
37776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37777 (eval "$ac_compile") 2>conftest.er1
37778 ac_status=$?
37779 grep -v '^ *+' conftest.er1 >conftest.err
37780 rm -f conftest.er1
37781 cat conftest.err >&5
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); } && {
37784 test -z "$ac_cxx_werror_flag" ||
37785 test ! -s conftest.err
37786 } && test -s conftest.$ac_objext; then
37787
37788 wx_cv_type_sa_handler=int
37789
37790 else
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.$ac_ext >&5
37793
37794
37795 wx_cv_type_sa_handler=void
37796
37797 fi
37798
37799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37800 ac_ext=c
37801 ac_cpp='$CPP $CPPFLAGS'
37802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37805
37806
37807 fi
37808 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37809 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37810
37811 cat >>confdefs.h <<_ACEOF
37812 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37813 _ACEOF
37814
37815 fi
37816 fi
37817
37818 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37819 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37820 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37821 if test "${wx_cv_func_backtrace+set}" = set; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37823 else
37824
37825 ac_ext=cpp
37826 ac_cpp='$CXXCPP $CPPFLAGS'
37827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37830
37831 cat >conftest.$ac_ext <<_ACEOF
37832 /* confdefs.h. */
37833 _ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37837 #include <execinfo.h>
37838 int
37839 main ()
37840 {
37841
37842 void *trace[1];
37843 char **messages;
37844
37845 backtrace(trace, 1);
37846 messages = backtrace_symbols(trace, 1);
37847
37848 ;
37849 return 0;
37850 }
37851 _ACEOF
37852 rm -f conftest.$ac_objext
37853 if { (ac_try="$ac_compile"
37854 case "(($ac_try" in
37855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37856 *) ac_try_echo=$ac_try;;
37857 esac
37858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37859 (eval "$ac_compile") 2>conftest.er1
37860 ac_status=$?
37861 grep -v '^ *+' conftest.er1 >conftest.err
37862 rm -f conftest.er1
37863 cat conftest.err >&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } && {
37866 test -z "$ac_cxx_werror_flag" ||
37867 test ! -s conftest.err
37868 } && test -s conftest.$ac_objext; then
37869 wx_cv_func_backtrace=yes
37870 else
37871 echo "$as_me: failed program was:" >&5
37872 sed 's/^/| /' conftest.$ac_ext >&5
37873
37874 wx_cv_func_backtrace=no
37875
37876 fi
37877
37878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37879 ac_ext=c
37880 ac_cpp='$CPP $CPPFLAGS'
37881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37884
37885
37886
37887 fi
37888 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37889 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37890
37891
37892 if test "$wx_cv_func_backtrace" = "no"; then
37893 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37894 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37895 wxUSE_STACKWALKER=no
37896 else
37897 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37898 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37899 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37901 else
37902
37903 ac_ext=cpp
37904 ac_cpp='$CXXCPP $CPPFLAGS'
37905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37908
37909 cat >conftest.$ac_ext <<_ACEOF
37910 /* confdefs.h. */
37911 _ACEOF
37912 cat confdefs.h >>conftest.$ac_ext
37913 cat >>conftest.$ac_ext <<_ACEOF
37914 /* end confdefs.h. */
37915 #include <cxxabi.h>
37916 int
37917 main ()
37918 {
37919
37920 int rc;
37921 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37922
37923 ;
37924 return 0;
37925 }
37926 _ACEOF
37927 rm -f conftest.$ac_objext conftest$ac_exeext
37928 if { (ac_try="$ac_link"
37929 case "(($ac_try" in
37930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37931 *) ac_try_echo=$ac_try;;
37932 esac
37933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37934 (eval "$ac_link") 2>conftest.er1
37935 ac_status=$?
37936 grep -v '^ *+' conftest.er1 >conftest.err
37937 rm -f conftest.er1
37938 cat conftest.err >&5
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); } && {
37941 test -z "$ac_cxx_werror_flag" ||
37942 test ! -s conftest.err
37943 } && test -s conftest$ac_exeext &&
37944 $as_test_x conftest$ac_exeext; then
37945 wx_cv_func_cxa_demangle=yes
37946 else
37947 echo "$as_me: failed program was:" >&5
37948 sed 's/^/| /' conftest.$ac_ext >&5
37949
37950 wx_cv_func_cxa_demangle=no
37951
37952 fi
37953
37954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37955 conftest$ac_exeext conftest.$ac_ext
37956 ac_ext=c
37957 ac_cpp='$CPP $CPPFLAGS'
37958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37961
37962
37963
37964 fi
37965 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37966 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37967
37968 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37969 cat >>confdefs.h <<\_ACEOF
37970 #define HAVE_CXA_DEMANGLE 1
37971 _ACEOF
37972
37973 fi
37974 fi
37975 fi
37976
37977 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37978 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37979 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37980 wxUSE_STACKWALKER=no
37981 fi
37982
37983
37984
37985
37986 for ac_func in mkstemp mktemp
37987 do
37988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37992 echo $ECHO_N "(cached) $ECHO_C" >&6
37993 else
37994 cat >conftest.$ac_ext <<_ACEOF
37995 /* confdefs.h. */
37996 _ACEOF
37997 cat confdefs.h >>conftest.$ac_ext
37998 cat >>conftest.$ac_ext <<_ACEOF
37999 /* end confdefs.h. */
38000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38002 #define $ac_func innocuous_$ac_func
38003
38004 /* System header to define __stub macros and hopefully few prototypes,
38005 which can conflict with char $ac_func (); below.
38006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38007 <limits.h> exists even on freestanding compilers. */
38008
38009 #ifdef __STDC__
38010 # include <limits.h>
38011 #else
38012 # include <assert.h>
38013 #endif
38014
38015 #undef $ac_func
38016
38017 /* Override any GCC internal prototype to avoid an error.
38018 Use char because int might match the return type of a GCC
38019 builtin and then its argument prototype would still apply. */
38020 #ifdef __cplusplus
38021 extern "C"
38022 #endif
38023 char $ac_func ();
38024 /* The GNU C library defines this for functions which it implements
38025 to always fail with ENOSYS. Some functions are actually named
38026 something starting with __ and the normal name is an alias. */
38027 #if defined __stub_$ac_func || defined __stub___$ac_func
38028 choke me
38029 #endif
38030
38031 int
38032 main ()
38033 {
38034 return $ac_func ();
38035 ;
38036 return 0;
38037 }
38038 _ACEOF
38039 rm -f conftest.$ac_objext conftest$ac_exeext
38040 if { (ac_try="$ac_link"
38041 case "(($ac_try" in
38042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38043 *) ac_try_echo=$ac_try;;
38044 esac
38045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38046 (eval "$ac_link") 2>conftest.er1
38047 ac_status=$?
38048 grep -v '^ *+' conftest.er1 >conftest.err
38049 rm -f conftest.er1
38050 cat conftest.err >&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } && {
38053 test -z "$ac_c_werror_flag" ||
38054 test ! -s conftest.err
38055 } && test -s conftest$ac_exeext &&
38056 $as_test_x conftest$ac_exeext; then
38057 eval "$as_ac_var=yes"
38058 else
38059 echo "$as_me: failed program was:" >&5
38060 sed 's/^/| /' conftest.$ac_ext >&5
38061
38062 eval "$as_ac_var=no"
38063 fi
38064
38065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38066 conftest$ac_exeext conftest.$ac_ext
38067 fi
38068 ac_res=`eval echo '${'$as_ac_var'}'`
38069 { echo "$as_me:$LINENO: result: $ac_res" >&5
38070 echo "${ECHO_T}$ac_res" >&6; }
38071 if test `eval echo '${'$as_ac_var'}'` = yes; then
38072 cat >>confdefs.h <<_ACEOF
38073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38074 _ACEOF
38075 break
38076 fi
38077 done
38078
38079
38080 { echo "$as_me:$LINENO: checking for statfs" >&5
38081 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38082 if test "${wx_cv_func_statfs+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 else
38085 cat >conftest.$ac_ext <<_ACEOF
38086 /* confdefs.h. */
38087 _ACEOF
38088 cat confdefs.h >>conftest.$ac_ext
38089 cat >>conftest.$ac_ext <<_ACEOF
38090 /* end confdefs.h. */
38091
38092 #if defined(__BSD__)
38093 #include <sys/param.h>
38094 #include <sys/mount.h>
38095 #else
38096 #include <sys/vfs.h>
38097 #endif
38098
38099 int
38100 main ()
38101 {
38102
38103 long l;
38104 struct statfs fs;
38105 statfs("/", &fs);
38106 l = fs.f_bsize;
38107 l += fs.f_blocks;
38108 l += fs.f_bavail;
38109
38110 ;
38111 return 0;
38112 }
38113 _ACEOF
38114 rm -f conftest.$ac_objext
38115 if { (ac_try="$ac_compile"
38116 case "(($ac_try" in
38117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38118 *) ac_try_echo=$ac_try;;
38119 esac
38120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38121 (eval "$ac_compile") 2>conftest.er1
38122 ac_status=$?
38123 grep -v '^ *+' conftest.er1 >conftest.err
38124 rm -f conftest.er1
38125 cat conftest.err >&5
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); } && {
38128 test -z "$ac_c_werror_flag" ||
38129 test ! -s conftest.err
38130 } && test -s conftest.$ac_objext; then
38131 wx_cv_func_statfs=yes
38132 else
38133 echo "$as_me: failed program was:" >&5
38134 sed 's/^/| /' conftest.$ac_ext >&5
38135
38136 wx_cv_func_statfs=no
38137
38138 fi
38139
38140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38141
38142 fi
38143 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38144 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38145
38146 if test "$wx_cv_func_statfs" = "yes"; then
38147 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38148 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38149 if test "${wx_cv_func_statfs_decl+set}" = set; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 else
38152 ac_ext=cpp
38153 ac_cpp='$CXXCPP $CPPFLAGS'
38154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38157
38158 cat >conftest.$ac_ext <<_ACEOF
38159 /* confdefs.h. */
38160 _ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38164
38165 #if defined(__BSD__)
38166 #include <sys/param.h>
38167 #include <sys/mount.h>
38168 #else
38169 #include <sys/vfs.h>
38170 #endif
38171
38172 int
38173 main ()
38174 {
38175
38176 struct statfs fs;
38177 statfs("", &fs);
38178
38179 ;
38180 return 0;
38181 }
38182 _ACEOF
38183 rm -f conftest.$ac_objext
38184 if { (ac_try="$ac_compile"
38185 case "(($ac_try" in
38186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38187 *) ac_try_echo=$ac_try;;
38188 esac
38189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38190 (eval "$ac_compile") 2>conftest.er1
38191 ac_status=$?
38192 grep -v '^ *+' conftest.er1 >conftest.err
38193 rm -f conftest.er1
38194 cat conftest.err >&5
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); } && {
38197 test -z "$ac_cxx_werror_flag" ||
38198 test ! -s conftest.err
38199 } && test -s conftest.$ac_objext; then
38200 wx_cv_func_statfs_decl=yes
38201 else
38202 echo "$as_me: failed program was:" >&5
38203 sed 's/^/| /' conftest.$ac_ext >&5
38204
38205 wx_cv_func_statfs_decl=no
38206
38207 fi
38208
38209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38210 ac_ext=c
38211 ac_cpp='$CPP $CPPFLAGS'
38212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38215
38216
38217 fi
38218 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38219 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38220
38221 if test "$wx_cv_func_statfs_decl" = "yes"; then
38222 cat >>confdefs.h <<\_ACEOF
38223 #define HAVE_STATFS_DECL 1
38224 _ACEOF
38225
38226 fi
38227
38228 wx_cv_type_statvfs_t="struct statfs"
38229 cat >>confdefs.h <<\_ACEOF
38230 #define HAVE_STATFS 1
38231 _ACEOF
38232
38233 else
38234 { echo "$as_me:$LINENO: checking for statvfs" >&5
38235 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38236 if test "${wx_cv_func_statvfs+set}" = set; then
38237 echo $ECHO_N "(cached) $ECHO_C" >&6
38238 else
38239 cat >conftest.$ac_ext <<_ACEOF
38240 /* confdefs.h. */
38241 _ACEOF
38242 cat confdefs.h >>conftest.$ac_ext
38243 cat >>conftest.$ac_ext <<_ACEOF
38244 /* end confdefs.h. */
38245
38246 #include <stddef.h>
38247 #include <sys/statvfs.h>
38248
38249 int
38250 main ()
38251 {
38252
38253 statvfs("/", NULL);
38254
38255 ;
38256 return 0;
38257 }
38258 _ACEOF
38259 rm -f conftest.$ac_objext
38260 if { (ac_try="$ac_compile"
38261 case "(($ac_try" in
38262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38263 *) ac_try_echo=$ac_try;;
38264 esac
38265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38266 (eval "$ac_compile") 2>conftest.er1
38267 ac_status=$?
38268 grep -v '^ *+' conftest.er1 >conftest.err
38269 rm -f conftest.er1
38270 cat conftest.err >&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); } && {
38273 test -z "$ac_c_werror_flag" ||
38274 test ! -s conftest.err
38275 } && test -s conftest.$ac_objext; then
38276 wx_cv_func_statvfs=yes
38277 else
38278 echo "$as_me: failed program was:" >&5
38279 sed 's/^/| /' conftest.$ac_ext >&5
38280
38281 wx_cv_func_statvfs=no
38282
38283 fi
38284
38285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38286
38287 fi
38288 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38289 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38290
38291 if test "$wx_cv_func_statvfs" = "yes"; then
38292 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38293 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38294 if test "${wx_cv_type_statvfs_t+set}" = set; then
38295 echo $ECHO_N "(cached) $ECHO_C" >&6
38296 else
38297 ac_ext=cpp
38298 ac_cpp='$CXXCPP $CPPFLAGS'
38299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38302
38303 cat >conftest.$ac_ext <<_ACEOF
38304 /* confdefs.h. */
38305 _ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38309
38310 #include <sys/statvfs.h>
38311
38312 int
38313 main ()
38314 {
38315
38316 long l;
38317 statvfs_t fs;
38318 statvfs("/", &fs);
38319 l = fs.f_bsize;
38320 l += fs.f_blocks;
38321 l += fs.f_bavail;
38322
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 rm -f conftest.$ac_objext
38328 if { (ac_try="$ac_compile"
38329 case "(($ac_try" in
38330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38331 *) ac_try_echo=$ac_try;;
38332 esac
38333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38334 (eval "$ac_compile") 2>conftest.er1
38335 ac_status=$?
38336 grep -v '^ *+' conftest.er1 >conftest.err
38337 rm -f conftest.er1
38338 cat conftest.err >&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); } && {
38341 test -z "$ac_cxx_werror_flag" ||
38342 test ! -s conftest.err
38343 } && test -s conftest.$ac_objext; then
38344 wx_cv_type_statvfs_t=statvfs_t
38345 else
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38348
38349
38350 cat >conftest.$ac_ext <<_ACEOF
38351 /* confdefs.h. */
38352 _ACEOF
38353 cat confdefs.h >>conftest.$ac_ext
38354 cat >>conftest.$ac_ext <<_ACEOF
38355 /* end confdefs.h. */
38356
38357 #include <sys/statvfs.h>
38358
38359 int
38360 main ()
38361 {
38362
38363 long l;
38364 struct statvfs fs;
38365 statvfs("/", &fs);
38366 l = fs.f_bsize;
38367 l += fs.f_blocks;
38368 l += fs.f_bavail;
38369
38370 ;
38371 return 0;
38372 }
38373 _ACEOF
38374 rm -f conftest.$ac_objext
38375 if { (ac_try="$ac_compile"
38376 case "(($ac_try" in
38377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38378 *) ac_try_echo=$ac_try;;
38379 esac
38380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38381 (eval "$ac_compile") 2>conftest.er1
38382 ac_status=$?
38383 grep -v '^ *+' conftest.er1 >conftest.err
38384 rm -f conftest.er1
38385 cat conftest.err >&5
38386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38387 (exit $ac_status); } && {
38388 test -z "$ac_cxx_werror_flag" ||
38389 test ! -s conftest.err
38390 } && test -s conftest.$ac_objext; then
38391 wx_cv_type_statvfs_t="struct statvfs"
38392 else
38393 echo "$as_me: failed program was:" >&5
38394 sed 's/^/| /' conftest.$ac_ext >&5
38395
38396 wx_cv_type_statvfs_t="unknown"
38397
38398 fi
38399
38400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38401
38402
38403 fi
38404
38405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38406 ac_ext=c
38407 ac_cpp='$CPP $CPPFLAGS'
38408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38411
38412
38413 fi
38414 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38415 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38416
38417 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38418 cat >>confdefs.h <<\_ACEOF
38419 #define HAVE_STATVFS 1
38420 _ACEOF
38421
38422 fi
38423 else
38424 wx_cv_type_statvfs_t="unknown"
38425 fi
38426 fi
38427
38428 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38429 cat >>confdefs.h <<_ACEOF
38430 #define WX_STATFS_T $wx_cv_type_statvfs_t
38431 _ACEOF
38432
38433 else
38434 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38435 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38436 fi
38437
38438 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38439
38440
38441 for ac_func in fcntl flock
38442 do
38443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 else
38449 cat >conftest.$ac_ext <<_ACEOF
38450 /* confdefs.h. */
38451 _ACEOF
38452 cat confdefs.h >>conftest.$ac_ext
38453 cat >>conftest.$ac_ext <<_ACEOF
38454 /* end confdefs.h. */
38455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38457 #define $ac_func innocuous_$ac_func
38458
38459 /* System header to define __stub macros and hopefully few prototypes,
38460 which can conflict with char $ac_func (); below.
38461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38462 <limits.h> exists even on freestanding compilers. */
38463
38464 #ifdef __STDC__
38465 # include <limits.h>
38466 #else
38467 # include <assert.h>
38468 #endif
38469
38470 #undef $ac_func
38471
38472 /* Override any GCC internal prototype to avoid an error.
38473 Use char because int might match the return type of a GCC
38474 builtin and then its argument prototype would still apply. */
38475 #ifdef __cplusplus
38476 extern "C"
38477 #endif
38478 char $ac_func ();
38479 /* The GNU C library defines this for functions which it implements
38480 to always fail with ENOSYS. Some functions are actually named
38481 something starting with __ and the normal name is an alias. */
38482 #if defined __stub_$ac_func || defined __stub___$ac_func
38483 choke me
38484 #endif
38485
38486 int
38487 main ()
38488 {
38489 return $ac_func ();
38490 ;
38491 return 0;
38492 }
38493 _ACEOF
38494 rm -f conftest.$ac_objext conftest$ac_exeext
38495 if { (ac_try="$ac_link"
38496 case "(($ac_try" in
38497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38498 *) ac_try_echo=$ac_try;;
38499 esac
38500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38501 (eval "$ac_link") 2>conftest.er1
38502 ac_status=$?
38503 grep -v '^ *+' conftest.er1 >conftest.err
38504 rm -f conftest.er1
38505 cat conftest.err >&5
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); } && {
38508 test -z "$ac_c_werror_flag" ||
38509 test ! -s conftest.err
38510 } && test -s conftest$ac_exeext &&
38511 $as_test_x conftest$ac_exeext; then
38512 eval "$as_ac_var=yes"
38513 else
38514 echo "$as_me: failed program was:" >&5
38515 sed 's/^/| /' conftest.$ac_ext >&5
38516
38517 eval "$as_ac_var=no"
38518 fi
38519
38520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38521 conftest$ac_exeext conftest.$ac_ext
38522 fi
38523 ac_res=`eval echo '${'$as_ac_var'}'`
38524 { echo "$as_me:$LINENO: result: $ac_res" >&5
38525 echo "${ECHO_T}$ac_res" >&6; }
38526 if test `eval echo '${'$as_ac_var'}'` = yes; then
38527 cat >>confdefs.h <<_ACEOF
38528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38529 _ACEOF
38530 break
38531 fi
38532 done
38533
38534
38535 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38536 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38537 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38538 wxUSE_SNGLINST_CHECKER=no
38539 fi
38540 fi
38541
38542
38543
38544 for ac_func in setenv putenv
38545 do
38546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38547 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38550 echo $ECHO_N "(cached) $ECHO_C" >&6
38551 else
38552 cat >conftest.$ac_ext <<_ACEOF
38553 /* confdefs.h. */
38554 _ACEOF
38555 cat confdefs.h >>conftest.$ac_ext
38556 cat >>conftest.$ac_ext <<_ACEOF
38557 /* end confdefs.h. */
38558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38560 #define $ac_func innocuous_$ac_func
38561
38562 /* System header to define __stub macros and hopefully few prototypes,
38563 which can conflict with char $ac_func (); below.
38564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38565 <limits.h> exists even on freestanding compilers. */
38566
38567 #ifdef __STDC__
38568 # include <limits.h>
38569 #else
38570 # include <assert.h>
38571 #endif
38572
38573 #undef $ac_func
38574
38575 /* Override any GCC internal prototype to avoid an error.
38576 Use char because int might match the return type of a GCC
38577 builtin and then its argument prototype would still apply. */
38578 #ifdef __cplusplus
38579 extern "C"
38580 #endif
38581 char $ac_func ();
38582 /* The GNU C library defines this for functions which it implements
38583 to always fail with ENOSYS. Some functions are actually named
38584 something starting with __ and the normal name is an alias. */
38585 #if defined __stub_$ac_func || defined __stub___$ac_func
38586 choke me
38587 #endif
38588
38589 int
38590 main ()
38591 {
38592 return $ac_func ();
38593 ;
38594 return 0;
38595 }
38596 _ACEOF
38597 rm -f conftest.$ac_objext conftest$ac_exeext
38598 if { (ac_try="$ac_link"
38599 case "(($ac_try" in
38600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38601 *) ac_try_echo=$ac_try;;
38602 esac
38603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38604 (eval "$ac_link") 2>conftest.er1
38605 ac_status=$?
38606 grep -v '^ *+' conftest.er1 >conftest.err
38607 rm -f conftest.er1
38608 cat conftest.err >&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); } && {
38611 test -z "$ac_c_werror_flag" ||
38612 test ! -s conftest.err
38613 } && test -s conftest$ac_exeext &&
38614 $as_test_x conftest$ac_exeext; then
38615 eval "$as_ac_var=yes"
38616 else
38617 echo "$as_me: failed program was:" >&5
38618 sed 's/^/| /' conftest.$ac_ext >&5
38619
38620 eval "$as_ac_var=no"
38621 fi
38622
38623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38624 conftest$ac_exeext conftest.$ac_ext
38625 fi
38626 ac_res=`eval echo '${'$as_ac_var'}'`
38627 { echo "$as_me:$LINENO: result: $ac_res" >&5
38628 echo "${ECHO_T}$ac_res" >&6; }
38629 if test `eval echo '${'$as_ac_var'}'` = yes; then
38630 cat >>confdefs.h <<_ACEOF
38631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38632 _ACEOF
38633 break
38634 fi
38635 done
38636
38637 if test "$ac_cv_func_setenv" = "yes"; then
38638
38639 for ac_func in unsetenv
38640 do
38641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38645 echo $ECHO_N "(cached) $ECHO_C" >&6
38646 else
38647 cat >conftest.$ac_ext <<_ACEOF
38648 /* confdefs.h. */
38649 _ACEOF
38650 cat confdefs.h >>conftest.$ac_ext
38651 cat >>conftest.$ac_ext <<_ACEOF
38652 /* end confdefs.h. */
38653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38655 #define $ac_func innocuous_$ac_func
38656
38657 /* System header to define __stub macros and hopefully few prototypes,
38658 which can conflict with char $ac_func (); below.
38659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38660 <limits.h> exists even on freestanding compilers. */
38661
38662 #ifdef __STDC__
38663 # include <limits.h>
38664 #else
38665 # include <assert.h>
38666 #endif
38667
38668 #undef $ac_func
38669
38670 /* Override any GCC internal prototype to avoid an error.
38671 Use char because int might match the return type of a GCC
38672 builtin and then its argument prototype would still apply. */
38673 #ifdef __cplusplus
38674 extern "C"
38675 #endif
38676 char $ac_func ();
38677 /* The GNU C library defines this for functions which it implements
38678 to always fail with ENOSYS. Some functions are actually named
38679 something starting with __ and the normal name is an alias. */
38680 #if defined __stub_$ac_func || defined __stub___$ac_func
38681 choke me
38682 #endif
38683
38684 int
38685 main ()
38686 {
38687 return $ac_func ();
38688 ;
38689 return 0;
38690 }
38691 _ACEOF
38692 rm -f conftest.$ac_objext conftest$ac_exeext
38693 if { (ac_try="$ac_link"
38694 case "(($ac_try" in
38695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38696 *) ac_try_echo=$ac_try;;
38697 esac
38698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38699 (eval "$ac_link") 2>conftest.er1
38700 ac_status=$?
38701 grep -v '^ *+' conftest.er1 >conftest.err
38702 rm -f conftest.er1
38703 cat conftest.err >&5
38704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38705 (exit $ac_status); } && {
38706 test -z "$ac_c_werror_flag" ||
38707 test ! -s conftest.err
38708 } && test -s conftest$ac_exeext &&
38709 $as_test_x conftest$ac_exeext; then
38710 eval "$as_ac_var=yes"
38711 else
38712 echo "$as_me: failed program was:" >&5
38713 sed 's/^/| /' conftest.$ac_ext >&5
38714
38715 eval "$as_ac_var=no"
38716 fi
38717
38718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38719 conftest$ac_exeext conftest.$ac_ext
38720 fi
38721 ac_res=`eval echo '${'$as_ac_var'}'`
38722 { echo "$as_me:$LINENO: result: $ac_res" >&5
38723 echo "${ECHO_T}$ac_res" >&6; }
38724 if test `eval echo '${'$as_ac_var'}'` = yes; then
38725 cat >>confdefs.h <<_ACEOF
38726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38727 _ACEOF
38728
38729 fi
38730 done
38731
38732 fi
38733
38734 HAVE_SOME_SLEEP_FUNC=0
38735 if test "$USE_BEOS" = 1; then
38736 cat >>confdefs.h <<\_ACEOF
38737 #define HAVE_SLEEP 1
38738 _ACEOF
38739
38740 HAVE_SOME_SLEEP_FUNC=1
38741 fi
38742
38743 if test "$USE_DARWIN" = 1; then
38744 cat >>confdefs.h <<\_ACEOF
38745 #define HAVE_USLEEP 1
38746 _ACEOF
38747
38748 HAVE_SOME_SLEEP_FUNC=1
38749 fi
38750
38751 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38752 POSIX4_LINK=
38753
38754 for ac_func in nanosleep
38755 do
38756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38757 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38759 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38760 echo $ECHO_N "(cached) $ECHO_C" >&6
38761 else
38762 cat >conftest.$ac_ext <<_ACEOF
38763 /* confdefs.h. */
38764 _ACEOF
38765 cat confdefs.h >>conftest.$ac_ext
38766 cat >>conftest.$ac_ext <<_ACEOF
38767 /* end confdefs.h. */
38768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38770 #define $ac_func innocuous_$ac_func
38771
38772 /* System header to define __stub macros and hopefully few prototypes,
38773 which can conflict with char $ac_func (); below.
38774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38775 <limits.h> exists even on freestanding compilers. */
38776
38777 #ifdef __STDC__
38778 # include <limits.h>
38779 #else
38780 # include <assert.h>
38781 #endif
38782
38783 #undef $ac_func
38784
38785 /* Override any GCC internal prototype to avoid an error.
38786 Use char because int might match the return type of a GCC
38787 builtin and then its argument prototype would still apply. */
38788 #ifdef __cplusplus
38789 extern "C"
38790 #endif
38791 char $ac_func ();
38792 /* The GNU C library defines this for functions which it implements
38793 to always fail with ENOSYS. Some functions are actually named
38794 something starting with __ and the normal name is an alias. */
38795 #if defined __stub_$ac_func || defined __stub___$ac_func
38796 choke me
38797 #endif
38798
38799 int
38800 main ()
38801 {
38802 return $ac_func ();
38803 ;
38804 return 0;
38805 }
38806 _ACEOF
38807 rm -f conftest.$ac_objext conftest$ac_exeext
38808 if { (ac_try="$ac_link"
38809 case "(($ac_try" in
38810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38811 *) ac_try_echo=$ac_try;;
38812 esac
38813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38814 (eval "$ac_link") 2>conftest.er1
38815 ac_status=$?
38816 grep -v '^ *+' conftest.er1 >conftest.err
38817 rm -f conftest.er1
38818 cat conftest.err >&5
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); } && {
38821 test -z "$ac_c_werror_flag" ||
38822 test ! -s conftest.err
38823 } && test -s conftest$ac_exeext &&
38824 $as_test_x conftest$ac_exeext; then
38825 eval "$as_ac_var=yes"
38826 else
38827 echo "$as_me: failed program was:" >&5
38828 sed 's/^/| /' conftest.$ac_ext >&5
38829
38830 eval "$as_ac_var=no"
38831 fi
38832
38833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38834 conftest$ac_exeext conftest.$ac_ext
38835 fi
38836 ac_res=`eval echo '${'$as_ac_var'}'`
38837 { echo "$as_me:$LINENO: result: $ac_res" >&5
38838 echo "${ECHO_T}$ac_res" >&6; }
38839 if test `eval echo '${'$as_ac_var'}'` = yes; then
38840 cat >>confdefs.h <<_ACEOF
38841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38842 _ACEOF
38843 cat >>confdefs.h <<\_ACEOF
38844 #define HAVE_NANOSLEEP 1
38845 _ACEOF
38846
38847 else
38848
38849 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38850 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38851 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38852 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 else
38854 ac_check_lib_save_LIBS=$LIBS
38855 LIBS="-lposix4 $LIBS"
38856 cat >conftest.$ac_ext <<_ACEOF
38857 /* confdefs.h. */
38858 _ACEOF
38859 cat confdefs.h >>conftest.$ac_ext
38860 cat >>conftest.$ac_ext <<_ACEOF
38861 /* end confdefs.h. */
38862
38863 /* Override any GCC internal prototype to avoid an error.
38864 Use char because int might match the return type of a GCC
38865 builtin and then its argument prototype would still apply. */
38866 #ifdef __cplusplus
38867 extern "C"
38868 #endif
38869 char nanosleep ();
38870 int
38871 main ()
38872 {
38873 return nanosleep ();
38874 ;
38875 return 0;
38876 }
38877 _ACEOF
38878 rm -f conftest.$ac_objext conftest$ac_exeext
38879 if { (ac_try="$ac_link"
38880 case "(($ac_try" in
38881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38882 *) ac_try_echo=$ac_try;;
38883 esac
38884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38885 (eval "$ac_link") 2>conftest.er1
38886 ac_status=$?
38887 grep -v '^ *+' conftest.er1 >conftest.err
38888 rm -f conftest.er1
38889 cat conftest.err >&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); } && {
38892 test -z "$ac_c_werror_flag" ||
38893 test ! -s conftest.err
38894 } && test -s conftest$ac_exeext &&
38895 $as_test_x conftest$ac_exeext; then
38896 ac_cv_lib_posix4_nanosleep=yes
38897 else
38898 echo "$as_me: failed program was:" >&5
38899 sed 's/^/| /' conftest.$ac_ext >&5
38900
38901 ac_cv_lib_posix4_nanosleep=no
38902 fi
38903
38904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38905 conftest$ac_exeext conftest.$ac_ext
38906 LIBS=$ac_check_lib_save_LIBS
38907 fi
38908 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38909 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38910 if test $ac_cv_lib_posix4_nanosleep = yes; then
38911
38912 cat >>confdefs.h <<\_ACEOF
38913 #define HAVE_NANOSLEEP 1
38914 _ACEOF
38915
38916 POSIX4_LINK=" -lposix4"
38917
38918 else
38919
38920
38921 for wx_func in usleep
38922 do
38923 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38924 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38925 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38926 echo $ECHO_N "(cached) $ECHO_C" >&6
38927 else
38928
38929 cat >conftest.$ac_ext <<_ACEOF
38930
38931 /* confdefs.h. */
38932 _ACEOF
38933 cat confdefs.h >>conftest.$ac_ext
38934 cat >>conftest.$ac_ext <<_ACEOF
38935 /* end confdefs.h. */
38936
38937
38938 $ac_includes_default
38939
38940 int
38941 main ()
38942 {
38943
38944 #ifndef $wx_func
38945 &$wx_func;
38946 #endif
38947
38948
38949 ;
38950 return 0;
38951 }
38952
38953 _ACEOF
38954 rm -f conftest.$ac_objext conftest$ac_exeext
38955 if { (ac_try="$ac_link"
38956 case "(($ac_try" in
38957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38958 *) ac_try_echo=$ac_try;;
38959 esac
38960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38961 (eval "$ac_link") 2>conftest.er1
38962 ac_status=$?
38963 grep -v '^ *+' conftest.er1 >conftest.err
38964 rm -f conftest.er1
38965 cat conftest.err >&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); } && {
38968 test -z "$ac_c_werror_flag" ||
38969 test ! -s conftest.err
38970 } && test -s conftest$ac_exeext &&
38971 $as_test_x conftest$ac_exeext; then
38972 eval wx_cv_func_$wx_func=yes
38973 else
38974 echo "$as_me: failed program was:" >&5
38975 sed 's/^/| /' conftest.$ac_ext >&5
38976
38977 eval wx_cv_func_$wx_func=no
38978 fi
38979
38980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38981 conftest$ac_exeext conftest.$ac_ext
38982
38983 fi
38984 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38985 { echo "$as_me:$LINENO: result: $ac_res" >&5
38986 echo "${ECHO_T}$ac_res" >&6; }
38987
38988 if eval test \$wx_cv_func_$wx_func = yes
38989 then
38990 cat >>confdefs.h <<_ACEOF
38991 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38992 _ACEOF
38993
38994
38995 else
38996 :
38997 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38998 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38999
39000 fi
39001 done
39002
39003
39004
39005 fi
39006
39007
39008
39009 fi
39010 done
39011
39012 fi
39013
39014
39015 for wx_func in uname
39016 do
39017 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39018 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39019 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39020 echo $ECHO_N "(cached) $ECHO_C" >&6
39021 else
39022
39023 cat >conftest.$ac_ext <<_ACEOF
39024
39025 /* confdefs.h. */
39026 _ACEOF
39027 cat confdefs.h >>conftest.$ac_ext
39028 cat >>conftest.$ac_ext <<_ACEOF
39029 /* end confdefs.h. */
39030
39031 #include <sys/utsname.h>
39032 $ac_includes_default
39033
39034 int
39035 main ()
39036 {
39037
39038 #ifndef $wx_func
39039 &$wx_func;
39040 #endif
39041
39042
39043 ;
39044 return 0;
39045 }
39046
39047 _ACEOF
39048 rm -f conftest.$ac_objext conftest$ac_exeext
39049 if { (ac_try="$ac_link"
39050 case "(($ac_try" in
39051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39052 *) ac_try_echo=$ac_try;;
39053 esac
39054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39055 (eval "$ac_link") 2>conftest.er1
39056 ac_status=$?
39057 grep -v '^ *+' conftest.er1 >conftest.err
39058 rm -f conftest.er1
39059 cat conftest.err >&5
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); } && {
39062 test -z "$ac_c_werror_flag" ||
39063 test ! -s conftest.err
39064 } && test -s conftest$ac_exeext &&
39065 $as_test_x conftest$ac_exeext; then
39066 eval wx_cv_func_$wx_func=yes
39067 else
39068 echo "$as_me: failed program was:" >&5
39069 sed 's/^/| /' conftest.$ac_ext >&5
39070
39071 eval wx_cv_func_$wx_func=no
39072 fi
39073
39074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39075 conftest$ac_exeext conftest.$ac_ext
39076
39077 fi
39078 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39079 { echo "$as_me:$LINENO: result: $ac_res" >&5
39080 echo "${ECHO_T}$ac_res" >&6; }
39081
39082 if eval test \$wx_cv_func_$wx_func = yes
39083 then
39084 cat >>confdefs.h <<_ACEOF
39085 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39086 _ACEOF
39087
39088
39089 else
39090 :
39091
39092 fi
39093 done
39094
39095 if test "$wx_cv_func_uname" != yes; then
39096
39097 for wx_func in gethostname
39098 do
39099 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39100 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39101 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39102 echo $ECHO_N "(cached) $ECHO_C" >&6
39103 else
39104
39105 cat >conftest.$ac_ext <<_ACEOF
39106
39107 /* confdefs.h. */
39108 _ACEOF
39109 cat confdefs.h >>conftest.$ac_ext
39110 cat >>conftest.$ac_ext <<_ACEOF
39111 /* end confdefs.h. */
39112
39113
39114 $ac_includes_default
39115
39116 int
39117 main ()
39118 {
39119
39120 #ifndef $wx_func
39121 &$wx_func;
39122 #endif
39123
39124
39125 ;
39126 return 0;
39127 }
39128
39129 _ACEOF
39130 rm -f conftest.$ac_objext conftest$ac_exeext
39131 if { (ac_try="$ac_link"
39132 case "(($ac_try" in
39133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39134 *) ac_try_echo=$ac_try;;
39135 esac
39136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39137 (eval "$ac_link") 2>conftest.er1
39138 ac_status=$?
39139 grep -v '^ *+' conftest.er1 >conftest.err
39140 rm -f conftest.er1
39141 cat conftest.err >&5
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); } && {
39144 test -z "$ac_c_werror_flag" ||
39145 test ! -s conftest.err
39146 } && test -s conftest$ac_exeext &&
39147 $as_test_x conftest$ac_exeext; then
39148 eval wx_cv_func_$wx_func=yes
39149 else
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.$ac_ext >&5
39152
39153 eval wx_cv_func_$wx_func=no
39154 fi
39155
39156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39157 conftest$ac_exeext conftest.$ac_ext
39158
39159 fi
39160 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39161 { echo "$as_me:$LINENO: result: $ac_res" >&5
39162 echo "${ECHO_T}$ac_res" >&6; }
39163
39164 if eval test \$wx_cv_func_$wx_func = yes
39165 then
39166 cat >>confdefs.h <<_ACEOF
39167 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39168 _ACEOF
39169
39170
39171 else
39172 :
39173
39174 fi
39175 done
39176
39177 fi
39178
39179
39180 for wx_func in strtok_r
39181 do
39182 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39183 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39184 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39186 else
39187
39188 cat >conftest.$ac_ext <<_ACEOF
39189
39190 /* confdefs.h. */
39191 _ACEOF
39192 cat confdefs.h >>conftest.$ac_ext
39193 cat >>conftest.$ac_ext <<_ACEOF
39194 /* end confdefs.h. */
39195
39196 #define _REENTRANT
39197 $ac_includes_default
39198
39199 int
39200 main ()
39201 {
39202
39203 #ifndef $wx_func
39204 &$wx_func;
39205 #endif
39206
39207
39208 ;
39209 return 0;
39210 }
39211
39212 _ACEOF
39213 rm -f conftest.$ac_objext conftest$ac_exeext
39214 if { (ac_try="$ac_link"
39215 case "(($ac_try" in
39216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39217 *) ac_try_echo=$ac_try;;
39218 esac
39219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39220 (eval "$ac_link") 2>conftest.er1
39221 ac_status=$?
39222 grep -v '^ *+' conftest.er1 >conftest.err
39223 rm -f conftest.er1
39224 cat conftest.err >&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); } && {
39227 test -z "$ac_c_werror_flag" ||
39228 test ! -s conftest.err
39229 } && test -s conftest$ac_exeext &&
39230 $as_test_x conftest$ac_exeext; then
39231 eval wx_cv_func_$wx_func=yes
39232 else
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39235
39236 eval wx_cv_func_$wx_func=no
39237 fi
39238
39239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39240 conftest$ac_exeext conftest.$ac_ext
39241
39242 fi
39243 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39244 { echo "$as_me:$LINENO: result: $ac_res" >&5
39245 echo "${ECHO_T}$ac_res" >&6; }
39246
39247 if eval test \$wx_cv_func_$wx_func = yes
39248 then
39249 cat >>confdefs.h <<_ACEOF
39250 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39251 _ACEOF
39252
39253
39254 else
39255 :
39256
39257 fi
39258 done
39259
39260
39261 INET_LINK=
39262
39263 for ac_func in inet_addr
39264 do
39265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 else
39271 cat >conftest.$ac_ext <<_ACEOF
39272 /* confdefs.h. */
39273 _ACEOF
39274 cat confdefs.h >>conftest.$ac_ext
39275 cat >>conftest.$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39279 #define $ac_func innocuous_$ac_func
39280
39281 /* System header to define __stub macros and hopefully few prototypes,
39282 which can conflict with char $ac_func (); below.
39283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39284 <limits.h> exists even on freestanding compilers. */
39285
39286 #ifdef __STDC__
39287 # include <limits.h>
39288 #else
39289 # include <assert.h>
39290 #endif
39291
39292 #undef $ac_func
39293
39294 /* Override any GCC internal prototype to avoid an error.
39295 Use char because int might match the return type of a GCC
39296 builtin and then its argument prototype would still apply. */
39297 #ifdef __cplusplus
39298 extern "C"
39299 #endif
39300 char $ac_func ();
39301 /* The GNU C library defines this for functions which it implements
39302 to always fail with ENOSYS. Some functions are actually named
39303 something starting with __ and the normal name is an alias. */
39304 #if defined __stub_$ac_func || defined __stub___$ac_func
39305 choke me
39306 #endif
39307
39308 int
39309 main ()
39310 {
39311 return $ac_func ();
39312 ;
39313 return 0;
39314 }
39315 _ACEOF
39316 rm -f conftest.$ac_objext conftest$ac_exeext
39317 if { (ac_try="$ac_link"
39318 case "(($ac_try" in
39319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39320 *) ac_try_echo=$ac_try;;
39321 esac
39322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39323 (eval "$ac_link") 2>conftest.er1
39324 ac_status=$?
39325 grep -v '^ *+' conftest.er1 >conftest.err
39326 rm -f conftest.er1
39327 cat conftest.err >&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); } && {
39330 test -z "$ac_c_werror_flag" ||
39331 test ! -s conftest.err
39332 } && test -s conftest$ac_exeext &&
39333 $as_test_x conftest$ac_exeext; then
39334 eval "$as_ac_var=yes"
39335 else
39336 echo "$as_me: failed program was:" >&5
39337 sed 's/^/| /' conftest.$ac_ext >&5
39338
39339 eval "$as_ac_var=no"
39340 fi
39341
39342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39343 conftest$ac_exeext conftest.$ac_ext
39344 fi
39345 ac_res=`eval echo '${'$as_ac_var'}'`
39346 { echo "$as_me:$LINENO: result: $ac_res" >&5
39347 echo "${ECHO_T}$ac_res" >&6; }
39348 if test `eval echo '${'$as_ac_var'}'` = yes; then
39349 cat >>confdefs.h <<_ACEOF
39350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39351 _ACEOF
39352 cat >>confdefs.h <<\_ACEOF
39353 #define HAVE_INET_ADDR 1
39354 _ACEOF
39355
39356 else
39357
39358 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39359 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39360 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39361 echo $ECHO_N "(cached) $ECHO_C" >&6
39362 else
39363 ac_check_lib_save_LIBS=$LIBS
39364 LIBS="-lnsl $LIBS"
39365 cat >conftest.$ac_ext <<_ACEOF
39366 /* confdefs.h. */
39367 _ACEOF
39368 cat confdefs.h >>conftest.$ac_ext
39369 cat >>conftest.$ac_ext <<_ACEOF
39370 /* end confdefs.h. */
39371
39372 /* Override any GCC internal prototype to avoid an error.
39373 Use char because int might match the return type of a GCC
39374 builtin and then its argument prototype would still apply. */
39375 #ifdef __cplusplus
39376 extern "C"
39377 #endif
39378 char inet_addr ();
39379 int
39380 main ()
39381 {
39382 return inet_addr ();
39383 ;
39384 return 0;
39385 }
39386 _ACEOF
39387 rm -f conftest.$ac_objext conftest$ac_exeext
39388 if { (ac_try="$ac_link"
39389 case "(($ac_try" in
39390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39391 *) ac_try_echo=$ac_try;;
39392 esac
39393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39394 (eval "$ac_link") 2>conftest.er1
39395 ac_status=$?
39396 grep -v '^ *+' conftest.er1 >conftest.err
39397 rm -f conftest.er1
39398 cat conftest.err >&5
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); } && {
39401 test -z "$ac_c_werror_flag" ||
39402 test ! -s conftest.err
39403 } && test -s conftest$ac_exeext &&
39404 $as_test_x conftest$ac_exeext; then
39405 ac_cv_lib_nsl_inet_addr=yes
39406 else
39407 echo "$as_me: failed program was:" >&5
39408 sed 's/^/| /' conftest.$ac_ext >&5
39409
39410 ac_cv_lib_nsl_inet_addr=no
39411 fi
39412
39413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39414 conftest$ac_exeext conftest.$ac_ext
39415 LIBS=$ac_check_lib_save_LIBS
39416 fi
39417 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39418 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39419 if test $ac_cv_lib_nsl_inet_addr = yes; then
39420 INET_LINK="nsl"
39421 else
39422
39423 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39424 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39425 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39426 echo $ECHO_N "(cached) $ECHO_C" >&6
39427 else
39428 ac_check_lib_save_LIBS=$LIBS
39429 LIBS="-lresolv $LIBS"
39430 cat >conftest.$ac_ext <<_ACEOF
39431 /* confdefs.h. */
39432 _ACEOF
39433 cat confdefs.h >>conftest.$ac_ext
39434 cat >>conftest.$ac_ext <<_ACEOF
39435 /* end confdefs.h. */
39436
39437 /* Override any GCC internal prototype to avoid an error.
39438 Use char because int might match the return type of a GCC
39439 builtin and then its argument prototype would still apply. */
39440 #ifdef __cplusplus
39441 extern "C"
39442 #endif
39443 char inet_addr ();
39444 int
39445 main ()
39446 {
39447 return inet_addr ();
39448 ;
39449 return 0;
39450 }
39451 _ACEOF
39452 rm -f conftest.$ac_objext conftest$ac_exeext
39453 if { (ac_try="$ac_link"
39454 case "(($ac_try" in
39455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39456 *) ac_try_echo=$ac_try;;
39457 esac
39458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39459 (eval "$ac_link") 2>conftest.er1
39460 ac_status=$?
39461 grep -v '^ *+' conftest.er1 >conftest.err
39462 rm -f conftest.er1
39463 cat conftest.err >&5
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); } && {
39466 test -z "$ac_c_werror_flag" ||
39467 test ! -s conftest.err
39468 } && test -s conftest$ac_exeext &&
39469 $as_test_x conftest$ac_exeext; then
39470 ac_cv_lib_resolv_inet_addr=yes
39471 else
39472 echo "$as_me: failed program was:" >&5
39473 sed 's/^/| /' conftest.$ac_ext >&5
39474
39475 ac_cv_lib_resolv_inet_addr=no
39476 fi
39477
39478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39479 conftest$ac_exeext conftest.$ac_ext
39480 LIBS=$ac_check_lib_save_LIBS
39481 fi
39482 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39483 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39484 if test $ac_cv_lib_resolv_inet_addr = yes; then
39485 INET_LINK="resolv"
39486 else
39487
39488 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39489 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39490 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39491 echo $ECHO_N "(cached) $ECHO_C" >&6
39492 else
39493 ac_check_lib_save_LIBS=$LIBS
39494 LIBS="-lsocket $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_socket_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_socket_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_socket_inet_addr" >&5
39548 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39549 if test $ac_cv_lib_socket_inet_addr = yes; then
39550 INET_LINK="socket"
39551
39552 fi
39553
39554
39555
39556 fi
39557
39558
39559
39560 fi
39561
39562
39563
39564 fi
39565 done
39566
39567
39568
39569 for ac_func in inet_aton
39570 do
39571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39575 echo $ECHO_N "(cached) $ECHO_C" >&6
39576 else
39577 cat >conftest.$ac_ext <<_ACEOF
39578 /* confdefs.h. */
39579 _ACEOF
39580 cat confdefs.h >>conftest.$ac_ext
39581 cat >>conftest.$ac_ext <<_ACEOF
39582 /* end confdefs.h. */
39583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39585 #define $ac_func innocuous_$ac_func
39586
39587 /* System header to define __stub macros and hopefully few prototypes,
39588 which can conflict with char $ac_func (); below.
39589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39590 <limits.h> exists even on freestanding compilers. */
39591
39592 #ifdef __STDC__
39593 # include <limits.h>
39594 #else
39595 # include <assert.h>
39596 #endif
39597
39598 #undef $ac_func
39599
39600 /* Override any GCC internal prototype to avoid an error.
39601 Use char because int might match the return type of a GCC
39602 builtin and then its argument prototype would still apply. */
39603 #ifdef __cplusplus
39604 extern "C"
39605 #endif
39606 char $ac_func ();
39607 /* The GNU C library defines this for functions which it implements
39608 to always fail with ENOSYS. Some functions are actually named
39609 something starting with __ and the normal name is an alias. */
39610 #if defined __stub_$ac_func || defined __stub___$ac_func
39611 choke me
39612 #endif
39613
39614 int
39615 main ()
39616 {
39617 return $ac_func ();
39618 ;
39619 return 0;
39620 }
39621 _ACEOF
39622 rm -f conftest.$ac_objext conftest$ac_exeext
39623 if { (ac_try="$ac_link"
39624 case "(($ac_try" in
39625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39626 *) ac_try_echo=$ac_try;;
39627 esac
39628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39629 (eval "$ac_link") 2>conftest.er1
39630 ac_status=$?
39631 grep -v '^ *+' conftest.er1 >conftest.err
39632 rm -f conftest.er1
39633 cat conftest.err >&5
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); } && {
39636 test -z "$ac_c_werror_flag" ||
39637 test ! -s conftest.err
39638 } && test -s conftest$ac_exeext &&
39639 $as_test_x conftest$ac_exeext; then
39640 eval "$as_ac_var=yes"
39641 else
39642 echo "$as_me: failed program was:" >&5
39643 sed 's/^/| /' conftest.$ac_ext >&5
39644
39645 eval "$as_ac_var=no"
39646 fi
39647
39648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39649 conftest$ac_exeext conftest.$ac_ext
39650 fi
39651 ac_res=`eval echo '${'$as_ac_var'}'`
39652 { echo "$as_me:$LINENO: result: $ac_res" >&5
39653 echo "${ECHO_T}$ac_res" >&6; }
39654 if test `eval echo '${'$as_ac_var'}'` = yes; then
39655 cat >>confdefs.h <<_ACEOF
39656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39657 _ACEOF
39658 cat >>confdefs.h <<\_ACEOF
39659 #define HAVE_INET_ATON 1
39660 _ACEOF
39661
39662 else
39663
39664 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39665 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39666 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39667 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39668 echo $ECHO_N "(cached) $ECHO_C" >&6
39669 else
39670 ac_check_lib_save_LIBS=$LIBS
39671 LIBS="-l$INET_LINK $LIBS"
39672 cat >conftest.$ac_ext <<_ACEOF
39673 /* confdefs.h. */
39674 _ACEOF
39675 cat confdefs.h >>conftest.$ac_ext
39676 cat >>conftest.$ac_ext <<_ACEOF
39677 /* end confdefs.h. */
39678
39679 /* Override any GCC internal prototype to avoid an error.
39680 Use char because int might match the return type of a GCC
39681 builtin and then its argument prototype would still apply. */
39682 #ifdef __cplusplus
39683 extern "C"
39684 #endif
39685 char inet_aton ();
39686 int
39687 main ()
39688 {
39689 return inet_aton ();
39690 ;
39691 return 0;
39692 }
39693 _ACEOF
39694 rm -f conftest.$ac_objext conftest$ac_exeext
39695 if { (ac_try="$ac_link"
39696 case "(($ac_try" in
39697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39698 *) ac_try_echo=$ac_try;;
39699 esac
39700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39701 (eval "$ac_link") 2>conftest.er1
39702 ac_status=$?
39703 grep -v '^ *+' conftest.er1 >conftest.err
39704 rm -f conftest.er1
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } && {
39708 test -z "$ac_c_werror_flag" ||
39709 test ! -s conftest.err
39710 } && test -s conftest$ac_exeext &&
39711 $as_test_x conftest$ac_exeext; then
39712 eval "$as_ac_Lib=yes"
39713 else
39714 echo "$as_me: failed program was:" >&5
39715 sed 's/^/| /' conftest.$ac_ext >&5
39716
39717 eval "$as_ac_Lib=no"
39718 fi
39719
39720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39721 conftest$ac_exeext conftest.$ac_ext
39722 LIBS=$ac_check_lib_save_LIBS
39723 fi
39724 ac_res=`eval echo '${'$as_ac_Lib'}'`
39725 { echo "$as_me:$LINENO: result: $ac_res" >&5
39726 echo "${ECHO_T}$ac_res" >&6; }
39727 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39728 cat >>confdefs.h <<\_ACEOF
39729 #define HAVE_INET_ATON 1
39730 _ACEOF
39731
39732 fi
39733
39734
39735 fi
39736 done
39737
39738
39739 if test "x$INET_LINK" != "x"; then
39740 cat >>confdefs.h <<\_ACEOF
39741 #define HAVE_INET_ADDR 1
39742 _ACEOF
39743
39744 INET_LINK=" -l$INET_LINK"
39745 fi
39746
39747
39748 for wx_func in fdopen
39749 do
39750 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39751 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39752 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39753 echo $ECHO_N "(cached) $ECHO_C" >&6
39754 else
39755
39756 cat >conftest.$ac_ext <<_ACEOF
39757
39758 /* confdefs.h. */
39759 _ACEOF
39760 cat confdefs.h >>conftest.$ac_ext
39761 cat >>conftest.$ac_ext <<_ACEOF
39762 /* end confdefs.h. */
39763
39764
39765 $ac_includes_default
39766
39767 int
39768 main ()
39769 {
39770
39771 #ifndef $wx_func
39772 &$wx_func;
39773 #endif
39774
39775
39776 ;
39777 return 0;
39778 }
39779
39780 _ACEOF
39781 rm -f conftest.$ac_objext conftest$ac_exeext
39782 if { (ac_try="$ac_link"
39783 case "(($ac_try" in
39784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39785 *) ac_try_echo=$ac_try;;
39786 esac
39787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39788 (eval "$ac_link") 2>conftest.er1
39789 ac_status=$?
39790 grep -v '^ *+' conftest.er1 >conftest.err
39791 rm -f conftest.er1
39792 cat conftest.err >&5
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); } && {
39795 test -z "$ac_c_werror_flag" ||
39796 test ! -s conftest.err
39797 } && test -s conftest$ac_exeext &&
39798 $as_test_x conftest$ac_exeext; then
39799 eval wx_cv_func_$wx_func=yes
39800 else
39801 echo "$as_me: failed program was:" >&5
39802 sed 's/^/| /' conftest.$ac_ext >&5
39803
39804 eval wx_cv_func_$wx_func=no
39805 fi
39806
39807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39808 conftest$ac_exeext conftest.$ac_ext
39809
39810 fi
39811 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39812 { echo "$as_me:$LINENO: result: $ac_res" >&5
39813 echo "${ECHO_T}$ac_res" >&6; }
39814
39815 if eval test \$wx_cv_func_$wx_func = yes
39816 then
39817 cat >>confdefs.h <<_ACEOF
39818 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39819 _ACEOF
39820
39821
39822 else
39823 :
39824
39825 fi
39826 done
39827
39828
39829 if test "$wxUSE_TARSTREAM" = "yes"; then
39830
39831 for wx_func in sysconf
39832 do
39833 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39834 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39835 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39836 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 else
39838
39839 cat >conftest.$ac_ext <<_ACEOF
39840
39841 /* confdefs.h. */
39842 _ACEOF
39843 cat confdefs.h >>conftest.$ac_ext
39844 cat >>conftest.$ac_ext <<_ACEOF
39845 /* end confdefs.h. */
39846
39847
39848 $ac_includes_default
39849
39850 int
39851 main ()
39852 {
39853
39854 #ifndef $wx_func
39855 &$wx_func;
39856 #endif
39857
39858
39859 ;
39860 return 0;
39861 }
39862
39863 _ACEOF
39864 rm -f conftest.$ac_objext conftest$ac_exeext
39865 if { (ac_try="$ac_link"
39866 case "(($ac_try" in
39867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39868 *) ac_try_echo=$ac_try;;
39869 esac
39870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39871 (eval "$ac_link") 2>conftest.er1
39872 ac_status=$?
39873 grep -v '^ *+' conftest.er1 >conftest.err
39874 rm -f conftest.er1
39875 cat conftest.err >&5
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); } && {
39878 test -z "$ac_c_werror_flag" ||
39879 test ! -s conftest.err
39880 } && test -s conftest$ac_exeext &&
39881 $as_test_x conftest$ac_exeext; then
39882 eval wx_cv_func_$wx_func=yes
39883 else
39884 echo "$as_me: failed program was:" >&5
39885 sed 's/^/| /' conftest.$ac_ext >&5
39886
39887 eval wx_cv_func_$wx_func=no
39888 fi
39889
39890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39891 conftest$ac_exeext conftest.$ac_ext
39892
39893 fi
39894 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39895 { echo "$as_me:$LINENO: result: $ac_res" >&5
39896 echo "${ECHO_T}$ac_res" >&6; }
39897
39898 if eval test \$wx_cv_func_$wx_func = yes
39899 then
39900 cat >>confdefs.h <<_ACEOF
39901 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39902 _ACEOF
39903
39904
39905 else
39906 :
39907
39908 fi
39909 done
39910
39911
39912
39913 for wx_func in getpwuid_r
39914 do
39915 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39916 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39917 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39919 else
39920
39921 cat >conftest.$ac_ext <<_ACEOF
39922
39923 /* confdefs.h. */
39924 _ACEOF
39925 cat confdefs.h >>conftest.$ac_ext
39926 cat >>conftest.$ac_ext <<_ACEOF
39927 /* end confdefs.h. */
39928
39929
39930 #define _REENTRANT
39931 #include <pwd.h>
39932
39933 $ac_includes_default
39934
39935 int
39936 main ()
39937 {
39938
39939 #ifndef $wx_func
39940 &$wx_func;
39941 #endif
39942
39943 struct passwd pw, *ppw;
39944 char buf[1024];
39945 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39946
39947
39948 ;
39949 return 0;
39950 }
39951
39952 _ACEOF
39953 rm -f conftest.$ac_objext conftest$ac_exeext
39954 if { (ac_try="$ac_link"
39955 case "(($ac_try" in
39956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39957 *) ac_try_echo=$ac_try;;
39958 esac
39959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39960 (eval "$ac_link") 2>conftest.er1
39961 ac_status=$?
39962 grep -v '^ *+' conftest.er1 >conftest.err
39963 rm -f conftest.er1
39964 cat conftest.err >&5
39965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39966 (exit $ac_status); } && {
39967 test -z "$ac_c_werror_flag" ||
39968 test ! -s conftest.err
39969 } && test -s conftest$ac_exeext &&
39970 $as_test_x conftest$ac_exeext; then
39971 eval wx_cv_func_$wx_func=yes
39972 else
39973 echo "$as_me: failed program was:" >&5
39974 sed 's/^/| /' conftest.$ac_ext >&5
39975
39976 eval wx_cv_func_$wx_func=no
39977 fi
39978
39979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39980 conftest$ac_exeext conftest.$ac_ext
39981
39982 fi
39983 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39984 { echo "$as_me:$LINENO: result: $ac_res" >&5
39985 echo "${ECHO_T}$ac_res" >&6; }
39986
39987 if eval test \$wx_cv_func_$wx_func = yes
39988 then
39989 cat >>confdefs.h <<_ACEOF
39990 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39991 _ACEOF
39992
39993
39994 else
39995 :
39996
39997 fi
39998 done
39999
40000
40001
40002 for wx_func in getgrgid_r
40003 do
40004 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40005 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40006 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40007 echo $ECHO_N "(cached) $ECHO_C" >&6
40008 else
40009
40010 cat >conftest.$ac_ext <<_ACEOF
40011
40012 /* confdefs.h. */
40013 _ACEOF
40014 cat confdefs.h >>conftest.$ac_ext
40015 cat >>conftest.$ac_ext <<_ACEOF
40016 /* end confdefs.h. */
40017
40018
40019 #define _REENTRANT
40020 #include <grp.h>
40021
40022 $ac_includes_default
40023
40024 int
40025 main ()
40026 {
40027
40028 #ifndef $wx_func
40029 &$wx_func;
40030 #endif
40031
40032 struct group grp, *pgrp;
40033 char buf[1024];
40034 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40035
40036
40037 ;
40038 return 0;
40039 }
40040
40041 _ACEOF
40042 rm -f conftest.$ac_objext conftest$ac_exeext
40043 if { (ac_try="$ac_link"
40044 case "(($ac_try" in
40045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40046 *) ac_try_echo=$ac_try;;
40047 esac
40048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40049 (eval "$ac_link") 2>conftest.er1
40050 ac_status=$?
40051 grep -v '^ *+' conftest.er1 >conftest.err
40052 rm -f conftest.er1
40053 cat conftest.err >&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } && {
40056 test -z "$ac_c_werror_flag" ||
40057 test ! -s conftest.err
40058 } && test -s conftest$ac_exeext &&
40059 $as_test_x conftest$ac_exeext; then
40060 eval wx_cv_func_$wx_func=yes
40061 else
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.$ac_ext >&5
40064
40065 eval wx_cv_func_$wx_func=no
40066 fi
40067
40068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40069 conftest$ac_exeext conftest.$ac_ext
40070
40071 fi
40072 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40073 { echo "$as_me:$LINENO: result: $ac_res" >&5
40074 echo "${ECHO_T}$ac_res" >&6; }
40075
40076 if eval test \$wx_cv_func_$wx_func = yes
40077 then
40078 cat >>confdefs.h <<_ACEOF
40079 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40080 _ACEOF
40081
40082
40083 else
40084 :
40085
40086 fi
40087 done
40088
40089 fi
40090
40091 fi
40092
40093
40094
40095 cat >confcache <<\_ACEOF
40096 # This file is a shell script that caches the results of configure
40097 # tests run on this system so they can be shared between configure
40098 # scripts and configure runs, see configure's option --config-cache.
40099 # It is not useful on other systems. If it contains results you don't
40100 # want to keep, you may remove or edit it.
40101 #
40102 # config.status only pays attention to the cache file if you give it
40103 # the --recheck option to rerun configure.
40104 #
40105 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40106 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40107 # following values.
40108
40109 _ACEOF
40110
40111 # The following way of writing the cache mishandles newlines in values,
40112 # but we know of no workaround that is simple, portable, and efficient.
40113 # So, we kill variables containing newlines.
40114 # Ultrix sh set writes to stderr and can't be redirected directly,
40115 # and sets the high bit in the cache file unless we assign to the vars.
40116 (
40117 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40118 eval ac_val=\$$ac_var
40119 case $ac_val in #(
40120 *${as_nl}*)
40121 case $ac_var in #(
40122 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40123 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40124 esac
40125 case $ac_var in #(
40126 _ | IFS | as_nl) ;; #(
40127 *) $as_unset $ac_var ;;
40128 esac ;;
40129 esac
40130 done
40131
40132 (set) 2>&1 |
40133 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40134 *${as_nl}ac_space=\ *)
40135 # `set' does not quote correctly, so add quotes (double-quote
40136 # substitution turns \\\\ into \\, and sed turns \\ into \).
40137 sed -n \
40138 "s/'/'\\\\''/g;
40139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40140 ;; #(
40141 *)
40142 # `set' quotes correctly as required by POSIX, so do not add quotes.
40143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40144 ;;
40145 esac |
40146 sort
40147 ) |
40148 sed '
40149 /^ac_cv_env_/b end
40150 t clear
40151 :clear
40152 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40153 t end
40154 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40155 :end' >>confcache
40156 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40157 if test -w "$cache_file"; then
40158 test "x$cache_file" != "x/dev/null" &&
40159 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40160 echo "$as_me: updating cache $cache_file" >&6;}
40161 cat confcache >$cache_file
40162 else
40163 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40164 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40165 fi
40166 fi
40167 rm -f confcache
40168
40169
40170 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40171
40172
40173 THREADS_LINK=
40174 THREADS_CFLAGS=
40175
40176 if test "$wxUSE_THREADS" = "yes" ; then
40177 if test "$USE_BEOS" = 1; then
40178 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40179 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40180 wxUSE_THREADS="no"
40181 fi
40182 fi
40183
40184 if test "$wxUSE_THREADS" = "yes" ; then
40185
40186
40187 THREAD_OPTS="-pthread"
40188 if test "x$SUNCXX" = xyes; then
40189 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40190 fi
40191
40192 case "${host}" in
40193 *-*-solaris2* | *-*-sunos4* )
40194 if test "x$GCC" = "xyes"; then
40195 THREAD_OPTS="-pthreads $THREAD_OPTS"
40196 fi
40197 ;;
40198 *-*-freebsd*)
40199 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40200 ;;
40201 *-*-darwin* | *-*-cygwin* )
40202 THREAD_OPTS=""
40203 ;;
40204 *-*-aix*)
40205 THREAD_OPTS="pthreads"
40206 ;;
40207 *-hp-hpux* )
40208 if test "x$GCC" = "xyes"; then
40209 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40210 THREAD_OPTS=""
40211 else
40212 THREAD_OPTS="-mt"
40213 fi
40214 ;;
40215
40216 *-*-irix* )
40217 if test "x$GCC" = "xyes"; then
40218 THREAD_OPTS=""
40219 fi
40220 ;;
40221
40222 *-*-qnx*)
40223 THREAD_OPTS=""
40224 ;;
40225
40226 *-*-*UnixWare*)
40227 if test "x$GCC" != "xyes"; then
40228 THREAD_OPTS="-Ethread"
40229 fi
40230 ;;
40231 esac
40232
40233 case "${host}" in
40234 *-*-qnx*)
40235 THREAD_OPTS="none pthread"
40236 ;;
40237
40238 *)
40239 THREAD_OPTS="$THREAD_OPTS pthread none"
40240 ;;
40241 esac
40242
40243 THREADS_OK=no
40244 for flag in $THREAD_OPTS; do
40245 case $flag in
40246 none)
40247 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40248 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40249 ;;
40250
40251 -*)
40252 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40253 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40254 THREADS_CFLAGS="$flag"
40255 ;;
40256
40257 *)
40258 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40259 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40260 THREADS_LINK="-l$flag"
40261 ;;
40262 esac
40263
40264 save_LIBS="$LIBS"
40265 save_CFLAGS="$CFLAGS"
40266 LIBS="$THREADS_LINK $LIBS"
40267 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40268
40269 cat >conftest.$ac_ext <<_ACEOF
40270 /* confdefs.h. */
40271 _ACEOF
40272 cat confdefs.h >>conftest.$ac_ext
40273 cat >>conftest.$ac_ext <<_ACEOF
40274 /* end confdefs.h. */
40275 #include <pthread.h>
40276 int
40277 main ()
40278 {
40279 pthread_create(0,0,0,0);
40280 ;
40281 return 0;
40282 }
40283 _ACEOF
40284 rm -f conftest.$ac_objext conftest$ac_exeext
40285 if { (ac_try="$ac_link"
40286 case "(($ac_try" in
40287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40288 *) ac_try_echo=$ac_try;;
40289 esac
40290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40291 (eval "$ac_link") 2>conftest.er1
40292 ac_status=$?
40293 grep -v '^ *+' conftest.er1 >conftest.err
40294 rm -f conftest.er1
40295 cat conftest.err >&5
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); } && {
40298 test -z "$ac_c_werror_flag" ||
40299 test ! -s conftest.err
40300 } && test -s conftest$ac_exeext &&
40301 $as_test_x conftest$ac_exeext; then
40302 THREADS_OK=yes
40303 else
40304 echo "$as_me: failed program was:" >&5
40305 sed 's/^/| /' conftest.$ac_ext >&5
40306
40307
40308 fi
40309
40310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40311 conftest$ac_exeext conftest.$ac_ext
40312
40313 LIBS="$save_LIBS"
40314 CFLAGS="$save_CFLAGS"
40315
40316 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40317 echo "${ECHO_T}$THREADS_OK" >&6; }
40318 if test "x$THREADS_OK" = "xyes"; then
40319 break;
40320 fi
40321
40322 THREADS_LINK=""
40323 THREADS_CFLAGS=""
40324 done
40325
40326 if test "x$THREADS_OK" != "xyes"; then
40327 wxUSE_THREADS=no
40328 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40329 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40330 else
40331 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40332 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40333 LIBS="$THREADS_LINK $LIBS"
40334
40335 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40336 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40337 flag=no
40338 case "${host}" in
40339 *-aix*)
40340 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40341 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40342 flag="-D_THREAD_SAFE"
40343 ;;
40344 *-freebsd*)
40345 flag="-D_THREAD_SAFE"
40346 ;;
40347 *-hp-hpux* )
40348 flag="-D_REENTRANT"
40349 if test "x$GCC" != "xyes"; then
40350 flag="$flag -D_RWSTD_MULTI_THREAD"
40351 fi
40352 ;;
40353 *solaris* | alpha*-osf*)
40354 flag="-D_REENTRANT"
40355 ;;
40356 esac
40357 { echo "$as_me:$LINENO: result: ${flag}" >&5
40358 echo "${ECHO_T}${flag}" >&6; }
40359 if test "x$flag" != xno; then
40360 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40361 fi
40362
40363 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40364 fi
40365 fi
40366
40367 if test "$wxUSE_THREADS" = "yes" ; then
40368
40369 for ac_func in thr_setconcurrency
40370 do
40371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40375 echo $ECHO_N "(cached) $ECHO_C" >&6
40376 else
40377 cat >conftest.$ac_ext <<_ACEOF
40378 /* confdefs.h. */
40379 _ACEOF
40380 cat confdefs.h >>conftest.$ac_ext
40381 cat >>conftest.$ac_ext <<_ACEOF
40382 /* end confdefs.h. */
40383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40385 #define $ac_func innocuous_$ac_func
40386
40387 /* System header to define __stub macros and hopefully few prototypes,
40388 which can conflict with char $ac_func (); below.
40389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40390 <limits.h> exists even on freestanding compilers. */
40391
40392 #ifdef __STDC__
40393 # include <limits.h>
40394 #else
40395 # include <assert.h>
40396 #endif
40397
40398 #undef $ac_func
40399
40400 /* Override any GCC internal prototype to avoid an error.
40401 Use char because int might match the return type of a GCC
40402 builtin and then its argument prototype would still apply. */
40403 #ifdef __cplusplus
40404 extern "C"
40405 #endif
40406 char $ac_func ();
40407 /* The GNU C library defines this for functions which it implements
40408 to always fail with ENOSYS. Some functions are actually named
40409 something starting with __ and the normal name is an alias. */
40410 #if defined __stub_$ac_func || defined __stub___$ac_func
40411 choke me
40412 #endif
40413
40414 int
40415 main ()
40416 {
40417 return $ac_func ();
40418 ;
40419 return 0;
40420 }
40421 _ACEOF
40422 rm -f conftest.$ac_objext conftest$ac_exeext
40423 if { (ac_try="$ac_link"
40424 case "(($ac_try" in
40425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40426 *) ac_try_echo=$ac_try;;
40427 esac
40428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40429 (eval "$ac_link") 2>conftest.er1
40430 ac_status=$?
40431 grep -v '^ *+' conftest.er1 >conftest.err
40432 rm -f conftest.er1
40433 cat conftest.err >&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } && {
40436 test -z "$ac_c_werror_flag" ||
40437 test ! -s conftest.err
40438 } && test -s conftest$ac_exeext &&
40439 $as_test_x conftest$ac_exeext; then
40440 eval "$as_ac_var=yes"
40441 else
40442 echo "$as_me: failed program was:" >&5
40443 sed 's/^/| /' conftest.$ac_ext >&5
40444
40445 eval "$as_ac_var=no"
40446 fi
40447
40448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40449 conftest$ac_exeext conftest.$ac_ext
40450 fi
40451 ac_res=`eval echo '${'$as_ac_var'}'`
40452 { echo "$as_me:$LINENO: result: $ac_res" >&5
40453 echo "${ECHO_T}$ac_res" >&6; }
40454 if test `eval echo '${'$as_ac_var'}'` = yes; then
40455 cat >>confdefs.h <<_ACEOF
40456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40457 _ACEOF
40458
40459 fi
40460 done
40461
40462
40463 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40464 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40465 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40466 echo $ECHO_N "(cached) $ECHO_C" >&6
40467 else
40468
40469 ac_ext=cpp
40470 ac_cpp='$CXXCPP $CPPFLAGS'
40471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40474
40475 cat >conftest.$ac_ext <<_ACEOF
40476 /* confdefs.h. */
40477 _ACEOF
40478 cat confdefs.h >>conftest.$ac_ext
40479 cat >>conftest.$ac_ext <<_ACEOF
40480 /* end confdefs.h. */
40481 #include <pthread.h>
40482 void ThreadCleanupFunc(void *p);
40483
40484 int
40485 main ()
40486 {
40487
40488 void *p;
40489 pthread_cleanup_push(ThreadCleanupFunc, p);
40490 pthread_cleanup_pop(0);
40491
40492 ;
40493 return 0;
40494 }
40495 _ACEOF
40496 rm -f conftest.$ac_objext
40497 if { (ac_try="$ac_compile"
40498 case "(($ac_try" in
40499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40500 *) ac_try_echo=$ac_try;;
40501 esac
40502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40503 (eval "$ac_compile") 2>conftest.er1
40504 ac_status=$?
40505 grep -v '^ *+' conftest.er1 >conftest.err
40506 rm -f conftest.er1
40507 cat conftest.err >&5
40508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40509 (exit $ac_status); } && {
40510 test -z "$ac_cxx_werror_flag" ||
40511 test ! -s conftest.err
40512 } && test -s conftest.$ac_objext; then
40513
40514 wx_cv_func_pthread_cleanup=yes
40515
40516 else
40517 echo "$as_me: failed program was:" >&5
40518 sed 's/^/| /' conftest.$ac_ext >&5
40519
40520
40521 wx_cv_func_pthread_cleanup=no
40522
40523
40524 fi
40525
40526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40527 ac_ext=c
40528 ac_cpp='$CPP $CPPFLAGS'
40529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40532
40533
40534 fi
40535 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40536 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40537 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40538 cat >>confdefs.h <<\_ACEOF
40539 #define wxHAVE_PTHREAD_CLEANUP 1
40540 _ACEOF
40541
40542 fi
40543
40544
40545 for ac_header in sched.h
40546 do
40547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40551 echo $ECHO_N "(cached) $ECHO_C" >&6
40552 else
40553 cat >conftest.$ac_ext <<_ACEOF
40554 /* confdefs.h. */
40555 _ACEOF
40556 cat confdefs.h >>conftest.$ac_ext
40557 cat >>conftest.$ac_ext <<_ACEOF
40558 /* end confdefs.h. */
40559 $ac_includes_default
40560
40561 #include <$ac_header>
40562 _ACEOF
40563 rm -f conftest.$ac_objext
40564 if { (ac_try="$ac_compile"
40565 case "(($ac_try" in
40566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40567 *) ac_try_echo=$ac_try;;
40568 esac
40569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40570 (eval "$ac_compile") 2>conftest.er1
40571 ac_status=$?
40572 grep -v '^ *+' conftest.er1 >conftest.err
40573 rm -f conftest.er1
40574 cat conftest.err >&5
40575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40576 (exit $ac_status); } && {
40577 test -z "$ac_c_werror_flag" ||
40578 test ! -s conftest.err
40579 } && test -s conftest.$ac_objext; then
40580 eval "$as_ac_Header=yes"
40581 else
40582 echo "$as_me: failed program was:" >&5
40583 sed 's/^/| /' conftest.$ac_ext >&5
40584
40585 eval "$as_ac_Header=no"
40586 fi
40587
40588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40589 fi
40590 ac_res=`eval echo '${'$as_ac_Header'}'`
40591 { echo "$as_me:$LINENO: result: $ac_res" >&5
40592 echo "${ECHO_T}$ac_res" >&6; }
40593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40594 cat >>confdefs.h <<_ACEOF
40595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40596 _ACEOF
40597
40598 fi
40599
40600 done
40601
40602 if test "$ac_cv_header_sched_h" = "yes"; then
40603 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40604 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40605 if test "${ac_cv_func_sched_yield+set}" = set; then
40606 echo $ECHO_N "(cached) $ECHO_C" >&6
40607 else
40608 cat >conftest.$ac_ext <<_ACEOF
40609 /* confdefs.h. */
40610 _ACEOF
40611 cat confdefs.h >>conftest.$ac_ext
40612 cat >>conftest.$ac_ext <<_ACEOF
40613 /* end confdefs.h. */
40614 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40616 #define sched_yield innocuous_sched_yield
40617
40618 /* System header to define __stub macros and hopefully few prototypes,
40619 which can conflict with char sched_yield (); below.
40620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40621 <limits.h> exists even on freestanding compilers. */
40622
40623 #ifdef __STDC__
40624 # include <limits.h>
40625 #else
40626 # include <assert.h>
40627 #endif
40628
40629 #undef sched_yield
40630
40631 /* Override any GCC internal prototype to avoid an error.
40632 Use char because int might match the return type of a GCC
40633 builtin and then its argument prototype would still apply. */
40634 #ifdef __cplusplus
40635 extern "C"
40636 #endif
40637 char sched_yield ();
40638 /* The GNU C library defines this for functions which it implements
40639 to always fail with ENOSYS. Some functions are actually named
40640 something starting with __ and the normal name is an alias. */
40641 #if defined __stub_sched_yield || defined __stub___sched_yield
40642 choke me
40643 #endif
40644
40645 int
40646 main ()
40647 {
40648 return sched_yield ();
40649 ;
40650 return 0;
40651 }
40652 _ACEOF
40653 rm -f conftest.$ac_objext conftest$ac_exeext
40654 if { (ac_try="$ac_link"
40655 case "(($ac_try" in
40656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40657 *) ac_try_echo=$ac_try;;
40658 esac
40659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40660 (eval "$ac_link") 2>conftest.er1
40661 ac_status=$?
40662 grep -v '^ *+' conftest.er1 >conftest.err
40663 rm -f conftest.er1
40664 cat conftest.err >&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } && {
40667 test -z "$ac_c_werror_flag" ||
40668 test ! -s conftest.err
40669 } && test -s conftest$ac_exeext &&
40670 $as_test_x conftest$ac_exeext; then
40671 ac_cv_func_sched_yield=yes
40672 else
40673 echo "$as_me: failed program was:" >&5
40674 sed 's/^/| /' conftest.$ac_ext >&5
40675
40676 ac_cv_func_sched_yield=no
40677 fi
40678
40679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40680 conftest$ac_exeext conftest.$ac_ext
40681 fi
40682 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40683 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40684 if test $ac_cv_func_sched_yield = yes; then
40685 cat >>confdefs.h <<\_ACEOF
40686 #define HAVE_SCHED_YIELD 1
40687 _ACEOF
40688
40689 else
40690
40691 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40692 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40693 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40694 echo $ECHO_N "(cached) $ECHO_C" >&6
40695 else
40696 ac_check_lib_save_LIBS=$LIBS
40697 LIBS="-lposix4 $LIBS"
40698 cat >conftest.$ac_ext <<_ACEOF
40699 /* confdefs.h. */
40700 _ACEOF
40701 cat confdefs.h >>conftest.$ac_ext
40702 cat >>conftest.$ac_ext <<_ACEOF
40703 /* end confdefs.h. */
40704
40705 /* Override any GCC internal prototype to avoid an error.
40706 Use char because int might match the return type of a GCC
40707 builtin and then its argument prototype would still apply. */
40708 #ifdef __cplusplus
40709 extern "C"
40710 #endif
40711 char sched_yield ();
40712 int
40713 main ()
40714 {
40715 return sched_yield ();
40716 ;
40717 return 0;
40718 }
40719 _ACEOF
40720 rm -f conftest.$ac_objext conftest$ac_exeext
40721 if { (ac_try="$ac_link"
40722 case "(($ac_try" in
40723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40724 *) ac_try_echo=$ac_try;;
40725 esac
40726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40727 (eval "$ac_link") 2>conftest.er1
40728 ac_status=$?
40729 grep -v '^ *+' conftest.er1 >conftest.err
40730 rm -f conftest.er1
40731 cat conftest.err >&5
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); } && {
40734 test -z "$ac_c_werror_flag" ||
40735 test ! -s conftest.err
40736 } && test -s conftest$ac_exeext &&
40737 $as_test_x conftest$ac_exeext; then
40738 ac_cv_lib_posix4_sched_yield=yes
40739 else
40740 echo "$as_me: failed program was:" >&5
40741 sed 's/^/| /' conftest.$ac_ext >&5
40742
40743 ac_cv_lib_posix4_sched_yield=no
40744 fi
40745
40746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40747 conftest$ac_exeext conftest.$ac_ext
40748 LIBS=$ac_check_lib_save_LIBS
40749 fi
40750 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40751 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40752 if test $ac_cv_lib_posix4_sched_yield = yes; then
40753 cat >>confdefs.h <<\_ACEOF
40754 #define HAVE_SCHED_YIELD 1
40755 _ACEOF
40756 POSIX4_LINK=" -lposix4"
40757 else
40758 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40759 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40760
40761 fi
40762
40763
40764
40765 fi
40766
40767 fi
40768
40769 HAVE_PRIOR_FUNCS=0
40770 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40771 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40772 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40774 else
40775 cat >conftest.$ac_ext <<_ACEOF
40776 /* confdefs.h. */
40777 _ACEOF
40778 cat confdefs.h >>conftest.$ac_ext
40779 cat >>conftest.$ac_ext <<_ACEOF
40780 /* end confdefs.h. */
40781 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40783 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40784
40785 /* System header to define __stub macros and hopefully few prototypes,
40786 which can conflict with char pthread_attr_getschedpolicy (); below.
40787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40788 <limits.h> exists even on freestanding compilers. */
40789
40790 #ifdef __STDC__
40791 # include <limits.h>
40792 #else
40793 # include <assert.h>
40794 #endif
40795
40796 #undef pthread_attr_getschedpolicy
40797
40798 /* Override any GCC internal prototype to avoid an error.
40799 Use char because int might match the return type of a GCC
40800 builtin and then its argument prototype would still apply. */
40801 #ifdef __cplusplus
40802 extern "C"
40803 #endif
40804 char pthread_attr_getschedpolicy ();
40805 /* The GNU C library defines this for functions which it implements
40806 to always fail with ENOSYS. Some functions are actually named
40807 something starting with __ and the normal name is an alias. */
40808 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40809 choke me
40810 #endif
40811
40812 int
40813 main ()
40814 {
40815 return pthread_attr_getschedpolicy ();
40816 ;
40817 return 0;
40818 }
40819 _ACEOF
40820 rm -f conftest.$ac_objext conftest$ac_exeext
40821 if { (ac_try="$ac_link"
40822 case "(($ac_try" in
40823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40824 *) ac_try_echo=$ac_try;;
40825 esac
40826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40827 (eval "$ac_link") 2>conftest.er1
40828 ac_status=$?
40829 grep -v '^ *+' conftest.er1 >conftest.err
40830 rm -f conftest.er1
40831 cat conftest.err >&5
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); } && {
40834 test -z "$ac_c_werror_flag" ||
40835 test ! -s conftest.err
40836 } && test -s conftest$ac_exeext &&
40837 $as_test_x conftest$ac_exeext; then
40838 ac_cv_func_pthread_attr_getschedpolicy=yes
40839 else
40840 echo "$as_me: failed program was:" >&5
40841 sed 's/^/| /' conftest.$ac_ext >&5
40842
40843 ac_cv_func_pthread_attr_getschedpolicy=no
40844 fi
40845
40846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40847 conftest$ac_exeext conftest.$ac_ext
40848 fi
40849 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40850 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40851 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40852 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40853 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40854 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40855 echo $ECHO_N "(cached) $ECHO_C" >&6
40856 else
40857 cat >conftest.$ac_ext <<_ACEOF
40858 /* confdefs.h. */
40859 _ACEOF
40860 cat confdefs.h >>conftest.$ac_ext
40861 cat >>conftest.$ac_ext <<_ACEOF
40862 /* end confdefs.h. */
40863 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40865 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40866
40867 /* System header to define __stub macros and hopefully few prototypes,
40868 which can conflict with char pthread_attr_setschedparam (); below.
40869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40870 <limits.h> exists even on freestanding compilers. */
40871
40872 #ifdef __STDC__
40873 # include <limits.h>
40874 #else
40875 # include <assert.h>
40876 #endif
40877
40878 #undef pthread_attr_setschedparam
40879
40880 /* Override any GCC internal prototype to avoid an error.
40881 Use char because int might match the return type of a GCC
40882 builtin and then its argument prototype would still apply. */
40883 #ifdef __cplusplus
40884 extern "C"
40885 #endif
40886 char pthread_attr_setschedparam ();
40887 /* The GNU C library defines this for functions which it implements
40888 to always fail with ENOSYS. Some functions are actually named
40889 something starting with __ and the normal name is an alias. */
40890 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40891 choke me
40892 #endif
40893
40894 int
40895 main ()
40896 {
40897 return pthread_attr_setschedparam ();
40898 ;
40899 return 0;
40900 }
40901 _ACEOF
40902 rm -f conftest.$ac_objext conftest$ac_exeext
40903 if { (ac_try="$ac_link"
40904 case "(($ac_try" in
40905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40906 *) ac_try_echo=$ac_try;;
40907 esac
40908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40909 (eval "$ac_link") 2>conftest.er1
40910 ac_status=$?
40911 grep -v '^ *+' conftest.er1 >conftest.err
40912 rm -f conftest.er1
40913 cat conftest.err >&5
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); } && {
40916 test -z "$ac_c_werror_flag" ||
40917 test ! -s conftest.err
40918 } && test -s conftest$ac_exeext &&
40919 $as_test_x conftest$ac_exeext; then
40920 ac_cv_func_pthread_attr_setschedparam=yes
40921 else
40922 echo "$as_me: failed program was:" >&5
40923 sed 's/^/| /' conftest.$ac_ext >&5
40924
40925 ac_cv_func_pthread_attr_setschedparam=no
40926 fi
40927
40928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40929 conftest$ac_exeext conftest.$ac_ext
40930 fi
40931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40932 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40933 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40934 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40935 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40936 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40937 echo $ECHO_N "(cached) $ECHO_C" >&6
40938 else
40939 cat >conftest.$ac_ext <<_ACEOF
40940 /* confdefs.h. */
40941 _ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h. */
40945 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40947 #define sched_get_priority_max innocuous_sched_get_priority_max
40948
40949 /* System header to define __stub macros and hopefully few prototypes,
40950 which can conflict with char sched_get_priority_max (); below.
40951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40952 <limits.h> exists even on freestanding compilers. */
40953
40954 #ifdef __STDC__
40955 # include <limits.h>
40956 #else
40957 # include <assert.h>
40958 #endif
40959
40960 #undef sched_get_priority_max
40961
40962 /* Override any GCC internal prototype to avoid an error.
40963 Use char because int might match the return type of a GCC
40964 builtin and then its argument prototype would still apply. */
40965 #ifdef __cplusplus
40966 extern "C"
40967 #endif
40968 char sched_get_priority_max ();
40969 /* The GNU C library defines this for functions which it implements
40970 to always fail with ENOSYS. Some functions are actually named
40971 something starting with __ and the normal name is an alias. */
40972 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40973 choke me
40974 #endif
40975
40976 int
40977 main ()
40978 {
40979 return sched_get_priority_max ();
40980 ;
40981 return 0;
40982 }
40983 _ACEOF
40984 rm -f conftest.$ac_objext conftest$ac_exeext
40985 if { (ac_try="$ac_link"
40986 case "(($ac_try" in
40987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40988 *) ac_try_echo=$ac_try;;
40989 esac
40990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40991 (eval "$ac_link") 2>conftest.er1
40992 ac_status=$?
40993 grep -v '^ *+' conftest.er1 >conftest.err
40994 rm -f conftest.er1
40995 cat conftest.err >&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); } && {
40998 test -z "$ac_c_werror_flag" ||
40999 test ! -s conftest.err
41000 } && test -s conftest$ac_exeext &&
41001 $as_test_x conftest$ac_exeext; then
41002 ac_cv_func_sched_get_priority_max=yes
41003 else
41004 echo "$as_me: failed program was:" >&5
41005 sed 's/^/| /' conftest.$ac_ext >&5
41006
41007 ac_cv_func_sched_get_priority_max=no
41008 fi
41009
41010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41011 conftest$ac_exeext conftest.$ac_ext
41012 fi
41013 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41014 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41015 if test $ac_cv_func_sched_get_priority_max = yes; then
41016 HAVE_PRIOR_FUNCS=1
41017 else
41018 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41019 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41020 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41021 echo $ECHO_N "(cached) $ECHO_C" >&6
41022 else
41023 ac_check_lib_save_LIBS=$LIBS
41024 LIBS="-lposix4 $LIBS"
41025 cat >conftest.$ac_ext <<_ACEOF
41026 /* confdefs.h. */
41027 _ACEOF
41028 cat confdefs.h >>conftest.$ac_ext
41029 cat >>conftest.$ac_ext <<_ACEOF
41030 /* end confdefs.h. */
41031
41032 /* Override any GCC internal prototype to avoid an error.
41033 Use char because int might match the return type of a GCC
41034 builtin and then its argument prototype would still apply. */
41035 #ifdef __cplusplus
41036 extern "C"
41037 #endif
41038 char sched_get_priority_max ();
41039 int
41040 main ()
41041 {
41042 return sched_get_priority_max ();
41043 ;
41044 return 0;
41045 }
41046 _ACEOF
41047 rm -f conftest.$ac_objext conftest$ac_exeext
41048 if { (ac_try="$ac_link"
41049 case "(($ac_try" in
41050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41051 *) ac_try_echo=$ac_try;;
41052 esac
41053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41054 (eval "$ac_link") 2>conftest.er1
41055 ac_status=$?
41056 grep -v '^ *+' conftest.er1 >conftest.err
41057 rm -f conftest.er1
41058 cat conftest.err >&5
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); } && {
41061 test -z "$ac_c_werror_flag" ||
41062 test ! -s conftest.err
41063 } && test -s conftest$ac_exeext &&
41064 $as_test_x conftest$ac_exeext; then
41065 ac_cv_lib_posix4_sched_get_priority_max=yes
41066 else
41067 echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.$ac_ext >&5
41069
41070 ac_cv_lib_posix4_sched_get_priority_max=no
41071 fi
41072
41073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41074 conftest$ac_exeext conftest.$ac_ext
41075 LIBS=$ac_check_lib_save_LIBS
41076 fi
41077 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41078 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41079 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41080
41081 HAVE_PRIOR_FUNCS=1
41082 POSIX4_LINK=" -lposix4"
41083
41084 fi
41085
41086
41087 fi
41088
41089
41090 fi
41091
41092
41093 fi
41094
41095
41096 if test "$HAVE_PRIOR_FUNCS" = 1; then
41097 cat >>confdefs.h <<\_ACEOF
41098 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41099 _ACEOF
41100
41101 else
41102 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41103 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41104 fi
41105
41106 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41107 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41108 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41109 echo $ECHO_N "(cached) $ECHO_C" >&6
41110 else
41111 cat >conftest.$ac_ext <<_ACEOF
41112 /* confdefs.h. */
41113 _ACEOF
41114 cat confdefs.h >>conftest.$ac_ext
41115 cat >>conftest.$ac_ext <<_ACEOF
41116 /* end confdefs.h. */
41117 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41119 #define pthread_cancel innocuous_pthread_cancel
41120
41121 /* System header to define __stub macros and hopefully few prototypes,
41122 which can conflict with char pthread_cancel (); below.
41123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41124 <limits.h> exists even on freestanding compilers. */
41125
41126 #ifdef __STDC__
41127 # include <limits.h>
41128 #else
41129 # include <assert.h>
41130 #endif
41131
41132 #undef pthread_cancel
41133
41134 /* Override any GCC internal prototype to avoid an error.
41135 Use char because int might match the return type of a GCC
41136 builtin and then its argument prototype would still apply. */
41137 #ifdef __cplusplus
41138 extern "C"
41139 #endif
41140 char pthread_cancel ();
41141 /* The GNU C library defines this for functions which it implements
41142 to always fail with ENOSYS. Some functions are actually named
41143 something starting with __ and the normal name is an alias. */
41144 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41145 choke me
41146 #endif
41147
41148 int
41149 main ()
41150 {
41151 return pthread_cancel ();
41152 ;
41153 return 0;
41154 }
41155 _ACEOF
41156 rm -f conftest.$ac_objext conftest$ac_exeext
41157 if { (ac_try="$ac_link"
41158 case "(($ac_try" in
41159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41160 *) ac_try_echo=$ac_try;;
41161 esac
41162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41163 (eval "$ac_link") 2>conftest.er1
41164 ac_status=$?
41165 grep -v '^ *+' conftest.er1 >conftest.err
41166 rm -f conftest.er1
41167 cat conftest.err >&5
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); } && {
41170 test -z "$ac_c_werror_flag" ||
41171 test ! -s conftest.err
41172 } && test -s conftest$ac_exeext &&
41173 $as_test_x conftest$ac_exeext; then
41174 ac_cv_func_pthread_cancel=yes
41175 else
41176 echo "$as_me: failed program was:" >&5
41177 sed 's/^/| /' conftest.$ac_ext >&5
41178
41179 ac_cv_func_pthread_cancel=no
41180 fi
41181
41182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41183 conftest$ac_exeext conftest.$ac_ext
41184 fi
41185 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41186 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41187 if test $ac_cv_func_pthread_cancel = yes; then
41188 cat >>confdefs.h <<\_ACEOF
41189 #define HAVE_PTHREAD_CANCEL 1
41190 _ACEOF
41191
41192 else
41193 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41194 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41195 fi
41196
41197
41198 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41199 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41200 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41201 echo $ECHO_N "(cached) $ECHO_C" >&6
41202 else
41203 cat >conftest.$ac_ext <<_ACEOF
41204 /* confdefs.h. */
41205 _ACEOF
41206 cat confdefs.h >>conftest.$ac_ext
41207 cat >>conftest.$ac_ext <<_ACEOF
41208 /* end confdefs.h. */
41209 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41211 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41212
41213 /* System header to define __stub macros and hopefully few prototypes,
41214 which can conflict with char pthread_mutex_timedlock (); below.
41215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41216 <limits.h> exists even on freestanding compilers. */
41217
41218 #ifdef __STDC__
41219 # include <limits.h>
41220 #else
41221 # include <assert.h>
41222 #endif
41223
41224 #undef pthread_mutex_timedlock
41225
41226 /* Override any GCC internal prototype to avoid an error.
41227 Use char because int might match the return type of a GCC
41228 builtin and then its argument prototype would still apply. */
41229 #ifdef __cplusplus
41230 extern "C"
41231 #endif
41232 char pthread_mutex_timedlock ();
41233 /* The GNU C library defines this for functions which it implements
41234 to always fail with ENOSYS. Some functions are actually named
41235 something starting with __ and the normal name is an alias. */
41236 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41237 choke me
41238 #endif
41239
41240 int
41241 main ()
41242 {
41243 return pthread_mutex_timedlock ();
41244 ;
41245 return 0;
41246 }
41247 _ACEOF
41248 rm -f conftest.$ac_objext conftest$ac_exeext
41249 if { (ac_try="$ac_link"
41250 case "(($ac_try" in
41251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41252 *) ac_try_echo=$ac_try;;
41253 esac
41254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41255 (eval "$ac_link") 2>conftest.er1
41256 ac_status=$?
41257 grep -v '^ *+' conftest.er1 >conftest.err
41258 rm -f conftest.er1
41259 cat conftest.err >&5
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); } && {
41262 test -z "$ac_c_werror_flag" ||
41263 test ! -s conftest.err
41264 } && test -s conftest$ac_exeext &&
41265 $as_test_x conftest$ac_exeext; then
41266 ac_cv_func_pthread_mutex_timedlock=yes
41267 else
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.$ac_ext >&5
41270
41271 ac_cv_func_pthread_mutex_timedlock=no
41272 fi
41273
41274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41275 conftest$ac_exeext conftest.$ac_ext
41276 fi
41277 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41278 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41279 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41280 cat >>confdefs.h <<\_ACEOF
41281 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41282 _ACEOF
41283
41284 else
41285 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41286 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41287 fi
41288
41289
41290 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41291 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41292 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41293 echo $ECHO_N "(cached) $ECHO_C" >&6
41294 else
41295 cat >conftest.$ac_ext <<_ACEOF
41296 /* confdefs.h. */
41297 _ACEOF
41298 cat confdefs.h >>conftest.$ac_ext
41299 cat >>conftest.$ac_ext <<_ACEOF
41300 /* end confdefs.h. */
41301 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41303 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41304
41305 /* System header to define __stub macros and hopefully few prototypes,
41306 which can conflict with char pthread_attr_setstacksize (); below.
41307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41308 <limits.h> exists even on freestanding compilers. */
41309
41310 #ifdef __STDC__
41311 # include <limits.h>
41312 #else
41313 # include <assert.h>
41314 #endif
41315
41316 #undef pthread_attr_setstacksize
41317
41318 /* Override any GCC internal prototype to avoid an error.
41319 Use char because int might match the return type of a GCC
41320 builtin and then its argument prototype would still apply. */
41321 #ifdef __cplusplus
41322 extern "C"
41323 #endif
41324 char pthread_attr_setstacksize ();
41325 /* The GNU C library defines this for functions which it implements
41326 to always fail with ENOSYS. Some functions are actually named
41327 something starting with __ and the normal name is an alias. */
41328 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41329 choke me
41330 #endif
41331
41332 int
41333 main ()
41334 {
41335 return pthread_attr_setstacksize ();
41336 ;
41337 return 0;
41338 }
41339 _ACEOF
41340 rm -f conftest.$ac_objext conftest$ac_exeext
41341 if { (ac_try="$ac_link"
41342 case "(($ac_try" in
41343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41344 *) ac_try_echo=$ac_try;;
41345 esac
41346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41347 (eval "$ac_link") 2>conftest.er1
41348 ac_status=$?
41349 grep -v '^ *+' conftest.er1 >conftest.err
41350 rm -f conftest.er1
41351 cat conftest.err >&5
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); } && {
41354 test -z "$ac_c_werror_flag" ||
41355 test ! -s conftest.err
41356 } && test -s conftest$ac_exeext &&
41357 $as_test_x conftest$ac_exeext; then
41358 ac_cv_func_pthread_attr_setstacksize=yes
41359 else
41360 echo "$as_me: failed program was:" >&5
41361 sed 's/^/| /' conftest.$ac_ext >&5
41362
41363 ac_cv_func_pthread_attr_setstacksize=no
41364 fi
41365
41366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41367 conftest$ac_exeext conftest.$ac_ext
41368 fi
41369 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41370 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41371 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41372 cat >>confdefs.h <<\_ACEOF
41373 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41374 _ACEOF
41375
41376 fi
41377
41378
41379
41380 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41381 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41382 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41383 echo $ECHO_N "(cached) $ECHO_C" >&6
41384 else
41385
41386 cat >conftest.$ac_ext <<_ACEOF
41387 /* confdefs.h. */
41388 _ACEOF
41389 cat confdefs.h >>conftest.$ac_ext
41390 cat >>conftest.$ac_ext <<_ACEOF
41391 /* end confdefs.h. */
41392 #include <pthread.h>
41393 int
41394 main ()
41395 {
41396
41397 pthread_mutexattr_t attr;
41398 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41399
41400 ;
41401 return 0;
41402 }
41403 _ACEOF
41404 rm -f conftest.$ac_objext
41405 if { (ac_try="$ac_compile"
41406 case "(($ac_try" in
41407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41408 *) ac_try_echo=$ac_try;;
41409 esac
41410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41411 (eval "$ac_compile") 2>conftest.er1
41412 ac_status=$?
41413 grep -v '^ *+' conftest.er1 >conftest.err
41414 rm -f conftest.er1
41415 cat conftest.err >&5
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); } && {
41418 test -z "$ac_c_werror_flag" ||
41419 test ! -s conftest.err
41420 } && test -s conftest.$ac_objext; then
41421 wx_cv_type_pthread_mutexattr_t=yes
41422 else
41423 echo "$as_me: failed program was:" >&5
41424 sed 's/^/| /' conftest.$ac_ext >&5
41425
41426 wx_cv_type_pthread_mutexattr_t=no
41427
41428 fi
41429
41430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41431
41432 fi
41433 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41434 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41435
41436 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41437 cat >>confdefs.h <<\_ACEOF
41438 #define HAVE_PTHREAD_MUTEXATTR_T 1
41439 _ACEOF
41440
41441
41442 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41443 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41444 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41445 echo $ECHO_N "(cached) $ECHO_C" >&6
41446 else
41447
41448 cat >conftest.$ac_ext <<_ACEOF
41449 /* confdefs.h. */
41450 _ACEOF
41451 cat confdefs.h >>conftest.$ac_ext
41452 cat >>conftest.$ac_ext <<_ACEOF
41453 /* end confdefs.h. */
41454 #include <pthread.h>
41455 int
41456 main ()
41457 {
41458
41459 pthread_mutexattr_t attr;
41460 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41461
41462 ;
41463 return 0;
41464 }
41465 _ACEOF
41466 rm -f conftest.$ac_objext
41467 if { (ac_try="$ac_compile"
41468 case "(($ac_try" in
41469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41470 *) ac_try_echo=$ac_try;;
41471 esac
41472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41473 (eval "$ac_compile") 2>conftest.er1
41474 ac_status=$?
41475 grep -v '^ *+' conftest.er1 >conftest.err
41476 rm -f conftest.er1
41477 cat conftest.err >&5
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); } && {
41480 test -z "$ac_c_werror_flag" ||
41481 test ! -s conftest.err
41482 } && test -s conftest.$ac_objext; then
41483 wx_cv_func_pthread_mutexattr_settype_decl=yes
41484 else
41485 echo "$as_me: failed program was:" >&5
41486 sed 's/^/| /' conftest.$ac_ext >&5
41487
41488 wx_cv_func_pthread_mutexattr_settype_decl=no
41489
41490 fi
41491
41492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41493
41494 fi
41495 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41496 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41497 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41498 cat >>confdefs.h <<\_ACEOF
41499 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41500 _ACEOF
41501
41502 fi
41503 else
41504 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41505 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41506 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41507 echo $ECHO_N "(cached) $ECHO_C" >&6
41508 else
41509
41510 cat >conftest.$ac_ext <<_ACEOF
41511 /* confdefs.h. */
41512 _ACEOF
41513 cat confdefs.h >>conftest.$ac_ext
41514 cat >>conftest.$ac_ext <<_ACEOF
41515 /* end confdefs.h. */
41516 #include <pthread.h>
41517 int
41518 main ()
41519 {
41520
41521 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41522
41523 ;
41524 return 0;
41525 }
41526 _ACEOF
41527 rm -f conftest.$ac_objext
41528 if { (ac_try="$ac_compile"
41529 case "(($ac_try" in
41530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41531 *) ac_try_echo=$ac_try;;
41532 esac
41533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41534 (eval "$ac_compile") 2>conftest.er1
41535 ac_status=$?
41536 grep -v '^ *+' conftest.er1 >conftest.err
41537 rm -f conftest.er1
41538 cat conftest.err >&5
41539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41540 (exit $ac_status); } && {
41541 test -z "$ac_c_werror_flag" ||
41542 test ! -s conftest.err
41543 } && test -s conftest.$ac_objext; then
41544
41545 wx_cv_type_pthread_rec_mutex_init=yes
41546
41547 else
41548 echo "$as_me: failed program was:" >&5
41549 sed 's/^/| /' conftest.$ac_ext >&5
41550
41551
41552 wx_cv_type_pthread_rec_mutex_init=no
41553
41554
41555 fi
41556
41557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41558
41559 fi
41560 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41561 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41562 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41563 cat >>confdefs.h <<\_ACEOF
41564 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41565 _ACEOF
41566
41567 else
41568 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41569 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41570 fi
41571 fi
41572
41573 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41574 if test "$USE_NETBSD" = 1; then
41575 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41576 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41577 wxUSE_COMPILER_TLS=no
41578 else
41579 wxUSE_COMPILER_TLS=yes
41580 fi
41581 fi
41582
41583 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41584 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41585 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41586 if test "${wx_cv_cc___thread+set}" = set; then
41587 echo $ECHO_N "(cached) $ECHO_C" >&6
41588 else
41589
41590 cat >conftest.$ac_ext <<_ACEOF
41591 /* confdefs.h. */
41592 _ACEOF
41593 cat confdefs.h >>conftest.$ac_ext
41594 cat >>conftest.$ac_ext <<_ACEOF
41595 /* end confdefs.h. */
41596 #include <pthread.h>
41597 int
41598 main ()
41599 {
41600
41601 static __thread int n = 0;
41602 static __thread int *p = 0;
41603
41604 ;
41605 return 0;
41606 }
41607 _ACEOF
41608 rm -f conftest.$ac_objext
41609 if { (ac_try="$ac_compile"
41610 case "(($ac_try" in
41611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41612 *) ac_try_echo=$ac_try;;
41613 esac
41614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41615 (eval "$ac_compile") 2>conftest.er1
41616 ac_status=$?
41617 grep -v '^ *+' conftest.er1 >conftest.err
41618 rm -f conftest.er1
41619 cat conftest.err >&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); } && {
41622 test -z "$ac_c_werror_flag" ||
41623 test ! -s conftest.err
41624 } && test -s conftest.$ac_objext; then
41625 wx_cv_cc___thread=yes
41626 else
41627 echo "$as_me: failed program was:" >&5
41628 sed 's/^/| /' conftest.$ac_ext >&5
41629
41630 wx_cv_cc___thread=no
41631
41632 fi
41633
41634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41635
41636
41637 fi
41638 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41639 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41640
41641 if test "$wx_cv_cc___thread" = "yes"; then
41642
41643 GXX_VERSION=""
41644
41645
41646
41647 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41648 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41649
41650 if test "x$GCC" = "xyes" ; then
41651
41652 if test -z "" ; then
41653
41654 ax_gcc_option_test="int main()
41655 {
41656 return 0;
41657 }"
41658
41659 else
41660
41661 ax_gcc_option_test=""
41662
41663 fi
41664
41665
41666 # Dump the test program to file
41667 cat <<EOF > conftest.c
41668 $ax_gcc_option_test
41669 EOF
41670
41671 # Dump back the file to the log, useful for debugging purposes
41672 { ac_try='cat conftest.c 1>&5'
41673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41674 (eval $ac_try) 2>&5
41675 ac_status=$?
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); }; }
41678
41679 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41681 (eval $ac_try) 2>&5
41682 ac_status=$?
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); }; } ; then
41685
41686 { echo "$as_me:$LINENO: result: yes" >&5
41687 echo "${ECHO_T}yes" >&6; }
41688
41689 ax_gcc_version_option=yes
41690
41691
41692 else
41693
41694 { echo "$as_me:$LINENO: result: no" >&5
41695 echo "${ECHO_T}no" >&6; }
41696
41697 ax_gcc_version_option=no
41698
41699
41700 fi
41701
41702
41703 else
41704
41705 { echo "$as_me:$LINENO: result: no gcc available" >&5
41706 echo "${ECHO_T}no gcc available" >&6; }
41707
41708 fi
41709
41710
41711 if test "x$GXX" = "xyes"; then
41712
41713 if test "x$ax_gxx_version_option" != "no"; then
41714
41715 { echo "$as_me:$LINENO: checking gxx version" >&5
41716 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41717 if test "${ax_cv_gxx_version+set}" = set; then
41718 echo $ECHO_N "(cached) $ECHO_C" >&6
41719 else
41720
41721 ax_cv_gxx_version="`$CXX -dumpversion`"
41722 if test "x$ax_cv_gxx_version" = "x"; then
41723
41724 ax_cv_gxx_version=""
41725
41726 fi
41727
41728
41729 fi
41730 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41731 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41732 GXX_VERSION=$ax_cv_gxx_version
41733
41734 fi
41735
41736
41737 fi
41738
41739
41740
41741 if test -n "$ax_cv_gxx_version"; then
41742 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41743 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41744 case "$ax_cv_gxx_version" in
41745 1.* | 2.* | 3.* )
41746 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41747 echo "${ECHO_T}no, it's broken" >&6; }
41748 wx_cv_cc___thread=no
41749 ;;
41750 *)
41751 { echo "$as_me:$LINENO: result: yes, it works" >&5
41752 echo "${ECHO_T}yes, it works" >&6; }
41753 ;;
41754 esac
41755 fi
41756 fi
41757
41758 if test "$wx_cv_cc___thread" = "yes"; then
41759 cat >>confdefs.h <<\_ACEOF
41760 #define HAVE___THREAD_KEYWORD 1
41761 _ACEOF
41762
41763 fi
41764 fi
41765 fi
41766
41767 else
41768 if test "$wxUSE_THREADS" = "yes" ; then
41769 case "${host}" in
41770 x86_64-*-mingw32* )
41771 ;;
41772 *-*-mingw32* )
41773 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41774 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41775 if test "${wx_cv_cflags_mthread+set}" = set; then
41776 echo $ECHO_N "(cached) $ECHO_C" >&6
41777 else
41778
41779 CFLAGS_OLD="$CFLAGS"
41780 CFLAGS="-mthreads $CFLAGS"
41781 cat >conftest.$ac_ext <<_ACEOF
41782 /* confdefs.h. */
41783 _ACEOF
41784 cat confdefs.h >>conftest.$ac_ext
41785 cat >>conftest.$ac_ext <<_ACEOF
41786 /* end confdefs.h. */
41787
41788 int
41789 main ()
41790 {
41791
41792 ;
41793 return 0;
41794 }
41795 _ACEOF
41796 rm -f conftest.$ac_objext
41797 if { (ac_try="$ac_compile"
41798 case "(($ac_try" in
41799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41800 *) ac_try_echo=$ac_try;;
41801 esac
41802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41803 (eval "$ac_compile") 2>conftest.er1
41804 ac_status=$?
41805 grep -v '^ *+' conftest.er1 >conftest.err
41806 rm -f conftest.er1
41807 cat conftest.err >&5
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); } && {
41810 test -z "$ac_c_werror_flag" ||
41811 test ! -s conftest.err
41812 } && test -s conftest.$ac_objext; then
41813 wx_cv_cflags_mthread=yes
41814 else
41815 echo "$as_me: failed program was:" >&5
41816 sed 's/^/| /' conftest.$ac_ext >&5
41817
41818 wx_cv_cflags_mthread=no
41819
41820 fi
41821
41822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41823
41824
41825 fi
41826 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41827 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41828
41829 if test "$wx_cv_cflags_mthread" = "yes"; then
41830 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41831 LDFLAGS="$LDFLAGS -mthreads"
41832 else
41833 CFLAGS="$CFLAGS_OLD"
41834 fi
41835 ;;
41836 *-pc-os2*emx )
41837 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41838 LDFLAGS="$LDFLAGS -Zmt"
41839 ;;
41840 esac
41841 fi
41842 fi
41843
41844 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41845 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41846 if test "${ac_cv_func_localtime_r+set}" = set; then
41847 echo $ECHO_N "(cached) $ECHO_C" >&6
41848 else
41849 cat >conftest.$ac_ext <<_ACEOF
41850 /* confdefs.h. */
41851 _ACEOF
41852 cat confdefs.h >>conftest.$ac_ext
41853 cat >>conftest.$ac_ext <<_ACEOF
41854 /* end confdefs.h. */
41855 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41857 #define localtime_r innocuous_localtime_r
41858
41859 /* System header to define __stub macros and hopefully few prototypes,
41860 which can conflict with char localtime_r (); below.
41861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41862 <limits.h> exists even on freestanding compilers. */
41863
41864 #ifdef __STDC__
41865 # include <limits.h>
41866 #else
41867 # include <assert.h>
41868 #endif
41869
41870 #undef localtime_r
41871
41872 /* Override any GCC internal prototype to avoid an error.
41873 Use char because int might match the return type of a GCC
41874 builtin and then its argument prototype would still apply. */
41875 #ifdef __cplusplus
41876 extern "C"
41877 #endif
41878 char localtime_r ();
41879 /* The GNU C library defines this for functions which it implements
41880 to always fail with ENOSYS. Some functions are actually named
41881 something starting with __ and the normal name is an alias. */
41882 #if defined __stub_localtime_r || defined __stub___localtime_r
41883 choke me
41884 #endif
41885
41886 int
41887 main ()
41888 {
41889 return localtime_r ();
41890 ;
41891 return 0;
41892 }
41893 _ACEOF
41894 rm -f conftest.$ac_objext conftest$ac_exeext
41895 if { (ac_try="$ac_link"
41896 case "(($ac_try" in
41897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41898 *) ac_try_echo=$ac_try;;
41899 esac
41900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41901 (eval "$ac_link") 2>conftest.er1
41902 ac_status=$?
41903 grep -v '^ *+' conftest.er1 >conftest.err
41904 rm -f conftest.er1
41905 cat conftest.err >&5
41906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41907 (exit $ac_status); } && {
41908 test -z "$ac_c_werror_flag" ||
41909 test ! -s conftest.err
41910 } && test -s conftest$ac_exeext &&
41911 $as_test_x conftest$ac_exeext; then
41912 ac_cv_func_localtime_r=yes
41913 else
41914 echo "$as_me: failed program was:" >&5
41915 sed 's/^/| /' conftest.$ac_ext >&5
41916
41917 ac_cv_func_localtime_r=no
41918 fi
41919
41920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41921 conftest$ac_exeext conftest.$ac_ext
41922 fi
41923 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41924 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41925 if test $ac_cv_func_localtime_r = yes; then
41926 cat >>confdefs.h <<\_ACEOF
41927 #define HAVE_LOCALTIME_R 1
41928 _ACEOF
41929
41930 fi
41931
41932 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41933 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41934 if test "${ac_cv_func_gmtime_r+set}" = set; then
41935 echo $ECHO_N "(cached) $ECHO_C" >&6
41936 else
41937 cat >conftest.$ac_ext <<_ACEOF
41938 /* confdefs.h. */
41939 _ACEOF
41940 cat confdefs.h >>conftest.$ac_ext
41941 cat >>conftest.$ac_ext <<_ACEOF
41942 /* end confdefs.h. */
41943 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41945 #define gmtime_r innocuous_gmtime_r
41946
41947 /* System header to define __stub macros and hopefully few prototypes,
41948 which can conflict with char gmtime_r (); below.
41949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41950 <limits.h> exists even on freestanding compilers. */
41951
41952 #ifdef __STDC__
41953 # include <limits.h>
41954 #else
41955 # include <assert.h>
41956 #endif
41957
41958 #undef gmtime_r
41959
41960 /* Override any GCC internal prototype to avoid an error.
41961 Use char because int might match the return type of a GCC
41962 builtin and then its argument prototype would still apply. */
41963 #ifdef __cplusplus
41964 extern "C"
41965 #endif
41966 char gmtime_r ();
41967 /* The GNU C library defines this for functions which it implements
41968 to always fail with ENOSYS. Some functions are actually named
41969 something starting with __ and the normal name is an alias. */
41970 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41971 choke me
41972 #endif
41973
41974 int
41975 main ()
41976 {
41977 return gmtime_r ();
41978 ;
41979 return 0;
41980 }
41981 _ACEOF
41982 rm -f conftest.$ac_objext conftest$ac_exeext
41983 if { (ac_try="$ac_link"
41984 case "(($ac_try" in
41985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41986 *) ac_try_echo=$ac_try;;
41987 esac
41988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41989 (eval "$ac_link") 2>conftest.er1
41990 ac_status=$?
41991 grep -v '^ *+' conftest.er1 >conftest.err
41992 rm -f conftest.er1
41993 cat conftest.err >&5
41994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995 (exit $ac_status); } && {
41996 test -z "$ac_c_werror_flag" ||
41997 test ! -s conftest.err
41998 } && test -s conftest$ac_exeext &&
41999 $as_test_x conftest$ac_exeext; then
42000 ac_cv_func_gmtime_r=yes
42001 else
42002 echo "$as_me: failed program was:" >&5
42003 sed 's/^/| /' conftest.$ac_ext >&5
42004
42005 ac_cv_func_gmtime_r=no
42006 fi
42007
42008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42009 conftest$ac_exeext conftest.$ac_ext
42010 fi
42011 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42012 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42013 if test $ac_cv_func_gmtime_r = yes; then
42014 cat >>confdefs.h <<\_ACEOF
42015 #define HAVE_GMTIME_R 1
42016 _ACEOF
42017
42018 fi
42019
42020
42021
42022
42023 ac_ext=c
42024 ac_cpp='$CPP $CPPFLAGS'
42025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42028
42029 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42030 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42031
42032 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42033 echo $ECHO_N "(cached) $ECHO_C" >&6
42034 else
42035
42036
42037 ################################################################
42038
42039 ac_cv_func_which_gethostbyname_r=unknown
42040
42041 #
42042 # ONE ARGUMENT (sanity check)
42043 #
42044
42045 # This should fail, as there is no variant of gethostbyname_r() that takes
42046 # a single argument. If it actually compiles, then we can assume that
42047 # netdb.h is not declaring the function, and the compiler is thereby
42048 # assuming an implicit prototype. In which case, we're out of luck.
42049 #
42050 cat >conftest.$ac_ext <<_ACEOF
42051 /* confdefs.h. */
42052 _ACEOF
42053 cat confdefs.h >>conftest.$ac_ext
42054 cat >>conftest.$ac_ext <<_ACEOF
42055 /* end confdefs.h. */
42056 #include <netdb.h>
42057 int
42058 main ()
42059 {
42060
42061 char *name = "www.gnu.org";
42062 (void)gethostbyname_r(name) /* ; */
42063
42064 ;
42065 return 0;
42066 }
42067 _ACEOF
42068 rm -f conftest.$ac_objext
42069 if { (ac_try="$ac_compile"
42070 case "(($ac_try" in
42071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42072 *) ac_try_echo=$ac_try;;
42073 esac
42074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42075 (eval "$ac_compile") 2>conftest.er1
42076 ac_status=$?
42077 grep -v '^ *+' conftest.er1 >conftest.err
42078 rm -f conftest.er1
42079 cat conftest.err >&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); } && {
42082 test -z "$ac_c_werror_flag" ||
42083 test ! -s conftest.err
42084 } && test -s conftest.$ac_objext; then
42085 ac_cv_func_which_gethostbyname_r=no
42086 else
42087 echo "$as_me: failed program was:" >&5
42088 sed 's/^/| /' conftest.$ac_ext >&5
42089
42090
42091 fi
42092
42093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42094
42095 #
42096 # SIX ARGUMENTS
42097 # (e.g. Linux)
42098 #
42099
42100 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42101
42102 cat >conftest.$ac_ext <<_ACEOF
42103 /* confdefs.h. */
42104 _ACEOF
42105 cat confdefs.h >>conftest.$ac_ext
42106 cat >>conftest.$ac_ext <<_ACEOF
42107 /* end confdefs.h. */
42108 #include <netdb.h>
42109 int
42110 main ()
42111 {
42112
42113 char *name = "www.gnu.org";
42114 struct hostent ret, *retp;
42115 char buf[1024];
42116 int buflen = 1024;
42117 int my_h_errno;
42118 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42119
42120 ;
42121 return 0;
42122 }
42123 _ACEOF
42124 rm -f conftest.$ac_objext
42125 if { (ac_try="$ac_compile"
42126 case "(($ac_try" in
42127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42128 *) ac_try_echo=$ac_try;;
42129 esac
42130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42131 (eval "$ac_compile") 2>conftest.er1
42132 ac_status=$?
42133 grep -v '^ *+' conftest.er1 >conftest.err
42134 rm -f conftest.er1
42135 cat conftest.err >&5
42136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137 (exit $ac_status); } && {
42138 test -z "$ac_c_werror_flag" ||
42139 test ! -s conftest.err
42140 } && test -s conftest.$ac_objext; then
42141 ac_cv_func_which_gethostbyname_r=six
42142 else
42143 echo "$as_me: failed program was:" >&5
42144 sed 's/^/| /' conftest.$ac_ext >&5
42145
42146
42147 fi
42148
42149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42150
42151 fi
42152
42153 #
42154 # FIVE ARGUMENTS
42155 # (e.g. Solaris)
42156 #
42157
42158 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42159
42160 cat >conftest.$ac_ext <<_ACEOF
42161 /* confdefs.h. */
42162 _ACEOF
42163 cat confdefs.h >>conftest.$ac_ext
42164 cat >>conftest.$ac_ext <<_ACEOF
42165 /* end confdefs.h. */
42166 #include <netdb.h>
42167 int
42168 main ()
42169 {
42170
42171 char *name = "www.gnu.org";
42172 struct hostent ret;
42173 char buf[1024];
42174 int buflen = 1024;
42175 int my_h_errno;
42176 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42177
42178 ;
42179 return 0;
42180 }
42181 _ACEOF
42182 rm -f conftest.$ac_objext
42183 if { (ac_try="$ac_compile"
42184 case "(($ac_try" in
42185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42186 *) ac_try_echo=$ac_try;;
42187 esac
42188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42189 (eval "$ac_compile") 2>conftest.er1
42190 ac_status=$?
42191 grep -v '^ *+' conftest.er1 >conftest.err
42192 rm -f conftest.er1
42193 cat conftest.err >&5
42194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42195 (exit $ac_status); } && {
42196 test -z "$ac_c_werror_flag" ||
42197 test ! -s conftest.err
42198 } && test -s conftest.$ac_objext; then
42199 ac_cv_func_which_gethostbyname_r=five
42200 else
42201 echo "$as_me: failed program was:" >&5
42202 sed 's/^/| /' conftest.$ac_ext >&5
42203
42204
42205 fi
42206
42207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42208
42209 fi
42210
42211 #
42212 # THREE ARGUMENTS
42213 # (e.g. AIX, HP-UX, Tru64)
42214 #
42215
42216 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42217
42218 cat >conftest.$ac_ext <<_ACEOF
42219 /* confdefs.h. */
42220 _ACEOF
42221 cat confdefs.h >>conftest.$ac_ext
42222 cat >>conftest.$ac_ext <<_ACEOF
42223 /* end confdefs.h. */
42224 #include <netdb.h>
42225 int
42226 main ()
42227 {
42228
42229 char *name = "www.gnu.org";
42230 struct hostent ret;
42231 struct hostent_data data;
42232 (void)gethostbyname_r(name, &ret, &data) /* ; */
42233
42234 ;
42235 return 0;
42236 }
42237 _ACEOF
42238 rm -f conftest.$ac_objext
42239 if { (ac_try="$ac_compile"
42240 case "(($ac_try" in
42241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42242 *) ac_try_echo=$ac_try;;
42243 esac
42244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42245 (eval "$ac_compile") 2>conftest.er1
42246 ac_status=$?
42247 grep -v '^ *+' conftest.er1 >conftest.err
42248 rm -f conftest.er1
42249 cat conftest.err >&5
42250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42251 (exit $ac_status); } && {
42252 test -z "$ac_c_werror_flag" ||
42253 test ! -s conftest.err
42254 } && test -s conftest.$ac_objext; then
42255 ac_cv_func_which_gethostbyname_r=three
42256 else
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42259
42260
42261 fi
42262
42263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42264
42265 fi
42266
42267 ################################################################
42268
42269
42270 fi
42271
42272 case "$ac_cv_func_which_gethostbyname_r" in
42273 three)
42274 { echo "$as_me:$LINENO: result: three" >&5
42275 echo "${ECHO_T}three" >&6; }
42276 cat >>confdefs.h <<\_ACEOF
42277 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42278 _ACEOF
42279
42280 ;;
42281
42282 five)
42283 { echo "$as_me:$LINENO: result: five" >&5
42284 echo "${ECHO_T}five" >&6; }
42285 cat >>confdefs.h <<\_ACEOF
42286 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42287 _ACEOF
42288
42289 ;;
42290
42291 six)
42292 { echo "$as_me:$LINENO: result: six" >&5
42293 echo "${ECHO_T}six" >&6; }
42294 cat >>confdefs.h <<\_ACEOF
42295 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42296 _ACEOF
42297
42298 ;;
42299
42300 no)
42301 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42302 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42303 ;;
42304
42305 unknown)
42306 { echo "$as_me:$LINENO: result: can't tell" >&5
42307 echo "${ECHO_T}can't tell" >&6; }
42308 ;;
42309
42310 *)
42311 { { echo "$as_me:$LINENO: error: internal error" >&5
42312 echo "$as_me: error: internal error" >&2;}
42313 { (exit 1); exit 1; }; }
42314 ;;
42315 esac
42316
42317 ac_ext=c
42318 ac_cpp='$CPP $CPPFLAGS'
42319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42322
42323
42324
42325 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42326 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42327 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42328 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42329 if test "${ac_cv_func_gethostbyname+set}" = set; then
42330 echo $ECHO_N "(cached) $ECHO_C" >&6
42331 else
42332 cat >conftest.$ac_ext <<_ACEOF
42333 /* confdefs.h. */
42334 _ACEOF
42335 cat confdefs.h >>conftest.$ac_ext
42336 cat >>conftest.$ac_ext <<_ACEOF
42337 /* end confdefs.h. */
42338 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42340 #define gethostbyname innocuous_gethostbyname
42341
42342 /* System header to define __stub macros and hopefully few prototypes,
42343 which can conflict with char gethostbyname (); below.
42344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42345 <limits.h> exists even on freestanding compilers. */
42346
42347 #ifdef __STDC__
42348 # include <limits.h>
42349 #else
42350 # include <assert.h>
42351 #endif
42352
42353 #undef gethostbyname
42354
42355 /* Override any GCC internal prototype to avoid an error.
42356 Use char because int might match the return type of a GCC
42357 builtin and then its argument prototype would still apply. */
42358 #ifdef __cplusplus
42359 extern "C"
42360 #endif
42361 char gethostbyname ();
42362 /* The GNU C library defines this for functions which it implements
42363 to always fail with ENOSYS. Some functions are actually named
42364 something starting with __ and the normal name is an alias. */
42365 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42366 choke me
42367 #endif
42368
42369 int
42370 main ()
42371 {
42372 return gethostbyname ();
42373 ;
42374 return 0;
42375 }
42376 _ACEOF
42377 rm -f conftest.$ac_objext conftest$ac_exeext
42378 if { (ac_try="$ac_link"
42379 case "(($ac_try" in
42380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42381 *) ac_try_echo=$ac_try;;
42382 esac
42383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42384 (eval "$ac_link") 2>conftest.er1
42385 ac_status=$?
42386 grep -v '^ *+' conftest.er1 >conftest.err
42387 rm -f conftest.er1
42388 cat conftest.err >&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); } && {
42391 test -z "$ac_c_werror_flag" ||
42392 test ! -s conftest.err
42393 } && test -s conftest$ac_exeext &&
42394 $as_test_x conftest$ac_exeext; then
42395 ac_cv_func_gethostbyname=yes
42396 else
42397 echo "$as_me: failed program was:" >&5
42398 sed 's/^/| /' conftest.$ac_ext >&5
42399
42400 ac_cv_func_gethostbyname=no
42401 fi
42402
42403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42404 conftest$ac_exeext conftest.$ac_ext
42405 fi
42406 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42407 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42408 if test $ac_cv_func_gethostbyname = yes; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define HAVE_GETHOSTBYNAME 1
42411 _ACEOF
42412
42413 fi
42414
42415 fi
42416
42417 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42418 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42419 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42420 echo $ECHO_N "(cached) $ECHO_C" >&6
42421 else
42422
42423 ac_ext=cpp
42424 ac_cpp='$CXXCPP $CPPFLAGS'
42425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42428
42429
42430 cat >conftest.$ac_ext <<_ACEOF
42431 /* confdefs.h. */
42432 _ACEOF
42433 cat confdefs.h >>conftest.$ac_ext
42434 cat >>conftest.$ac_ext <<_ACEOF
42435 /* end confdefs.h. */
42436 #include <netdb.h>
42437 int
42438 main ()
42439 {
42440
42441 char *name;
42442 char *proto;
42443 struct servent *se, *res;
42444 char buffer[2048];
42445 int buflen = 2048;
42446 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42447
42448 ;
42449 return 0;
42450 }
42451 _ACEOF
42452 rm -f conftest.$ac_objext
42453 if { (ac_try="$ac_compile"
42454 case "(($ac_try" in
42455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42456 *) ac_try_echo=$ac_try;;
42457 esac
42458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42459 (eval "$ac_compile") 2>conftest.er1
42460 ac_status=$?
42461 grep -v '^ *+' conftest.er1 >conftest.err
42462 rm -f conftest.er1
42463 cat conftest.err >&5
42464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42465 (exit $ac_status); } && {
42466 test -z "$ac_cxx_werror_flag" ||
42467 test ! -s conftest.err
42468 } && test -s conftest.$ac_objext; then
42469 ac_cv_func_which_getservbyname_r=six
42470 else
42471 echo "$as_me: failed program was:" >&5
42472 sed 's/^/| /' conftest.$ac_ext >&5
42473
42474
42475 cat >conftest.$ac_ext <<_ACEOF
42476 /* confdefs.h. */
42477 _ACEOF
42478 cat confdefs.h >>conftest.$ac_ext
42479 cat >>conftest.$ac_ext <<_ACEOF
42480 /* end confdefs.h. */
42481 #include <netdb.h>
42482 int
42483 main ()
42484 {
42485
42486 char *name;
42487 char *proto;
42488 struct servent *se;
42489 char buffer[2048];
42490 int buflen = 2048;
42491 (void) getservbyname_r(name, proto, se, buffer, buflen)
42492
42493 ;
42494 return 0;
42495 }
42496 _ACEOF
42497 rm -f conftest.$ac_objext
42498 if { (ac_try="$ac_compile"
42499 case "(($ac_try" in
42500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42501 *) ac_try_echo=$ac_try;;
42502 esac
42503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42504 (eval "$ac_compile") 2>conftest.er1
42505 ac_status=$?
42506 grep -v '^ *+' conftest.er1 >conftest.err
42507 rm -f conftest.er1
42508 cat conftest.err >&5
42509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42510 (exit $ac_status); } && {
42511 test -z "$ac_cxx_werror_flag" ||
42512 test ! -s conftest.err
42513 } && test -s conftest.$ac_objext; then
42514 ac_cv_func_which_getservbyname_r=five
42515 else
42516 echo "$as_me: failed program was:" >&5
42517 sed 's/^/| /' conftest.$ac_ext >&5
42518
42519
42520 cat >conftest.$ac_ext <<_ACEOF
42521 /* confdefs.h. */
42522 _ACEOF
42523 cat confdefs.h >>conftest.$ac_ext
42524 cat >>conftest.$ac_ext <<_ACEOF
42525 /* end confdefs.h. */
42526 #include <netdb.h>
42527 int
42528 main ()
42529 {
42530
42531 char *name;
42532 char *proto;
42533 struct servent *se;
42534 struct servent_data data;
42535 (void) getservbyname_r(name, proto, se, &data);
42536
42537 ;
42538 return 0;
42539 }
42540 _ACEOF
42541 rm -f conftest.$ac_objext
42542 if { (ac_try="$ac_compile"
42543 case "(($ac_try" in
42544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42545 *) ac_try_echo=$ac_try;;
42546 esac
42547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42548 (eval "$ac_compile") 2>conftest.er1
42549 ac_status=$?
42550 grep -v '^ *+' conftest.er1 >conftest.err
42551 rm -f conftest.er1
42552 cat conftest.err >&5
42553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42554 (exit $ac_status); } && {
42555 test -z "$ac_cxx_werror_flag" ||
42556 test ! -s conftest.err
42557 } && test -s conftest.$ac_objext; then
42558 ac_cv_func_which_getservbyname_r=four
42559 else
42560 echo "$as_me: failed program was:" >&5
42561 sed 's/^/| /' conftest.$ac_ext >&5
42562
42563 ac_cv_func_which_getservbyname_r=no
42564
42565 fi
42566
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42568
42569
42570 fi
42571
42572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42573
42574
42575 fi
42576
42577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42578 ac_ext=c
42579 ac_cpp='$CPP $CPPFLAGS'
42580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42583
42584
42585
42586 fi
42587 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42588 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42589
42590 if test $ac_cv_func_which_getservbyname_r = six; then
42591 cat >>confdefs.h <<\_ACEOF
42592 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42593 _ACEOF
42594
42595 elif test $ac_cv_func_which_getservbyname_r = five; then
42596 cat >>confdefs.h <<\_ACEOF
42597 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42598 _ACEOF
42599
42600 elif test $ac_cv_func_which_getservbyname_r = four; then
42601 cat >>confdefs.h <<\_ACEOF
42602 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42603 _ACEOF
42604
42605 fi
42606
42607
42608 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42609 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42610
42611 for ac_func in getservbyname
42612 do
42613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42616 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42617 echo $ECHO_N "(cached) $ECHO_C" >&6
42618 else
42619 cat >conftest.$ac_ext <<_ACEOF
42620 /* confdefs.h. */
42621 _ACEOF
42622 cat confdefs.h >>conftest.$ac_ext
42623 cat >>conftest.$ac_ext <<_ACEOF
42624 /* end confdefs.h. */
42625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42627 #define $ac_func innocuous_$ac_func
42628
42629 /* System header to define __stub macros and hopefully few prototypes,
42630 which can conflict with char $ac_func (); below.
42631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42632 <limits.h> exists even on freestanding compilers. */
42633
42634 #ifdef __STDC__
42635 # include <limits.h>
42636 #else
42637 # include <assert.h>
42638 #endif
42639
42640 #undef $ac_func
42641
42642 /* Override any GCC internal prototype to avoid an error.
42643 Use char because int might match the return type of a GCC
42644 builtin and then its argument prototype would still apply. */
42645 #ifdef __cplusplus
42646 extern "C"
42647 #endif
42648 char $ac_func ();
42649 /* The GNU C library defines this for functions which it implements
42650 to always fail with ENOSYS. Some functions are actually named
42651 something starting with __ and the normal name is an alias. */
42652 #if defined __stub_$ac_func || defined __stub___$ac_func
42653 choke me
42654 #endif
42655
42656 int
42657 main ()
42658 {
42659 return $ac_func ();
42660 ;
42661 return 0;
42662 }
42663 _ACEOF
42664 rm -f conftest.$ac_objext conftest$ac_exeext
42665 if { (ac_try="$ac_link"
42666 case "(($ac_try" in
42667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42668 *) ac_try_echo=$ac_try;;
42669 esac
42670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42671 (eval "$ac_link") 2>conftest.er1
42672 ac_status=$?
42673 grep -v '^ *+' conftest.er1 >conftest.err
42674 rm -f conftest.er1
42675 cat conftest.err >&5
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); } && {
42678 test -z "$ac_c_werror_flag" ||
42679 test ! -s conftest.err
42680 } && test -s conftest$ac_exeext &&
42681 $as_test_x conftest$ac_exeext; then
42682 eval "$as_ac_var=yes"
42683 else
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.$ac_ext >&5
42686
42687 eval "$as_ac_var=no"
42688 fi
42689
42690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42691 conftest$ac_exeext conftest.$ac_ext
42692 fi
42693 ac_res=`eval echo '${'$as_ac_var'}'`
42694 { echo "$as_me:$LINENO: result: $ac_res" >&5
42695 echo "${ECHO_T}$ac_res" >&6; }
42696 if test `eval echo '${'$as_ac_var'}'` = yes; then
42697 cat >>confdefs.h <<_ACEOF
42698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42699 _ACEOF
42700 cat >>confdefs.h <<\_ACEOF
42701 #define HAVE_GETSERVBYNAME 1
42702 _ACEOF
42703
42704 fi
42705 done
42706
42707 fi
42708
42709 if test "$wxUSE_THREADS" = "yes"; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define wxUSE_THREADS 1
42712 _ACEOF
42713
42714
42715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42716 else
42717 if test "$wx_cv_func_strtok_r" = "yes"; then
42718 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42719 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42720 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42721 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42722 { echo "$as_me:$LINENO: result: yes" >&5
42723 echo "${ECHO_T}yes" >&6; }
42724 else
42725 { echo "$as_me:$LINENO: result: no" >&5
42726 echo "${ECHO_T}no" >&6; }
42727 fi
42728 fi
42729 fi
42730
42731 if test "$WXGTK2" = 1 ; then
42732 cat >>confdefs.h <<_ACEOF
42733 #define __WXGTK20__ $WXGTK2
42734 _ACEOF
42735
42736 WXGTK12=1
42737 fi
42738
42739 if test "$WXGTK12" = 1 ; then
42740 cat >>confdefs.h <<_ACEOF
42741 #define __WXGTK12__ $WXGTK12
42742 _ACEOF
42743
42744 fi
42745
42746 if test "$WXGTK127" = 1 ; then
42747 cat >>confdefs.h <<_ACEOF
42748 #define __WXGTK127__ $WXGTK127
42749 _ACEOF
42750
42751 fi
42752
42753 if test "$WXGPE" = 1 ; then
42754 cat >>confdefs.h <<_ACEOF
42755 #define __WXGPE__ $WXGPE
42756 _ACEOF
42757
42758 fi
42759
42760 DEBUG_CFLAGS=
42761 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42762 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42763 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42764 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42765 DEBUG_CFLAGS="-g"
42766 fi
42767
42768 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42769 wxUSE_DEBUG_INFO=yes
42770 if test "$GCC" = yes; then
42771 DEBUG_CFLAGS="-ggdb"
42772 fi
42773 fi
42774
42775 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42776 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42777
42778 if test "$wxUSE_GTK" = 1 ; then
42779 if test "x$wxGTK_VERSION" = "x1" ; then
42780 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42781 fi
42782 fi
42783 fi
42784
42785 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42786 cat >>confdefs.h <<\_ACEOF
42787 #define wxUSE_MEMORY_TRACING 1
42788 _ACEOF
42789
42790 cat >>confdefs.h <<\_ACEOF
42791 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42792 _ACEOF
42793
42794 cat >>confdefs.h <<\_ACEOF
42795 #define wxUSE_DEBUG_NEW_ALWAYS 1
42796 _ACEOF
42797
42798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42799 fi
42800
42801 if test "$wxUSE_DMALLOC" = "yes" ; then
42802 DMALLOC_LIBS="-ldmallocthcxx"
42803 fi
42804
42805 PROFILE_FLAGS=
42806 if test "$wxUSE_PROFILE" = "yes" ; then
42807 PROFILE_FLAGS=" -pg"
42808 fi
42809
42810 if test "$GCC" = "yes" ; then
42811 if test "$wxUSE_NO_RTTI" = "yes" ; then
42812 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42813 fi
42814 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42815 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42816 fi
42817 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42818 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42819 fi
42820
42821 case "${host}" in
42822 powerpc*-*-aix* )
42823 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42824 ;;
42825 *-hppa* )
42826 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42827 ;;
42828 esac
42829 fi
42830
42831 OPTIMISE_CFLAGS=
42832 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42833 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42834 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42835 else
42836 if test "$wxUSE_OPTIMISE" = "no" ; then
42837 if test "$GCC" = yes ; then
42838 OPTIMISE_CFLAGS="-O0"
42839 fi
42840 else
42841 if test "$GCC" = yes ; then
42842 case "${host}" in
42843 *-pc-os2_emx | *-pc-os2-emx )
42844 OPTIMISE_CFLAGS="-O2"
42845 ;;
42846 *)
42847 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42848 ;;
42849 esac
42850 else
42851 OPTIMISE_CFLAGS="-O"
42852 fi
42853 fi
42854 fi
42855
42856
42857 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42858 cat >>confdefs.h <<\_ACEOF
42859 #define WXWIN_COMPATIBILITY_2_6 1
42860 _ACEOF
42861
42862
42863 WXWIN_COMPATIBILITY_2_8="yes"
42864 fi
42865
42866 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42867 cat >>confdefs.h <<\_ACEOF
42868 #define WXWIN_COMPATIBILITY_2_8 1
42869 _ACEOF
42870
42871 fi
42872
42873
42874 if test "$wxUSE_GUI" = "yes"; then
42875 cat >>confdefs.h <<\_ACEOF
42876 #define wxUSE_GUI 1
42877 _ACEOF
42878
42879
42880 fi
42881
42882
42883 if test "$wxUSE_UNIX" = "yes"; then
42884 cat >>confdefs.h <<\_ACEOF
42885 #define wxUSE_UNIX 1
42886 _ACEOF
42887
42888 fi
42889
42890
42891 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42892
42893 HAVE_DL_FUNCS=0
42894 HAVE_SHL_FUNCS=0
42895 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42896 if test "$USE_DOS" = 1; then
42897 HAVE_DL_FUNCS=0
42898 else
42899
42900 for ac_func in dlopen
42901 do
42902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42905 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42906 echo $ECHO_N "(cached) $ECHO_C" >&6
42907 else
42908 cat >conftest.$ac_ext <<_ACEOF
42909 /* confdefs.h. */
42910 _ACEOF
42911 cat confdefs.h >>conftest.$ac_ext
42912 cat >>conftest.$ac_ext <<_ACEOF
42913 /* end confdefs.h. */
42914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42916 #define $ac_func innocuous_$ac_func
42917
42918 /* System header to define __stub macros and hopefully few prototypes,
42919 which can conflict with char $ac_func (); below.
42920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42921 <limits.h> exists even on freestanding compilers. */
42922
42923 #ifdef __STDC__
42924 # include <limits.h>
42925 #else
42926 # include <assert.h>
42927 #endif
42928
42929 #undef $ac_func
42930
42931 /* Override any GCC internal prototype to avoid an error.
42932 Use char because int might match the return type of a GCC
42933 builtin and then its argument prototype would still apply. */
42934 #ifdef __cplusplus
42935 extern "C"
42936 #endif
42937 char $ac_func ();
42938 /* The GNU C library defines this for functions which it implements
42939 to always fail with ENOSYS. Some functions are actually named
42940 something starting with __ and the normal name is an alias. */
42941 #if defined __stub_$ac_func || defined __stub___$ac_func
42942 choke me
42943 #endif
42944
42945 int
42946 main ()
42947 {
42948 return $ac_func ();
42949 ;
42950 return 0;
42951 }
42952 _ACEOF
42953 rm -f conftest.$ac_objext conftest$ac_exeext
42954 if { (ac_try="$ac_link"
42955 case "(($ac_try" in
42956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42957 *) ac_try_echo=$ac_try;;
42958 esac
42959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42960 (eval "$ac_link") 2>conftest.er1
42961 ac_status=$?
42962 grep -v '^ *+' conftest.er1 >conftest.err
42963 rm -f conftest.er1
42964 cat conftest.err >&5
42965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42966 (exit $ac_status); } && {
42967 test -z "$ac_c_werror_flag" ||
42968 test ! -s conftest.err
42969 } && test -s conftest$ac_exeext &&
42970 $as_test_x conftest$ac_exeext; then
42971 eval "$as_ac_var=yes"
42972 else
42973 echo "$as_me: failed program was:" >&5
42974 sed 's/^/| /' conftest.$ac_ext >&5
42975
42976 eval "$as_ac_var=no"
42977 fi
42978
42979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42980 conftest$ac_exeext conftest.$ac_ext
42981 fi
42982 ac_res=`eval echo '${'$as_ac_var'}'`
42983 { echo "$as_me:$LINENO: result: $ac_res" >&5
42984 echo "${ECHO_T}$ac_res" >&6; }
42985 if test `eval echo '${'$as_ac_var'}'` = yes; then
42986 cat >>confdefs.h <<_ACEOF
42987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42988 _ACEOF
42989
42990 cat >>confdefs.h <<\_ACEOF
42991 #define HAVE_DLOPEN 1
42992 _ACEOF
42993
42994 HAVE_DL_FUNCS=1
42995
42996 else
42997
42998 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42999 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43000 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43001 echo $ECHO_N "(cached) $ECHO_C" >&6
43002 else
43003 ac_check_lib_save_LIBS=$LIBS
43004 LIBS="-ldl $LIBS"
43005 cat >conftest.$ac_ext <<_ACEOF
43006 /* confdefs.h. */
43007 _ACEOF
43008 cat confdefs.h >>conftest.$ac_ext
43009 cat >>conftest.$ac_ext <<_ACEOF
43010 /* end confdefs.h. */
43011
43012 /* Override any GCC internal prototype to avoid an error.
43013 Use char because int might match the return type of a GCC
43014 builtin and then its argument prototype would still apply. */
43015 #ifdef __cplusplus
43016 extern "C"
43017 #endif
43018 char dlopen ();
43019 int
43020 main ()
43021 {
43022 return dlopen ();
43023 ;
43024 return 0;
43025 }
43026 _ACEOF
43027 rm -f conftest.$ac_objext conftest$ac_exeext
43028 if { (ac_try="$ac_link"
43029 case "(($ac_try" in
43030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43031 *) ac_try_echo=$ac_try;;
43032 esac
43033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43034 (eval "$ac_link") 2>conftest.er1
43035 ac_status=$?
43036 grep -v '^ *+' conftest.er1 >conftest.err
43037 rm -f conftest.er1
43038 cat conftest.err >&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } && {
43041 test -z "$ac_c_werror_flag" ||
43042 test ! -s conftest.err
43043 } && test -s conftest$ac_exeext &&
43044 $as_test_x conftest$ac_exeext; then
43045 ac_cv_lib_dl_dlopen=yes
43046 else
43047 echo "$as_me: failed program was:" >&5
43048 sed 's/^/| /' conftest.$ac_ext >&5
43049
43050 ac_cv_lib_dl_dlopen=no
43051 fi
43052
43053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43054 conftest$ac_exeext conftest.$ac_ext
43055 LIBS=$ac_check_lib_save_LIBS
43056 fi
43057 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43058 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43059 if test $ac_cv_lib_dl_dlopen = yes; then
43060
43061 cat >>confdefs.h <<\_ACEOF
43062 #define HAVE_DLOPEN 1
43063 _ACEOF
43064
43065 HAVE_DL_FUNCS=1
43066 DL_LINK=" -ldl$DL_LINK"
43067
43068 else
43069
43070
43071 for ac_func in shl_load
43072 do
43073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43077 echo $ECHO_N "(cached) $ECHO_C" >&6
43078 else
43079 cat >conftest.$ac_ext <<_ACEOF
43080 /* confdefs.h. */
43081 _ACEOF
43082 cat confdefs.h >>conftest.$ac_ext
43083 cat >>conftest.$ac_ext <<_ACEOF
43084 /* end confdefs.h. */
43085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43087 #define $ac_func innocuous_$ac_func
43088
43089 /* System header to define __stub macros and hopefully few prototypes,
43090 which can conflict with char $ac_func (); below.
43091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43092 <limits.h> exists even on freestanding compilers. */
43093
43094 #ifdef __STDC__
43095 # include <limits.h>
43096 #else
43097 # include <assert.h>
43098 #endif
43099
43100 #undef $ac_func
43101
43102 /* Override any GCC internal prototype to avoid an error.
43103 Use char because int might match the return type of a GCC
43104 builtin and then its argument prototype would still apply. */
43105 #ifdef __cplusplus
43106 extern "C"
43107 #endif
43108 char $ac_func ();
43109 /* The GNU C library defines this for functions which it implements
43110 to always fail with ENOSYS. Some functions are actually named
43111 something starting with __ and the normal name is an alias. */
43112 #if defined __stub_$ac_func || defined __stub___$ac_func
43113 choke me
43114 #endif
43115
43116 int
43117 main ()
43118 {
43119 return $ac_func ();
43120 ;
43121 return 0;
43122 }
43123 _ACEOF
43124 rm -f conftest.$ac_objext conftest$ac_exeext
43125 if { (ac_try="$ac_link"
43126 case "(($ac_try" in
43127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43128 *) ac_try_echo=$ac_try;;
43129 esac
43130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43131 (eval "$ac_link") 2>conftest.er1
43132 ac_status=$?
43133 grep -v '^ *+' conftest.er1 >conftest.err
43134 rm -f conftest.er1
43135 cat conftest.err >&5
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); } && {
43138 test -z "$ac_c_werror_flag" ||
43139 test ! -s conftest.err
43140 } && test -s conftest$ac_exeext &&
43141 $as_test_x conftest$ac_exeext; then
43142 eval "$as_ac_var=yes"
43143 else
43144 echo "$as_me: failed program was:" >&5
43145 sed 's/^/| /' conftest.$ac_ext >&5
43146
43147 eval "$as_ac_var=no"
43148 fi
43149
43150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43151 conftest$ac_exeext conftest.$ac_ext
43152 fi
43153 ac_res=`eval echo '${'$as_ac_var'}'`
43154 { echo "$as_me:$LINENO: result: $ac_res" >&5
43155 echo "${ECHO_T}$ac_res" >&6; }
43156 if test `eval echo '${'$as_ac_var'}'` = yes; then
43157 cat >>confdefs.h <<_ACEOF
43158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43159 _ACEOF
43160
43161 cat >>confdefs.h <<\_ACEOF
43162 #define HAVE_SHL_LOAD 1
43163 _ACEOF
43164
43165 HAVE_SHL_FUNCS=1
43166
43167 else
43168
43169 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43170 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43171 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43172 echo $ECHO_N "(cached) $ECHO_C" >&6
43173 else
43174 ac_check_lib_save_LIBS=$LIBS
43175 LIBS="-lshl_load $LIBS"
43176 cat >conftest.$ac_ext <<_ACEOF
43177 /* confdefs.h. */
43178 _ACEOF
43179 cat confdefs.h >>conftest.$ac_ext
43180 cat >>conftest.$ac_ext <<_ACEOF
43181 /* end confdefs.h. */
43182
43183 /* Override any GCC internal prototype to avoid an error.
43184 Use char because int might match the return type of a GCC
43185 builtin and then its argument prototype would still apply. */
43186 #ifdef __cplusplus
43187 extern "C"
43188 #endif
43189 char dld ();
43190 int
43191 main ()
43192 {
43193 return dld ();
43194 ;
43195 return 0;
43196 }
43197 _ACEOF
43198 rm -f conftest.$ac_objext conftest$ac_exeext
43199 if { (ac_try="$ac_link"
43200 case "(($ac_try" in
43201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43202 *) ac_try_echo=$ac_try;;
43203 esac
43204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43205 (eval "$ac_link") 2>conftest.er1
43206 ac_status=$?
43207 grep -v '^ *+' conftest.er1 >conftest.err
43208 rm -f conftest.er1
43209 cat conftest.err >&5
43210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43211 (exit $ac_status); } && {
43212 test -z "$ac_c_werror_flag" ||
43213 test ! -s conftest.err
43214 } && test -s conftest$ac_exeext &&
43215 $as_test_x conftest$ac_exeext; then
43216 ac_cv_lib_shl_load_dld=yes
43217 else
43218 echo "$as_me: failed program was:" >&5
43219 sed 's/^/| /' conftest.$ac_ext >&5
43220
43221 ac_cv_lib_shl_load_dld=no
43222 fi
43223
43224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43225 conftest$ac_exeext conftest.$ac_ext
43226 LIBS=$ac_check_lib_save_LIBS
43227 fi
43228 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43229 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43230 if test $ac_cv_lib_shl_load_dld = yes; then
43231
43232 HAVE_SHL_FUNCS=1
43233 DL_LINK=" -ldld$DL_LINK"
43234
43235 fi
43236
43237
43238 fi
43239 done
43240
43241
43242 fi
43243
43244
43245 fi
43246 done
43247
43248
43249 if test "$HAVE_DL_FUNCS" = 1; then
43250
43251 for ac_func in dlerror
43252 do
43253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43257 echo $ECHO_N "(cached) $ECHO_C" >&6
43258 else
43259 cat >conftest.$ac_ext <<_ACEOF
43260 /* confdefs.h. */
43261 _ACEOF
43262 cat confdefs.h >>conftest.$ac_ext
43263 cat >>conftest.$ac_ext <<_ACEOF
43264 /* end confdefs.h. */
43265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43267 #define $ac_func innocuous_$ac_func
43268
43269 /* System header to define __stub macros and hopefully few prototypes,
43270 which can conflict with char $ac_func (); below.
43271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43272 <limits.h> exists even on freestanding compilers. */
43273
43274 #ifdef __STDC__
43275 # include <limits.h>
43276 #else
43277 # include <assert.h>
43278 #endif
43279
43280 #undef $ac_func
43281
43282 /* Override any GCC internal prototype to avoid an error.
43283 Use char because int might match the return type of a GCC
43284 builtin and then its argument prototype would still apply. */
43285 #ifdef __cplusplus
43286 extern "C"
43287 #endif
43288 char $ac_func ();
43289 /* The GNU C library defines this for functions which it implements
43290 to always fail with ENOSYS. Some functions are actually named
43291 something starting with __ and the normal name is an alias. */
43292 #if defined __stub_$ac_func || defined __stub___$ac_func
43293 choke me
43294 #endif
43295
43296 int
43297 main ()
43298 {
43299 return $ac_func ();
43300 ;
43301 return 0;
43302 }
43303 _ACEOF
43304 rm -f conftest.$ac_objext conftest$ac_exeext
43305 if { (ac_try="$ac_link"
43306 case "(($ac_try" in
43307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43308 *) ac_try_echo=$ac_try;;
43309 esac
43310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43311 (eval "$ac_link") 2>conftest.er1
43312 ac_status=$?
43313 grep -v '^ *+' conftest.er1 >conftest.err
43314 rm -f conftest.er1
43315 cat conftest.err >&5
43316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317 (exit $ac_status); } && {
43318 test -z "$ac_c_werror_flag" ||
43319 test ! -s conftest.err
43320 } && test -s conftest$ac_exeext &&
43321 $as_test_x conftest$ac_exeext; then
43322 eval "$as_ac_var=yes"
43323 else
43324 echo "$as_me: failed program was:" >&5
43325 sed 's/^/| /' conftest.$ac_ext >&5
43326
43327 eval "$as_ac_var=no"
43328 fi
43329
43330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43331 conftest$ac_exeext conftest.$ac_ext
43332 fi
43333 ac_res=`eval echo '${'$as_ac_var'}'`
43334 { echo "$as_me:$LINENO: result: $ac_res" >&5
43335 echo "${ECHO_T}$ac_res" >&6; }
43336 if test `eval echo '${'$as_ac_var'}'` = yes; then
43337 cat >>confdefs.h <<_ACEOF
43338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43339 _ACEOF
43340 cat >>confdefs.h <<\_ACEOF
43341 #define HAVE_DLERROR 1
43342 _ACEOF
43343
43344 else
43345
43346 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43347 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43348 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43349 echo $ECHO_N "(cached) $ECHO_C" >&6
43350 else
43351 ac_check_lib_save_LIBS=$LIBS
43352 LIBS="-ldl $LIBS"
43353 cat >conftest.$ac_ext <<_ACEOF
43354 /* confdefs.h. */
43355 _ACEOF
43356 cat confdefs.h >>conftest.$ac_ext
43357 cat >>conftest.$ac_ext <<_ACEOF
43358 /* end confdefs.h. */
43359
43360 /* Override any GCC internal prototype to avoid an error.
43361 Use char because int might match the return type of a GCC
43362 builtin and then its argument prototype would still apply. */
43363 #ifdef __cplusplus
43364 extern "C"
43365 #endif
43366 char dlerror ();
43367 int
43368 main ()
43369 {
43370 return dlerror ();
43371 ;
43372 return 0;
43373 }
43374 _ACEOF
43375 rm -f conftest.$ac_objext conftest$ac_exeext
43376 if { (ac_try="$ac_link"
43377 case "(($ac_try" in
43378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43379 *) ac_try_echo=$ac_try;;
43380 esac
43381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43382 (eval "$ac_link") 2>conftest.er1
43383 ac_status=$?
43384 grep -v '^ *+' conftest.er1 >conftest.err
43385 rm -f conftest.er1
43386 cat conftest.err >&5
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); } && {
43389 test -z "$ac_c_werror_flag" ||
43390 test ! -s conftest.err
43391 } && test -s conftest$ac_exeext &&
43392 $as_test_x conftest$ac_exeext; then
43393 ac_cv_lib_dl_dlerror=yes
43394 else
43395 echo "$as_me: failed program was:" >&5
43396 sed 's/^/| /' conftest.$ac_ext >&5
43397
43398 ac_cv_lib_dl_dlerror=no
43399 fi
43400
43401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43402 conftest$ac_exeext conftest.$ac_ext
43403 LIBS=$ac_check_lib_save_LIBS
43404 fi
43405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43406 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43407 if test $ac_cv_lib_dl_dlerror = yes; then
43408 cat >>confdefs.h <<\_ACEOF
43409 #define HAVE_DLERROR 1
43410 _ACEOF
43411
43412 fi
43413
43414
43415
43416 fi
43417 done
43418
43419 fi
43420 fi
43421
43422 if test "$USE_DARWIN" = 1; then
43423 HAVE_DL_FUNCS=1
43424 fi
43425
43426 if test "$HAVE_DL_FUNCS" = 0; then
43427 if test "$HAVE_SHL_FUNCS" = 0; then
43428 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43429 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43430 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43431 wxUSE_DYNAMIC_LOADER=no
43432 wxUSE_DYNLIB_CLASS=no
43433 else
43434 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43435 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43436 fi
43437 fi
43438 fi
43439 fi
43440 fi
43441
43442 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43443 cat >>confdefs.h <<\_ACEOF
43444 #define wxUSE_DYNAMIC_LOADER 1
43445 _ACEOF
43446
43447 fi
43448 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_DYNLIB_CLASS 1
43451 _ACEOF
43452
43453 fi
43454
43455
43456
43457 if test "$wxUSE_PLUGINS" = "yes" ; then
43458 if test "$wxUSE_SHARED" = "no" ; then
43459 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43460 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43461 wxUSE_PLUGINS=no
43462 fi
43463 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43464 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43465 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43466 wxUSE_PLUGINS=no
43467 fi
43468 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43469 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43470 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43471 wxUSE_PLUGINS=no
43472 fi
43473 if test "$wxUSE_PLUGINS" = "yes" ; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_PLUGINS 1
43476 _ACEOF
43477
43478 fi
43479 fi
43480
43481
43482 if test "$wxUSE_FSWATCHER" = "yes"; then
43483 if test "$wxUSE_MSW" != "1"; then
43484 if test "$wxUSE_UNIX" = "yes"; then
43485
43486 for ac_header in sys/inotify.h
43487 do
43488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43492 echo $ECHO_N "(cached) $ECHO_C" >&6
43493 else
43494 cat >conftest.$ac_ext <<_ACEOF
43495 /* confdefs.h. */
43496 _ACEOF
43497 cat confdefs.h >>conftest.$ac_ext
43498 cat >>conftest.$ac_ext <<_ACEOF
43499 /* end confdefs.h. */
43500 $ac_includes_default
43501
43502 #include <$ac_header>
43503 _ACEOF
43504 rm -f conftest.$ac_objext
43505 if { (ac_try="$ac_compile"
43506 case "(($ac_try" in
43507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43508 *) ac_try_echo=$ac_try;;
43509 esac
43510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43511 (eval "$ac_compile") 2>conftest.er1
43512 ac_status=$?
43513 grep -v '^ *+' conftest.er1 >conftest.err
43514 rm -f conftest.er1
43515 cat conftest.err >&5
43516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43517 (exit $ac_status); } && {
43518 test -z "$ac_c_werror_flag" ||
43519 test ! -s conftest.err
43520 } && test -s conftest.$ac_objext; then
43521 eval "$as_ac_Header=yes"
43522 else
43523 echo "$as_me: failed program was:" >&5
43524 sed 's/^/| /' conftest.$ac_ext >&5
43525
43526 eval "$as_ac_Header=no"
43527 fi
43528
43529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43530 fi
43531 ac_res=`eval echo '${'$as_ac_Header'}'`
43532 { echo "$as_me:$LINENO: result: $ac_res" >&5
43533 echo "${ECHO_T}$ac_res" >&6; }
43534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43535 cat >>confdefs.h <<_ACEOF
43536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43537 _ACEOF
43538
43539 fi
43540
43541 done
43542
43543 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43544 cat >>confdefs.h <<\_ACEOF
43545 #define wxHAS_INOTIFY 1
43546 _ACEOF
43547
43548 else
43549
43550 for ac_header in sys/event.h
43551 do
43552 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43553 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43556 echo $ECHO_N "(cached) $ECHO_C" >&6
43557 else
43558 cat >conftest.$ac_ext <<_ACEOF
43559 /* confdefs.h. */
43560 _ACEOF
43561 cat confdefs.h >>conftest.$ac_ext
43562 cat >>conftest.$ac_ext <<_ACEOF
43563 /* end confdefs.h. */
43564 $ac_includes_default
43565
43566 #include <$ac_header>
43567 _ACEOF
43568 rm -f conftest.$ac_objext
43569 if { (ac_try="$ac_compile"
43570 case "(($ac_try" in
43571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43572 *) ac_try_echo=$ac_try;;
43573 esac
43574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43575 (eval "$ac_compile") 2>conftest.er1
43576 ac_status=$?
43577 grep -v '^ *+' conftest.er1 >conftest.err
43578 rm -f conftest.er1
43579 cat conftest.err >&5
43580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43581 (exit $ac_status); } && {
43582 test -z "$ac_c_werror_flag" ||
43583 test ! -s conftest.err
43584 } && test -s conftest.$ac_objext; then
43585 eval "$as_ac_Header=yes"
43586 else
43587 echo "$as_me: failed program was:" >&5
43588 sed 's/^/| /' conftest.$ac_ext >&5
43589
43590 eval "$as_ac_Header=no"
43591 fi
43592
43593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43594 fi
43595 ac_res=`eval echo '${'$as_ac_Header'}'`
43596 { echo "$as_me:$LINENO: result: $ac_res" >&5
43597 echo "${ECHO_T}$ac_res" >&6; }
43598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43599 cat >>confdefs.h <<_ACEOF
43600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43601 _ACEOF
43602
43603 fi
43604
43605 done
43606
43607 if test "$ac_cv_header_sys_event_h" = "yes"; then
43608 cat >>confdefs.h <<\_ACEOF
43609 #define wxHAS_KQUEUE 1
43610 _ACEOF
43611
43612 else
43613 wxUSE_FSWATCHER=no
43614 fi
43615 fi
43616 else
43617 wxUSE_FSWATCHER=no
43618 fi
43619 fi
43620
43621 if test "$wxUSE_FSWATCHER" = "yes"; then
43622 cat >>confdefs.h <<\_ACEOF
43623 #define wxUSE_FSWATCHER 1
43624 _ACEOF
43625
43626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43627 else
43628 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43629 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43630 fi
43631 fi
43632
43633
43634 if test "$wxUSE_STL" = "yes"; then
43635 cat >>confdefs.h <<\_ACEOF
43636 #define wxUSE_STL 1
43637 _ACEOF
43638
43639 fi
43640
43641 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43642 cat >>confdefs.h <<\_ACEOF
43643 #define wxUSE_EXTENDED_RTTI 1
43644 _ACEOF
43645
43646 fi
43647
43648 if test "$wxUSE_ANY" = "yes"; then
43649 cat >>confdefs.h <<\_ACEOF
43650 #define wxUSE_ANY 1
43651 _ACEOF
43652
43653 fi
43654
43655 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43656 cat >>confdefs.h <<\_ACEOF
43657 #define wxUSE_APPLE_IEEE 1
43658 _ACEOF
43659
43660 fi
43661
43662 if test "$wxUSE_TIMER" = "yes"; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define wxUSE_TIMER 1
43665 _ACEOF
43666
43667 fi
43668
43669 if test "$USE_UNIX" = 1 ; then
43670 if test "$wxUSE_MGL" != 1; then
43671 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43672 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43673 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43675 else
43676
43677 cat >conftest.$ac_ext <<_ACEOF
43678 /* confdefs.h. */
43679 _ACEOF
43680 cat confdefs.h >>conftest.$ac_ext
43681 cat >>conftest.$ac_ext <<_ACEOF
43682 /* end confdefs.h. */
43683
43684 #include <sys/ioctl.h>
43685 #include <sys/soundcard.h>
43686
43687 int
43688 main ()
43689 {
43690
43691 ioctl(0, SNDCTL_DSP_SPEED, 0);
43692
43693 ;
43694 return 0;
43695 }
43696 _ACEOF
43697 rm -f conftest.$ac_objext conftest$ac_exeext
43698 if { (ac_try="$ac_link"
43699 case "(($ac_try" in
43700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43701 *) ac_try_echo=$ac_try;;
43702 esac
43703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43704 (eval "$ac_link") 2>conftest.er1
43705 ac_status=$?
43706 grep -v '^ *+' conftest.er1 >conftest.err
43707 rm -f conftest.er1
43708 cat conftest.err >&5
43709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43710 (exit $ac_status); } && {
43711 test -z "$ac_c_werror_flag" ||
43712 test ! -s conftest.err
43713 } && test -s conftest$ac_exeext &&
43714 $as_test_x conftest$ac_exeext; then
43715 ac_cv_header_sys_soundcard=yes
43716 else
43717 echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.$ac_ext >&5
43719
43720
43721 saveLibs="$LIBS"
43722 LIBS="$saveLibs -lossaudio"
43723 cat >conftest.$ac_ext <<_ACEOF
43724 /* confdefs.h. */
43725 _ACEOF
43726 cat confdefs.h >>conftest.$ac_ext
43727 cat >>conftest.$ac_ext <<_ACEOF
43728 /* end confdefs.h. */
43729
43730 #include <sys/ioctl.h>
43731 #include <sys/soundcard.h>
43732
43733 int
43734 main ()
43735 {
43736
43737 ioctl(0, SNDCTL_DSP_SPEED, 0);
43738
43739 ;
43740 return 0;
43741 }
43742 _ACEOF
43743 rm -f conftest.$ac_objext conftest$ac_exeext
43744 if { (ac_try="$ac_link"
43745 case "(($ac_try" in
43746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43747 *) ac_try_echo=$ac_try;;
43748 esac
43749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43750 (eval "$ac_link") 2>conftest.er1
43751 ac_status=$?
43752 grep -v '^ *+' conftest.er1 >conftest.err
43753 rm -f conftest.er1
43754 cat conftest.err >&5
43755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43756 (exit $ac_status); } && {
43757 test -z "$ac_c_werror_flag" ||
43758 test ! -s conftest.err
43759 } && test -s conftest$ac_exeext &&
43760 $as_test_x conftest$ac_exeext; then
43761 ac_cv_header_sys_soundcard=yes
43762 else
43763 echo "$as_me: failed program was:" >&5
43764 sed 's/^/| /' conftest.$ac_ext >&5
43765
43766
43767 LIBS="$saveLibs"
43768 ac_cv_header_sys_soundcard=no
43769
43770
43771 fi
43772
43773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43774 conftest$ac_exeext conftest.$ac_ext
43775
43776
43777 fi
43778
43779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43780 conftest$ac_exeext conftest.$ac_ext
43781
43782 fi
43783 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43784 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43785 fi
43786
43787 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43788 cat >>confdefs.h <<\_ACEOF
43789 #define HAVE_SYS_SOUNDCARD_H 1
43790 _ACEOF
43791
43792 fi
43793 fi
43794
43795 WITH_PLUGIN_SDL=0
43796 if test "$wxUSE_SOUND" = "yes"; then
43797 if test "$USE_UNIX" = 1 ; then
43798 if test "$wxUSE_LIBSDL" != "no"; then
43799
43800 # Check whether --with-sdl-prefix was given.
43801 if test "${with_sdl_prefix+set}" = set; then
43802 withval=$with_sdl_prefix; sdl_prefix="$withval"
43803 else
43804 sdl_prefix=""
43805 fi
43806
43807
43808 # Check whether --with-sdl-exec-prefix was given.
43809 if test "${with_sdl_exec_prefix+set}" = set; then
43810 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43811 else
43812 sdl_exec_prefix=""
43813 fi
43814
43815 # Check whether --enable-sdltest was given.
43816 if test "${enable_sdltest+set}" = set; then
43817 enableval=$enable_sdltest;
43818 else
43819 enable_sdltest=yes
43820 fi
43821
43822
43823 if test x$sdl_exec_prefix != x ; then
43824 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43825 if test x${SDL_CONFIG+set} != xset ; then
43826 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43827 fi
43828 fi
43829 if test x$sdl_prefix != x ; then
43830 sdl_args="$sdl_args --prefix=$sdl_prefix"
43831 if test x${SDL_CONFIG+set} != xset ; then
43832 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43833 fi
43834 fi
43835
43836 if test "x$prefix" != xNONE; then
43837 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43838 fi
43839 # Extract the first word of "sdl-config", so it can be a program name with args.
43840 set dummy sdl-config; ac_word=$2
43841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43843 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43844 echo $ECHO_N "(cached) $ECHO_C" >&6
43845 else
43846 case $SDL_CONFIG in
43847 [\\/]* | ?:[\\/]*)
43848 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43849 ;;
43850 *)
43851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43852 for as_dir in $PATH
43853 do
43854 IFS=$as_save_IFS
43855 test -z "$as_dir" && as_dir=.
43856 for ac_exec_ext in '' $ac_executable_extensions; do
43857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43858 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43860 break 2
43861 fi
43862 done
43863 done
43864 IFS=$as_save_IFS
43865
43866 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43867 ;;
43868 esac
43869 fi
43870 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43871 if test -n "$SDL_CONFIG"; then
43872 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43873 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43874 else
43875 { echo "$as_me:$LINENO: result: no" >&5
43876 echo "${ECHO_T}no" >&6; }
43877 fi
43878
43879
43880 min_sdl_version=1.2.0
43881 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43882 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43883 no_sdl=""
43884 if test "$SDL_CONFIG" = "no" ; then
43885 no_sdl=yes
43886 else
43887 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43888 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43889
43890 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43891 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43892 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43893 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43894 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43895 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43896 if test "x$enable_sdltest" = "xyes" ; then
43897 ac_save_CFLAGS="$CFLAGS"
43898 ac_save_CXXFLAGS="$CXXFLAGS"
43899 ac_save_LIBS="$LIBS"
43900 CFLAGS="$CFLAGS $SDL_CFLAGS"
43901 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43902 LIBS="$LIBS $SDL_LIBS"
43903 rm -f conf.sdltest
43904 if test "$cross_compiling" = yes; then
43905 echo $ac_n "cross compiling; assumed OK... $ac_c"
43906 else
43907 cat >conftest.$ac_ext <<_ACEOF
43908 /* confdefs.h. */
43909 _ACEOF
43910 cat confdefs.h >>conftest.$ac_ext
43911 cat >>conftest.$ac_ext <<_ACEOF
43912 /* end confdefs.h. */
43913
43914 #include <stdio.h>
43915 #include <stdlib.h>
43916 #include <string.h>
43917 #include "SDL.h"
43918
43919 char*
43920 my_strdup (char *str)
43921 {
43922 char *new_str;
43923
43924 if (str)
43925 {
43926 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43927 strcpy (new_str, str);
43928 }
43929 else
43930 new_str = NULL;
43931
43932 return new_str;
43933 }
43934
43935 int main (int argc, char *argv[])
43936 {
43937 int major, minor, micro;
43938 char *tmp_version;
43939
43940 /* This hangs on some systems (?)
43941 system ("touch conf.sdltest");
43942 */
43943 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43944
43945 /* HP/UX 9 (%@#!) writes to sscanf strings */
43946 tmp_version = my_strdup("$min_sdl_version");
43947 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43948 printf("%s, bad version string\n", "$min_sdl_version");
43949 exit(1);
43950 }
43951
43952 if (($sdl_major_version > major) ||
43953 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43954 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43955 {
43956 return 0;
43957 }
43958 else
43959 {
43960 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43961 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43962 printf("*** best to upgrade to the required version.\n");
43963 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43964 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43965 printf("*** config.cache before re-running configure\n");
43966 return 1;
43967 }
43968 }
43969
43970
43971 _ACEOF
43972 rm -f conftest$ac_exeext
43973 if { (ac_try="$ac_link"
43974 case "(($ac_try" in
43975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43976 *) ac_try_echo=$ac_try;;
43977 esac
43978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43979 (eval "$ac_link") 2>&5
43980 ac_status=$?
43981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43983 { (case "(($ac_try" in
43984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43985 *) ac_try_echo=$ac_try;;
43986 esac
43987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43988 (eval "$ac_try") 2>&5
43989 ac_status=$?
43990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43991 (exit $ac_status); }; }; then
43992 :
43993 else
43994 echo "$as_me: program exited with status $ac_status" >&5
43995 echo "$as_me: failed program was:" >&5
43996 sed 's/^/| /' conftest.$ac_ext >&5
43997
43998 ( exit $ac_status )
43999 no_sdl=yes
44000 fi
44001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44002 fi
44003
44004
44005 CFLAGS="$ac_save_CFLAGS"
44006 CXXFLAGS="$ac_save_CXXFLAGS"
44007 LIBS="$ac_save_LIBS"
44008 fi
44009 fi
44010 if test "x$no_sdl" = x ; then
44011 { echo "$as_me:$LINENO: result: yes" >&5
44012 echo "${ECHO_T}yes" >&6; }
44013
44014 EXTRALIBS_SDL="$SDL_LIBS"
44015 CFLAGS="$SDL_CFLAGS $CFLAGS"
44016 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44017 cat >>confdefs.h <<\_ACEOF
44018 #define wxUSE_LIBSDL 1
44019 _ACEOF
44020
44021
44022 else
44023 { echo "$as_me:$LINENO: result: no" >&5
44024 echo "${ECHO_T}no" >&6; }
44025 if test "$SDL_CONFIG" = "no" ; then
44026 echo "*** The sdl-config script installed by SDL could not be found"
44027 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44028 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44029 echo "*** full path to sdl-config."
44030 else
44031 if test -f conf.sdltest ; then
44032 :
44033 else
44034 echo "*** Could not run SDL test program, checking why..."
44035 CFLAGS="$CFLAGS $SDL_CFLAGS"
44036 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44037 LIBS="$LIBS $SDL_LIBS"
44038 cat >conftest.$ac_ext <<_ACEOF
44039 /* confdefs.h. */
44040 _ACEOF
44041 cat confdefs.h >>conftest.$ac_ext
44042 cat >>conftest.$ac_ext <<_ACEOF
44043 /* end confdefs.h. */
44044
44045 #include <stdio.h>
44046 #include "SDL.h"
44047
44048 int main(int argc, char *argv[])
44049 { return 0; }
44050 #undef main
44051 #define main K_and_R_C_main
44052
44053 int
44054 main ()
44055 {
44056 return 0;
44057 ;
44058 return 0;
44059 }
44060 _ACEOF
44061 rm -f conftest.$ac_objext conftest$ac_exeext
44062 if { (ac_try="$ac_link"
44063 case "(($ac_try" in
44064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44065 *) ac_try_echo=$ac_try;;
44066 esac
44067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44068 (eval "$ac_link") 2>conftest.er1
44069 ac_status=$?
44070 grep -v '^ *+' conftest.er1 >conftest.err
44071 rm -f conftest.er1
44072 cat conftest.err >&5
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); } && {
44075 test -z "$ac_c_werror_flag" ||
44076 test ! -s conftest.err
44077 } && test -s conftest$ac_exeext &&
44078 $as_test_x conftest$ac_exeext; then
44079 echo "*** The test program compiled, but did not run. This usually means"
44080 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44081 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44082 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44083 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44084 echo "*** is required on your system"
44085 echo "***"
44086 echo "*** If you have an old version installed, it is best to remove it, although"
44087 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44088 else
44089 echo "$as_me: failed program was:" >&5
44090 sed 's/^/| /' conftest.$ac_ext >&5
44091
44092 echo "*** The test program failed to compile or link. See the file config.log for the"
44093 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44094 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44095 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44096 fi
44097
44098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44099 conftest$ac_exeext conftest.$ac_ext
44100 CFLAGS="$ac_save_CFLAGS"
44101 CXXFLAGS="$ac_save_CXXFLAGS"
44102 LIBS="$ac_save_LIBS"
44103 fi
44104 fi
44105 SDL_CFLAGS=""
44106 SDL_LIBS=""
44107 wxUSE_LIBSDL="no"
44108 fi
44109
44110
44111 rm -f conf.sdltest
44112
44113 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44114 WITH_PLUGIN_SDL=1
44115 fi
44116 fi
44117 else
44118 if test "$wxUSE_MGL" = 1; then
44119 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44120 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44121 wxUSE_SOUND="no"
44122 fi
44123 fi
44124 fi
44125
44126 if test "$wxUSE_SOUND" = "yes"; then
44127 cat >>confdefs.h <<\_ACEOF
44128 #define wxUSE_SOUND 1
44129 _ACEOF
44130
44131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44132 fi
44133
44134 if test "$WXGTK2" = 1; then
44135
44136
44137 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44138 if test -n "$ac_tool_prefix"; then
44139 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44140 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44143 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44144 echo $ECHO_N "(cached) $ECHO_C" >&6
44145 else
44146 case $PKG_CONFIG in
44147 [\\/]* | ?:[\\/]*)
44148 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44149 ;;
44150 *)
44151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44152 for as_dir in $PATH
44153 do
44154 IFS=$as_save_IFS
44155 test -z "$as_dir" && as_dir=.
44156 for ac_exec_ext in '' $ac_executable_extensions; do
44157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44158 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44160 break 2
44161 fi
44162 done
44163 done
44164 IFS=$as_save_IFS
44165
44166 ;;
44167 esac
44168 fi
44169 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44170 if test -n "$PKG_CONFIG"; then
44171 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44172 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44173 else
44174 { echo "$as_me:$LINENO: result: no" >&5
44175 echo "${ECHO_T}no" >&6; }
44176 fi
44177
44178
44179 fi
44180 if test -z "$ac_cv_path_PKG_CONFIG"; then
44181 ac_pt_PKG_CONFIG=$PKG_CONFIG
44182 # Extract the first word of "pkg-config", so it can be a program name with args.
44183 set dummy pkg-config; ac_word=$2
44184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44186 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44187 echo $ECHO_N "(cached) $ECHO_C" >&6
44188 else
44189 case $ac_pt_PKG_CONFIG in
44190 [\\/]* | ?:[\\/]*)
44191 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44192 ;;
44193 *)
44194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44195 for as_dir in $PATH
44196 do
44197 IFS=$as_save_IFS
44198 test -z "$as_dir" && as_dir=.
44199 for ac_exec_ext in '' $ac_executable_extensions; do
44200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44201 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44203 break 2
44204 fi
44205 done
44206 done
44207 IFS=$as_save_IFS
44208
44209 ;;
44210 esac
44211 fi
44212 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44213 if test -n "$ac_pt_PKG_CONFIG"; then
44214 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44215 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44216 else
44217 { echo "$as_me:$LINENO: result: no" >&5
44218 echo "${ECHO_T}no" >&6; }
44219 fi
44220
44221 if test "x$ac_pt_PKG_CONFIG" = x; then
44222 PKG_CONFIG=""
44223 else
44224 case $cross_compiling:$ac_tool_warned in
44225 yes:)
44226 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44227 whose name does not start with the host triplet. If you think this
44228 configuration is useful to you, please write to autoconf@gnu.org." >&5
44229 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44230 whose name does not start with the host triplet. If you think this
44231 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44232 ac_tool_warned=yes ;;
44233 esac
44234 PKG_CONFIG=$ac_pt_PKG_CONFIG
44235 fi
44236 else
44237 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44238 fi
44239
44240 fi
44241 if test -n "$PKG_CONFIG"; then
44242 _pkg_min_version=0.9.0
44243 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44244 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44245 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44246 { echo "$as_me:$LINENO: result: yes" >&5
44247 echo "${ECHO_T}yes" >&6; }
44248 else
44249 { echo "$as_me:$LINENO: result: no" >&5
44250 echo "${ECHO_T}no" >&6; }
44251 PKG_CONFIG=""
44252 fi
44253
44254 fi
44255
44256 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44257
44258 if test "$wxUSE_GTKPRINT" = "yes" ; then
44259
44260
44261 pkg_failed=no
44262 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44263 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44264
44265 if test -n "$PKG_CONFIG"; then
44266 if test -n "$GTKPRINT_CFLAGS"; then
44267 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44268 else
44269 if test -n "$PKG_CONFIG" && \
44270 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44271 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44272 ac_status=$?
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); }; then
44275 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44276 else
44277 pkg_failed=yes
44278 fi
44279 fi
44280 else
44281 pkg_failed=untried
44282 fi
44283 if test -n "$PKG_CONFIG"; then
44284 if test -n "$GTKPRINT_LIBS"; then
44285 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44286 else
44287 if test -n "$PKG_CONFIG" && \
44288 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44289 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44290 ac_status=$?
44291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44292 (exit $ac_status); }; then
44293 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44294 else
44295 pkg_failed=yes
44296 fi
44297 fi
44298 else
44299 pkg_failed=untried
44300 fi
44301
44302
44303
44304 if test $pkg_failed = yes; then
44305
44306 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44307 _pkg_short_errors_supported=yes
44308 else
44309 _pkg_short_errors_supported=no
44310 fi
44311 if test $_pkg_short_errors_supported = yes; then
44312 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44313 else
44314 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44315 fi
44316 # Put the nasty error message in config.log where it belongs
44317 echo "$GTKPRINT_PKG_ERRORS" >&5
44318
44319
44320 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44321 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44322 wxUSE_GTKPRINT="no"
44323
44324
44325 elif test $pkg_failed = untried; then
44326
44327 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44328 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44329 wxUSE_GTKPRINT="no"
44330
44331
44332 else
44333 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44334 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44335 { echo "$as_me:$LINENO: result: yes" >&5
44336 echo "${ECHO_T}yes" >&6; }
44337
44338 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44339 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_GTKPRINT 1
44342 _ACEOF
44343
44344
44345 fi
44346 fi
44347
44348 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44349
44350
44351 pkg_failed=no
44352 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44353 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44354
44355 if test -n "$PKG_CONFIG"; then
44356 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44357 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44358 else
44359 if test -n "$PKG_CONFIG" && \
44360 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44361 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44362 ac_status=$?
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); }; then
44365 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44366 else
44367 pkg_failed=yes
44368 fi
44369 fi
44370 else
44371 pkg_failed=untried
44372 fi
44373 if test -n "$PKG_CONFIG"; then
44374 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44375 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44376 else
44377 if test -n "$PKG_CONFIG" && \
44378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44379 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44380 ac_status=$?
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; then
44383 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44384 else
44385 pkg_failed=yes
44386 fi
44387 fi
44388 else
44389 pkg_failed=untried
44390 fi
44391
44392
44393
44394 if test $pkg_failed = yes; then
44395
44396 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44397 _pkg_short_errors_supported=yes
44398 else
44399 _pkg_short_errors_supported=no
44400 fi
44401 if test $_pkg_short_errors_supported = yes; then
44402 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44403 else
44404 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44405 fi
44406 # Put the nasty error message in config.log where it belongs
44407 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44408
44409
44410 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44411 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44412 wxUSE_LIBGNOMEPRINT="no"
44413
44414
44415 elif test $pkg_failed = untried; then
44416
44417 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44418 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44419 wxUSE_LIBGNOMEPRINT="no"
44420
44421
44422 else
44423 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44424 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44425 { echo "$as_me:$LINENO: result: yes" >&5
44426 echo "${ECHO_T}yes" >&6; }
44427
44428 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44429 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44430 cat >>confdefs.h <<\_ACEOF
44431 #define wxUSE_LIBGNOMEPRINT 1
44432 _ACEOF
44433
44434
44435 fi
44436 fi
44437 fi
44438
44439 if test "$wxUSE_MIMETYPE" = "yes" ; then
44440 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44441
44442
44443 pkg_failed=no
44444 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44445 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44446
44447 if test -n "$PKG_CONFIG"; then
44448 if test -n "$GNOMEVFS_CFLAGS"; then
44449 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44450 else
44451 if test -n "$PKG_CONFIG" && \
44452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44453 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44454 ac_status=$?
44455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44456 (exit $ac_status); }; then
44457 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44458 else
44459 pkg_failed=yes
44460 fi
44461 fi
44462 else
44463 pkg_failed=untried
44464 fi
44465 if test -n "$PKG_CONFIG"; then
44466 if test -n "$GNOMEVFS_LIBS"; then
44467 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44468 else
44469 if test -n "$PKG_CONFIG" && \
44470 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44471 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44472 ac_status=$?
44473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44474 (exit $ac_status); }; then
44475 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44476 else
44477 pkg_failed=yes
44478 fi
44479 fi
44480 else
44481 pkg_failed=untried
44482 fi
44483
44484
44485
44486 if test $pkg_failed = yes; then
44487
44488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44489 _pkg_short_errors_supported=yes
44490 else
44491 _pkg_short_errors_supported=no
44492 fi
44493 if test $_pkg_short_errors_supported = yes; then
44494 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44495 else
44496 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44497 fi
44498 # Put the nasty error message in config.log where it belongs
44499 echo "$GNOMEVFS_PKG_ERRORS" >&5
44500
44501
44502 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44503 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44504 wxUSE_LIBGNOMEVFS="no"
44505
44506
44507 elif test $pkg_failed = untried; then
44508
44509 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44510 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44511 wxUSE_LIBGNOMEVFS="no"
44512
44513
44514 else
44515 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44516 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44517 { echo "$as_me:$LINENO: result: yes" >&5
44518 echo "${ECHO_T}yes" >&6; }
44519
44520 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44521 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44522 cat >>confdefs.h <<\_ACEOF
44523 #define wxUSE_LIBGNOMEVFS 1
44524 _ACEOF
44525
44526
44527 fi
44528 fi
44529 fi
44530
44531 if test "$wxUSE_LIBHILDON" = "yes" ; then
44532
44533 pkg_failed=no
44534 { echo "$as_me:$LINENO: checking for HILDON" >&5
44535 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44536
44537 if test -n "$PKG_CONFIG"; then
44538 if test -n "$HILDON_CFLAGS"; then
44539 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44540 else
44541 if test -n "$PKG_CONFIG" && \
44542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44543 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44544 ac_status=$?
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; then
44547 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44548 else
44549 pkg_failed=yes
44550 fi
44551 fi
44552 else
44553 pkg_failed=untried
44554 fi
44555 if test -n "$PKG_CONFIG"; then
44556 if test -n "$HILDON_LIBS"; then
44557 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44558 else
44559 if test -n "$PKG_CONFIG" && \
44560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44561 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44562 ac_status=$?
44563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44564 (exit $ac_status); }; then
44565 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44566 else
44567 pkg_failed=yes
44568 fi
44569 fi
44570 else
44571 pkg_failed=untried
44572 fi
44573
44574
44575
44576 if test $pkg_failed = yes; then
44577
44578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44579 _pkg_short_errors_supported=yes
44580 else
44581 _pkg_short_errors_supported=no
44582 fi
44583 if test $_pkg_short_errors_supported = yes; then
44584 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44585 else
44586 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44587 fi
44588 # Put the nasty error message in config.log where it belongs
44589 echo "$HILDON_PKG_ERRORS" >&5
44590
44591
44592 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44593 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44594 wxUSE_LIBHILDON="no"
44595 ac_hildon_lgpl=0
44596
44597
44598 elif test $pkg_failed = untried; then
44599
44600 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44601 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44602 wxUSE_LIBHILDON="no"
44603 ac_hildon_lgpl=0
44604
44605
44606 else
44607 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44608 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44609 { echo "$as_me:$LINENO: result: yes" >&5
44610 echo "${ECHO_T}yes" >&6; }
44611
44612 EXTRALIBS_HILDON="$HILDON_LIBS"
44613 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44614 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44615 cat >>confdefs.h <<\_ACEOF
44616 #define wxUSE_LIBHILDON 1
44617 _ACEOF
44618
44619 ac_hildon_lgpl=1
44620
44621 fi
44622
44623 if test "$ac_hildon_lgpl" = 0 ; then
44624
44625 pkg_failed=no
44626 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44627 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44628
44629 if test -n "$PKG_CONFIG"; then
44630 if test -n "$HILDON2_CFLAGS"; then
44631 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44632 else
44633 if test -n "$PKG_CONFIG" && \
44634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44635 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44636 ac_status=$?
44637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44638 (exit $ac_status); }; then
44639 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44640 else
44641 pkg_failed=yes
44642 fi
44643 fi
44644 else
44645 pkg_failed=untried
44646 fi
44647 if test -n "$PKG_CONFIG"; then
44648 if test -n "$HILDON2_LIBS"; then
44649 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44650 else
44651 if test -n "$PKG_CONFIG" && \
44652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44653 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44654 ac_status=$?
44655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44656 (exit $ac_status); }; then
44657 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44658 else
44659 pkg_failed=yes
44660 fi
44661 fi
44662 else
44663 pkg_failed=untried
44664 fi
44665
44666
44667
44668 if test $pkg_failed = yes; then
44669
44670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44671 _pkg_short_errors_supported=yes
44672 else
44673 _pkg_short_errors_supported=no
44674 fi
44675 if test $_pkg_short_errors_supported = yes; then
44676 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44677 else
44678 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44679 fi
44680 # Put the nasty error message in config.log where it belongs
44681 echo "$HILDON2_PKG_ERRORS" >&5
44682
44683
44684 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44685 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44686 wxUSE_LIBHILDON2="no"
44687
44688
44689 elif test $pkg_failed = untried; then
44690
44691 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44692 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44693 wxUSE_LIBHILDON2="no"
44694
44695
44696 else
44697 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44698 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44699 { echo "$as_me:$LINENO: result: yes" >&5
44700 echo "${ECHO_T}yes" >&6; }
44701
44702 EXTRALIBS_HILDON="$HILDON2_LIBS"
44703 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44704 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44705 cat >>confdefs.h <<\_ACEOF
44706 #define wxUSE_LIBHILDON2 1
44707 _ACEOF
44708
44709
44710 fi
44711 fi
44712 fi
44713 fi
44714
44715 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44716 cat >>confdefs.h <<\_ACEOF
44717 #define wxUSE_CMDLINE_PARSER 1
44718 _ACEOF
44719
44720 fi
44721
44722 if test "$wxUSE_STOPWATCH" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_STOPWATCH 1
44725 _ACEOF
44726
44727 fi
44728
44729 if test "$wxUSE_DATETIME" = "yes"; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_DATETIME 1
44732 _ACEOF
44733
44734 fi
44735
44736 if test "$wxUSE_FILE" = "yes"; then
44737 cat >>confdefs.h <<\_ACEOF
44738 #define wxUSE_FILE 1
44739 _ACEOF
44740
44741 fi
44742
44743 if test "$wxUSE_FFILE" = "yes"; then
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_FFILE 1
44746 _ACEOF
44747
44748 fi
44749
44750 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44751 if test "$wxUSE_STREAMS" != yes; then
44752 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44753 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44754 wxUSE_ARCHIVE_STREAMS=no
44755 else
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_ARCHIVE_STREAMS 1
44758 _ACEOF
44759
44760 fi
44761 fi
44762
44763 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44764 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44765 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44766 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44767 elif test "$wxUSE_ZLIB" = "no"; then
44768 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44769 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44770 else
44771 cat >>confdefs.h <<\_ACEOF
44772 #define wxUSE_ZIPSTREAM 1
44773 _ACEOF
44774
44775 fi
44776 fi
44777
44778 if test "$wxUSE_TARSTREAM" = "yes"; then
44779 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44780 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44781 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44782 else
44783 cat >>confdefs.h <<\_ACEOF
44784 #define wxUSE_TARSTREAM 1
44785 _ACEOF
44786
44787 fi
44788 fi
44789
44790 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_FILE_HISTORY 1
44793 _ACEOF
44794
44795 fi
44796
44797 if test "$wxUSE_FILESYSTEM" = "yes"; then
44798 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44799 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44800 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44801 wxUSE_FILESYSTEM=no
44802 else
44803 cat >>confdefs.h <<\_ACEOF
44804 #define wxUSE_FILESYSTEM 1
44805 _ACEOF
44806
44807 fi
44808 fi
44809
44810 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44811 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44812 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44813 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44814 else
44815 cat >>confdefs.h <<\_ACEOF
44816 #define wxUSE_FS_ARCHIVE 1
44817 _ACEOF
44818
44819 fi
44820 fi
44821
44822 if test "$wxUSE_FS_ZIP" = "yes"; then
44823 if test "$wxUSE_FS_ARCHIVE" != yes; then
44824 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44825 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44826 else
44827 cat >>confdefs.h <<\_ACEOF
44828 #define wxUSE_FS_ZIP 1
44829 _ACEOF
44830
44831 fi
44832 fi
44833
44834 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44835 if test "$USE_UNIX" != 1; then
44836 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44837 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44838 wxUSE_ON_FATAL_EXCEPTION=no
44839 else
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_ON_FATAL_EXCEPTION 1
44842 _ACEOF
44843
44844 fi
44845 fi
44846
44847 if test "$wxUSE_STACKWALKER" = "yes"; then
44848 cat >>confdefs.h <<\_ACEOF
44849 #define wxUSE_STACKWALKER 1
44850 _ACEOF
44851
44852 fi
44853
44854 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44855 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44856 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44857 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44858 wxUSE_DEBUGREPORT=no
44859 else
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_DEBUGREPORT 1
44862 _ACEOF
44863
44864 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44866 fi
44867 fi
44868 fi
44869
44870 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44871 cat >>confdefs.h <<\_ACEOF
44872 #define wxUSE_SNGLINST_CHECKER 1
44873 _ACEOF
44874
44875 fi
44876
44877 if test "$wxUSE_BUSYINFO" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_BUSYINFO 1
44880 _ACEOF
44881
44882 fi
44883
44884 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_STD_IOSTREAM 1
44887 _ACEOF
44888
44889 fi
44890
44891 if test "$wxUSE_STD_STRING" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_STD_STRING 1
44894 _ACEOF
44895
44896 fi
44897
44898 if test "$wxUSE_STDPATHS" = "yes"; then
44899 cat >>confdefs.h <<\_ACEOF
44900 #define wxUSE_STDPATHS 1
44901 _ACEOF
44902
44903 fi
44904
44905 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_TEXTBUFFER 1
44908 _ACEOF
44909
44910 fi
44911
44912 if test "$wxUSE_TEXTFILE" = "yes"; then
44913 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44914 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44915 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44916 else
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_TEXTFILE 1
44919 _ACEOF
44920
44921 fi
44922 fi
44923
44924 if test "$wxUSE_CONFIG" = "yes" ; then
44925 if test "$wxUSE_TEXTFILE" != "yes"; then
44926 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44927 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44928 else
44929 cat >>confdefs.h <<\_ACEOF
44930 #define wxUSE_CONFIG 1
44931 _ACEOF
44932
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_CONFIG_NATIVE 1
44935 _ACEOF
44936
44937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44938 fi
44939 fi
44940
44941 if test "$wxUSE_INTL" = "yes" ; then
44942 if test "$wxUSE_FILE" != "yes"; then
44943 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44944 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44945 else
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_INTL 1
44948 _ACEOF
44949
44950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44951 GUIDIST="$GUIDIST INTL_DIST"
44952 fi
44953 fi
44954
44955 if test "$wxUSE_XLOCALE" = "yes" ; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_XLOCALE 1
44958 _ACEOF
44959
44960 { echo "$as_me:$LINENO: checking for locale_t" >&5
44961 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44962 if test "${ac_cv_type_locale_t+set}" = set; then
44963 echo $ECHO_N "(cached) $ECHO_C" >&6
44964 else
44965 cat >conftest.$ac_ext <<_ACEOF
44966 /* confdefs.h. */
44967 _ACEOF
44968 cat confdefs.h >>conftest.$ac_ext
44969 cat >>conftest.$ac_ext <<_ACEOF
44970 /* end confdefs.h. */
44971 #include <xlocale.h>
44972 #include <locale.h>
44973
44974 typedef locale_t ac__type_new_;
44975 int
44976 main ()
44977 {
44978 if ((ac__type_new_ *) 0)
44979 return 0;
44980 if (sizeof (ac__type_new_))
44981 return 0;
44982 ;
44983 return 0;
44984 }
44985 _ACEOF
44986 rm -f conftest.$ac_objext
44987 if { (ac_try="$ac_compile"
44988 case "(($ac_try" in
44989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44990 *) ac_try_echo=$ac_try;;
44991 esac
44992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44993 (eval "$ac_compile") 2>conftest.er1
44994 ac_status=$?
44995 grep -v '^ *+' conftest.er1 >conftest.err
44996 rm -f conftest.er1
44997 cat conftest.err >&5
44998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44999 (exit $ac_status); } && {
45000 test -z "$ac_c_werror_flag" ||
45001 test ! -s conftest.err
45002 } && test -s conftest.$ac_objext; then
45003 ac_cv_type_locale_t=yes
45004 else
45005 echo "$as_me: failed program was:" >&5
45006 sed 's/^/| /' conftest.$ac_ext >&5
45007
45008 ac_cv_type_locale_t=no
45009 fi
45010
45011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45012 fi
45013 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45014 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45015 if test $ac_cv_type_locale_t = yes; then
45016
45017 cat >>confdefs.h <<_ACEOF
45018 #define HAVE_LOCALE_T 1
45019 _ACEOF
45020
45021
45022 fi
45023
45024 fi
45025
45026 if test "$wxUSE_LOG" = "yes"; then
45027 cat >>confdefs.h <<\_ACEOF
45028 #define wxUSE_LOG 1
45029 _ACEOF
45030
45031
45032 if test "$wxUSE_LOGGUI" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_LOGGUI 1
45035 _ACEOF
45036
45037 fi
45038
45039 if test "$wxUSE_LOGWINDOW" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_LOGWINDOW 1
45042 _ACEOF
45043
45044 fi
45045
45046 if test "$wxUSE_LOGDIALOG" = "yes"; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_LOG_DIALOG 1
45049 _ACEOF
45050
45051 fi
45052
45053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45054 fi
45055
45056 if test "$wxUSE_LONGLONG" = "yes"; then
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_LONGLONG 1
45059 _ACEOF
45060
45061 fi
45062
45063 if test "$wxUSE_GEOMETRY" = "yes"; then
45064 cat >>confdefs.h <<\_ACEOF
45065 #define wxUSE_GEOMETRY 1
45066 _ACEOF
45067
45068 fi
45069
45070 if test "$wxUSE_BASE64" = "yes"; then
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_BASE64 1
45073 _ACEOF
45074
45075 fi
45076
45077 if test "$wxUSE_STREAMS" = "yes" ; then
45078 cat >>confdefs.h <<\_ACEOF
45079 #define wxUSE_STREAMS 1
45080 _ACEOF
45081
45082 fi
45083
45084 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45085 cat >>confdefs.h <<\_ACEOF
45086 #define wxUSE_PRINTF_POS_PARAMS 1
45087 _ACEOF
45088
45089 fi
45090
45091 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_OBJC_UNIQUIFYING 1
45094 _ACEOF
45095
45096 fi
45097
45098
45099 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_CONSOLE_EVENTLOOP 1
45102 _ACEOF
45103
45104
45105 if test "$wxUSE_UNIX" = "yes"; then
45106 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45107 cat >>confdefs.h <<\_ACEOF
45108 #define wxUSE_SELECT_DISPATCHER 1
45109 _ACEOF
45110
45111 fi
45112
45113 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45114
45115 for ac_header in sys/epoll.h
45116 do
45117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45118 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45121 echo $ECHO_N "(cached) $ECHO_C" >&6
45122 else
45123 cat >conftest.$ac_ext <<_ACEOF
45124 /* confdefs.h. */
45125 _ACEOF
45126 cat confdefs.h >>conftest.$ac_ext
45127 cat >>conftest.$ac_ext <<_ACEOF
45128 /* end confdefs.h. */
45129 $ac_includes_default
45130
45131 #include <$ac_header>
45132 _ACEOF
45133 rm -f conftest.$ac_objext
45134 if { (ac_try="$ac_compile"
45135 case "(($ac_try" in
45136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45137 *) ac_try_echo=$ac_try;;
45138 esac
45139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45140 (eval "$ac_compile") 2>conftest.er1
45141 ac_status=$?
45142 grep -v '^ *+' conftest.er1 >conftest.err
45143 rm -f conftest.er1
45144 cat conftest.err >&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } && {
45147 test -z "$ac_c_werror_flag" ||
45148 test ! -s conftest.err
45149 } && test -s conftest.$ac_objext; then
45150 eval "$as_ac_Header=yes"
45151 else
45152 echo "$as_me: failed program was:" >&5
45153 sed 's/^/| /' conftest.$ac_ext >&5
45154
45155 eval "$as_ac_Header=no"
45156 fi
45157
45158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45159 fi
45160 ac_res=`eval echo '${'$as_ac_Header'}'`
45161 { echo "$as_me:$LINENO: result: $ac_res" >&5
45162 echo "${ECHO_T}$ac_res" >&6; }
45163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45164 cat >>confdefs.h <<_ACEOF
45165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45166 _ACEOF
45167
45168 fi
45169
45170 done
45171
45172 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_EPOLL_DISPATCHER 1
45175 _ACEOF
45176
45177 else
45178 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45179 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45180 fi
45181 fi
45182 fi
45183 fi
45184
45185
45186
45187
45188 for ac_func in gettimeofday ftime
45189 do
45190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45194 echo $ECHO_N "(cached) $ECHO_C" >&6
45195 else
45196 cat >conftest.$ac_ext <<_ACEOF
45197 /* confdefs.h. */
45198 _ACEOF
45199 cat confdefs.h >>conftest.$ac_ext
45200 cat >>conftest.$ac_ext <<_ACEOF
45201 /* end confdefs.h. */
45202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45204 #define $ac_func innocuous_$ac_func
45205
45206 /* System header to define __stub macros and hopefully few prototypes,
45207 which can conflict with char $ac_func (); below.
45208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45209 <limits.h> exists even on freestanding compilers. */
45210
45211 #ifdef __STDC__
45212 # include <limits.h>
45213 #else
45214 # include <assert.h>
45215 #endif
45216
45217 #undef $ac_func
45218
45219 /* Override any GCC internal prototype to avoid an error.
45220 Use char because int might match the return type of a GCC
45221 builtin and then its argument prototype would still apply. */
45222 #ifdef __cplusplus
45223 extern "C"
45224 #endif
45225 char $ac_func ();
45226 /* The GNU C library defines this for functions which it implements
45227 to always fail with ENOSYS. Some functions are actually named
45228 something starting with __ and the normal name is an alias. */
45229 #if defined __stub_$ac_func || defined __stub___$ac_func
45230 choke me
45231 #endif
45232
45233 int
45234 main ()
45235 {
45236 return $ac_func ();
45237 ;
45238 return 0;
45239 }
45240 _ACEOF
45241 rm -f conftest.$ac_objext conftest$ac_exeext
45242 if { (ac_try="$ac_link"
45243 case "(($ac_try" in
45244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45245 *) ac_try_echo=$ac_try;;
45246 esac
45247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45248 (eval "$ac_link") 2>conftest.er1
45249 ac_status=$?
45250 grep -v '^ *+' conftest.er1 >conftest.err
45251 rm -f conftest.er1
45252 cat conftest.err >&5
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); } && {
45255 test -z "$ac_c_werror_flag" ||
45256 test ! -s conftest.err
45257 } && test -s conftest$ac_exeext &&
45258 $as_test_x conftest$ac_exeext; then
45259 eval "$as_ac_var=yes"
45260 else
45261 echo "$as_me: failed program was:" >&5
45262 sed 's/^/| /' conftest.$ac_ext >&5
45263
45264 eval "$as_ac_var=no"
45265 fi
45266
45267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45268 conftest$ac_exeext conftest.$ac_ext
45269 fi
45270 ac_res=`eval echo '${'$as_ac_var'}'`
45271 { echo "$as_me:$LINENO: result: $ac_res" >&5
45272 echo "${ECHO_T}$ac_res" >&6; }
45273 if test `eval echo '${'$as_ac_var'}'` = yes; then
45274 cat >>confdefs.h <<_ACEOF
45275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45276 _ACEOF
45277 break
45278 fi
45279 done
45280
45281
45282 if test "$ac_cv_func_gettimeofday" = "yes"; then
45283 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45284 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45285 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45286 echo $ECHO_N "(cached) $ECHO_C" >&6
45287 else
45288
45289 cat >conftest.$ac_ext <<_ACEOF
45290 /* confdefs.h. */
45291 _ACEOF
45292 cat confdefs.h >>conftest.$ac_ext
45293 cat >>conftest.$ac_ext <<_ACEOF
45294 /* end confdefs.h. */
45295
45296 #include <sys/time.h>
45297 #include <unistd.h>
45298
45299 int
45300 main ()
45301 {
45302
45303 struct timeval tv;
45304 gettimeofday(&tv, NULL);
45305
45306 ;
45307 return 0;
45308 }
45309 _ACEOF
45310 rm -f conftest.$ac_objext
45311 if { (ac_try="$ac_compile"
45312 case "(($ac_try" in
45313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45314 *) ac_try_echo=$ac_try;;
45315 esac
45316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45317 (eval "$ac_compile") 2>conftest.er1
45318 ac_status=$?
45319 grep -v '^ *+' conftest.er1 >conftest.err
45320 rm -f conftest.er1
45321 cat conftest.err >&5
45322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45323 (exit $ac_status); } && {
45324 test -z "$ac_c_werror_flag" ||
45325 test ! -s conftest.err
45326 } && test -s conftest.$ac_objext; then
45327 wx_cv_func_gettimeofday_has_2_args=yes
45328 else
45329 echo "$as_me: failed program was:" >&5
45330 sed 's/^/| /' conftest.$ac_ext >&5
45331
45332 cat >conftest.$ac_ext <<_ACEOF
45333 /* confdefs.h. */
45334 _ACEOF
45335 cat confdefs.h >>conftest.$ac_ext
45336 cat >>conftest.$ac_ext <<_ACEOF
45337 /* end confdefs.h. */
45338
45339 #include <sys/time.h>
45340 #include <unistd.h>
45341
45342 int
45343 main ()
45344 {
45345
45346 struct timeval tv;
45347 gettimeofday(&tv);
45348
45349 ;
45350 return 0;
45351 }
45352 _ACEOF
45353 rm -f conftest.$ac_objext
45354 if { (ac_try="$ac_compile"
45355 case "(($ac_try" in
45356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45357 *) ac_try_echo=$ac_try;;
45358 esac
45359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45360 (eval "$ac_compile") 2>conftest.er1
45361 ac_status=$?
45362 grep -v '^ *+' conftest.er1 >conftest.err
45363 rm -f conftest.er1
45364 cat conftest.err >&5
45365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45366 (exit $ac_status); } && {
45367 test -z "$ac_c_werror_flag" ||
45368 test ! -s conftest.err
45369 } && test -s conftest.$ac_objext; then
45370 wx_cv_func_gettimeofday_has_2_args=no
45371 else
45372 echo "$as_me: failed program was:" >&5
45373 sed 's/^/| /' conftest.$ac_ext >&5
45374
45375
45376 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45377 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45378 wx_cv_func_gettimeofday_has_2_args=unknown
45379
45380
45381 fi
45382
45383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45384
45385 fi
45386
45387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45388
45389 fi
45390 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45391 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45392
45393 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define WX_GETTIMEOFDAY_NO_TZ 1
45396 _ACEOF
45397
45398 fi
45399 fi
45400
45401 if test "$wxUSE_DATETIME" = "yes"; then
45402 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45403 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45404 if test "${wx_cv_var_timezone+set}" = set; then
45405 echo $ECHO_N "(cached) $ECHO_C" >&6
45406 else
45407
45408 ac_ext=cpp
45409 ac_cpp='$CXXCPP $CPPFLAGS'
45410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45413
45414 cat >conftest.$ac_ext <<_ACEOF
45415 /* confdefs.h. */
45416 _ACEOF
45417 cat confdefs.h >>conftest.$ac_ext
45418 cat >>conftest.$ac_ext <<_ACEOF
45419 /* end confdefs.h. */
45420
45421 #include <time.h>
45422
45423 int
45424 main ()
45425 {
45426
45427 int tz;
45428 tz = timezone;
45429
45430 ;
45431 return 0;
45432 }
45433 _ACEOF
45434 rm -f conftest.$ac_objext
45435 if { (ac_try="$ac_compile"
45436 case "(($ac_try" in
45437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45438 *) ac_try_echo=$ac_try;;
45439 esac
45440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45441 (eval "$ac_compile") 2>conftest.er1
45442 ac_status=$?
45443 grep -v '^ *+' conftest.er1 >conftest.err
45444 rm -f conftest.er1
45445 cat conftest.err >&5
45446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447 (exit $ac_status); } && {
45448 test -z "$ac_cxx_werror_flag" ||
45449 test ! -s conftest.err
45450 } && test -s conftest.$ac_objext; then
45451
45452 wx_cv_var_timezone=timezone
45453
45454 else
45455 echo "$as_me: failed program was:" >&5
45456 sed 's/^/| /' conftest.$ac_ext >&5
45457
45458
45459 cat >conftest.$ac_ext <<_ACEOF
45460 /* confdefs.h. */
45461 _ACEOF
45462 cat confdefs.h >>conftest.$ac_ext
45463 cat >>conftest.$ac_ext <<_ACEOF
45464 /* end confdefs.h. */
45465
45466 #include <time.h>
45467
45468 int
45469 main ()
45470 {
45471
45472 int tz;
45473 tz = _timezone;
45474
45475 ;
45476 return 0;
45477 }
45478 _ACEOF
45479 rm -f conftest.$ac_objext
45480 if { (ac_try="$ac_compile"
45481 case "(($ac_try" in
45482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45483 *) ac_try_echo=$ac_try;;
45484 esac
45485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45486 (eval "$ac_compile") 2>conftest.er1
45487 ac_status=$?
45488 grep -v '^ *+' conftest.er1 >conftest.err
45489 rm -f conftest.er1
45490 cat conftest.err >&5
45491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45492 (exit $ac_status); } && {
45493 test -z "$ac_cxx_werror_flag" ||
45494 test ! -s conftest.err
45495 } && test -s conftest.$ac_objext; then
45496
45497 wx_cv_var_timezone=_timezone
45498
45499 else
45500 echo "$as_me: failed program was:" >&5
45501 sed 's/^/| /' conftest.$ac_ext >&5
45502
45503
45504 cat >conftest.$ac_ext <<_ACEOF
45505 /* confdefs.h. */
45506 _ACEOF
45507 cat confdefs.h >>conftest.$ac_ext
45508 cat >>conftest.$ac_ext <<_ACEOF
45509 /* end confdefs.h. */
45510
45511 #include <time.h>
45512
45513 int
45514 main ()
45515 {
45516
45517 int tz;
45518 tz = __timezone;
45519
45520 ;
45521 return 0;
45522 }
45523 _ACEOF
45524 rm -f conftest.$ac_objext
45525 if { (ac_try="$ac_compile"
45526 case "(($ac_try" in
45527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45528 *) ac_try_echo=$ac_try;;
45529 esac
45530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45531 (eval "$ac_compile") 2>conftest.er1
45532 ac_status=$?
45533 grep -v '^ *+' conftest.er1 >conftest.err
45534 rm -f conftest.er1
45535 cat conftest.err >&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); } && {
45538 test -z "$ac_cxx_werror_flag" ||
45539 test ! -s conftest.err
45540 } && test -s conftest.$ac_objext; then
45541
45542 wx_cv_var_timezone=__timezone
45543
45544 else
45545 echo "$as_me: failed program was:" >&5
45546 sed 's/^/| /' conftest.$ac_ext >&5
45547
45548
45549 if test "$USE_DOS" = 0 ; then
45550 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45551 echo "$as_me: WARNING: no timezone variable" >&2;}
45552 fi
45553
45554
45555 fi
45556
45557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45558
45559
45560 fi
45561
45562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45563
45564
45565 fi
45566
45567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45568 ac_ext=c
45569 ac_cpp='$CPP $CPPFLAGS'
45570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45573
45574
45575
45576 fi
45577 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45578 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45579
45580 if test "x$wx_cv_var_timezone" != x ; then
45581 cat >>confdefs.h <<_ACEOF
45582 #define WX_TIMEZONE $wx_cv_var_timezone
45583 _ACEOF
45584
45585 fi
45586
45587
45588 for ac_func in localtime
45589 do
45590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45594 echo $ECHO_N "(cached) $ECHO_C" >&6
45595 else
45596 cat >conftest.$ac_ext <<_ACEOF
45597 /* confdefs.h. */
45598 _ACEOF
45599 cat confdefs.h >>conftest.$ac_ext
45600 cat >>conftest.$ac_ext <<_ACEOF
45601 /* end confdefs.h. */
45602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45604 #define $ac_func innocuous_$ac_func
45605
45606 /* System header to define __stub macros and hopefully few prototypes,
45607 which can conflict with char $ac_func (); below.
45608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45609 <limits.h> exists even on freestanding compilers. */
45610
45611 #ifdef __STDC__
45612 # include <limits.h>
45613 #else
45614 # include <assert.h>
45615 #endif
45616
45617 #undef $ac_func
45618
45619 /* Override any GCC internal prototype to avoid an error.
45620 Use char because int might match the return type of a GCC
45621 builtin and then its argument prototype would still apply. */
45622 #ifdef __cplusplus
45623 extern "C"
45624 #endif
45625 char $ac_func ();
45626 /* The GNU C library defines this for functions which it implements
45627 to always fail with ENOSYS. Some functions are actually named
45628 something starting with __ and the normal name is an alias. */
45629 #if defined __stub_$ac_func || defined __stub___$ac_func
45630 choke me
45631 #endif
45632
45633 int
45634 main ()
45635 {
45636 return $ac_func ();
45637 ;
45638 return 0;
45639 }
45640 _ACEOF
45641 rm -f conftest.$ac_objext conftest$ac_exeext
45642 if { (ac_try="$ac_link"
45643 case "(($ac_try" in
45644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45645 *) ac_try_echo=$ac_try;;
45646 esac
45647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45648 (eval "$ac_link") 2>conftest.er1
45649 ac_status=$?
45650 grep -v '^ *+' conftest.er1 >conftest.err
45651 rm -f conftest.er1
45652 cat conftest.err >&5
45653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45654 (exit $ac_status); } && {
45655 test -z "$ac_c_werror_flag" ||
45656 test ! -s conftest.err
45657 } && test -s conftest$ac_exeext &&
45658 $as_test_x conftest$ac_exeext; then
45659 eval "$as_ac_var=yes"
45660 else
45661 echo "$as_me: failed program was:" >&5
45662 sed 's/^/| /' conftest.$ac_ext >&5
45663
45664 eval "$as_ac_var=no"
45665 fi
45666
45667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45668 conftest$ac_exeext conftest.$ac_ext
45669 fi
45670 ac_res=`eval echo '${'$as_ac_var'}'`
45671 { echo "$as_me:$LINENO: result: $ac_res" >&5
45672 echo "${ECHO_T}$ac_res" >&6; }
45673 if test `eval echo '${'$as_ac_var'}'` = yes; then
45674 cat >>confdefs.h <<_ACEOF
45675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45676 _ACEOF
45677
45678 fi
45679 done
45680
45681
45682 if test "$ac_cv_func_localtime" = "yes"; then
45683 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45684 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45685 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45686 echo $ECHO_N "(cached) $ECHO_C" >&6
45687 else
45688
45689 cat >conftest.$ac_ext <<_ACEOF
45690 /* confdefs.h. */
45691 _ACEOF
45692 cat confdefs.h >>conftest.$ac_ext
45693 cat >>conftest.$ac_ext <<_ACEOF
45694 /* end confdefs.h. */
45695
45696 #include <time.h>
45697
45698 int
45699 main ()
45700 {
45701
45702 struct tm tm;
45703 tm.tm_gmtoff++;
45704
45705 ;
45706 return 0;
45707 }
45708 _ACEOF
45709 rm -f conftest.$ac_objext
45710 if { (ac_try="$ac_compile"
45711 case "(($ac_try" in
45712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45713 *) ac_try_echo=$ac_try;;
45714 esac
45715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45716 (eval "$ac_compile") 2>conftest.er1
45717 ac_status=$?
45718 grep -v '^ *+' conftest.er1 >conftest.err
45719 rm -f conftest.er1
45720 cat conftest.err >&5
45721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45722 (exit $ac_status); } && {
45723 test -z "$ac_c_werror_flag" ||
45724 test ! -s conftest.err
45725 } && test -s conftest.$ac_objext; then
45726
45727 wx_cv_struct_tm_has_gmtoff=yes
45728
45729 else
45730 echo "$as_me: failed program was:" >&5
45731 sed 's/^/| /' conftest.$ac_ext >&5
45732
45733 wx_cv_struct_tm_has_gmtoff=no
45734
45735 fi
45736
45737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45738
45739 fi
45740 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45741 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45742 fi
45743
45744 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define WX_GMTOFF_IN_TM 1
45747 _ACEOF
45748
45749 fi
45750
45751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45752 fi
45753
45754
45755 if test "$wxUSE_SOCKETS" = "yes"; then
45756 if test "$wxUSE_MGL" = 1; then
45757 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45758 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45759 wxUSE_SOCKETS="no"
45760 fi
45761 fi
45762
45763 if test "$wxUSE_SOCKETS" = "yes"; then
45764 if test "$TOOLKIT" != "MSW"; then
45765 { echo "$as_me:$LINENO: checking for socket" >&5
45766 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45767 if test "${ac_cv_func_socket+set}" = set; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45769 else
45770 cat >conftest.$ac_ext <<_ACEOF
45771 /* confdefs.h. */
45772 _ACEOF
45773 cat confdefs.h >>conftest.$ac_ext
45774 cat >>conftest.$ac_ext <<_ACEOF
45775 /* end confdefs.h. */
45776 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45778 #define socket innocuous_socket
45779
45780 /* System header to define __stub macros and hopefully few prototypes,
45781 which can conflict with char socket (); below.
45782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45783 <limits.h> exists even on freestanding compilers. */
45784
45785 #ifdef __STDC__
45786 # include <limits.h>
45787 #else
45788 # include <assert.h>
45789 #endif
45790
45791 #undef socket
45792
45793 /* Override any GCC internal prototype to avoid an error.
45794 Use char because int might match the return type of a GCC
45795 builtin and then its argument prototype would still apply. */
45796 #ifdef __cplusplus
45797 extern "C"
45798 #endif
45799 char socket ();
45800 /* The GNU C library defines this for functions which it implements
45801 to always fail with ENOSYS. Some functions are actually named
45802 something starting with __ and the normal name is an alias. */
45803 #if defined __stub_socket || defined __stub___socket
45804 choke me
45805 #endif
45806
45807 int
45808 main ()
45809 {
45810 return socket ();
45811 ;
45812 return 0;
45813 }
45814 _ACEOF
45815 rm -f conftest.$ac_objext conftest$ac_exeext
45816 if { (ac_try="$ac_link"
45817 case "(($ac_try" in
45818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45819 *) ac_try_echo=$ac_try;;
45820 esac
45821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45822 (eval "$ac_link") 2>conftest.er1
45823 ac_status=$?
45824 grep -v '^ *+' conftest.er1 >conftest.err
45825 rm -f conftest.er1
45826 cat conftest.err >&5
45827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45828 (exit $ac_status); } && {
45829 test -z "$ac_c_werror_flag" ||
45830 test ! -s conftest.err
45831 } && test -s conftest$ac_exeext &&
45832 $as_test_x conftest$ac_exeext; then
45833 ac_cv_func_socket=yes
45834 else
45835 echo "$as_me: failed program was:" >&5
45836 sed 's/^/| /' conftest.$ac_ext >&5
45837
45838 ac_cv_func_socket=no
45839 fi
45840
45841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45842 conftest$ac_exeext conftest.$ac_ext
45843 fi
45844 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45845 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45846 if test $ac_cv_func_socket = yes; then
45847 :
45848 else
45849
45850 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45851 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45852 if test "${ac_cv_lib_socket_socket+set}" = set; then
45853 echo $ECHO_N "(cached) $ECHO_C" >&6
45854 else
45855 ac_check_lib_save_LIBS=$LIBS
45856 LIBS="-lsocket $LIBS"
45857 cat >conftest.$ac_ext <<_ACEOF
45858 /* confdefs.h. */
45859 _ACEOF
45860 cat confdefs.h >>conftest.$ac_ext
45861 cat >>conftest.$ac_ext <<_ACEOF
45862 /* end confdefs.h. */
45863
45864 /* Override any GCC internal prototype to avoid an error.
45865 Use char because int might match the return type of a GCC
45866 builtin and then its argument prototype would still apply. */
45867 #ifdef __cplusplus
45868 extern "C"
45869 #endif
45870 char socket ();
45871 int
45872 main ()
45873 {
45874 return socket ();
45875 ;
45876 return 0;
45877 }
45878 _ACEOF
45879 rm -f conftest.$ac_objext conftest$ac_exeext
45880 if { (ac_try="$ac_link"
45881 case "(($ac_try" in
45882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45883 *) ac_try_echo=$ac_try;;
45884 esac
45885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45886 (eval "$ac_link") 2>conftest.er1
45887 ac_status=$?
45888 grep -v '^ *+' conftest.er1 >conftest.err
45889 rm -f conftest.er1
45890 cat conftest.err >&5
45891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45892 (exit $ac_status); } && {
45893 test -z "$ac_c_werror_flag" ||
45894 test ! -s conftest.err
45895 } && test -s conftest$ac_exeext &&
45896 $as_test_x conftest$ac_exeext; then
45897 ac_cv_lib_socket_socket=yes
45898 else
45899 echo "$as_me: failed program was:" >&5
45900 sed 's/^/| /' conftest.$ac_ext >&5
45901
45902 ac_cv_lib_socket_socket=no
45903 fi
45904
45905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45906 conftest$ac_exeext conftest.$ac_ext
45907 LIBS=$ac_check_lib_save_LIBS
45908 fi
45909 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45910 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45911 if test $ac_cv_lib_socket_socket = yes; then
45912 if test "$INET_LINK" != " -lsocket"; then
45913 INET_LINK="$INET_LINK -lsocket"
45914 fi
45915 else
45916
45917 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45918 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45919 wxUSE_SOCKETS=no
45920
45921
45922 fi
45923
45924
45925
45926 fi
45927
45928 fi
45929 fi
45930
45931 if test "$wxUSE_SOCKETS" = "yes" ; then
45932 if test "$TOOLKIT" != "MSW"; then
45933 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45934 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45935 if test "${wx_cv_type_getsockname3+set}" = set; then
45936 echo $ECHO_N "(cached) $ECHO_C" >&6
45937 else
45938
45939 ac_ext=cpp
45940 ac_cpp='$CXXCPP $CPPFLAGS'
45941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45944
45945 cat >conftest.$ac_ext <<_ACEOF
45946 /* confdefs.h. */
45947 _ACEOF
45948 cat confdefs.h >>conftest.$ac_ext
45949 cat >>conftest.$ac_ext <<_ACEOF
45950 /* end confdefs.h. */
45951
45952 #include <sys/types.h>
45953 #include <sys/socket.h>
45954
45955 int
45956 main ()
45957 {
45958
45959 socklen_t len;
45960 getsockname(0, 0, &len);
45961
45962 ;
45963 return 0;
45964 }
45965 _ACEOF
45966 rm -f conftest.$ac_objext
45967 if { (ac_try="$ac_compile"
45968 case "(($ac_try" in
45969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45970 *) ac_try_echo=$ac_try;;
45971 esac
45972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45973 (eval "$ac_compile") 2>conftest.er1
45974 ac_status=$?
45975 grep -v '^ *+' conftest.er1 >conftest.err
45976 rm -f conftest.er1
45977 cat conftest.err >&5
45978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45979 (exit $ac_status); } && {
45980 test -z "$ac_cxx_werror_flag" ||
45981 test ! -s conftest.err
45982 } && test -s conftest.$ac_objext; then
45983 wx_cv_type_getsockname3=socklen_t
45984 else
45985 echo "$as_me: failed program was:" >&5
45986 sed 's/^/| /' conftest.$ac_ext >&5
45987
45988
45989 CFLAGS_OLD="$CFLAGS"
45990 if test "$GCC" = yes ; then
45991 CFLAGS="-Werror $CFLAGS"
45992 fi
45993
45994 cat >conftest.$ac_ext <<_ACEOF
45995 /* confdefs.h. */
45996 _ACEOF
45997 cat confdefs.h >>conftest.$ac_ext
45998 cat >>conftest.$ac_ext <<_ACEOF
45999 /* end confdefs.h. */
46000
46001 #include <sys/types.h>
46002 #include <sys/socket.h>
46003
46004 int
46005 main ()
46006 {
46007
46008 size_t len;
46009 getsockname(0, 0, &len);
46010
46011 ;
46012 return 0;
46013 }
46014 _ACEOF
46015 rm -f conftest.$ac_objext
46016 if { (ac_try="$ac_compile"
46017 case "(($ac_try" in
46018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46019 *) ac_try_echo=$ac_try;;
46020 esac
46021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46022 (eval "$ac_compile") 2>conftest.er1
46023 ac_status=$?
46024 grep -v '^ *+' conftest.er1 >conftest.err
46025 rm -f conftest.er1
46026 cat conftest.err >&5
46027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46028 (exit $ac_status); } && {
46029 test -z "$ac_cxx_werror_flag" ||
46030 test ! -s conftest.err
46031 } && test -s conftest.$ac_objext; then
46032 wx_cv_type_getsockname3=size_t
46033 else
46034 echo "$as_me: failed program was:" >&5
46035 sed 's/^/| /' conftest.$ac_ext >&5
46036
46037 cat >conftest.$ac_ext <<_ACEOF
46038 /* confdefs.h. */
46039 _ACEOF
46040 cat confdefs.h >>conftest.$ac_ext
46041 cat >>conftest.$ac_ext <<_ACEOF
46042 /* end confdefs.h. */
46043
46044 #include <sys/types.h>
46045 #include <sys/socket.h>
46046
46047 int
46048 main ()
46049 {
46050
46051 int len;
46052 getsockname(0, 0, &len);
46053
46054 ;
46055 return 0;
46056 }
46057 _ACEOF
46058 rm -f conftest.$ac_objext
46059 if { (ac_try="$ac_compile"
46060 case "(($ac_try" in
46061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46062 *) ac_try_echo=$ac_try;;
46063 esac
46064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46065 (eval "$ac_compile") 2>conftest.er1
46066 ac_status=$?
46067 grep -v '^ *+' conftest.er1 >conftest.err
46068 rm -f conftest.er1
46069 cat conftest.err >&5
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); } && {
46072 test -z "$ac_cxx_werror_flag" ||
46073 test ! -s conftest.err
46074 } && test -s conftest.$ac_objext; then
46075 wx_cv_type_getsockname3=int
46076 else
46077 echo "$as_me: failed program was:" >&5
46078 sed 's/^/| /' conftest.$ac_ext >&5
46079
46080 wx_cv_type_getsockname3=unknown
46081
46082 fi
46083
46084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46085
46086 fi
46087
46088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46089
46090 CFLAGS="$CFLAGS_OLD"
46091
46092
46093 fi
46094
46095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46096 ac_ext=c
46097 ac_cpp='$CPP $CPPFLAGS'
46098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46101
46102
46103 fi
46104 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46105 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46106
46107 if test "$wx_cv_type_getsockname3" = "unknown"; then
46108 wxUSE_SOCKETS=no
46109 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46110 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46111 else
46112 cat >>confdefs.h <<_ACEOF
46113 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46114 _ACEOF
46115
46116 fi
46117 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46118 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46119 if test "${wx_cv_type_getsockopt5+set}" = set; then
46120 echo $ECHO_N "(cached) $ECHO_C" >&6
46121 else
46122
46123 ac_ext=cpp
46124 ac_cpp='$CXXCPP $CPPFLAGS'
46125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46128
46129 cat >conftest.$ac_ext <<_ACEOF
46130 /* confdefs.h. */
46131 _ACEOF
46132 cat confdefs.h >>conftest.$ac_ext
46133 cat >>conftest.$ac_ext <<_ACEOF
46134 /* end confdefs.h. */
46135
46136 #include <sys/types.h>
46137 #include <sys/socket.h>
46138
46139 int
46140 main ()
46141 {
46142
46143 socklen_t len;
46144 getsockopt(0, 0, 0, 0, &len);
46145
46146 ;
46147 return 0;
46148 }
46149 _ACEOF
46150 rm -f conftest.$ac_objext
46151 if { (ac_try="$ac_compile"
46152 case "(($ac_try" in
46153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46154 *) ac_try_echo=$ac_try;;
46155 esac
46156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46157 (eval "$ac_compile") 2>conftest.er1
46158 ac_status=$?
46159 grep -v '^ *+' conftest.er1 >conftest.err
46160 rm -f conftest.er1
46161 cat conftest.err >&5
46162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46163 (exit $ac_status); } && {
46164 test -z "$ac_cxx_werror_flag" ||
46165 test ! -s conftest.err
46166 } && test -s conftest.$ac_objext; then
46167 wx_cv_type_getsockopt5=socklen_t
46168 else
46169 echo "$as_me: failed program was:" >&5
46170 sed 's/^/| /' conftest.$ac_ext >&5
46171
46172
46173 cat >conftest.$ac_ext <<_ACEOF
46174 /* confdefs.h. */
46175 _ACEOF
46176 cat confdefs.h >>conftest.$ac_ext
46177 cat >>conftest.$ac_ext <<_ACEOF
46178 /* end confdefs.h. */
46179
46180 #include <sys/types.h>
46181 #include <sys/socket.h>
46182
46183 int
46184 main ()
46185 {
46186
46187 size_t len;
46188 getsockopt(0, 0, 0, 0, &len);
46189
46190 ;
46191 return 0;
46192 }
46193 _ACEOF
46194 rm -f conftest.$ac_objext
46195 if { (ac_try="$ac_compile"
46196 case "(($ac_try" in
46197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46198 *) ac_try_echo=$ac_try;;
46199 esac
46200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46201 (eval "$ac_compile") 2>conftest.er1
46202 ac_status=$?
46203 grep -v '^ *+' conftest.er1 >conftest.err
46204 rm -f conftest.er1
46205 cat conftest.err >&5
46206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46207 (exit $ac_status); } && {
46208 test -z "$ac_cxx_werror_flag" ||
46209 test ! -s conftest.err
46210 } && test -s conftest.$ac_objext; then
46211 wx_cv_type_getsockopt5=size_t
46212 else
46213 echo "$as_me: failed program was:" >&5
46214 sed 's/^/| /' conftest.$ac_ext >&5
46215
46216 cat >conftest.$ac_ext <<_ACEOF
46217 /* confdefs.h. */
46218 _ACEOF
46219 cat confdefs.h >>conftest.$ac_ext
46220 cat >>conftest.$ac_ext <<_ACEOF
46221 /* end confdefs.h. */
46222
46223 #include <sys/types.h>
46224 #include <sys/socket.h>
46225
46226 int
46227 main ()
46228 {
46229
46230 int len;
46231 getsockopt(0, 0, 0, 0, &len);
46232
46233 ;
46234 return 0;
46235 }
46236 _ACEOF
46237 rm -f conftest.$ac_objext
46238 if { (ac_try="$ac_compile"
46239 case "(($ac_try" in
46240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46241 *) ac_try_echo=$ac_try;;
46242 esac
46243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46244 (eval "$ac_compile") 2>conftest.er1
46245 ac_status=$?
46246 grep -v '^ *+' conftest.er1 >conftest.err
46247 rm -f conftest.er1
46248 cat conftest.err >&5
46249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46250 (exit $ac_status); } && {
46251 test -z "$ac_cxx_werror_flag" ||
46252 test ! -s conftest.err
46253 } && test -s conftest.$ac_objext; then
46254 wx_cv_type_getsockopt5=int
46255 else
46256 echo "$as_me: failed program was:" >&5
46257 sed 's/^/| /' conftest.$ac_ext >&5
46258
46259 wx_cv_type_getsockopt5=unknown
46260
46261 fi
46262
46263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46264
46265 fi
46266
46267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46268
46269
46270 fi
46271
46272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46273 ac_ext=c
46274 ac_cpp='$CPP $CPPFLAGS'
46275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46278
46279
46280 fi
46281 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46282 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46283
46284 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46285 wxUSE_SOCKETS=no
46286 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46287 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46288 else
46289 cat >>confdefs.h <<_ACEOF
46290 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46291 _ACEOF
46292
46293 fi
46294 fi
46295 fi
46296
46297 if test "$wxUSE_SOCKETS" = "yes" ; then
46298 if test "$wxUSE_IPV6" = "yes"; then
46299 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46300 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46301 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46302 echo $ECHO_N "(cached) $ECHO_C" >&6
46303 else
46304
46305 cat >conftest.$ac_ext <<_ACEOF
46306 /* confdefs.h. */
46307 _ACEOF
46308 cat confdefs.h >>conftest.$ac_ext
46309 cat >>conftest.$ac_ext <<_ACEOF
46310 /* end confdefs.h. */
46311
46312 #include <sys/types.h>
46313 #include <sys/socket.h>
46314 #include <netinet/in.h>
46315
46316 int
46317 main ()
46318 {
46319
46320 struct sockaddr_in6 sa6;
46321
46322 ;
46323 return 0;
46324 }
46325 _ACEOF
46326 rm -f conftest.$ac_objext
46327 if { (ac_try="$ac_compile"
46328 case "(($ac_try" in
46329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46330 *) ac_try_echo=$ac_try;;
46331 esac
46332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46333 (eval "$ac_compile") 2>conftest.er1
46334 ac_status=$?
46335 grep -v '^ *+' conftest.er1 >conftest.err
46336 rm -f conftest.er1
46337 cat conftest.err >&5
46338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46339 (exit $ac_status); } && {
46340 test -z "$ac_c_werror_flag" ||
46341 test ! -s conftest.err
46342 } && test -s conftest.$ac_objext; then
46343 wx_cv_type_sockaddr_in6=yes
46344 else
46345 echo "$as_me: failed program was:" >&5
46346 sed 's/^/| /' conftest.$ac_ext >&5
46347
46348 wx_cv_type_sockaddr_in6=no
46349
46350 fi
46351
46352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46353
46354
46355 fi
46356 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46357 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46358
46359 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_IPV6 1
46362 _ACEOF
46363
46364 else
46365 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46366 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46367 fi
46368 fi
46369
46370 cat >>confdefs.h <<\_ACEOF
46371 #define wxUSE_SOCKETS 1
46372 _ACEOF
46373
46374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46375 fi
46376
46377 if test "$wxUSE_PROTOCOL" = "yes"; then
46378 if test "$wxUSE_SOCKETS" != "yes"; then
46379 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46380 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46381 wxUSE_PROTOCOL=no
46382 fi
46383 fi
46384
46385 if test "$wxUSE_PROTOCOL" = "yes"; then
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_PROTOCOL 1
46388 _ACEOF
46389
46390
46391 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_PROTOCOL_HTTP 1
46394 _ACEOF
46395
46396 fi
46397 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_PROTOCOL_FTP 1
46400 _ACEOF
46401
46402 fi
46403 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_PROTOCOL_FILE 1
46406 _ACEOF
46407
46408 fi
46409 else
46410 if test "$wxUSE_FS_INET" = "yes"; then
46411 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46412 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46413 wxUSE_FS_INET="no"
46414 fi
46415 fi
46416
46417 if test "$wxUSE_URL" = "yes"; then
46418 if test "$wxUSE_PROTOCOL" != "yes"; then
46419 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46420 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46421 wxUSE_URL=no
46422 fi
46423 if test "$wxUSE_URL" = "yes"; then
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_URL 1
46426 _ACEOF
46427
46428 fi
46429 fi
46430
46431 if test "$wxUSE_VARIANT" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_VARIANT 1
46434 _ACEOF
46435
46436 fi
46437
46438 if test "$wxUSE_FS_INET" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_FS_INET 1
46441 _ACEOF
46442
46443 fi
46444
46445
46446 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46447 wxUSE_JOYSTICK=no
46448
46449 if test "$TOOLKIT" = "MSW"; then
46450 wxUSE_JOYSTICK=yes
46451
46452 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46453 if test "$USE_DARWIN" = 1; then
46454 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46455 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46456 ac_ext=cpp
46457 ac_cpp='$CXXCPP $CPPFLAGS'
46458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46461
46462 cat >conftest.$ac_ext <<_ACEOF
46463 /* confdefs.h. */
46464 _ACEOF
46465 cat confdefs.h >>conftest.$ac_ext
46466 cat >>conftest.$ac_ext <<_ACEOF
46467 /* end confdefs.h. */
46468 #include <IOKit/hid/IOHIDLib.h>
46469 int
46470 main ()
46471 {
46472 IOHIDQueueInterface *qi = NULL;
46473 IOHIDCallbackFunction cb = NULL;
46474 qi->setEventCallout(NULL, cb, NULL, NULL);
46475 ;
46476 return 0;
46477 }
46478 _ACEOF
46479 rm -f conftest.$ac_objext
46480 if { (ac_try="$ac_compile"
46481 case "(($ac_try" in
46482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46483 *) ac_try_echo=$ac_try;;
46484 esac
46485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46486 (eval "$ac_compile") 2>conftest.er1
46487 ac_status=$?
46488 grep -v '^ *+' conftest.er1 >conftest.err
46489 rm -f conftest.er1
46490 cat conftest.err >&5
46491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46492 (exit $ac_status); } && {
46493 test -z "$ac_cxx_werror_flag" ||
46494 test ! -s conftest.err
46495 } && test -s conftest.$ac_objext; then
46496 wxUSE_JOYSTICK=yes
46497
46498 else
46499 echo "$as_me: failed program was:" >&5
46500 sed 's/^/| /' conftest.$ac_ext >&5
46501
46502
46503 fi
46504
46505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46506 ac_ext=c
46507 ac_cpp='$CPP $CPPFLAGS'
46508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46511
46512 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46513 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46514 fi
46515
46516 else
46517 if test "$wxUSE_MGL" != 1; then
46518
46519 for ac_header in linux/joystick.h
46520 do
46521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46522 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46525 echo $ECHO_N "(cached) $ECHO_C" >&6
46526 else
46527 cat >conftest.$ac_ext <<_ACEOF
46528 /* confdefs.h. */
46529 _ACEOF
46530 cat confdefs.h >>conftest.$ac_ext
46531 cat >>conftest.$ac_ext <<_ACEOF
46532 /* end confdefs.h. */
46533 $ac_includes_default
46534
46535 #include <$ac_header>
46536 _ACEOF
46537 rm -f conftest.$ac_objext
46538 if { (ac_try="$ac_compile"
46539 case "(($ac_try" in
46540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46541 *) ac_try_echo=$ac_try;;
46542 esac
46543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46544 (eval "$ac_compile") 2>conftest.er1
46545 ac_status=$?
46546 grep -v '^ *+' conftest.er1 >conftest.err
46547 rm -f conftest.er1
46548 cat conftest.err >&5
46549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46550 (exit $ac_status); } && {
46551 test -z "$ac_c_werror_flag" ||
46552 test ! -s conftest.err
46553 } && test -s conftest.$ac_objext; then
46554 eval "$as_ac_Header=yes"
46555 else
46556 echo "$as_me: failed program was:" >&5
46557 sed 's/^/| /' conftest.$ac_ext >&5
46558
46559 eval "$as_ac_Header=no"
46560 fi
46561
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46563 fi
46564 ac_res=`eval echo '${'$as_ac_Header'}'`
46565 { echo "$as_me:$LINENO: result: $ac_res" >&5
46566 echo "${ECHO_T}$ac_res" >&6; }
46567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46568 cat >>confdefs.h <<_ACEOF
46569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46570 _ACEOF
46571 wxUSE_JOYSTICK=yes
46572 fi
46573
46574 done
46575
46576 fi
46577 fi
46578
46579 if test "$wxUSE_JOYSTICK" = "yes"; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_JOYSTICK 1
46582 _ACEOF
46583
46584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46585 else
46586 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46587 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46588 fi
46589 fi
46590
46591
46592
46593 if test "$wxUSE_FONTENUM" = "yes" ; then
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_FONTENUM 1
46596 _ACEOF
46597
46598 fi
46599
46600 if test "$wxUSE_FONTMAP" = "yes" ; then
46601 cat >>confdefs.h <<\_ACEOF
46602 #define wxUSE_FONTMAP 1
46603 _ACEOF
46604
46605 fi
46606
46607 if test "$wxUSE_UNICODE" = "yes" ; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_UNICODE 1
46610 _ACEOF
46611
46612
46613 if test "$USE_WIN32" != 1; then
46614 wxUSE_UNICODE_MSLU=no
46615 fi
46616
46617 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46618 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46619 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46620 if test "${ac_cv_lib_unicows_main+set}" = set; then
46621 echo $ECHO_N "(cached) $ECHO_C" >&6
46622 else
46623 ac_check_lib_save_LIBS=$LIBS
46624 LIBS="-lunicows $LIBS"
46625 cat >conftest.$ac_ext <<_ACEOF
46626 /* confdefs.h. */
46627 _ACEOF
46628 cat confdefs.h >>conftest.$ac_ext
46629 cat >>conftest.$ac_ext <<_ACEOF
46630 /* end confdefs.h. */
46631
46632
46633 int
46634 main ()
46635 {
46636 return main ();
46637 ;
46638 return 0;
46639 }
46640 _ACEOF
46641 rm -f conftest.$ac_objext conftest$ac_exeext
46642 if { (ac_try="$ac_link"
46643 case "(($ac_try" in
46644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46645 *) ac_try_echo=$ac_try;;
46646 esac
46647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46648 (eval "$ac_link") 2>conftest.er1
46649 ac_status=$?
46650 grep -v '^ *+' conftest.er1 >conftest.err
46651 rm -f conftest.er1
46652 cat conftest.err >&5
46653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46654 (exit $ac_status); } && {
46655 test -z "$ac_c_werror_flag" ||
46656 test ! -s conftest.err
46657 } && test -s conftest$ac_exeext &&
46658 $as_test_x conftest$ac_exeext; then
46659 ac_cv_lib_unicows_main=yes
46660 else
46661 echo "$as_me: failed program was:" >&5
46662 sed 's/^/| /' conftest.$ac_ext >&5
46663
46664 ac_cv_lib_unicows_main=no
46665 fi
46666
46667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46668 conftest$ac_exeext conftest.$ac_ext
46669 LIBS=$ac_check_lib_save_LIBS
46670 fi
46671 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46672 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46673 if test $ac_cv_lib_unicows_main = yes; then
46674
46675 cat >>confdefs.h <<\_ACEOF
46676 #define wxUSE_UNICODE_MSLU 1
46677 _ACEOF
46678
46679
46680 else
46681
46682 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46683 Applications will only run on Windows NT/2000/XP!" >&5
46684 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46685 Applications will only run on Windows NT/2000/XP!" >&2;}
46686 wxUSE_UNICODE_MSLU=no
46687
46688 fi
46689
46690 fi
46691 fi
46692
46693 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46694 cat >>confdefs.h <<\_ACEOF
46695 #define wxUSE_UNICODE_UTF8 1
46696 _ACEOF
46697
46698
46699 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_UTF8_LOCALE_ONLY 1
46702 _ACEOF
46703
46704 fi
46705 fi
46706
46707
46708 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46709 cat >>confdefs.h <<\_ACEOF
46710 #define wxUSE_CONSTRAINTS 1
46711 _ACEOF
46712
46713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46714 fi
46715
46716 if test "$wxUSE_MDI" = "yes"; then
46717 cat >>confdefs.h <<\_ACEOF
46718 #define wxUSE_MDI 1
46719 _ACEOF
46720
46721
46722 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_MDI_ARCHITECTURE 1
46725 _ACEOF
46726
46727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46728 fi
46729 fi
46730
46731 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46732 cat >>confdefs.h <<\_ACEOF
46733 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46734 _ACEOF
46735
46736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46737 fi
46738
46739 if test "$wxUSE_HELP" = "yes"; then
46740 cat >>confdefs.h <<\_ACEOF
46741 #define wxUSE_HELP 1
46742 _ACEOF
46743
46744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46745
46746 if test "$wxUSE_MSW" = 1; then
46747 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46748 cat >>confdefs.h <<\_ACEOF
46749 #define wxUSE_MS_HTML_HELP 1
46750 _ACEOF
46751
46752 fi
46753 fi
46754
46755 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46756 if test "$wxUSE_HTML" = "yes"; then
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_WXHTML_HELP 1
46759 _ACEOF
46760
46761 else
46762 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46763 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46764 wxUSE_WXHTML_HELP=no
46765 fi
46766 fi
46767 fi
46768
46769 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46770 cat >>confdefs.h <<\_ACEOF
46771 #define wxUSE_PRINTING_ARCHITECTURE 1
46772 _ACEOF
46773
46774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46775 fi
46776
46777 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46778 cat >>confdefs.h <<\_ACEOF
46779 #define wxUSE_POSTSCRIPT 1
46780 _ACEOF
46781
46782 fi
46783
46784 cat >>confdefs.h <<\_ACEOF
46785 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46786 _ACEOF
46787
46788
46789 if test "$wxUSE_SVG" = "yes"; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_SVG 1
46792 _ACEOF
46793
46794 fi
46795
46796
46797 if test "$wxUSE_METAFILE" = "yes"; then
46798 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46799 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46800 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46801 wxUSE_METAFILE=no
46802 fi
46803 fi
46804
46805
46806 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46807 -o "$wxUSE_CLIPBOARD" = "yes" \
46808 -o "$wxUSE_OLE" = "yes" \
46809 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46810 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46811 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46812 if test "${ac_cv_header_ole2_h+set}" = set; then
46813 echo $ECHO_N "(cached) $ECHO_C" >&6
46814 else
46815 cat >conftest.$ac_ext <<_ACEOF
46816 /* confdefs.h. */
46817 _ACEOF
46818 cat confdefs.h >>conftest.$ac_ext
46819 cat >>conftest.$ac_ext <<_ACEOF
46820 /* end confdefs.h. */
46821
46822
46823 #include <ole2.h>
46824 _ACEOF
46825 rm -f conftest.$ac_objext
46826 if { (ac_try="$ac_compile"
46827 case "(($ac_try" in
46828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46829 *) ac_try_echo=$ac_try;;
46830 esac
46831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46832 (eval "$ac_compile") 2>conftest.er1
46833 ac_status=$?
46834 grep -v '^ *+' conftest.er1 >conftest.err
46835 rm -f conftest.er1
46836 cat conftest.err >&5
46837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46838 (exit $ac_status); } && {
46839 test -z "$ac_c_werror_flag" ||
46840 test ! -s conftest.err
46841 } && test -s conftest.$ac_objext; then
46842 ac_cv_header_ole2_h=yes
46843 else
46844 echo "$as_me: failed program was:" >&5
46845 sed 's/^/| /' conftest.$ac_ext >&5
46846
46847 ac_cv_header_ole2_h=no
46848 fi
46849
46850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46851 fi
46852 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46853 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46854
46855
46856
46857 if test "$ac_cv_header_ole2_h" = "yes" ; then
46858 if test "$GCC" = yes ; then
46859 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46860 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46861 cat >conftest.$ac_ext <<_ACEOF
46862 /* confdefs.h. */
46863 _ACEOF
46864 cat confdefs.h >>conftest.$ac_ext
46865 cat >>conftest.$ac_ext <<_ACEOF
46866 /* end confdefs.h. */
46867 #include <windows.h>
46868 #include <ole2.h>
46869 int
46870 main ()
46871 {
46872
46873 ;
46874 return 0;
46875 }
46876 _ACEOF
46877 rm -f conftest.$ac_objext
46878 if { (ac_try="$ac_compile"
46879 case "(($ac_try" in
46880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46881 *) ac_try_echo=$ac_try;;
46882 esac
46883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46884 (eval "$ac_compile") 2>conftest.er1
46885 ac_status=$?
46886 grep -v '^ *+' conftest.er1 >conftest.err
46887 rm -f conftest.er1
46888 cat conftest.err >&5
46889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46890 (exit $ac_status); } && {
46891 test -z "$ac_c_werror_flag" ||
46892 test ! -s conftest.err
46893 } && test -s conftest.$ac_objext; then
46894 { echo "$as_me:$LINENO: result: no" >&5
46895 echo "${ECHO_T}no" >&6; }
46896 else
46897 echo "$as_me: failed program was:" >&5
46898 sed 's/^/| /' conftest.$ac_ext >&5
46899
46900 { echo "$as_me:$LINENO: result: yes" >&5
46901 echo "${ECHO_T}yes" >&6; }
46902 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46903 fi
46904
46905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46906 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46907 if test "$wxUSE_OLE" = "yes" ; then
46908 cat >>confdefs.h <<\_ACEOF
46909 #define wxUSE_OLE 1
46910 _ACEOF
46911
46912 cat >>confdefs.h <<\_ACEOF
46913 #define wxUSE_OLE_AUTOMATION 1
46914 _ACEOF
46915
46916 cat >>confdefs.h <<\_ACEOF
46917 #define wxUSE_ACTIVEX 1
46918 _ACEOF
46919
46920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46921 fi
46922 fi
46923
46924 if test "$wxUSE_DATAOBJ" = "yes" ; then
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_DATAOBJ 1
46927 _ACEOF
46928
46929 fi
46930 else
46931 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46932 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46933
46934 wxUSE_CLIPBOARD=no
46935 wxUSE_DRAG_AND_DROP=no
46936 wxUSE_DATAOBJ=no
46937 wxUSE_OLE=no
46938 fi
46939
46940 if test "$wxUSE_METAFILE" = "yes"; then
46941 cat >>confdefs.h <<\_ACEOF
46942 #define wxUSE_METAFILE 1
46943 _ACEOF
46944
46945
46946 cat >>confdefs.h <<\_ACEOF
46947 #define wxUSE_ENH_METAFILE 1
46948 _ACEOF
46949
46950 fi
46951 fi
46952
46953 if test "$wxUSE_IPC" = "yes"; then
46954 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46955 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46956 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46957 wxUSE_IPC=no
46958 fi
46959
46960 if test "$wxUSE_IPC" = "yes"; then
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_IPC 1
46963 _ACEOF
46964
46965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46966 fi
46967 fi
46968
46969 if test "$wxUSE_DATAOBJ" = "yes"; then
46970 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46971 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46972 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46973 wxUSE_DATAOBJ=no
46974 else
46975 cat >>confdefs.h <<\_ACEOF
46976 #define wxUSE_DATAOBJ 1
46977 _ACEOF
46978
46979 fi
46980 else
46981 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46982 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46983 wxUSE_CLIPBOARD=no
46984 wxUSE_DRAG_AND_DROP=no
46985 fi
46986
46987 if test "$wxUSE_CLIPBOARD" = "yes"; then
46988 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46989 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46990 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46991 wxUSE_CLIPBOARD=no
46992 fi
46993
46994 if test "$wxUSE_CLIPBOARD" = "yes"; then
46995 cat >>confdefs.h <<\_ACEOF
46996 #define wxUSE_CLIPBOARD 1
46997 _ACEOF
46998
46999 fi
47000 fi
47001
47002 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47003 if test "$wxUSE_GTK" = 1; then
47004 if test "$WXGTK12" != 1; then
47005 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47006 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47007 wxUSE_DRAG_AND_DROP=no
47008 fi
47009 fi
47010
47011 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47012 "$wxUSE_DFB" = 1; then
47013 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47014 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47015 wxUSE_DRAG_AND_DROP=no
47016 fi
47017
47018 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47019 cat >>confdefs.h <<\_ACEOF
47020 #define wxUSE_DRAG_AND_DROP 1
47021 _ACEOF
47022
47023 fi
47024
47025 fi
47026
47027 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47029 fi
47030
47031 if test "$wxUSE_CLIPBOARD" = "yes"; then
47032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47033 fi
47034
47035 if test "$wxUSE_SPLINES" = "yes" ; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_SPLINES 1
47038 _ACEOF
47039
47040 fi
47041
47042 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_MOUSEWHEEL 1
47045 _ACEOF
47046
47047 fi
47048
47049 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_UIACTIONSIMULATOR 1
47052 _ACEOF
47053
47054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47055 fi
47056
47057
47058 USES_CONTROLS=0
47059 if test "$wxUSE_CONTROLS" = "yes"; then
47060 USES_CONTROLS=1
47061 fi
47062
47063 if test "$wxUSE_MARKUP" = "yes"; then
47064 cat >>confdefs.h <<\_ACEOF
47065 #define wxUSE_MARKUP 1
47066 _ACEOF
47067
47068 fi
47069
47070 if test "$wxUSE_ACCEL" = "yes"; then
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_ACCEL 1
47073 _ACEOF
47074
47075 USES_CONTROLS=1
47076 fi
47077
47078 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47079 cat >>confdefs.h <<\_ACEOF
47080 #define wxUSE_ANIMATIONCTRL 1
47081 _ACEOF
47082
47083 USES_CONTROLS=1
47084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47085 fi
47086
47087 if test "$wxUSE_BUTTON" = "yes"; then
47088 cat >>confdefs.h <<\_ACEOF
47089 #define wxUSE_BUTTON 1
47090 _ACEOF
47091
47092 USES_CONTROLS=1
47093 fi
47094
47095 if test "$wxUSE_BMPBUTTON" = "yes"; then
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_BMPBUTTON 1
47098 _ACEOF
47099
47100 USES_CONTROLS=1
47101 fi
47102
47103 if test "$wxUSE_CALCTRL" = "yes"; then
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_CALENDARCTRL 1
47106 _ACEOF
47107
47108 USES_CONTROLS=1
47109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47110 fi
47111
47112 if test "$wxUSE_CARET" = "yes"; then
47113 cat >>confdefs.h <<\_ACEOF
47114 #define wxUSE_CARET 1
47115 _ACEOF
47116
47117 USES_CONTROLS=1
47118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47119 fi
47120
47121 if test "$wxUSE_COLLPANE" = "yes"; then
47122 cat >>confdefs.h <<\_ACEOF
47123 #define wxUSE_COLLPANE 1
47124 _ACEOF
47125
47126 USES_CONTROLS=1
47127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47128 fi
47129
47130 if test "$wxUSE_COMBOBOX" = "yes"; then
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_COMBOBOX 1
47133 _ACEOF
47134
47135 USES_CONTROLS=1
47136 fi
47137
47138 if test "$wxUSE_COMBOCTRL" = "yes"; then
47139 cat >>confdefs.h <<\_ACEOF
47140 #define wxUSE_COMBOCTRL 1
47141 _ACEOF
47142
47143 USES_CONTROLS=1
47144 fi
47145
47146 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47147 cat >>confdefs.h <<\_ACEOF
47148 #define wxUSE_COMMANDLINKBUTTON 1
47149 _ACEOF
47150
47151 USES_CONTROLS=1
47152 fi
47153
47154 if test "$wxUSE_CHOICE" = "yes"; then
47155 cat >>confdefs.h <<\_ACEOF
47156 #define wxUSE_CHOICE 1
47157 _ACEOF
47158
47159 USES_CONTROLS=1
47160 fi
47161
47162 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47163 cat >>confdefs.h <<\_ACEOF
47164 #define wxUSE_CHOICEBOOK 1
47165 _ACEOF
47166
47167 USES_CONTROLS=1
47168 fi
47169
47170 if test "$wxUSE_CHECKBOX" = "yes"; then
47171 cat >>confdefs.h <<\_ACEOF
47172 #define wxUSE_CHECKBOX 1
47173 _ACEOF
47174
47175 USES_CONTROLS=1
47176 fi
47177
47178 if test "$wxUSE_CHECKLST" = "yes"; then
47179 cat >>confdefs.h <<\_ACEOF
47180 #define wxUSE_CHECKLISTBOX 1
47181 _ACEOF
47182
47183 USES_CONTROLS=1
47184 fi
47185
47186 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47187 cat >>confdefs.h <<\_ACEOF
47188 #define wxUSE_COLOURPICKERCTRL 1
47189 _ACEOF
47190
47191 USES_CONTROLS=1
47192 fi
47193
47194 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_DATEPICKCTRL 1
47197 _ACEOF
47198
47199 USES_CONTROLS=1
47200 fi
47201
47202 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47203 cat >>confdefs.h <<\_ACEOF
47204 #define wxUSE_DIRPICKERCTRL 1
47205 _ACEOF
47206
47207 USES_CONTROLS=1
47208 fi
47209
47210 if test "$wxUSE_FILECTRL" = "yes"; then
47211 cat >>confdefs.h <<\_ACEOF
47212 #define wxUSE_FILECTRL 1
47213 _ACEOF
47214
47215 USES_CONTROLS=1
47216 fi
47217
47218 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47219 cat >>confdefs.h <<\_ACEOF
47220 #define wxUSE_FILEPICKERCTRL 1
47221 _ACEOF
47222
47223 USES_CONTROLS=1
47224 fi
47225
47226 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_FONTPICKERCTRL 1
47229 _ACEOF
47230
47231 USES_CONTROLS=1
47232 fi
47233
47234 if test "$wxUSE_DISPLAY" = "yes"; then
47235 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47236 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47237 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47238 wxUSE_DISPLAY=no
47239 else
47240 cat >>confdefs.h <<\_ACEOF
47241 #define wxUSE_DISPLAY 1
47242 _ACEOF
47243
47244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47245 fi
47246 fi
47247
47248 if test "$wxUSE_DETECT_SM" = "yes"; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_DETECT_SM 1
47251 _ACEOF
47252
47253 fi
47254
47255 if test "$wxUSE_GAUGE" = "yes"; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_GAUGE 1
47258 _ACEOF
47259
47260 USES_CONTROLS=1
47261 fi
47262
47263 if test "$wxUSE_GRID" = "yes"; then
47264 cat >>confdefs.h <<\_ACEOF
47265 #define wxUSE_GRID 1
47266 _ACEOF
47267
47268 USES_CONTROLS=1
47269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47270 fi
47271
47272 if test "$wxUSE_HEADERCTRL" = "yes"; then
47273 cat >>confdefs.h <<\_ACEOF
47274 #define wxUSE_HEADERCTRL 1
47275 _ACEOF
47276
47277 USES_CONTROLS=1
47278 fi
47279
47280 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47281 cat >>confdefs.h <<\_ACEOF
47282 #define wxUSE_HYPERLINKCTRL 1
47283 _ACEOF
47284
47285 USES_CONTROLS=1
47286 fi
47287
47288 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47289 cat >>confdefs.h <<\_ACEOF
47290 #define wxUSE_BITMAPCOMBOBOX 1
47291 _ACEOF
47292
47293 USES_CONTROLS=1
47294 fi
47295
47296 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47297 cat >>confdefs.h <<\_ACEOF
47298 #define wxUSE_DATAVIEWCTRL 1
47299 _ACEOF
47300
47301 USES_CONTROLS=1
47302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47303 fi
47304
47305 if test "$wxUSE_IMAGLIST" = "yes"; then
47306 cat >>confdefs.h <<\_ACEOF
47307 #define wxUSE_IMAGLIST 1
47308 _ACEOF
47309
47310 fi
47311
47312 if test "$wxUSE_INFOBAR" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_INFOBAR 1
47315 _ACEOF
47316
47317 fi
47318
47319 if test "$wxUSE_LISTBOOK" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_LISTBOOK 1
47322 _ACEOF
47323
47324 USES_CONTROLS=1
47325 fi
47326
47327 if test "$wxUSE_LISTBOX" = "yes"; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_LISTBOX 1
47330 _ACEOF
47331
47332 USES_CONTROLS=1
47333 fi
47334
47335 if test "$wxUSE_LISTCTRL" = "yes"; then
47336 if test "$wxUSE_IMAGLIST" = "yes"; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_LISTCTRL 1
47339 _ACEOF
47340
47341 USES_CONTROLS=1
47342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47343 else
47344 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47345 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47346 fi
47347 fi
47348
47349 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47350 cat >>confdefs.h <<\_ACEOF
47351 #define wxUSE_EDITABLELISTBOX 1
47352 _ACEOF
47353
47354 USES_CONTROLS=1
47355 fi
47356
47357 if test "$wxUSE_NOTEBOOK" = "yes"; then
47358 cat >>confdefs.h <<\_ACEOF
47359 #define wxUSE_NOTEBOOK 1
47360 _ACEOF
47361
47362 USES_CONTROLS=1
47363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47364 fi
47365
47366 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_NOTIFICATION_MESSAGE 1
47369 _ACEOF
47370
47371 fi
47372
47373 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47374 cat >>confdefs.h <<\_ACEOF
47375 #define wxUSE_ODCOMBOBOX 1
47376 _ACEOF
47377
47378 USES_CONTROLS=1
47379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47380 fi
47381
47382 if test "$wxUSE_RADIOBOX" = "yes"; then
47383 cat >>confdefs.h <<\_ACEOF
47384 #define wxUSE_RADIOBOX 1
47385 _ACEOF
47386
47387 USES_CONTROLS=1
47388 fi
47389
47390 if test "$wxUSE_RADIOBTN" = "yes"; then
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_RADIOBTN 1
47393 _ACEOF
47394
47395 USES_CONTROLS=1
47396 fi
47397
47398 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47399 cat >>confdefs.h <<\_ACEOF
47400 #define wxUSE_REARRANGECTRL 1
47401 _ACEOF
47402
47403 fi
47404
47405 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_RICHMSGDLG 1
47408 _ACEOF
47409
47410 fi
47411
47412 if test "$wxUSE_SASH" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_SASH 1
47415 _ACEOF
47416
47417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47418 fi
47419
47420 if test "$wxUSE_SCROLLBAR" = "yes"; then
47421 cat >>confdefs.h <<\_ACEOF
47422 #define wxUSE_SCROLLBAR 1
47423 _ACEOF
47424
47425 USES_CONTROLS=1
47426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47427 fi
47428
47429 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_SEARCHCTRL 1
47432 _ACEOF
47433
47434 USES_CONTROLS=1
47435 fi
47436
47437 if test "$wxUSE_SLIDER" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_SLIDER 1
47440 _ACEOF
47441
47442 USES_CONTROLS=1
47443 fi
47444
47445 if test "$wxUSE_SPINBTN" = "yes"; then
47446 cat >>confdefs.h <<\_ACEOF
47447 #define wxUSE_SPINBTN 1
47448 _ACEOF
47449
47450 USES_CONTROLS=1
47451 fi
47452
47453 if test "$wxUSE_SPINCTRL" = "yes"; then
47454 cat >>confdefs.h <<\_ACEOF
47455 #define wxUSE_SPINCTRL 1
47456 _ACEOF
47457
47458 USES_CONTROLS=1
47459 fi
47460
47461 if test "$wxUSE_SPLITTER" = "yes"; then
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_SPLITTER 1
47464 _ACEOF
47465
47466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47467 fi
47468
47469 if test "$wxUSE_STATBMP" = "yes"; then
47470 cat >>confdefs.h <<\_ACEOF
47471 #define wxUSE_STATBMP 1
47472 _ACEOF
47473
47474 USES_CONTROLS=1
47475 fi
47476
47477 if test "$wxUSE_STATBOX" = "yes"; then
47478 cat >>confdefs.h <<\_ACEOF
47479 #define wxUSE_STATBOX 1
47480 _ACEOF
47481
47482 USES_CONTROLS=1
47483 fi
47484
47485 if test "$wxUSE_STATTEXT" = "yes"; then
47486 cat >>confdefs.h <<\_ACEOF
47487 #define wxUSE_STATTEXT 1
47488 _ACEOF
47489
47490 USES_CONTROLS=1
47491 fi
47492
47493 if test "$wxUSE_STATLINE" = "yes"; then
47494 cat >>confdefs.h <<\_ACEOF
47495 #define wxUSE_STATLINE 1
47496 _ACEOF
47497
47498 USES_CONTROLS=1
47499 fi
47500
47501 if test "$wxUSE_STATUSBAR" = "yes"; then
47502 cat >>confdefs.h <<\_ACEOF
47503 #define wxUSE_NATIVE_STATUSBAR 1
47504 _ACEOF
47505
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_STATUSBAR 1
47508 _ACEOF
47509
47510 USES_CONTROLS=1
47511
47512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47513 fi
47514
47515 if test "$wxUSE_TEXTCTRL" = "yes"; then
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_TEXTCTRL 1
47518 _ACEOF
47519
47520 USES_CONTROLS=1
47521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47522
47523 cat >>confdefs.h <<\_ACEOF
47524 #define wxUSE_RICHEDIT 1
47525 _ACEOF
47526
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_RICHEDIT2 1
47529 _ACEOF
47530
47531 fi
47532
47533 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47534 if test "$wxUSE_OLD_COCOA" = 1 ; then
47535 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47536 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47537 wxUSE_TOGGLEBTN=no
47538 fi
47539
47540 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_TOGGLEBTN 1
47543 _ACEOF
47544
47545 USES_CONTROLS=1
47546 fi
47547 fi
47548
47549 if test "$wxUSE_TOOLBAR" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define wxUSE_TOOLBAR 1
47552 _ACEOF
47553
47554 USES_CONTROLS=1
47555
47556 if test "$wxUSE_UNIVERSAL" = "yes"; then
47557 wxUSE_TOOLBAR_NATIVE="no"
47558 else
47559 wxUSE_TOOLBAR_NATIVE="yes"
47560 cat >>confdefs.h <<\_ACEOF
47561 #define wxUSE_TOOLBAR_NATIVE 1
47562 _ACEOF
47563
47564 fi
47565
47566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47567 fi
47568
47569 if test "$wxUSE_TOOLTIPS" = "yes"; then
47570 if test "$wxUSE_MOTIF" = 1; then
47571 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47572 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47573 else
47574 if test "$wxUSE_UNIVERSAL" = "yes"; then
47575 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47576 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47577 else
47578 cat >>confdefs.h <<\_ACEOF
47579 #define wxUSE_TOOLTIPS 1
47580 _ACEOF
47581
47582 fi
47583 fi
47584 fi
47585
47586 if test "$wxUSE_TREEBOOK" = "yes"; then
47587 cat >>confdefs.h <<\_ACEOF
47588 #define wxUSE_TREEBOOK 1
47589 _ACEOF
47590
47591 USES_CONTROLS=1
47592 fi
47593
47594 if test "$wxUSE_TOOLBOOK" = "yes"; then
47595 cat >>confdefs.h <<\_ACEOF
47596 #define wxUSE_TOOLBOOK 1
47597 _ACEOF
47598
47599 USES_CONTROLS=1
47600 fi
47601
47602 if test "$wxUSE_TREECTRL" = "yes"; then
47603 if test "$wxUSE_IMAGLIST" = "yes"; then
47604 cat >>confdefs.h <<\_ACEOF
47605 #define wxUSE_TREECTRL 1
47606 _ACEOF
47607
47608 USES_CONTROLS=1
47609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47610 else
47611 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47612 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47613 fi
47614 fi
47615
47616 if test "$wxUSE_POPUPWIN" = "yes"; then
47617 if test "$wxUSE_OLD_COCOA" = 1 ; then
47618 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47619 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47620 else
47621 if test "$wxUSE_PM" = 1; then
47622 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47623 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47624 else
47625 cat >>confdefs.h <<\_ACEOF
47626 #define wxUSE_POPUPWIN 1
47627 _ACEOF
47628
47629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47630
47631 USES_CONTROLS=1
47632 fi
47633 fi
47634 fi
47635
47636 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47637 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47638 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47639 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47640 else
47641 cat >>confdefs.h <<\_ACEOF
47642 #define wxUSE_DIALUP_MANAGER 1
47643 _ACEOF
47644
47645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47646 fi
47647 fi
47648
47649 if test "$wxUSE_TIPWINDOW" = "yes"; then
47650 if test "$wxUSE_PM" = 1; then
47651 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47652 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47653 else
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_TIPWINDOW 1
47656 _ACEOF
47657
47658 fi
47659 fi
47660
47661 if test "$USES_CONTROLS" = 1; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_CONTROLS 1
47664 _ACEOF
47665
47666 fi
47667
47668
47669 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_ACCESSIBILITY 1
47672 _ACEOF
47673
47674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47675 fi
47676
47677 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_ARTPROVIDER_STD 1
47680 _ACEOF
47681
47682 fi
47683
47684 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47685 if test "$wxUSE_GTK" != 1; then
47686 if test "$wxUSE_LIBPNG" != no -a \
47687 "$wxUSE_IMAGE" = yes -a \
47688 "$wxUSE_STREAMS" = yes; then
47689 wxUSE_ARTPROVIDER_TANGO="yes"
47690 fi
47691 fi
47692 fi
47693
47694 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_ARTPROVIDER_TANGO 1
47697 _ACEOF
47698
47699 fi
47700
47701 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47702 cat >>confdefs.h <<\_ACEOF
47703 #define wxUSE_DRAGIMAGE 1
47704 _ACEOF
47705
47706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47707 fi
47708
47709 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47710 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47711 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47712 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47713 else
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_EXCEPTIONS 1
47716 _ACEOF
47717
47718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47719 fi
47720 fi
47721
47722 USE_HTML=0
47723 if test "$wxUSE_HTML" = "yes"; then
47724 cat >>confdefs.h <<\_ACEOF
47725 #define wxUSE_HTML 1
47726 _ACEOF
47727
47728 USE_HTML=1
47729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47730 fi
47731 if test "$wxUSE_WEBKIT" = "yes"; then
47732 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47733 old_CPPFLAGS="$CPPFLAGS"
47734 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47735 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47736 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47737 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47738 echo $ECHO_N "(cached) $ECHO_C" >&6
47739 else
47740 cat >conftest.$ac_ext <<_ACEOF
47741 /* confdefs.h. */
47742 _ACEOF
47743 cat confdefs.h >>conftest.$ac_ext
47744 cat >>conftest.$ac_ext <<_ACEOF
47745 /* end confdefs.h. */
47746
47747 #include <Carbon/Carbon.h>
47748 #include <WebKit/WebKit.h>
47749
47750
47751 #include <WebKit/HIWebView.h>
47752 _ACEOF
47753 rm -f conftest.$ac_objext
47754 if { (ac_try="$ac_compile"
47755 case "(($ac_try" in
47756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47757 *) ac_try_echo=$ac_try;;
47758 esac
47759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47760 (eval "$ac_compile") 2>conftest.er1
47761 ac_status=$?
47762 grep -v '^ *+' conftest.er1 >conftest.err
47763 rm -f conftest.er1
47764 cat conftest.err >&5
47765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47766 (exit $ac_status); } && {
47767 test -z "$ac_c_werror_flag" ||
47768 test ! -s conftest.err
47769 } && test -s conftest.$ac_objext; then
47770 ac_cv_header_WebKit_HIWebView_h=yes
47771 else
47772 echo "$as_me: failed program was:" >&5
47773 sed 's/^/| /' conftest.$ac_ext >&5
47774
47775 ac_cv_header_WebKit_HIWebView_h=no
47776 fi
47777
47778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47779 fi
47780 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47781 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47782 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47783
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_WEBKIT 1
47786 _ACEOF
47787
47788 WEBKIT_LINK="-framework WebKit"
47789
47790 else
47791
47792 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47793 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47794 wxUSE_WEBKIT=no
47795
47796 fi
47797
47798
47799 CPPFLAGS="$old_CPPFLAGS"
47800 elif test "$wxUSE_OLD_COCOA" = 1; then
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_WEBKIT 1
47803 _ACEOF
47804
47805 else
47806 wxUSE_WEBKIT=no
47807 fi
47808 if test "$wxUSE_WEBKIT" = "yes"; then
47809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47810 fi
47811 fi
47812
47813 USE_XRC=0
47814 if test "$wxUSE_XRC" = "yes"; then
47815 if test "$wxUSE_XML" != "yes"; then
47816 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47817 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47818 wxUSE_XRC=no
47819 else
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_XRC 1
47822 _ACEOF
47823
47824 USE_XRC=1
47825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47826 fi
47827 fi
47828
47829 USE_AUI=0
47830 if test "$wxUSE_AUI" = "yes"; then
47831 cat >>confdefs.h <<\_ACEOF
47832 #define wxUSE_AUI 1
47833 _ACEOF
47834
47835 USE_AUI=1
47836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47837 fi
47838
47839 USE_PROPGRID=0
47840 if test "$wxUSE_PROPGRID" = "yes"; then
47841 cat >>confdefs.h <<\_ACEOF
47842 #define wxUSE_PROPGRID 1
47843 _ACEOF
47844
47845 USE_PROPGRID=1
47846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47847 fi
47848
47849 USE_RIBBON=0
47850 if test "$wxUSE_RIBBON" = "yes"; then
47851 cat >>confdefs.h <<\_ACEOF
47852 #define wxUSE_RIBBON 1
47853 _ACEOF
47854
47855 USE_RIBBON=1
47856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47857 fi
47858
47859 USE_STC=0
47860 if test "$wxUSE_STC" = "yes"; then
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_STC 1
47863 _ACEOF
47864
47865 USE_STC=1
47866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47867
47868 # Extract the first word of "python", so it can be a program name with args.
47869 set dummy python; ac_word=$2
47870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47872 if test "${ac_cv_path_PYTHON+set}" = set; then
47873 echo $ECHO_N "(cached) $ECHO_C" >&6
47874 else
47875 case $PYTHON in
47876 [\\/]* | ?:[\\/]*)
47877 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47878 ;;
47879 *)
47880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47881 for as_dir in $PATH
47882 do
47883 IFS=$as_save_IFS
47884 test -z "$as_dir" && as_dir=.
47885 for ac_exec_ext in '' $ac_executable_extensions; do
47886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47887 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47889 break 2
47890 fi
47891 done
47892 done
47893 IFS=$as_save_IFS
47894
47895 ;;
47896 esac
47897 fi
47898 PYTHON=$ac_cv_path_PYTHON
47899 if test -n "$PYTHON"; then
47900 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47901 echo "${ECHO_T}$PYTHON" >&6; }
47902 else
47903 { echo "$as_me:$LINENO: result: no" >&5
47904 echo "${ECHO_T}no" >&6; }
47905 fi
47906
47907
47908 if test "x$PYTHON" = "x"; then
47909 COND_PYTHON="#"
47910 fi
47911
47912 fi
47913
47914 if test "$wxUSE_MENUS" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_MENUS 1
47917 _ACEOF
47918
47919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47920 fi
47921
47922 if test "$wxUSE_METAFILE" = "yes"; then
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_METAFILE 1
47925 _ACEOF
47926
47927 fi
47928
47929 if test "$wxUSE_MIMETYPE" = "yes"; then
47930 cat >>confdefs.h <<\_ACEOF
47931 #define wxUSE_MIMETYPE 1
47932 _ACEOF
47933
47934 fi
47935
47936 if test "$wxUSE_MINIFRAME" = "yes"; then
47937 cat >>confdefs.h <<\_ACEOF
47938 #define wxUSE_MINIFRAME 1
47939 _ACEOF
47940
47941 fi
47942
47943 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47944 cat >>confdefs.h <<\_ACEOF
47945 #define wxUSE_SYSTEM_OPTIONS 1
47946 _ACEOF
47947
47948 fi
47949
47950 if test "$wxUSE_TASKBARICON" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_TASKBARICON 1
47953 _ACEOF
47954
47955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47956 fi
47957
47958
47959 if test "$wxUSE_VALIDATORS" = "yes"; then
47960 cat >>confdefs.h <<\_ACEOF
47961 #define wxUSE_VALIDATORS 1
47962 _ACEOF
47963
47964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47965 fi
47966
47967 if test "$wxUSE_PALETTE" = "yes" ; then
47968 if test "$wxUSE_DFB" = 1; then
47969 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47970 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47971 wxUSE_PALETTE=no
47972 else
47973 cat >>confdefs.h <<\_ACEOF
47974 #define wxUSE_PALETTE 1
47975 _ACEOF
47976
47977 fi
47978 fi
47979
47980 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47981 LIBS=" -lunicows $LIBS"
47982 fi
47983
47984 USE_RICHTEXT=0
47985 if test "$wxUSE_RICHTEXT" = "yes"; then
47986 cat >>confdefs.h <<\_ACEOF
47987 #define wxUSE_RICHTEXT 1
47988 _ACEOF
47989
47990 USE_RICHTEXT=1
47991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47992 fi
47993
47994
47995 if test "$wxUSE_IMAGE" = "yes" ; then
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_IMAGE 1
47998 _ACEOF
47999
48000
48001 if test "$wxUSE_GIF" = "yes" ; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_GIF 1
48004 _ACEOF
48005
48006 fi
48007
48008 if test "$wxUSE_PCX" = "yes" ; then
48009 cat >>confdefs.h <<\_ACEOF
48010 #define wxUSE_PCX 1
48011 _ACEOF
48012
48013 fi
48014
48015 if test "$wxUSE_TGA" = "yes" ; then
48016 cat >>confdefs.h <<\_ACEOF
48017 #define wxUSE_TGA 1
48018 _ACEOF
48019
48020 fi
48021
48022 if test "$wxUSE_IFF" = "yes" ; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_IFF 1
48025 _ACEOF
48026
48027 fi
48028
48029 if test "$wxUSE_PNM" = "yes" ; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_PNM 1
48032 _ACEOF
48033
48034 fi
48035
48036 if test "$wxUSE_XPM" = "yes" ; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_XPM 1
48039 _ACEOF
48040
48041 fi
48042
48043 if test "$wxUSE_ICO_CUR" = "yes" ; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_ICO_CUR 1
48046 _ACEOF
48047
48048 fi
48049 fi
48050
48051
48052 if test "$wxUSE_ABOUTDLG" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_ABOUTDLG 1
48055 _ACEOF
48056
48057 fi
48058
48059 if test "$wxUSE_CHOICEDLG" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_CHOICEDLG 1
48062 _ACEOF
48063
48064 fi
48065
48066 if test "$wxUSE_COLOURDLG" = "yes"; then
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_COLOURDLG 1
48069 _ACEOF
48070
48071 fi
48072
48073 if test "$wxUSE_FILEDLG" = "yes"; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_FILEDLG 1
48076 _ACEOF
48077
48078 fi
48079
48080 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48081 cat >>confdefs.h <<\_ACEOF
48082 #define wxUSE_FINDREPLDLG 1
48083 _ACEOF
48084
48085 fi
48086
48087 if test "$wxUSE_FONTDLG" = "yes"; then
48088 cat >>confdefs.h <<\_ACEOF
48089 #define wxUSE_FONTDLG 1
48090 _ACEOF
48091
48092 fi
48093
48094 if test "$wxUSE_DIRDLG" = "yes"; then
48095 if test "$wxUSE_TREECTRL" != "yes"; then
48096 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48097 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48098 else
48099 cat >>confdefs.h <<\_ACEOF
48100 #define wxUSE_DIRDLG 1
48101 _ACEOF
48102
48103 fi
48104 fi
48105
48106 if test "$wxUSE_MSGDLG" = "yes"; then
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_MSGDLG 1
48109 _ACEOF
48110
48111 fi
48112
48113 if test "$wxUSE_NUMBERDLG" = "yes"; then
48114 cat >>confdefs.h <<\_ACEOF
48115 #define wxUSE_NUMBERDLG 1
48116 _ACEOF
48117
48118 fi
48119
48120 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_PROGRESSDLG 1
48123 _ACEOF
48124
48125 fi
48126
48127 if test "$wxUSE_SPLASH" = "yes"; then
48128 cat >>confdefs.h <<\_ACEOF
48129 #define wxUSE_SPLASH 1
48130 _ACEOF
48131
48132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48133 fi
48134
48135 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48136 cat >>confdefs.h <<\_ACEOF
48137 #define wxUSE_STARTUP_TIPS 1
48138 _ACEOF
48139
48140 fi
48141
48142 if test "$wxUSE_TEXTDLG" = "yes"; then
48143 cat >>confdefs.h <<\_ACEOF
48144 #define wxUSE_TEXTDLG 1
48145 _ACEOF
48146
48147 fi
48148
48149 if test "$wxUSE_WIZARDDLG" = "yes"; then
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_WIZARDDLG 1
48152 _ACEOF
48153
48154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48155 fi
48156
48157
48158 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48159 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48160 cat >>confdefs.h <<\_ACEOF
48161 #define wxUSE_OWNER_DRAWN 1
48162 _ACEOF
48163
48164 fi
48165 fi
48166
48167
48168 if test "$wxUSE_MSW" = 1 ; then
48169
48170 if test "$wxUSE_DC_CACHEING" = "yes"; then
48171 cat >>confdefs.h <<\_ACEOF
48172 #define wxUSE_DC_CACHEING 1
48173 _ACEOF
48174
48175 fi
48176
48177 if test "$wxUSE_DIB" = "yes"; then
48178 cat >>confdefs.h <<\_ACEOF
48179 #define wxUSE_WXDIB 1
48180 _ACEOF
48181
48182 fi
48183
48184 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48185 cat >>confdefs.h <<\_ACEOF
48186 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48187 _ACEOF
48188
48189 fi
48190
48191 if test "$wxUSE_UXTHEME" = "yes"; then
48192 cat >>confdefs.h <<\_ACEOF
48193 #define wxUSE_UXTHEME 1
48194 _ACEOF
48195
48196 fi
48197
48198 fi
48199
48200 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48201 cat >>confdefs.h <<\_ACEOF
48202 #define wxUSE_AUTOID_MANAGEMENT 1
48203 _ACEOF
48204
48205 fi
48206
48207 if test "$USE_WIN32" = 1 ; then
48208 if test "$wxUSE_INICONF" = "yes"; then
48209 cat >>confdefs.h <<\_ACEOF
48210 #define wxUSE_INICONF 1
48211 _ACEOF
48212
48213 fi
48214
48215 if test "$wxUSE_REGKEY" = "yes"; then
48216 cat >>confdefs.h <<\_ACEOF
48217 #define wxUSE_REGKEY 1
48218 _ACEOF
48219
48220 fi
48221 fi
48222
48223
48224 if test "$wxUSE_MAC" = 1; then
48225 wxUSE_GRAPHICS_CONTEXT="yes"
48226 fi
48227
48228 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48229 wx_has_graphics=0
48230 if test "$wxUSE_MSW" = 1; then
48231 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48232 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48233 if test "${wx_cv_lib_gdiplus+set}" = set; then
48234 echo $ECHO_N "(cached) $ECHO_C" >&6
48235 else
48236
48237 ac_ext=cpp
48238 ac_cpp='$CXXCPP $CPPFLAGS'
48239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48242
48243 cat >conftest.$ac_ext <<_ACEOF
48244 /* confdefs.h. */
48245 _ACEOF
48246 cat confdefs.h >>conftest.$ac_ext
48247 cat >>conftest.$ac_ext <<_ACEOF
48248 /* end confdefs.h. */
48249 #include <windows.h>
48250 #include <gdiplus.h>
48251 int
48252 main ()
48253 {
48254
48255 using namespace Gdiplus;
48256
48257 ;
48258 return 0;
48259 }
48260 _ACEOF
48261 rm -f conftest.$ac_objext
48262 if { (ac_try="$ac_compile"
48263 case "(($ac_try" in
48264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48265 *) ac_try_echo=$ac_try;;
48266 esac
48267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48268 (eval "$ac_compile") 2>conftest.er1
48269 ac_status=$?
48270 grep -v '^ *+' conftest.er1 >conftest.err
48271 rm -f conftest.er1
48272 cat conftest.err >&5
48273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48274 (exit $ac_status); } && {
48275 test -z "$ac_cxx_werror_flag" ||
48276 test ! -s conftest.err
48277 } && test -s conftest.$ac_objext; then
48278 wx_cv_lib_gdiplus=yes
48279 else
48280 echo "$as_me: failed program was:" >&5
48281 sed 's/^/| /' conftest.$ac_ext >&5
48282
48283 wx_cv_lib_gdiplus=no
48284
48285 fi
48286
48287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48288 ac_ext=c
48289 ac_cpp='$CPP $CPPFLAGS'
48290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48293
48294
48295
48296 fi
48297 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48298 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48299 if test "$wx_cv_lib_gdiplus" = "yes"; then
48300 wx_has_graphics=1
48301 fi
48302 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48303
48304 pkg_failed=no
48305 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48306 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48307
48308 if test -n "$PKG_CONFIG"; then
48309 if test -n "$CAIRO_CFLAGS"; then
48310 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48311 else
48312 if test -n "$PKG_CONFIG" && \
48313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48314 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48315 ac_status=$?
48316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48317 (exit $ac_status); }; then
48318 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48319 else
48320 pkg_failed=yes
48321 fi
48322 fi
48323 else
48324 pkg_failed=untried
48325 fi
48326 if test -n "$PKG_CONFIG"; then
48327 if test -n "$CAIRO_LIBS"; then
48328 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48329 else
48330 if test -n "$PKG_CONFIG" && \
48331 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48332 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48333 ac_status=$?
48334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335 (exit $ac_status); }; then
48336 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48337 else
48338 pkg_failed=yes
48339 fi
48340 fi
48341 else
48342 pkg_failed=untried
48343 fi
48344
48345
48346
48347 if test $pkg_failed = yes; then
48348
48349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48350 _pkg_short_errors_supported=yes
48351 else
48352 _pkg_short_errors_supported=no
48353 fi
48354 if test $_pkg_short_errors_supported = yes; then
48355 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48356 else
48357 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48358 fi
48359 # Put the nasty error message in config.log where it belongs
48360 echo "$CAIRO_PKG_ERRORS" >&5
48361
48362 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48363 echo "$as_me: WARNING: Cairo library not found" >&2;}
48364
48365 elif test $pkg_failed = untried; then
48366 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48367 echo "$as_me: WARNING: Cairo library not found" >&2;}
48368
48369 else
48370 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48371 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48372 { echo "$as_me:$LINENO: result: yes" >&5
48373 echo "${ECHO_T}yes" >&6; }
48374 wx_has_graphics=1
48375 fi
48376 if test "$wx_has_graphics" = 1; then
48377 save_LIBS="$LIBS"
48378 LIBS="$LIBS $CAIRO_LIBS"
48379
48380 for ac_func in cairo_push_group
48381 do
48382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48385 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48386 echo $ECHO_N "(cached) $ECHO_C" >&6
48387 else
48388 cat >conftest.$ac_ext <<_ACEOF
48389 /* confdefs.h. */
48390 _ACEOF
48391 cat confdefs.h >>conftest.$ac_ext
48392 cat >>conftest.$ac_ext <<_ACEOF
48393 /* end confdefs.h. */
48394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48396 #define $ac_func innocuous_$ac_func
48397
48398 /* System header to define __stub macros and hopefully few prototypes,
48399 which can conflict with char $ac_func (); below.
48400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48401 <limits.h> exists even on freestanding compilers. */
48402
48403 #ifdef __STDC__
48404 # include <limits.h>
48405 #else
48406 # include <assert.h>
48407 #endif
48408
48409 #undef $ac_func
48410
48411 /* Override any GCC internal prototype to avoid an error.
48412 Use char because int might match the return type of a GCC
48413 builtin and then its argument prototype would still apply. */
48414 #ifdef __cplusplus
48415 extern "C"
48416 #endif
48417 char $ac_func ();
48418 /* The GNU C library defines this for functions which it implements
48419 to always fail with ENOSYS. Some functions are actually named
48420 something starting with __ and the normal name is an alias. */
48421 #if defined __stub_$ac_func || defined __stub___$ac_func
48422 choke me
48423 #endif
48424
48425 int
48426 main ()
48427 {
48428 return $ac_func ();
48429 ;
48430 return 0;
48431 }
48432 _ACEOF
48433 rm -f conftest.$ac_objext conftest$ac_exeext
48434 if { (ac_try="$ac_link"
48435 case "(($ac_try" in
48436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48437 *) ac_try_echo=$ac_try;;
48438 esac
48439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48440 (eval "$ac_link") 2>conftest.er1
48441 ac_status=$?
48442 grep -v '^ *+' conftest.er1 >conftest.err
48443 rm -f conftest.er1
48444 cat conftest.err >&5
48445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48446 (exit $ac_status); } && {
48447 test -z "$ac_c_werror_flag" ||
48448 test ! -s conftest.err
48449 } && test -s conftest$ac_exeext &&
48450 $as_test_x conftest$ac_exeext; then
48451 eval "$as_ac_var=yes"
48452 else
48453 echo "$as_me: failed program was:" >&5
48454 sed 's/^/| /' conftest.$ac_ext >&5
48455
48456 eval "$as_ac_var=no"
48457 fi
48458
48459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48460 conftest$ac_exeext conftest.$ac_ext
48461 fi
48462 ac_res=`eval echo '${'$as_ac_var'}'`
48463 { echo "$as_me:$LINENO: result: $ac_res" >&5
48464 echo "${ECHO_T}$ac_res" >&6; }
48465 if test `eval echo '${'$as_ac_var'}'` = yes; then
48466 cat >>confdefs.h <<_ACEOF
48467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48468 _ACEOF
48469
48470 fi
48471 done
48472
48473 LIBS="$save_LIBS"
48474 if test "$ac_cv_func_cairo_push_group" = "no"; then
48475 wx_has_graphics=0
48476 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48477 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48478 else
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_CAIRO 1
48481 _ACEOF
48482
48483
48484 if test "$wxUSE_GTK" != 1; then
48485 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48486 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48487 fi
48488 fi
48489 fi
48490 else
48491 wx_has_graphics=1
48492 fi
48493
48494 if test "$wx_has_graphics" = 1; then
48495 cat >>confdefs.h <<\_ACEOF
48496 #define wxUSE_GRAPHICS_CONTEXT 1
48497 _ACEOF
48498
48499 else
48500 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48501 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48502 fi
48503 fi
48504
48505
48506 USE_MEDIA=0
48507
48508 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48509 USE_MEDIA=1
48510
48511 if test "$wxUSE_GTK" = 1; then
48512 wxUSE_GSTREAMER="no"
48513
48514 GST_VERSION_MAJOR=0
48515 GST_VERSION_MINOR=10
48516 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48517
48518 if test "$wxUSE_GSTREAMER8" = "no"; then
48519
48520 pkg_failed=no
48521 { echo "$as_me:$LINENO: checking for GST" >&5
48522 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48523
48524 if test -n "$PKG_CONFIG"; then
48525 if test -n "$GST_CFLAGS"; then
48526 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48527 else
48528 if test -n "$PKG_CONFIG" && \
48529 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48530 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48531 ac_status=$?
48532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533 (exit $ac_status); }; then
48534 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48535 else
48536 pkg_failed=yes
48537 fi
48538 fi
48539 else
48540 pkg_failed=untried
48541 fi
48542 if test -n "$PKG_CONFIG"; then
48543 if test -n "$GST_LIBS"; then
48544 pkg_cv_GST_LIBS="$GST_LIBS"
48545 else
48546 if test -n "$PKG_CONFIG" && \
48547 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48548 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48549 ac_status=$?
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); }; then
48552 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48553 else
48554 pkg_failed=yes
48555 fi
48556 fi
48557 else
48558 pkg_failed=untried
48559 fi
48560
48561
48562
48563 if test $pkg_failed = yes; then
48564
48565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48566 _pkg_short_errors_supported=yes
48567 else
48568 _pkg_short_errors_supported=no
48569 fi
48570 if test $_pkg_short_errors_supported = yes; then
48571 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48572 else
48573 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48574 fi
48575 # Put the nasty error message in config.log where it belongs
48576 echo "$GST_PKG_ERRORS" >&5
48577
48578
48579 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48580 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48581 GST_VERSION_MINOR=8
48582
48583
48584 elif test $pkg_failed = untried; then
48585
48586 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48587 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48588 GST_VERSION_MINOR=8
48589
48590
48591 else
48592 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48593 GST_LIBS=$pkg_cv_GST_LIBS
48594 { echo "$as_me:$LINENO: result: yes" >&5
48595 echo "${ECHO_T}yes" >&6; }
48596
48597 wxUSE_GSTREAMER="yes"
48598 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48599
48600 fi
48601 else
48602 GST_VERSION_MINOR=8
48603 fi
48604
48605 if test $GST_VERSION_MINOR = "8"; then
48606 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48607
48608 pkg_failed=no
48609 { echo "$as_me:$LINENO: checking for GST" >&5
48610 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48611
48612 if test -n "$PKG_CONFIG"; then
48613 if test -n "$GST_CFLAGS"; then
48614 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48615 else
48616 if test -n "$PKG_CONFIG" && \
48617 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48618 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48619 ac_status=$?
48620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621 (exit $ac_status); }; then
48622 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48623 else
48624 pkg_failed=yes
48625 fi
48626 fi
48627 else
48628 pkg_failed=untried
48629 fi
48630 if test -n "$PKG_CONFIG"; then
48631 if test -n "$GST_LIBS"; then
48632 pkg_cv_GST_LIBS="$GST_LIBS"
48633 else
48634 if test -n "$PKG_CONFIG" && \
48635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48636 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48637 ac_status=$?
48638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639 (exit $ac_status); }; then
48640 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48641 else
48642 pkg_failed=yes
48643 fi
48644 fi
48645 else
48646 pkg_failed=untried
48647 fi
48648
48649
48650
48651 if test $pkg_failed = yes; then
48652
48653 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48654 _pkg_short_errors_supported=yes
48655 else
48656 _pkg_short_errors_supported=no
48657 fi
48658 if test $_pkg_short_errors_supported = yes; then
48659 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48660 else
48661 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48662 fi
48663 # Put the nasty error message in config.log where it belongs
48664 echo "$GST_PKG_ERRORS" >&5
48665
48666
48667 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48668 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48669
48670 elif test $pkg_failed = untried; then
48671
48672 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48673 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48674
48675 else
48676 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48677 GST_LIBS=$pkg_cv_GST_LIBS
48678 { echo "$as_me:$LINENO: result: yes" >&5
48679 echo "${ECHO_T}yes" >&6; }
48680 wxUSE_GSTREAMER="yes"
48681 fi
48682 fi
48683
48684
48685 if test "$wxUSE_GSTREAMER" = "yes"; then
48686 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48687 EXTRALIBS_MEDIA="$GST_LIBS"
48688
48689 cat >>confdefs.h <<\_ACEOF
48690 #define wxUSE_GSTREAMER 1
48691 _ACEOF
48692
48693 else
48694 USE_MEDIA=0
48695 fi
48696 fi
48697
48698 if test $USE_MEDIA = 1; then
48699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48700 cat >>confdefs.h <<\_ACEOF
48701 #define wxUSE_MEDIACTRL 1
48702 _ACEOF
48703
48704 else
48705 if test "$wxUSE_MEDIACTRL" = "yes"; then
48706 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48707 echo "$as_me: error: GStreamer not available" >&2;}
48708 { (exit 1); exit 1; }; }
48709 else
48710 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48711 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48712 fi
48713 fi
48714 fi
48715
48716
48717 if test "$cross_compiling" != "no"; then
48718 OSINFO="\"$host\""
48719 else
48720 OSINFO=`uname -s -r -m`
48721 OSINFO="\"$OSINFO\""
48722 fi
48723
48724 cat >>confdefs.h <<_ACEOF
48725 #define WXWIN_OS_DESCRIPTION $OSINFO
48726 _ACEOF
48727
48728
48729
48730 if test "x$prefix" != "xNONE"; then
48731 wxPREFIX=$prefix
48732 else
48733 wxPREFIX=$ac_default_prefix
48734 fi
48735
48736 cat >>confdefs.h <<_ACEOF
48737 #define wxINSTALL_PREFIX "$wxPREFIX"
48738 _ACEOF
48739
48740
48741
48742
48743 STD_BASE_LIBS="base"
48744 STD_GUI_LIBS=""
48745 BUILT_WX_LIBS="base"
48746 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48747
48748 if test "$wxUSE_SOCKETS" = "yes" ; then
48749 STD_BASE_LIBS="net $STD_BASE_LIBS"
48750 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48751 fi
48752 if test "$wxUSE_XML" = "yes" ; then
48753 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48754 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48755 fi
48756
48757 if test "$wxUSE_GUI" = "yes"; then
48758 STD_GUI_LIBS="adv core"
48759 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48760
48761 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48762 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48763 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48764 fi
48765 if test "$wxUSE_HTML" = "yes" ; then
48766 STD_GUI_LIBS="html $STD_GUI_LIBS"
48767 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48768 fi
48769 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48770 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48771 fi
48772 if test "$wxUSE_OPENGL" = "yes" ; then
48773 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48774 fi
48775 if test "$wxUSE_AUI" = "yes" ; then
48776 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48777 fi
48778 if test "$wxUSE_PROPGRID" = "yes" ; then
48779 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48780 fi
48781 if test "$wxUSE_RIBBON" = "yes" ; then
48782 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48783 fi
48784 if test "$wxUSE_RICHTEXT" = "yes" ; then
48785 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48786 fi
48787 if test "$wxUSE_STC" = "yes" ; then
48788 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48789 fi
48790 if test "$wxUSE_XRC" = "yes" ; then
48791 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48792 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48793 fi
48794 fi
48795
48796
48797
48798
48799
48800
48801
48802 EXTRA_FRAMEWORKS=
48803 if test "$wxUSE_MAC" = 1 ; then
48804 if test "$USE_DARWIN" = 1; then
48805 if test "$wxUSE_OSX_IPHONE" = 1; then
48806 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48807 else
48808 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48809 fi
48810 fi
48811 fi
48812 if test "$wxUSE_OLD_COCOA" = 1 ; then
48813 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48814 if test "$wxUSE_MEDIACTRL" = "yes"; then
48815 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48816 fi
48817 fi
48818 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48819 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48820 fi
48821
48822 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48823 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48824
48825 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48826
48827 if test "$wxUSE_GUI" = "yes"; then
48828
48829
48830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48831 erase event exec font image minimal render \
48832 shaped svg taborder vscroll widgets wrapsizer"
48833
48834 if test "$wxUSE_MONOLITHIC" != "yes"; then
48835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48836 fi
48837 if test "$TOOLKIT" = "MSW"; then
48838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48839 if test "$wxUSE_UNIVERSAL" != "yes"; then
48840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48841 fi
48842 fi
48843 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48845 fi
48846 else
48847 SAMPLES_SUBDIRS="console"
48848 if test "$wxUSE_SOCKETS" = "yes" ; then
48849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48850 fi
48851 if test "$wxUSE_IPC" = "yes" ; then
48852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48853 fi
48854 fi
48855
48856
48857 if test "x$INTELCC" = "xyes" ; then
48858 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48859 elif test "$GCC" = yes ; then
48860 CWARNINGS="-Wall -Wundef"
48861 fi
48862
48863 if test "x$INTELCXX" = "xyes" ; then
48864 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48865 elif test "$GXX" = yes ; then
48866 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48867 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48868 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48869 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48870 echo $ECHO_N "(cached) $ECHO_C" >&6
48871 else
48872 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48873
48874 ac_ext=cpp
48875 ac_cpp='$CXXCPP $CPPFLAGS'
48876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48879
48880 ac_save_CXXFLAGS="$CXXFLAGS"
48881 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48882 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48883 cat >conftest.$ac_ext <<_ACEOF
48884 /* confdefs.h. */
48885 _ACEOF
48886 cat confdefs.h >>conftest.$ac_ext
48887 cat >>conftest.$ac_ext <<_ACEOF
48888 /* end confdefs.h. */
48889
48890 int
48891 main ()
48892 {
48893 return 0;
48894 ;
48895 return 0;
48896 }
48897 _ACEOF
48898 rm -f conftest.$ac_objext
48899 if { (ac_try="$ac_compile"
48900 case "(($ac_try" in
48901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48902 *) ac_try_echo=$ac_try;;
48903 esac
48904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48905 (eval "$ac_compile") 2>conftest.er1
48906 ac_status=$?
48907 grep -v '^ *+' conftest.er1 >conftest.err
48908 rm -f conftest.er1
48909 cat conftest.err >&5
48910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911 (exit $ac_status); } && {
48912 test -z "$ac_cxx_werror_flag" ||
48913 test ! -s conftest.err
48914 } && test -s conftest.$ac_objext; then
48915 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48916 else
48917 echo "$as_me: failed program was:" >&5
48918 sed 's/^/| /' conftest.$ac_ext >&5
48919
48920
48921 fi
48922
48923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48924 done
48925 CXXFLAGS="$ac_save_CXXFLAGS"
48926 ac_ext=c
48927 ac_cpp='$CPP $CPPFLAGS'
48928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48931
48932
48933 fi
48934 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48935 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48936 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48937 .ok|.ok,*) ;;
48938 .|.no|.no,*) ;;
48939 *)
48940 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48941 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48942 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48943 ac_status=$?
48944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48945 (exit $ac_status); }
48946 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48947 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48948 ac_status=$?
48949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950 (exit $ac_status); }
48951 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48952 fi
48953 ;;
48954 esac
48955
48956
48957 if test "$wxUSE_MAC" = 1 ; then
48958 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48959 fi
48960 fi
48961
48962
48963 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48964 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48965
48966
48967 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48968 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48969 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48970 $CPPFLAGS `
48971
48972 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48973 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48974 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48975 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48976 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48977
48978 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48979
48980
48981 if test "x$MWCC" = "xyes"; then
48982
48983 CC="$CC -cwd source -I-"
48984 CXX="$CXX -cwd source -I-"
48985 fi
48986
48987
48988 LIBS=`echo $LIBS`
48989 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48990 EXTRALIBS_XML="$EXPAT_LINK"
48991 EXTRALIBS_HTML="$MSPACK_LINK"
48992 EXTRALIBS_MEDIA="$GST_LIBS"
48993 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48994 if test "$wxUSE_GUI" = "yes"; then
48995 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48996 fi
48997 if test "$wxUSE_OPENGL" = "yes"; then
48998 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48999 fi
49000
49001 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49002
49003 WXCONFIG_LIBS="$LIBS"
49004
49005 if test "$wxUSE_REGEX" = "builtin" ; then
49006 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49007 fi
49008 if test "$wxUSE_EXPAT" = "builtin" ; then
49009 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49010 fi
49011 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49012 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49013 fi
49014 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49015 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49016 fi
49017 if test "$wxUSE_LIBPNG" = "builtin" ; then
49018 wxconfig_3rdparty="png $wxconfig_3rdparty"
49019 fi
49020 if test "$wxUSE_ZLIB" = "builtin" ; then
49021 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49022 fi
49023
49024 for i in $wxconfig_3rdparty ; do
49025 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49026 done
49027
49028
49029 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49030 WXUNIV=1
49031
49032 case "$wxUNIV_THEMES" in
49033 ''|all)
49034 cat >>confdefs.h <<\_ACEOF
49035 #define wxUSE_ALL_THEMES 1
49036 _ACEOF
49037
49038 ;;
49039
49040 *)
49041 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49042 cat >>confdefs.h <<_ACEOF
49043 #define wxUSE_THEME_$t 1
49044 _ACEOF
49045
49046 done
49047 esac
49048 else
49049 WXUNIV=0
49050 fi
49051
49052
49053
49054
49055
49056
49057
49058
49059 if test $wxUSE_MONOLITHIC = "yes" ; then
49060 MONOLITHIC=1
49061 else
49062 MONOLITHIC=0
49063 fi
49064
49065 if test $wxUSE_PLUGINS = "yes" ; then
49066 USE_PLUGINS=1
49067 else
49068 USE_PLUGINS=0
49069 fi
49070
49071 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49072 USE_QA=1
49073 else
49074 USE_QA=0
49075 fi
49076
49077 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49078 OFFICIAL_BUILD=1
49079 else
49080 OFFICIAL_BUILD=0
49081 fi
49082
49083
49084
49085
49086
49087
49088
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108
49109 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119
49120 case "$TOOLKIT" in
49121 GTK)
49122 TOOLKIT_DESC="GTK+"
49123 if test "$WXGTK2" = 1; then
49124 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49125 if test "$wxUSE_GTKPRINT" = "yes" ; then
49126 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49127 fi
49128 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49129 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49130 fi
49131 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49132 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49133 fi
49134 if test "$wxUSE_LIBHILDON" = "yes"; then
49135 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49136 fi
49137 if test "$wxUSE_LIBHILDON2" = "yes"; then
49138 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49139 fi
49140
49141 if test "$TOOLKIT_EXTRA" != ""; then
49142 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49143 fi
49144 fi
49145 ;;
49146
49147 ?*)
49148 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49149 ;;
49150
49151 *)
49152 TOOLKIT_DESC="base only"
49153 ;;
49154 esac
49155
49156 if test "$wxUSE_WINE" = "yes"; then
49157 BAKEFILE_FORCE_PLATFORM=win32
49158 fi
49159
49160 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49161 then
49162 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49163 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49164 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49165 echo $ECHO_N "(cached) $ECHO_C" >&6
49166 else
49167
49168 echo '#include <stdio.h>
49169 const wchar_t test_var[] = L"awidetest";' > conftest.h
49170
49171 echo '#include "conftest.h"
49172 int main()
49173 {
49174 printf("%ls", test_var);
49175 return 0;
49176 }' > conftest.cpp
49177
49178 wx_cv_gcc_pch_bug="pch not supported"
49179
49180 if $CXX conftest.h >/dev/null 2>&1
49181 then
49182 wx_cv_gcc_pch_bug=
49183
49184 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49185 then
49186 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49187 grep awidetest >/dev/null
49188 then
49189 wx_cv_gcc_pch_bug=no
49190 else
49191 wx_cv_gcc_pch_bug=yes
49192 fi
49193 fi
49194 fi
49195
49196 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49197
49198 fi
49199 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49200 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49201
49202 if test "$wx_cv_gcc_pch_bug" = yes; then
49203 bk_use_pch=no
49204 fi
49205 fi
49206
49207
49208
49209
49210
49211
49212
49213 if test "x$BAKEFILE_HOST" = "x"; then
49214 if test "x${host}" = "x" ; then
49215 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49216 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49217 { (exit 1); exit 1; }; }
49218 fi
49219
49220 BAKEFILE_HOST="${host}"
49221 fi
49222
49223 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49224
49225 if test -n "$ac_tool_prefix"; then
49226 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49227 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49230 if test "${ac_cv_prog_RANLIB+set}" = set; then
49231 echo $ECHO_N "(cached) $ECHO_C" >&6
49232 else
49233 if test -n "$RANLIB"; then
49234 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49235 else
49236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49237 for as_dir in $PATH
49238 do
49239 IFS=$as_save_IFS
49240 test -z "$as_dir" && as_dir=.
49241 for ac_exec_ext in '' $ac_executable_extensions; do
49242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49243 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49245 break 2
49246 fi
49247 done
49248 done
49249 IFS=$as_save_IFS
49250
49251 fi
49252 fi
49253 RANLIB=$ac_cv_prog_RANLIB
49254 if test -n "$RANLIB"; then
49255 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49256 echo "${ECHO_T}$RANLIB" >&6; }
49257 else
49258 { echo "$as_me:$LINENO: result: no" >&5
49259 echo "${ECHO_T}no" >&6; }
49260 fi
49261
49262
49263 fi
49264 if test -z "$ac_cv_prog_RANLIB"; then
49265 ac_ct_RANLIB=$RANLIB
49266 # Extract the first word of "ranlib", so it can be a program name with args.
49267 set dummy ranlib; ac_word=$2
49268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49270 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49271 echo $ECHO_N "(cached) $ECHO_C" >&6
49272 else
49273 if test -n "$ac_ct_RANLIB"; then
49274 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49275 else
49276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49277 for as_dir in $PATH
49278 do
49279 IFS=$as_save_IFS
49280 test -z "$as_dir" && as_dir=.
49281 for ac_exec_ext in '' $ac_executable_extensions; do
49282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49283 ac_cv_prog_ac_ct_RANLIB="ranlib"
49284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49285 break 2
49286 fi
49287 done
49288 done
49289 IFS=$as_save_IFS
49290
49291 fi
49292 fi
49293 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49294 if test -n "$ac_ct_RANLIB"; then
49295 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49296 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49297 else
49298 { echo "$as_me:$LINENO: result: no" >&5
49299 echo "${ECHO_T}no" >&6; }
49300 fi
49301
49302 if test "x$ac_ct_RANLIB" = x; then
49303 RANLIB=":"
49304 else
49305 case $cross_compiling:$ac_tool_warned in
49306 yes:)
49307 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49308 whose name does not start with the host triplet. If you think this
49309 configuration is useful to you, please write to autoconf@gnu.org." >&5
49310 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49311 whose name does not start with the host triplet. If you think this
49312 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49313 ac_tool_warned=yes ;;
49314 esac
49315 RANLIB=$ac_ct_RANLIB
49316 fi
49317 else
49318 RANLIB="$ac_cv_prog_RANLIB"
49319 fi
49320
49321 # Find a good install program. We prefer a C program (faster),
49322 # so one script is as good as another. But avoid the broken or
49323 # incompatible versions:
49324 # SysV /etc/install, /usr/sbin/install
49325 # SunOS /usr/etc/install
49326 # IRIX /sbin/install
49327 # AIX /bin/install
49328 # AmigaOS /C/install, which installs bootblocks on floppy discs
49329 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49330 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49331 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49332 # OS/2's system install, which has a completely different semantic
49333 # ./install, which can be erroneously created by make from ./install.sh.
49334 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49335 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49336 if test -z "$INSTALL"; then
49337 if test "${ac_cv_path_install+set}" = set; then
49338 echo $ECHO_N "(cached) $ECHO_C" >&6
49339 else
49340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49341 for as_dir in $PATH
49342 do
49343 IFS=$as_save_IFS
49344 test -z "$as_dir" && as_dir=.
49345 # Account for people who put trailing slashes in PATH elements.
49346 case $as_dir/ in
49347 ./ | .// | /cC/* | \
49348 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49349 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49350 /usr/ucb/* ) ;;
49351 *)
49352 # OSF1 and SCO ODT 3.0 have their own names for install.
49353 # Don't use installbsd from OSF since it installs stuff as root
49354 # by default.
49355 for ac_prog in ginstall scoinst install; do
49356 for ac_exec_ext in '' $ac_executable_extensions; do
49357 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49358 if test $ac_prog = install &&
49359 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49360 # AIX install. It has an incompatible calling convention.
49361 :
49362 elif test $ac_prog = install &&
49363 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49364 # program-specific install script used by HP pwplus--don't use.
49365 :
49366 else
49367 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49368 break 3
49369 fi
49370 fi
49371 done
49372 done
49373 ;;
49374 esac
49375 done
49376 IFS=$as_save_IFS
49377
49378
49379 fi
49380 if test "${ac_cv_path_install+set}" = set; then
49381 INSTALL=$ac_cv_path_install
49382 else
49383 # As a last resort, use the slow shell script. Don't cache a
49384 # value for INSTALL within a source directory, because that will
49385 # break other packages using the cache if that directory is
49386 # removed, or if the value is a relative name.
49387 INSTALL=$ac_install_sh
49388 fi
49389 fi
49390 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49391 echo "${ECHO_T}$INSTALL" >&6; }
49392
49393 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49394 # It thinks the first close brace ends the variable substitution.
49395 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49396
49397 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49398
49399 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49400
49401 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49402 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49403 LN_S=$as_ln_s
49404 if test "$LN_S" = "ln -s"; then
49405 { echo "$as_me:$LINENO: result: yes" >&5
49406 echo "${ECHO_T}yes" >&6; }
49407 else
49408 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49409 echo "${ECHO_T}no, using $LN_S" >&6; }
49410 fi
49411
49412
49413 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49414 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49415 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49416 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49417 echo $ECHO_N "(cached) $ECHO_C" >&6
49418 else
49419 cat >conftest.make <<\_ACEOF
49420 SHELL = /bin/sh
49421 all:
49422 @echo '@@@%%%=$(MAKE)=@@@%%%'
49423 _ACEOF
49424 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49425 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49426 *@@@%%%=?*=@@@%%%*)
49427 eval ac_cv_prog_make_${ac_make}_set=yes;;
49428 *)
49429 eval ac_cv_prog_make_${ac_make}_set=no;;
49430 esac
49431 rm -f conftest.make
49432 fi
49433 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49434 { echo "$as_me:$LINENO: result: yes" >&5
49435 echo "${ECHO_T}yes" >&6; }
49436 SET_MAKE=
49437 else
49438 { echo "$as_me:$LINENO: result: no" >&5
49439 echo "${ECHO_T}no" >&6; }
49440 SET_MAKE="MAKE=${MAKE-make}"
49441 fi
49442
49443
49444
49445 if test "x$SUNCXX" = "xyes"; then
49446 AR=$CXX
49447 AROPTIONS="-xar -o"
49448
49449 elif test "x$SGICC" = "xyes"; then
49450 AR=$CXX
49451 AROPTIONS="-ar -o"
49452
49453 else
49454 if test -n "$ac_tool_prefix"; then
49455 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49456 set dummy ${ac_tool_prefix}ar; ac_word=$2
49457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49459 if test "${ac_cv_prog_AR+set}" = set; then
49460 echo $ECHO_N "(cached) $ECHO_C" >&6
49461 else
49462 if test -n "$AR"; then
49463 ac_cv_prog_AR="$AR" # Let the user override the test.
49464 else
49465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49466 for as_dir in $PATH
49467 do
49468 IFS=$as_save_IFS
49469 test -z "$as_dir" && as_dir=.
49470 for ac_exec_ext in '' $ac_executable_extensions; do
49471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49472 ac_cv_prog_AR="${ac_tool_prefix}ar"
49473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49474 break 2
49475 fi
49476 done
49477 done
49478 IFS=$as_save_IFS
49479
49480 fi
49481 fi
49482 AR=$ac_cv_prog_AR
49483 if test -n "$AR"; then
49484 { echo "$as_me:$LINENO: result: $AR" >&5
49485 echo "${ECHO_T}$AR" >&6; }
49486 else
49487 { echo "$as_me:$LINENO: result: no" >&5
49488 echo "${ECHO_T}no" >&6; }
49489 fi
49490
49491
49492 fi
49493 if test -z "$ac_cv_prog_AR"; then
49494 ac_ct_AR=$AR
49495 # Extract the first word of "ar", so it can be a program name with args.
49496 set dummy ar; ac_word=$2
49497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49499 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49500 echo $ECHO_N "(cached) $ECHO_C" >&6
49501 else
49502 if test -n "$ac_ct_AR"; then
49503 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49504 else
49505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49506 for as_dir in $PATH
49507 do
49508 IFS=$as_save_IFS
49509 test -z "$as_dir" && as_dir=.
49510 for ac_exec_ext in '' $ac_executable_extensions; do
49511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49512 ac_cv_prog_ac_ct_AR="ar"
49513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49514 break 2
49515 fi
49516 done
49517 done
49518 IFS=$as_save_IFS
49519
49520 fi
49521 fi
49522 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49523 if test -n "$ac_ct_AR"; then
49524 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49525 echo "${ECHO_T}$ac_ct_AR" >&6; }
49526 else
49527 { echo "$as_me:$LINENO: result: no" >&5
49528 echo "${ECHO_T}no" >&6; }
49529 fi
49530
49531 if test "x$ac_ct_AR" = x; then
49532 AR="ar"
49533 else
49534 case $cross_compiling:$ac_tool_warned in
49535 yes:)
49536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49537 whose name does not start with the host triplet. If you think this
49538 configuration is useful to you, please write to autoconf@gnu.org." >&5
49539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49540 whose name does not start with the host triplet. If you think this
49541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49542 ac_tool_warned=yes ;;
49543 esac
49544 AR=$ac_ct_AR
49545 fi
49546 else
49547 AR="$ac_cv_prog_AR"
49548 fi
49549
49550 AROPTIONS=rcu
49551 fi
49552
49553
49554 if test -n "$ac_tool_prefix"; then
49555 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49556 set dummy ${ac_tool_prefix}strip; ac_word=$2
49557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49559 if test "${ac_cv_prog_STRIP+set}" = set; then
49560 echo $ECHO_N "(cached) $ECHO_C" >&6
49561 else
49562 if test -n "$STRIP"; then
49563 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49564 else
49565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49566 for as_dir in $PATH
49567 do
49568 IFS=$as_save_IFS
49569 test -z "$as_dir" && as_dir=.
49570 for ac_exec_ext in '' $ac_executable_extensions; do
49571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49572 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49574 break 2
49575 fi
49576 done
49577 done
49578 IFS=$as_save_IFS
49579
49580 fi
49581 fi
49582 STRIP=$ac_cv_prog_STRIP
49583 if test -n "$STRIP"; then
49584 { echo "$as_me:$LINENO: result: $STRIP" >&5
49585 echo "${ECHO_T}$STRIP" >&6; }
49586 else
49587 { echo "$as_me:$LINENO: result: no" >&5
49588 echo "${ECHO_T}no" >&6; }
49589 fi
49590
49591
49592 fi
49593 if test -z "$ac_cv_prog_STRIP"; then
49594 ac_ct_STRIP=$STRIP
49595 # Extract the first word of "strip", so it can be a program name with args.
49596 set dummy strip; ac_word=$2
49597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49599 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49600 echo $ECHO_N "(cached) $ECHO_C" >&6
49601 else
49602 if test -n "$ac_ct_STRIP"; then
49603 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49604 else
49605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49606 for as_dir in $PATH
49607 do
49608 IFS=$as_save_IFS
49609 test -z "$as_dir" && as_dir=.
49610 for ac_exec_ext in '' $ac_executable_extensions; do
49611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49612 ac_cv_prog_ac_ct_STRIP="strip"
49613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49614 break 2
49615 fi
49616 done
49617 done
49618 IFS=$as_save_IFS
49619
49620 fi
49621 fi
49622 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49623 if test -n "$ac_ct_STRIP"; then
49624 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49625 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49626 else
49627 { echo "$as_me:$LINENO: result: no" >&5
49628 echo "${ECHO_T}no" >&6; }
49629 fi
49630
49631 if test "x$ac_ct_STRIP" = x; then
49632 STRIP=":"
49633 else
49634 case $cross_compiling:$ac_tool_warned in
49635 yes:)
49636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49637 whose name does not start with the host triplet. If you think this
49638 configuration is useful to you, please write to autoconf@gnu.org." >&5
49639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49640 whose name does not start with the host triplet. If you think this
49641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49642 ac_tool_warned=yes ;;
49643 esac
49644 STRIP=$ac_ct_STRIP
49645 fi
49646 else
49647 STRIP="$ac_cv_prog_STRIP"
49648 fi
49649
49650 if test -n "$ac_tool_prefix"; then
49651 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49652 set dummy ${ac_tool_prefix}nm; ac_word=$2
49653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49655 if test "${ac_cv_prog_NM+set}" = set; then
49656 echo $ECHO_N "(cached) $ECHO_C" >&6
49657 else
49658 if test -n "$NM"; then
49659 ac_cv_prog_NM="$NM" # Let the user override the test.
49660 else
49661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49662 for as_dir in $PATH
49663 do
49664 IFS=$as_save_IFS
49665 test -z "$as_dir" && as_dir=.
49666 for ac_exec_ext in '' $ac_executable_extensions; do
49667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49668 ac_cv_prog_NM="${ac_tool_prefix}nm"
49669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49670 break 2
49671 fi
49672 done
49673 done
49674 IFS=$as_save_IFS
49675
49676 fi
49677 fi
49678 NM=$ac_cv_prog_NM
49679 if test -n "$NM"; then
49680 { echo "$as_me:$LINENO: result: $NM" >&5
49681 echo "${ECHO_T}$NM" >&6; }
49682 else
49683 { echo "$as_me:$LINENO: result: no" >&5
49684 echo "${ECHO_T}no" >&6; }
49685 fi
49686
49687
49688 fi
49689 if test -z "$ac_cv_prog_NM"; then
49690 ac_ct_NM=$NM
49691 # Extract the first word of "nm", so it can be a program name with args.
49692 set dummy nm; ac_word=$2
49693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49695 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49696 echo $ECHO_N "(cached) $ECHO_C" >&6
49697 else
49698 if test -n "$ac_ct_NM"; then
49699 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49700 else
49701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49702 for as_dir in $PATH
49703 do
49704 IFS=$as_save_IFS
49705 test -z "$as_dir" && as_dir=.
49706 for ac_exec_ext in '' $ac_executable_extensions; do
49707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49708 ac_cv_prog_ac_ct_NM="nm"
49709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49710 break 2
49711 fi
49712 done
49713 done
49714 IFS=$as_save_IFS
49715
49716 fi
49717 fi
49718 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49719 if test -n "$ac_ct_NM"; then
49720 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49721 echo "${ECHO_T}$ac_ct_NM" >&6; }
49722 else
49723 { echo "$as_me:$LINENO: result: no" >&5
49724 echo "${ECHO_T}no" >&6; }
49725 fi
49726
49727 if test "x$ac_ct_NM" = x; then
49728 NM=":"
49729 else
49730 case $cross_compiling:$ac_tool_warned in
49731 yes:)
49732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49733 whose name does not start with the host triplet. If you think this
49734 configuration is useful to you, please write to autoconf@gnu.org." >&5
49735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49736 whose name does not start with the host triplet. If you think this
49737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49738 ac_tool_warned=yes ;;
49739 esac
49740 NM=$ac_ct_NM
49741 fi
49742 else
49743 NM="$ac_cv_prog_NM"
49744 fi
49745
49746
49747 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49748 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49749 INSTALL_TEST_DIR=acbftest$$
49750 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49751 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49752 rmdir $INSTALL_TEST_DIR
49753 INSTALL_DIR='$(INSTALL) -d'
49754 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49755 echo "${ECHO_T}$INSTALL -d" >&6; }
49756 else
49757 INSTALL_DIR="mkdir -p"
49758 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49759 echo "${ECHO_T}mkdir -p" >&6; }
49760 fi
49761
49762
49763 LDFLAGS_GUI=
49764 case ${BAKEFILE_HOST} in
49765 *-*-cygwin* | *-*-mingw32* )
49766 LDFLAGS_GUI="-mwindows"
49767 esac
49768
49769
49770 fi
49771
49772 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49773 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49774 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49775 echo $ECHO_N "(cached) $ECHO_C" >&6
49776 else
49777
49778 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49779 egrep -s GNU > /dev/null); then
49780 bakefile_cv_prog_makeisgnu="yes"
49781 else
49782 bakefile_cv_prog_makeisgnu="no"
49783 fi
49784
49785 fi
49786 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49787 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49788
49789 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49790 IF_GNU_MAKE=""
49791 else
49792 IF_GNU_MAKE="#"
49793 fi
49794
49795
49796
49797 PLATFORM_UNIX=0
49798 PLATFORM_WIN32=0
49799 PLATFORM_MSDOS=0
49800 PLATFORM_MAC=0
49801 PLATFORM_MACOS=0
49802 PLATFORM_MACOSX=0
49803 PLATFORM_OS2=0
49804 PLATFORM_BEOS=0
49805
49806 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49807 case "${BAKEFILE_HOST}" in
49808 *-*-mingw32* )
49809 PLATFORM_WIN32=1
49810 ;;
49811 *-pc-msdosdjgpp )
49812 PLATFORM_MSDOS=1
49813 ;;
49814 *-pc-os2_emx | *-pc-os2-emx )
49815 PLATFORM_OS2=1
49816 ;;
49817 *-*-darwin* )
49818 PLATFORM_MAC=1
49819 PLATFORM_MACOSX=1
49820 ;;
49821 *-*-beos* )
49822 PLATFORM_BEOS=1
49823 ;;
49824 powerpc-apple-macos* )
49825 PLATFORM_MAC=1
49826 PLATFORM_MACOS=1
49827 ;;
49828 * )
49829 PLATFORM_UNIX=1
49830 ;;
49831 esac
49832 else
49833 case "$BAKEFILE_FORCE_PLATFORM" in
49834 win32 )
49835 PLATFORM_WIN32=1
49836 ;;
49837 msdos )
49838 PLATFORM_MSDOS=1
49839 ;;
49840 os2 )
49841 PLATFORM_OS2=1
49842 ;;
49843 darwin )
49844 PLATFORM_MAC=1
49845 PLATFORM_MACOSX=1
49846 ;;
49847 unix )
49848 PLATFORM_UNIX=1
49849 ;;
49850 beos )
49851 PLATFORM_BEOS=1
49852 ;;
49853 * )
49854 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49855 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49856 { (exit 1); exit 1; }; }
49857 ;;
49858 esac
49859 fi
49860
49861
49862
49863
49864
49865
49866
49867
49868
49869
49870
49871 # Check whether --enable-omf was given.
49872 if test "${enable_omf+set}" = set; then
49873 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49874 fi
49875
49876
49877 case "${BAKEFILE_HOST}" in
49878 *-*-darwin* )
49879 if test "x$GCC" = "xyes"; then
49880 CFLAGS="$CFLAGS -fno-common"
49881 CXXFLAGS="$CXXFLAGS -fno-common"
49882 fi
49883 if test "x$XLCC" = "xyes"; then
49884 CFLAGS="$CFLAGS -qnocommon"
49885 CXXFLAGS="$CXXFLAGS -qnocommon"
49886 fi
49887 ;;
49888
49889 *-pc-os2_emx | *-pc-os2-emx )
49890 if test "x$bk_os2_use_omf" = "xyes" ; then
49891 AR=emxomfar
49892 RANLIB=:
49893 LDFLAGS="-Zomf $LDFLAGS"
49894 CFLAGS="-Zomf $CFLAGS"
49895 CXXFLAGS="-Zomf $CXXFLAGS"
49896 OS2_LIBEXT="lib"
49897 else
49898 OS2_LIBEXT="a"
49899 fi
49900 ;;
49901
49902 i*86-*-beos* )
49903 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49904 ;;
49905 esac
49906
49907
49908 SO_SUFFIX="so"
49909 SO_SUFFIX_MODULE="so"
49910 EXEEXT=""
49911 LIBPREFIX="lib"
49912 LIBEXT=".a"
49913 DLLPREFIX="lib"
49914 DLLPREFIX_MODULE=""
49915 DLLIMP_SUFFIX=""
49916 dlldir="$libdir"
49917
49918 case "${BAKEFILE_HOST}" in
49919 ia64-hp-hpux* )
49920 ;;
49921 *-hp-hpux* )
49922 SO_SUFFIX="sl"
49923 SO_SUFFIX_MODULE="sl"
49924 ;;
49925 *-*-aix* )
49926 SO_SUFFIX="a"
49927 SO_SUFFIX_MODULE="a"
49928 ;;
49929 *-*-cygwin* )
49930 SO_SUFFIX="dll"
49931 SO_SUFFIX_MODULE="dll"
49932 DLLIMP_SUFFIX="dll.a"
49933 EXEEXT=".exe"
49934 DLLPREFIX="cyg"
49935 dlldir="$bindir"
49936 ;;
49937 *-*-mingw32* )
49938 SO_SUFFIX="dll"
49939 SO_SUFFIX_MODULE="dll"
49940 DLLIMP_SUFFIX="dll.a"
49941 EXEEXT=".exe"
49942 DLLPREFIX=""
49943 dlldir="$bindir"
49944 ;;
49945 *-pc-msdosdjgpp )
49946 EXEEXT=".exe"
49947 DLLPREFIX=""
49948 dlldir="$bindir"
49949 ;;
49950 *-pc-os2_emx | *-pc-os2-emx )
49951 SO_SUFFIX="dll"
49952 SO_SUFFIX_MODULE="dll"
49953 DLLIMP_SUFFIX=$OS2_LIBEXT
49954 EXEEXT=".exe"
49955 DLLPREFIX=""
49956 LIBPREFIX=""
49957 LIBEXT=".$OS2_LIBEXT"
49958 dlldir="$bindir"
49959 ;;
49960 *-*-darwin* )
49961 SO_SUFFIX="dylib"
49962 SO_SUFFIX_MODULE="bundle"
49963 ;;
49964 esac
49965
49966 if test "x$DLLIMP_SUFFIX" = "x" ; then
49967 DLLIMP_SUFFIX="$SO_SUFFIX"
49968 fi
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978
49979
49980
49981 PIC_FLAG=""
49982 if test "x$GCC" = "xyes"; then
49983 PIC_FLAG="-fPIC"
49984 fi
49985
49986 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49987 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49988 WINDOWS_IMPLIB=0
49989
49990 case "${BAKEFILE_HOST}" in
49991 *-hp-hpux* )
49992 if test "x$GCC" != "xyes"; then
49993 LDFLAGS="$LDFLAGS -L/usr/lib"
49994
49995 SHARED_LD_CC="${CC} -b -o"
49996 SHARED_LD_CXX="${CXX} -b -o"
49997 PIC_FLAG="+Z"
49998 fi
49999 ;;
50000
50001 *-*-linux* )
50002 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50003 PIC_FLAG="-KPIC"
50004 elif test "x$SUNCXX" = "xyes"; then
50005 SHARED_LD_CC="${CC} -G -o"
50006 SHARED_LD_CXX="${CXX} -G -o"
50007 PIC_FLAG="-KPIC"
50008 fi
50009 ;;
50010
50011 *-*-solaris2* )
50012 if test "x$SUNCXX" = xyes ; then
50013 SHARED_LD_CC="${CC} -G -o"
50014 SHARED_LD_CXX="${CXX} -G -o"
50015 PIC_FLAG="-KPIC"
50016 fi
50017 ;;
50018
50019 *-*-darwin* )
50020
50021 D='$'
50022 cat <<EOF >shared-ld-sh
50023 #!/bin/sh
50024 #-----------------------------------------------------------------------------
50025 #-- Name: distrib/mac/shared-ld-sh
50026 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50027 #-- Author: Gilles Depeyrot
50028 #-- Copyright: (c) 2002 Gilles Depeyrot
50029 #-- Licence: any use permitted
50030 #-----------------------------------------------------------------------------
50031
50032 verbose=0
50033 args=""
50034 objects=""
50035 linking_flag="-dynamiclib"
50036 ldargs="-r -keep_private_externs -nostdlib"
50037
50038 if test "x${D}CXX" = "x"; then
50039 CXX="c++"
50040 fi
50041
50042 while test ${D}# -gt 0; do
50043 case ${D}1 in
50044
50045 -v)
50046 verbose=1
50047 ;;
50048
50049 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50050 # collect these options and values
50051 args="${D}{args} ${D}1 ${D}2"
50052 shift
50053 ;;
50054
50055 -arch|-isysroot)
50056 # collect these options and values
50057 ldargs="${D}{ldargs} ${D}1 ${D}2"
50058 shift
50059 ;;
50060
50061 -s|-Wl,*)
50062 # collect these load args
50063 ldargs="${D}{ldargs} ${D}1"
50064 ;;
50065
50066 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50067 # collect these options
50068 args="${D}{args} ${D}1"
50069 ;;
50070
50071 -dynamiclib|-bundle)
50072 linking_flag="${D}1"
50073 ;;
50074
50075 -*)
50076 echo "shared-ld: unhandled option '${D}1'"
50077 exit 1
50078 ;;
50079
50080 *.o | *.a | *.dylib)
50081 # collect object files
50082 objects="${D}{objects} ${D}1"
50083 ;;
50084
50085 *)
50086 echo "shared-ld: unhandled argument '${D}1'"
50087 exit 1
50088 ;;
50089
50090 esac
50091 shift
50092 done
50093
50094 status=0
50095
50096 #
50097 # Link one module containing all the others
50098 #
50099 if test ${D}{verbose} = 1; then
50100 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50101 fi
50102 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50103 status=${D}?
50104
50105 #
50106 # Link the shared library from the single module created, but only if the
50107 # previous command didn't fail:
50108 #
50109 if test ${D}{status} = 0; then
50110 if test ${D}{verbose} = 1; then
50111 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50112 fi
50113 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50114 status=${D}?
50115 fi
50116
50117 #
50118 # Remove intermediate module
50119 #
50120 rm -f master.${D}${D}.o
50121
50122 exit ${D}status
50123 EOF
50124
50125 chmod +x shared-ld-sh
50126
50127 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50128 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50129
50130
50131 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50132 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50133 if test "${bakefile_cv_gcc31+set}" = set; then
50134 echo $ECHO_N "(cached) $ECHO_C" >&6
50135 else
50136
50137 cat >conftest.$ac_ext <<_ACEOF
50138 /* confdefs.h. */
50139 _ACEOF
50140 cat confdefs.h >>conftest.$ac_ext
50141 cat >>conftest.$ac_ext <<_ACEOF
50142 /* end confdefs.h. */
50143
50144 int
50145 main ()
50146 {
50147
50148 #if (__GNUC__ < 3) || \
50149 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50150 This is old gcc
50151 #endif
50152
50153 ;
50154 return 0;
50155 }
50156 _ACEOF
50157 rm -f conftest.$ac_objext
50158 if { (ac_try="$ac_compile"
50159 case "(($ac_try" in
50160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50161 *) ac_try_echo=$ac_try;;
50162 esac
50163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50164 (eval "$ac_compile") 2>conftest.er1
50165 ac_status=$?
50166 grep -v '^ *+' conftest.er1 >conftest.err
50167 rm -f conftest.er1
50168 cat conftest.err >&5
50169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50170 (exit $ac_status); } && {
50171 test -z "$ac_c_werror_flag" ||
50172 test ! -s conftest.err
50173 } && test -s conftest.$ac_objext; then
50174
50175 bakefile_cv_gcc31=yes
50176
50177 else
50178 echo "$as_me: failed program was:" >&5
50179 sed 's/^/| /' conftest.$ac_ext >&5
50180
50181
50182 bakefile_cv_gcc31=no
50183
50184
50185 fi
50186
50187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50188
50189 fi
50190 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50191 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50192 if test "$bakefile_cv_gcc31" = "no"; then
50193 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50194 SHARED_LD_CXX="$SHARED_LD_CC"
50195 else
50196 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50197 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50198 fi
50199
50200 if test "x$GCC" == "xyes"; then
50201 PIC_FLAG="-dynamic -fPIC"
50202 fi
50203 if test "x$XLCC" = "xyes"; then
50204 PIC_FLAG="-dynamic -DPIC"
50205 fi
50206 ;;
50207
50208 *-*-aix* )
50209 if test "x$GCC" = "xyes"; then
50210 PIC_FLAG=""
50211
50212 case "${BAKEFILE_HOST}" in
50213 *-*-aix5* )
50214 LD_EXPFULL="-Wl,-bexpfull"
50215 ;;
50216 esac
50217
50218 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50219 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50220 else
50221 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50222 set dummy makeC++SharedLib; ac_word=$2
50223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50225 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50226 echo $ECHO_N "(cached) $ECHO_C" >&6
50227 else
50228 if test -n "$AIX_CXX_LD"; then
50229 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50230 else
50231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50232 for as_dir in $PATH
50233 do
50234 IFS=$as_save_IFS
50235 test -z "$as_dir" && as_dir=.
50236 for ac_exec_ext in '' $ac_executable_extensions; do
50237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50238 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50240 break 2
50241 fi
50242 done
50243 done
50244 IFS=$as_save_IFS
50245
50246 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50247 fi
50248 fi
50249 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50250 if test -n "$AIX_CXX_LD"; then
50251 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50252 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50253 else
50254 { echo "$as_me:$LINENO: result: no" >&5
50255 echo "${ECHO_T}no" >&6; }
50256 fi
50257
50258
50259 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50260 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50261 fi
50262 ;;
50263
50264 *-*-beos* )
50265 SHARED_LD_CC="${LD} -nostart -o"
50266 SHARED_LD_CXX="${LD} -nostart -o"
50267 ;;
50268
50269 *-*-irix* )
50270 if test "x$GCC" != "xyes"; then
50271 PIC_FLAG="-KPIC"
50272 fi
50273 ;;
50274
50275 *-*-cygwin* | *-*-mingw32* )
50276 PIC_FLAG=""
50277 SHARED_LD_CC="\$(CC) -shared -o"
50278 SHARED_LD_CXX="\$(CXX) -shared -o"
50279 WINDOWS_IMPLIB=1
50280 ;;
50281
50282 *-pc-os2_emx | *-pc-os2-emx )
50283 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50284 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50285 PIC_FLAG=""
50286
50287 D='$'
50288 cat <<EOF >dllar.sh
50289 #!/bin/sh
50290 #
50291 # dllar - a tool to build both a .dll and an .a file
50292 # from a set of object (.o) files for EMX/OS2.
50293 #
50294 # Written by Andrew Zabolotny, bit@freya.etu.ru
50295 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50296 #
50297 # This script will accept a set of files on the command line.
50298 # All the public symbols from the .o files will be exported into
50299 # a .DEF file, then linker will be run (through gcc) against them to
50300 # build a shared library consisting of all given .o files. All libraries
50301 # (.a) will be first decompressed into component .o files then act as
50302 # described above. You can optionally give a description (-d "description")
50303 # which will be put into .DLL. To see the list of accepted options (as well
50304 # as command-line format) simply run this program without options. The .DLL
50305 # is built to be imported by name (there is no guarantee that new versions
50306 # of the library you build will have same ordinals for same symbols).
50307 #
50308 # dllar is free software; you can redistribute it and/or modify
50309 # it under the terms of the GNU General Public License as published by
50310 # the Free Software Foundation; either version 2, or (at your option)
50311 # any later version.
50312 #
50313 # dllar is distributed in the hope that it will be useful,
50314 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50315 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50316 # GNU General Public License for more details.
50317 #
50318 # You should have received a copy of the GNU General Public License
50319 # along with dllar; see the file COPYING. If not, write to the Free
50320 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50321 # 02111-1307, USA.
50322
50323 # To successfuly run this program you will need:
50324 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50325 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50326 # - gcc
50327 # (used to build the .dll)
50328 # - emxexp
50329 # (used to create .def file from .o files)
50330 # - emximp
50331 # (used to create .a file from .def file)
50332 # - GNU text utilites (cat, sort, uniq)
50333 # used to process emxexp output
50334 # - GNU file utilities (mv, rm)
50335 # - GNU sed
50336 # - lxlite (optional, see flag below)
50337 # (used for general .dll cleanup)
50338 #
50339
50340 flag_USE_LXLITE=1;
50341
50342 #
50343 # helper functions
50344 # basnam, variant of basename, which does _not_ remove the path, _iff_
50345 # second argument (suffix to remove) is given
50346 basnam(){
50347 case ${D}# in
50348 1)
50349 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50350 ;;
50351 2)
50352 echo ${D}1 | sed 's/'${D}2'${D}//'
50353 ;;
50354 *)
50355 echo "error in basnam ${D}*"
50356 exit 8
50357 ;;
50358 esac
50359 }
50360
50361 # Cleanup temporary files and output
50362 CleanUp() {
50363 cd ${D}curDir
50364 for i in ${D}inputFiles ; do
50365 case ${D}i in
50366 *!)
50367 rm -rf \`basnam ${D}i !\`
50368 ;;
50369 *)
50370 ;;
50371 esac
50372 done
50373
50374 # Kill result in case of failure as there is just to many stupid make/nmake
50375 # things out there which doesn't do this.
50376 if [ ${D}# -eq 0 ]; then
50377 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50378 fi
50379 }
50380
50381 # Print usage and exit script with rc=1.
50382 PrintHelp() {
50383 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50384 echo ' [-name-mangler-script script.sh]'
50385 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50386 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50387 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50388 echo ' [*.o] [*.a]'
50389 echo '*> "output_file" should have no extension.'
50390 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50391 echo ' The import library name is derived from this and is set to "name".a,'
50392 echo ' unless overridden by -import'
50393 echo '*> "importlib_name" should have no extension.'
50394 echo ' If it has the .o, or .a extension, it is automatically removed.'
50395 echo ' This name is used as the import library name and may be longer and'
50396 echo ' more descriptive than the DLL name which has to follow the old '
50397 echo ' 8.3 convention of FAT.'
50398 echo '*> "script.sh may be given to override the output_file name by a'
50399 echo ' different name. It is mainly useful if the regular make process'
50400 echo ' of some package does not take into account OS/2 restriction of'
50401 echo ' DLL name lengths. It takes the importlib name as input and is'
50402 echo ' supposed to procude a shorter name as output. The script should'
50403 echo ' expect to get importlib_name without extension and should produce'
50404 echo ' a (max.) 8 letter name without extension.'
50405 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50406 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50407 echo ' These flags will be put at the start of GCC command line.'
50408 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50409 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50410 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50411 echo ' If the last character of a symbol is "*", all symbols beginning'
50412 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50413 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50414 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50415 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50416 echo ' C runtime DLLs.'
50417 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50418 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50419 echo ' unchanged to GCC at the end of command line.'
50420 echo '*> If you create a DLL from a library and you do not specify -o,'
50421 echo ' the basename for DLL and import library will be set to library name,'
50422 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50423 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50424 echo ' library will be renamed into gcc_s.a.'
50425 echo '--------'
50426 echo 'Example:'
50427 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50428 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50429 CleanUp
50430 exit 1
50431 }
50432
50433 # Execute a command.
50434 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50435 # @Uses Whatever CleanUp() uses.
50436 doCommand() {
50437 echo "${D}*"
50438 eval ${D}*
50439 rcCmd=${D}?
50440
50441 if [ ${D}rcCmd -ne 0 ]; then
50442 echo "command failed, exit code="${D}rcCmd
50443 CleanUp
50444 exit ${D}rcCmd
50445 fi
50446 }
50447
50448 # main routine
50449 # setup globals
50450 cmdLine=${D}*
50451 outFile=""
50452 outimpFile=""
50453 inputFiles=""
50454 renameScript=""
50455 description=""
50456 CC=gcc.exe
50457 CFLAGS="-s -Zcrtdll"
50458 EXTRA_CFLAGS=""
50459 EXPORT_BY_ORDINALS=0
50460 exclude_symbols=""
50461 library_flags=""
50462 curDir=\`pwd\`
50463 curDirS=curDir
50464 case ${D}curDirS in
50465 */)
50466 ;;
50467 *)
50468 curDirS=${D}{curDirS}"/"
50469 ;;
50470 esac
50471 # Parse commandline
50472 libsToLink=0
50473 omfLinking=0
50474 while [ ${D}1 ]; do
50475 case ${D}1 in
50476 -ord*)
50477 EXPORT_BY_ORDINALS=1;
50478 ;;
50479 -o*)
50480 shift
50481 outFile=${D}1
50482 ;;
50483 -i*)
50484 shift
50485 outimpFile=${D}1
50486 ;;
50487 -name-mangler-script)
50488 shift
50489 renameScript=${D}1
50490 ;;
50491 -d*)
50492 shift
50493 description=${D}1
50494 ;;
50495 -f*)
50496 shift
50497 CFLAGS=${D}1
50498 ;;
50499 -c*)
50500 shift
50501 CC=${D}1
50502 ;;
50503 -h*)
50504 PrintHelp
50505 ;;
50506 -ex*)
50507 shift
50508 exclude_symbols=${D}{exclude_symbols}${D}1" "
50509 ;;
50510 -libf*)
50511 shift
50512 library_flags=${D}{library_flags}${D}1" "
50513 ;;
50514 -nocrt*)
50515 CFLAGS="-s"
50516 ;;
50517 -nolxl*)
50518 flag_USE_LXLITE=0
50519 ;;
50520 -* | /*)
50521 case ${D}1 in
50522 -L* | -l*)
50523 libsToLink=1
50524 ;;
50525 -Zomf)
50526 omfLinking=1
50527 ;;
50528 *)
50529 ;;
50530 esac
50531 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50532 ;;
50533 *.dll)
50534 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50535 if [ ${D}omfLinking -eq 1 ]; then
50536 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50537 else
50538 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50539 fi
50540 ;;
50541 *)
50542 found=0;
50543 if [ ${D}libsToLink -ne 0 ]; then
50544 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50545 else
50546 for file in ${D}1 ; do
50547 if [ -f ${D}file ]; then
50548 inputFiles="${D}{inputFiles} ${D}file"
50549 found=1
50550 fi
50551 done
50552 if [ ${D}found -eq 0 ]; then
50553 echo "ERROR: No file(s) found: "${D}1
50554 exit 8
50555 fi
50556 fi
50557 ;;
50558 esac
50559 shift
50560 done # iterate cmdline words
50561
50562 #
50563 if [ -z "${D}inputFiles" ]; then
50564 echo "dllar: no input files"
50565 PrintHelp
50566 fi
50567
50568 # Now extract all .o files from .a files
50569 newInputFiles=""
50570 for file in ${D}inputFiles ; do
50571 case ${D}file in
50572 *.a | *.lib)
50573 case ${D}file in
50574 *.a)
50575 suffix=".a"
50576 AR="ar"
50577 ;;
50578 *.lib)
50579 suffix=".lib"
50580 AR="emxomfar"
50581 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50582 ;;
50583 *)
50584 ;;
50585 esac
50586 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50587 mkdir ${D}dirname
50588 if [ ${D}? -ne 0 ]; then
50589 echo "Failed to create subdirectory ./${D}dirname"
50590 CleanUp
50591 exit 8;
50592 fi
50593 # Append '!' to indicate archive
50594 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50595 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50596 cd ${D}curDir
50597 found=0;
50598 for subfile in ${D}dirname/*.o* ; do
50599 if [ -f ${D}subfile ]; then
50600 found=1
50601 if [ -s ${D}subfile ]; then
50602 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50603 newInputFiles="${D}newInputFiles ${D}subfile"
50604 fi
50605 fi
50606 done
50607 if [ ${D}found -eq 0 ]; then
50608 echo "WARNING: there are no files in archive \\'${D}file\\'"
50609 fi
50610 ;;
50611 *)
50612 newInputFiles="${D}{newInputFiles} ${D}file"
50613 ;;
50614 esac
50615 done
50616 inputFiles="${D}newInputFiles"
50617
50618 # Output filename(s).
50619 do_backup=0;
50620 if [ -z ${D}outFile ]; then
50621 do_backup=1;
50622 set outFile ${D}inputFiles; outFile=${D}2
50623 fi
50624
50625 # If it is an archive, remove the '!' and the '_%' suffixes
50626 case ${D}outFile in
50627 *_%!)
50628 outFile=\`basnam ${D}outFile _%!\`
50629 ;;
50630 *)
50631 ;;
50632 esac
50633 case ${D}outFile in
50634 *.dll)
50635 outFile=\`basnam ${D}outFile .dll\`
50636 ;;
50637 *.DLL)
50638 outFile=\`basnam ${D}outFile .DLL\`
50639 ;;
50640 *.o)
50641 outFile=\`basnam ${D}outFile .o\`
50642 ;;
50643 *.obj)
50644 outFile=\`basnam ${D}outFile .obj\`
50645 ;;
50646 *.a)
50647 outFile=\`basnam ${D}outFile .a\`
50648 ;;
50649 *.lib)
50650 outFile=\`basnam ${D}outFile .lib\`
50651 ;;
50652 *)
50653 ;;
50654 esac
50655 case ${D}outimpFile in
50656 *.a)
50657 outimpFile=\`basnam ${D}outimpFile .a\`
50658 ;;
50659 *.lib)
50660 outimpFile=\`basnam ${D}outimpFile .lib\`
50661 ;;
50662 *)
50663 ;;
50664 esac
50665 if [ -z ${D}outimpFile ]; then
50666 outimpFile=${D}outFile
50667 fi
50668 defFile="${D}{outFile}.def"
50669 arcFile="${D}{outimpFile}.a"
50670 arcFile2="${D}{outimpFile}.lib"
50671
50672 #create ${D}dllFile as something matching 8.3 restrictions,
50673 if [ -z ${D}renameScript ] ; then
50674 dllFile="${D}outFile"
50675 else
50676 dllFile=\`${D}renameScript ${D}outimpFile\`
50677 fi
50678
50679 if [ ${D}do_backup -ne 0 ] ; then
50680 if [ -f ${D}arcFile ] ; then
50681 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50682 fi
50683 if [ -f ${D}arcFile2 ] ; then
50684 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50685 fi
50686 fi
50687
50688 # Extract public symbols from all the object files.
50689 tmpdefFile=${D}{defFile}_%
50690 rm -f ${D}tmpdefFile
50691 for file in ${D}inputFiles ; do
50692 case ${D}file in
50693 *!)
50694 ;;
50695 *)
50696 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50697 ;;
50698 esac
50699 done
50700
50701 # Create the def file.
50702 rm -f ${D}defFile
50703 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50704 dllFile="${D}{dllFile}.dll"
50705 if [ ! -z ${D}description ]; then
50706 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50707 fi
50708 echo "EXPORTS" >> ${D}defFile
50709
50710 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50711 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50712
50713 # Checks if the export is ok or not.
50714 for word in ${D}exclude_symbols; do
50715 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50716 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50717 done
50718
50719
50720 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50721 sed "=" < ${D}tmpdefFile | \\
50722 sed '
50723 N
50724 : loop
50725 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50726 t loop
50727 ' > ${D}{tmpdefFile}%
50728 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50729 else
50730 rm -f ${D}{tmpdefFile}%
50731 fi
50732 cat ${D}tmpdefFile >> ${D}defFile
50733 rm -f ${D}tmpdefFile
50734
50735 # Do linking, create implib, and apply lxlite.
50736 gccCmdl="";
50737 for file in ${D}inputFiles ; do
50738 case ${D}file in
50739 *!)
50740 ;;
50741 *)
50742 gccCmdl="${D}gccCmdl ${D}file"
50743 ;;
50744 esac
50745 done
50746 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50747 touch "${D}{outFile}.dll"
50748
50749 doCommand "emximp -o ${D}arcFile ${D}defFile"
50750 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50751 add_flags="";
50752 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50753 add_flags="-ynd"
50754 fi
50755 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50756 fi
50757 doCommand "emxomf -s -l ${D}arcFile"
50758
50759 # Successful exit.
50760 CleanUp 1
50761 exit 0
50762 EOF
50763
50764 chmod +x dllar.sh
50765 ;;
50766
50767 powerpc-apple-macos* | \
50768 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50769 *-*-mirbsd* | \
50770 *-*-sunos4* | \
50771 *-*-osf* | \
50772 *-*-dgux5* | \
50773 *-*-sysv5* | \
50774 *-pc-msdosdjgpp )
50775 ;;
50776
50777 *)
50778 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50779 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50780 { (exit 1); exit 1; }; }
50781 esac
50782
50783 if test "x$PIC_FLAG" != "x" ; then
50784 PIC_FLAG="$PIC_FLAG -DPIC"
50785 fi
50786
50787 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50788 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50789 fi
50790 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50791 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50792 fi
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802 USE_SOVERSION=0
50803 USE_SOVERLINUX=0
50804 USE_SOVERSOLARIS=0
50805 USE_SOVERCYGWIN=0
50806 USE_SOTWOSYMLINKS=0
50807 USE_MACVERSION=0
50808 SONAME_FLAG=
50809
50810 case "${BAKEFILE_HOST}" in
50811 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50812 *-*-k*bsd*-gnu | *-*-mirbsd* )
50813 if test "x$SUNCXX" = "xyes"; then
50814 SONAME_FLAG="-h "
50815 else
50816 SONAME_FLAG="-Wl,-soname,"
50817 fi
50818 USE_SOVERSION=1
50819 USE_SOVERLINUX=1
50820 USE_SOTWOSYMLINKS=1
50821 ;;
50822
50823 *-*-solaris2* )
50824 SONAME_FLAG="-h "
50825 USE_SOVERSION=1
50826 USE_SOVERSOLARIS=1
50827 ;;
50828
50829 *-*-darwin* )
50830 USE_MACVERSION=1
50831 USE_SOVERSION=1
50832 USE_SOTWOSYMLINKS=1
50833 ;;
50834
50835 *-*-cygwin* )
50836 USE_SOVERSION=1
50837 USE_SOVERCYGWIN=1
50838 ;;
50839 esac
50840
50841
50842
50843
50844
50845
50846
50847
50848
50849
50850 # Check whether --enable-dependency-tracking was given.
50851 if test "${enable_dependency_tracking+set}" = set; then
50852 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50853 fi
50854
50855
50856 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50857 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50858
50859 BK_DEPS=""
50860 if test "x$bk_use_trackdeps" = "xno" ; then
50861 DEPS_TRACKING=0
50862 { echo "$as_me:$LINENO: result: disabled" >&5
50863 echo "${ECHO_T}disabled" >&6; }
50864 else
50865 DEPS_TRACKING=1
50866
50867 if test "x$GCC" = "xyes"; then
50868 DEPSMODE=gcc
50869 case "${BAKEFILE_HOST}" in
50870 *-*-darwin* )
50871 DEPSFLAG="-no-cpp-precomp -MMD"
50872 ;;
50873 * )
50874 DEPSFLAG="-MMD"
50875 ;;
50876 esac
50877 { echo "$as_me:$LINENO: result: gcc" >&5
50878 echo "${ECHO_T}gcc" >&6; }
50879 elif test "x$MWCC" = "xyes"; then
50880 DEPSMODE=mwcc
50881 DEPSFLAG="-MM"
50882 { echo "$as_me:$LINENO: result: mwcc" >&5
50883 echo "${ECHO_T}mwcc" >&6; }
50884 elif test "x$SUNCC" = "xyes"; then
50885 DEPSMODE=unixcc
50886 DEPSFLAG="-xM1"
50887 { echo "$as_me:$LINENO: result: Sun cc" >&5
50888 echo "${ECHO_T}Sun cc" >&6; }
50889 elif test "x$SGICC" = "xyes"; then
50890 DEPSMODE=unixcc
50891 DEPSFLAG="-M"
50892 { echo "$as_me:$LINENO: result: SGI cc" >&5
50893 echo "${ECHO_T}SGI cc" >&6; }
50894 elif test "x$HPCC" = "xyes"; then
50895 DEPSMODE=unixcc
50896 DEPSFLAG="+make"
50897 { echo "$as_me:$LINENO: result: HP cc" >&5
50898 echo "${ECHO_T}HP cc" >&6; }
50899 elif test "x$COMPAQCC" = "xyes"; then
50900 DEPSMODE=gcc
50901 DEPSFLAG="-MD"
50902 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50903 echo "${ECHO_T}Compaq cc" >&6; }
50904 else
50905 DEPS_TRACKING=0
50906 { echo "$as_me:$LINENO: result: none" >&5
50907 echo "${ECHO_T}none" >&6; }
50908 fi
50909
50910 if test $DEPS_TRACKING = 1 ; then
50911
50912 D='$'
50913 cat <<EOF >bk-deps
50914 #!/bin/sh
50915
50916 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50917 # script. It is used to track C/C++ files dependencies in portable way.
50918 #
50919 # Permission is given to use this file in any way.
50920
50921 DEPSMODE=${DEPSMODE}
50922 DEPSFLAG="${DEPSFLAG}"
50923 DEPSDIRBASE=.deps
50924
50925 if test ${D}DEPSMODE = gcc ; then
50926 ${D}* ${D}{DEPSFLAG}
50927 status=${D}?
50928
50929 # determine location of created files:
50930 while test ${D}# -gt 0; do
50931 case "${D}1" in
50932 -o )
50933 shift
50934 objfile=${D}1
50935 ;;
50936 -* )
50937 ;;
50938 * )
50939 srcfile=${D}1
50940 ;;
50941 esac
50942 shift
50943 done
50944 objfilebase=\`basename ${D}objfile\`
50945 builddir=\`dirname ${D}objfile\`
50946 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50947 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50948 depsdir=${D}builddir/${D}DEPSDIRBASE
50949 mkdir -p ${D}depsdir
50950
50951 # if the compiler failed, we're done:
50952 if test ${D}{status} != 0 ; then
50953 rm -f ${D}depfile
50954 exit ${D}{status}
50955 fi
50956
50957 # move created file to the location we want it in:
50958 if test -f ${D}depfile ; then
50959 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50960 rm -f ${D}depfile
50961 else
50962 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50963 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50964 if test ! -f ${D}depfile ; then
50965 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50966 depfile="${D}objfile.d"
50967 fi
50968 if test -f ${D}depfile ; then
50969 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50970 rm -f ${D}depfile
50971 fi
50972 fi
50973 exit 0
50974
50975 elif test ${D}DEPSMODE = mwcc ; then
50976 ${D}* || exit ${D}?
50977 # Run mwcc again with -MM and redirect into the dep file we want
50978 # NOTE: We can't use shift here because we need ${D}* to be valid
50979 prevarg=
50980 for arg in ${D}* ; do
50981 if test "${D}prevarg" = "-o"; then
50982 objfile=${D}arg
50983 else
50984 case "${D}arg" in
50985 -* )
50986 ;;
50987 * )
50988 srcfile=${D}arg
50989 ;;
50990 esac
50991 fi
50992 prevarg="${D}arg"
50993 done
50994
50995 objfilebase=\`basename ${D}objfile\`
50996 builddir=\`dirname ${D}objfile\`
50997 depsdir=${D}builddir/${D}DEPSDIRBASE
50998 mkdir -p ${D}depsdir
50999
51000 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51001 exit 0
51002
51003 elif test ${D}DEPSMODE = unixcc; then
51004 ${D}* || exit ${D}?
51005 # Run compiler again with deps flag and redirect into the dep file.
51006 # It doesn't work if the '-o FILE' option is used, but without it the
51007 # dependency file will contain the wrong name for the object. So it is
51008 # removed from the command line, and the dep file is fixed with sed.
51009 cmd=""
51010 while test ${D}# -gt 0; do
51011 case "${D}1" in
51012 -o )
51013 shift
51014 objfile=${D}1
51015 ;;
51016 * )
51017 eval arg${D}#=\\${D}1
51018 cmd="${D}cmd \\${D}arg${D}#"
51019 ;;
51020 esac
51021 shift
51022 done
51023
51024 objfilebase=\`basename ${D}objfile\`
51025 builddir=\`dirname ${D}objfile\`
51026 depsdir=${D}builddir/${D}DEPSDIRBASE
51027 mkdir -p ${D}depsdir
51028
51029 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51030 exit 0
51031
51032 else
51033 ${D}*
51034 exit ${D}?
51035 fi
51036 EOF
51037
51038 chmod +x bk-deps
51039 BK_DEPS="`pwd`/bk-deps"
51040 fi
51041 fi
51042
51043
51044
51045
51046
51047 case ${BAKEFILE_HOST} in
51048 *-*-cygwin* | *-*-mingw32* )
51049 if test -n "$ac_tool_prefix"; then
51050 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51051 set dummy ${ac_tool_prefix}windres; ac_word=$2
51052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51054 if test "${ac_cv_prog_WINDRES+set}" = set; then
51055 echo $ECHO_N "(cached) $ECHO_C" >&6
51056 else
51057 if test -n "$WINDRES"; then
51058 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51059 else
51060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51061 for as_dir in $PATH
51062 do
51063 IFS=$as_save_IFS
51064 test -z "$as_dir" && as_dir=.
51065 for ac_exec_ext in '' $ac_executable_extensions; do
51066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51067 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51069 break 2
51070 fi
51071 done
51072 done
51073 IFS=$as_save_IFS
51074
51075 fi
51076 fi
51077 WINDRES=$ac_cv_prog_WINDRES
51078 if test -n "$WINDRES"; then
51079 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51080 echo "${ECHO_T}$WINDRES" >&6; }
51081 else
51082 { echo "$as_me:$LINENO: result: no" >&5
51083 echo "${ECHO_T}no" >&6; }
51084 fi
51085
51086
51087 fi
51088 if test -z "$ac_cv_prog_WINDRES"; then
51089 ac_ct_WINDRES=$WINDRES
51090 # Extract the first word of "windres", so it can be a program name with args.
51091 set dummy windres; ac_word=$2
51092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51094 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51095 echo $ECHO_N "(cached) $ECHO_C" >&6
51096 else
51097 if test -n "$ac_ct_WINDRES"; then
51098 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51099 else
51100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51101 for as_dir in $PATH
51102 do
51103 IFS=$as_save_IFS
51104 test -z "$as_dir" && as_dir=.
51105 for ac_exec_ext in '' $ac_executable_extensions; do
51106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51107 ac_cv_prog_ac_ct_WINDRES="windres"
51108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51109 break 2
51110 fi
51111 done
51112 done
51113 IFS=$as_save_IFS
51114
51115 fi
51116 fi
51117 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51118 if test -n "$ac_ct_WINDRES"; then
51119 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51120 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51121 else
51122 { echo "$as_me:$LINENO: result: no" >&5
51123 echo "${ECHO_T}no" >&6; }
51124 fi
51125
51126 if test "x$ac_ct_WINDRES" = x; then
51127 WINDRES=""
51128 else
51129 case $cross_compiling:$ac_tool_warned in
51130 yes:)
51131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51132 whose name does not start with the host triplet. If you think this
51133 configuration is useful to you, please write to autoconf@gnu.org." >&5
51134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51135 whose name does not start with the host triplet. If you think this
51136 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51137 ac_tool_warned=yes ;;
51138 esac
51139 WINDRES=$ac_ct_WINDRES
51140 fi
51141 else
51142 WINDRES="$ac_cv_prog_WINDRES"
51143 fi
51144
51145 ;;
51146
51147 *-*-darwin* | powerpc-apple-macos* )
51148 # Extract the first word of "Rez", so it can be a program name with args.
51149 set dummy Rez; ac_word=$2
51150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51152 if test "${ac_cv_prog_REZ+set}" = set; then
51153 echo $ECHO_N "(cached) $ECHO_C" >&6
51154 else
51155 if test -n "$REZ"; then
51156 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51157 else
51158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51159 for as_dir in $PATH
51160 do
51161 IFS=$as_save_IFS
51162 test -z "$as_dir" && as_dir=.
51163 for ac_exec_ext in '' $ac_executable_extensions; do
51164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51165 ac_cv_prog_REZ="Rez"
51166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51167 break 2
51168 fi
51169 done
51170 done
51171 IFS=$as_save_IFS
51172
51173 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51174 fi
51175 fi
51176 REZ=$ac_cv_prog_REZ
51177 if test -n "$REZ"; then
51178 { echo "$as_me:$LINENO: result: $REZ" >&5
51179 echo "${ECHO_T}$REZ" >&6; }
51180 else
51181 { echo "$as_me:$LINENO: result: no" >&5
51182 echo "${ECHO_T}no" >&6; }
51183 fi
51184
51185
51186 # Extract the first word of "SetFile", so it can be a program name with args.
51187 set dummy SetFile; ac_word=$2
51188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51190 if test "${ac_cv_prog_SETFILE+set}" = set; then
51191 echo $ECHO_N "(cached) $ECHO_C" >&6
51192 else
51193 if test -n "$SETFILE"; then
51194 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51195 else
51196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51197 for as_dir in $PATH
51198 do
51199 IFS=$as_save_IFS
51200 test -z "$as_dir" && as_dir=.
51201 for ac_exec_ext in '' $ac_executable_extensions; do
51202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51203 ac_cv_prog_SETFILE="SetFile"
51204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51205 break 2
51206 fi
51207 done
51208 done
51209 IFS=$as_save_IFS
51210
51211 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51212 fi
51213 fi
51214 SETFILE=$ac_cv_prog_SETFILE
51215 if test -n "$SETFILE"; then
51216 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51217 echo "${ECHO_T}$SETFILE" >&6; }
51218 else
51219 { echo "$as_me:$LINENO: result: no" >&5
51220 echo "${ECHO_T}no" >&6; }
51221 fi
51222
51223
51224 ;;
51225 esac
51226
51227
51228
51229
51230
51231
51232
51233
51234
51235 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51236
51237
51238 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51239
51240
51241
51242 # Check whether --enable-precomp-headers was given.
51243 if test "${enable_precomp_headers+set}" = set; then
51244 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51245 fi
51246
51247
51248 GCC_PCH=0
51249 ICC_PCH=0
51250 USE_PCH=0
51251 BK_MAKE_PCH=""
51252
51253 case ${BAKEFILE_HOST} in
51254 *-*-cygwin* )
51255 bk_use_pch="no"
51256 ;;
51257 esac
51258
51259 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51260 if test "x$GCC" = "xyes"; then
51261 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51262 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51263 cat >conftest.$ac_ext <<_ACEOF
51264 /* confdefs.h. */
51265 _ACEOF
51266 cat confdefs.h >>conftest.$ac_ext
51267 cat >>conftest.$ac_ext <<_ACEOF
51268 /* end confdefs.h. */
51269
51270 int
51271 main ()
51272 {
51273
51274 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51275 There is no PCH support
51276 #endif
51277 #if (__GNUC__ < 3)
51278 There is no PCH support
51279 #endif
51280 #if (__GNUC__ == 3) && \
51281 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51282 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51283 ( defined(__INTEL_COMPILER) )
51284 There is no PCH support
51285 #endif
51286
51287 ;
51288 return 0;
51289 }
51290 _ACEOF
51291 rm -f conftest.$ac_objext
51292 if { (ac_try="$ac_compile"
51293 case "(($ac_try" in
51294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51295 *) ac_try_echo=$ac_try;;
51296 esac
51297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51298 (eval "$ac_compile") 2>conftest.er1
51299 ac_status=$?
51300 grep -v '^ *+' conftest.er1 >conftest.err
51301 rm -f conftest.er1
51302 cat conftest.err >&5
51303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51304 (exit $ac_status); } && {
51305 test -z "$ac_c_werror_flag" ||
51306 test ! -s conftest.err
51307 } && test -s conftest.$ac_objext; then
51308
51309 { echo "$as_me:$LINENO: result: yes" >&5
51310 echo "${ECHO_T}yes" >&6; }
51311 GCC_PCH=1
51312
51313 else
51314 echo "$as_me: failed program was:" >&5
51315 sed 's/^/| /' conftest.$ac_ext >&5
51316
51317
51318 if test "$INTELCXX8" = "yes"; then
51319 { echo "$as_me:$LINENO: result: yes" >&5
51320 echo "${ECHO_T}yes" >&6; }
51321 ICC_PCH=1
51322 if test "$INTELCXX10" = "yes"; then
51323 ICC_PCH_CREATE_SWITCH="-pch-create"
51324 ICC_PCH_USE_SWITCH="-pch-use"
51325 else
51326 ICC_PCH_CREATE_SWITCH="-create-pch"
51327 ICC_PCH_USE_SWITCH="-use-pch"
51328 fi
51329 else
51330 { echo "$as_me:$LINENO: result: no" >&5
51331 echo "${ECHO_T}no" >&6; }
51332 fi
51333
51334 fi
51335
51336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51337 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51338 USE_PCH=1
51339
51340 D='$'
51341 cat <<EOF >bk-make-pch
51342 #!/bin/sh
51343
51344 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51345 # script. It is used to generated precompiled headers.
51346 #
51347 # Permission is given to use this file in any way.
51348
51349 outfile="${D}{1}"
51350 header="${D}{2}"
51351 shift
51352 shift
51353
51354 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51355
51356 compiler=""
51357 headerfile=""
51358
51359 while test ${D}{#} -gt 0; do
51360 add_to_cmdline=1
51361 case "${D}{1}" in
51362 -I* )
51363 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51364 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51365 headerfile="${D}{incdir}/${D}{header}"
51366 fi
51367 ;;
51368 -use-pch|-use_pch|-pch-use )
51369 shift
51370 add_to_cmdline=0
51371 ;;
51372 esac
51373 if test ${D}add_to_cmdline = 1 ; then
51374 compiler="${D}{compiler} ${D}{1}"
51375 fi
51376 shift
51377 done
51378
51379 if test "x${D}{headerfile}" = "x" ; then
51380 echo "error: can't find header ${D}{header} in include paths" >&2
51381 else
51382 if test -f ${D}{outfile} ; then
51383 rm -f ${D}{outfile}
51384 else
51385 mkdir -p \`dirname ${D}{outfile}\`
51386 fi
51387 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51388 mkdir -p ${D}{builddir}/.deps
51389 if test "x${GCC_PCH}" = "x1" ; then
51390 # can do this because gcc is >= 3.4:
51391 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51392 elif test "x${ICC_PCH}" = "x1" ; then
51393 filename=pch_gen-${D}${D}
51394 file=${D}{filename}.c
51395 dfile=${D}{filename}.d
51396 cat > ${D}file <<EOT
51397 #include "${D}header"
51398 EOT
51399 # using -MF icc complains about differing command lines in creation/use
51400 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51401 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51402 rm -f ${D}file ${D}dfile ${D}{filename}.o
51403 fi
51404 exit ${D}{?}
51405 fi
51406 EOF
51407
51408 chmod +x bk-make-pch
51409 BK_MAKE_PCH="`pwd`/bk-make-pch"
51410 fi
51411 fi
51412 fi
51413
51414
51415
51416
51417
51418
51419
51420 COND_BUILD_DEBUG="#"
51421 if test "x$BUILD" = "xdebug" ; then
51422 COND_BUILD_DEBUG=""
51423 fi
51424
51425 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51426 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51427 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51428 fi
51429
51430 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51431 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51432 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51433 fi
51434
51435 COND_BUILD_DEBUG_UNICODE_0="#"
51436 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51437 COND_BUILD_DEBUG_UNICODE_0=""
51438 fi
51439
51440 COND_BUILD_DEBUG_UNICODE_1="#"
51441 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51442 COND_BUILD_DEBUG_UNICODE_1=""
51443 fi
51444
51445 COND_BUILD_RELEASE="#"
51446 if test "x$BUILD" = "xrelease" ; then
51447 COND_BUILD_RELEASE=""
51448 fi
51449
51450 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51451 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51452 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51453 fi
51454
51455 COND_BUILD_RELEASE_UNICODE_0="#"
51456 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51457 COND_BUILD_RELEASE_UNICODE_0=""
51458 fi
51459
51460 COND_BUILD_RELEASE_UNICODE_1="#"
51461 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51462 COND_BUILD_RELEASE_UNICODE_1=""
51463 fi
51464
51465 COND_BUILD_debug="#"
51466 if test "x$BUILD" = "xdebug" ; then
51467 COND_BUILD_debug=""
51468 fi
51469
51470 COND_BUILD_debug_DEBUG_FLAG_default="#"
51471 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51472 COND_BUILD_debug_DEBUG_FLAG_default=""
51473 fi
51474
51475 COND_BUILD_debug_DEBUG_INFO_default="#"
51476 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51477 COND_BUILD_debug_DEBUG_INFO_default=""
51478 fi
51479
51480 COND_BUILD_debug_UNICODE_0="#"
51481 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51482 COND_BUILD_debug_UNICODE_0=""
51483 fi
51484
51485 COND_BUILD_debug_UNICODE_1="#"
51486 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51487 COND_BUILD_debug_UNICODE_1=""
51488 fi
51489
51490 COND_BUILD_release="#"
51491 if test "x$BUILD" = "xrelease" ; then
51492 COND_BUILD_release=""
51493 fi
51494
51495 COND_BUILD_release_DEBUG_INFO_default="#"
51496 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51497 COND_BUILD_release_DEBUG_INFO_default=""
51498 fi
51499
51500 COND_BUILD_release_UNICODE_0="#"
51501 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51502 COND_BUILD_release_UNICODE_0=""
51503 fi
51504
51505 COND_BUILD_release_UNICODE_1="#"
51506 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51507 COND_BUILD_release_UNICODE_1=""
51508 fi
51509
51510 COND_DEBUG_FLAG_0="#"
51511 if test "x$DEBUG_FLAG" = "x0" ; then
51512 COND_DEBUG_FLAG_0=""
51513 fi
51514
51515 COND_DEBUG_FLAG_1="#"
51516 if test "x$DEBUG_FLAG" = "x1" ; then
51517 COND_DEBUG_FLAG_1=""
51518 fi
51519
51520 COND_DEBUG_INFO_0="#"
51521 if test "x$DEBUG_INFO" = "x0" ; then
51522 COND_DEBUG_INFO_0=""
51523 fi
51524
51525 COND_DEBUG_INFO_1="#"
51526 if test "x$DEBUG_INFO" = "x1" ; then
51527 COND_DEBUG_INFO_1=""
51528 fi
51529
51530 COND_DEPS_TRACKING_0="#"
51531 if test "x$DEPS_TRACKING" = "x0" ; then
51532 COND_DEPS_TRACKING_0=""
51533 fi
51534
51535 COND_DEPS_TRACKING_1="#"
51536 if test "x$DEPS_TRACKING" = "x1" ; then
51537 COND_DEPS_TRACKING_1=""
51538 fi
51539
51540 COND_GCC_PCH_1="#"
51541 if test "x$GCC_PCH" = "x1" ; then
51542 COND_GCC_PCH_1=""
51543 fi
51544
51545 COND_ICC_PCH_1="#"
51546 if test "x$ICC_PCH" = "x1" ; then
51547 COND_ICC_PCH_1=""
51548 fi
51549
51550 COND_MONOLITHIC_0="#"
51551 if test "x$MONOLITHIC" = "x0" ; then
51552 COND_MONOLITHIC_0=""
51553 fi
51554
51555 COND_MONOLITHIC_0_SHARED_0="#"
51556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51557 COND_MONOLITHIC_0_SHARED_0=""
51558 fi
51559
51560 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51562 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51563 fi
51564
51565 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51567 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51568 fi
51569
51570 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51572 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51573 fi
51574
51575 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51577 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51578 fi
51579
51580 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51582 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51583 fi
51584
51585 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51587 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51588 fi
51589
51590 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51592 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51593 fi
51594
51595 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51596 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51597 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51598 fi
51599
51600 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51601 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51602 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51603 fi
51604
51605 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51607 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51608 fi
51609
51610 COND_MONOLITHIC_0_SHARED_1="#"
51611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51612 COND_MONOLITHIC_0_SHARED_1=""
51613 fi
51614
51615 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51617 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51618 fi
51619
51620 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51622 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51623 fi
51624
51625 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51626 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51627 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51628 fi
51629
51630 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51632 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51633 fi
51634
51635 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51637 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51638 fi
51639
51640 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51642 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51643 fi
51644
51645 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51647 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51648 fi
51649
51650 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51652 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51653 fi
51654
51655 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51657 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51658 fi
51659
51660 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51662 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51663 fi
51664
51665 COND_MONOLITHIC_0_USE_AUI_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51667 COND_MONOLITHIC_0_USE_AUI_1=""
51668 fi
51669
51670 COND_MONOLITHIC_0_USE_GUI_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51672 COND_MONOLITHIC_0_USE_GUI_1=""
51673 fi
51674
51675 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51677 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51678 fi
51679
51680 COND_MONOLITHIC_0_USE_HTML_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51682 COND_MONOLITHIC_0_USE_HTML_1=""
51683 fi
51684
51685 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51687 COND_MONOLITHIC_0_USE_MEDIA_1=""
51688 fi
51689
51690 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51692 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51693 fi
51694
51695 COND_MONOLITHIC_0_USE_QA_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51697 COND_MONOLITHIC_0_USE_QA_1=""
51698 fi
51699
51700 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51702 COND_MONOLITHIC_0_USE_RIBBON_1=""
51703 fi
51704
51705 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51707 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51708 fi
51709
51710 COND_MONOLITHIC_0_USE_STC_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51712 COND_MONOLITHIC_0_USE_STC_1=""
51713 fi
51714
51715 COND_MONOLITHIC_0_USE_XRC_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51717 COND_MONOLITHIC_0_USE_XRC_1=""
51718 fi
51719
51720 COND_MONOLITHIC_1="#"
51721 if test "x$MONOLITHIC" = "x1" ; then
51722 COND_MONOLITHIC_1=""
51723 fi
51724
51725 COND_MONOLITHIC_1_SHARED_0="#"
51726 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51727 COND_MONOLITHIC_1_SHARED_0=""
51728 fi
51729
51730 COND_MONOLITHIC_1_SHARED_1="#"
51731 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51732 COND_MONOLITHIC_1_SHARED_1=""
51733 fi
51734
51735 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51736 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51737 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51738 fi
51739
51740 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51741 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51742 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51743 fi
51744
51745 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51746 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51747 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51748 fi
51749
51750 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51751 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51752 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51753 fi
51754
51755 COND_PLATFORM_MACOSX_1="#"
51756 if test "x$PLATFORM_MACOSX" = "x1" ; then
51757 COND_PLATFORM_MACOSX_1=""
51758 fi
51759
51760 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51761 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51762 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51763 fi
51764
51765 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51766 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51767 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51768 fi
51769
51770 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51771 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51772 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51773 fi
51774
51775 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51776 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51777 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51778 fi
51779
51780 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51781 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51782 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51783 fi
51784
51785 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51786 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51787 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51788 fi
51789
51790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51791 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51793 fi
51794
51795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51796 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51798 fi
51799
51800 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51801 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51802 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51803 fi
51804
51805 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51806 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51807 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51808 fi
51809
51810 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51811 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51812 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51813 fi
51814
51815 COND_PLATFORM_MACOS_1="#"
51816 if test "x$PLATFORM_MACOS" = "x1" ; then
51817 COND_PLATFORM_MACOS_1=""
51818 fi
51819
51820 COND_PLATFORM_MAC_0="#"
51821 if test "x$PLATFORM_MAC" = "x0" ; then
51822 COND_PLATFORM_MAC_0=""
51823 fi
51824
51825 COND_PLATFORM_MAC_1="#"
51826 if test "x$PLATFORM_MAC" = "x1" ; then
51827 COND_PLATFORM_MAC_1=""
51828 fi
51829
51830 COND_PLATFORM_MSDOS_0="#"
51831 if test "x$PLATFORM_MSDOS" = "x0" ; then
51832 COND_PLATFORM_MSDOS_0=""
51833 fi
51834
51835 COND_PLATFORM_MSDOS_1="#"
51836 if test "x$PLATFORM_MSDOS" = "x1" ; then
51837 COND_PLATFORM_MSDOS_1=""
51838 fi
51839
51840 COND_PLATFORM_OS2_1="#"
51841 if test "x$PLATFORM_OS2" = "x1" ; then
51842 COND_PLATFORM_OS2_1=""
51843 fi
51844
51845 COND_PLATFORM_UNIX_0="#"
51846 if test "x$PLATFORM_UNIX" = "x0" ; then
51847 COND_PLATFORM_UNIX_0=""
51848 fi
51849
51850 COND_PLATFORM_UNIX_1="#"
51851 if test "x$PLATFORM_UNIX" = "x1" ; then
51852 COND_PLATFORM_UNIX_1=""
51853 fi
51854
51855 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51856 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51857 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51858 fi
51859
51860 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51861 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51862 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51863 fi
51864
51865 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51866 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51867 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51868 fi
51869
51870 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51871 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51872 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51873 fi
51874
51875 COND_PLATFORM_WIN32_0="#"
51876 if test "x$PLATFORM_WIN32" = "x0" ; then
51877 COND_PLATFORM_WIN32_0=""
51878 fi
51879
51880 COND_PLATFORM_WIN32_1="#"
51881 if test "x$PLATFORM_WIN32" = "x1" ; then
51882 COND_PLATFORM_WIN32_1=""
51883 fi
51884
51885 COND_PLATFORM_WIN32_1_SHARED_0="#"
51886 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51887 COND_PLATFORM_WIN32_1_SHARED_0=""
51888 fi
51889
51890 COND_SHARED_0="#"
51891 if test "x$SHARED" = "x0" ; then
51892 COND_SHARED_0=""
51893 fi
51894
51895 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51896 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51897 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51898 fi
51899
51900 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51901 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51902 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51903 fi
51904
51905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51906 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51907 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51908 fi
51909
51910 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51911 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51912 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51913 fi
51914
51915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51916 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51918 fi
51919
51920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51921 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51922 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51923 fi
51924
51925 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51926 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51927 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51928 fi
51929
51930 COND_SHARED_0_USE_STC_1="#"
51931 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51932 COND_SHARED_0_USE_STC_1=""
51933 fi
51934
51935 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51936 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51937 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51938 fi
51939
51940 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51941 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51942 COND_SHARED_0_wxUSE_REGEX_builtin=""
51943 fi
51944
51945 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51946 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51947 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51948 fi
51949
51950 COND_SHARED_1="#"
51951 if test "x$SHARED" = "x1" ; then
51952 COND_SHARED_1=""
51953 fi
51954
51955 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51956 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51957 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51958 fi
51959
51960 COND_TOOLKIT_="#"
51961 if test "x$TOOLKIT" = "x" ; then
51962 COND_TOOLKIT_=""
51963 fi
51964
51965 COND_TOOLKIT_COCOA="#"
51966 if test "x$TOOLKIT" = "xCOCOA" ; then
51967 COND_TOOLKIT_COCOA=""
51968 fi
51969
51970 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51971 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51972 COND_TOOLKIT_COCOA_USE_GUI_1=""
51973 fi
51974
51975 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51976 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51977 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51978 fi
51979
51980 COND_TOOLKIT_DFB="#"
51981 if test "x$TOOLKIT" = "xDFB" ; then
51982 COND_TOOLKIT_DFB=""
51983 fi
51984
51985 COND_TOOLKIT_DFB_USE_GUI_1="#"
51986 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51987 COND_TOOLKIT_DFB_USE_GUI_1=""
51988 fi
51989
51990 COND_TOOLKIT_GTK="#"
51991 if test "x$TOOLKIT" = "xGTK" ; then
51992 COND_TOOLKIT_GTK=""
51993 fi
51994
51995 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51996 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51997 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51998 fi
51999
52000 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52001 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52002 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52003 fi
52004
52005 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52006 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52007 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52008 fi
52009
52010 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52011 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52012 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52013 fi
52014
52015 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52016 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52017 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52018 fi
52019
52020 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52021 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52022 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52023 fi
52024
52025 COND_TOOLKIT_GTK_USE_GUI_1="#"
52026 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52027 COND_TOOLKIT_GTK_USE_GUI_1=""
52028 fi
52029
52030 COND_TOOLKIT_MAC="#"
52031 if test "x$TOOLKIT" = "xMAC" ; then
52032 COND_TOOLKIT_MAC=""
52033 fi
52034
52035 COND_TOOLKIT_MGL="#"
52036 if test "x$TOOLKIT" = "xMGL" ; then
52037 COND_TOOLKIT_MGL=""
52038 fi
52039
52040 COND_TOOLKIT_MGL_USE_GUI_1="#"
52041 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52042 COND_TOOLKIT_MGL_USE_GUI_1=""
52043 fi
52044
52045 COND_TOOLKIT_MOTIF="#"
52046 if test "x$TOOLKIT" = "xMOTIF" ; then
52047 COND_TOOLKIT_MOTIF=""
52048 fi
52049
52050 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52051 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52052 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52053 fi
52054
52055 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52056 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52057 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52058 fi
52059
52060 COND_TOOLKIT_MSW="#"
52061 if test "x$TOOLKIT" = "xMSW" ; then
52062 COND_TOOLKIT_MSW=""
52063 fi
52064
52065 COND_TOOLKIT_MSW_USE_GUI_1="#"
52066 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52067 COND_TOOLKIT_MSW_USE_GUI_1=""
52068 fi
52069
52070 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52071 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52072 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52073 fi
52074
52075 COND_TOOLKIT_MSW_WXUNIV_0="#"
52076 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52077 COND_TOOLKIT_MSW_WXUNIV_0=""
52078 fi
52079
52080 COND_TOOLKIT_OSX_CARBON="#"
52081 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52082 COND_TOOLKIT_OSX_CARBON=""
52083 fi
52084
52085 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52086 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52087 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52088 fi
52089
52090 COND_TOOLKIT_OSX_COCOA="#"
52091 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52092 COND_TOOLKIT_OSX_COCOA=""
52093 fi
52094
52095 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52096 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52097 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52098 fi
52099
52100 COND_TOOLKIT_OSX_IPHONE="#"
52101 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52102 COND_TOOLKIT_OSX_IPHONE=""
52103 fi
52104
52105 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52106 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52107 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52108 fi
52109
52110 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52111 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52112 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52113 fi
52114
52115 COND_TOOLKIT_PM="#"
52116 if test "x$TOOLKIT" = "xPM" ; then
52117 COND_TOOLKIT_PM=""
52118 fi
52119
52120 COND_TOOLKIT_PM_USE_GUI_1="#"
52121 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52122 COND_TOOLKIT_PM_USE_GUI_1=""
52123 fi
52124
52125 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52126 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52127 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52128 fi
52129
52130 COND_TOOLKIT_WINCE="#"
52131 if test "x$TOOLKIT" = "xWINCE" ; then
52132 COND_TOOLKIT_WINCE=""
52133 fi
52134
52135 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52136 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52137 COND_TOOLKIT_WINCE_USE_GUI_1=""
52138 fi
52139
52140 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52141 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52142 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52143 fi
52144
52145 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52146 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52147 COND_TOOLKIT_WINCE_WXUNIV_0=""
52148 fi
52149
52150 COND_TOOLKIT_X11="#"
52151 if test "x$TOOLKIT" = "xX11" ; then
52152 COND_TOOLKIT_X11=""
52153 fi
52154
52155 COND_TOOLKIT_X11_USE_GUI_1="#"
52156 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52157 COND_TOOLKIT_X11_USE_GUI_1=""
52158 fi
52159
52160 COND_UNICODE_1="#"
52161 if test "x$UNICODE" = "x1" ; then
52162 COND_UNICODE_1=""
52163 fi
52164
52165 COND_USE_CAIRO_1="#"
52166 if test "x$USE_CAIRO" = "x1" ; then
52167 COND_USE_CAIRO_1=""
52168 fi
52169
52170 COND_USE_EXCEPTIONS_0="#"
52171 if test "x$USE_EXCEPTIONS" = "x0" ; then
52172 COND_USE_EXCEPTIONS_0=""
52173 fi
52174
52175 COND_USE_EXCEPTIONS_1="#"
52176 if test "x$USE_EXCEPTIONS" = "x1" ; then
52177 COND_USE_EXCEPTIONS_1=""
52178 fi
52179
52180 COND_USE_GUI_0="#"
52181 if test "x$USE_GUI" = "x0" ; then
52182 COND_USE_GUI_0=""
52183 fi
52184
52185 COND_USE_GUI_1="#"
52186 if test "x$USE_GUI" = "x1" ; then
52187 COND_USE_GUI_1=""
52188 fi
52189
52190 COND_USE_GUI_1_USE_OPENGL_1="#"
52191 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52192 COND_USE_GUI_1_USE_OPENGL_1=""
52193 fi
52194
52195 COND_USE_GUI_1_WXUNIV_0="#"
52196 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52197 COND_USE_GUI_1_WXUNIV_0=""
52198 fi
52199
52200 COND_USE_GUI_1_WXUNIV_1="#"
52201 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52202 COND_USE_GUI_1_WXUNIV_1=""
52203 fi
52204
52205 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52206 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52207 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52208 fi
52209
52210 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52211 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52212 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52213 fi
52214
52215 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52216 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52217 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52218 fi
52219
52220 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52221 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52222 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52223 fi
52224
52225 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52226 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52227 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52228 fi
52229
52230 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52231 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52232 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52233 fi
52234
52235 COND_USE_OPENGL_1="#"
52236 if test "x$USE_OPENGL" = "x1" ; then
52237 COND_USE_OPENGL_1=""
52238 fi
52239
52240 COND_USE_PCH_1="#"
52241 if test "x$USE_PCH" = "x1" ; then
52242 COND_USE_PCH_1=""
52243 fi
52244
52245 COND_USE_PLUGINS_0="#"
52246 if test "x$USE_PLUGINS" = "x0" ; then
52247 COND_USE_PLUGINS_0=""
52248 fi
52249
52250 COND_USE_RTTI_0="#"
52251 if test "x$USE_RTTI" = "x0" ; then
52252 COND_USE_RTTI_0=""
52253 fi
52254
52255 COND_USE_RTTI_1="#"
52256 if test "x$USE_RTTI" = "x1" ; then
52257 COND_USE_RTTI_1=""
52258 fi
52259
52260 COND_USE_SOTWOSYMLINKS_1="#"
52261 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52262 COND_USE_SOTWOSYMLINKS_1=""
52263 fi
52264
52265 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52266 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52267 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52268 fi
52269
52270 COND_USE_SOVERLINUX_1="#"
52271 if test "x$USE_SOVERLINUX" = "x1" ; then
52272 COND_USE_SOVERLINUX_1=""
52273 fi
52274
52275 COND_USE_SOVERSION_0="#"
52276 if test "x$USE_SOVERSION" = "x0" ; then
52277 COND_USE_SOVERSION_0=""
52278 fi
52279
52280 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52281 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52282 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52283 fi
52284
52285 COND_USE_SOVERSOLARIS_1="#"
52286 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52287 COND_USE_SOVERSOLARIS_1=""
52288 fi
52289
52290 COND_USE_STC_1="#"
52291 if test "x$USE_STC" = "x1" ; then
52292 COND_USE_STC_1=""
52293 fi
52294
52295 COND_USE_THREADS_0="#"
52296 if test "x$USE_THREADS" = "x0" ; then
52297 COND_USE_THREADS_0=""
52298 fi
52299
52300 COND_USE_THREADS_1="#"
52301 if test "x$USE_THREADS" = "x1" ; then
52302 COND_USE_THREADS_1=""
52303 fi
52304
52305 COND_USE_XRC_1="#"
52306 if test "x$USE_XRC" = "x1" ; then
52307 COND_USE_XRC_1=""
52308 fi
52309
52310 COND_WINDOWS_IMPLIB_1="#"
52311 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52312 COND_WINDOWS_IMPLIB_1=""
52313 fi
52314
52315 COND_WITH_PLUGIN_SDL_1="#"
52316 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52317 COND_WITH_PLUGIN_SDL_1=""
52318 fi
52319
52320 COND_WXUNIV_0="#"
52321 if test "x$WXUNIV" = "x0" ; then
52322 COND_WXUNIV_0=""
52323 fi
52324
52325 COND_WXUNIV_1="#"
52326 if test "x$WXUNIV" = "x1" ; then
52327 COND_WXUNIV_1=""
52328 fi
52329
52330 COND_WXUSE_EXPAT_BUILTIN="#"
52331 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52332 COND_WXUSE_EXPAT_BUILTIN=""
52333 fi
52334
52335 COND_WXUSE_LIBJPEG_BUILTIN="#"
52336 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52337 COND_WXUSE_LIBJPEG_BUILTIN=""
52338 fi
52339
52340 COND_WXUSE_LIBPNG_BUILTIN="#"
52341 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52342 COND_WXUSE_LIBPNG_BUILTIN=""
52343 fi
52344
52345 COND_WXUSE_LIBTIFF_BUILTIN="#"
52346 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52347 COND_WXUSE_LIBTIFF_BUILTIN=""
52348 fi
52349
52350 COND_WXUSE_REGEX_BUILTIN="#"
52351 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52352 COND_WXUSE_REGEX_BUILTIN=""
52353 fi
52354
52355 COND_WXUSE_ZLIB_BUILTIN="#"
52356 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52357 COND_WXUSE_ZLIB_BUILTIN=""
52358 fi
52359
52360 COND_wxUSE_EXPAT_builtin="#"
52361 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52362 COND_wxUSE_EXPAT_builtin=""
52363 fi
52364
52365 COND_wxUSE_LIBJPEG_builtin="#"
52366 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52367 COND_wxUSE_LIBJPEG_builtin=""
52368 fi
52369
52370 COND_wxUSE_LIBPNG_builtin="#"
52371 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52372 COND_wxUSE_LIBPNG_builtin=""
52373 fi
52374
52375 COND_wxUSE_LIBTIFF_builtin="#"
52376 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52377 COND_wxUSE_LIBTIFF_builtin=""
52378 fi
52379
52380 COND_wxUSE_REGEX_builtin="#"
52381 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52382 COND_wxUSE_REGEX_builtin=""
52383 fi
52384
52385 COND_wxUSE_ZLIB_builtin="#"
52386 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52387 COND_wxUSE_ZLIB_builtin=""
52388 fi
52389
52390
52391
52392 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52393 { { 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
52394 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;}
52395 { (exit 1); exit 1; }; }
52396 fi
52397
52398 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52399 { { 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
52400 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;}
52401 { (exit 1); exit 1; }; }
52402 fi
52403
52404
52405 case ${INSTALL} in
52406 /* ) # Absolute
52407 ;;
52408 ?:* ) # Drive letter, considered as absolute.
52409 ;;
52410 *)
52411 INSTALL=`pwd`/${INSTALL} ;;
52412 esac
52413
52414 if test "$wxUSE_GUI" = "yes"; then
52415
52416 if test "$wxUSE_MSW" = 1 ; then
52417 if test "x$WINDRES" = "x"; then
52418 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52419 echo "$as_me: error: Required windres program not found" >&2;}
52420 { (exit 1); exit 1; }; }
52421 fi
52422
52423 RESCOMP="$WINDRES"
52424 fi
52425
52426 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52427 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52428 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52429
52430 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52431
52432 # Extract the first word of "DeRez", so it can be a program name with args.
52433 set dummy DeRez; ac_word=$2
52434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52436 if test "${ac_cv_prog_DEREZ+set}" = set; then
52437 echo $ECHO_N "(cached) $ECHO_C" >&6
52438 else
52439 if test -n "$DEREZ"; then
52440 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52441 else
52442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52443 for as_dir in $PATH
52444 do
52445 IFS=$as_save_IFS
52446 test -z "$as_dir" && as_dir=.
52447 for ac_exec_ext in '' $ac_executable_extensions; do
52448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52449 ac_cv_prog_DEREZ="DeRez"
52450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52451 break 2
52452 fi
52453 done
52454 done
52455 IFS=$as_save_IFS
52456
52457 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52458 fi
52459 fi
52460 DEREZ=$ac_cv_prog_DEREZ
52461 if test -n "$DEREZ"; then
52462 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52463 echo "${ECHO_T}$DEREZ" >&6; }
52464 else
52465 { echo "$as_me:$LINENO: result: no" >&5
52466 echo "${ECHO_T}no" >&6; }
52467 fi
52468
52469
52470
52471 MACSETFILE="\$(SETFILE)"
52472
52473 if test "$wxUSE_OSX_CARBON" = 1; then
52474 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52475 RESCOMP="$REZ"
52476 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52477 else
52478 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52479 RESCOMP="cat /dev/null \| $REZ"
52480 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52481 fi
52482
52483 else
52484 MACSETFILE="@true"
52485
52486 if test "$wxUSE_PM" = 1; then
52487 RESCOMP="emxbind"
52488 WXCONFIG_RESFLAGS="-ep"
52489
52490 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52491 else
52492 POSTLINK_COMMAND="@true"
52493 fi
52494 fi
52495
52496 fi
52497
52498
52499 if test $GCC_PCH = 1
52500 then
52501 if test "$wx_cv_gcc_pch_bug" = yes; then
52502 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52503 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52504 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52505 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52506 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52507 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52508 fi
52509
52510 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52511 # the headers that benefit from precompilation are mostly C++ headers.
52512 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52513 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52514 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52515 fi
52516
52517
52518 if test "$wxUSE_MAC" = 1 ; then
52519 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52520 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52521 mv temp bk-deps
52522 chmod +x bk-deps
52523 fi
52524 fi
52525
52526 if test "$wxUSE_SHARED" = "yes"; then
52527 case "${host}" in
52528 *-pc-os2_emx | *-pc-os2-emx )
52529 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52530 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52531 cp -p ${srcdir}/src/os2/dllnames.sh .
52532 cp -p ${srcdir}/src/os2/dllar.sh .
52533 ;;
52534 esac
52535 fi
52536 if test "$wxUSE_OMF" = "yes"; then
52537 case "${host}" in
52538 *-pc-os2_emx | *-pc-os2-emx )
52539 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52540 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52541 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52542 ;;
52543 esac
52544 fi
52545
52546 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52547
52548
52549 case "${host}" in
52550 *-*-solaris2* )
52551 if test "$GCC" = yes; then
52552 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52553 LIBS=`echo $LIBS | sed 's/-mt//'`
52554 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52555 fi
52556 ;;
52557
52558 *-*-linux* )
52559 if test "x$SUNCXX" = xyes; then
52560 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52561 LIBS=`echo $LIBS | sed 's/-pthread//'`
52562 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52563 fi
52564 ;;
52565 esac
52566
52567 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52568 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52569 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52570 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52571
52572 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52573
52574
52575
52576
52577
52578
52579
52580
52581
52582
52583
52584
52585
52586
52587
52588
52589
52590
52591
52592
52593
52594
52595
52596
52597
52598
52599
52600
52601
52602
52603
52604
52605
52606
52607
52608
52609
52610
52611
52612
52613
52614
52615
52616
52617
52618
52619
52620
52621
52622
52623
52624
52625
52626
52627
52628
52629
52630
52631
52632
52633 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52634 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52635 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52636 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52637 echo $ECHO_N "(cached) $ECHO_C" >&6
52638 else
52639 cat >conftest.make <<\_ACEOF
52640 SHELL = /bin/sh
52641 all:
52642 @echo '@@@%%%=$(MAKE)=@@@%%%'
52643 _ACEOF
52644 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52645 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52646 *@@@%%%=?*=@@@%%%*)
52647 eval ac_cv_prog_make_${ac_make}_set=yes;;
52648 *)
52649 eval ac_cv_prog_make_${ac_make}_set=no;;
52650 esac
52651 rm -f conftest.make
52652 fi
52653 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52654 { echo "$as_me:$LINENO: result: yes" >&5
52655 echo "${ECHO_T}yes" >&6; }
52656 SET_MAKE=
52657 else
52658 { echo "$as_me:$LINENO: result: no" >&5
52659 echo "${ECHO_T}no" >&6; }
52660 SET_MAKE="MAKE=${MAKE-make}"
52661 fi
52662
52663
52664
52665 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52666
52667
52668 if test "$USE_WIN32" = 1; then
52669 ac_config_commands="$ac_config_commands rcdefs.h"
52670
52671 fi
52672
52673 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52674
52675
52676 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52677
52678
52679 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52680
52681
52682 if test "$wx_cv_version_script" = "yes"; then
52683 ac_config_files="$ac_config_files version-script"
52684
52685 fi
52686 ac_config_files="$ac_config_files Makefile"
52687
52688
52689 ac_config_commands="$ac_config_commands wx-config"
52690
52691
52692
52693 if test "$wxWITH_SUBDIRS" != "no"; then
52694 if test "$wxUSE_GUI" = "yes"; then
52695 SUBDIRS="samples demos utils"
52696 else
52697 SUBDIRS="samples utils"
52698 fi
52699
52700
52701
52702 # Check whether --with-cppunit-prefix was given.
52703 if test "${with_cppunit_prefix+set}" = set; then
52704 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52705 else
52706 cppunit_config_prefix=""
52707 fi
52708
52709
52710 # Check whether --with-cppunit-exec-prefix was given.
52711 if test "${with_cppunit_exec_prefix+set}" = set; then
52712 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52713 else
52714 cppunit_config_exec_prefix=""
52715 fi
52716
52717
52718 if test x$cppunit_config_exec_prefix != x ; then
52719 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52720 if test x${CPPUNIT_CONFIG+set} != xset ; then
52721 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52722 fi
52723 fi
52724 if test x$cppunit_config_prefix != x ; then
52725 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52726 if test x${CPPUNIT_CONFIG+set} != xset ; then
52727 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52728 fi
52729 fi
52730
52731 # Extract the first word of "cppunit-config", so it can be a program name with args.
52732 set dummy cppunit-config; ac_word=$2
52733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52735 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52736 echo $ECHO_N "(cached) $ECHO_C" >&6
52737 else
52738 case $CPPUNIT_CONFIG in
52739 [\\/]* | ?:[\\/]*)
52740 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52741 ;;
52742 *)
52743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52744 for as_dir in $PATH
52745 do
52746 IFS=$as_save_IFS
52747 test -z "$as_dir" && as_dir=.
52748 for ac_exec_ext in '' $ac_executable_extensions; do
52749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52750 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52752 break 2
52753 fi
52754 done
52755 done
52756 IFS=$as_save_IFS
52757
52758 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52759 ;;
52760 esac
52761 fi
52762 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52763 if test -n "$CPPUNIT_CONFIG"; then
52764 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52765 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52766 else
52767 { echo "$as_me:$LINENO: result: no" >&5
52768 echo "${ECHO_T}no" >&6; }
52769 fi
52770
52771
52772 cppunit_version_min=1.8.0
52773
52774 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52775 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52776 no_cppunit=""
52777 if test "$CPPUNIT_CONFIG" = "no" ; then
52778 { echo "$as_me:$LINENO: result: no" >&5
52779 echo "${ECHO_T}no" >&6; }
52780 no_cppunit=yes
52781 else
52782 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52783 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52784 cppunit_version=`$CPPUNIT_CONFIG --version`
52785
52786 cppunit_major_version=`echo $cppunit_version | \
52787 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52788 cppunit_minor_version=`echo $cppunit_version | \
52789 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52790 cppunit_micro_version=`echo $cppunit_version | \
52791 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52792
52793 cppunit_major_min=`echo $cppunit_version_min | \
52794 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52795 cppunit_minor_min=`echo $cppunit_version_min | \
52796 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52797 cppunit_micro_min=`echo $cppunit_version_min | \
52798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52799
52800 cppunit_version_proper=`expr \
52801 $cppunit_major_version \> $cppunit_major_min \| \
52802 $cppunit_major_version \= $cppunit_major_min \& \
52803 $cppunit_minor_version \> $cppunit_minor_min \| \
52804 $cppunit_major_version \= $cppunit_major_min \& \
52805 $cppunit_minor_version \= $cppunit_minor_min \& \
52806 $cppunit_micro_version \>= $cppunit_micro_min `
52807
52808 if test "$cppunit_version_proper" = "1" ; then
52809 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52810 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52811 else
52812 { echo "$as_me:$LINENO: result: no" >&5
52813 echo "${ECHO_T}no" >&6; }
52814 no_cppunit=yes
52815 fi
52816 fi
52817
52818 if test "x$no_cppunit" = x ; then
52819 SUBDIRS="$SUBDIRS tests"
52820 else
52821 CPPUNIT_CFLAGS=""
52822 CPPUNIT_LIBS=""
52823 :
52824 fi
52825
52826
52827
52828
52829
52830 for subdir in $SUBDIRS; do
52831 if test -d ${srcdir}/${subdir} ; then
52832 if test "$wxUSE_GUI" = "yes"; then
52833 if test ${subdir} = "samples"; then
52834 makefiles="samples/Makefile.in $makefiles"
52835 for sample in $SAMPLES_SUBDIRS; do
52836 if test -d $srcdir/samples/$sample; then
52837 makefiles="samples/$sample/Makefile.in $makefiles"
52838 fi
52839 done
52840 else
52841 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52842 eval "disabled=\$$disabled_var"
52843 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52844 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52845 fi
52846 else
52847 if test ${subdir} = "samples"; then
52848 makefiles="samples/Makefile.in $makefiles"
52849 for sample in `echo $SAMPLES_SUBDIRS`; do
52850 if test -d $srcdir/samples/$sample; then
52851 makefiles="samples/$sample/Makefile.in $makefiles"
52852 fi
52853 done
52854 elif test ${subdir} = "utils"; then
52855 makefiles=""
52856 for util in ifacecheck ; do
52857 if test -d $srcdir/utils/$util ; then
52858 makefiles="utils/$util/src/Makefile.in \
52859 $makefiles"
52860 fi
52861 done
52862 else
52863 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52864 fi
52865 fi
52866
52867 for mkin in $makefiles ; do
52868 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52869 ac_config_files="$ac_config_files $mk"
52870
52871 done
52872 fi
52873 done
52874 fi
52875 cat >confcache <<\_ACEOF
52876 # This file is a shell script that caches the results of configure
52877 # tests run on this system so they can be shared between configure
52878 # scripts and configure runs, see configure's option --config-cache.
52879 # It is not useful on other systems. If it contains results you don't
52880 # want to keep, you may remove or edit it.
52881 #
52882 # config.status only pays attention to the cache file if you give it
52883 # the --recheck option to rerun configure.
52884 #
52885 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52886 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52887 # following values.
52888
52889 _ACEOF
52890
52891 # The following way of writing the cache mishandles newlines in values,
52892 # but we know of no workaround that is simple, portable, and efficient.
52893 # So, we kill variables containing newlines.
52894 # Ultrix sh set writes to stderr and can't be redirected directly,
52895 # and sets the high bit in the cache file unless we assign to the vars.
52896 (
52897 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52898 eval ac_val=\$$ac_var
52899 case $ac_val in #(
52900 *${as_nl}*)
52901 case $ac_var in #(
52902 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52903 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52904 esac
52905 case $ac_var in #(
52906 _ | IFS | as_nl) ;; #(
52907 *) $as_unset $ac_var ;;
52908 esac ;;
52909 esac
52910 done
52911
52912 (set) 2>&1 |
52913 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52914 *${as_nl}ac_space=\ *)
52915 # `set' does not quote correctly, so add quotes (double-quote
52916 # substitution turns \\\\ into \\, and sed turns \\ into \).
52917 sed -n \
52918 "s/'/'\\\\''/g;
52919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52920 ;; #(
52921 *)
52922 # `set' quotes correctly as required by POSIX, so do not add quotes.
52923 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52924 ;;
52925 esac |
52926 sort
52927 ) |
52928 sed '
52929 /^ac_cv_env_/b end
52930 t clear
52931 :clear
52932 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52933 t end
52934 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52935 :end' >>confcache
52936 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52937 if test -w "$cache_file"; then
52938 test "x$cache_file" != "x/dev/null" &&
52939 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52940 echo "$as_me: updating cache $cache_file" >&6;}
52941 cat confcache >$cache_file
52942 else
52943 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52944 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52945 fi
52946 fi
52947 rm -f confcache
52948
52949 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52950 # Let make expand exec_prefix.
52951 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52952
52953 DEFS=-DHAVE_CONFIG_H
52954
52955 ac_libobjs=
52956 ac_ltlibobjs=
52957 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52958 # 1. Remove the extension, and $U if already installed.
52959 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52960 ac_i=`echo "$ac_i" | sed "$ac_script"`
52961 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52962 # will be set to the directory where LIBOBJS objects are built.
52963 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52964 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52965 done
52966 LIBOBJS=$ac_libobjs
52967
52968 LTLIBOBJS=$ac_ltlibobjs
52969
52970
52971
52972 : ${CONFIG_STATUS=./config.status}
52973 ac_clean_files_save=$ac_clean_files
52974 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52975 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52976 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52977 cat >$CONFIG_STATUS <<_ACEOF
52978 #! $SHELL
52979 # Generated by $as_me.
52980 # Run this file to recreate the current configuration.
52981 # Compiler output produced by configure, useful for debugging
52982 # configure, is in config.log if it exists.
52983
52984 debug=false
52985 ac_cs_recheck=false
52986 ac_cs_silent=false
52987 SHELL=\${CONFIG_SHELL-$SHELL}
52988 _ACEOF
52989
52990 cat >>$CONFIG_STATUS <<\_ACEOF
52991 ## --------------------- ##
52992 ## M4sh Initialization. ##
52993 ## --------------------- ##
52994
52995 # Be more Bourne compatible
52996 DUALCASE=1; export DUALCASE # for MKS sh
52997 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52998 emulate sh
52999 NULLCMD=:
53000 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53001 # is contrary to our usage. Disable this feature.
53002 alias -g '${1+"$@"}'='"$@"'
53003 setopt NO_GLOB_SUBST
53004 else
53005 case `(set -o) 2>/dev/null` in
53006 *posix*) set -o posix ;;
53007 esac
53008
53009 fi
53010
53011
53012
53013
53014 # PATH needs CR
53015 # Avoid depending upon Character Ranges.
53016 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53017 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53018 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53019 as_cr_digits='0123456789'
53020 as_cr_alnum=$as_cr_Letters$as_cr_digits
53021
53022 # The user is always right.
53023 if test "${PATH_SEPARATOR+set}" != set; then
53024 echo "#! /bin/sh" >conf$$.sh
53025 echo "exit 0" >>conf$$.sh
53026 chmod +x conf$$.sh
53027 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53028 PATH_SEPARATOR=';'
53029 else
53030 PATH_SEPARATOR=:
53031 fi
53032 rm -f conf$$.sh
53033 fi
53034
53035 # Support unset when possible.
53036 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53037 as_unset=unset
53038 else
53039 as_unset=false
53040 fi
53041
53042
53043 # IFS
53044 # We need space, tab and new line, in precisely that order. Quoting is
53045 # there to prevent editors from complaining about space-tab.
53046 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53047 # splitting by setting IFS to empty value.)
53048 as_nl='
53049 '
53050 IFS=" "" $as_nl"
53051
53052 # Find who we are. Look in the path if we contain no directory separator.
53053 case $0 in
53054 *[\\/]* ) as_myself=$0 ;;
53055 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53056 for as_dir in $PATH
53057 do
53058 IFS=$as_save_IFS
53059 test -z "$as_dir" && as_dir=.
53060 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53061 done
53062 IFS=$as_save_IFS
53063
53064 ;;
53065 esac
53066 # We did not find ourselves, most probably we were run as `sh COMMAND'
53067 # in which case we are not to be found in the path.
53068 if test "x$as_myself" = x; then
53069 as_myself=$0
53070 fi
53071 if test ! -f "$as_myself"; then
53072 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53073 { (exit 1); exit 1; }
53074 fi
53075
53076 # Work around bugs in pre-3.0 UWIN ksh.
53077 for as_var in ENV MAIL MAILPATH
53078 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53079 done
53080 PS1='$ '
53081 PS2='> '
53082 PS4='+ '
53083
53084 # NLS nuisances.
53085 for as_var in \
53086 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53087 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53088 LC_TELEPHONE LC_TIME
53089 do
53090 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53091 eval $as_var=C; export $as_var
53092 else
53093 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53094 fi
53095 done
53096
53097 # Required to use basename.
53098 if expr a : '\(a\)' >/dev/null 2>&1 &&
53099 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53100 as_expr=expr
53101 else
53102 as_expr=false
53103 fi
53104
53105 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53106 as_basename=basename
53107 else
53108 as_basename=false
53109 fi
53110
53111
53112 # Name of the executable.
53113 as_me=`$as_basename -- "$0" ||
53114 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53115 X"$0" : 'X\(//\)$' \| \
53116 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53117 echo X/"$0" |
53118 sed '/^.*\/\([^/][^/]*\)\/*$/{
53119 s//\1/
53120 q
53121 }
53122 /^X\/\(\/\/\)$/{
53123 s//\1/
53124 q
53125 }
53126 /^X\/\(\/\).*/{
53127 s//\1/
53128 q
53129 }
53130 s/.*/./; q'`
53131
53132 # CDPATH.
53133 $as_unset CDPATH
53134
53135
53136
53137 as_lineno_1=$LINENO
53138 as_lineno_2=$LINENO
53139 test "x$as_lineno_1" != "x$as_lineno_2" &&
53140 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53141
53142 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53143 # uniformly replaced by the line number. The first 'sed' inserts a
53144 # line-number line after each line using $LINENO; the second 'sed'
53145 # does the real work. The second script uses 'N' to pair each
53146 # line-number line with the line containing $LINENO, and appends
53147 # trailing '-' during substitution so that $LINENO is not a special
53148 # case at line end.
53149 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53150 # scripts with optimization help from Paolo Bonzini. Blame Lee
53151 # E. McMahon (1931-1989) for sed's syntax. :-)
53152 sed -n '
53153 p
53154 /[$]LINENO/=
53155 ' <$as_myself |
53156 sed '
53157 s/[$]LINENO.*/&-/
53158 t lineno
53159 b
53160 :lineno
53161 N
53162 :loop
53163 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53164 t loop
53165 s/-\n.*//
53166 ' >$as_me.lineno &&
53167 chmod +x "$as_me.lineno" ||
53168 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53169 { (exit 1); exit 1; }; }
53170
53171 # Don't try to exec as it changes $[0], causing all sort of problems
53172 # (the dirname of $[0] is not the place where we might find the
53173 # original and so on. Autoconf is especially sensitive to this).
53174 . "./$as_me.lineno"
53175 # Exit status is that of the last command.
53176 exit
53177 }
53178
53179
53180 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53181 as_dirname=dirname
53182 else
53183 as_dirname=false
53184 fi
53185
53186 ECHO_C= ECHO_N= ECHO_T=
53187 case `echo -n x` in
53188 -n*)
53189 case `echo 'x\c'` in
53190 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53191 *) ECHO_C='\c';;
53192 esac;;
53193 *)
53194 ECHO_N='-n';;
53195 esac
53196
53197 if expr a : '\(a\)' >/dev/null 2>&1 &&
53198 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53199 as_expr=expr
53200 else
53201 as_expr=false
53202 fi
53203
53204 rm -f conf$$ conf$$.exe conf$$.file
53205 if test -d conf$$.dir; then
53206 rm -f conf$$.dir/conf$$.file
53207 else
53208 rm -f conf$$.dir
53209 mkdir conf$$.dir
53210 fi
53211 echo >conf$$.file
53212 if ln -s conf$$.file conf$$ 2>/dev/null; then
53213 as_ln_s='ln -s'
53214 # ... but there are two gotchas:
53215 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53216 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53217 # In both cases, we have to default to `cp -p'.
53218 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53219 as_ln_s='cp -p'
53220 elif ln conf$$.file conf$$ 2>/dev/null; then
53221 as_ln_s=ln
53222 else
53223 as_ln_s='cp -p'
53224 fi
53225 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53226 rmdir conf$$.dir 2>/dev/null
53227
53228 if mkdir -p . 2>/dev/null; then
53229 as_mkdir_p=:
53230 else
53231 test -d ./-p && rmdir ./-p
53232 as_mkdir_p=false
53233 fi
53234
53235 if test -x / >/dev/null 2>&1; then
53236 as_test_x='test -x'
53237 else
53238 if ls -dL / >/dev/null 2>&1; then
53239 as_ls_L_option=L
53240 else
53241 as_ls_L_option=
53242 fi
53243 as_test_x='
53244 eval sh -c '\''
53245 if test -d "$1"; then
53246 test -d "$1/.";
53247 else
53248 case $1 in
53249 -*)set "./$1";;
53250 esac;
53251 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53252 ???[sx]*):;;*)false;;esac;fi
53253 '\'' sh
53254 '
53255 fi
53256 as_executable_p=$as_test_x
53257
53258 # Sed expression to map a string onto a valid CPP name.
53259 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53260
53261 # Sed expression to map a string onto a valid variable name.
53262 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53263
53264
53265 exec 6>&1
53266
53267 # Save the log message, to keep $[0] and so on meaningful, and to
53268 # report actual input values of CONFIG_FILES etc. instead of their
53269 # values after options handling.
53270 ac_log="
53271 This file was extended by wxWidgets $as_me 2.9.2, which was
53272 generated by GNU Autoconf 2.61. Invocation command line was
53273
53274 CONFIG_FILES = $CONFIG_FILES
53275 CONFIG_HEADERS = $CONFIG_HEADERS
53276 CONFIG_LINKS = $CONFIG_LINKS
53277 CONFIG_COMMANDS = $CONFIG_COMMANDS
53278 $ $0 $@
53279
53280 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53281 "
53282
53283 _ACEOF
53284
53285 cat >>$CONFIG_STATUS <<_ACEOF
53286 # Files that config.status was made for.
53287 config_files="$ac_config_files"
53288 config_headers="$ac_config_headers"
53289 config_commands="$ac_config_commands"
53290
53291 _ACEOF
53292
53293 cat >>$CONFIG_STATUS <<\_ACEOF
53294 ac_cs_usage="\
53295 \`$as_me' instantiates files from templates according to the
53296 current configuration.
53297
53298 Usage: $0 [OPTIONS] [FILE]...
53299
53300 -h, --help print this help, then exit
53301 -V, --version print version number and configuration settings, then exit
53302 -q, --quiet do not print progress messages
53303 -d, --debug don't remove temporary files
53304 --recheck update $as_me by reconfiguring in the same conditions
53305 --file=FILE[:TEMPLATE]
53306 instantiate the configuration file FILE
53307 --header=FILE[:TEMPLATE]
53308 instantiate the configuration header FILE
53309
53310 Configuration files:
53311 $config_files
53312
53313 Configuration headers:
53314 $config_headers
53315
53316 Configuration commands:
53317 $config_commands
53318
53319 Report bugs to <bug-autoconf@gnu.org>."
53320
53321 _ACEOF
53322 cat >>$CONFIG_STATUS <<_ACEOF
53323 ac_cs_version="\\
53324 wxWidgets config.status 2.9.2
53325 configured by $0, generated by GNU Autoconf 2.61,
53326 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53327
53328 Copyright (C) 2006 Free Software Foundation, Inc.
53329 This config.status script is free software; the Free Software Foundation
53330 gives unlimited permission to copy, distribute and modify it."
53331
53332 ac_pwd='$ac_pwd'
53333 srcdir='$srcdir'
53334 INSTALL='$INSTALL'
53335 _ACEOF
53336
53337 cat >>$CONFIG_STATUS <<\_ACEOF
53338 # If no file are specified by the user, then we need to provide default
53339 # value. By we need to know if files were specified by the user.
53340 ac_need_defaults=:
53341 while test $# != 0
53342 do
53343 case $1 in
53344 --*=*)
53345 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53346 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53347 ac_shift=:
53348 ;;
53349 *)
53350 ac_option=$1
53351 ac_optarg=$2
53352 ac_shift=shift
53353 ;;
53354 esac
53355
53356 case $ac_option in
53357 # Handling of the options.
53358 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53359 ac_cs_recheck=: ;;
53360 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53361 echo "$ac_cs_version"; exit ;;
53362 --debug | --debu | --deb | --de | --d | -d )
53363 debug=: ;;
53364 --file | --fil | --fi | --f )
53365 $ac_shift
53366 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53367 ac_need_defaults=false;;
53368 --header | --heade | --head | --hea )
53369 $ac_shift
53370 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53371 ac_need_defaults=false;;
53372 --he | --h)
53373 # Conflict between --help and --header
53374 { echo "$as_me: error: ambiguous option: $1
53375 Try \`$0 --help' for more information." >&2
53376 { (exit 1); exit 1; }; };;
53377 --help | --hel | -h )
53378 echo "$ac_cs_usage"; exit ;;
53379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53380 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53381 ac_cs_silent=: ;;
53382
53383 # This is an error.
53384 -*) { echo "$as_me: error: unrecognized option: $1
53385 Try \`$0 --help' for more information." >&2
53386 { (exit 1); exit 1; }; } ;;
53387
53388 *) ac_config_targets="$ac_config_targets $1"
53389 ac_need_defaults=false ;;
53390
53391 esac
53392 shift
53393 done
53394
53395 ac_configure_extra_args=
53396
53397 if $ac_cs_silent; then
53398 exec 6>/dev/null
53399 ac_configure_extra_args="$ac_configure_extra_args --silent"
53400 fi
53401
53402 _ACEOF
53403 cat >>$CONFIG_STATUS <<_ACEOF
53404 if \$ac_cs_recheck; then
53405 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53406 CONFIG_SHELL=$SHELL
53407 export CONFIG_SHELL
53408 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53409 fi
53410
53411 _ACEOF
53412 cat >>$CONFIG_STATUS <<\_ACEOF
53413 exec 5>>config.log
53414 {
53415 echo
53416 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53417 ## Running $as_me. ##
53418 _ASBOX
53419 echo "$ac_log"
53420 } >&5
53421
53422 _ACEOF
53423 cat >>$CONFIG_STATUS <<_ACEOF
53424 #
53425 # INIT-COMMANDS
53426 #
53427
53428 CPP="$CPP"
53429 infile="$srcdir/include/wx/msw/genrcdefs.h"
53430 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53431
53432
53433 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53434 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53435 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53436 LN_S="${LN_S}"
53437
53438
53439 _ACEOF
53440
53441 cat >>$CONFIG_STATUS <<\_ACEOF
53442
53443 # Handling of arguments.
53444 for ac_config_target in $ac_config_targets
53445 do
53446 case $ac_config_target in
53447 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53448 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53449 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53450 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53451 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53452 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53453 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53454 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53455 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53456
53457 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53458 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53459 { (exit 1); exit 1; }; };;
53460 esac
53461 done
53462
53463
53464 # If the user did not use the arguments to specify the items to instantiate,
53465 # then the envvar interface is used. Set only those that are not.
53466 # We use the long form for the default assignment because of an extremely
53467 # bizarre bug on SunOS 4.1.3.
53468 if $ac_need_defaults; then
53469 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53470 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53471 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53472 fi
53473
53474 # Have a temporary directory for convenience. Make it in the build tree
53475 # simply because there is no reason against having it here, and in addition,
53476 # creating and moving files from /tmp can sometimes cause problems.
53477 # Hook for its removal unless debugging.
53478 # Note that there is a small window in which the directory will not be cleaned:
53479 # after its creation but before its name has been assigned to `$tmp'.
53480 $debug ||
53481 {
53482 tmp=
53483 trap 'exit_status=$?
53484 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53485 ' 0
53486 trap '{ (exit 1); exit 1; }' 1 2 13 15
53487 }
53488 # Create a (secure) tmp directory for tmp files.
53489
53490 {
53491 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53492 test -n "$tmp" && test -d "$tmp"
53493 } ||
53494 {
53495 tmp=./conf$$-$RANDOM
53496 (umask 077 && mkdir "$tmp")
53497 } ||
53498 {
53499 echo "$me: cannot create a temporary directory in ." >&2
53500 { (exit 1); exit 1; }
53501 }
53502
53503 #
53504 # Set up the sed scripts for CONFIG_FILES section.
53505 #
53506
53507 # No need to generate the scripts if there are no CONFIG_FILES.
53508 # This happens for instance when ./config.status config.h
53509 if test -n "$CONFIG_FILES"; then
53510
53511 _ACEOF
53512
53513
53514
53515 ac_delim='%!_!# '
53516 for ac_last_try in false false false false false :; do
53517 cat >conf$$subs.sed <<_ACEOF
53518 SHELL!$SHELL$ac_delim
53519 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53520 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53521 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53522 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53523 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53524 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53525 exec_prefix!$exec_prefix$ac_delim
53526 prefix!$prefix$ac_delim
53527 program_transform_name!$program_transform_name$ac_delim
53528 bindir!$bindir$ac_delim
53529 sbindir!$sbindir$ac_delim
53530 libexecdir!$libexecdir$ac_delim
53531 datarootdir!$datarootdir$ac_delim
53532 datadir!$datadir$ac_delim
53533 sysconfdir!$sysconfdir$ac_delim
53534 sharedstatedir!$sharedstatedir$ac_delim
53535 localstatedir!$localstatedir$ac_delim
53536 includedir!$includedir$ac_delim
53537 oldincludedir!$oldincludedir$ac_delim
53538 docdir!$docdir$ac_delim
53539 infodir!$infodir$ac_delim
53540 htmldir!$htmldir$ac_delim
53541 dvidir!$dvidir$ac_delim
53542 pdfdir!$pdfdir$ac_delim
53543 psdir!$psdir$ac_delim
53544 libdir!$libdir$ac_delim
53545 localedir!$localedir$ac_delim
53546 mandir!$mandir$ac_delim
53547 DEFS!$DEFS$ac_delim
53548 ECHO_C!$ECHO_C$ac_delim
53549 ECHO_N!$ECHO_N$ac_delim
53550 ECHO_T!$ECHO_T$ac_delim
53551 LIBS!$LIBS$ac_delim
53552 build_alias!$build_alias$ac_delim
53553 host_alias!$host_alias$ac_delim
53554 target_alias!$target_alias$ac_delim
53555 build!$build$ac_delim
53556 build_cpu!$build_cpu$ac_delim
53557 build_vendor!$build_vendor$ac_delim
53558 build_os!$build_os$ac_delim
53559 host!$host$ac_delim
53560 host_cpu!$host_cpu$ac_delim
53561 host_vendor!$host_vendor$ac_delim
53562 host_os!$host_os$ac_delim
53563 wx_top_builddir!$wx_top_builddir$ac_delim
53564 CC!$CC$ac_delim
53565 CFLAGS!$CFLAGS$ac_delim
53566 LDFLAGS!$LDFLAGS$ac_delim
53567 CPPFLAGS!$CPPFLAGS$ac_delim
53568 ac_ct_CC!$ac_ct_CC$ac_delim
53569 EXEEXT!$EXEEXT$ac_delim
53570 OBJEXT!$OBJEXT$ac_delim
53571 CPP!$CPP$ac_delim
53572 GREP!$GREP$ac_delim
53573 EGREP!$EGREP$ac_delim
53574 CXX!$CXX$ac_delim
53575 CXXFLAGS!$CXXFLAGS$ac_delim
53576 ac_ct_CXX!$ac_ct_CXX$ac_delim
53577 AR!$AR$ac_delim
53578 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53579 CXXCPP!$CXXCPP$ac_delim
53580 subdirs!$subdirs$ac_delim
53581 PKG_CONFIG!$PKG_CONFIG$ac_delim
53582 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53583 GTK_LIBS!$GTK_LIBS$ac_delim
53584 GTK_CONFIG!$GTK_CONFIG$ac_delim
53585 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53586 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53587 XMKMF!$XMKMF$ac_delim
53588 X_CFLAGS!$X_CFLAGS$ac_delim
53589 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53590 X_LIBS!$X_LIBS$ac_delim
53591 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53592 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53593 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53594 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53595 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53596 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53597 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53598 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53599 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53600 LIBICONV!$LIBICONV$ac_delim
53601 GXX_VERSION!$GXX_VERSION$ac_delim
53602 SDL_CONFIG!$SDL_CONFIG$ac_delim
53603 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53604 SDL_LIBS!$SDL_LIBS$ac_delim
53605 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53606 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53607 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53608 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53609 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53610 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53611 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53612 HILDON_LIBS!$HILDON_LIBS$ac_delim
53613 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53614 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53615 _ACEOF
53616
53617 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53618 break
53619 elif $ac_last_try; then
53620 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53621 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53622 { (exit 1); exit 1; }; }
53623 else
53624 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53625 fi
53626 done
53627
53628 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53629 if test -n "$ac_eof"; then
53630 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53631 ac_eof=`expr $ac_eof + 1`
53632 fi
53633
53634 cat >>$CONFIG_STATUS <<_ACEOF
53635 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53636 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53637 _ACEOF
53638 sed '
53639 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53640 s/^/s,@/; s/!/@,|#_!!_#|/
53641 :n
53642 t n
53643 s/'"$ac_delim"'$/,g/; t
53644 s/$/\\/; p
53645 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53646 ' >>$CONFIG_STATUS <conf$$subs.sed
53647 rm -f conf$$subs.sed
53648 cat >>$CONFIG_STATUS <<_ACEOF
53649 CEOF$ac_eof
53650 _ACEOF
53651
53652
53653 ac_delim='%!_!# '
53654 for ac_last_try in false false false false false :; do
53655 cat >conf$$subs.sed <<_ACEOF
53656 PYTHON!$PYTHON$ac_delim
53657 COND_PYTHON!$COND_PYTHON$ac_delim
53658 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53659 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53660 GST_CFLAGS!$GST_CFLAGS$ac_delim
53661 GST_LIBS!$GST_LIBS$ac_delim
53662 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53663 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53664 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53665 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53666 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53667 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53668 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53669 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53670 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53671 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53672 VENDOR!$VENDOR$ac_delim
53673 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53674 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53675 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53676 WXUNIV!$WXUNIV$ac_delim
53677 MONOLITHIC!$MONOLITHIC$ac_delim
53678 USE_PLUGINS!$USE_PLUGINS$ac_delim
53679 CXXWARNINGS!$CXXWARNINGS$ac_delim
53680 EXTRALIBS!$EXTRALIBS$ac_delim
53681 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53682 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53683 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53684 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53685 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53686 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53687 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53688 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53689 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53690 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53691 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53692 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53693 UNICODE!$UNICODE$ac_delim
53694 DEBUG_INFO!$DEBUG_INFO$ac_delim
53695 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53696 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53697 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53698 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53699 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53700 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53701 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53702 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53703 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53704 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53705 RANLIB!$RANLIB$ac_delim
53706 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53707 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53708 INSTALL_DATA!$INSTALL_DATA$ac_delim
53709 LN_S!$LN_S$ac_delim
53710 SET_MAKE!$SET_MAKE$ac_delim
53711 MAKE_SET!$MAKE_SET$ac_delim
53712 AROPTIONS!$AROPTIONS$ac_delim
53713 STRIP!$STRIP$ac_delim
53714 NM!$NM$ac_delim
53715 INSTALL_DIR!$INSTALL_DIR$ac_delim
53716 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53717 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53718 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53719 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53720 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53721 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53722 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53723 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53724 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53725 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53726 SO_SUFFIX!$SO_SUFFIX$ac_delim
53727 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53728 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53729 LIBPREFIX!$LIBPREFIX$ac_delim
53730 LIBEXT!$LIBEXT$ac_delim
53731 DLLPREFIX!$DLLPREFIX$ac_delim
53732 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53733 dlldir!$dlldir$ac_delim
53734 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53735 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53736 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53737 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53738 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53739 PIC_FLAG!$PIC_FLAG$ac_delim
53740 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53741 USE_SOVERSION!$USE_SOVERSION$ac_delim
53742 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53743 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53744 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53745 USE_MACVERSION!$USE_MACVERSION$ac_delim
53746 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53747 SONAME_FLAG!$SONAME_FLAG$ac_delim
53748 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53749 BK_DEPS!$BK_DEPS$ac_delim
53750 WINDRES!$WINDRES$ac_delim
53751 REZ!$REZ$ac_delim
53752 SETFILE!$SETFILE$ac_delim
53753 _ACEOF
53754
53755 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53756 break
53757 elif $ac_last_try; then
53758 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53759 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53760 { (exit 1); exit 1; }; }
53761 else
53762 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53763 fi
53764 done
53765
53766 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53767 if test -n "$ac_eof"; then
53768 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53769 ac_eof=`expr $ac_eof + 1`
53770 fi
53771
53772 cat >>$CONFIG_STATUS <<_ACEOF
53773 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53774 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53775 _ACEOF
53776 sed '
53777 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53778 s/^/s,@/; s/!/@,|#_!!_#|/
53779 :n
53780 t n
53781 s/'"$ac_delim"'$/,g/; t
53782 s/$/\\/; p
53783 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53784 ' >>$CONFIG_STATUS <conf$$subs.sed
53785 rm -f conf$$subs.sed
53786 cat >>$CONFIG_STATUS <<_ACEOF
53787 CEOF$ac_eof
53788 _ACEOF
53789
53790
53791 ac_delim='%!_!# '
53792 for ac_last_try in false false false false false :; do
53793 cat >conf$$subs.sed <<_ACEOF
53794 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53795 GCC_PCH!$GCC_PCH$ac_delim
53796 ICC_PCH!$ICC_PCH$ac_delim
53797 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53798 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53799 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53800 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53801 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53802 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53803 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53804 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53805 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53806 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53807 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53808 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53809 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53810 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53811 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53812 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53813 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53814 COND_BUILD_release!$COND_BUILD_release$ac_delim
53815 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53816 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53817 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53818 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53819 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53820 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53821 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53822 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53823 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53824 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53825 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53826 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53827 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53833 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53834 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53838 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53844 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53845 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53847 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53848 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53849 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53850 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53851 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53852 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53853 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53854 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53855 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53856 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53857 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53858 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53859 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53860 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53861 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53862 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53863 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53864 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53865 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53866 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53867 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53868 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53869 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53870 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53871 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
53872 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53873 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
53874 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53875 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
53876 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53877 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53878 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53879 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53880 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53881 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53882 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53883 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53884 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53885 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53886 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53887 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53888 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53889 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53890 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53891 _ACEOF
53892
53893 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53894 break
53895 elif $ac_last_try; then
53896 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53897 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53898 { (exit 1); exit 1; }; }
53899 else
53900 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53901 fi
53902 done
53903
53904 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53905 if test -n "$ac_eof"; then
53906 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53907 ac_eof=`expr $ac_eof + 1`
53908 fi
53909
53910 cat >>$CONFIG_STATUS <<_ACEOF
53911 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53912 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53913 _ACEOF
53914 sed '
53915 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53916 s/^/s,@/; s/!/@,|#_!!_#|/
53917 :n
53918 t n
53919 s/'"$ac_delim"'$/,g/; t
53920 s/$/\\/; p
53921 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53922 ' >>$CONFIG_STATUS <conf$$subs.sed
53923 rm -f conf$$subs.sed
53924 cat >>$CONFIG_STATUS <<_ACEOF
53925 CEOF$ac_eof
53926 _ACEOF
53927
53928
53929 ac_delim='%!_!# '
53930 for ac_last_try in false false false false false :; do
53931 cat >conf$$subs.sed <<_ACEOF
53932 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53933 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53934 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53935 COND_SHARED_0!$COND_SHARED_0$ac_delim
53936 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53937 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53938 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53939 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53940 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53941 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53942 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53943 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53944 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53945 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53946 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53947 COND_SHARED_1!$COND_SHARED_1$ac_delim
53948 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53949 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53950 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53951 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53952 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53953 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53954 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53955 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53956 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53957 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53958 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53959 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53960 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53961 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53962 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53963 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53964 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53965 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53966 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53967 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53968 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53969 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53970 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53971 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53972 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53973 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53974 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53975 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53976 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53977 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53978 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53979 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53980 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53981 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53982 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53983 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53984 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53985 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53986 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53987 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53988 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53989 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53990 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53991 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53992 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53993 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53994 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53995 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53996 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53997 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53998 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53999 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54000 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54001 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54002 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54003 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54004 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54005 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54006 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54007 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54008 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54009 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54010 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54011 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54012 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54013 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54014 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54015 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54016 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54017 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54018 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54019 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54020 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54021 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54022 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54023 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54024 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54025 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54026 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54027 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54028 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54029 _ACEOF
54030
54031 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54032 break
54033 elif $ac_last_try; then
54034 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54035 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54036 { (exit 1); exit 1; }; }
54037 else
54038 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54039 fi
54040 done
54041
54042 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54043 if test -n "$ac_eof"; then
54044 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54045 ac_eof=`expr $ac_eof + 1`
54046 fi
54047
54048 cat >>$CONFIG_STATUS <<_ACEOF
54049 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54051 _ACEOF
54052 sed '
54053 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54054 s/^/s,@/; s/!/@,|#_!!_#|/
54055 :n
54056 t n
54057 s/'"$ac_delim"'$/,g/; t
54058 s/$/\\/; p
54059 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54060 ' >>$CONFIG_STATUS <conf$$subs.sed
54061 rm -f conf$$subs.sed
54062 cat >>$CONFIG_STATUS <<_ACEOF
54063 CEOF$ac_eof
54064 _ACEOF
54065
54066
54067 ac_delim='%!_!# '
54068 for ac_last_try in false false false false false :; do
54069 cat >conf$$subs.sed <<_ACEOF
54070 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54071 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54072 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54073 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54074 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54075 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54076 DEREZ!$DEREZ$ac_delim
54077 SHARED!$SHARED$ac_delim
54078 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54079 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54080 USE_GUI!$USE_GUI$ac_delim
54081 AFMINSTALL!$AFMINSTALL$ac_delim
54082 WIN32INSTALL!$WIN32INSTALL$ac_delim
54083 TOOLKIT!$TOOLKIT$ac_delim
54084 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54085 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54086 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54087 cross_compiling!$cross_compiling$ac_delim
54088 WIDGET_SET!$WIDGET_SET$ac_delim
54089 WX_RELEASE!$WX_RELEASE$ac_delim
54090 WX_VERSION!$WX_VERSION$ac_delim
54091 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54092 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54093 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54094 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54095 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54096 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54097 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54098 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54099 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54100 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54101 GUIDIST!$GUIDIST$ac_delim
54102 DISTDIR!$DISTDIR$ac_delim
54103 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54104 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54105 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54106 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54107 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54108 RESCOMP!$RESCOMP$ac_delim
54109 RESFLAGS!$RESFLAGS$ac_delim
54110 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54111 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54112 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54113 LIBWXMACRES!$LIBWXMACRES$ac_delim
54114 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54115 MACSETFILE!$MACSETFILE$ac_delim
54116 GCC!$GCC$ac_delim
54117 DLLTOOL!$DLLTOOL$ac_delim
54118 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54119 LIBOBJS!$LIBOBJS$ac_delim
54120 LTLIBOBJS!$LTLIBOBJS$ac_delim
54121 _ACEOF
54122
54123 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54124 break
54125 elif $ac_last_try; then
54126 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54127 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54128 { (exit 1); exit 1; }; }
54129 else
54130 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54131 fi
54132 done
54133
54134 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54135 if test -n "$ac_eof"; then
54136 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54137 ac_eof=`expr $ac_eof + 1`
54138 fi
54139
54140 cat >>$CONFIG_STATUS <<_ACEOF
54141 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54142 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54143 _ACEOF
54144 sed '
54145 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54146 s/^/s,@/; s/!/@,|#_!!_#|/
54147 :n
54148 t n
54149 s/'"$ac_delim"'$/,g/; t
54150 s/$/\\/; p
54151 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54152 ' >>$CONFIG_STATUS <conf$$subs.sed
54153 rm -f conf$$subs.sed
54154 cat >>$CONFIG_STATUS <<_ACEOF
54155 :end
54156 s/|#_!!_#|//g
54157 CEOF$ac_eof
54158 _ACEOF
54159
54160
54161 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54162 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54163 # trailing colons and then remove the whole line if VPATH becomes empty
54164 # (actually we leave an empty line to preserve line numbers).
54165 if test "x$srcdir" = x.; then
54166 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54167 s/:*\$(srcdir):*/:/
54168 s/:*\${srcdir}:*/:/
54169 s/:*@srcdir@:*/:/
54170 s/^\([^=]*=[ ]*\):*/\1/
54171 s/:*$//
54172 s/^[^=]*=[ ]*$//
54173 }'
54174 fi
54175
54176 cat >>$CONFIG_STATUS <<\_ACEOF
54177 fi # test -n "$CONFIG_FILES"
54178
54179
54180 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54181 do
54182 case $ac_tag in
54183 :[FHLC]) ac_mode=$ac_tag; continue;;
54184 esac
54185 case $ac_mode$ac_tag in
54186 :[FHL]*:*);;
54187 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54188 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54189 { (exit 1); exit 1; }; };;
54190 :[FH]-) ac_tag=-:-;;
54191 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54192 esac
54193 ac_save_IFS=$IFS
54194 IFS=:
54195 set x $ac_tag
54196 IFS=$ac_save_IFS
54197 shift
54198 ac_file=$1
54199 shift
54200
54201 case $ac_mode in
54202 :L) ac_source=$1;;
54203 :[FH])
54204 ac_file_inputs=
54205 for ac_f
54206 do
54207 case $ac_f in
54208 -) ac_f="$tmp/stdin";;
54209 *) # Look for the file first in the build tree, then in the source tree
54210 # (if the path is not absolute). The absolute path cannot be DOS-style,
54211 # because $ac_f cannot contain `:'.
54212 test -f "$ac_f" ||
54213 case $ac_f in
54214 [\\/$]*) false;;
54215 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54216 esac ||
54217 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54218 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54219 { (exit 1); exit 1; }; };;
54220 esac
54221 ac_file_inputs="$ac_file_inputs $ac_f"
54222 done
54223
54224 # Let's still pretend it is `configure' which instantiates (i.e., don't
54225 # use $as_me), people would be surprised to read:
54226 # /* config.h. Generated by config.status. */
54227 configure_input="Generated from "`IFS=:
54228 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54229 if test x"$ac_file" != x-; then
54230 configure_input="$ac_file. $configure_input"
54231 { echo "$as_me:$LINENO: creating $ac_file" >&5
54232 echo "$as_me: creating $ac_file" >&6;}
54233 fi
54234
54235 case $ac_tag in
54236 *:-:* | *:-) cat >"$tmp/stdin";;
54237 esac
54238 ;;
54239 esac
54240
54241 ac_dir=`$as_dirname -- "$ac_file" ||
54242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54243 X"$ac_file" : 'X\(//\)[^/]' \| \
54244 X"$ac_file" : 'X\(//\)$' \| \
54245 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54246 echo X"$ac_file" |
54247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54248 s//\1/
54249 q
54250 }
54251 /^X\(\/\/\)[^/].*/{
54252 s//\1/
54253 q
54254 }
54255 /^X\(\/\/\)$/{
54256 s//\1/
54257 q
54258 }
54259 /^X\(\/\).*/{
54260 s//\1/
54261 q
54262 }
54263 s/.*/./; q'`
54264 { as_dir="$ac_dir"
54265 case $as_dir in #(
54266 -*) as_dir=./$as_dir;;
54267 esac
54268 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54269 as_dirs=
54270 while :; do
54271 case $as_dir in #(
54272 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54273 *) as_qdir=$as_dir;;
54274 esac
54275 as_dirs="'$as_qdir' $as_dirs"
54276 as_dir=`$as_dirname -- "$as_dir" ||
54277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54278 X"$as_dir" : 'X\(//\)[^/]' \| \
54279 X"$as_dir" : 'X\(//\)$' \| \
54280 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54281 echo X"$as_dir" |
54282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54283 s//\1/
54284 q
54285 }
54286 /^X\(\/\/\)[^/].*/{
54287 s//\1/
54288 q
54289 }
54290 /^X\(\/\/\)$/{
54291 s//\1/
54292 q
54293 }
54294 /^X\(\/\).*/{
54295 s//\1/
54296 q
54297 }
54298 s/.*/./; q'`
54299 test -d "$as_dir" && break
54300 done
54301 test -z "$as_dirs" || eval "mkdir $as_dirs"
54302 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54303 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54304 { (exit 1); exit 1; }; }; }
54305 ac_builddir=.
54306
54307 case "$ac_dir" in
54308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54309 *)
54310 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54311 # A ".." for each directory in $ac_dir_suffix.
54312 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54313 case $ac_top_builddir_sub in
54314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54316 esac ;;
54317 esac
54318 ac_abs_top_builddir=$ac_pwd
54319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54320 # for backward compatibility:
54321 ac_top_builddir=$ac_top_build_prefix
54322
54323 case $srcdir in
54324 .) # We are building in place.
54325 ac_srcdir=.
54326 ac_top_srcdir=$ac_top_builddir_sub
54327 ac_abs_top_srcdir=$ac_pwd ;;
54328 [\\/]* | ?:[\\/]* ) # Absolute name.
54329 ac_srcdir=$srcdir$ac_dir_suffix;
54330 ac_top_srcdir=$srcdir
54331 ac_abs_top_srcdir=$srcdir ;;
54332 *) # Relative name.
54333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54334 ac_top_srcdir=$ac_top_build_prefix$srcdir
54335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54336 esac
54337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54338
54339
54340 case $ac_mode in
54341 :F)
54342 #
54343 # CONFIG_FILE
54344 #
54345
54346 case $INSTALL in
54347 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54348 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54349 esac
54350 _ACEOF
54351
54352 cat >>$CONFIG_STATUS <<\_ACEOF
54353 # If the template does not know about datarootdir, expand it.
54354 # FIXME: This hack should be removed a few years after 2.60.
54355 ac_datarootdir_hack=; ac_datarootdir_seen=
54356
54357 case `sed -n '/datarootdir/ {
54358 p
54359 q
54360 }
54361 /@datadir@/p
54362 /@docdir@/p
54363 /@infodir@/p
54364 /@localedir@/p
54365 /@mandir@/p
54366 ' $ac_file_inputs` in
54367 *datarootdir*) ac_datarootdir_seen=yes;;
54368 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54369 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54370 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54371 _ACEOF
54372 cat >>$CONFIG_STATUS <<_ACEOF
54373 ac_datarootdir_hack='
54374 s&@datadir@&$datadir&g
54375 s&@docdir@&$docdir&g
54376 s&@infodir@&$infodir&g
54377 s&@localedir@&$localedir&g
54378 s&@mandir@&$mandir&g
54379 s&\\\${datarootdir}&$datarootdir&g' ;;
54380 esac
54381 _ACEOF
54382
54383 # Neutralize VPATH when `$srcdir' = `.'.
54384 # Shell code in configure.ac might set extrasub.
54385 # FIXME: do we really want to maintain this feature?
54386 cat >>$CONFIG_STATUS <<_ACEOF
54387 sed "$ac_vpsub
54388 $extrasub
54389 _ACEOF
54390 cat >>$CONFIG_STATUS <<\_ACEOF
54391 :t
54392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54393 s&@configure_input@&$configure_input&;t t
54394 s&@top_builddir@&$ac_top_builddir_sub&;t t
54395 s&@srcdir@&$ac_srcdir&;t t
54396 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54397 s&@top_srcdir@&$ac_top_srcdir&;t t
54398 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54399 s&@builddir@&$ac_builddir&;t t
54400 s&@abs_builddir@&$ac_abs_builddir&;t t
54401 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54402 s&@INSTALL@&$ac_INSTALL&;t t
54403 $ac_datarootdir_hack
54404 " $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
54405
54406 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54407 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54408 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54409 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54410 which seems to be undefined. Please make sure it is defined." >&5
54411 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54412 which seems to be undefined. Please make sure it is defined." >&2;}
54413
54414 rm -f "$tmp/stdin"
54415 case $ac_file in
54416 -) cat "$tmp/out"; rm -f "$tmp/out";;
54417 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54418 esac
54419 ;;
54420 :H)
54421 #
54422 # CONFIG_HEADER
54423 #
54424 _ACEOF
54425
54426 # Transform confdefs.h into a sed script `conftest.defines', that
54427 # substitutes the proper values into config.h.in to produce config.h.
54428 rm -f conftest.defines conftest.tail
54429 # First, append a space to every undef/define line, to ease matching.
54430 echo 's/$/ /' >conftest.defines
54431 # Then, protect against being on the right side of a sed subst, or in
54432 # an unquoted here document, in config.status. If some macros were
54433 # called several times there might be several #defines for the same
54434 # symbol, which is useless. But do not sort them, since the last
54435 # AC_DEFINE must be honored.
54436 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54437 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54438 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54439 # PARAMS is the parameter list in the macro definition--in most cases, it's
54440 # just an empty string.
54441 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54442 ac_dB='\\)[ (].*,\\1define\\2'
54443 ac_dC=' '
54444 ac_dD=' ,'
54445
54446 uniq confdefs.h |
54447 sed -n '
54448 t rset
54449 :rset
54450 s/^[ ]*#[ ]*define[ ][ ]*//
54451 t ok
54452 d
54453 :ok
54454 s/[\\&,]/\\&/g
54455 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54456 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54457 ' >>conftest.defines
54458
54459 # Remove the space that was appended to ease matching.
54460 # Then replace #undef with comments. This is necessary, for
54461 # example, in the case of _POSIX_SOURCE, which is predefined and required
54462 # on some systems where configure will not decide to define it.
54463 # (The regexp can be short, since the line contains either #define or #undef.)
54464 echo 's/ $//
54465 s,^[ #]*u.*,/* & */,' >>conftest.defines
54466
54467 # Break up conftest.defines:
54468 ac_max_sed_lines=50
54469
54470 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54471 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54472 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54473 # et cetera.
54474 ac_in='$ac_file_inputs'
54475 ac_out='"$tmp/out1"'
54476 ac_nxt='"$tmp/out2"'
54477
54478 while :
54479 do
54480 # Write a here document:
54481 cat >>$CONFIG_STATUS <<_ACEOF
54482 # First, check the format of the line:
54483 cat >"\$tmp/defines.sed" <<\\CEOF
54484 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54485 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54486 b
54487 :def
54488 _ACEOF
54489 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54490 echo 'CEOF
54491 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54492 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54493 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54494 grep . conftest.tail >/dev/null || break
54495 rm -f conftest.defines
54496 mv conftest.tail conftest.defines
54497 done
54498 rm -f conftest.defines conftest.tail
54499
54500 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54501 cat >>$CONFIG_STATUS <<\_ACEOF
54502 if test x"$ac_file" != x-; then
54503 echo "/* $configure_input */" >"$tmp/config.h"
54504 cat "$ac_result" >>"$tmp/config.h"
54505 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54506 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54507 echo "$as_me: $ac_file is unchanged" >&6;}
54508 else
54509 rm -f $ac_file
54510 mv "$tmp/config.h" $ac_file
54511 fi
54512 else
54513 echo "/* $configure_input */"
54514 cat "$ac_result"
54515 fi
54516 rm -f "$tmp/out12"
54517 ;;
54518
54519 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54520 echo "$as_me: executing $ac_file commands" >&6;}
54521 ;;
54522 esac
54523
54524
54525 case $ac_file$ac_mode in
54526 "rcdefs.h":C)
54527 mkdir -p $outdir &&
54528 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54529 ;;
54530 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54531 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54532 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54533 "wx-config":C) rm -f wx-config
54534 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54535 ;;
54536
54537 esac
54538 done # for ac_tag
54539
54540
54541 { (exit 0); exit 0; }
54542 _ACEOF
54543 chmod +x $CONFIG_STATUS
54544 ac_clean_files=$ac_clean_files_save
54545
54546
54547 # configure is writing to config.log, and then calls config.status.
54548 # config.status does its own redirection, appending to config.log.
54549 # Unfortunately, on DOS this fails, as config.log is still kept open
54550 # by configure, so config.status won't be able to write to it; its
54551 # output is simply discarded. So we exec the FD to /dev/null,
54552 # effectively closing config.log, so it can be properly (re)opened and
54553 # appended to by config.status. When coming back to configure, we
54554 # need to make the FD available again.
54555 if test "$no_create" != yes; then
54556 ac_cs_success=:
54557 ac_config_status_args=
54558 test "$silent" = yes &&
54559 ac_config_status_args="$ac_config_status_args --quiet"
54560 exec 5>/dev/null
54561 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54562 exec 5>>config.log
54563 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54564 # would make configure fail if this is the last instruction.
54565 $ac_cs_success || { (exit 1); exit 1; }
54566 fi
54567
54568 #
54569 # CONFIG_SUBDIRS section.
54570 #
54571 if test "$no_recursion" != yes; then
54572
54573 # Remove --cache-file and --srcdir arguments so they do not pile up.
54574 ac_sub_configure_args=
54575 ac_prev=
54576 eval "set x $ac_configure_args"
54577 shift
54578 for ac_arg
54579 do
54580 if test -n "$ac_prev"; then
54581 ac_prev=
54582 continue
54583 fi
54584 case $ac_arg in
54585 -cache-file | --cache-file | --cache-fil | --cache-fi \
54586 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54587 ac_prev=cache_file ;;
54588 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54589 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54590 | --c=*)
54591 ;;
54592 --config-cache | -C)
54593 ;;
54594 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54595 ac_prev=srcdir ;;
54596 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54597 ;;
54598 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54599 ac_prev=prefix ;;
54600 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54601 ;;
54602 *)
54603 case $ac_arg in
54604 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54605 esac
54606 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54607 esac
54608 done
54609
54610 # Always prepend --prefix to ensure using the same prefix
54611 # in subdir configurations.
54612 ac_arg="--prefix=$prefix"
54613 case $ac_arg in
54614 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54615 esac
54616 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54617
54618 # Pass --silent
54619 if test "$silent" = yes; then
54620 ac_sub_configure_args="--silent $ac_sub_configure_args"
54621 fi
54622
54623 ac_popdir=`pwd`
54624 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54625
54626 # Do not complain, so a configure script can configure whichever
54627 # parts of a large source tree are present.
54628 test -d "$srcdir/$ac_dir" || continue
54629
54630 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54631 echo "$as_me:$LINENO: $ac_msg" >&5
54632 echo "$ac_msg" >&6
54633 { as_dir="$ac_dir"
54634 case $as_dir in #(
54635 -*) as_dir=./$as_dir;;
54636 esac
54637 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54638 as_dirs=
54639 while :; do
54640 case $as_dir in #(
54641 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54642 *) as_qdir=$as_dir;;
54643 esac
54644 as_dirs="'$as_qdir' $as_dirs"
54645 as_dir=`$as_dirname -- "$as_dir" ||
54646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54647 X"$as_dir" : 'X\(//\)[^/]' \| \
54648 X"$as_dir" : 'X\(//\)$' \| \
54649 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54650 echo X"$as_dir" |
54651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54652 s//\1/
54653 q
54654 }
54655 /^X\(\/\/\)[^/].*/{
54656 s//\1/
54657 q
54658 }
54659 /^X\(\/\/\)$/{
54660 s//\1/
54661 q
54662 }
54663 /^X\(\/\).*/{
54664 s//\1/
54665 q
54666 }
54667 s/.*/./; q'`
54668 test -d "$as_dir" && break
54669 done
54670 test -z "$as_dirs" || eval "mkdir $as_dirs"
54671 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54672 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54673 { (exit 1); exit 1; }; }; }
54674 ac_builddir=.
54675
54676 case "$ac_dir" in
54677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54678 *)
54679 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54680 # A ".." for each directory in $ac_dir_suffix.
54681 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54682 case $ac_top_builddir_sub in
54683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54685 esac ;;
54686 esac
54687 ac_abs_top_builddir=$ac_pwd
54688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54689 # for backward compatibility:
54690 ac_top_builddir=$ac_top_build_prefix
54691
54692 case $srcdir in
54693 .) # We are building in place.
54694 ac_srcdir=.
54695 ac_top_srcdir=$ac_top_builddir_sub
54696 ac_abs_top_srcdir=$ac_pwd ;;
54697 [\\/]* | ?:[\\/]* ) # Absolute name.
54698 ac_srcdir=$srcdir$ac_dir_suffix;
54699 ac_top_srcdir=$srcdir
54700 ac_abs_top_srcdir=$srcdir ;;
54701 *) # Relative name.
54702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54703 ac_top_srcdir=$ac_top_build_prefix$srcdir
54704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54705 esac
54706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54707
54708
54709 cd "$ac_dir"
54710
54711 # Check for guested configure; otherwise get Cygnus style configure.
54712 if test -f "$ac_srcdir/configure.gnu"; then
54713 ac_sub_configure=$ac_srcdir/configure.gnu
54714 elif test -f "$ac_srcdir/configure"; then
54715 ac_sub_configure=$ac_srcdir/configure
54716 elif test -f "$ac_srcdir/configure.in"; then
54717 # This should be Cygnus configure.
54718 ac_sub_configure=$ac_aux_dir/configure
54719 else
54720 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54721 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54722 ac_sub_configure=
54723 fi
54724
54725 # The recursion is here.
54726 if test -n "$ac_sub_configure"; then
54727 # Make the cache file name correct relative to the subdirectory.
54728 case $cache_file in
54729 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54730 *) # Relative name.
54731 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54732 esac
54733
54734 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54735 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54736 # The eval makes quoting arguments work.
54737 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54738 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54739 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54740 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54741 { (exit 1); exit 1; }; }
54742 fi
54743
54744 cd "$ac_popdir"
54745 done
54746 fi
54747
54748
54749 echo
54750 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54751 echo ""
54752 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54753 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54754 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54755 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54756 if test "$wxUSE_UNICODE" = "yes"; then
54757 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54758 echo " (using UTF-8)"
54759 else
54760 echo " (using wchar_t)"
54761 fi
54762 else
54763 echo
54764 fi
54765
54766 echo " What level of wxWidgets compatibility should be enabled?"
54767 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54768 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54769
54770 echo " Which libraries should wxWidgets use?"
54771 echo " STL ${wxUSE_STL}"
54772 echo " jpeg ${wxUSE_LIBJPEG-none}"
54773 echo " png ${wxUSE_LIBPNG-none}"
54774 echo " regex ${wxUSE_REGEX}"
54775 echo " tiff ${wxUSE_LIBTIFF-none}"
54776 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54777 echo " xpm ${wxUSE_LIBXPM-none}"
54778 fi
54779 echo " zlib ${wxUSE_ZLIB}"
54780 echo " expat ${wxUSE_EXPAT}"
54781 echo " libmspack ${wxUSE_LIBMSPACK}"
54782 echo " sdl ${wxUSE_LIBSDL}"
54783
54784 echo ""
54785