]> git.saurik.com Git - wxWidgets.git/blob - configure
Reverted mouse position change - wxMSW does send (-1, -1) for keyboard context menu...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 50303 2007-11-28 06:46:25Z PC .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
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.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
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 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 BUILD
751 DEBUG_INFO
752 DEBUG_FLAG
753 TOOLKIT_LOWERCASE
754 TOOLKIT_VERSION
755 SAMPLES_RPATH_FLAG
756 SAMPLES_RPATH_POSTLINK
757 HOST_SUFFIX
758 CPPUNIT_CFLAGS
759 CPPUNIT_LIBS
760 RANLIB
761 INSTALL_PROGRAM
762 INSTALL_SCRIPT
763 INSTALL_DATA
764 LN_S
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 STRIP
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 IF_GNU_MAKE
773 PLATFORM_UNIX
774 PLATFORM_WIN32
775 PLATFORM_MSDOS
776 PLATFORM_MAC
777 PLATFORM_MACOS
778 PLATFORM_MACOSX
779 PLATFORM_OS2
780 PLATFORM_BEOS
781 SO_SUFFIX
782 SO_SUFFIX_MODULE
783 DLLIMP_SUFFIX
784 LIBPREFIX
785 LIBEXT
786 DLLPREFIX
787 DLLPREFIX_MODULE
788 dlldir
789 AIX_CXX_LD
790 SHARED_LD_CC
791 SHARED_LD_CXX
792 SHARED_LD_MODULE_CC
793 SHARED_LD_MODULE_CXX
794 PIC_FLAG
795 WINDOWS_IMPLIB
796 USE_SOVERSION
797 USE_SOVERLINUX
798 USE_SOVERSOLARIS
799 USE_SOVERCYGWIN
800 USE_MACVERSION
801 USE_SOSYMLINKS
802 SONAME_FLAG
803 DEPS_TRACKING
804 BK_DEPS
805 WINDRES
806 REZ
807 SETFILE
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MAC_1
874 COND_PLATFORM_MSDOS_1
875 COND_PLATFORM_OS2_1
876 COND_PLATFORM_UNIX_0
877 COND_PLATFORM_UNIX_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
884 COND_SHARED_0
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_STC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_REGEX_BUILTIN
895 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
896 COND_SHARED_1
897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
898 COND_TOOLKIT_
899 COND_TOOLKIT_COCOA
900 COND_TOOLKIT_COCOA_USE_GUI_1
901 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
902 COND_TOOLKIT_DFB
903 COND_TOOLKIT_DFB_USE_GUI_1
904 COND_TOOLKIT_GTK
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_USE_GUI_1
913 COND_TOOLKIT_MAC
914 COND_TOOLKIT_MAC_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MGL
917 COND_TOOLKIT_MGL_USE_GUI_1
918 COND_TOOLKIT_MOTIF
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MSW
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
925 COND_TOOLKIT_PM
926 COND_TOOLKIT_PM_USE_GUI_1
927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_WINCE
929 COND_TOOLKIT_WINCE_USE_GUI_1
930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_WXUNIV_0
932 COND_TOOLKIT_X11
933 COND_TOOLKIT_X11_USE_GUI_1
934 COND_UNICODE_1
935 COND_USE_EXCEPTIONS_0
936 COND_USE_EXCEPTIONS_1
937 COND_USE_GUI_0
938 COND_USE_GUI_1
939 COND_USE_GUI_1_USE_OPENGL_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
945 COND_USE_PCH_1
946 COND_USE_PLUGINS_0
947 COND_USE_RTTI_0
948 COND_USE_RTTI_1
949 COND_USE_SOSYMLINKS_1
950 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
951 COND_USE_SOVERLINUX_1
952 COND_USE_SOVERSION_0
953 COND_USE_SOVERSOLARIS_1
954 COND_USE_STC_1
955 COND_USE_THREADS_0
956 COND_USE_THREADS_1
957 COND_USE_XRC_1
958 COND_WINDOWS_IMPLIB_1
959 COND_WITH_PLUGIN_SDL_1
960 COND_WXUNIV_0
961 COND_WXUNIV_1
962 COND_WXUSE_EXPAT_BUILTIN
963 COND_WXUSE_LIBJPEG_BUILTIN
964 COND_WXUSE_LIBPNG_BUILTIN
965 COND_WXUSE_LIBTIFF_BUILTIN
966 COND_WXUSE_REGEX_BUILTIN
967 COND_WXUSE_ZLIB_BUILTIN
968 DEREZ
969 SHARED
970 WX_LIBRARY_BASENAME_NOGUI
971 WX_LIBRARY_BASENAME_GUI
972 USE_GUI
973 AFMINSTALL
974 WIN32INSTALL
975 TOOLKIT
976 TOOLKIT_DIR
977 TOOLCHAIN_NAME
978 TOOLCHAIN_FULLNAME
979 cross_compiling
980 WIDGET_SET
981 WX_RELEASE
982 WX_VERSION
983 WX_SUBVERSION
984 WX_CHARTYPE
985 WX_DEBUGTYPE
986 WXCONFIG_CPPFLAGS
987 WXCONFIG_CFLAGS
988 WXCONFIG_CXXFLAGS
989 WXCONFIG_LIBS
990 WXCONFIG_RPATH
991 WXCONFIG_LDFLAGS_GUI
992 WXCONFIG_RESFLAGS
993 GUIDIST
994 DISTDIR
995 SAMPLES_SUBDIRS
996 LDFLAGS_GL
997 OPENGL_LIBS
998 DMALLOC_LIBS
999 WX_VERSION_TAG
1000 RESCOMP
1001 RESFLAGS
1002 RESPROGRAMOBJ
1003 WX_RESOURCES_MACOSX_ASCII
1004 WX_RESOURCES_MACOSX_DATA
1005 LIBWXMACRES
1006 POSTLINK_COMMAND
1007 MACSETFILE
1008 GCC
1009 DLLTOOL
1010 CPPUNIT_CONFIG
1011 LIBOBJS
1012 LTLIBOBJS'
1013 ac_subst_files=''
1014 ac_precious_vars='build_alias
1015 host_alias
1016 target_alias
1017 CC
1018 CFLAGS
1019 LDFLAGS
1020 LIBS
1021 CPPFLAGS
1022 CPP
1023 CXX
1024 CXXFLAGS
1025 CCC
1026 PKG_CONFIG
1027 DIRECTFB_CFLAGS
1028 DIRECTFB_LIBS
1029 XMKMF
1030 PANGOX_CFLAGS
1031 PANGOX_LIBS
1032 PANGOFT2_CFLAGS
1033 PANGOFT2_LIBS
1034 PANGOXFT_CFLAGS
1035 PANGOXFT_LIBS
1036 GTKPRINT_CFLAGS
1037 GTKPRINT_LIBS
1038 LIBGNOMEPRINTUI_CFLAGS
1039 LIBGNOMEPRINTUI_LIBS
1040 GNOMEVFS_CFLAGS
1041 GNOMEVFS_LIBS
1042 HILDON_CFLAGS
1043 HILDON_LIBS
1044 CAIRO_CFLAGS
1045 CAIRO_LIBS
1046 GST_CFLAGS
1047 GST_LIBS'
1048 ac_subdirs_all='src/tiff
1049 src/expat'
1050
1051 # Initialize some variables set by options.
1052 ac_init_help=
1053 ac_init_version=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file=/dev/null
1057 exec_prefix=NONE
1058 no_create=
1059 no_recursion=
1060 prefix=NONE
1061 program_prefix=NONE
1062 program_suffix=NONE
1063 program_transform_name=s,x,x,
1064 silent=
1065 site=
1066 srcdir=
1067 verbose=
1068 x_includes=NONE
1069 x_libraries=NONE
1070
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir='${exec_prefix}/bin'
1078 sbindir='${exec_prefix}/sbin'
1079 libexecdir='${exec_prefix}/libexec'
1080 datarootdir='${prefix}/share'
1081 datadir='${datarootdir}'
1082 sysconfdir='${prefix}/etc'
1083 sharedstatedir='${prefix}/com'
1084 localstatedir='${prefix}/var'
1085 includedir='${prefix}/include'
1086 oldincludedir='/usr/include'
1087 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir='${datarootdir}/info'
1089 htmldir='${docdir}'
1090 dvidir='${docdir}'
1091 pdfdir='${docdir}'
1092 psdir='${docdir}'
1093 libdir='${exec_prefix}/lib'
1094 localedir='${datarootdir}/locale'
1095 mandir='${datarootdir}/man'
1096
1097 ac_prev=
1098 ac_dashdash=
1099 for ac_option
1100 do
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\$ac_option
1104 ac_prev=
1105 continue
1106 fi
1107
1108 case $ac_option in
1109 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1110 *) ac_optarg=yes ;;
1111 esac
1112
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1114
1115 case $ac_dashdash$ac_option in
1116 --)
1117 ac_dashdash=yes ;;
1118
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1120 ac_prev=bindir ;;
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir=$ac_optarg ;;
1123
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev=build_alias ;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias=$ac_optarg ;;
1128
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev=cache_file ;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file=$ac_optarg ;;
1135
1136 --config-cache | -C)
1137 cache_file=config.cache ;;
1138
1139 -datadir | --datadir | --datadi | --datad)
1140 ac_prev=datadir ;;
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir=$ac_optarg ;;
1143
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev=datarootdir ;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir=$ac_optarg ;;
1150
1151 -disable-* | --disable-*)
1152 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_$ac_feature=no ;;
1159
1160 -docdir | --docdir | --docdi | --doc | --do)
1161 ac_prev=docdir ;;
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir=$ac_optarg ;;
1164
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1166 ac_prev=dvidir ;;
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir=$ac_optarg ;;
1169
1170 -enable-* | --enable-*)
1171 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_$ac_feature=\$ac_optarg ;;
1178
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev=exec_prefix ;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix=$ac_optarg ;;
1187
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1190 with_gas=yes ;;
1191
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help=long ;;
1194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1195 ac_init_help=recursive ;;
1196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1197 ac_init_help=short ;;
1198
1199 -host | --host | --hos | --ho)
1200 ac_prev=host_alias ;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias=$ac_optarg ;;
1203
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1205 ac_prev=htmldir ;;
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1207 | --ht=*)
1208 htmldir=$ac_optarg ;;
1209
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev=includedir ;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir=$ac_optarg ;;
1216
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1218 ac_prev=infodir ;;
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir=$ac_optarg ;;
1221
1222 -libdir | --libdir | --libdi | --libd)
1223 ac_prev=libdir ;;
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir=$ac_optarg ;;
1226
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev=libexecdir ;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir=$ac_optarg ;;
1233
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev=localedir ;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir=$ac_optarg ;;
1238
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev=localstatedir ;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir=$ac_optarg ;;
1245
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1247 ac_prev=mandir ;;
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir=$ac_optarg ;;
1250
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1253 with_fp=no ;;
1254
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1257 no_create=yes ;;
1258
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1261 no_recursion=yes ;;
1262
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev=oldincludedir ;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir=$ac_optarg ;;
1271
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1273 ac_prev=prefix ;;
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix=$ac_optarg ;;
1276
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev=program_prefix ;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix=$ac_optarg ;;
1283
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev=program_suffix ;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix=$ac_optarg ;;
1290
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev=program_transform_name ;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name=$ac_optarg ;;
1307
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1309 ac_prev=pdfdir ;;
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir=$ac_optarg ;;
1312
1313 -psdir | --psdir | --psdi | --psd | --ps)
1314 ac_prev=psdir ;;
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1316 psdir=$ac_optarg ;;
1317
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1320 silent=yes ;;
1321
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1323 ac_prev=sbindir ;;
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1325 | --sbi=* | --sb=*)
1326 sbindir=$ac_optarg ;;
1327
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1331 | --sha | --sh)
1332 ac_prev=sharedstatedir ;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1336 | --sha=* | --sh=*)
1337 sharedstatedir=$ac_optarg ;;
1338
1339 -site | --site | --sit)
1340 ac_prev=site ;;
1341 -site=* | --site=* | --sit=*)
1342 site=$ac_optarg ;;
1343
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1345 ac_prev=srcdir ;;
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir=$ac_optarg ;;
1348
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev=sysconfdir ;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir=$ac_optarg ;;
1355
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev=target_alias ;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias=$ac_optarg ;;
1360
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1362 verbose=yes ;;
1363
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version=: ;;
1366
1367 -with-* | --with-*)
1368 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_$ac_package=\$ac_optarg ;;
1375
1376 -without-* | --without-*)
1377 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_$ac_package=no ;;
1384
1385 --x)
1386 # Obsolete; use --with-x.
1387 with_x=yes ;;
1388
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev=x_includes ;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes=$ac_optarg ;;
1395
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev=x_libraries ;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries=$ac_optarg ;;
1402
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1406 ;;
1407
1408 *=*)
1409 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\$ac_optarg
1415 export $ac_envvar ;;
1416
1417 *)
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1423 ;;
1424
1425 esac
1426 done
1427
1428 if test -n "$ac_prev"; then
1429 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1432 fi
1433
1434 # Be sure to have absolute directory names.
1435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1439 do
1440 eval ac_val=\$$ac_var
1441 case $ac_val in
1442 [\\/$]* | ?:[\\/]* ) continue;;
1443 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1444 esac
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1447 done
1448
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1452 build=$build_alias
1453 host=$host_alias
1454 target=$target_alias
1455
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458 if test "x$build_alias" = x; then
1459 cross_compiling=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1463 cross_compiling=yes
1464 fi
1465 fi
1466
1467 ac_tool_prefix=
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1469
1470 test "$silent" = yes && exec 6>/dev/null
1471
1472
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1481
1482
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1492 echo X"$0" |
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1494 s//\1/
1495 q
1496 }
1497 /^X\(\/\/\)[^/].*/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\).*/{
1506 s//\1/
1507 q
1508 }
1509 s/.*/./; q'`
1510 srcdir=$ac_confdir
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1512 srcdir=..
1513 fi
1514 else
1515 ac_srcdir_defaulted=no
1516 fi
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1521 fi
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1523 ac_abs_confdir=`(
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1526 pwd)`
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1529 srcdir=.
1530 fi
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1534 case $srcdir in
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536 esac
1537 for ac_var in $ac_precious_vars; do
1538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_env_${ac_var}_value=\$${ac_var}
1540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1542 done
1543
1544 #
1545 # Report the --help message.
1546 #
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1550 cat <<_ACEOF
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1552
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1554
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1557
1558 Defaults for the options are specified in brackets.
1559
1560 Configuration:
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1570
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1575 [PREFIX]
1576
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1581
1582 For better control, use the options below.
1583
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1604 _ACEOF
1605
1606 cat <<\_ACEOF
1607
1608 X features:
1609 --x-includes=DIR X include files are in DIR
1610 --x-libraries=DIR X library files are in DIR
1611
1612 System types:
1613 --build=BUILD configure for building on BUILD [guessed]
1614 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1615 --target=TARGET configure for building compilers for TARGET [HOST]
1616 _ACEOF
1617 fi
1618
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1622 esac
1623 cat <<\_ACEOF
1624
1625 Optional Features:
1626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1628 --disable-gui don't build GUI parts of the library
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-official_build official build of wxWidgets (win32 DLL only)
1632 --enable-vendor=VENDOR vendor name (win32 DLL only)
1633 --disable-all-features disable all optional features to build minimal library
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --disable-shared create static library instead of shared
1639 --disable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-std_iostreams use standard C++ stream classes
1643 --enable-std_string use standard C++ string classes
1644 --disable-unicode compile without Unicode support
1645 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1646 --enable-utf8 use UTF-8 representation for strings (Unix only)
1647 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1648 --enable-extended_rtti use extended RTTI (XTI)
1649 --enable-omf use OMF object format
1650 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1651 --enable-debug_info create code with debugging information
1652 --enable-debug_gdb create code with extra GDB debugging information
1653 --enable-debug_cntxt use wxDebugContext
1654 --enable-mem_tracing create code with memory tracing
1655 --enable-profile create code with profiling information
1656 --enable-no_rtti create code without RTTI information
1657 --enable-no_exceptions create code without C++ exceptions handling
1658 --enable-permissive compile code disregarding strict ANSI
1659 --enable-no_deps create code without dependency information
1660 --disable-vararg_macros don't use vararg macros, even if they are supported
1661 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1662 --enable-compat26 enable wxWidgets 2.6 compatibility
1663 --disable-compat28 disable wxWidgets 2.8 compatibility
1664 --disable-rpath disable use of rpath for uninstalled builds
1665 --enable-objc_uniquifying enable Objective-C class name uniquifying
1666 --disable-visibility disable use of ELF symbols visibility even if supported
1667 --enable-intl use internationalization system
1668 --enable-config use wxConfig (and derived) classes
1669 --enable-protocols use wxProtocol and derived classes
1670 --enable-ftp use wxFTP (requires wxProtocol
1671 --enable-http use wxHTTP (requires wxProtocol
1672 --enable-fileproto use wxFileProto class (requires wxProtocol
1673 --enable-sockets use socket/network classes
1674 --enable-ipv6 enable IPv6 support in wxSocket
1675 --enable-ole use OLE classes (Win32 only)
1676 --enable-dataobj use data object classes
1677 --enable-ipc use interprocess communication (wxSocket etc.)
1678 --enable-baseevtloop use event loop in console programs too
1679 --enable-epollloop use wxEpollDispatcher class (Linux only)
1680 --enable-selectloop use wxSelectDispatcher class
1681 --enable-apple_ieee use the Apple IEEE codec
1682 --enable-arcstream use wxArchive streams
1683 --enable-base64 use base64 encoding/decoding functions
1684 --enable-backtrace use wxStackWalker class for getting backtraces
1685 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1686 --enable-cmdline use wxCmdLineParser class
1687 --enable-datetime use wxDateTime class
1688 --enable-debugreport use wxDebugReport class
1689 --enable-dialupman use dialup network classes
1690 --enable-dynlib use wxLibrary class for DLL loading
1691 --enable-dynamicloader use (new) wxDynamicLibrary class
1692 --enable-exceptions build exception-safe library
1693 --enable-ffile use wxFFile class
1694 --enable-file use wxFile class
1695 --enable-filesystem use virtual file systems classes
1696 --enable-fontenum use wxFontEnumerator class
1697 --enable-fontmap use font encodings conversion classes
1698 --enable-fs_archive use virtual archive filesystems
1699 --enable-fs_inet use virtual HTTP/FTP filesystems
1700 --enable-fs_zip now replaced by fs_archive
1701 --enable-geometry use geometry class
1702 --enable-log use logging system
1703 --enable-longlong use wxLongLong class
1704 --enable-mimetype use wxMimeTypesManager
1705 --enable-snglinst use wxSingleInstanceChecker class
1706 --enable-stdpaths use wxStandardPaths class
1707 --enable-stopwatch use wxStopWatch class
1708 --enable-streams use wxStream etc classes
1709 --enable-sysoptions use wxSystemOptions
1710 --enable-tarstream use wxTar streams
1711 --enable-textbuf use wxTextBuffer class
1712 --enable-textfile use wxTextFile class
1713 --enable-timer use wxTimer class
1714 --enable-sound use wxSound class
1715 --enable-mediactrl use wxMediaCtrl class
1716 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1717 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1718 --enable-zipstream use wxZip streams
1719 --enable-url use wxURL class
1720 --enable-variant use wxVariant class
1721 --enable-protocol use wxProtocol class
1722 --enable-protocol-http HTTP support in wxProtocol
1723 --enable-protocol-ftp FTP support in wxProtocol
1724 --enable-protocol-file FILE support in wxProtocol
1725 --enable-threads use threads
1726 --enable-iniconf use wxIniConfig (Win32 only)
1727 --enable-regkey use wxRegKey class (Win32 only)
1728 --enable-docview use document view architecture
1729 --enable-help use help subsystem
1730 --enable-mshtmlhelp use MS HTML Help (win32)
1731 --enable-html use wxHTML sub-library
1732 --enable-htmlhelp use wxHTML-based help
1733 --enable-xrc use XRC resources sub-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl (Mac)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context 2D drawing API
1746 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --disable-controls disable compilation of all standard controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-filectrl use wxFileCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-notifmsg use wxNotificationMessage class
1785 --enable-odcombobox use wxOwnerDrawnComboBox class
1786 --enable-radiobox use wxRadioBox class
1787 --enable-radiobtn use wxRadioButton class
1788 --enable-sash use wxSashWindow class
1789 --enable-scrollbar use wxScrollBar class and scrollable windows
1790 --enable-searchctrl use wxSearchCtrl class
1791 --enable-slider use wxSlider class
1792 --enable-spinbtn use wxSpinButton class
1793 --enable-spinctrl use wxSpinCtrl class
1794 --enable-splitter use wxSplitterWindow class
1795 --enable-statbmp use wxStaticBitmap class
1796 --enable-statbox use wxStaticBox class
1797 --enable-statline use wxStaticLine class
1798 --enable-stattext use wxStaticText class
1799 --enable-statusbar use wxStatusBar class
1800 --enable-tabdialog use wxTabControl class
1801 --enable-taskbaricon use wxTaskBarIcon class
1802 --enable-textctrl use wxTextCtrl class
1803 --enable-togglebtn use wxToggleButton class
1804 --enable-toolbar use wxToolBar class
1805 --enable-tbarnative use native wxToolBar class
1806 --enable-treebook use wxTreebook class
1807 --enable-toolbook use wxToolbook class
1808 --enable-treectrl use wxTreeCtrl class
1809 --enable-tipwindow use wxTipWindow class
1810 --enable-popupwin use wxPopUpWindow class
1811 --enable-commondlg use all common dialogs
1812 --enable-aboutdlg use wxAboutBox
1813 --enable-choicedlg use wxChoiceDialog
1814 --enable-coldlg use wxColourDialog
1815 --enable-filedlg use wxFileDialog
1816 --enable-finddlg use wxFindReplaceDialog
1817 --enable-fontdlg use wxFontDialog
1818 --enable-dirdlg use wxDirDialog
1819 --enable-msgdlg use wxMessageDialog
1820 --enable-numberdlg use wxNumberEntryDialog
1821 --enable-splash use wxSplashScreen
1822 --enable-textdlg use wxTextDialog
1823 --enable-tipdlg use startup tips
1824 --enable-progressdlg use wxProgressDialog
1825 --enable-wizarddlg use wxWizard
1826 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1827 --enable-miniframe use wxMiniFrame class
1828 --enable-tooltips use wxToolTip class
1829 --enable-splines use spline drawing code
1830 --enable-mousewheel use mousewheel
1831 --enable-validators use wxValidator and derived classes
1832 --enable-busyinfo use wxBusyInfo
1833 --enable-joystick use wxJoystick
1834 --enable-metafiles use wxMetaFile (Win32 only)
1835 --enable-dragimage use wxDragImage
1836 --enable-accessibility enable accessibility support
1837 --enable-palette use wxPalette class
1838 --enable-image use wxImage class
1839 --enable-gif use gif images (GIF file format)
1840 --enable-pcx use pcx images (PCX file format)
1841 --enable-tga use tga images (TGA file format)
1842 --enable-iff use iff images (IFF file format)
1843 --enable-pnm use pnm images (PNM file format)
1844 --enable-xpm use xpm images (XPM file format)
1845 --enable-icocur use Windows ICO and CUR formats
1846 --enable-dccache cache temporary wxDC objects (Win32 only)
1847 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1848 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1849 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1850 --enable-wxdib use wxDIB class (Win32 only)
1851 --disable-largefile omit support for large files
1852 --disable-gtktest do not try to compile and run a test GTK+ program
1853 --disable-gtktest Do not try to compile and run a test GTK program
1854 --disable-sdltest Do not try to compile and run a test SDL program
1855 --enable-omf use OMF object format (OS/2)
1856 --disable-dependency-tracking
1857 don't use dependency tracking even if the compiler
1858 can
1859 --disable-precomp-headers
1860 don't use precompiled headers even if compiler can
1861
1862 Optional Packages:
1863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1865 --without-subdirs don't generate makefiles for samples/demos/...
1866 --with-flavour=NAME specify a name to identify this build
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1869 --with-motif use Motif/Lesstif
1870 --with-mac use Mac OS X
1871 --with-cocoa use Cocoa
1872 --with-wine use Wine
1873 --with-msw use MS-Windows
1874 --with-pm use OS/2 Presentation Manager
1875 --with-mgl use SciTech MGL
1876 --with-directfb use DirectFB
1877 --with-microwin use MicroWindows
1878 --with-x11 use X11
1879 --with-libpng use libpng (PNG image format)
1880 --with-libjpeg use libjpeg (JPEG file format)
1881 --with-libtiff use libtiff (TIFF file format)
1882 --with-libxpm use libxpm (XPM file format)
1883 --with-libmspack use libmspack (CHM help files loading)
1884 --without-gtkprint don't use GTK printing support
1885 --without-gnomeprint don't use GNOME printing libraries
1886 --with-gnomevfs use GNOME VFS for associating MIME types
1887 --with-hildon use Hildon framework for Nokia 770
1888 --with-opengl use OpenGL (or Mesa)
1889 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1890 --with-sdl use SDL for audio on Unix
1891 --with-regex enable support for wxRegEx class
1892 --with-zlib use zlib for LZW compression
1893 --with-expat enable XML support using expat parser
1894 --with-macosx-sdk=PATH use an OS X SDK at PATH
1895 --with-macosx-version-min=VER build binaries which require at least this OS X version
1896 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1897 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1898 --with-x use the X Window System
1899 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1900 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1901 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1902 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1903 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1904
1905 Some influential environment variables:
1906 CC C compiler command
1907 CFLAGS C compiler flags
1908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1909 nonstandard directory <lib dir>
1910 LIBS libraries to pass to the linker, e.g. -l<library>
1911 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1912 you have headers in a nonstandard directory <include dir>
1913 CPP C preprocessor
1914 CXX C++ compiler command
1915 CXXFLAGS C++ compiler flags
1916 PKG_CONFIG path to pkg-config utility
1917 DIRECTFB_CFLAGS
1918 C compiler flags for DIRECTFB, overriding pkg-config
1919 DIRECTFB_LIBS
1920 linker flags for DIRECTFB, overriding pkg-config
1921 XMKMF Path to xmkmf, Makefile generator for X Window System
1922 PANGOX_CFLAGS
1923 C compiler flags for PANGOX, overriding pkg-config
1924 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1925 PANGOFT2_CFLAGS
1926 C compiler flags for PANGOFT2, overriding pkg-config
1927 PANGOFT2_LIBS
1928 linker flags for PANGOFT2, overriding pkg-config
1929 PANGOXFT_CFLAGS
1930 C compiler flags for PANGOXFT, overriding pkg-config
1931 PANGOXFT_LIBS
1932 linker flags for PANGOXFT, overriding pkg-config
1933 GTKPRINT_CFLAGS
1934 C compiler flags for GTKPRINT, overriding pkg-config
1935 GTKPRINT_LIBS
1936 linker flags for GTKPRINT, overriding pkg-config
1937 LIBGNOMEPRINTUI_CFLAGS
1938 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 LIBGNOMEPRINTUI_LIBS
1940 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1941 GNOMEVFS_CFLAGS
1942 C compiler flags for GNOMEVFS, overriding pkg-config
1943 GNOMEVFS_LIBS
1944 linker flags for GNOMEVFS, overriding pkg-config
1945 HILDON_CFLAGS
1946 C compiler flags for HILDON, overriding pkg-config
1947 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1948 CAIRO_CFLAGS
1949 C compiler flags for CAIRO, overriding pkg-config
1950 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1951 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1952 GST_LIBS linker flags for GST, overriding pkg-config
1953
1954 Use these variables to override the choices made by `configure' or to help
1955 it to find libraries and programs with nonstandard names/locations.
1956
1957 Report bugs to <wx-dev@lists.wxwidgets.org>.
1958 _ACEOF
1959 ac_status=$?
1960 fi
1961
1962 if test "$ac_init_help" = "recursive"; then
1963 # If there are subdirs, report their specific --help.
1964 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1965 test -d "$ac_dir" || continue
1966 ac_builddir=.
1967
1968 case "$ac_dir" in
1969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1970 *)
1971 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1972 # A ".." for each directory in $ac_dir_suffix.
1973 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1974 case $ac_top_builddir_sub in
1975 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1976 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1977 esac ;;
1978 esac
1979 ac_abs_top_builddir=$ac_pwd
1980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1981 # for backward compatibility:
1982 ac_top_builddir=$ac_top_build_prefix
1983
1984 case $srcdir in
1985 .) # We are building in place.
1986 ac_srcdir=.
1987 ac_top_srcdir=$ac_top_builddir_sub
1988 ac_abs_top_srcdir=$ac_pwd ;;
1989 [\\/]* | ?:[\\/]* ) # Absolute name.
1990 ac_srcdir=$srcdir$ac_dir_suffix;
1991 ac_top_srcdir=$srcdir
1992 ac_abs_top_srcdir=$srcdir ;;
1993 *) # Relative name.
1994 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1995 ac_top_srcdir=$ac_top_build_prefix$srcdir
1996 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1997 esac
1998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1999
2000 cd "$ac_dir" || { ac_status=$?; continue; }
2001 # Check for guested configure.
2002 if test -f "$ac_srcdir/configure.gnu"; then
2003 echo &&
2004 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2005 elif test -f "$ac_srcdir/configure"; then
2006 echo &&
2007 $SHELL "$ac_srcdir/configure" --help=recursive
2008 else
2009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2010 fi || ac_status=$?
2011 cd "$ac_pwd" || { ac_status=$?; break; }
2012 done
2013 fi
2014
2015 test -n "$ac_init_help" && exit $ac_status
2016 if $ac_init_version; then
2017 cat <<\_ACEOF
2018 wxWidgets configure 2.9.0
2019 generated by GNU Autoconf 2.61
2020
2021 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2022 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2023 This configure script is free software; the Free Software Foundation
2024 gives unlimited permission to copy, distribute and modify it.
2025 _ACEOF
2026 exit
2027 fi
2028 cat >config.log <<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2031
2032 It was created by wxWidgets $as_me 2.9.0, which was
2033 generated by GNU Autoconf 2.61. Invocation command line was
2034
2035 $ $0 $@
2036
2037 _ACEOF
2038 exec 5>>config.log
2039 {
2040 cat <<_ASUNAME
2041 ## --------- ##
2042 ## Platform. ##
2043 ## --------- ##
2044
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2050
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2053
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2061
2062 _ASUNAME
2063
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in $PATH
2066 do
2067 IFS=$as_save_IFS
2068 test -z "$as_dir" && as_dir=.
2069 echo "PATH: $as_dir"
2070 done
2071 IFS=$as_save_IFS
2072
2073 } >&5
2074
2075 cat >&5 <<_ACEOF
2076
2077
2078 ## ----------- ##
2079 ## Core tests. ##
2080 ## ----------- ##
2081
2082 _ACEOF
2083
2084
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2090 ac_configure_args=
2091 ac_configure_args0=
2092 ac_configure_args1=
2093 ac_must_keep_next=false
2094 for ac_pass in 1 2
2095 do
2096 for ac_arg
2097 do
2098 case $ac_arg in
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2102 continue ;;
2103 *\'*)
2104 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105 esac
2106 case $ac_pass in
2107 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2108 2)
2109 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2110 if test $ac_must_keep_next = true; then
2111 ac_must_keep_next=false # Got value, back to normal.
2112 else
2113 case $ac_arg in
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120 esac
2121 ;;
2122 -* ) ac_must_keep_next=true ;;
2123 esac
2124 fi
2125 ac_configure_args="$ac_configure_args '$ac_arg'"
2126 ;;
2127 esac
2128 done
2129 done
2130 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2131 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2132
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2140 {
2141 echo
2142
2143 cat <<\_ASBOX
2144 ## ---------------- ##
2145 ## Cache variables. ##
2146 ## ---------------- ##
2147 _ASBOX
2148 echo
2149 # The following way of writing the cache mishandles newlines in values,
2150 (
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2153 case $ac_val in #(
2154 *${as_nl}*)
2155 case $ac_var in #(
2156 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2157 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2158 esac
2159 case $ac_var in #(
2160 _ | IFS | as_nl) ;; #(
2161 *) $as_unset $ac_var ;;
2162 esac ;;
2163 esac
2164 done
2165 (set) 2>&1 |
2166 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2167 *${as_nl}ac_space=\ *)
2168 sed -n \
2169 "s/'\''/'\''\\\\'\'''\''/g;
2170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2171 ;; #(
2172 *)
2173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2174 ;;
2175 esac |
2176 sort
2177 )
2178 echo
2179
2180 cat <<\_ASBOX
2181 ## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##
2184 _ASBOX
2185 echo
2186 for ac_var in $ac_subst_vars
2187 do
2188 eval ac_val=\$$ac_var
2189 case $ac_val in
2190 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191 esac
2192 echo "$ac_var='\''$ac_val'\''"
2193 done | sort
2194 echo
2195
2196 if test -n "$ac_subst_files"; then
2197 cat <<\_ASBOX
2198 ## ------------------- ##
2199 ## File substitutions. ##
2200 ## ------------------- ##
2201 _ASBOX
2202 echo
2203 for ac_var in $ac_subst_files
2204 do
2205 eval ac_val=\$$ac_var
2206 case $ac_val in
2207 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2208 esac
2209 echo "$ac_var='\''$ac_val'\''"
2210 done | sort
2211 echo
2212 fi
2213
2214 if test -s confdefs.h; then
2215 cat <<\_ASBOX
2216 ## ----------- ##
2217 ## confdefs.h. ##
2218 ## ----------- ##
2219 _ASBOX
2220 echo
2221 cat confdefs.h
2222 echo
2223 fi
2224 test "$ac_signal" != 0 &&
2225 echo "$as_me: caught signal $ac_signal"
2226 echo "$as_me: exit $exit_status"
2227 } >&5
2228 rm -f core *.core core.conftest.* &&
2229 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2230 exit $exit_status
2231 ' 0
2232 for ac_signal in 1 2 13 15; do
2233 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2234 done
2235 ac_signal=0
2236
2237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2238 rm -f -r conftest* confdefs.h
2239
2240 # Predefined preprocessor variables.
2241
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_NAME "$PACKAGE_NAME"
2244 _ACEOF
2245
2246
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2249 _ACEOF
2250
2251
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2254 _ACEOF
2255
2256
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_STRING "$PACKAGE_STRING"
2259 _ACEOF
2260
2261
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2264 _ACEOF
2265
2266
2267 # Let the site file select an alternate cache file if it wants to.
2268 # Prefer explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 set x "$CONFIG_SITE"
2271 elif test "x$prefix" != xNONE; then
2272 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2273 else
2274 set x "$ac_default_prefix/share/config.site" \
2275 "$ac_default_prefix/etc/config.site"
2276 fi
2277 shift
2278 for ac_site_file
2279 do
2280 if test -r "$ac_site_file"; then
2281 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2282 echo "$as_me: loading site script $ac_site_file" >&6;}
2283 sed 's/^/| /' "$ac_site_file" >&5
2284 . "$ac_site_file"
2285 fi
2286 done
2287
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special
2290 # files actually), so we avoid doing that.
2291 if test -f "$cache_file"; then
2292 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2293 echo "$as_me: loading cache $cache_file" >&6;}
2294 case $cache_file in
2295 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2296 *) . "./$cache_file";;
2297 esac
2298 fi
2299 else
2300 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2301 echo "$as_me: creating cache $cache_file" >&6;}
2302 >$cache_file
2303 fi
2304
2305 # Check that the precious variables saved in the cache have kept the same
2306 # value.
2307 ac_cache_corrupted=false
2308 for ac_var in $ac_precious_vars; do
2309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2310 eval ac_new_set=\$ac_env_${ac_var}_set
2311 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2312 eval ac_new_val=\$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2314 set,)
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2318 ,set)
2319 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2320 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted=: ;;
2322 ,);;
2323 *)
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2326 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2328 echo "$as_me: former value: $ac_old_val" >&2;}
2329 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2330 echo "$as_me: current value: $ac_new_val" >&2;}
2331 ac_cache_corrupted=:
2332 fi;;
2333 esac
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2336 case $ac_new_val in
2337 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg=$ac_var=$ac_new_val ;;
2339 esac
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2343 esac
2344 fi
2345 done
2346 if $ac_cache_corrupted; then
2347 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2348 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2350 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2351 { (exit 1); exit 1; }; }
2352 fi
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378 ac_ext=c
2379 ac_cpp='$CPP $CPPFLAGS'
2380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2383
2384
2385
2386
2387
2388 ac_aux_dir=
2389 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2390 if test -f "$ac_dir/install-sh"; then
2391 ac_aux_dir=$ac_dir
2392 ac_install_sh="$ac_aux_dir/install-sh -c"
2393 break
2394 elif test -f "$ac_dir/install.sh"; then
2395 ac_aux_dir=$ac_dir
2396 ac_install_sh="$ac_aux_dir/install.sh -c"
2397 break
2398 elif test -f "$ac_dir/shtool"; then
2399 ac_aux_dir=$ac_dir
2400 ac_install_sh="$ac_aux_dir/shtool install -c"
2401 break
2402 fi
2403 done
2404 if test -z "$ac_aux_dir"; then
2405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2406 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2407 { (exit 1); exit 1; }; }
2408 fi
2409
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2417
2418
2419 # Make sure we can run config.sub.
2420 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2421 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2422 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2423 { (exit 1); exit 1; }; }
2424
2425 { echo "$as_me:$LINENO: checking build system type" >&5
2426 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2427 if test "${ac_cv_build+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else
2430 ac_build_alias=$build_alias
2431 test "x$ac_build_alias" = x &&
2432 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x &&
2434 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2435 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2436 { (exit 1); exit 1; }; }
2437 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2438 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2439 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2440 { (exit 1); exit 1; }; }
2441
2442 fi
2443 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2444 echo "${ECHO_T}$ac_cv_build" >&6; }
2445 case $ac_cv_build in
2446 *-*-*) ;;
2447 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2448 echo "$as_me: error: invalid value of canonical build" >&2;}
2449 { (exit 1); exit 1; }; };;
2450 esac
2451 build=$ac_cv_build
2452 ac_save_IFS=$IFS; IFS='-'
2453 set x $ac_cv_build
2454 shift
2455 build_cpu=$1
2456 build_vendor=$2
2457 shift; shift
2458 # Remember, the first character of IFS is used to create $*,
2459 # except with old shells:
2460 build_os=$*
2461 IFS=$ac_save_IFS
2462 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2463
2464
2465 { echo "$as_me:$LINENO: checking host system type" >&5
2466 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_host+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 else
2470 if test "x$host_alias" = x; then
2471 ac_cv_host=$ac_cv_build
2472 else
2473 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2477 fi
2478
2479 fi
2480 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2481 echo "${ECHO_T}$ac_cv_host" >&6; }
2482 case $ac_cv_host in
2483 *-*-*) ;;
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2485 echo "$as_me: error: invalid value of canonical host" >&2;}
2486 { (exit 1); exit 1; }; };;
2487 esac
2488 host=$ac_cv_host
2489 ac_save_IFS=$IFS; IFS='-'
2490 set x $ac_cv_host
2491 shift
2492 host_cpu=$1
2493 host_vendor=$2
2494 shift; shift
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2497 host_os=$*
2498 IFS=$ac_save_IFS
2499 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2500
2501
2502 { echo "$as_me:$LINENO: checking target system type" >&5
2503 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_target+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 if test "x$target_alias" = x; then
2508 ac_cv_target=$ac_cv_host
2509 else
2510 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514 fi
2515
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2518 echo "${ECHO_T}$ac_cv_target" >&6; }
2519 case $ac_cv_target in
2520 *-*-*) ;;
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2522 echo "$as_me: error: invalid value of canonical target" >&2;}
2523 { (exit 1); exit 1; }; };;
2524 esac
2525 target=$ac_cv_target
2526 ac_save_IFS=$IFS; IFS='-'
2527 set x $ac_cv_target
2528 shift
2529 target_cpu=$1
2530 target_vendor=$2
2531 shift; shift
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2534 target_os=$*
2535 IFS=$ac_save_IFS
2536 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2537
2538
2539 # The aliases save the names the user supplied, while $host etc.
2540 # will get canonicalized.
2541 test -n "$target_alias" &&
2542 test "$program_prefix$program_suffix$program_transform_name" = \
2543 NONENONEs,x,x, &&
2544 program_prefix=${target_alias}-
2545
2546
2547
2548 wx_major_version_number=2
2549 wx_minor_version_number=9
2550 wx_release_number=0
2551 wx_subrelease_number=0
2552
2553 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2554 WX_VERSION=$WX_RELEASE.$wx_release_number
2555 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2556
2557 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2558
2559
2560 wx_top_builddir="`pwd`"
2561
2562
2563
2564
2565 USE_UNIX=1
2566 USE_OS2=0
2567 USE_WIN32=0
2568 USE_DOS=0
2569 USE_BEOS=0
2570 USE_MAC=0
2571
2572 USE_AIX=
2573 USE_BSD= USE_DARWIN= USE_FREEBSD=
2574 USE_GNU= USE_HPUX=
2575 USE_LINUX=
2576 USE_NETBSD=
2577 USE_OPENBSD=
2578 USE_OSF= USE_SGI=
2579 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2580 USE_ULTRIX=
2581 USE_UNIXWARE=
2582
2583 USE_ALPHA=
2584
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2586
2587 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2588
2589 DEFAULT_wxUSE_COCOA=0
2590 DEFAULT_wxUSE_GTK=0
2591 DEFAULT_wxUSE_MAC=0
2592 DEFAULT_wxUSE_MGL=0
2593 DEFAULT_wxUSE_MICROWIN=0
2594 DEFAULT_wxUSE_MOTIF=0
2595 DEFAULT_wxUSE_MSW=0
2596 DEFAULT_wxUSE_PM=0
2597 DEFAULT_wxUSE_X11=0
2598 DEFAULT_wxUSE_DFB=0
2599
2600 DEFAULT_DEFAULT_wxUSE_COCOA=0
2601 DEFAULT_DEFAULT_wxUSE_GTK=0
2602 DEFAULT_DEFAULT_wxUSE_MAC=0
2603 DEFAULT_DEFAULT_wxUSE_MGL=0
2604 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2605 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2606 DEFAULT_DEFAULT_wxUSE_MSW=0
2607 DEFAULT_DEFAULT_wxUSE_PM=0
2608 DEFAULT_DEFAULT_wxUSE_X11=0
2609 DEFAULT_DEFAULT_wxUSE_DFB=0
2610
2611 PROGRAM_EXT=
2612 SO_SUFFIX=so
2613 SAMPLES_RPATH_FLAG=
2614 SAMPLES_RPATH_POSTLINK=
2615
2616 DEFAULT_STD_FLAG=yes
2617
2618 case "${host}" in
2619 *-hp-hpux* )
2620 USE_HPUX=1
2621 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2623 SO_SUFFIX=sl
2624 cat >>confdefs.h <<\_ACEOF
2625 #define __HPUX__ 1
2626 _ACEOF
2627
2628
2629 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2630 ;;
2631 *-*-linux* )
2632 USE_LINUX=1
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __LINUX__ 1
2635 _ACEOF
2636
2637 TMP=`uname -m`
2638 if test "x$TMP" = "xalpha"; then
2639 USE_ALPHA=1
2640 cat >>confdefs.h <<\_ACEOF
2641 #define __ALPHA__ 1
2642 _ACEOF
2643
2644 fi
2645 DEFAULT_DEFAULT_wxUSE_GTK=1
2646 ;;
2647 *-*-gnu* | *-*-k*bsd*-gnu )
2648 USE_GNU=1
2649 TMP=`uname -m`
2650 if test "x$TMP" = "xalpha"; then
2651 USE_ALPHA=1
2652 cat >>confdefs.h <<\_ACEOF
2653 #define __ALPHA__ 1
2654 _ACEOF
2655
2656 fi
2657 DEFAULT_DEFAULT_wxUSE_GTK=1
2658 ;;
2659 *-*-irix5* | *-*-irix6* )
2660 USE_SGI=1
2661 USE_SVR4=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __SGI__ 1
2664 _ACEOF
2665
2666 cat >>confdefs.h <<\_ACEOF
2667 #define __SVR4__ 1
2668 _ACEOF
2669
2670 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2671 ;;
2672 *-*-solaris2* )
2673 USE_SUN=1
2674 USE_SOLARIS=1
2675 USE_SVR4=1
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SUN__ 1
2678 _ACEOF
2679
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __SOLARIS__ 1
2682 _ACEOF
2683
2684 cat >>confdefs.h <<\_ACEOF
2685 #define __SVR4__ 1
2686 _ACEOF
2687
2688 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2689 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2690 ;;
2691 *-*-sunos4* )
2692 USE_SUN=1
2693 USE_SUNOS=1
2694 USE_BSD=1
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SUN__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __SUNOS__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __BSD__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2708 ;;
2709 *-*-freebsd*)
2710 USE_BSD=1
2711 USE_FREEBSD=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __FREEBSD__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __BSD__ 1
2718 _ACEOF
2719
2720 DEFAULT_DEFAULT_wxUSE_GTK=1
2721 ;;
2722 *-*-openbsd*|*-*-mirbsd*)
2723 USE_BSD=1
2724 USE_OPENBSD=1
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __OPENBSD__ 1
2727 _ACEOF
2728
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __BSD__ 1
2731 _ACEOF
2732
2733 DEFAULT_DEFAULT_wxUSE_GTK=1
2734 ;;
2735 *-*-netbsd*)
2736 USE_BSD=1
2737 USE_NETBSD=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __NETBSD__ 1
2740 _ACEOF
2741
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __BSD__ 1
2744 _ACEOF
2745
2746 DEFAULT_DEFAULT_wxUSE_GTK=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2748
2749 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2750 ;;
2751 *-*-osf* )
2752 USE_ALPHA=1
2753 USE_OSF=1
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __ALPHA__ 1
2756 _ACEOF
2757
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __OSF__ 1
2760 _ACEOF
2761
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2764 ;;
2765 *-*-dgux5* )
2766 USE_ALPHA=1
2767 USE_SVR4=1
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __ALPHA__ 1
2770 _ACEOF
2771
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __SVR4__ 1
2774 _ACEOF
2775
2776 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2777 ;;
2778 *-*-sysv5* )
2779 USE_SYSV=1
2780 USE_SVR4=1
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __SYSV__ 1
2783 _ACEOF
2784
2785 cat >>confdefs.h <<\_ACEOF
2786 #define __SVR4__ 1
2787 _ACEOF
2788
2789 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2790 ;;
2791 *-*-aix* )
2792 USE_AIX=1
2793 USE_SYSV=1
2794 USE_SVR4=1
2795 SO_SUFFIX=a
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __AIX__ 1
2798 _ACEOF
2799
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __SYSV__ 1
2802 _ACEOF
2803
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __SVR4__ 1
2806 _ACEOF
2807
2808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2809 ;;
2810
2811 *-*-*UnixWare*)
2812 USE_SYSV=1
2813 USE_SVR4=1
2814 USE_UNIXWARE=1
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __UNIXWARE__ 1
2817 _ACEOF
2818
2819 ;;
2820
2821 *-*-cygwin* | *-*-mingw32* )
2822 SO_SUFFIX=dll
2823 PROGRAM_EXT=".exe"
2824 DEFAULT_DEFAULT_wxUSE_MSW=1
2825 ;;
2826
2827 *-pc-msdosdjgpp )
2828 USE_UNIX=0
2829 USE_DOS=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __DOS__ 1
2832 _ACEOF
2833
2834 PROGRAM_EXT=".exe"
2835 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 ;;
2837
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __EMX__ 1
2841 _ACEOF
2842
2843 USE_OS2=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __OS2__ 1
2846 _ACEOF
2847
2848 PROGRAM_EXT=".exe"
2849 DEFAULT_DEFAULT_wxUSE_PM=1
2850 CXX=gcc
2851 LDFLAGS="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions=".exe"
2853 export ac_executable_extensions
2854 ac_save_IFS="$IFS"
2855 IFS='\\'
2856 ac_TEMP_PATH=
2857 for ac_dir in $PATH; do
2858 IFS=$ac_save_IFS
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH="$ac_dir"
2861 else
2862 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 fi
2864 done
2865 export PATH="$ac_TEMP_PATH"
2866 unset ac_TEMP_PATH
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869
2870 *-*-darwin* )
2871 USE_BSD=1
2872 USE_DARWIN=1
2873 SO_SUFFIX=dylib
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __BSD__ 1
2876 _ACEOF
2877
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __DARWIN__ 1
2880 _ACEOF
2881
2882 cat >>confdefs.h <<\_ACEOF
2883 #define TARGET_CARBON 1
2884 _ACEOF
2885
2886 DEFAULT_DEFAULT_wxUSE_MAC=1
2887 DEFAULT_STD_FLAG=no
2888 ;;
2889 powerpc-apple-macos* )
2890 USE_UNIX=0
2891 ac_cv_c_bigendian=yes
2892 SO_SUFFIX=shlib
2893 DEFAULT_DEFAULT_wxUSE_MAC=1
2894 DEFAULT_STD_FLAG=no
2895 ;;
2896
2897 *-*-beos* )
2898 USE_BEOS=1
2899 cat >>confdefs.h <<\_ACEOF
2900 #define __BEOS__ 1
2901 _ACEOF
2902
2903 ;;
2904
2905 *)
2906 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2907 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2908 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2909 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2910
2911 DEFAULT_DEFAULT_wxUSE_X11=1
2912 DEFAULT_wxUSE_SHARED=no
2913 esac
2914
2915
2916
2917 DEFAULT_wxUSE_ALL_FEATURES=yes
2918
2919 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2921
2922 DEFAULT_wxUSE_DMALLOC=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS=no
2924 DEFAULT_wxUSE_LIBHILDON=no
2925 DEFAULT_wxUSE_LIBMSPACK=no
2926 DEFAULT_wxUSE_LIBSDL=no
2927 DEFAULT_wxUSE_OPENGL=no
2928
2929 DEFAULT_wxUSE_ACCESSIBILITY=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2932 DEFAULT_wxUSE_IPV6=no
2933 DEFAULT_wxUSE_MEDIACTRL=no
2934 DEFAULT_wxUSE_TAB_DIALOG=no
2935 DEFAULT_wxUSE_GSTREAMER8=no
2936
2937 DEFAULT_wxUSE_UNICODE_UTF8=auto
2938 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2939
2940 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2941
2942 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2943
2944 DEFAULT_wxUSE_GTK2=yes
2945
2946 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2947
2948
2949
2950
2951
2952 enablestring=disable
2953 defaultval=
2954 if test -z "$defaultval"; then
2955 if test x"$enablestring" = xdisable; then
2956 defaultval=yes
2957 else
2958 defaultval=no
2959 fi
2960 fi
2961
2962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2963 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2964 # Check whether --enable-gui was given.
2965 if test "${enable_gui+set}" = set; then
2966 enableval=$enable_gui;
2967 if test "$enableval" = yes; then
2968 wx_cv_use_gui='wxUSE_GUI=yes'
2969 else
2970 wx_cv_use_gui='wxUSE_GUI=no'
2971 fi
2972
2973 else
2974
2975 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2976
2977 fi
2978
2979
2980 eval "$wx_cv_use_gui"
2981
2982 if test x"$enablestring" = xdisable; then
2983 if test $wxUSE_GUI = yes; then
2984 result=no
2985 else
2986 result=yes
2987 fi
2988 else
2989 result=$wxUSE_GUI
2990 fi
2991
2992 { echo "$as_me:$LINENO: result: $result" >&5
2993 echo "${ECHO_T}$result" >&6; }
2994
2995
2996 enablestring=
2997 defaultval=
2998 if test -z "$defaultval"; then
2999 if test x"$enablestring" = xdisable; then
3000 defaultval=yes
3001 else
3002 defaultval=no
3003 fi
3004 fi
3005
3006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3007 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3008 # Check whether --enable-monolithic was given.
3009 if test "${enable_monolithic+set}" = set; then
3010 enableval=$enable_monolithic;
3011 if test "$enableval" = yes; then
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3013 else
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3015 fi
3016
3017 else
3018
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3020
3021 fi
3022
3023
3024 eval "$wx_cv_use_monolithic"
3025
3026 if test x"$enablestring" = xdisable; then
3027 if test $wxUSE_MONOLITHIC = yes; then
3028 result=no
3029 else
3030 result=yes
3031 fi
3032 else
3033 result=$wxUSE_MONOLITHIC
3034 fi
3035
3036 { echo "$as_me:$LINENO: result: $result" >&5
3037 echo "${ECHO_T}$result" >&6; }
3038
3039
3040 enablestring=
3041 defaultval=
3042 if test -z "$defaultval"; then
3043 if test x"$enablestring" = xdisable; then
3044 defaultval=yes
3045 else
3046 defaultval=no
3047 fi
3048 fi
3049
3050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3051 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3052 # Check whether --enable-plugins was given.
3053 if test "${enable_plugins+set}" = set; then
3054 enableval=$enable_plugins;
3055 if test "$enableval" = yes; then
3056 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3057 else
3058 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3059 fi
3060
3061 else
3062
3063 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3064
3065 fi
3066
3067
3068 eval "$wx_cv_use_plugins"
3069
3070 if test x"$enablestring" = xdisable; then
3071 if test $wxUSE_PLUGINS = yes; then
3072 result=no
3073 else
3074 result=yes
3075 fi
3076 else
3077 result=$wxUSE_PLUGINS
3078 fi
3079
3080 { echo "$as_me:$LINENO: result: $result" >&5
3081 echo "${ECHO_T}$result" >&6; }
3082
3083
3084 withstring=without
3085 defaultval=$wxUSE_ALL_FEATURES
3086 if test -z "$defaultval"; then
3087 if test x"$withstring" = xwithout; then
3088 defaultval=yes
3089 else
3090 defaultval=no
3091 fi
3092 fi
3093 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3094 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3095
3096 # Check whether --with-subdirs was given.
3097 if test "${with_subdirs+set}" = set; then
3098 withval=$with_subdirs;
3099 if test "$withval" = yes; then
3100 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3101 else
3102 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3103 fi
3104
3105 else
3106
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3108
3109 fi
3110
3111
3112 eval "$wx_cv_use_subdirs"
3113
3114 if test x"$withstring" = xwithout; then
3115 if test $wxWITH_SUBDIRS = yes; then
3116 result=no
3117 else
3118 result=yes
3119 fi
3120 else
3121 result=$wxWITH_SUBDIRS
3122 fi
3123
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3126
3127
3128 # Check whether --with-flavour was given.
3129 if test "${with_flavour+set}" = set; then
3130 withval=$with_flavour; WX_FLAVOUR="$withval"
3131 fi
3132
3133
3134 enablestring=
3135 defaultval=
3136 if test -z "$defaultval"; then
3137 if test x"$enablestring" = xdisable; then
3138 defaultval=yes
3139 else
3140 defaultval=no
3141 fi
3142 fi
3143
3144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3145 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3146 # Check whether --enable-official_build was given.
3147 if test "${enable_official_build+set}" = set; then
3148 enableval=$enable_official_build;
3149 if test "$enableval" = yes; then
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3151 else
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3153 fi
3154
3155 else
3156
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3158
3159 fi
3160
3161
3162 eval "$wx_cv_use_official_build"
3163
3164 if test x"$enablestring" = xdisable; then
3165 if test $wxUSE_OFFICIAL_BUILD = yes; then
3166 result=no
3167 else
3168 result=yes
3169 fi
3170 else
3171 result=$wxUSE_OFFICIAL_BUILD
3172 fi
3173
3174 { echo "$as_me:$LINENO: result: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3176
3177 # Check whether --enable-vendor was given.
3178 if test "${enable_vendor+set}" = set; then
3179 enableval=$enable_vendor; VENDOR="$enableval"
3180 fi
3181
3182 if test "x$VENDOR" = "x"; then
3183 VENDOR="custom"
3184 fi
3185
3186
3187 enablestring=disable
3188 defaultval=
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3191 defaultval=yes
3192 else
3193 defaultval=no
3194 fi
3195 fi
3196
3197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3199 # Check whether --enable-all-features was given.
3200 if test "${enable_all_features+set}" = set; then
3201 enableval=$enable_all_features;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3204 else
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3206 fi
3207
3208 else
3209
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3211
3212 fi
3213
3214
3215 eval "$wx_cv_use_all_features"
3216
3217 if test x"$enablestring" = xdisable; then
3218 if test $wxUSE_ALL_FEATURES = yes; then
3219 result=no
3220 else
3221 result=yes
3222 fi
3223 else
3224 result=$wxUSE_ALL_FEATURES
3225 fi
3226
3227 { echo "$as_me:$LINENO: result: $result" >&5
3228 echo "${ECHO_T}$result" >&6; }
3229
3230
3231
3232 if test "$wxUSE_GUI" = "yes"; then
3233
3234
3235 enablestring=
3236 defaultval=
3237 if test -z "$defaultval"; then
3238 if test x"$enablestring" = xdisable; then
3239 defaultval=yes
3240 else
3241 defaultval=no
3242 fi
3243 fi
3244
3245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3246 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3247 # Check whether --enable-universal was given.
3248 if test "${enable_universal+set}" = set; then
3249 enableval=$enable_universal;
3250 if test "$enableval" = yes; then
3251 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3252 else
3253 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3254 fi
3255
3256 else
3257
3258 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3259
3260 fi
3261
3262
3263 eval "$wx_cv_use_universal"
3264
3265 if test x"$enablestring" = xdisable; then
3266 if test $wxUSE_UNIVERSAL = yes; then
3267 result=no
3268 else
3269 result=yes
3270 fi
3271 else
3272 result=$wxUSE_UNIVERSAL
3273 fi
3274
3275 { echo "$as_me:$LINENO: result: $result" >&5
3276 echo "${ECHO_T}$result" >&6; }
3277
3278 if test "$wxUSE_UNIVERSAL" = "yes"; then
3279
3280 # Check whether --with-themes was given.
3281 if test "${with_themes+set}" = set; then
3282 withval=$with_themes; wxUNIV_THEMES="$withval"
3283 fi
3284
3285 fi
3286
3287
3288 # Check whether --with-gtk was given.
3289 if test "${with_gtk+set}" = set; then
3290 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3291 fi
3292
3293
3294 # Check whether --with-motif was given.
3295 if test "${with_motif+set}" = set; then
3296 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3297 fi
3298
3299
3300 # Check whether --with-mac was given.
3301 if test "${with_mac+set}" = set; then
3302 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3303 fi
3304
3305
3306 # Check whether --with-cocoa was given.
3307 if test "${with_cocoa+set}" = set; then
3308 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3309 fi
3310
3311
3312 # Check whether --with-wine was given.
3313 if test "${with_wine+set}" = set; then
3314 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3315 fi
3316
3317
3318 # Check whether --with-msw was given.
3319 if test "${with_msw+set}" = set; then
3320 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3321 fi
3322
3323
3324 # Check whether --with-pm was given.
3325 if test "${with_pm+set}" = set; then
3326 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-mgl was given.
3331 if test "${with_mgl+set}" = set; then
3332 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-directfb was given.
3337 if test "${with_directfb+set}" = set; then
3338 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3339 fi
3340
3341
3342 # Check whether --with-microwin was given.
3343 if test "${with_microwin+set}" = set; then
3344 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-x11 was given.
3349 if test "${with_x11+set}" = set; then
3350 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 enablestring=
3355 defaultval=
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3358 defaultval=yes
3359 else
3360 defaultval=no
3361 fi
3362 fi
3363
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3366 # Check whether --enable-nanox was given.
3367 if test "${enable_nanox+set}" = set; then
3368 enableval=$enable_nanox;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_nanox='wxUSE_NANOX=yes'
3371 else
3372 wx_cv_use_nanox='wxUSE_NANOX=no'
3373 fi
3374
3375 else
3376
3377 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3378
3379 fi
3380
3381
3382 eval "$wx_cv_use_nanox"
3383
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_NANOX = yes; then
3386 result=no
3387 else
3388 result=yes
3389 fi
3390 else
3391 result=$wxUSE_NANOX
3392 fi
3393
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3396
3397
3398 # Check whether --enable-gtk2 was given.
3399 if test "${enable_gtk2+set}" = set; then
3400 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3401 fi
3402
3403
3404 enablestring=
3405 defaultval=
3406 if test -z "$defaultval"; then
3407 if test x"$enablestring" = xdisable; then
3408 defaultval=yes
3409 else
3410 defaultval=no
3411 fi
3412 fi
3413
3414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3415 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3416 # Check whether --enable-gpe was given.
3417 if test "${enable_gpe+set}" = set; then
3418 enableval=$enable_gpe;
3419 if test "$enableval" = yes; then
3420 wx_cv_use_gpe='wxUSE_GPE=yes'
3421 else
3422 wx_cv_use_gpe='wxUSE_GPE=no'
3423 fi
3424
3425 else
3426
3427 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3428
3429 fi
3430
3431
3432 eval "$wx_cv_use_gpe"
3433
3434 if test x"$enablestring" = xdisable; then
3435 if test $wxUSE_GPE = yes; then
3436 result=no
3437 else
3438 result=yes
3439 fi
3440 else
3441 result=$wxUSE_GPE
3442 fi
3443
3444 { echo "$as_me:$LINENO: result: $result" >&5
3445 echo "${ECHO_T}$result" >&6; }
3446
3447
3448
3449
3450 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3451 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3452
3453 # Check whether --with-libpng was given.
3454 if test "${with_libpng+set}" = set; then
3455 withval=$with_libpng;
3456 if test "$withval" = yes; then
3457 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3458 elif test "$withval" = no; then
3459 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3460 elif test "$withval" = sys; then
3461 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3462 elif test "$withval" = builtin; then
3463 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3464 else
3465 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3466 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3467 { (exit 1); exit 1; }; }
3468 fi
3469
3470 else
3471
3472 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3473
3474 fi
3475
3476
3477 eval "$wx_cv_use_libpng"
3478
3479 if test "$wxUSE_LIBPNG" = yes; then
3480 { echo "$as_me:$LINENO: result: yes" >&5
3481 echo "${ECHO_T}yes" >&6; }
3482 elif test "$wxUSE_LIBPNG" = no; then
3483 { echo "$as_me:$LINENO: result: no" >&5
3484 echo "${ECHO_T}no" >&6; }
3485 elif test "$wxUSE_LIBPNG" = sys; then
3486 { echo "$as_me:$LINENO: result: system version" >&5
3487 echo "${ECHO_T}system version" >&6; }
3488 elif test "$wxUSE_LIBPNG" = builtin; then
3489 { echo "$as_me:$LINENO: result: builtin version" >&5
3490 echo "${ECHO_T}builtin version" >&6; }
3491 else
3492 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3493 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3494 { (exit 1); exit 1; }; }
3495 fi
3496
3497
3498 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3499 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3500
3501 # Check whether --with-libjpeg was given.
3502 if test "${with_libjpeg+set}" = set; then
3503 withval=$with_libjpeg;
3504 if test "$withval" = yes; then
3505 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3506 elif test "$withval" = no; then
3507 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3508 elif test "$withval" = sys; then
3509 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3510 elif test "$withval" = builtin; then
3511 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3512 else
3513 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3514 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3515 { (exit 1); exit 1; }; }
3516 fi
3517
3518 else
3519
3520 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3521
3522 fi
3523
3524
3525 eval "$wx_cv_use_libjpeg"
3526
3527 if test "$wxUSE_LIBJPEG" = yes; then
3528 { echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3530 elif test "$wxUSE_LIBJPEG" = no; then
3531 { echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6; }
3533 elif test "$wxUSE_LIBJPEG" = sys; then
3534 { echo "$as_me:$LINENO: result: system version" >&5
3535 echo "${ECHO_T}system version" >&6; }
3536 elif test "$wxUSE_LIBJPEG" = builtin; then
3537 { echo "$as_me:$LINENO: result: builtin version" >&5
3538 echo "${ECHO_T}builtin version" >&6; }
3539 else
3540 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3541 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3543 fi
3544
3545
3546 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3547 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3548
3549 # Check whether --with-libtiff was given.
3550 if test "${with_libtiff+set}" = set; then
3551 withval=$with_libtiff;
3552 if test "$withval" = yes; then
3553 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3554 elif test "$withval" = no; then
3555 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3556 elif test "$withval" = sys; then
3557 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3558 elif test "$withval" = builtin; then
3559 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3560 else
3561 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3562 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3564 fi
3565
3566 else
3567
3568 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3569
3570 fi
3571
3572
3573 eval "$wx_cv_use_libtiff"
3574
3575 if test "$wxUSE_LIBTIFF" = yes; then
3576 { echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6; }
3578 elif test "$wxUSE_LIBTIFF" = no; then
3579 { echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6; }
3581 elif test "$wxUSE_LIBTIFF" = sys; then
3582 { echo "$as_me:$LINENO: result: system version" >&5
3583 echo "${ECHO_T}system version" >&6; }
3584 elif test "$wxUSE_LIBTIFF" = builtin; then
3585 { echo "$as_me:$LINENO: result: builtin version" >&5
3586 echo "${ECHO_T}builtin version" >&6; }
3587 else
3588 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3589 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3590 { (exit 1); exit 1; }; }
3591 fi
3592
3593
3594 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3595 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3596
3597 # Check whether --with-libxpm was given.
3598 if test "${with_libxpm+set}" = set; then
3599 withval=$with_libxpm;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3602 elif test "$withval" = no; then
3603 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3604 elif test "$withval" = sys; then
3605 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3608 else
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3612 fi
3613
3614 else
3615
3616 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3617
3618 fi
3619
3620
3621 eval "$wx_cv_use_libxpm"
3622
3623 if test "$wxUSE_LIBXPM" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBXPM" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBXPM" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBXPM" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641
3642 withstring=
3643 defaultval=$wxUSE_ALL_FEATURES
3644 if test -z "$defaultval"; then
3645 if test x"$withstring" = xwithout; then
3646 defaultval=yes
3647 else
3648 defaultval=no
3649 fi
3650 fi
3651 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3652 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3653
3654 # Check whether --with-libmspack was given.
3655 if test "${with_libmspack+set}" = set; then
3656 withval=$with_libmspack;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3659 else
3660 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3661 fi
3662
3663 else
3664
3665 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3666
3667 fi
3668
3669
3670 eval "$wx_cv_use_libmspack"
3671
3672 if test x"$withstring" = xwithout; then
3673 if test $wxUSE_LIBMSPACK = yes; then
3674 result=no
3675 else
3676 result=yes
3677 fi
3678 else
3679 result=$wxUSE_LIBMSPACK
3680 fi
3681
3682 { echo "$as_me:$LINENO: result: $result" >&5
3683 echo "${ECHO_T}$result" >&6; }
3684
3685
3686 withstring=without
3687 defaultval=$wxUSE_ALL_FEATURES
3688 if test -z "$defaultval"; then
3689 if test x"$withstring" = xwithout; then
3690 defaultval=yes
3691 else
3692 defaultval=no
3693 fi
3694 fi
3695 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3696 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3697
3698 # Check whether --with-gtkprint was given.
3699 if test "${with_gtkprint+set}" = set; then
3700 withval=$with_gtkprint;
3701 if test "$withval" = yes; then
3702 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3703 else
3704 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3705 fi
3706
3707 else
3708
3709 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3710
3711 fi
3712
3713
3714 eval "$wx_cv_use_gtkprint"
3715
3716 if test x"$withstring" = xwithout; then
3717 if test $wxUSE_GTKPRINT = yes; then
3718 result=no
3719 else
3720 result=yes
3721 fi
3722 else
3723 result=$wxUSE_GTKPRINT
3724 fi
3725
3726 { echo "$as_me:$LINENO: result: $result" >&5
3727 echo "${ECHO_T}$result" >&6; }
3728
3729
3730 withstring=without
3731 defaultval=$wxUSE_ALL_FEATURES
3732 if test -z "$defaultval"; then
3733 if test x"$withstring" = xwithout; then
3734 defaultval=yes
3735 else
3736 defaultval=no
3737 fi
3738 fi
3739 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3740 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3741
3742 # Check whether --with-gnomeprint was given.
3743 if test "${with_gnomeprint+set}" = set; then
3744 withval=$with_gnomeprint;
3745 if test "$withval" = yes; then
3746 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3747 else
3748 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3749 fi
3750
3751 else
3752
3753 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3754
3755 fi
3756
3757
3758 eval "$wx_cv_use_gnomeprint"
3759
3760 if test x"$withstring" = xwithout; then
3761 if test $wxUSE_LIBGNOMEPRINT = yes; then
3762 result=no
3763 else
3764 result=yes
3765 fi
3766 else
3767 result=$wxUSE_LIBGNOMEPRINT
3768 fi
3769
3770 { echo "$as_me:$LINENO: result: $result" >&5
3771 echo "${ECHO_T}$result" >&6; }
3772
3773
3774 withstring=
3775 defaultval=$wxUSE_ALL_FEATURES
3776 if test -z "$defaultval"; then
3777 if test x"$withstring" = xwithout; then
3778 defaultval=yes
3779 else
3780 defaultval=no
3781 fi
3782 fi
3783 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3784 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3785
3786 # Check whether --with-gnomevfs was given.
3787 if test "${with_gnomevfs+set}" = set; then
3788 withval=$with_gnomevfs;
3789 if test "$withval" = yes; then
3790 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3791 else
3792 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3793 fi
3794
3795 else
3796
3797 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3798
3799 fi
3800
3801
3802 eval "$wx_cv_use_gnomevfs"
3803
3804 if test x"$withstring" = xwithout; then
3805 if test $wxUSE_LIBGNOMEVFS = yes; then
3806 result=no
3807 else
3808 result=yes
3809 fi
3810 else
3811 result=$wxUSE_LIBGNOMEVFS
3812 fi
3813
3814 { echo "$as_me:$LINENO: result: $result" >&5
3815 echo "${ECHO_T}$result" >&6; }
3816
3817
3818 withstring=
3819 defaultval=$wxUSE_ALL_FEATURES
3820 if test -z "$defaultval"; then
3821 if test x"$withstring" = xwithout; then
3822 defaultval=yes
3823 else
3824 defaultval=no
3825 fi
3826 fi
3827 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3828 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3829
3830 # Check whether --with-hildon was given.
3831 if test "${with_hildon+set}" = set; then
3832 withval=$with_hildon;
3833 if test "$withval" = yes; then
3834 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3835 else
3836 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3837 fi
3838
3839 else
3840
3841 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3842
3843 fi
3844
3845
3846 eval "$wx_cv_use_hildon"
3847
3848 if test x"$withstring" = xwithout; then
3849 if test $wxUSE_LIBHILDON = yes; then
3850 result=no
3851 else
3852 result=yes
3853 fi
3854 else
3855 result=$wxUSE_LIBHILDON
3856 fi
3857
3858 { echo "$as_me:$LINENO: result: $result" >&5
3859 echo "${ECHO_T}$result" >&6; }
3860
3861
3862 withstring=
3863 defaultval=$wxUSE_ALL_FEATURES
3864 if test -z "$defaultval"; then
3865 if test x"$withstring" = xwithout; then
3866 defaultval=yes
3867 else
3868 defaultval=no
3869 fi
3870 fi
3871 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3872 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3873
3874 # Check whether --with-opengl was given.
3875 if test "${with_opengl+set}" = set; then
3876 withval=$with_opengl;
3877 if test "$withval" = yes; then
3878 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3879 else
3880 wx_cv_use_opengl='wxUSE_OPENGL=no'
3881 fi
3882
3883 else
3884
3885 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3886
3887 fi
3888
3889
3890 eval "$wx_cv_use_opengl"
3891
3892 if test x"$withstring" = xwithout; then
3893 if test $wxUSE_OPENGL = yes; then
3894 result=no
3895 else
3896 result=yes
3897 fi
3898 else
3899 result=$wxUSE_OPENGL
3900 fi
3901
3902 { echo "$as_me:$LINENO: result: $result" >&5
3903 echo "${ECHO_T}$result" >&6; }
3904
3905
3906 fi
3907
3908
3909 withstring=
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3913 defaultval=yes
3914 else
3915 defaultval=no
3916 fi
3917 fi
3918 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3919 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3920
3921 # Check whether --with-dmalloc was given.
3922 if test "${with_dmalloc+set}" = set; then
3923 withval=$with_dmalloc;
3924 if test "$withval" = yes; then
3925 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3926 else
3927 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
3928 fi
3929
3930 else
3931
3932 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3933
3934 fi
3935
3936
3937 eval "$wx_cv_use_dmalloc"
3938
3939 if test x"$withstring" = xwithout; then
3940 if test $wxUSE_DMALLOC = yes; then
3941 result=no
3942 else
3943 result=yes
3944 fi
3945 else
3946 result=$wxUSE_DMALLOC
3947 fi
3948
3949 { echo "$as_me:$LINENO: result: $result" >&5
3950 echo "${ECHO_T}$result" >&6; }
3951
3952
3953 withstring=
3954 defaultval=$wxUSE_ALL_FEATURES
3955 if test -z "$defaultval"; then
3956 if test x"$withstring" = xwithout; then
3957 defaultval=yes
3958 else
3959 defaultval=no
3960 fi
3961 fi
3962 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3963 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3964
3965 # Check whether --with-sdl was given.
3966 if test "${with_sdl+set}" = set; then
3967 withval=$with_sdl;
3968 if test "$withval" = yes; then
3969 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3970 else
3971 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3972 fi
3973
3974 else
3975
3976 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3977
3978 fi
3979
3980
3981 eval "$wx_cv_use_sdl"
3982
3983 if test x"$withstring" = xwithout; then
3984 if test $wxUSE_LIBSDL = yes; then
3985 result=no
3986 else
3987 result=yes
3988 fi
3989 else
3990 result=$wxUSE_LIBSDL
3991 fi
3992
3993 { echo "$as_me:$LINENO: result: $result" >&5
3994 echo "${ECHO_T}$result" >&6; }
3995
3996
3997 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3998 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
3999
4000 # Check whether --with-regex was given.
4001 if test "${with_regex+set}" = set; then
4002 withval=$with_regex;
4003 if test "$withval" = yes; then
4004 wx_cv_use_regex='wxUSE_REGEX=yes'
4005 elif test "$withval" = no; then
4006 wx_cv_use_regex='wxUSE_REGEX=no'
4007 elif test "$withval" = sys; then
4008 wx_cv_use_regex='wxUSE_REGEX=sys'
4009 elif test "$withval" = builtin; then
4010 wx_cv_use_regex='wxUSE_REGEX=builtin'
4011 else
4012 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4013 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4014 { (exit 1); exit 1; }; }
4015 fi
4016
4017 else
4018
4019 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4020
4021 fi
4022
4023
4024 eval "$wx_cv_use_regex"
4025
4026 if test "$wxUSE_REGEX" = yes; then
4027 { echo "$as_me:$LINENO: result: yes" >&5
4028 echo "${ECHO_T}yes" >&6; }
4029 elif test "$wxUSE_REGEX" = no; then
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4032 elif test "$wxUSE_REGEX" = sys; then
4033 { echo "$as_me:$LINENO: result: system version" >&5
4034 echo "${ECHO_T}system version" >&6; }
4035 elif test "$wxUSE_REGEX" = builtin; then
4036 { echo "$as_me:$LINENO: result: builtin version" >&5
4037 echo "${ECHO_T}builtin version" >&6; }
4038 else
4039 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4040 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4041 { (exit 1); exit 1; }; }
4042 fi
4043
4044
4045 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4046 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4047
4048 # Check whether --with-zlib was given.
4049 if test "${with_zlib+set}" = set; then
4050 withval=$with_zlib;
4051 if test "$withval" = yes; then
4052 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4053 elif test "$withval" = no; then
4054 wx_cv_use_zlib='wxUSE_ZLIB=no'
4055 elif test "$withval" = sys; then
4056 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4057 elif test "$withval" = builtin; then
4058 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4059 else
4060 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4061 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4062 { (exit 1); exit 1; }; }
4063 fi
4064
4065 else
4066
4067 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4068
4069 fi
4070
4071
4072 eval "$wx_cv_use_zlib"
4073
4074 if test "$wxUSE_ZLIB" = yes; then
4075 { echo "$as_me:$LINENO: result: yes" >&5
4076 echo "${ECHO_T}yes" >&6; }
4077 elif test "$wxUSE_ZLIB" = no; then
4078 { echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6; }
4080 elif test "$wxUSE_ZLIB" = sys; then
4081 { echo "$as_me:$LINENO: result: system version" >&5
4082 echo "${ECHO_T}system version" >&6; }
4083 elif test "$wxUSE_ZLIB" = builtin; then
4084 { echo "$as_me:$LINENO: result: builtin version" >&5
4085 echo "${ECHO_T}builtin version" >&6; }
4086 else
4087 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4088 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4089 { (exit 1); exit 1; }; }
4090 fi
4091
4092
4093 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4094 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4095
4096 # Check whether --with-expat was given.
4097 if test "${with_expat+set}" = set; then
4098 withval=$with_expat;
4099 if test "$withval" = yes; then
4100 wx_cv_use_expat='wxUSE_EXPAT=yes'
4101 elif test "$withval" = no; then
4102 wx_cv_use_expat='wxUSE_EXPAT=no'
4103 elif test "$withval" = sys; then
4104 wx_cv_use_expat='wxUSE_EXPAT=sys'
4105 elif test "$withval" = builtin; then
4106 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4107 else
4108 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4109 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4110 { (exit 1); exit 1; }; }
4111 fi
4112
4113 else
4114
4115 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4116
4117 fi
4118
4119
4120 eval "$wx_cv_use_expat"
4121
4122 if test "$wxUSE_EXPAT" = yes; then
4123 { echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6; }
4125 elif test "$wxUSE_EXPAT" = no; then
4126 { echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6; }
4128 elif test "$wxUSE_EXPAT" = sys; then
4129 { echo "$as_me:$LINENO: result: system version" >&5
4130 echo "${ECHO_T}system version" >&6; }
4131 elif test "$wxUSE_EXPAT" = builtin; then
4132 { echo "$as_me:$LINENO: result: builtin version" >&5
4133 echo "${ECHO_T}builtin version" >&6; }
4134 else
4135 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4136 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4137 { (exit 1); exit 1; }; }
4138 fi
4139
4140
4141 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4142 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4143
4144 # Check whether --with-macosx-sdk was given.
4145 if test "${with_macosx_sdk+set}" = set; then
4146 withval=$with_macosx_sdk;
4147 wxUSE_MACOSX_SDK=$withval
4148 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4149
4150 fi
4151
4152 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4153 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4154
4155 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4156 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4157
4158 # Check whether --with-macosx-version-min was given.
4159 if test "${with_macosx_version_min+set}" = set; then
4160 withval=$with_macosx_version_min;
4161 wxUSE_MACOSX_VERSION_MIN=$withval
4162 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4163
4164 fi
4165
4166 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4167 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4168
4169
4170
4171 enablestring=disable
4172 defaultval=
4173 if test -z "$defaultval"; then
4174 if test x"$enablestring" = xdisable; then
4175 defaultval=yes
4176 else
4177 defaultval=no
4178 fi
4179 fi
4180
4181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4183 # Check whether --enable-shared was given.
4184 if test "${enable_shared+set}" = set; then
4185 enableval=$enable_shared;
4186 if test "$enableval" = yes; then
4187 wx_cv_use_shared='wxUSE_SHARED=yes'
4188 else
4189 wx_cv_use_shared='wxUSE_SHARED=no'
4190 fi
4191
4192 else
4193
4194 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4195
4196 fi
4197
4198
4199 eval "$wx_cv_use_shared"
4200
4201 if test x"$enablestring" = xdisable; then
4202 if test $wxUSE_SHARED = yes; then
4203 result=no
4204 else
4205 result=yes
4206 fi
4207 else
4208 result=$wxUSE_SHARED
4209 fi
4210
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4213
4214
4215 enablestring=disable
4216 defaultval=
4217 if test -z "$defaultval"; then
4218 if test x"$enablestring" = xdisable; then
4219 defaultval=yes
4220 else
4221 defaultval=no
4222 fi
4223 fi
4224
4225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4227 # Check whether --enable-optimise was given.
4228 if test "${enable_optimise+set}" = set; then
4229 enableval=$enable_optimise;
4230 if test "$enableval" = yes; then
4231 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4232 else
4233 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4234 fi
4235
4236 else
4237
4238 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4239
4240 fi
4241
4242
4243 eval "$wx_cv_use_optimise"
4244
4245 if test x"$enablestring" = xdisable; then
4246 if test $wxUSE_OPTIMISE = yes; then
4247 result=no
4248 else
4249 result=yes
4250 fi
4251 else
4252 result=$wxUSE_OPTIMISE
4253 fi
4254
4255 { echo "$as_me:$LINENO: result: $result" >&5
4256 echo "${ECHO_T}$result" >&6; }
4257
4258
4259 enablestring=
4260 defaultval=
4261 if test -z "$defaultval"; then
4262 if test x"$enablestring" = xdisable; then
4263 defaultval=yes
4264 else
4265 defaultval=no
4266 fi
4267 fi
4268
4269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4271 # Check whether --enable-debug was given.
4272 if test "${enable_debug+set}" = set; then
4273 enableval=$enable_debug;
4274 if test "$enableval" = yes; then
4275 wx_cv_use_debug='wxUSE_DEBUG=yes'
4276 else
4277 wx_cv_use_debug='wxUSE_DEBUG=no'
4278 fi
4279
4280 else
4281
4282 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4283
4284 fi
4285
4286
4287 eval "$wx_cv_use_debug"
4288
4289 if test x"$enablestring" = xdisable; then
4290 if test $wxUSE_DEBUG = yes; then
4291 result=no
4292 else
4293 result=yes
4294 fi
4295 else
4296 result=$wxUSE_DEBUG
4297 fi
4298
4299 { echo "$as_me:$LINENO: result: $result" >&5
4300 echo "${ECHO_T}$result" >&6; }
4301
4302
4303 enablestring=
4304 defaultval=
4305 if test -z "$defaultval"; then
4306 if test x"$enablestring" = xdisable; then
4307 defaultval=yes
4308 else
4309 defaultval=no
4310 fi
4311 fi
4312
4313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4315 # Check whether --enable-stl was given.
4316 if test "${enable_stl+set}" = set; then
4317 enableval=$enable_stl;
4318 if test "$enableval" = yes; then
4319 wx_cv_use_stl='wxUSE_STL=yes'
4320 else
4321 wx_cv_use_stl='wxUSE_STL=no'
4322 fi
4323
4324 else
4325
4326 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4327
4328 fi
4329
4330
4331 eval "$wx_cv_use_stl"
4332
4333 if test x"$enablestring" = xdisable; then
4334 if test $wxUSE_STL = yes; then
4335 result=no
4336 else
4337 result=yes
4338 fi
4339 else
4340 result=$wxUSE_STL
4341 fi
4342
4343 { echo "$as_me:$LINENO: result: $result" >&5
4344 echo "${ECHO_T}$result" >&6; }
4345
4346
4347 enablestring=
4348 defaultval=
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4351 defaultval=yes
4352 else
4353 defaultval=no
4354 fi
4355 fi
4356
4357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4358 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4359 # Check whether --enable-std_iostreams was given.
4360 if test "${enable_std_iostreams+set}" = set; then
4361 enableval=$enable_std_iostreams;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4364 else
4365 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4366 fi
4367
4368 else
4369
4370 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4371
4372 fi
4373
4374
4375 eval "$wx_cv_use_std_iostreams"
4376
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_STD_IOSTREAM = yes; then
4379 result=no
4380 else
4381 result=yes
4382 fi
4383 else
4384 result=$wxUSE_STD_IOSTREAM
4385 fi
4386
4387 { echo "$as_me:$LINENO: result: $result" >&5
4388 echo "${ECHO_T}$result" >&6; }
4389
4390
4391 enablestring=
4392 defaultval=
4393 if test -z "$defaultval"; then
4394 if test x"$enablestring" = xdisable; then
4395 defaultval=yes
4396 else
4397 defaultval=no
4398 fi
4399 fi
4400
4401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4402 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4403 # Check whether --enable-std_string was given.
4404 if test "${enable_std_string+set}" = set; then
4405 enableval=$enable_std_string;
4406 if test "$enableval" = yes; then
4407 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4408 else
4409 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4410 fi
4411
4412 else
4413
4414 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4415
4416 fi
4417
4418
4419 eval "$wx_cv_use_std_string"
4420
4421 if test x"$enablestring" = xdisable; then
4422 if test $wxUSE_STD_STRING = yes; then
4423 result=no
4424 else
4425 result=yes
4426 fi
4427 else
4428 result=$wxUSE_STD_STRING
4429 fi
4430
4431 { echo "$as_me:$LINENO: result: $result" >&5
4432 echo "${ECHO_T}$result" >&6; }
4433
4434
4435 enablestring=disable
4436 defaultval=
4437 if test -z "$defaultval"; then
4438 if test x"$enablestring" = xdisable; then
4439 defaultval=yes
4440 else
4441 defaultval=no
4442 fi
4443 fi
4444
4445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4447 # Check whether --enable-unicode was given.
4448 if test "${enable_unicode+set}" = set; then
4449 enableval=$enable_unicode;
4450 if test "$enableval" = yes; then
4451 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4452 else
4453 wx_cv_use_unicode='wxUSE_UNICODE=no'
4454 fi
4455
4456 else
4457
4458 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4459
4460 fi
4461
4462
4463 eval "$wx_cv_use_unicode"
4464
4465 if test x"$enablestring" = xdisable; then
4466 if test $wxUSE_UNICODE = yes; then
4467 result=no
4468 else
4469 result=yes
4470 fi
4471 else
4472 result=$wxUSE_UNICODE
4473 fi
4474
4475 { echo "$as_me:$LINENO: result: $result" >&5
4476 echo "${ECHO_T}$result" >&6; }
4477
4478
4479 enablestring=
4480 defaultval=
4481 if test -z "$defaultval"; then
4482 if test x"$enablestring" = xdisable; then
4483 defaultval=yes
4484 else
4485 defaultval=no
4486 fi
4487 fi
4488
4489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4491 # Check whether --enable-mslu was given.
4492 if test "${enable_mslu+set}" = set; then
4493 enableval=$enable_mslu;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4496 else
4497 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4498 fi
4499
4500 else
4501
4502 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4503
4504 fi
4505
4506
4507 eval "$wx_cv_use_mslu"
4508
4509 if test x"$enablestring" = xdisable; then
4510 if test $wxUSE_UNICODE_MSLU = yes; then
4511 result=no
4512 else
4513 result=yes
4514 fi
4515 else
4516 result=$wxUSE_UNICODE_MSLU
4517 fi
4518
4519 { echo "$as_me:$LINENO: result: $result" >&5
4520 echo "${ECHO_T}$result" >&6; }
4521
4522
4523 enablestring=
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4526 # Check whether --enable-utf8 was given.
4527 if test "${enable_utf8+set}" = set; then
4528 enableval=$enable_utf8;
4529 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4530
4531 else
4532
4533 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4534
4535 fi
4536
4537
4538 eval "$wx_cv_use_utf8"
4539
4540 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4541 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4542
4543
4544 enablestring=
4545 defaultval=
4546 if test -z "$defaultval"; then
4547 if test x"$enablestring" = xdisable; then
4548 defaultval=yes
4549 else
4550 defaultval=no
4551 fi
4552 fi
4553
4554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4556 # Check whether --enable-utf8only was given.
4557 if test "${enable_utf8only+set}" = set; then
4558 enableval=$enable_utf8only;
4559 if test "$enableval" = yes; then
4560 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4561 else
4562 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4563 fi
4564
4565 else
4566
4567 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4568
4569 fi
4570
4571
4572 eval "$wx_cv_use_utf8only"
4573
4574 if test x"$enablestring" = xdisable; then
4575 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4576 result=no
4577 else
4578 result=yes
4579 fi
4580 else
4581 result=$wxUSE_UNICODE_UTF8_LOCALE
4582 fi
4583
4584 { echo "$as_me:$LINENO: result: $result" >&5
4585 echo "${ECHO_T}$result" >&6; }
4586
4587
4588 enablestring=
4589 defaultval=
4590 if test -z "$defaultval"; then
4591 if test x"$enablestring" = xdisable; then
4592 defaultval=yes
4593 else
4594 defaultval=no
4595 fi
4596 fi
4597
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4600 # Check whether --enable-extended_rtti was given.
4601 if test "${enable_extended_rtti+set}" = set; then
4602 enableval=$enable_extended_rtti;
4603 if test "$enableval" = yes; then
4604 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4605 else
4606 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4607 fi
4608
4609 else
4610
4611 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4612
4613 fi
4614
4615
4616 eval "$wx_cv_use_extended_rtti"
4617
4618 if test x"$enablestring" = xdisable; then
4619 if test $wxUSE_EXTENDED_RTTI = yes; then
4620 result=no
4621 else
4622 result=yes
4623 fi
4624 else
4625 result=$wxUSE_EXTENDED_RTTI
4626 fi
4627
4628 { echo "$as_me:$LINENO: result: $result" >&5
4629 echo "${ECHO_T}$result" >&6; }
4630
4631 if test "$USE_OS2" = 1; then
4632 DEFAULT_wxUSE_OMF=no
4633
4634 enablestring=
4635 defaultval=
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4638 defaultval=yes
4639 else
4640 defaultval=no
4641 fi
4642 fi
4643
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4646 # Check whether --enable-omf was given.
4647 if test "${enable_omf+set}" = set; then
4648 enableval=$enable_omf;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_omf='wxUSE_OMF=yes'
4651 else
4652 wx_cv_use_omf='wxUSE_OMF=no'
4653 fi
4654
4655 else
4656
4657 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4658
4659 fi
4660
4661
4662 eval "$wx_cv_use_omf"
4663
4664 if test x"$enablestring" = xdisable; then
4665 if test $wxUSE_OMF = yes; then
4666 result=no
4667 else
4668 result=yes
4669 fi
4670 else
4671 result=$wxUSE_OMF
4672 fi
4673
4674 { echo "$as_me:$LINENO: result: $result" >&5
4675 echo "${ECHO_T}$result" >&6; }
4676
4677 fi
4678
4679 if test "$wxUSE_DEBUG" = "yes"; then
4680 DEFAULT_wxUSE_DEBUG_FLAG=yes
4681 DEFAULT_wxUSE_DEBUG_INFO=yes
4682 BUILD=debug
4683 elif test "$wxUSE_DEBUG" = "no"; then
4684 DEFAULT_wxUSE_DEBUG_FLAG=no
4685 DEFAULT_wxUSE_DEBUG_INFO=no
4686 BUILD=release
4687 fi
4688
4689
4690 enablestring=
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}-debug_flag" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4702 # Check whether --enable-debug_flag was given.
4703 if test "${enable_debug_flag+set}" = set; then
4704 enableval=$enable_debug_flag;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4707 else
4708 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4709 fi
4710
4711 else
4712
4713 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4714
4715 fi
4716
4717
4718 eval "$wx_cv_use_debug_flag"
4719
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_DEBUG_FLAG = yes; then
4722 result=no
4723 else
4724 result=yes
4725 fi
4726 else
4727 result=$wxUSE_DEBUG_FLAG
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}-debug_info" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4746 # Check whether --enable-debug_info was given.
4747 if test "${enable_debug_info+set}" = set; then
4748 enableval=$enable_debug_info;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4751 else
4752 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4753 fi
4754
4755 else
4756
4757 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4758
4759 fi
4760
4761
4762 eval "$wx_cv_use_debug_info"
4763
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_DEBUG_INFO = yes; then
4766 result=no
4767 else
4768 result=yes
4769 fi
4770 else
4771 result=$wxUSE_DEBUG_INFO
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}-debug_gdb" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4790 # Check whether --enable-debug_gdb was given.
4791 if test "${enable_debug_gdb+set}" = set; then
4792 enableval=$enable_debug_gdb;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4795 else
4796 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4797 fi
4798
4799 else
4800
4801 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4802
4803 fi
4804
4805
4806 eval "$wx_cv_use_debug_gdb"
4807
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_DEBUG_GDB = yes; then
4810 result=no
4811 else
4812 result=yes
4813 fi
4814 else
4815 result=$wxUSE_DEBUG_GDB
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}-debug_cntxt" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4834 # Check whether --enable-debug_cntxt was given.
4835 if test "${enable_debug_cntxt+set}" = set; then
4836 enableval=$enable_debug_cntxt;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4839 else
4840 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4841 fi
4842
4843 else
4844
4845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4846
4847 fi
4848
4849
4850 eval "$wx_cv_use_debug_cntxt"
4851
4852 if test x"$enablestring" = xdisable; then
4853 if test $wxUSE_DEBUG_CONTEXT = yes; then
4854 result=no
4855 else
4856 result=yes
4857 fi
4858 else
4859 result=$wxUSE_DEBUG_CONTEXT
4860 fi
4861
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4864
4865
4866 enablestring=
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}-mem_tracing" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4878 # Check whether --enable-mem_tracing was given.
4879 if test "${enable_mem_tracing+set}" = set; then
4880 enableval=$enable_mem_tracing;
4881 if test "$enableval" = yes; then
4882 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4883 else
4884 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4885 fi
4886
4887 else
4888
4889 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4890
4891 fi
4892
4893
4894 eval "$wx_cv_use_mem_tracing"
4895
4896 if test x"$enablestring" = xdisable; then
4897 if test $wxUSE_MEM_TRACING = yes; then
4898 result=no
4899 else
4900 result=yes
4901 fi
4902 else
4903 result=$wxUSE_MEM_TRACING
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}-profile" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4922 # Check whether --enable-profile was given.
4923 if test "${enable_profile+set}" = set; then
4924 enableval=$enable_profile;
4925 if test "$enableval" = yes; then
4926 wx_cv_use_profile='wxUSE_PROFILE=yes'
4927 else
4928 wx_cv_use_profile='wxUSE_PROFILE=no'
4929 fi
4930
4931 else
4932
4933 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4934
4935 fi
4936
4937
4938 eval "$wx_cv_use_profile"
4939
4940 if test x"$enablestring" = xdisable; then
4941 if test $wxUSE_PROFILE = yes; then
4942 result=no
4943 else
4944 result=yes
4945 fi
4946 else
4947 result=$wxUSE_PROFILE
4948 fi
4949
4950 { echo "$as_me:$LINENO: result: $result" >&5
4951 echo "${ECHO_T}$result" >&6; }
4952
4953
4954 enablestring=
4955 defaultval=
4956 if test -z "$defaultval"; then
4957 if test x"$enablestring" = xdisable; then
4958 defaultval=yes
4959 else
4960 defaultval=no
4961 fi
4962 fi
4963
4964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4966 # Check whether --enable-no_rtti was given.
4967 if test "${enable_no_rtti+set}" = set; then
4968 enableval=$enable_no_rtti;
4969 if test "$enableval" = yes; then
4970 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4971 else
4972 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4973 fi
4974
4975 else
4976
4977 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4978
4979 fi
4980
4981
4982 eval "$wx_cv_use_no_rtti"
4983
4984 if test x"$enablestring" = xdisable; then
4985 if test $wxUSE_NO_RTTI = yes; then
4986 result=no
4987 else
4988 result=yes
4989 fi
4990 else
4991 result=$wxUSE_NO_RTTI
4992 fi
4993
4994 { echo "$as_me:$LINENO: result: $result" >&5
4995 echo "${ECHO_T}$result" >&6; }
4996
4997
4998 enablestring=
4999 defaultval=
5000 if test -z "$defaultval"; then
5001 if test x"$enablestring" = xdisable; then
5002 defaultval=yes
5003 else
5004 defaultval=no
5005 fi
5006 fi
5007
5008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5009 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5010 # Check whether --enable-no_exceptions was given.
5011 if test "${enable_no_exceptions+set}" = set; then
5012 enableval=$enable_no_exceptions;
5013 if test "$enableval" = yes; then
5014 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5015 else
5016 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5017 fi
5018
5019 else
5020
5021 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5022
5023 fi
5024
5025
5026 eval "$wx_cv_use_no_exceptions"
5027
5028 if test x"$enablestring" = xdisable; then
5029 if test $wxUSE_NO_EXCEPTIONS = yes; then
5030 result=no
5031 else
5032 result=yes
5033 fi
5034 else
5035 result=$wxUSE_NO_EXCEPTIONS
5036 fi
5037
5038 { echo "$as_me:$LINENO: result: $result" >&5
5039 echo "${ECHO_T}$result" >&6; }
5040
5041
5042 enablestring=
5043 defaultval=
5044 if test -z "$defaultval"; then
5045 if test x"$enablestring" = xdisable; then
5046 defaultval=yes
5047 else
5048 defaultval=no
5049 fi
5050 fi
5051
5052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5059 else
5060 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5061 fi
5062
5063 else
5064
5065 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5066
5067 fi
5068
5069
5070 eval "$wx_cv_use_permissive"
5071
5072 if test x"$enablestring" = xdisable; then
5073 if test $wxUSE_PERMISSIVE = yes; then
5074 result=no
5075 else
5076 result=yes
5077 fi
5078 else
5079 result=$wxUSE_PERMISSIVE
5080 fi
5081
5082 { echo "$as_me:$LINENO: result: $result" >&5
5083 echo "${ECHO_T}$result" >&6; }
5084
5085
5086 enablestring=
5087 defaultval=
5088 if test -z "$defaultval"; then
5089 if test x"$enablestring" = xdisable; then
5090 defaultval=yes
5091 else
5092 defaultval=no
5093 fi
5094 fi
5095
5096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5097 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5098 # Check whether --enable-no_deps was given.
5099 if test "${enable_no_deps+set}" = set; then
5100 enableval=$enable_no_deps;
5101 if test "$enableval" = yes; then
5102 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5103 else
5104 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5105 fi
5106
5107 else
5108
5109 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5110
5111 fi
5112
5113
5114 eval "$wx_cv_use_no_deps"
5115
5116 if test x"$enablestring" = xdisable; then
5117 if test $wxUSE_NO_DEPS = yes; then
5118 result=no
5119 else
5120 result=yes
5121 fi
5122 else
5123 result=$wxUSE_NO_DEPS
5124 fi
5125
5126 { echo "$as_me:$LINENO: result: $result" >&5
5127 echo "${ECHO_T}$result" >&6; }
5128
5129
5130 enablestring=disable
5131 defaultval=
5132 if test -z "$defaultval"; then
5133 if test x"$enablestring" = xdisable; then
5134 defaultval=yes
5135 else
5136 defaultval=no
5137 fi
5138 fi
5139
5140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5142 # Check whether --enable-vararg_macros was given.
5143 if test "${enable_vararg_macros+set}" = set; then
5144 enableval=$enable_vararg_macros;
5145 if test "$enableval" = yes; then
5146 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5147 else
5148 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5149 fi
5150
5151 else
5152
5153 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5154
5155 fi
5156
5157
5158 eval "$wx_cv_use_vararg_macros"
5159
5160 if test x"$enablestring" = xdisable; then
5161 if test $wxUSE_VARARG_MACROS = yes; then
5162 result=no
5163 else
5164 result=yes
5165 fi
5166 else
5167 result=$wxUSE_VARARG_MACROS
5168 fi
5169
5170 { echo "$as_me:$LINENO: result: $result" >&5
5171 echo "${ECHO_T}$result" >&6; }
5172
5173
5174 enablestring=
5175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5181
5182 else
5183
5184 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5185
5186 fi
5187
5188
5189 eval "$wx_cv_use_universal_binary"
5190
5191 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5192 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5193
5194
5195
5196 enablestring=
5197 defaultval=
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5200 defaultval=yes
5201 else
5202 defaultval=no
5203 fi
5204 fi
5205
5206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5208 # Check whether --enable-compat26 was given.
5209 if test "${enable_compat26+set}" = set; then
5210 enableval=$enable_compat26;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5213 else
5214 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5215 fi
5216
5217 else
5218
5219 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5220
5221 fi
5222
5223
5224 eval "$wx_cv_use_compat26"
5225
5226 if test x"$enablestring" = xdisable; then
5227 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5228 result=no
5229 else
5230 result=yes
5231 fi
5232 else
5233 result=$WXWIN_COMPATIBILITY_2_6
5234 fi
5235
5236 { echo "$as_me:$LINENO: result: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5238
5239
5240 enablestring=disable
5241 defaultval=
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5244 defaultval=yes
5245 else
5246 defaultval=no
5247 fi
5248 fi
5249
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5252 # Check whether --enable-compat28 was given.
5253 if test "${enable_compat28+set}" = set; then
5254 enableval=$enable_compat28;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5257 else
5258 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5259 fi
5260
5261 else
5262
5263 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5264
5265 fi
5266
5267
5268 eval "$wx_cv_use_compat28"
5269
5270 if test x"$enablestring" = xdisable; then
5271 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5272 result=no
5273 else
5274 result=yes
5275 fi
5276 else
5277 result=$WXWIN_COMPATIBILITY_2_8
5278 fi
5279
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5282
5283
5284
5285 enablestring=disable
5286 defaultval=
5287 if test -z "$defaultval"; then
5288 if test x"$enablestring" = xdisable; then
5289 defaultval=yes
5290 else
5291 defaultval=no
5292 fi
5293 fi
5294
5295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5297 # Check whether --enable-rpath was given.
5298 if test "${enable_rpath+set}" = set; then
5299 enableval=$enable_rpath;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_rpath='wxUSE_RPATH=yes'
5302 else
5303 wx_cv_use_rpath='wxUSE_RPATH=no'
5304 fi
5305
5306 else
5307
5308 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5309
5310 fi
5311
5312
5313 eval "$wx_cv_use_rpath"
5314
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_RPATH = yes; then
5317 result=no
5318 else
5319 result=yes
5320 fi
5321 else
5322 result=$wxUSE_RPATH
5323 fi
5324
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5327
5328
5329
5330 enablestring=
5331 defaultval=
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5334 defaultval=yes
5335 else
5336 defaultval=no
5337 fi
5338 fi
5339
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5342 # Check whether --enable-objc_uniquifying was given.
5343 if test "${enable_objc_uniquifying+set}" = set; then
5344 enableval=$enable_objc_uniquifying;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5347 else
5348 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5349 fi
5350
5351 else
5352
5353 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5354
5355 fi
5356
5357
5358 eval "$wx_cv_use_objc_uniquifying"
5359
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5362 result=no
5363 else
5364 result=yes
5365 fi
5366 else
5367 result=$wxUSE_OBJC_UNIQUIFYING
5368 fi
5369
5370 { echo "$as_me:$LINENO: result: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5372
5373
5374
5375 enablestring=disable
5376 defaultval=
5377 if test -z "$defaultval"; then
5378 if test x"$enablestring" = xdisable; then
5379 defaultval=yes
5380 else
5381 defaultval=no
5382 fi
5383 fi
5384
5385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5386 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5387 # Check whether --enable-visibility was given.
5388 if test "${enable_visibility+set}" = set; then
5389 enableval=$enable_visibility;
5390 if test "$enableval" = yes; then
5391 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5392 else
5393 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5394 fi
5395
5396 else
5397
5398 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5399
5400 fi
5401
5402
5403 eval "$wx_cv_use_visibility"
5404
5405 if test x"$enablestring" = xdisable; then
5406 if test $wxUSE_VISIBILITY = yes; then
5407 result=no
5408 else
5409 result=yes
5410 fi
5411 else
5412 result=$wxUSE_VISIBILITY
5413 fi
5414
5415 { echo "$as_me:$LINENO: result: $result" >&5
5416 echo "${ECHO_T}$result" >&6; }
5417
5418
5419
5420
5421 enablestring=
5422 defaultval=$wxUSE_ALL_FEATURES
5423 if test -z "$defaultval"; then
5424 if test x"$enablestring" = xdisable; then
5425 defaultval=yes
5426 else
5427 defaultval=no
5428 fi
5429 fi
5430
5431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5432 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5433 # Check whether --enable-intl was given.
5434 if test "${enable_intl+set}" = set; then
5435 enableval=$enable_intl;
5436 if test "$enableval" = yes; then
5437 wx_cv_use_intl='wxUSE_INTL=yes'
5438 else
5439 wx_cv_use_intl='wxUSE_INTL=no'
5440 fi
5441
5442 else
5443
5444 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5445
5446 fi
5447
5448
5449 eval "$wx_cv_use_intl"
5450
5451 if test x"$enablestring" = xdisable; then
5452 if test $wxUSE_INTL = yes; then
5453 result=no
5454 else
5455 result=yes
5456 fi
5457 else
5458 result=$wxUSE_INTL
5459 fi
5460
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5463
5464
5465 enablestring=
5466 defaultval=$wxUSE_ALL_FEATURES
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5469 defaultval=yes
5470 else
5471 defaultval=no
5472 fi
5473 fi
5474
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5477 # Check whether --enable-config was given.
5478 if test "${enable_config+set}" = set; then
5479 enableval=$enable_config;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_config='wxUSE_CONFIG=yes'
5482 else
5483 wx_cv_use_config='wxUSE_CONFIG=no'
5484 fi
5485
5486 else
5487
5488 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5489
5490 fi
5491
5492
5493 eval "$wx_cv_use_config"
5494
5495 if test x"$enablestring" = xdisable; then
5496 if test $wxUSE_CONFIG = yes; then
5497 result=no
5498 else
5499 result=yes
5500 fi
5501 else
5502 result=$wxUSE_CONFIG
5503 fi
5504
5505 { echo "$as_me:$LINENO: result: $result" >&5
5506 echo "${ECHO_T}$result" >&6; }
5507
5508
5509
5510 enablestring=
5511 defaultval=$wxUSE_ALL_FEATURES
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5514 defaultval=yes
5515 else
5516 defaultval=no
5517 fi
5518 fi
5519
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5522 # Check whether --enable-protocols was given.
5523 if test "${enable_protocols+set}" = set; then
5524 enableval=$enable_protocols;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5527 else
5528 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5529 fi
5530
5531 else
5532
5533 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5534
5535 fi
5536
5537
5538 eval "$wx_cv_use_protocols"
5539
5540 if test x"$enablestring" = xdisable; then
5541 if test $wxUSE_PROTOCOL = yes; then
5542 result=no
5543 else
5544 result=yes
5545 fi
5546 else
5547 result=$wxUSE_PROTOCOL
5548 fi
5549
5550 { echo "$as_me:$LINENO: result: $result" >&5
5551 echo "${ECHO_T}$result" >&6; }
5552
5553
5554 enablestring=
5555 defaultval=$wxUSE_ALL_FEATURES
5556 if test -z "$defaultval"; then
5557 if test x"$enablestring" = xdisable; then
5558 defaultval=yes
5559 else
5560 defaultval=no
5561 fi
5562 fi
5563
5564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5566 # Check whether --enable-ftp was given.
5567 if test "${enable_ftp+set}" = set; then
5568 enableval=$enable_ftp;
5569 if test "$enableval" = yes; then
5570 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5571 else
5572 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5573 fi
5574
5575 else
5576
5577 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5578
5579 fi
5580
5581
5582 eval "$wx_cv_use_ftp"
5583
5584 if test x"$enablestring" = xdisable; then
5585 if test $wxUSE_PROTOCOL_FTP = yes; then
5586 result=no
5587 else
5588 result=yes
5589 fi
5590 else
5591 result=$wxUSE_PROTOCOL_FTP
5592 fi
5593
5594 { echo "$as_me:$LINENO: result: $result" >&5
5595 echo "${ECHO_T}$result" >&6; }
5596
5597
5598 enablestring=
5599 defaultval=$wxUSE_ALL_FEATURES
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}-http" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5610 # Check whether --enable-http was given.
5611 if test "${enable_http+set}" = set; then
5612 enableval=$enable_http;
5613 if test "$enableval" = yes; then
5614 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5615 else
5616 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5617 fi
5618
5619 else
5620
5621 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5622
5623 fi
5624
5625
5626 eval "$wx_cv_use_http"
5627
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_PROTOCOL_HTTP = yes; then
5630 result=no
5631 else
5632 result=yes
5633 fi
5634 else
5635 result=$wxUSE_PROTOCOL_HTTP
5636 fi
5637
5638 { echo "$as_me:$LINENO: result: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5640
5641
5642 enablestring=
5643 defaultval=$wxUSE_ALL_FEATURES
5644 if test -z "$defaultval"; then
5645 if test x"$enablestring" = xdisable; then
5646 defaultval=yes
5647 else
5648 defaultval=no
5649 fi
5650 fi
5651
5652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5653 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5654 # Check whether --enable-fileproto was given.
5655 if test "${enable_fileproto+set}" = set; then
5656 enableval=$enable_fileproto;
5657 if test "$enableval" = yes; then
5658 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5659 else
5660 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5661 fi
5662
5663 else
5664
5665 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5666
5667 fi
5668
5669
5670 eval "$wx_cv_use_fileproto"
5671
5672 if test x"$enablestring" = xdisable; then
5673 if test $wxUSE_PROTOCOL_FILE = yes; then
5674 result=no
5675 else
5676 result=yes
5677 fi
5678 else
5679 result=$wxUSE_PROTOCOL_FILE
5680 fi
5681
5682 { echo "$as_me:$LINENO: result: $result" >&5
5683 echo "${ECHO_T}$result" >&6; }
5684
5685
5686 enablestring=
5687 defaultval=$wxUSE_ALL_FEATURES
5688 if test -z "$defaultval"; then
5689 if test x"$enablestring" = xdisable; then
5690 defaultval=yes
5691 else
5692 defaultval=no
5693 fi
5694 fi
5695
5696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5698 # Check whether --enable-sockets was given.
5699 if test "${enable_sockets+set}" = set; then
5700 enableval=$enable_sockets;
5701 if test "$enableval" = yes; then
5702 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5703 else
5704 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5705 fi
5706
5707 else
5708
5709 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5710
5711 fi
5712
5713
5714 eval "$wx_cv_use_sockets"
5715
5716 if test x"$enablestring" = xdisable; then
5717 if test $wxUSE_SOCKETS = yes; then
5718 result=no
5719 else
5720 result=yes
5721 fi
5722 else
5723 result=$wxUSE_SOCKETS
5724 fi
5725
5726 { echo "$as_me:$LINENO: result: $result" >&5
5727 echo "${ECHO_T}$result" >&6; }
5728
5729
5730 enablestring=
5731 defaultval=$wxUSE_ALL_FEATURES
5732 if test -z "$defaultval"; then
5733 if test x"$enablestring" = xdisable; then
5734 defaultval=yes
5735 else
5736 defaultval=no
5737 fi
5738 fi
5739
5740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5741 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5742 # Check whether --enable-ipv6 was given.
5743 if test "${enable_ipv6+set}" = set; then
5744 enableval=$enable_ipv6;
5745 if test "$enableval" = yes; then
5746 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5747 else
5748 wx_cv_use_ipv6='wxUSE_IPV6=no'
5749 fi
5750
5751 else
5752
5753 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5754
5755 fi
5756
5757
5758 eval "$wx_cv_use_ipv6"
5759
5760 if test x"$enablestring" = xdisable; then
5761 if test $wxUSE_IPV6 = yes; then
5762 result=no
5763 else
5764 result=yes
5765 fi
5766 else
5767 result=$wxUSE_IPV6
5768 fi
5769
5770 { echo "$as_me:$LINENO: result: $result" >&5
5771 echo "${ECHO_T}$result" >&6; }
5772
5773
5774 enablestring=
5775 defaultval=$wxUSE_ALL_FEATURES
5776 if test -z "$defaultval"; then
5777 if test x"$enablestring" = xdisable; then
5778 defaultval=yes
5779 else
5780 defaultval=no
5781 fi
5782 fi
5783
5784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5785 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5786 # Check whether --enable-ole was given.
5787 if test "${enable_ole+set}" = set; then
5788 enableval=$enable_ole;
5789 if test "$enableval" = yes; then
5790 wx_cv_use_ole='wxUSE_OLE=yes'
5791 else
5792 wx_cv_use_ole='wxUSE_OLE=no'
5793 fi
5794
5795 else
5796
5797 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5798
5799 fi
5800
5801
5802 eval "$wx_cv_use_ole"
5803
5804 if test x"$enablestring" = xdisable; then
5805 if test $wxUSE_OLE = yes; then
5806 result=no
5807 else
5808 result=yes
5809 fi
5810 else
5811 result=$wxUSE_OLE
5812 fi
5813
5814 { echo "$as_me:$LINENO: result: $result" >&5
5815 echo "${ECHO_T}$result" >&6; }
5816
5817
5818 enablestring=
5819 defaultval=$wxUSE_ALL_FEATURES
5820 if test -z "$defaultval"; then
5821 if test x"$enablestring" = xdisable; then
5822 defaultval=yes
5823 else
5824 defaultval=no
5825 fi
5826 fi
5827
5828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5830 # Check whether --enable-dataobj was given.
5831 if test "${enable_dataobj+set}" = set; then
5832 enableval=$enable_dataobj;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5835 else
5836 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5837 fi
5838
5839 else
5840
5841 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5842
5843 fi
5844
5845
5846 eval "$wx_cv_use_dataobj"
5847
5848 if test x"$enablestring" = xdisable; then
5849 if test $wxUSE_DATAOBJ = yes; then
5850 result=no
5851 else
5852 result=yes
5853 fi
5854 else
5855 result=$wxUSE_DATAOBJ
5856 fi
5857
5858 { echo "$as_me:$LINENO: result: $result" >&5
5859 echo "${ECHO_T}$result" >&6; }
5860
5861
5862
5863 enablestring=
5864 defaultval=$wxUSE_ALL_FEATURES
5865 if test -z "$defaultval"; then
5866 if test x"$enablestring" = xdisable; then
5867 defaultval=yes
5868 else
5869 defaultval=no
5870 fi
5871 fi
5872
5873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5875 # Check whether --enable-ipc was given.
5876 if test "${enable_ipc+set}" = set; then
5877 enableval=$enable_ipc;
5878 if test "$enableval" = yes; then
5879 wx_cv_use_ipc='wxUSE_IPC=yes'
5880 else
5881 wx_cv_use_ipc='wxUSE_IPC=no'
5882 fi
5883
5884 else
5885
5886 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5887
5888 fi
5889
5890
5891 eval "$wx_cv_use_ipc"
5892
5893 if test x"$enablestring" = xdisable; then
5894 if test $wxUSE_IPC = yes; then
5895 result=no
5896 else
5897 result=yes
5898 fi
5899 else
5900 result=$wxUSE_IPC
5901 fi
5902
5903 { echo "$as_me:$LINENO: result: $result" >&5
5904 echo "${ECHO_T}$result" >&6; }
5905
5906
5907
5908 enablestring=
5909 defaultval=$wxUSE_ALL_FEATURES
5910 if test -z "$defaultval"; then
5911 if test x"$enablestring" = xdisable; then
5912 defaultval=yes
5913 else
5914 defaultval=no
5915 fi
5916 fi
5917
5918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
5919 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
5920 # Check whether --enable-baseevtloop was given.
5921 if test "${enable_baseevtloop+set}" = set; then
5922 enableval=$enable_baseevtloop;
5923 if test "$enableval" = yes; then
5924 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5925 else
5926 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5927 fi
5928
5929 else
5930
5931 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5932
5933 fi
5934
5935
5936 eval "$wx_cv_use_baseevtloop"
5937
5938 if test x"$enablestring" = xdisable; then
5939 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5940 result=no
5941 else
5942 result=yes
5943 fi
5944 else
5945 result=$wxUSE_CONSOLE_EVENTLOOP
5946 fi
5947
5948 { echo "$as_me:$LINENO: result: $result" >&5
5949 echo "${ECHO_T}$result" >&6; }
5950
5951
5952 enablestring=
5953 defaultval=$wxUSE_ALL_FEATURES
5954 if test -z "$defaultval"; then
5955 if test x"$enablestring" = xdisable; then
5956 defaultval=yes
5957 else
5958 defaultval=no
5959 fi
5960 fi
5961
5962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5963 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5964 # Check whether --enable-epollloop was given.
5965 if test "${enable_epollloop+set}" = set; then
5966 enableval=$enable_epollloop;
5967 if test "$enableval" = yes; then
5968 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
5969 else
5970 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
5971 fi
5972
5973 else
5974
5975 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5976
5977 fi
5978
5979
5980 eval "$wx_cv_use_epollloop"
5981
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5984 result=no
5985 else
5986 result=yes
5987 fi
5988 else
5989 result=$wxUSE_EPOLL_DISPATCHER
5990 fi
5991
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5994
5995
5996 enablestring=
5997 defaultval=$wxUSE_ALL_FEATURES
5998 if test -z "$defaultval"; then
5999 if test x"$enablestring" = xdisable; then
6000 defaultval=yes
6001 else
6002 defaultval=no
6003 fi
6004 fi
6005
6006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6007 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6008 # Check whether --enable-selectloop was given.
6009 if test "${enable_selectloop+set}" = set; then
6010 enableval=$enable_selectloop;
6011 if test "$enableval" = yes; then
6012 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6013 else
6014 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6015 fi
6016
6017 else
6018
6019 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6020
6021 fi
6022
6023
6024 eval "$wx_cv_use_selectloop"
6025
6026 if test x"$enablestring" = xdisable; then
6027 if test $wxUSE_SELECT_DISPATCHER = yes; then
6028 result=no
6029 else
6030 result=yes
6031 fi
6032 else
6033 result=$wxUSE_SELECT_DISPATCHER
6034 fi
6035
6036 { echo "$as_me:$LINENO: result: $result" >&5
6037 echo "${ECHO_T}$result" >&6; }
6038
6039
6040
6041 enablestring=
6042 defaultval=$wxUSE_ALL_FEATURES
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6045 defaultval=yes
6046 else
6047 defaultval=no
6048 fi
6049 fi
6050
6051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6053 # Check whether --enable-apple_ieee was given.
6054 if test "${enable_apple_ieee+set}" = set; then
6055 enableval=$enable_apple_ieee;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6058 else
6059 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6060 fi
6061
6062 else
6063
6064 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6065
6066 fi
6067
6068
6069 eval "$wx_cv_use_apple_ieee"
6070
6071 if test x"$enablestring" = xdisable; then
6072 if test $wxUSE_APPLE_IEEE = yes; then
6073 result=no
6074 else
6075 result=yes
6076 fi
6077 else
6078 result=$wxUSE_APPLE_IEEE
6079 fi
6080
6081 { echo "$as_me:$LINENO: result: $result" >&5
6082 echo "${ECHO_T}$result" >&6; }
6083
6084
6085 enablestring=
6086 defaultval=$wxUSE_ALL_FEATURES
6087 if test -z "$defaultval"; then
6088 if test x"$enablestring" = xdisable; then
6089 defaultval=yes
6090 else
6091 defaultval=no
6092 fi
6093 fi
6094
6095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6097 # Check whether --enable-arcstream was given.
6098 if test "${enable_arcstream+set}" = set; then
6099 enableval=$enable_arcstream;
6100 if test "$enableval" = yes; then
6101 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6102 else
6103 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6104 fi
6105
6106 else
6107
6108 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6109
6110 fi
6111
6112
6113 eval "$wx_cv_use_arcstream"
6114
6115 if test x"$enablestring" = xdisable; then
6116 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6117 result=no
6118 else
6119 result=yes
6120 fi
6121 else
6122 result=$wxUSE_ARCHIVE_STREAMS
6123 fi
6124
6125 { echo "$as_me:$LINENO: result: $result" >&5
6126 echo "${ECHO_T}$result" >&6; }
6127
6128
6129 enablestring=
6130 defaultval=$wxUSE_ALL_FEATURES
6131 if test -z "$defaultval"; then
6132 if test x"$enablestring" = xdisable; then
6133 defaultval=yes
6134 else
6135 defaultval=no
6136 fi
6137 fi
6138
6139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6140 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6141 # Check whether --enable-base64 was given.
6142 if test "${enable_base64+set}" = set; then
6143 enableval=$enable_base64;
6144 if test "$enableval" = yes; then
6145 wx_cv_use_base64='wxUSE_BASE64=yes'
6146 else
6147 wx_cv_use_base64='wxUSE_BASE64=no'
6148 fi
6149
6150 else
6151
6152 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6153
6154 fi
6155
6156
6157 eval "$wx_cv_use_base64"
6158
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_BASE64 = yes; then
6161 result=no
6162 else
6163 result=yes
6164 fi
6165 else
6166 result=$wxUSE_BASE64
6167 fi
6168
6169 { echo "$as_me:$LINENO: result: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6171
6172
6173 enablestring=
6174 defaultval=$wxUSE_ALL_FEATURES
6175 if test -z "$defaultval"; then
6176 if test x"$enablestring" = xdisable; then
6177 defaultval=yes
6178 else
6179 defaultval=no
6180 fi
6181 fi
6182
6183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6184 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6185 # Check whether --enable-backtrace was given.
6186 if test "${enable_backtrace+set}" = set; then
6187 enableval=$enable_backtrace;
6188 if test "$enableval" = yes; then
6189 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6190 else
6191 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6192 fi
6193
6194 else
6195
6196 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6197
6198 fi
6199
6200
6201 eval "$wx_cv_use_backtrace"
6202
6203 if test x"$enablestring" = xdisable; then
6204 if test $wxUSE_STACKWALKER = yes; then
6205 result=no
6206 else
6207 result=yes
6208 fi
6209 else
6210 result=$wxUSE_STACKWALKER
6211 fi
6212
6213 { echo "$as_me:$LINENO: result: $result" >&5
6214 echo "${ECHO_T}$result" >&6; }
6215
6216
6217 enablestring=
6218 defaultval=$wxUSE_ALL_FEATURES
6219 if test -z "$defaultval"; then
6220 if test x"$enablestring" = xdisable; then
6221 defaultval=yes
6222 else
6223 defaultval=no
6224 fi
6225 fi
6226
6227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6228 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6229 # Check whether --enable-catch_segvs was given.
6230 if test "${enable_catch_segvs+set}" = set; then
6231 enableval=$enable_catch_segvs;
6232 if test "$enableval" = yes; then
6233 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6234 else
6235 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6236 fi
6237
6238 else
6239
6240 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6241
6242 fi
6243
6244
6245 eval "$wx_cv_use_catch_segvs"
6246
6247 if test x"$enablestring" = xdisable; then
6248 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6249 result=no
6250 else
6251 result=yes
6252 fi
6253 else
6254 result=$wxUSE_ON_FATAL_EXCEPTION
6255 fi
6256
6257 { echo "$as_me:$LINENO: result: $result" >&5
6258 echo "${ECHO_T}$result" >&6; }
6259
6260
6261 enablestring=
6262 defaultval=$wxUSE_ALL_FEATURES
6263 if test -z "$defaultval"; then
6264 if test x"$enablestring" = xdisable; then
6265 defaultval=yes
6266 else
6267 defaultval=no
6268 fi
6269 fi
6270
6271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6272 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6273 # Check whether --enable-cmdline was given.
6274 if test "${enable_cmdline+set}" = set; then
6275 enableval=$enable_cmdline;
6276 if test "$enableval" = yes; then
6277 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6278 else
6279 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6280 fi
6281
6282 else
6283
6284 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6285
6286 fi
6287
6288
6289 eval "$wx_cv_use_cmdline"
6290
6291 if test x"$enablestring" = xdisable; then
6292 if test $wxUSE_CMDLINE_PARSER = yes; then
6293 result=no
6294 else
6295 result=yes
6296 fi
6297 else
6298 result=$wxUSE_CMDLINE_PARSER
6299 fi
6300
6301 { echo "$as_me:$LINENO: result: $result" >&5
6302 echo "${ECHO_T}$result" >&6; }
6303
6304
6305 enablestring=
6306 defaultval=$wxUSE_ALL_FEATURES
6307 if test -z "$defaultval"; then
6308 if test x"$enablestring" = xdisable; then
6309 defaultval=yes
6310 else
6311 defaultval=no
6312 fi
6313 fi
6314
6315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6316 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6317 # Check whether --enable-datetime was given.
6318 if test "${enable_datetime+set}" = set; then
6319 enableval=$enable_datetime;
6320 if test "$enableval" = yes; then
6321 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6322 else
6323 wx_cv_use_datetime='wxUSE_DATETIME=no'
6324 fi
6325
6326 else
6327
6328 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6329
6330 fi
6331
6332
6333 eval "$wx_cv_use_datetime"
6334
6335 if test x"$enablestring" = xdisable; then
6336 if test $wxUSE_DATETIME = yes; then
6337 result=no
6338 else
6339 result=yes
6340 fi
6341 else
6342 result=$wxUSE_DATETIME
6343 fi
6344
6345 { echo "$as_me:$LINENO: result: $result" >&5
6346 echo "${ECHO_T}$result" >&6; }
6347
6348
6349 enablestring=
6350 defaultval=$wxUSE_ALL_FEATURES
6351 if test -z "$defaultval"; then
6352 if test x"$enablestring" = xdisable; then
6353 defaultval=yes
6354 else
6355 defaultval=no
6356 fi
6357 fi
6358
6359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6361 # Check whether --enable-debugreport was given.
6362 if test "${enable_debugreport+set}" = set; then
6363 enableval=$enable_debugreport;
6364 if test "$enableval" = yes; then
6365 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6366 else
6367 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6368 fi
6369
6370 else
6371
6372 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6373
6374 fi
6375
6376
6377 eval "$wx_cv_use_debugreport"
6378
6379 if test x"$enablestring" = xdisable; then
6380 if test $wxUSE_DEBUGREPORT = yes; then
6381 result=no
6382 else
6383 result=yes
6384 fi
6385 else
6386 result=$wxUSE_DEBUGREPORT
6387 fi
6388
6389 { echo "$as_me:$LINENO: result: $result" >&5
6390 echo "${ECHO_T}$result" >&6; }
6391
6392
6393 enablestring=
6394 defaultval=$wxUSE_ALL_FEATURES
6395 if test -z "$defaultval"; then
6396 if test x"$enablestring" = xdisable; then
6397 defaultval=yes
6398 else
6399 defaultval=no
6400 fi
6401 fi
6402
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6405 # Check whether --enable-dialupman was given.
6406 if test "${enable_dialupman+set}" = set; then
6407 enableval=$enable_dialupman;
6408 if test "$enableval" = yes; then
6409 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6410 else
6411 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6412 fi
6413
6414 else
6415
6416 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6417
6418 fi
6419
6420
6421 eval "$wx_cv_use_dialupman"
6422
6423 if test x"$enablestring" = xdisable; then
6424 if test $wxUSE_DIALUP_MANAGER = yes; then
6425 result=no
6426 else
6427 result=yes
6428 fi
6429 else
6430 result=$wxUSE_DIALUP_MANAGER
6431 fi
6432
6433 { echo "$as_me:$LINENO: result: $result" >&5
6434 echo "${ECHO_T}$result" >&6; }
6435
6436
6437 enablestring=
6438 defaultval=$wxUSE_ALL_FEATURES
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6441 defaultval=yes
6442 else
6443 defaultval=no
6444 fi
6445 fi
6446
6447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6449 # Check whether --enable-dynlib was given.
6450 if test "${enable_dynlib+set}" = set; then
6451 enableval=$enable_dynlib;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6454 else
6455 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6456 fi
6457
6458 else
6459
6460 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6461
6462 fi
6463
6464
6465 eval "$wx_cv_use_dynlib"
6466
6467 if test x"$enablestring" = xdisable; then
6468 if test $wxUSE_DYNLIB_CLASS = yes; then
6469 result=no
6470 else
6471 result=yes
6472 fi
6473 else
6474 result=$wxUSE_DYNLIB_CLASS
6475 fi
6476
6477 { echo "$as_me:$LINENO: result: $result" >&5
6478 echo "${ECHO_T}$result" >&6; }
6479
6480
6481 enablestring=
6482 defaultval=$wxUSE_ALL_FEATURES
6483 if test -z "$defaultval"; then
6484 if test x"$enablestring" = xdisable; then
6485 defaultval=yes
6486 else
6487 defaultval=no
6488 fi
6489 fi
6490
6491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6493 # Check whether --enable-dynamicloader was given.
6494 if test "${enable_dynamicloader+set}" = set; then
6495 enableval=$enable_dynamicloader;
6496 if test "$enableval" = yes; then
6497 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6498 else
6499 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6500 fi
6501
6502 else
6503
6504 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6505
6506 fi
6507
6508
6509 eval "$wx_cv_use_dynamicloader"
6510
6511 if test x"$enablestring" = xdisable; then
6512 if test $wxUSE_DYNAMIC_LOADER = yes; then
6513 result=no
6514 else
6515 result=yes
6516 fi
6517 else
6518 result=$wxUSE_DYNAMIC_LOADER
6519 fi
6520
6521 { echo "$as_me:$LINENO: result: $result" >&5
6522 echo "${ECHO_T}$result" >&6; }
6523
6524
6525 enablestring=
6526 defaultval=$wxUSE_ALL_FEATURES
6527 if test -z "$defaultval"; then
6528 if test x"$enablestring" = xdisable; then
6529 defaultval=yes
6530 else
6531 defaultval=no
6532 fi
6533 fi
6534
6535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6536 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6537 # Check whether --enable-exceptions was given.
6538 if test "${enable_exceptions+set}" = set; then
6539 enableval=$enable_exceptions;
6540 if test "$enableval" = yes; then
6541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6542 else
6543 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6544 fi
6545
6546 else
6547
6548 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6549
6550 fi
6551
6552
6553 eval "$wx_cv_use_exceptions"
6554
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_EXCEPTIONS = yes; then
6557 result=no
6558 else
6559 result=yes
6560 fi
6561 else
6562 result=$wxUSE_EXCEPTIONS
6563 fi
6564
6565 { echo "$as_me:$LINENO: result: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6567
6568
6569 enablestring=
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6573 defaultval=yes
6574 else
6575 defaultval=no
6576 fi
6577 fi
6578
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6581 # Check whether --enable-ffile was given.
6582 if test "${enable_ffile+set}" = set; then
6583 enableval=$enable_ffile;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ffile='wxUSE_FFILE=yes'
6586 else
6587 wx_cv_use_ffile='wxUSE_FFILE=no'
6588 fi
6589
6590 else
6591
6592 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6593
6594 fi
6595
6596
6597 eval "$wx_cv_use_ffile"
6598
6599 if test x"$enablestring" = xdisable; then
6600 if test $wxUSE_FFILE = yes; then
6601 result=no
6602 else
6603 result=yes
6604 fi
6605 else
6606 result=$wxUSE_FFILE
6607 fi
6608
6609 { echo "$as_me:$LINENO: result: $result" >&5
6610 echo "${ECHO_T}$result" >&6; }
6611
6612
6613 enablestring=
6614 defaultval=$wxUSE_ALL_FEATURES
6615 if test -z "$defaultval"; then
6616 if test x"$enablestring" = xdisable; then
6617 defaultval=yes
6618 else
6619 defaultval=no
6620 fi
6621 fi
6622
6623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6625 # Check whether --enable-file was given.
6626 if test "${enable_file+set}" = set; then
6627 enableval=$enable_file;
6628 if test "$enableval" = yes; then
6629 wx_cv_use_file='wxUSE_FILE=yes'
6630 else
6631 wx_cv_use_file='wxUSE_FILE=no'
6632 fi
6633
6634 else
6635
6636 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6637
6638 fi
6639
6640
6641 eval "$wx_cv_use_file"
6642
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_FILE = yes; then
6645 result=no
6646 else
6647 result=yes
6648 fi
6649 else
6650 result=$wxUSE_FILE
6651 fi
6652
6653 { echo "$as_me:$LINENO: result: $result" >&5
6654 echo "${ECHO_T}$result" >&6; }
6655
6656
6657 enablestring=
6658 defaultval=$wxUSE_ALL_FEATURES
6659 if test -z "$defaultval"; then
6660 if test x"$enablestring" = xdisable; then
6661 defaultval=yes
6662 else
6663 defaultval=no
6664 fi
6665 fi
6666
6667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6669 # Check whether --enable-filesystem was given.
6670 if test "${enable_filesystem+set}" = set; then
6671 enableval=$enable_filesystem;
6672 if test "$enableval" = yes; then
6673 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6674 else
6675 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6676 fi
6677
6678 else
6679
6680 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6681
6682 fi
6683
6684
6685 eval "$wx_cv_use_filesystem"
6686
6687 if test x"$enablestring" = xdisable; then
6688 if test $wxUSE_FILESYSTEM = yes; then
6689 result=no
6690 else
6691 result=yes
6692 fi
6693 else
6694 result=$wxUSE_FILESYSTEM
6695 fi
6696
6697 { echo "$as_me:$LINENO: result: $result" >&5
6698 echo "${ECHO_T}$result" >&6; }
6699
6700
6701 enablestring=
6702 defaultval=$wxUSE_ALL_FEATURES
6703 if test -z "$defaultval"; then
6704 if test x"$enablestring" = xdisable; then
6705 defaultval=yes
6706 else
6707 defaultval=no
6708 fi
6709 fi
6710
6711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6712 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6713 # Check whether --enable-fontenum was given.
6714 if test "${enable_fontenum+set}" = set; then
6715 enableval=$enable_fontenum;
6716 if test "$enableval" = yes; then
6717 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6718 else
6719 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6720 fi
6721
6722 else
6723
6724 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6725
6726 fi
6727
6728
6729 eval "$wx_cv_use_fontenum"
6730
6731 if test x"$enablestring" = xdisable; then
6732 if test $wxUSE_FONTENUM = yes; then
6733 result=no
6734 else
6735 result=yes
6736 fi
6737 else
6738 result=$wxUSE_FONTENUM
6739 fi
6740
6741 { echo "$as_me:$LINENO: result: $result" >&5
6742 echo "${ECHO_T}$result" >&6; }
6743
6744
6745 enablestring=
6746 defaultval=$wxUSE_ALL_FEATURES
6747 if test -z "$defaultval"; then
6748 if test x"$enablestring" = xdisable; then
6749 defaultval=yes
6750 else
6751 defaultval=no
6752 fi
6753 fi
6754
6755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6757 # Check whether --enable-fontmap was given.
6758 if test "${enable_fontmap+set}" = set; then
6759 enableval=$enable_fontmap;
6760 if test "$enableval" = yes; then
6761 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6762 else
6763 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6764 fi
6765
6766 else
6767
6768 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6769
6770 fi
6771
6772
6773 eval "$wx_cv_use_fontmap"
6774
6775 if test x"$enablestring" = xdisable; then
6776 if test $wxUSE_FONTMAP = yes; then
6777 result=no
6778 else
6779 result=yes
6780 fi
6781 else
6782 result=$wxUSE_FONTMAP
6783 fi
6784
6785 { echo "$as_me:$LINENO: result: $result" >&5
6786 echo "${ECHO_T}$result" >&6; }
6787
6788
6789 enablestring=
6790 defaultval=$wxUSE_ALL_FEATURES
6791 if test -z "$defaultval"; then
6792 if test x"$enablestring" = xdisable; then
6793 defaultval=yes
6794 else
6795 defaultval=no
6796 fi
6797 fi
6798
6799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6801 # Check whether --enable-fs_archive was given.
6802 if test "${enable_fs_archive+set}" = set; then
6803 enableval=$enable_fs_archive;
6804 if test "$enableval" = yes; then
6805 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6806 else
6807 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6808 fi
6809
6810 else
6811
6812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6813
6814 fi
6815
6816
6817 eval "$wx_cv_use_fs_archive"
6818
6819 if test x"$enablestring" = xdisable; then
6820 if test $wxUSE_FS_ARCHIVE = yes; then
6821 result=no
6822 else
6823 result=yes
6824 fi
6825 else
6826 result=$wxUSE_FS_ARCHIVE
6827 fi
6828
6829 { echo "$as_me:$LINENO: result: $result" >&5
6830 echo "${ECHO_T}$result" >&6; }
6831
6832
6833 enablestring=
6834 defaultval=$wxUSE_ALL_FEATURES
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6837 defaultval=yes
6838 else
6839 defaultval=no
6840 fi
6841 fi
6842
6843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6845 # Check whether --enable-fs_inet was given.
6846 if test "${enable_fs_inet+set}" = set; then
6847 enableval=$enable_fs_inet;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6850 else
6851 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6852 fi
6853
6854 else
6855
6856 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6857
6858 fi
6859
6860
6861 eval "$wx_cv_use_fs_inet"
6862
6863 if test x"$enablestring" = xdisable; then
6864 if test $wxUSE_FS_INET = yes; then
6865 result=no
6866 else
6867 result=yes
6868 fi
6869 else
6870 result=$wxUSE_FS_INET
6871 fi
6872
6873 { echo "$as_me:$LINENO: result: $result" >&5
6874 echo "${ECHO_T}$result" >&6; }
6875
6876
6877 enablestring=
6878 defaultval=$wxUSE_ALL_FEATURES
6879 if test -z "$defaultval"; then
6880 if test x"$enablestring" = xdisable; then
6881 defaultval=yes
6882 else
6883 defaultval=no
6884 fi
6885 fi
6886
6887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6888 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6889 # Check whether --enable-fs_zip was given.
6890 if test "${enable_fs_zip+set}" = set; then
6891 enableval=$enable_fs_zip;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6894 else
6895 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6896 fi
6897
6898 else
6899
6900 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6901
6902 fi
6903
6904
6905 eval "$wx_cv_use_fs_zip"
6906
6907 if test x"$enablestring" = xdisable; then
6908 if test $wxUSE_FS_ZIP = yes; then
6909 result=no
6910 else
6911 result=yes
6912 fi
6913 else
6914 result=$wxUSE_FS_ZIP
6915 fi
6916
6917 { echo "$as_me:$LINENO: result: $result" >&5
6918 echo "${ECHO_T}$result" >&6; }
6919
6920
6921 enablestring=
6922 defaultval=$wxUSE_ALL_FEATURES
6923 if test -z "$defaultval"; then
6924 if test x"$enablestring" = xdisable; then
6925 defaultval=yes
6926 else
6927 defaultval=no
6928 fi
6929 fi
6930
6931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6932 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6933 # Check whether --enable-geometry was given.
6934 if test "${enable_geometry+set}" = set; then
6935 enableval=$enable_geometry;
6936 if test "$enableval" = yes; then
6937 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
6938 else
6939 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
6940 fi
6941
6942 else
6943
6944 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6945
6946 fi
6947
6948
6949 eval "$wx_cv_use_geometry"
6950
6951 if test x"$enablestring" = xdisable; then
6952 if test $wxUSE_GEOMETRY = yes; then
6953 result=no
6954 else
6955 result=yes
6956 fi
6957 else
6958 result=$wxUSE_GEOMETRY
6959 fi
6960
6961 { echo "$as_me:$LINENO: result: $result" >&5
6962 echo "${ECHO_T}$result" >&6; }
6963
6964
6965 enablestring=
6966 defaultval=$wxUSE_ALL_FEATURES
6967 if test -z "$defaultval"; then
6968 if test x"$enablestring" = xdisable; then
6969 defaultval=yes
6970 else
6971 defaultval=no
6972 fi
6973 fi
6974
6975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6976 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6977 # Check whether --enable-log was given.
6978 if test "${enable_log+set}" = set; then
6979 enableval=$enable_log;
6980 if test "$enableval" = yes; then
6981 wx_cv_use_log='wxUSE_LOG=yes'
6982 else
6983 wx_cv_use_log='wxUSE_LOG=no'
6984 fi
6985
6986 else
6987
6988 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6989
6990 fi
6991
6992
6993 eval "$wx_cv_use_log"
6994
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_LOG = yes; then
6997 result=no
6998 else
6999 result=yes
7000 fi
7001 else
7002 result=$wxUSE_LOG
7003 fi
7004
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7007
7008
7009 enablestring=
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7013 defaultval=yes
7014 else
7015 defaultval=no
7016 fi
7017 fi
7018
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7021 # Check whether --enable-longlong was given.
7022 if test "${enable_longlong+set}" = set; then
7023 enableval=$enable_longlong;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7026 else
7027 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7028 fi
7029
7030 else
7031
7032 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7033
7034 fi
7035
7036
7037 eval "$wx_cv_use_longlong"
7038
7039 if test x"$enablestring" = xdisable; then
7040 if test $wxUSE_LONGLONG = yes; then
7041 result=no
7042 else
7043 result=yes
7044 fi
7045 else
7046 result=$wxUSE_LONGLONG
7047 fi
7048
7049 { echo "$as_me:$LINENO: result: $result" >&5
7050 echo "${ECHO_T}$result" >&6; }
7051
7052
7053 enablestring=
7054 defaultval=$wxUSE_ALL_FEATURES
7055 if test -z "$defaultval"; then
7056 if test x"$enablestring" = xdisable; then
7057 defaultval=yes
7058 else
7059 defaultval=no
7060 fi
7061 fi
7062
7063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7064 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7065 # Check whether --enable-mimetype was given.
7066 if test "${enable_mimetype+set}" = set; then
7067 enableval=$enable_mimetype;
7068 if test "$enableval" = yes; then
7069 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7070 else
7071 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7072 fi
7073
7074 else
7075
7076 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7077
7078 fi
7079
7080
7081 eval "$wx_cv_use_mimetype"
7082
7083 if test x"$enablestring" = xdisable; then
7084 if test $wxUSE_MIMETYPE = yes; then
7085 result=no
7086 else
7087 result=yes
7088 fi
7089 else
7090 result=$wxUSE_MIMETYPE
7091 fi
7092
7093 { echo "$as_me:$LINENO: result: $result" >&5
7094 echo "${ECHO_T}$result" >&6; }
7095
7096
7097 enablestring=
7098 defaultval=$wxUSE_ALL_FEATURES
7099 if test -z "$defaultval"; then
7100 if test x"$enablestring" = xdisable; then
7101 defaultval=yes
7102 else
7103 defaultval=no
7104 fi
7105 fi
7106
7107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7108 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7109 # Check whether --enable-snglinst was given.
7110 if test "${enable_snglinst+set}" = set; then
7111 enableval=$enable_snglinst;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7114 else
7115 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7116 fi
7117
7118 else
7119
7120 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7121
7122 fi
7123
7124
7125 eval "$wx_cv_use_snglinst"
7126
7127 if test x"$enablestring" = xdisable; then
7128 if test $wxUSE_SNGLINST_CHECKER = yes; then
7129 result=no
7130 else
7131 result=yes
7132 fi
7133 else
7134 result=$wxUSE_SNGLINST_CHECKER
7135 fi
7136
7137 { echo "$as_me:$LINENO: result: $result" >&5
7138 echo "${ECHO_T}$result" >&6; }
7139
7140
7141 enablestring=
7142 defaultval=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x"$enablestring" = xdisable; then
7145 defaultval=yes
7146 else
7147 defaultval=no
7148 fi
7149 fi
7150
7151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7152 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7153 # Check whether --enable-stdpaths was given.
7154 if test "${enable_stdpaths+set}" = set; then
7155 enableval=$enable_stdpaths;
7156 if test "$enableval" = yes; then
7157 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7158 else
7159 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7160 fi
7161
7162 else
7163
7164 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7165
7166 fi
7167
7168
7169 eval "$wx_cv_use_stdpaths"
7170
7171 if test x"$enablestring" = xdisable; then
7172 if test $wxUSE_STDPATHS = yes; then
7173 result=no
7174 else
7175 result=yes
7176 fi
7177 else
7178 result=$wxUSE_STDPATHS
7179 fi
7180
7181 { echo "$as_me:$LINENO: result: $result" >&5
7182 echo "${ECHO_T}$result" >&6; }
7183
7184
7185 enablestring=
7186 defaultval=$wxUSE_ALL_FEATURES
7187 if test -z "$defaultval"; then
7188 if test x"$enablestring" = xdisable; then
7189 defaultval=yes
7190 else
7191 defaultval=no
7192 fi
7193 fi
7194
7195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7196 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7197 # Check whether --enable-stopwatch was given.
7198 if test "${enable_stopwatch+set}" = set; then
7199 enableval=$enable_stopwatch;
7200 if test "$enableval" = yes; then
7201 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7202 else
7203 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7204 fi
7205
7206 else
7207
7208 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7209
7210 fi
7211
7212
7213 eval "$wx_cv_use_stopwatch"
7214
7215 if test x"$enablestring" = xdisable; then
7216 if test $wxUSE_STOPWATCH = yes; then
7217 result=no
7218 else
7219 result=yes
7220 fi
7221 else
7222 result=$wxUSE_STOPWATCH
7223 fi
7224
7225 { echo "$as_me:$LINENO: result: $result" >&5
7226 echo "${ECHO_T}$result" >&6; }
7227
7228
7229 enablestring=
7230 defaultval=$wxUSE_ALL_FEATURES
7231 if test -z "$defaultval"; then
7232 if test x"$enablestring" = xdisable; then
7233 defaultval=yes
7234 else
7235 defaultval=no
7236 fi
7237 fi
7238
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7241 # Check whether --enable-streams was given.
7242 if test "${enable_streams+set}" = set; then
7243 enableval=$enable_streams;
7244 if test "$enableval" = yes; then
7245 wx_cv_use_streams='wxUSE_STREAMS=yes'
7246 else
7247 wx_cv_use_streams='wxUSE_STREAMS=no'
7248 fi
7249
7250 else
7251
7252 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7253
7254 fi
7255
7256
7257 eval "$wx_cv_use_streams"
7258
7259 if test x"$enablestring" = xdisable; then
7260 if test $wxUSE_STREAMS = yes; then
7261 result=no
7262 else
7263 result=yes
7264 fi
7265 else
7266 result=$wxUSE_STREAMS
7267 fi
7268
7269 { echo "$as_me:$LINENO: result: $result" >&5
7270 echo "${ECHO_T}$result" >&6; }
7271
7272
7273 enablestring=
7274 defaultval=$wxUSE_ALL_FEATURES
7275 if test -z "$defaultval"; then
7276 if test x"$enablestring" = xdisable; then
7277 defaultval=yes
7278 else
7279 defaultval=no
7280 fi
7281 fi
7282
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7285 # Check whether --enable-system_options was given.
7286 if test "${enable_system_options+set}" = set; then
7287 enableval=$enable_system_options;
7288 if test "$enableval" = yes; then
7289 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7290 else
7291 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7292 fi
7293
7294 else
7295
7296 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7297
7298 fi
7299
7300
7301 eval "$wx_cv_use_system_options"
7302
7303 if test x"$enablestring" = xdisable; then
7304 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7305 result=no
7306 else
7307 result=yes
7308 fi
7309 else
7310 result=$wxUSE_SYSTEM_OPTIONS
7311 fi
7312
7313 { echo "$as_me:$LINENO: result: $result" >&5
7314 echo "${ECHO_T}$result" >&6; }
7315
7316
7317 enablestring=
7318 defaultval=$wxUSE_ALL_FEATURES
7319 if test -z "$defaultval"; then
7320 if test x"$enablestring" = xdisable; then
7321 defaultval=yes
7322 else
7323 defaultval=no
7324 fi
7325 fi
7326
7327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7329 # Check whether --enable-tarstream was given.
7330 if test "${enable_tarstream+set}" = set; then
7331 enableval=$enable_tarstream;
7332 if test "$enableval" = yes; then
7333 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7334 else
7335 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7336 fi
7337
7338 else
7339
7340 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7341
7342 fi
7343
7344
7345 eval "$wx_cv_use_tarstream"
7346
7347 if test x"$enablestring" = xdisable; then
7348 if test $wxUSE_TARSTREAM = yes; then
7349 result=no
7350 else
7351 result=yes
7352 fi
7353 else
7354 result=$wxUSE_TARSTREAM
7355 fi
7356
7357 { echo "$as_me:$LINENO: result: $result" >&5
7358 echo "${ECHO_T}$result" >&6; }
7359
7360
7361 enablestring=
7362 defaultval=$wxUSE_ALL_FEATURES
7363 if test -z "$defaultval"; then
7364 if test x"$enablestring" = xdisable; then
7365 defaultval=yes
7366 else
7367 defaultval=no
7368 fi
7369 fi
7370
7371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7372 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7373 # Check whether --enable-textbuf was given.
7374 if test "${enable_textbuf+set}" = set; then
7375 enableval=$enable_textbuf;
7376 if test "$enableval" = yes; then
7377 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7378 else
7379 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7380 fi
7381
7382 else
7383
7384 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7385
7386 fi
7387
7388
7389 eval "$wx_cv_use_textbuf"
7390
7391 if test x"$enablestring" = xdisable; then
7392 if test $wxUSE_TEXTBUFFER = yes; then
7393 result=no
7394 else
7395 result=yes
7396 fi
7397 else
7398 result=$wxUSE_TEXTBUFFER
7399 fi
7400
7401 { echo "$as_me:$LINENO: result: $result" >&5
7402 echo "${ECHO_T}$result" >&6; }
7403
7404
7405 enablestring=
7406 defaultval=$wxUSE_ALL_FEATURES
7407 if test -z "$defaultval"; then
7408 if test x"$enablestring" = xdisable; then
7409 defaultval=yes
7410 else
7411 defaultval=no
7412 fi
7413 fi
7414
7415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7417 # Check whether --enable-textfile was given.
7418 if test "${enable_textfile+set}" = set; then
7419 enableval=$enable_textfile;
7420 if test "$enableval" = yes; then
7421 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7422 else
7423 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7424 fi
7425
7426 else
7427
7428 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7429
7430 fi
7431
7432
7433 eval "$wx_cv_use_textfile"
7434
7435 if test x"$enablestring" = xdisable; then
7436 if test $wxUSE_TEXTFILE = yes; then
7437 result=no
7438 else
7439 result=yes
7440 fi
7441 else
7442 result=$wxUSE_TEXTFILE
7443 fi
7444
7445 { echo "$as_me:$LINENO: result: $result" >&5
7446 echo "${ECHO_T}$result" >&6; }
7447
7448
7449 enablestring=
7450 defaultval=$wxUSE_ALL_FEATURES
7451 if test -z "$defaultval"; then
7452 if test x"$enablestring" = xdisable; then
7453 defaultval=yes
7454 else
7455 defaultval=no
7456 fi
7457 fi
7458
7459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7461 # Check whether --enable-timer was given.
7462 if test "${enable_timer+set}" = set; then
7463 enableval=$enable_timer;
7464 if test "$enableval" = yes; then
7465 wx_cv_use_timer='wxUSE_TIMER=yes'
7466 else
7467 wx_cv_use_timer='wxUSE_TIMER=no'
7468 fi
7469
7470 else
7471
7472 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7473
7474 fi
7475
7476
7477 eval "$wx_cv_use_timer"
7478
7479 if test x"$enablestring" = xdisable; then
7480 if test $wxUSE_TIMER = yes; then
7481 result=no
7482 else
7483 result=yes
7484 fi
7485 else
7486 result=$wxUSE_TIMER
7487 fi
7488
7489 { echo "$as_me:$LINENO: result: $result" >&5
7490 echo "${ECHO_T}$result" >&6; }
7491
7492
7493 enablestring=
7494 defaultval=$wxUSE_ALL_FEATURES
7495 if test -z "$defaultval"; then
7496 if test x"$enablestring" = xdisable; then
7497 defaultval=yes
7498 else
7499 defaultval=no
7500 fi
7501 fi
7502
7503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7505 # Check whether --enable-sound was given.
7506 if test "${enable_sound+set}" = set; then
7507 enableval=$enable_sound;
7508 if test "$enableval" = yes; then
7509 wx_cv_use_sound='wxUSE_SOUND=yes'
7510 else
7511 wx_cv_use_sound='wxUSE_SOUND=no'
7512 fi
7513
7514 else
7515
7516 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7517
7518 fi
7519
7520
7521 eval "$wx_cv_use_sound"
7522
7523 if test x"$enablestring" = xdisable; then
7524 if test $wxUSE_SOUND = yes; then
7525 result=no
7526 else
7527 result=yes
7528 fi
7529 else
7530 result=$wxUSE_SOUND
7531 fi
7532
7533 { echo "$as_me:$LINENO: result: $result" >&5
7534 echo "${ECHO_T}$result" >&6; }
7535
7536
7537 enablestring=
7538 defaultval=$wxUSE_ALL_FEATURES
7539 if test -z "$defaultval"; then
7540 if test x"$enablestring" = xdisable; then
7541 defaultval=yes
7542 else
7543 defaultval=no
7544 fi
7545 fi
7546
7547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7549 # Check whether --enable-mediactrl was given.
7550 if test "${enable_mediactrl+set}" = set; then
7551 enableval=$enable_mediactrl;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7554 else
7555 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7556 fi
7557
7558 else
7559
7560 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7561
7562 fi
7563
7564
7565 eval "$wx_cv_use_mediactrl"
7566
7567 if test x"$enablestring" = xdisable; then
7568 if test $wxUSE_MEDIACTRL = yes; then
7569 result=no
7570 else
7571 result=yes
7572 fi
7573 else
7574 result=$wxUSE_MEDIACTRL
7575 fi
7576
7577 { echo "$as_me:$LINENO: result: $result" >&5
7578 echo "${ECHO_T}$result" >&6; }
7579
7580
7581 enablestring=
7582 defaultval=$wxUSE_ALL_FEATURES
7583 if test -z "$defaultval"; then
7584 if test x"$enablestring" = xdisable; then
7585 defaultval=yes
7586 else
7587 defaultval=no
7588 fi
7589 fi
7590
7591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7593 # Check whether --enable-gstreamer8 was given.
7594 if test "${enable_gstreamer8+set}" = set; then
7595 enableval=$enable_gstreamer8;
7596 if test "$enableval" = yes; then
7597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7598 else
7599 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7600 fi
7601
7602 else
7603
7604 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7605
7606 fi
7607
7608
7609 eval "$wx_cv_use_gstreamer8"
7610
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_GSTREAMER8 = yes; then
7613 result=no
7614 else
7615 result=yes
7616 fi
7617 else
7618 result=$wxUSE_GSTREAMER8
7619 fi
7620
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7623
7624
7625 enablestring=
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7629 defaultval=yes
7630 else
7631 defaultval=no
7632 fi
7633 fi
7634
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7637 # Check whether --enable-printfposparam was given.
7638 if test "${enable_printfposparam+set}" = set; then
7639 enableval=$enable_printfposparam;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7642 else
7643 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7644 fi
7645
7646 else
7647
7648 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7649
7650 fi
7651
7652
7653 eval "$wx_cv_use_printfposparam"
7654
7655 if test x"$enablestring" = xdisable; then
7656 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7657 result=no
7658 else
7659 result=yes
7660 fi
7661 else
7662 result=$wxUSE_PRINTF_POS_PARAMS
7663 fi
7664
7665 { echo "$as_me:$LINENO: result: $result" >&5
7666 echo "${ECHO_T}$result" >&6; }
7667
7668
7669 enablestring=
7670 defaultval=$wxUSE_ALL_FEATURES
7671 if test -z "$defaultval"; then
7672 if test x"$enablestring" = xdisable; then
7673 defaultval=yes
7674 else
7675 defaultval=no
7676 fi
7677 fi
7678
7679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7681 # Check whether --enable-zipstream was given.
7682 if test "${enable_zipstream+set}" = set; then
7683 enableval=$enable_zipstream;
7684 if test "$enableval" = yes; then
7685 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7686 else
7687 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7688 fi
7689
7690 else
7691
7692 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7693
7694 fi
7695
7696
7697 eval "$wx_cv_use_zipstream"
7698
7699 if test x"$enablestring" = xdisable; then
7700 if test $wxUSE_ZIPSTREAM = yes; then
7701 result=no
7702 else
7703 result=yes
7704 fi
7705 else
7706 result=$wxUSE_ZIPSTREAM
7707 fi
7708
7709 { echo "$as_me:$LINENO: result: $result" >&5
7710 echo "${ECHO_T}$result" >&6; }
7711
7712
7713
7714 enablestring=
7715 defaultval=$wxUSE_ALL_FEATURES
7716 if test -z "$defaultval"; then
7717 if test x"$enablestring" = xdisable; then
7718 defaultval=yes
7719 else
7720 defaultval=no
7721 fi
7722 fi
7723
7724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7726 # Check whether --enable-url was given.
7727 if test "${enable_url+set}" = set; then
7728 enableval=$enable_url;
7729 if test "$enableval" = yes; then
7730 wx_cv_use_url='wxUSE_URL=yes'
7731 else
7732 wx_cv_use_url='wxUSE_URL=no'
7733 fi
7734
7735 else
7736
7737 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7738
7739 fi
7740
7741
7742 eval "$wx_cv_use_url"
7743
7744 if test x"$enablestring" = xdisable; then
7745 if test $wxUSE_URL = yes; then
7746 result=no
7747 else
7748 result=yes
7749 fi
7750 else
7751 result=$wxUSE_URL
7752 fi
7753
7754 { echo "$as_me:$LINENO: result: $result" >&5
7755 echo "${ECHO_T}$result" >&6; }
7756
7757
7758 enablestring=
7759 defaultval=$wxUSE_ALL_FEATURES
7760 if test -z "$defaultval"; then
7761 if test x"$enablestring" = xdisable; then
7762 defaultval=yes
7763 else
7764 defaultval=no
7765 fi
7766 fi
7767
7768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7769 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7770 # Check whether --enable-variant was given.
7771 if test "${enable_variant+set}" = set; then
7772 enableval=$enable_variant;
7773 if test "$enableval" = yes; then
7774 wx_cv_use_variant='wxUSE_VARIANT=yes'
7775 else
7776 wx_cv_use_variant='wxUSE_VARIANT=no'
7777 fi
7778
7779 else
7780
7781 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7782
7783 fi
7784
7785
7786 eval "$wx_cv_use_variant"
7787
7788 if test x"$enablestring" = xdisable; then
7789 if test $wxUSE_VARIANT = yes; then
7790 result=no
7791 else
7792 result=yes
7793 fi
7794 else
7795 result=$wxUSE_VARIANT
7796 fi
7797
7798 { echo "$as_me:$LINENO: result: $result" >&5
7799 echo "${ECHO_T}$result" >&6; }
7800
7801
7802 enablestring=
7803 defaultval=$wxUSE_ALL_FEATURES
7804 if test -z "$defaultval"; then
7805 if test x"$enablestring" = xdisable; then
7806 defaultval=yes
7807 else
7808 defaultval=no
7809 fi
7810 fi
7811
7812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7814 # Check whether --enable-protocol was given.
7815 if test "${enable_protocol+set}" = set; then
7816 enableval=$enable_protocol;
7817 if test "$enableval" = yes; then
7818 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7819 else
7820 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7821 fi
7822
7823 else
7824
7825 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7826
7827 fi
7828
7829
7830 eval "$wx_cv_use_protocol"
7831
7832 if test x"$enablestring" = xdisable; then
7833 if test $wxUSE_PROTOCOL = yes; then
7834 result=no
7835 else
7836 result=yes
7837 fi
7838 else
7839 result=$wxUSE_PROTOCOL
7840 fi
7841
7842 { echo "$as_me:$LINENO: result: $result" >&5
7843 echo "${ECHO_T}$result" >&6; }
7844
7845
7846 enablestring=
7847 defaultval=$wxUSE_ALL_FEATURES
7848 if test -z "$defaultval"; then
7849 if test x"$enablestring" = xdisable; then
7850 defaultval=yes
7851 else
7852 defaultval=no
7853 fi
7854 fi
7855
7856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7857 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7858 # Check whether --enable-protocol_http was given.
7859 if test "${enable_protocol_http+set}" = set; then
7860 enableval=$enable_protocol_http;
7861 if test "$enableval" = yes; then
7862 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7863 else
7864 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7865 fi
7866
7867 else
7868
7869 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7870
7871 fi
7872
7873
7874 eval "$wx_cv_use_protocol_http"
7875
7876 if test x"$enablestring" = xdisable; then
7877 if test $wxUSE_PROTOCOL_HTTP = yes; then
7878 result=no
7879 else
7880 result=yes
7881 fi
7882 else
7883 result=$wxUSE_PROTOCOL_HTTP
7884 fi
7885
7886 { echo "$as_me:$LINENO: result: $result" >&5
7887 echo "${ECHO_T}$result" >&6; }
7888
7889
7890 enablestring=
7891 defaultval=$wxUSE_ALL_FEATURES
7892 if test -z "$defaultval"; then
7893 if test x"$enablestring" = xdisable; then
7894 defaultval=yes
7895 else
7896 defaultval=no
7897 fi
7898 fi
7899
7900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7901 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7902 # Check whether --enable-protocol_ftp was given.
7903 if test "${enable_protocol_ftp+set}" = set; then
7904 enableval=$enable_protocol_ftp;
7905 if test "$enableval" = yes; then
7906 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7907 else
7908 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7909 fi
7910
7911 else
7912
7913 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7914
7915 fi
7916
7917
7918 eval "$wx_cv_use_protocol_ftp"
7919
7920 if test x"$enablestring" = xdisable; then
7921 if test $wxUSE_PROTOCOL_FTP = yes; then
7922 result=no
7923 else
7924 result=yes
7925 fi
7926 else
7927 result=$wxUSE_PROTOCOL_FTP
7928 fi
7929
7930 { echo "$as_me:$LINENO: result: $result" >&5
7931 echo "${ECHO_T}$result" >&6; }
7932
7933
7934 enablestring=
7935 defaultval=$wxUSE_ALL_FEATURES
7936 if test -z "$defaultval"; then
7937 if test x"$enablestring" = xdisable; then
7938 defaultval=yes
7939 else
7940 defaultval=no
7941 fi
7942 fi
7943
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7946 # Check whether --enable-protocol_file was given.
7947 if test "${enable_protocol_file+set}" = set; then
7948 enableval=$enable_protocol_file;
7949 if test "$enableval" = yes; then
7950 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7951 else
7952 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7953 fi
7954
7955 else
7956
7957 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7958
7959 fi
7960
7961
7962 eval "$wx_cv_use_protocol_file"
7963
7964 if test x"$enablestring" = xdisable; then
7965 if test $wxUSE_PROTOCOL_FILE = yes; then
7966 result=no
7967 else
7968 result=yes
7969 fi
7970 else
7971 result=$wxUSE_PROTOCOL_FILE
7972 fi
7973
7974 { echo "$as_me:$LINENO: result: $result" >&5
7975 echo "${ECHO_T}$result" >&6; }
7976
7977
7978
7979 enablestring=
7980 defaultval=$wxUSE_ALL_FEATURES
7981 if test -z "$defaultval"; then
7982 if test x"$enablestring" = xdisable; then
7983 defaultval=yes
7984 else
7985 defaultval=no
7986 fi
7987 fi
7988
7989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7990 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7991 # Check whether --enable-threads was given.
7992 if test "${enable_threads+set}" = set; then
7993 enableval=$enable_threads;
7994 if test "$enableval" = yes; then
7995 wx_cv_use_threads='wxUSE_THREADS=yes'
7996 else
7997 wx_cv_use_threads='wxUSE_THREADS=no'
7998 fi
7999
8000 else
8001
8002 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8003
8004 fi
8005
8006
8007 eval "$wx_cv_use_threads"
8008
8009 if test x"$enablestring" = xdisable; then
8010 if test $wxUSE_THREADS = yes; then
8011 result=no
8012 else
8013 result=yes
8014 fi
8015 else
8016 result=$wxUSE_THREADS
8017 fi
8018
8019 { echo "$as_me:$LINENO: result: $result" >&5
8020 echo "${ECHO_T}$result" >&6; }
8021
8022
8023
8024 enablestring=
8025 defaultval=
8026 if test -z "$defaultval"; then
8027 if test x"$enablestring" = xdisable; then
8028 defaultval=yes
8029 else
8030 defaultval=no
8031 fi
8032 fi
8033
8034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8036 # Check whether --enable-iniconf was given.
8037 if test "${enable_iniconf+set}" = set; then
8038 enableval=$enable_iniconf;
8039 if test "$enableval" = yes; then
8040 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8041 else
8042 wx_cv_use_iniconf='wxUSE_INICONF=no'
8043 fi
8044
8045 else
8046
8047 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8048
8049 fi
8050
8051
8052 eval "$wx_cv_use_iniconf"
8053
8054 if test x"$enablestring" = xdisable; then
8055 if test $wxUSE_INICONF = yes; then
8056 result=no
8057 else
8058 result=yes
8059 fi
8060 else
8061 result=$wxUSE_INICONF
8062 fi
8063
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8066
8067
8068 enablestring=
8069 defaultval=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x"$enablestring" = xdisable; then
8072 defaultval=yes
8073 else
8074 defaultval=no
8075 fi
8076 fi
8077
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8080 # Check whether --enable-regkey was given.
8081 if test "${enable_regkey+set}" = set; then
8082 enableval=$enable_regkey;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8085 else
8086 wx_cv_use_regkey='wxUSE_REGKEY=no'
8087 fi
8088
8089 else
8090
8091 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8092
8093 fi
8094
8095
8096 eval "$wx_cv_use_regkey"
8097
8098 if test x"$enablestring" = xdisable; then
8099 if test $wxUSE_REGKEY = yes; then
8100 result=no
8101 else
8102 result=yes
8103 fi
8104 else
8105 result=$wxUSE_REGKEY
8106 fi
8107
8108 { echo "$as_me:$LINENO: result: $result" >&5
8109 echo "${ECHO_T}$result" >&6; }
8110
8111
8112 if test "$wxUSE_GUI" = "yes"; then
8113
8114
8115
8116 enablestring=
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8120 defaultval=yes
8121 else
8122 defaultval=no
8123 fi
8124 fi
8125
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8128 # Check whether --enable-docview was given.
8129 if test "${enable_docview+set}" = set; then
8130 enableval=$enable_docview;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8133 else
8134 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8135 fi
8136
8137 else
8138
8139 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8140
8141 fi
8142
8143
8144 eval "$wx_cv_use_docview"
8145
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8148 result=no
8149 else
8150 result=yes
8151 fi
8152 else
8153 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8154 fi
8155
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8158
8159
8160 enablestring=
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8164 defaultval=yes
8165 else
8166 defaultval=no
8167 fi
8168 fi
8169
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8172 # Check whether --enable-help was given.
8173 if test "${enable_help+set}" = set; then
8174 enableval=$enable_help;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_help='wxUSE_HELP=yes'
8177 else
8178 wx_cv_use_help='wxUSE_HELP=no'
8179 fi
8180
8181 else
8182
8183 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8184
8185 fi
8186
8187
8188 eval "$wx_cv_use_help"
8189
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_HELP = yes; then
8192 result=no
8193 else
8194 result=yes
8195 fi
8196 else
8197 result=$wxUSE_HELP
8198 fi
8199
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8202
8203
8204 enablestring=
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8208 defaultval=yes
8209 else
8210 defaultval=no
8211 fi
8212 fi
8213
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8216 # Check whether --enable-mshtmlhelp was given.
8217 if test "${enable_mshtmlhelp+set}" = set; then
8218 enableval=$enable_mshtmlhelp;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8221 else
8222 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8223 fi
8224
8225 else
8226
8227 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_mshtmlhelp"
8233
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_MS_HTML_HELP = yes; then
8236 result=no
8237 else
8238 result=yes
8239 fi
8240 else
8241 result=$wxUSE_MS_HTML_HELP
8242 fi
8243
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8246
8247
8248 enablestring=
8249 defaultval=$wxUSE_ALL_FEATURES
8250 if test -z "$defaultval"; then
8251 if test x"$enablestring" = xdisable; then
8252 defaultval=yes
8253 else
8254 defaultval=no
8255 fi
8256 fi
8257
8258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8260 # Check whether --enable-html was given.
8261 if test "${enable_html+set}" = set; then
8262 enableval=$enable_html;
8263 if test "$enableval" = yes; then
8264 wx_cv_use_html='wxUSE_HTML=yes'
8265 else
8266 wx_cv_use_html='wxUSE_HTML=no'
8267 fi
8268
8269 else
8270
8271 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8272
8273 fi
8274
8275
8276 eval "$wx_cv_use_html"
8277
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_HTML = yes; then
8280 result=no
8281 else
8282 result=yes
8283 fi
8284 else
8285 result=$wxUSE_HTML
8286 fi
8287
8288 { echo "$as_me:$LINENO: result: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8290
8291
8292 enablestring=
8293 defaultval=$wxUSE_ALL_FEATURES
8294 if test -z "$defaultval"; then
8295 if test x"$enablestring" = xdisable; then
8296 defaultval=yes
8297 else
8298 defaultval=no
8299 fi
8300 fi
8301
8302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8304 # Check whether --enable-htmlhelp was given.
8305 if test "${enable_htmlhelp+set}" = set; then
8306 enableval=$enable_htmlhelp;
8307 if test "$enableval" = yes; then
8308 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8309 else
8310 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8311 fi
8312
8313 else
8314
8315 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8316
8317 fi
8318
8319
8320 eval "$wx_cv_use_htmlhelp"
8321
8322 if test x"$enablestring" = xdisable; then
8323 if test $wxUSE_WXHTML_HELP = yes; then
8324 result=no
8325 else
8326 result=yes
8327 fi
8328 else
8329 result=$wxUSE_WXHTML_HELP
8330 fi
8331
8332 { echo "$as_me:$LINENO: result: $result" >&5
8333 echo "${ECHO_T}$result" >&6; }
8334
8335
8336 enablestring=
8337 defaultval=$wxUSE_ALL_FEATURES
8338 if test -z "$defaultval"; then
8339 if test x"$enablestring" = xdisable; then
8340 defaultval=yes
8341 else
8342 defaultval=no
8343 fi
8344 fi
8345
8346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8348 # Check whether --enable-xrc was given.
8349 if test "${enable_xrc+set}" = set; then
8350 enableval=$enable_xrc;
8351 if test "$enableval" = yes; then
8352 wx_cv_use_xrc='wxUSE_XRC=yes'
8353 else
8354 wx_cv_use_xrc='wxUSE_XRC=no'
8355 fi
8356
8357 else
8358
8359 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8360
8361 fi
8362
8363
8364 eval "$wx_cv_use_xrc"
8365
8366 if test x"$enablestring" = xdisable; then
8367 if test $wxUSE_XRC = yes; then
8368 result=no
8369 else
8370 result=yes
8371 fi
8372 else
8373 result=$wxUSE_XRC
8374 fi
8375
8376 { echo "$as_me:$LINENO: result: $result" >&5
8377 echo "${ECHO_T}$result" >&6; }
8378
8379
8380 enablestring=
8381 defaultval=$wxUSE_ALL_FEATURES
8382 if test -z "$defaultval"; then
8383 if test x"$enablestring" = xdisable; then
8384 defaultval=yes
8385 else
8386 defaultval=no
8387 fi
8388 fi
8389
8390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8392 # Check whether --enable-aui was given.
8393 if test "${enable_aui+set}" = set; then
8394 enableval=$enable_aui;
8395 if test "$enableval" = yes; then
8396 wx_cv_use_aui='wxUSE_AUI=yes'
8397 else
8398 wx_cv_use_aui='wxUSE_AUI=no'
8399 fi
8400
8401 else
8402
8403 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8404
8405 fi
8406
8407
8408 eval "$wx_cv_use_aui"
8409
8410 if test x"$enablestring" = xdisable; then
8411 if test $wxUSE_AUI = yes; then
8412 result=no
8413 else
8414 result=yes
8415 fi
8416 else
8417 result=$wxUSE_AUI
8418 fi
8419
8420 { echo "$as_me:$LINENO: result: $result" >&5
8421 echo "${ECHO_T}$result" >&6; }
8422
8423
8424 enablestring=
8425 defaultval=$wxUSE_ALL_FEATURES
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}-stc" >&5
8435 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8436 # Check whether --enable-stc was given.
8437 if test "${enable_stc+set}" = set; then
8438 enableval=$enable_stc;
8439 if test "$enableval" = yes; then
8440 wx_cv_use_stc='wxUSE_STC=yes'
8441 else
8442 wx_cv_use_stc='wxUSE_STC=no'
8443 fi
8444
8445 else
8446
8447 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8448
8449 fi
8450
8451
8452 eval "$wx_cv_use_stc"
8453
8454 if test x"$enablestring" = xdisable; then
8455 if test $wxUSE_STC = yes; then
8456 result=no
8457 else
8458 result=yes
8459 fi
8460 else
8461 result=$wxUSE_STC
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}-constraints" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8480 # Check whether --enable-constraints was given.
8481 if test "${enable_constraints+set}" = set; then
8482 enableval=$enable_constraints;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8485 else
8486 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8487 fi
8488
8489 else
8490
8491 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8492
8493 fi
8494
8495
8496 eval "$wx_cv_use_constraints"
8497
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_CONSTRAINTS = yes; then
8500 result=no
8501 else
8502 result=yes
8503 fi
8504 else
8505 result=$wxUSE_CONSTRAINTS
8506 fi
8507
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8510
8511
8512 enablestring=
8513 defaultval=$wxUSE_ALL_FEATURES
8514 if test -z "$defaultval"; then
8515 if test x"$enablestring" = xdisable; then
8516 defaultval=yes
8517 else
8518 defaultval=no
8519 fi
8520 fi
8521
8522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8524 # Check whether --enable-printarch was given.
8525 if test "${enable_printarch+set}" = set; then
8526 enableval=$enable_printarch;
8527 if test "$enableval" = yes; then
8528 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8529 else
8530 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8531 fi
8532
8533 else
8534
8535 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8536
8537 fi
8538
8539
8540 eval "$wx_cv_use_printarch"
8541
8542 if test x"$enablestring" = xdisable; then
8543 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8544 result=no
8545 else
8546 result=yes
8547 fi
8548 else
8549 result=$wxUSE_PRINTING_ARCHITECTURE
8550 fi
8551
8552 { echo "$as_me:$LINENO: result: $result" >&5
8553 echo "${ECHO_T}$result" >&6; }
8554
8555
8556 enablestring=
8557 defaultval=$wxUSE_ALL_FEATURES
8558 if test -z "$defaultval"; then
8559 if test x"$enablestring" = xdisable; then
8560 defaultval=yes
8561 else
8562 defaultval=no
8563 fi
8564 fi
8565
8566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8568 # Check whether --enable-mdi was given.
8569 if test "${enable_mdi+set}" = set; then
8570 enableval=$enable_mdi;
8571 if test "$enableval" = yes; then
8572 wx_cv_use_mdi='wxUSE_MDI=yes'
8573 else
8574 wx_cv_use_mdi='wxUSE_MDI=no'
8575 fi
8576
8577 else
8578
8579 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8580
8581 fi
8582
8583
8584 eval "$wx_cv_use_mdi"
8585
8586 if test x"$enablestring" = xdisable; then
8587 if test $wxUSE_MDI = yes; then
8588 result=no
8589 else
8590 result=yes
8591 fi
8592 else
8593 result=$wxUSE_MDI
8594 fi
8595
8596 { echo "$as_me:$LINENO: result: $result" >&5
8597 echo "${ECHO_T}$result" >&6; }
8598
8599
8600 enablestring=
8601 defaultval=$wxUSE_ALL_FEATURES
8602 if test -z "$defaultval"; then
8603 if test x"$enablestring" = xdisable; then
8604 defaultval=yes
8605 else
8606 defaultval=no
8607 fi
8608 fi
8609
8610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8612 # Check whether --enable-mdidoc was given.
8613 if test "${enable_mdidoc+set}" = set; then
8614 enableval=$enable_mdidoc;
8615 if test "$enableval" = yes; then
8616 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8617 else
8618 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8619 fi
8620
8621 else
8622
8623 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8624
8625 fi
8626
8627
8628 eval "$wx_cv_use_mdidoc"
8629
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8632 result=no
8633 else
8634 result=yes
8635 fi
8636 else
8637 result=$wxUSE_MDI_ARCHITECTURE
8638 fi
8639
8640 { echo "$as_me:$LINENO: result: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8642
8643
8644 enablestring=
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8648 defaultval=yes
8649 else
8650 defaultval=no
8651 fi
8652 fi
8653
8654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8656 # Check whether --enable-loggui was given.
8657 if test "${enable_loggui+set}" = set; then
8658 enableval=$enable_loggui;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8661 else
8662 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8663 fi
8664
8665 else
8666
8667 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8668
8669 fi
8670
8671
8672 eval "$wx_cv_use_loggui"
8673
8674 if test x"$enablestring" = xdisable; then
8675 if test $wxUSE_LOGGUI = yes; then
8676 result=no
8677 else
8678 result=yes
8679 fi
8680 else
8681 result=$wxUSE_LOGGUI
8682 fi
8683
8684 { echo "$as_me:$LINENO: result: $result" >&5
8685 echo "${ECHO_T}$result" >&6; }
8686
8687
8688 enablestring=
8689 defaultval=$wxUSE_ALL_FEATURES
8690 if test -z "$defaultval"; then
8691 if test x"$enablestring" = xdisable; then
8692 defaultval=yes
8693 else
8694 defaultval=no
8695 fi
8696 fi
8697
8698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8700 # Check whether --enable-logwin was given.
8701 if test "${enable_logwin+set}" = set; then
8702 enableval=$enable_logwin;
8703 if test "$enableval" = yes; then
8704 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8705 else
8706 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8707 fi
8708
8709 else
8710
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8712
8713 fi
8714
8715
8716 eval "$wx_cv_use_logwin"
8717
8718 if test x"$enablestring" = xdisable; then
8719 if test $wxUSE_LOGWINDOW = yes; then
8720 result=no
8721 else
8722 result=yes
8723 fi
8724 else
8725 result=$wxUSE_LOGWINDOW
8726 fi
8727
8728 { echo "$as_me:$LINENO: result: $result" >&5
8729 echo "${ECHO_T}$result" >&6; }
8730
8731
8732 enablestring=
8733 defaultval=$wxUSE_ALL_FEATURES
8734 if test -z "$defaultval"; then
8735 if test x"$enablestring" = xdisable; then
8736 defaultval=yes
8737 else
8738 defaultval=no
8739 fi
8740 fi
8741
8742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8744 # Check whether --enable-logdialog was given.
8745 if test "${enable_logdialog+set}" = set; then
8746 enableval=$enable_logdialog;
8747 if test "$enableval" = yes; then
8748 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8749 else
8750 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8751 fi
8752
8753 else
8754
8755 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8756
8757 fi
8758
8759
8760 eval "$wx_cv_use_logdialog"
8761
8762 if test x"$enablestring" = xdisable; then
8763 if test $wxUSE_LOGDIALOG = yes; then
8764 result=no
8765 else
8766 result=yes
8767 fi
8768 else
8769 result=$wxUSE_LOGDIALOG
8770 fi
8771
8772 { echo "$as_me:$LINENO: result: $result" >&5
8773 echo "${ECHO_T}$result" >&6; }
8774
8775
8776 enablestring=
8777 defaultval=$wxUSE_ALL_FEATURES
8778 if test -z "$defaultval"; then
8779 if test x"$enablestring" = xdisable; then
8780 defaultval=yes
8781 else
8782 defaultval=no
8783 fi
8784 fi
8785
8786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8788 # Check whether --enable-webkit was given.
8789 if test "${enable_webkit+set}" = set; then
8790 enableval=$enable_webkit;
8791 if test "$enableval" = yes; then
8792 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8793 else
8794 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8795 fi
8796
8797 else
8798
8799 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8800
8801 fi
8802
8803
8804 eval "$wx_cv_use_webkit"
8805
8806 if test x"$enablestring" = xdisable; then
8807 if test $wxUSE_WEBKIT = yes; then
8808 result=no
8809 else
8810 result=yes
8811 fi
8812 else
8813 result=$wxUSE_WEBKIT
8814 fi
8815
8816 { echo "$as_me:$LINENO: result: $result" >&5
8817 echo "${ECHO_T}$result" >&6; }
8818
8819
8820 enablestring=
8821 defaultval=$wxUSE_ALL_FEATURES
8822 if test -z "$defaultval"; then
8823 if test x"$enablestring" = xdisable; then
8824 defaultval=yes
8825 else
8826 defaultval=no
8827 fi
8828 fi
8829
8830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8831 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8832 # Check whether --enable-richtext was given.
8833 if test "${enable_richtext+set}" = set; then
8834 enableval=$enable_richtext;
8835 if test "$enableval" = yes; then
8836 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8837 else
8838 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8839 fi
8840
8841 else
8842
8843 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8844
8845 fi
8846
8847
8848 eval "$wx_cv_use_richtext"
8849
8850 if test x"$enablestring" = xdisable; then
8851 if test $wxUSE_RICHTEXT = yes; then
8852 result=no
8853 else
8854 result=yes
8855 fi
8856 else
8857 result=$wxUSE_RICHTEXT
8858 fi
8859
8860 { echo "$as_me:$LINENO: result: $result" >&5
8861 echo "${ECHO_T}$result" >&6; }
8862
8863
8864 enablestring=
8865 defaultval=$wxUSE_ALL_FEATURES
8866 if test -z "$defaultval"; then
8867 if test x"$enablestring" = xdisable; then
8868 defaultval=yes
8869 else
8870 defaultval=no
8871 fi
8872 fi
8873
8874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8876 # Check whether --enable-graphics_ctx was given.
8877 if test "${enable_graphics_ctx+set}" = set; then
8878 enableval=$enable_graphics_ctx;
8879 if test "$enableval" = yes; then
8880 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8881 else
8882 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8883 fi
8884
8885 else
8886
8887 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8888
8889 fi
8890
8891
8892 eval "$wx_cv_use_graphics_ctx"
8893
8894 if test x"$enablestring" = xdisable; then
8895 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8896 result=no
8897 else
8898 result=yes
8899 fi
8900 else
8901 result=$wxUSE_GRAPHICS_CONTEXT
8902 fi
8903
8904 { echo "$as_me:$LINENO: result: $result" >&5
8905 echo "${ECHO_T}$result" >&6; }
8906
8907
8908 enablestring=
8909 defaultval=$wxUSE_ALL_FEATURES
8910 if test -z "$defaultval"; then
8911 if test x"$enablestring" = xdisable; then
8912 defaultval=yes
8913 else
8914 defaultval=no
8915 fi
8916 fi
8917
8918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8919 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8920 # Check whether --enable-postscript was given.
8921 if test "${enable_postscript+set}" = set; then
8922 enableval=$enable_postscript;
8923 if test "$enableval" = yes; then
8924 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8925 else
8926 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8927 fi
8928
8929 else
8930
8931 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8932
8933 fi
8934
8935
8936 eval "$wx_cv_use_postscript"
8937
8938 if test x"$enablestring" = xdisable; then
8939 if test $wxUSE_POSTSCRIPT = yes; then
8940 result=no
8941 else
8942 result=yes
8943 fi
8944 else
8945 result=$wxUSE_POSTSCRIPT
8946 fi
8947
8948 { echo "$as_me:$LINENO: result: $result" >&5
8949 echo "${ECHO_T}$result" >&6; }
8950
8951
8952 enablestring=
8953 defaultval=$wxUSE_ALL_FEATURES
8954 if test -z "$defaultval"; then
8955 if test x"$enablestring" = xdisable; then
8956 defaultval=yes
8957 else
8958 defaultval=no
8959 fi
8960 fi
8961
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
8964 # Check whether --enable-svg was given.
8965 if test "${enable_svg+set}" = set; then
8966 enableval=$enable_svg;
8967 if test "$enableval" = yes; then
8968 wx_cv_use_svg='wxUSE_SVG=yes'
8969 else
8970 wx_cv_use_svg='wxUSE_SVG=no'
8971 fi
8972
8973 else
8974
8975 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8976
8977 fi
8978
8979
8980 eval "$wx_cv_use_svg"
8981
8982 if test x"$enablestring" = xdisable; then
8983 if test $wxUSE_SVG = yes; then
8984 result=no
8985 else
8986 result=yes
8987 fi
8988 else
8989 result=$wxUSE_SVG
8990 fi
8991
8992 { echo "$as_me:$LINENO: result: $result" >&5
8993 echo "${ECHO_T}$result" >&6; }
8994
8995
8996
8997
8998 enablestring=
8999 defaultval=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x"$enablestring" = xdisable; then
9002 defaultval=yes
9003 else
9004 defaultval=no
9005 fi
9006 fi
9007
9008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9010 # Check whether --enable-clipboard was given.
9011 if test "${enable_clipboard+set}" = set; then
9012 enableval=$enable_clipboard;
9013 if test "$enableval" = yes; then
9014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9015 else
9016 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9017 fi
9018
9019 else
9020
9021 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9022
9023 fi
9024
9025
9026 eval "$wx_cv_use_clipboard"
9027
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_CLIPBOARD = yes; then
9030 result=no
9031 else
9032 result=yes
9033 fi
9034 else
9035 result=$wxUSE_CLIPBOARD
9036 fi
9037
9038 { echo "$as_me:$LINENO: result: $result" >&5
9039 echo "${ECHO_T}$result" >&6; }
9040
9041
9042 enablestring=
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z "$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9046 defaultval=yes
9047 else
9048 defaultval=no
9049 fi
9050 fi
9051
9052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9054 # Check whether --enable-dnd was given.
9055 if test "${enable_dnd+set}" = set; then
9056 enableval=$enable_dnd;
9057 if test "$enableval" = yes; then
9058 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9059 else
9060 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9061 fi
9062
9063 else
9064
9065 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9066
9067 fi
9068
9069
9070 eval "$wx_cv_use_dnd"
9071
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_DRAG_AND_DROP = yes; then
9074 result=no
9075 else
9076 result=yes
9077 fi
9078 else
9079 result=$wxUSE_DRAG_AND_DROP
9080 fi
9081
9082 { echo "$as_me:$LINENO: result: $result" >&5
9083 echo "${ECHO_T}$result" >&6; }
9084
9085
9086 enablestring=
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9090 defaultval=yes
9091 else
9092 defaultval=no
9093 fi
9094 fi
9095
9096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9098 # Check whether --enable-metafile was given.
9099 if test "${enable_metafile+set}" = set; then
9100 enableval=$enable_metafile;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9103 else
9104 wx_cv_use_metafile='wxUSE_METAFILE=no'
9105 fi
9106
9107 else
9108
9109 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9110
9111 fi
9112
9113
9114 eval "$wx_cv_use_metafile"
9115
9116 if test x"$enablestring" = xdisable; then
9117 if test $wxUSE_METAFILE = yes; then
9118 result=no
9119 else
9120 result=yes
9121 fi
9122 else
9123 result=$wxUSE_METAFILE
9124 fi
9125
9126 { echo "$as_me:$LINENO: result: $result" >&5
9127 echo "${ECHO_T}$result" >&6; }
9128
9129
9130
9131 DEFAULT_wxUSE_CONTROLS=none
9132
9133 enablestring=disable
9134 defaultval=
9135 if test -z "$defaultval"; then
9136 if test x"$enablestring" = xdisable; then
9137 defaultval=yes
9138 else
9139 defaultval=no
9140 fi
9141 fi
9142
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9145 # Check whether --enable-controls was given.
9146 if test "${enable_controls+set}" = set; then
9147 enableval=$enable_controls;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9150 else
9151 wx_cv_use_controls='wxUSE_CONTROLS=no'
9152 fi
9153
9154 else
9155
9156 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9157
9158 fi
9159
9160
9161 eval "$wx_cv_use_controls"
9162
9163 if test x"$enablestring" = xdisable; then
9164 if test $wxUSE_CONTROLS = yes; then
9165 result=no
9166 else
9167 result=yes
9168 fi
9169 else
9170 result=$wxUSE_CONTROLS
9171 fi
9172
9173 { echo "$as_me:$LINENO: result: $result" >&5
9174 echo "${ECHO_T}$result" >&6; }
9175
9176
9177 if test "$wxUSE_CONTROLS" = "yes"; then
9178 DEFAULT_wxUSE_ACCEL=yes
9179 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9180 DEFAULT_wxUSE_BMPBUTTON=yes
9181 DEFAULT_wxUSE_BUTTON=yes
9182 DEFAULT_wxUSE_CALCTRL=yes
9183 DEFAULT_wxUSE_CARET=yes
9184 DEFAULT_wxUSE_COMBOBOX=yes
9185 DEFAULT_wxUSE_CHECKBOX=yes
9186 DEFAULT_wxUSE_CHECKLISTBOX=yes
9187 DEFAULT_wxUSE_CHOICE=yes
9188 DEFAULT_wxUSE_CHOICEBOOK=yes
9189 DEFAULT_wxUSE_COLLPANE=yes
9190 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9191 DEFAULT_wxUSE_COMBOBOX=yes
9192 DEFAULT_wxUSE_DATEPICKCTRL=yes
9193 DEFAULT_wxUSE_DISPLAY=yes
9194 DEFAULT_wxUSE_DETECT_SM=yes
9195 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9196 DEFAULT_wxUSE_FILECTRL=yes
9197 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9198 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9199 DEFAULT_wxUSE_GAUGE=yes
9200 DEFAULT_wxUSE_GRID=yes
9201 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9202 DEFAULT_wxUSE_DATAVIEWCTRL=no
9203 DEFAULT_wxUSE_IMAGLIST=yes
9204 DEFAULT_wxUSE_LISTBOOK=yes
9205 DEFAULT_wxUSE_LISTBOX=yes
9206 DEFAULT_wxUSE_LISTCTRL=yes
9207 DEFAULT_wxUSE_NOTEBOOK=yes
9208 DEFAULT_wxUSE_RADIOBOX=yes
9209 DEFAULT_wxUSE_RADIOBTN=yes
9210 DEFAULT_wxUSE_SASH=yes
9211 DEFAULT_wxUSE_SCROLLBAR=yes
9212 DEFAULT_wxUSE_SEARCHCTRL=yes
9213 DEFAULT_wxUSE_SLIDER=yes
9214 DEFAULT_wxUSE_SPINBTN=yes
9215 DEFAULT_wxUSE_SPINCTRL=yes
9216 DEFAULT_wxUSE_SPLITTER=yes
9217 DEFAULT_wxUSE_STATBMP=yes
9218 DEFAULT_wxUSE_STATBOX=yes
9219 DEFAULT_wxUSE_STATLINE=yes
9220 DEFAULT_wxUSE_STATUSBAR=yes
9221 DEFAULT_wxUSE_TAB_DIALOG=yes
9222 DEFAULT_wxUSE_TOGGLEBTN=yes
9223 DEFAULT_wxUSE_TOOLBAR=yes
9224 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9225 DEFAULT_wxUSE_TOOLTIPS=yes
9226 DEFAULT_wxUSE_TREEBOOK=yes
9227 DEFAULT_wxUSE_TOOLBOOK=yes
9228 DEFAULT_wxUSE_TREECTRL=yes
9229 DEFAULT_wxUSE_POPUPWIN=yes
9230 DEFAULT_wxUSE_TIPWINDOW=yes
9231 elif test "$wxUSE_CONTROLS" = "no"; then
9232 DEFAULT_wxUSE_ACCEL=no
9233 DEFAULT_wxUSE_ANIMATIONCTRL=no
9234 DEFAULT_wxUSE_BMPBUTTON=no
9235 DEFAULT_wxUSE_BUTTON=no
9236 DEFAULT_wxUSE_CALCTRL=no
9237 DEFAULT_wxUSE_CARET=no
9238 DEFAULT_wxUSE_COLLPANE=no
9239 DEFAULT_wxUSE_COMBOBOX=no
9240 DEFAULT_wxUSE_CHECKBOX=no
9241 DEFAULT_wxUSE_CHECKLISTBOX=no
9242 DEFAULT_wxUSE_CHOICE=no
9243 DEFAULT_wxUSE_CHOICEBOOK=no
9244 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9245 DEFAULT_wxUSE_COMBOBOX=no
9246 DEFAULT_wxUSE_DATEPICKCTRL=no
9247 DEFAULT_wxUSE_DISPLAY=no
9248 DEFAULT_wxUSE_DETECT_SM=no
9249 DEFAULT_wxUSE_DIRPICKERCTRL=no
9250 DEFAULT_wxUSE_FILECTRL=no
9251 DEFAULT_wxUSE_FILEPICKERCTRL=no
9252 DEFAULT_wxUSE_FONTPICKERCTRL=no
9253 DEFAULT_wxUSE_GAUGE=no
9254 DEFAULT_wxUSE_GRID=no
9255 DEFAULT_wxUSE_HYPERLINKCTRL=no
9256 DEFAULT_wxUSE_DATAVIEWCTRL=no
9257 DEFAULT_wxUSE_IMAGLIST=no
9258 DEFAULT_wxUSE_LISTBOOK=no
9259 DEFAULT_wxUSE_LISTBOX=no
9260 DEFAULT_wxUSE_LISTCTRL=no
9261 DEFAULT_wxUSE_NOTEBOOK=no
9262 DEFAULT_wxUSE_RADIOBOX=no
9263 DEFAULT_wxUSE_RADIOBTN=no
9264 DEFAULT_wxUSE_SASH=no
9265 DEFAULT_wxUSE_SCROLLBAR=no
9266 DEFAULT_wxUSE_SEARCHCTRL=no
9267 DEFAULT_wxUSE_SLIDER=no
9268 DEFAULT_wxUSE_SPINBTN=no
9269 DEFAULT_wxUSE_SPINCTRL=no
9270 DEFAULT_wxUSE_SPLITTER=no
9271 DEFAULT_wxUSE_STATBMP=no
9272 DEFAULT_wxUSE_STATBOX=no
9273 DEFAULT_wxUSE_STATLINE=no
9274 DEFAULT_wxUSE_STATUSBAR=no
9275 DEFAULT_wxUSE_TAB_DIALOG=no
9276 DEFAULT_wxUSE_TOGGLEBTN=no
9277 DEFAULT_wxUSE_TOOLBAR=no
9278 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9279 DEFAULT_wxUSE_TOOLTIPS=no
9280 DEFAULT_wxUSE_TREEBOOK=no
9281 DEFAULT_wxUSE_TOOLBOOK=no
9282 DEFAULT_wxUSE_TREECTRL=no
9283 DEFAULT_wxUSE_POPUPWIN=no
9284 DEFAULT_wxUSE_TIPWINDOW=no
9285 fi
9286
9287
9288 enablestring=
9289 defaultval=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x"$enablestring" = xdisable; then
9292 defaultval=yes
9293 else
9294 defaultval=no
9295 fi
9296 fi
9297
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9300 # Check whether --enable-accel was given.
9301 if test "${enable_accel+set}" = set; then
9302 enableval=$enable_accel;
9303 if test "$enableval" = yes; then
9304 wx_cv_use_accel='wxUSE_ACCEL=yes'
9305 else
9306 wx_cv_use_accel='wxUSE_ACCEL=no'
9307 fi
9308
9309 else
9310
9311 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9312
9313 fi
9314
9315
9316 eval "$wx_cv_use_accel"
9317
9318 if test x"$enablestring" = xdisable; then
9319 if test $wxUSE_ACCEL = yes; then
9320 result=no
9321 else
9322 result=yes
9323 fi
9324 else
9325 result=$wxUSE_ACCEL
9326 fi
9327
9328 { echo "$as_me:$LINENO: result: $result" >&5
9329 echo "${ECHO_T}$result" >&6; }
9330
9331
9332 enablestring=
9333 defaultval=$wxUSE_ALL_FEATURES
9334 if test -z "$defaultval"; then
9335 if test x"$enablestring" = xdisable; then
9336 defaultval=yes
9337 else
9338 defaultval=no
9339 fi
9340 fi
9341
9342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9344 # Check whether --enable-animatectrl was given.
9345 if test "${enable_animatectrl+set}" = set; then
9346 enableval=$enable_animatectrl;
9347 if test "$enableval" = yes; then
9348 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9349 else
9350 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9351 fi
9352
9353 else
9354
9355 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9356
9357 fi
9358
9359
9360 eval "$wx_cv_use_animatectrl"
9361
9362 if test x"$enablestring" = xdisable; then
9363 if test $wxUSE_ANIMATIONCTRL = yes; then
9364 result=no
9365 else
9366 result=yes
9367 fi
9368 else
9369 result=$wxUSE_ANIMATIONCTRL
9370 fi
9371
9372 { echo "$as_me:$LINENO: result: $result" >&5
9373 echo "${ECHO_T}$result" >&6; }
9374
9375
9376 enablestring=
9377 defaultval=$wxUSE_ALL_FEATURES
9378 if test -z "$defaultval"; then
9379 if test x"$enablestring" = xdisable; then
9380 defaultval=yes
9381 else
9382 defaultval=no
9383 fi
9384 fi
9385
9386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9388 # Check whether --enable-button was given.
9389 if test "${enable_button+set}" = set; then
9390 enableval=$enable_button;
9391 if test "$enableval" = yes; then
9392 wx_cv_use_button='wxUSE_BUTTON=yes'
9393 else
9394 wx_cv_use_button='wxUSE_BUTTON=no'
9395 fi
9396
9397 else
9398
9399 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9400
9401 fi
9402
9403
9404 eval "$wx_cv_use_button"
9405
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_BUTTON = yes; then
9408 result=no
9409 else
9410 result=yes
9411 fi
9412 else
9413 result=$wxUSE_BUTTON
9414 fi
9415
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9418
9419
9420 enablestring=
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9424 defaultval=yes
9425 else
9426 defaultval=no
9427 fi
9428 fi
9429
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9432 # Check whether --enable-bmpbutton was given.
9433 if test "${enable_bmpbutton+set}" = set; then
9434 enableval=$enable_bmpbutton;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9437 else
9438 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9439 fi
9440
9441 else
9442
9443 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9444
9445 fi
9446
9447
9448 eval "$wx_cv_use_bmpbutton"
9449
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_BMPBUTTON = yes; then
9452 result=no
9453 else
9454 result=yes
9455 fi
9456 else
9457 result=$wxUSE_BMPBUTTON
9458 fi
9459
9460 { echo "$as_me:$LINENO: result: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9462
9463
9464 enablestring=
9465 defaultval=$wxUSE_ALL_FEATURES
9466 if test -z "$defaultval"; then
9467 if test x"$enablestring" = xdisable; then
9468 defaultval=yes
9469 else
9470 defaultval=no
9471 fi
9472 fi
9473
9474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9476 # Check whether --enable-bmpcombobox was given.
9477 if test "${enable_bmpcombobox+set}" = set; then
9478 enableval=$enable_bmpcombobox;
9479 if test "$enableval" = yes; then
9480 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9481 else
9482 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9483 fi
9484
9485 else
9486
9487 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9488
9489 fi
9490
9491
9492 eval "$wx_cv_use_bmpcombobox"
9493
9494 if test x"$enablestring" = xdisable; then
9495 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9496 result=no
9497 else
9498 result=yes
9499 fi
9500 else
9501 result=$wxUSE_BITMAPCOMBOBOX
9502 fi
9503
9504 { echo "$as_me:$LINENO: result: $result" >&5
9505 echo "${ECHO_T}$result" >&6; }
9506
9507
9508 enablestring=
9509 defaultval=$wxUSE_ALL_FEATURES
9510 if test -z "$defaultval"; then
9511 if test x"$enablestring" = xdisable; then
9512 defaultval=yes
9513 else
9514 defaultval=no
9515 fi
9516 fi
9517
9518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9520 # Check whether --enable-calendar was given.
9521 if test "${enable_calendar+set}" = set; then
9522 enableval=$enable_calendar;
9523 if test "$enableval" = yes; then
9524 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9525 else
9526 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9527 fi
9528
9529 else
9530
9531 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9532
9533 fi
9534
9535
9536 eval "$wx_cv_use_calendar"
9537
9538 if test x"$enablestring" = xdisable; then
9539 if test $wxUSE_CALCTRL = yes; then
9540 result=no
9541 else
9542 result=yes
9543 fi
9544 else
9545 result=$wxUSE_CALCTRL
9546 fi
9547
9548 { echo "$as_me:$LINENO: result: $result" >&5
9549 echo "${ECHO_T}$result" >&6; }
9550
9551
9552 enablestring=
9553 defaultval=$wxUSE_ALL_FEATURES
9554 if test -z "$defaultval"; then
9555 if test x"$enablestring" = xdisable; then
9556 defaultval=yes
9557 else
9558 defaultval=no
9559 fi
9560 fi
9561
9562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9563 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9564 # Check whether --enable-caret was given.
9565 if test "${enable_caret+set}" = set; then
9566 enableval=$enable_caret;
9567 if test "$enableval" = yes; then
9568 wx_cv_use_caret='wxUSE_CARET=yes'
9569 else
9570 wx_cv_use_caret='wxUSE_CARET=no'
9571 fi
9572
9573 else
9574
9575 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9576
9577 fi
9578
9579
9580 eval "$wx_cv_use_caret"
9581
9582 if test x"$enablestring" = xdisable; then
9583 if test $wxUSE_CARET = yes; then
9584 result=no
9585 else
9586 result=yes
9587 fi
9588 else
9589 result=$wxUSE_CARET
9590 fi
9591
9592 { echo "$as_me:$LINENO: result: $result" >&5
9593 echo "${ECHO_T}$result" >&6; }
9594
9595
9596 enablestring=
9597 defaultval=$wxUSE_ALL_FEATURES
9598 if test -z "$defaultval"; then
9599 if test x"$enablestring" = xdisable; then
9600 defaultval=yes
9601 else
9602 defaultval=no
9603 fi
9604 fi
9605
9606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9607 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9608 # Check whether --enable-checkbox was given.
9609 if test "${enable_checkbox+set}" = set; then
9610 enableval=$enable_checkbox;
9611 if test "$enableval" = yes; then
9612 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9613 else
9614 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9615 fi
9616
9617 else
9618
9619 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9620
9621 fi
9622
9623
9624 eval "$wx_cv_use_checkbox"
9625
9626 if test x"$enablestring" = xdisable; then
9627 if test $wxUSE_CHECKBOX = yes; then
9628 result=no
9629 else
9630 result=yes
9631 fi
9632 else
9633 result=$wxUSE_CHECKBOX
9634 fi
9635
9636 { echo "$as_me:$LINENO: result: $result" >&5
9637 echo "${ECHO_T}$result" >&6; }
9638
9639
9640 enablestring=
9641 defaultval=$wxUSE_ALL_FEATURES
9642 if test -z "$defaultval"; then
9643 if test x"$enablestring" = xdisable; then
9644 defaultval=yes
9645 else
9646 defaultval=no
9647 fi
9648 fi
9649
9650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9652 # Check whether --enable-checklst was given.
9653 if test "${enable_checklst+set}" = set; then
9654 enableval=$enable_checklst;
9655 if test "$enableval" = yes; then
9656 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9657 else
9658 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9659 fi
9660
9661 else
9662
9663 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9664
9665 fi
9666
9667
9668 eval "$wx_cv_use_checklst"
9669
9670 if test x"$enablestring" = xdisable; then
9671 if test $wxUSE_CHECKLST = yes; then
9672 result=no
9673 else
9674 result=yes
9675 fi
9676 else
9677 result=$wxUSE_CHECKLST
9678 fi
9679
9680 { echo "$as_me:$LINENO: result: $result" >&5
9681 echo "${ECHO_T}$result" >&6; }
9682
9683
9684 enablestring=
9685 defaultval=$wxUSE_ALL_FEATURES
9686 if test -z "$defaultval"; then
9687 if test x"$enablestring" = xdisable; then
9688 defaultval=yes
9689 else
9690 defaultval=no
9691 fi
9692 fi
9693
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9696 # Check whether --enable-choice was given.
9697 if test "${enable_choice+set}" = set; then
9698 enableval=$enable_choice;
9699 if test "$enableval" = yes; then
9700 wx_cv_use_choice='wxUSE_CHOICE=yes'
9701 else
9702 wx_cv_use_choice='wxUSE_CHOICE=no'
9703 fi
9704
9705 else
9706
9707 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9708
9709 fi
9710
9711
9712 eval "$wx_cv_use_choice"
9713
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_CHOICE = yes; then
9716 result=no
9717 else
9718 result=yes
9719 fi
9720 else
9721 result=$wxUSE_CHOICE
9722 fi
9723
9724 { echo "$as_me:$LINENO: result: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9726
9727
9728 enablestring=
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9732 defaultval=yes
9733 else
9734 defaultval=no
9735 fi
9736 fi
9737
9738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9740 # Check whether --enable-choicebook was given.
9741 if test "${enable_choicebook+set}" = set; then
9742 enableval=$enable_choicebook;
9743 if test "$enableval" = yes; then
9744 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9745 else
9746 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9747 fi
9748
9749 else
9750
9751 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9752
9753 fi
9754
9755
9756 eval "$wx_cv_use_choicebook"
9757
9758 if test x"$enablestring" = xdisable; then
9759 if test $wxUSE_CHOICEBOOK = yes; then
9760 result=no
9761 else
9762 result=yes
9763 fi
9764 else
9765 result=$wxUSE_CHOICEBOOK
9766 fi
9767
9768 { echo "$as_me:$LINENO: result: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9770
9771
9772 enablestring=
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9776 defaultval=yes
9777 else
9778 defaultval=no
9779 fi
9780 fi
9781
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9784 # Check whether --enable-collpane was given.
9785 if test "${enable_collpane+set}" = set; then
9786 enableval=$enable_collpane;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9789 else
9790 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9791 fi
9792
9793 else
9794
9795 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9796
9797 fi
9798
9799
9800 eval "$wx_cv_use_collpane"
9801
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_COLLPANE = yes; then
9804 result=no
9805 else
9806 result=yes
9807 fi
9808 else
9809 result=$wxUSE_COLLPANE
9810 fi
9811
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9814
9815
9816 enablestring=
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9820 defaultval=yes
9821 else
9822 defaultval=no
9823 fi
9824 fi
9825
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9828 # Check whether --enable-colourpicker was given.
9829 if test "${enable_colourpicker+set}" = set; then
9830 enableval=$enable_colourpicker;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9833 else
9834 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9835 fi
9836
9837 else
9838
9839 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9840
9841 fi
9842
9843
9844 eval "$wx_cv_use_colourpicker"
9845
9846 if test x"$enablestring" = xdisable; then
9847 if test $wxUSE_COLOURPICKERCTRL = yes; then
9848 result=no
9849 else
9850 result=yes
9851 fi
9852 else
9853 result=$wxUSE_COLOURPICKERCTRL
9854 fi
9855
9856 { echo "$as_me:$LINENO: result: $result" >&5
9857 echo "${ECHO_T}$result" >&6; }
9858
9859
9860 enablestring=
9861 defaultval=$wxUSE_ALL_FEATURES
9862 if test -z "$defaultval"; then
9863 if test x"$enablestring" = xdisable; then
9864 defaultval=yes
9865 else
9866 defaultval=no
9867 fi
9868 fi
9869
9870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9871 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9872 # Check whether --enable-combobox was given.
9873 if test "${enable_combobox+set}" = set; then
9874 enableval=$enable_combobox;
9875 if test "$enableval" = yes; then
9876 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9877 else
9878 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9879 fi
9880
9881 else
9882
9883 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9884
9885 fi
9886
9887
9888 eval "$wx_cv_use_combobox"
9889
9890 if test x"$enablestring" = xdisable; then
9891 if test $wxUSE_COMBOBOX = yes; then
9892 result=no
9893 else
9894 result=yes
9895 fi
9896 else
9897 result=$wxUSE_COMBOBOX
9898 fi
9899
9900 { echo "$as_me:$LINENO: result: $result" >&5
9901 echo "${ECHO_T}$result" >&6; }
9902
9903
9904 enablestring=
9905 defaultval=$wxUSE_ALL_FEATURES
9906 if test -z "$defaultval"; then
9907 if test x"$enablestring" = xdisable; then
9908 defaultval=yes
9909 else
9910 defaultval=no
9911 fi
9912 fi
9913
9914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9915 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9916 # Check whether --enable-comboctrl was given.
9917 if test "${enable_comboctrl+set}" = set; then
9918 enableval=$enable_comboctrl;
9919 if test "$enableval" = yes; then
9920 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9921 else
9922 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9923 fi
9924
9925 else
9926
9927 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9928
9929 fi
9930
9931
9932 eval "$wx_cv_use_comboctrl"
9933
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_COMBOCTRL = yes; then
9936 result=no
9937 else
9938 result=yes
9939 fi
9940 else
9941 result=$wxUSE_COMBOCTRL
9942 fi
9943
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9946
9947
9948 enablestring=
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9952 defaultval=yes
9953 else
9954 defaultval=no
9955 fi
9956 fi
9957
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9960 # Check whether --enable-datepick was given.
9961 if test "${enable_datepick+set}" = set; then
9962 enableval=$enable_datepick;
9963 if test "$enableval" = yes; then
9964 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9965 else
9966 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9967 fi
9968
9969 else
9970
9971 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9972
9973 fi
9974
9975
9976 eval "$wx_cv_use_datepick"
9977
9978 if test x"$enablestring" = xdisable; then
9979 if test $wxUSE_DATEPICKCTRL = yes; then
9980 result=no
9981 else
9982 result=yes
9983 fi
9984 else
9985 result=$wxUSE_DATEPICKCTRL
9986 fi
9987
9988 { echo "$as_me:$LINENO: result: $result" >&5
9989 echo "${ECHO_T}$result" >&6; }
9990
9991
9992 enablestring=
9993 defaultval=$wxUSE_ALL_FEATURES
9994 if test -z "$defaultval"; then
9995 if test x"$enablestring" = xdisable; then
9996 defaultval=yes
9997 else
9998 defaultval=no
9999 fi
10000 fi
10001
10002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10003 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10004 # Check whether --enable-dirpicker was given.
10005 if test "${enable_dirpicker+set}" = set; then
10006 enableval=$enable_dirpicker;
10007 if test "$enableval" = yes; then
10008 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10009 else
10010 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10011 fi
10012
10013 else
10014
10015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10016
10017 fi
10018
10019
10020 eval "$wx_cv_use_dirpicker"
10021
10022 if test x"$enablestring" = xdisable; then
10023 if test $wxUSE_DIRPICKERCTRL = yes; then
10024 result=no
10025 else
10026 result=yes
10027 fi
10028 else
10029 result=$wxUSE_DIRPICKERCTRL
10030 fi
10031
10032 { echo "$as_me:$LINENO: result: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10034
10035
10036 enablestring=
10037 defaultval=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x"$enablestring" = xdisable; then
10040 defaultval=yes
10041 else
10042 defaultval=no
10043 fi
10044 fi
10045
10046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10048 # Check whether --enable-display was given.
10049 if test "${enable_display+set}" = set; then
10050 enableval=$enable_display;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_display='wxUSE_DISPLAY=yes'
10053 else
10054 wx_cv_use_display='wxUSE_DISPLAY=no'
10055 fi
10056
10057 else
10058
10059 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10060
10061 fi
10062
10063
10064 eval "$wx_cv_use_display"
10065
10066 if test x"$enablestring" = xdisable; then
10067 if test $wxUSE_DISPLAY = yes; then
10068 result=no
10069 else
10070 result=yes
10071 fi
10072 else
10073 result=$wxUSE_DISPLAY
10074 fi
10075
10076 { echo "$as_me:$LINENO: result: $result" >&5
10077 echo "${ECHO_T}$result" >&6; }
10078
10079
10080 enablestring=
10081 defaultval=$wxUSE_ALL_FEATURES
10082 if test -z "$defaultval"; then
10083 if test x"$enablestring" = xdisable; then
10084 defaultval=yes
10085 else
10086 defaultval=no
10087 fi
10088 fi
10089
10090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10092 # Check whether --enable-detect_sm was given.
10093 if test "${enable_detect_sm+set}" = set; then
10094 enableval=$enable_detect_sm;
10095 if test "$enableval" = yes; then
10096 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10097 else
10098 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10099 fi
10100
10101 else
10102
10103 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10104
10105 fi
10106
10107
10108 eval "$wx_cv_use_detect_sm"
10109
10110 if test x"$enablestring" = xdisable; then
10111 if test $wxUSE_DETECT_SM = yes; then
10112 result=no
10113 else
10114 result=yes
10115 fi
10116 else
10117 result=$wxUSE_DETECT_SM
10118 fi
10119
10120 { echo "$as_me:$LINENO: result: $result" >&5
10121 echo "${ECHO_T}$result" >&6; }
10122
10123
10124 enablestring=
10125 defaultval=$wxUSE_ALL_FEATURES
10126 if test -z "$defaultval"; then
10127 if test x"$enablestring" = xdisable; then
10128 defaultval=yes
10129 else
10130 defaultval=no
10131 fi
10132 fi
10133
10134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10136 # Check whether --enable-editablebox was given.
10137 if test "${enable_editablebox+set}" = set; then
10138 enableval=$enable_editablebox;
10139 if test "$enableval" = yes; then
10140 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10141 else
10142 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10143 fi
10144
10145 else
10146
10147 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10148
10149 fi
10150
10151
10152 eval "$wx_cv_use_editablebox"
10153
10154 if test x"$enablestring" = xdisable; then
10155 if test $wxUSE_EDITABLELISTBOX = yes; then
10156 result=no
10157 else
10158 result=yes
10159 fi
10160 else
10161 result=$wxUSE_EDITABLELISTBOX
10162 fi
10163
10164 { echo "$as_me:$LINENO: result: $result" >&5
10165 echo "${ECHO_T}$result" >&6; }
10166
10167
10168 enablestring=
10169 defaultval=$wxUSE_ALL_FEATURES
10170 if test -z "$defaultval"; then
10171 if test x"$enablestring" = xdisable; then
10172 defaultval=yes
10173 else
10174 defaultval=no
10175 fi
10176 fi
10177
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10180 # Check whether --enable-filepicker was given.
10181 if test "${enable_filepicker+set}" = set; then
10182 enableval=$enable_filepicker;
10183 if test "$enableval" = yes; then
10184 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10185 else
10186 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10187 fi
10188
10189 else
10190
10191 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10192
10193 fi
10194
10195
10196 eval "$wx_cv_use_filepicker"
10197
10198 if test x"$enablestring" = xdisable; then
10199 if test $wxUSE_FILEPICKERCTRL = yes; then
10200 result=no
10201 else
10202 result=yes
10203 fi
10204 else
10205 result=$wxUSE_FILEPICKERCTRL
10206 fi
10207
10208 { echo "$as_me:$LINENO: result: $result" >&5
10209 echo "${ECHO_T}$result" >&6; }
10210
10211
10212 enablestring=
10213 defaultval=$wxUSE_ALL_FEATURES
10214 if test -z "$defaultval"; then
10215 if test x"$enablestring" = xdisable; then
10216 defaultval=yes
10217 else
10218 defaultval=no
10219 fi
10220 fi
10221
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10224 # Check whether --enable-filectrl was given.
10225 if test "${enable_filectrl+set}" = set; then
10226 enableval=$enable_filectrl;
10227 if test "$enableval" = yes; then
10228 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10229 else
10230 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10231 fi
10232
10233 else
10234
10235 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10236
10237 fi
10238
10239
10240 eval "$wx_cv_use_filectrl"
10241
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_FILECTRL = yes; then
10244 result=no
10245 else
10246 result=yes
10247 fi
10248 else
10249 result=$wxUSE_FILECTRL
10250 fi
10251
10252 { echo "$as_me:$LINENO: result: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10254
10255
10256 enablestring=
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10260 defaultval=yes
10261 else
10262 defaultval=no
10263 fi
10264 fi
10265
10266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10267 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10268 # Check whether --enable-fontpicker was given.
10269 if test "${enable_fontpicker+set}" = set; then
10270 enableval=$enable_fontpicker;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10273 else
10274 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10275 fi
10276
10277 else
10278
10279 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10280
10281 fi
10282
10283
10284 eval "$wx_cv_use_fontpicker"
10285
10286 if test x"$enablestring" = xdisable; then
10287 if test $wxUSE_FONTPICKERCTRL = yes; then
10288 result=no
10289 else
10290 result=yes
10291 fi
10292 else
10293 result=$wxUSE_FONTPICKERCTRL
10294 fi
10295
10296 { echo "$as_me:$LINENO: result: $result" >&5
10297 echo "${ECHO_T}$result" >&6; }
10298
10299
10300 enablestring=
10301 defaultval=$wxUSE_ALL_FEATURES
10302 if test -z "$defaultval"; then
10303 if test x"$enablestring" = xdisable; then
10304 defaultval=yes
10305 else
10306 defaultval=no
10307 fi
10308 fi
10309
10310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10311 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10312 # Check whether --enable-gauge was given.
10313 if test "${enable_gauge+set}" = set; then
10314 enableval=$enable_gauge;
10315 if test "$enableval" = yes; then
10316 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10317 else
10318 wx_cv_use_gauge='wxUSE_GAUGE=no'
10319 fi
10320
10321 else
10322
10323 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10324
10325 fi
10326
10327
10328 eval "$wx_cv_use_gauge"
10329
10330 if test x"$enablestring" = xdisable; then
10331 if test $wxUSE_GAUGE = yes; then
10332 result=no
10333 else
10334 result=yes
10335 fi
10336 else
10337 result=$wxUSE_GAUGE
10338 fi
10339
10340 { echo "$as_me:$LINENO: result: $result" >&5
10341 echo "${ECHO_T}$result" >&6; }
10342
10343
10344 enablestring=
10345 defaultval=$wxUSE_ALL_FEATURES
10346 if test -z "$defaultval"; then
10347 if test x"$enablestring" = xdisable; then
10348 defaultval=yes
10349 else
10350 defaultval=no
10351 fi
10352 fi
10353
10354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10356 # Check whether --enable-grid was given.
10357 if test "${enable_grid+set}" = set; then
10358 enableval=$enable_grid;
10359 if test "$enableval" = yes; then
10360 wx_cv_use_grid='wxUSE_GRID=yes'
10361 else
10362 wx_cv_use_grid='wxUSE_GRID=no'
10363 fi
10364
10365 else
10366
10367 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10368
10369 fi
10370
10371
10372 eval "$wx_cv_use_grid"
10373
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_GRID = yes; then
10376 result=no
10377 else
10378 result=yes
10379 fi
10380 else
10381 result=$wxUSE_GRID
10382 fi
10383
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10386
10387
10388 enablestring=
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10392 defaultval=yes
10393 else
10394 defaultval=no
10395 fi
10396 fi
10397
10398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10400 # Check whether --enable-dataviewctrl was given.
10401 if test "${enable_dataviewctrl+set}" = set; then
10402 enableval=$enable_dataviewctrl;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10405 else
10406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10407 fi
10408
10409 else
10410
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10412
10413 fi
10414
10415
10416 eval "$wx_cv_use_dataviewctrl"
10417
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_DATAVIEWCTRL = yes; then
10420 result=no
10421 else
10422 result=yes
10423 fi
10424 else
10425 result=$wxUSE_DATAVIEWCTRL
10426 fi
10427
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10430
10431
10432 enablestring=
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10436 defaultval=yes
10437 else
10438 defaultval=no
10439 fi
10440 fi
10441
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10444 # Check whether --enable-hyperlink was given.
10445 if test "${enable_hyperlink+set}" = set; then
10446 enableval=$enable_hyperlink;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10449 else
10450 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10451 fi
10452
10453 else
10454
10455 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10456
10457 fi
10458
10459
10460 eval "$wx_cv_use_hyperlink"
10461
10462 if test x"$enablestring" = xdisable; then
10463 if test $wxUSE_HYPERLINKCTRL = yes; then
10464 result=no
10465 else
10466 result=yes
10467 fi
10468 else
10469 result=$wxUSE_HYPERLINKCTRL
10470 fi
10471
10472 { echo "$as_me:$LINENO: result: $result" >&5
10473 echo "${ECHO_T}$result" >&6; }
10474
10475
10476 enablestring=
10477 defaultval=$wxUSE_ALL_FEATURES
10478 if test -z "$defaultval"; then
10479 if test x"$enablestring" = xdisable; then
10480 defaultval=yes
10481 else
10482 defaultval=no
10483 fi
10484 fi
10485
10486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10487 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10488 # Check whether --enable-imaglist was given.
10489 if test "${enable_imaglist+set}" = set; then
10490 enableval=$enable_imaglist;
10491 if test "$enableval" = yes; then
10492 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10493 else
10494 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10495 fi
10496
10497 else
10498
10499 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10500
10501 fi
10502
10503
10504 eval "$wx_cv_use_imaglist"
10505
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_IMAGLIST = yes; then
10508 result=no
10509 else
10510 result=yes
10511 fi
10512 else
10513 result=$wxUSE_IMAGLIST
10514 fi
10515
10516 { echo "$as_me:$LINENO: result: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10518
10519
10520 enablestring=
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10524 defaultval=yes
10525 else
10526 defaultval=no
10527 fi
10528 fi
10529
10530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10532 # Check whether --enable-listbook was given.
10533 if test "${enable_listbook+set}" = set; then
10534 enableval=$enable_listbook;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10537 else
10538 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10539 fi
10540
10541 else
10542
10543 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10544
10545 fi
10546
10547
10548 eval "$wx_cv_use_listbook"
10549
10550 if test x"$enablestring" = xdisable; then
10551 if test $wxUSE_LISTBOOK = yes; then
10552 result=no
10553 else
10554 result=yes
10555 fi
10556 else
10557 result=$wxUSE_LISTBOOK
10558 fi
10559
10560 { echo "$as_me:$LINENO: result: $result" >&5
10561 echo "${ECHO_T}$result" >&6; }
10562
10563
10564 enablestring=
10565 defaultval=$wxUSE_ALL_FEATURES
10566 if test -z "$defaultval"; then
10567 if test x"$enablestring" = xdisable; then
10568 defaultval=yes
10569 else
10570 defaultval=no
10571 fi
10572 fi
10573
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10576 # Check whether --enable-listbox was given.
10577 if test "${enable_listbox+set}" = set; then
10578 enableval=$enable_listbox;
10579 if test "$enableval" = yes; then
10580 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10581 else
10582 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10583 fi
10584
10585 else
10586
10587 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10588
10589 fi
10590
10591
10592 eval "$wx_cv_use_listbox"
10593
10594 if test x"$enablestring" = xdisable; then
10595 if test $wxUSE_LISTBOX = yes; then
10596 result=no
10597 else
10598 result=yes
10599 fi
10600 else
10601 result=$wxUSE_LISTBOX
10602 fi
10603
10604 { echo "$as_me:$LINENO: result: $result" >&5
10605 echo "${ECHO_T}$result" >&6; }
10606
10607
10608 enablestring=
10609 defaultval=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x"$enablestring" = xdisable; then
10612 defaultval=yes
10613 else
10614 defaultval=no
10615 fi
10616 fi
10617
10618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10620 # Check whether --enable-listctrl was given.
10621 if test "${enable_listctrl+set}" = set; then
10622 enableval=$enable_listctrl;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10625 else
10626 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10627 fi
10628
10629 else
10630
10631 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10632
10633 fi
10634
10635
10636 eval "$wx_cv_use_listctrl"
10637
10638 if test x"$enablestring" = xdisable; then
10639 if test $wxUSE_LISTCTRL = yes; then
10640 result=no
10641 else
10642 result=yes
10643 fi
10644 else
10645 result=$wxUSE_LISTCTRL
10646 fi
10647
10648 { echo "$as_me:$LINENO: result: $result" >&5
10649 echo "${ECHO_T}$result" >&6; }
10650
10651
10652 enablestring=
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10656 defaultval=yes
10657 else
10658 defaultval=no
10659 fi
10660 fi
10661
10662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10663 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10664 # Check whether --enable-notebook was given.
10665 if test "${enable_notebook+set}" = set; then
10666 enableval=$enable_notebook;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10669 else
10670 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10671 fi
10672
10673 else
10674
10675 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10676
10677 fi
10678
10679
10680 eval "$wx_cv_use_notebook"
10681
10682 if test x"$enablestring" = xdisable; then
10683 if test $wxUSE_NOTEBOOK = yes; then
10684 result=no
10685 else
10686 result=yes
10687 fi
10688 else
10689 result=$wxUSE_NOTEBOOK
10690 fi
10691
10692 { echo "$as_me:$LINENO: result: $result" >&5
10693 echo "${ECHO_T}$result" >&6; }
10694
10695
10696 enablestring=
10697 defaultval=$wxUSE_ALL_FEATURES
10698 if test -z "$defaultval"; then
10699 if test x"$enablestring" = xdisable; then
10700 defaultval=yes
10701 else
10702 defaultval=no
10703 fi
10704 fi
10705
10706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10708 # Check whether --enable-notifmsg was given.
10709 if test "${enable_notifmsg+set}" = set; then
10710 enableval=$enable_notifmsg;
10711 if test "$enableval" = yes; then
10712 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10713 else
10714 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10715 fi
10716
10717 else
10718
10719 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10720
10721 fi
10722
10723
10724 eval "$wx_cv_use_notifmsg"
10725
10726 if test x"$enablestring" = xdisable; then
10727 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10728 result=no
10729 else
10730 result=yes
10731 fi
10732 else
10733 result=$wxUSE_NOTIFICATION_MESSAGE
10734 fi
10735
10736 { echo "$as_me:$LINENO: result: $result" >&5
10737 echo "${ECHO_T}$result" >&6; }
10738
10739
10740 enablestring=
10741 defaultval=$wxUSE_ALL_FEATURES
10742 if test -z "$defaultval"; then
10743 if test x"$enablestring" = xdisable; then
10744 defaultval=yes
10745 else
10746 defaultval=no
10747 fi
10748 fi
10749
10750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10752 # Check whether --enable-odcombobox was given.
10753 if test "${enable_odcombobox+set}" = set; then
10754 enableval=$enable_odcombobox;
10755 if test "$enableval" = yes; then
10756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10757 else
10758 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10759 fi
10760
10761 else
10762
10763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10764
10765 fi
10766
10767
10768 eval "$wx_cv_use_odcombobox"
10769
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_ODCOMBOBOX = yes; then
10772 result=no
10773 else
10774 result=yes
10775 fi
10776 else
10777 result=$wxUSE_ODCOMBOBOX
10778 fi
10779
10780 { echo "$as_me:$LINENO: result: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10782
10783
10784 enablestring=
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10788 defaultval=yes
10789 else
10790 defaultval=no
10791 fi
10792 fi
10793
10794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10795 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10796 # Check whether --enable-radiobox was given.
10797 if test "${enable_radiobox+set}" = set; then
10798 enableval=$enable_radiobox;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10801 else
10802 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10803 fi
10804
10805 else
10806
10807 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10808
10809 fi
10810
10811
10812 eval "$wx_cv_use_radiobox"
10813
10814 if test x"$enablestring" = xdisable; then
10815 if test $wxUSE_RADIOBOX = yes; then
10816 result=no
10817 else
10818 result=yes
10819 fi
10820 else
10821 result=$wxUSE_RADIOBOX
10822 fi
10823
10824 { echo "$as_me:$LINENO: result: $result" >&5
10825 echo "${ECHO_T}$result" >&6; }
10826
10827
10828 enablestring=
10829 defaultval=$wxUSE_ALL_FEATURES
10830 if test -z "$defaultval"; then
10831 if test x"$enablestring" = xdisable; then
10832 defaultval=yes
10833 else
10834 defaultval=no
10835 fi
10836 fi
10837
10838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10839 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10840 # Check whether --enable-radiobtn was given.
10841 if test "${enable_radiobtn+set}" = set; then
10842 enableval=$enable_radiobtn;
10843 if test "$enableval" = yes; then
10844 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10845 else
10846 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10847 fi
10848
10849 else
10850
10851 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10852
10853 fi
10854
10855
10856 eval "$wx_cv_use_radiobtn"
10857
10858 if test x"$enablestring" = xdisable; then
10859 if test $wxUSE_RADIOBTN = yes; then
10860 result=no
10861 else
10862 result=yes
10863 fi
10864 else
10865 result=$wxUSE_RADIOBTN
10866 fi
10867
10868 { echo "$as_me:$LINENO: result: $result" >&5
10869 echo "${ECHO_T}$result" >&6; }
10870
10871
10872 enablestring=
10873 defaultval=$wxUSE_ALL_FEATURES
10874 if test -z "$defaultval"; then
10875 if test x"$enablestring" = xdisable; then
10876 defaultval=yes
10877 else
10878 defaultval=no
10879 fi
10880 fi
10881
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10884 # Check whether --enable-sash was given.
10885 if test "${enable_sash+set}" = set; then
10886 enableval=$enable_sash;
10887 if test "$enableval" = yes; then
10888 wx_cv_use_sash='wxUSE_SASH=yes'
10889 else
10890 wx_cv_use_sash='wxUSE_SASH=no'
10891 fi
10892
10893 else
10894
10895 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10896
10897 fi
10898
10899
10900 eval "$wx_cv_use_sash"
10901
10902 if test x"$enablestring" = xdisable; then
10903 if test $wxUSE_SASH = yes; then
10904 result=no
10905 else
10906 result=yes
10907 fi
10908 else
10909 result=$wxUSE_SASH
10910 fi
10911
10912 { echo "$as_me:$LINENO: result: $result" >&5
10913 echo "${ECHO_T}$result" >&6; }
10914
10915
10916 enablestring=
10917 defaultval=$wxUSE_ALL_FEATURES
10918 if test -z "$defaultval"; then
10919 if test x"$enablestring" = xdisable; then
10920 defaultval=yes
10921 else
10922 defaultval=no
10923 fi
10924 fi
10925
10926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10927 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10928 # Check whether --enable-scrollbar was given.
10929 if test "${enable_scrollbar+set}" = set; then
10930 enableval=$enable_scrollbar;
10931 if test "$enableval" = yes; then
10932 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10933 else
10934 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10935 fi
10936
10937 else
10938
10939 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10940
10941 fi
10942
10943
10944 eval "$wx_cv_use_scrollbar"
10945
10946 if test x"$enablestring" = xdisable; then
10947 if test $wxUSE_SCROLLBAR = yes; then
10948 result=no
10949 else
10950 result=yes
10951 fi
10952 else
10953 result=$wxUSE_SCROLLBAR
10954 fi
10955
10956 { echo "$as_me:$LINENO: result: $result" >&5
10957 echo "${ECHO_T}$result" >&6; }
10958
10959
10960 enablestring=
10961 defaultval=$wxUSE_ALL_FEATURES
10962 if test -z "$defaultval"; then
10963 if test x"$enablestring" = xdisable; then
10964 defaultval=yes
10965 else
10966 defaultval=no
10967 fi
10968 fi
10969
10970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10971 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10972 # Check whether --enable-searchctrl was given.
10973 if test "${enable_searchctrl+set}" = set; then
10974 enableval=$enable_searchctrl;
10975 if test "$enableval" = yes; then
10976 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10977 else
10978 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10979 fi
10980
10981 else
10982
10983 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10984
10985 fi
10986
10987
10988 eval "$wx_cv_use_searchctrl"
10989
10990 if test x"$enablestring" = xdisable; then
10991 if test $wxUSE_SEARCHCTRL = yes; then
10992 result=no
10993 else
10994 result=yes
10995 fi
10996 else
10997 result=$wxUSE_SEARCHCTRL
10998 fi
10999
11000 { echo "$as_me:$LINENO: result: $result" >&5
11001 echo "${ECHO_T}$result" >&6; }
11002
11003
11004 enablestring=
11005 defaultval=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x"$enablestring" = xdisable; then
11008 defaultval=yes
11009 else
11010 defaultval=no
11011 fi
11012 fi
11013
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11016 # Check whether --enable-slider was given.
11017 if test "${enable_slider+set}" = set; then
11018 enableval=$enable_slider;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_slider='wxUSE_SLIDER=yes'
11021 else
11022 wx_cv_use_slider='wxUSE_SLIDER=no'
11023 fi
11024
11025 else
11026
11027 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11028
11029 fi
11030
11031
11032 eval "$wx_cv_use_slider"
11033
11034 if test x"$enablestring" = xdisable; then
11035 if test $wxUSE_SLIDER = yes; then
11036 result=no
11037 else
11038 result=yes
11039 fi
11040 else
11041 result=$wxUSE_SLIDER
11042 fi
11043
11044 { echo "$as_me:$LINENO: result: $result" >&5
11045 echo "${ECHO_T}$result" >&6; }
11046
11047
11048 enablestring=
11049 defaultval=$wxUSE_ALL_FEATURES
11050 if test -z "$defaultval"; then
11051 if test x"$enablestring" = xdisable; then
11052 defaultval=yes
11053 else
11054 defaultval=no
11055 fi
11056 fi
11057
11058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11060 # Check whether --enable-spinbtn was given.
11061 if test "${enable_spinbtn+set}" = set; then
11062 enableval=$enable_spinbtn;
11063 if test "$enableval" = yes; then
11064 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11065 else
11066 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11067 fi
11068
11069 else
11070
11071 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11072
11073 fi
11074
11075
11076 eval "$wx_cv_use_spinbtn"
11077
11078 if test x"$enablestring" = xdisable; then
11079 if test $wxUSE_SPINBTN = yes; then
11080 result=no
11081 else
11082 result=yes
11083 fi
11084 else
11085 result=$wxUSE_SPINBTN
11086 fi
11087
11088 { echo "$as_me:$LINENO: result: $result" >&5
11089 echo "${ECHO_T}$result" >&6; }
11090
11091
11092 enablestring=
11093 defaultval=$wxUSE_ALL_FEATURES
11094 if test -z "$defaultval"; then
11095 if test x"$enablestring" = xdisable; then
11096 defaultval=yes
11097 else
11098 defaultval=no
11099 fi
11100 fi
11101
11102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11104 # Check whether --enable-spinctrl was given.
11105 if test "${enable_spinctrl+set}" = set; then
11106 enableval=$enable_spinctrl;
11107 if test "$enableval" = yes; then
11108 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11109 else
11110 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11111 fi
11112
11113 else
11114
11115 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11116
11117 fi
11118
11119
11120 eval "$wx_cv_use_spinctrl"
11121
11122 if test x"$enablestring" = xdisable; then
11123 if test $wxUSE_SPINCTRL = yes; then
11124 result=no
11125 else
11126 result=yes
11127 fi
11128 else
11129 result=$wxUSE_SPINCTRL
11130 fi
11131
11132 { echo "$as_me:$LINENO: result: $result" >&5
11133 echo "${ECHO_T}$result" >&6; }
11134
11135
11136 enablestring=
11137 defaultval=$wxUSE_ALL_FEATURES
11138 if test -z "$defaultval"; then
11139 if test x"$enablestring" = xdisable; then
11140 defaultval=yes
11141 else
11142 defaultval=no
11143 fi
11144 fi
11145
11146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11147 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11148 # Check whether --enable-splitter was given.
11149 if test "${enable_splitter+set}" = set; then
11150 enableval=$enable_splitter;
11151 if test "$enableval" = yes; then
11152 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11153 else
11154 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11155 fi
11156
11157 else
11158
11159 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11160
11161 fi
11162
11163
11164 eval "$wx_cv_use_splitter"
11165
11166 if test x"$enablestring" = xdisable; then
11167 if test $wxUSE_SPLITTER = yes; then
11168 result=no
11169 else
11170 result=yes
11171 fi
11172 else
11173 result=$wxUSE_SPLITTER
11174 fi
11175
11176 { echo "$as_me:$LINENO: result: $result" >&5
11177 echo "${ECHO_T}$result" >&6; }
11178
11179
11180 enablestring=
11181 defaultval=$wxUSE_ALL_FEATURES
11182 if test -z "$defaultval"; then
11183 if test x"$enablestring" = xdisable; then
11184 defaultval=yes
11185 else
11186 defaultval=no
11187 fi
11188 fi
11189
11190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11191 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11192 # Check whether --enable-statbmp was given.
11193 if test "${enable_statbmp+set}" = set; then
11194 enableval=$enable_statbmp;
11195 if test "$enableval" = yes; then
11196 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11197 else
11198 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11199 fi
11200
11201 else
11202
11203 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11204
11205 fi
11206
11207
11208 eval "$wx_cv_use_statbmp"
11209
11210 if test x"$enablestring" = xdisable; then
11211 if test $wxUSE_STATBMP = yes; then
11212 result=no
11213 else
11214 result=yes
11215 fi
11216 else
11217 result=$wxUSE_STATBMP
11218 fi
11219
11220 { echo "$as_me:$LINENO: result: $result" >&5
11221 echo "${ECHO_T}$result" >&6; }
11222
11223
11224 enablestring=
11225 defaultval=$wxUSE_ALL_FEATURES
11226 if test -z "$defaultval"; then
11227 if test x"$enablestring" = xdisable; then
11228 defaultval=yes
11229 else
11230 defaultval=no
11231 fi
11232 fi
11233
11234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11235 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11236 # Check whether --enable-statbox was given.
11237 if test "${enable_statbox+set}" = set; then
11238 enableval=$enable_statbox;
11239 if test "$enableval" = yes; then
11240 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11241 else
11242 wx_cv_use_statbox='wxUSE_STATBOX=no'
11243 fi
11244
11245 else
11246
11247 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11248
11249 fi
11250
11251
11252 eval "$wx_cv_use_statbox"
11253
11254 if test x"$enablestring" = xdisable; then
11255 if test $wxUSE_STATBOX = yes; then
11256 result=no
11257 else
11258 result=yes
11259 fi
11260 else
11261 result=$wxUSE_STATBOX
11262 fi
11263
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11266
11267
11268 enablestring=
11269 defaultval=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x"$enablestring" = xdisable; then
11272 defaultval=yes
11273 else
11274 defaultval=no
11275 fi
11276 fi
11277
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11280 # Check whether --enable-statline was given.
11281 if test "${enable_statline+set}" = set; then
11282 enableval=$enable_statline;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_statline='wxUSE_STATLINE=yes'
11285 else
11286 wx_cv_use_statline='wxUSE_STATLINE=no'
11287 fi
11288
11289 else
11290
11291 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11292
11293 fi
11294
11295
11296 eval "$wx_cv_use_statline"
11297
11298 if test x"$enablestring" = xdisable; then
11299 if test $wxUSE_STATLINE = yes; then
11300 result=no
11301 else
11302 result=yes
11303 fi
11304 else
11305 result=$wxUSE_STATLINE
11306 fi
11307
11308 { echo "$as_me:$LINENO: result: $result" >&5
11309 echo "${ECHO_T}$result" >&6; }
11310
11311
11312 enablestring=
11313 defaultval=$wxUSE_ALL_FEATURES
11314 if test -z "$defaultval"; then
11315 if test x"$enablestring" = xdisable; then
11316 defaultval=yes
11317 else
11318 defaultval=no
11319 fi
11320 fi
11321
11322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11323 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11324 # Check whether --enable-stattext was given.
11325 if test "${enable_stattext+set}" = set; then
11326 enableval=$enable_stattext;
11327 if test "$enableval" = yes; then
11328 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11329 else
11330 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11331 fi
11332
11333 else
11334
11335 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11336
11337 fi
11338
11339
11340 eval "$wx_cv_use_stattext"
11341
11342 if test x"$enablestring" = xdisable; then
11343 if test $wxUSE_STATTEXT = yes; then
11344 result=no
11345 else
11346 result=yes
11347 fi
11348 else
11349 result=$wxUSE_STATTEXT
11350 fi
11351
11352 { echo "$as_me:$LINENO: result: $result" >&5
11353 echo "${ECHO_T}$result" >&6; }
11354
11355
11356 enablestring=
11357 defaultval=$wxUSE_ALL_FEATURES
11358 if test -z "$defaultval"; then
11359 if test x"$enablestring" = xdisable; then
11360 defaultval=yes
11361 else
11362 defaultval=no
11363 fi
11364 fi
11365
11366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11367 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11368 # Check whether --enable-statusbar was given.
11369 if test "${enable_statusbar+set}" = set; then
11370 enableval=$enable_statusbar;
11371 if test "$enableval" = yes; then
11372 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11373 else
11374 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11375 fi
11376
11377 else
11378
11379 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11380
11381 fi
11382
11383
11384 eval "$wx_cv_use_statusbar"
11385
11386 if test x"$enablestring" = xdisable; then
11387 if test $wxUSE_STATUSBAR = yes; then
11388 result=no
11389 else
11390 result=yes
11391 fi
11392 else
11393 result=$wxUSE_STATUSBAR
11394 fi
11395
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11398
11399
11400 enablestring=
11401 defaultval=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x"$enablestring" = xdisable; then
11404 defaultval=yes
11405 else
11406 defaultval=no
11407 fi
11408 fi
11409
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11412 # Check whether --enable-tabdialog was given.
11413 if test "${enable_tabdialog+set}" = set; then
11414 enableval=$enable_tabdialog;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11417 else
11418 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11419 fi
11420
11421 else
11422
11423 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11424
11425 fi
11426
11427
11428 eval "$wx_cv_use_tabdialog"
11429
11430 if test x"$enablestring" = xdisable; then
11431 if test $wxUSE_TAB_DIALOG = yes; then
11432 result=no
11433 else
11434 result=yes
11435 fi
11436 else
11437 result=$wxUSE_TAB_DIALOG
11438 fi
11439
11440 { echo "$as_me:$LINENO: result: $result" >&5
11441 echo "${ECHO_T}$result" >&6; }
11442
11443
11444 enablestring=
11445 defaultval=$wxUSE_ALL_FEATURES
11446 if test -z "$defaultval"; then
11447 if test x"$enablestring" = xdisable; then
11448 defaultval=yes
11449 else
11450 defaultval=no
11451 fi
11452 fi
11453
11454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11455 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11456 # Check whether --enable-taskbaricon was given.
11457 if test "${enable_taskbaricon+set}" = set; then
11458 enableval=$enable_taskbaricon;
11459 if test "$enableval" = yes; then
11460 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11461 else
11462 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11463 fi
11464
11465 else
11466
11467 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11468
11469 fi
11470
11471
11472 eval "$wx_cv_use_taskbaricon"
11473
11474 if test x"$enablestring" = xdisable; then
11475 if test $wxUSE_TASKBARICON = yes; then
11476 result=no
11477 else
11478 result=yes
11479 fi
11480 else
11481 result=$wxUSE_TASKBARICON
11482 fi
11483
11484 { echo "$as_me:$LINENO: result: $result" >&5
11485 echo "${ECHO_T}$result" >&6; }
11486
11487
11488 enablestring=
11489 defaultval=$wxUSE_ALL_FEATURES
11490 if test -z "$defaultval"; then
11491 if test x"$enablestring" = xdisable; then
11492 defaultval=yes
11493 else
11494 defaultval=no
11495 fi
11496 fi
11497
11498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11499 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11500 # Check whether --enable-textctrl was given.
11501 if test "${enable_textctrl+set}" = set; then
11502 enableval=$enable_textctrl;
11503 if test "$enableval" = yes; then
11504 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11505 else
11506 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11507 fi
11508
11509 else
11510
11511 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11512
11513 fi
11514
11515
11516 eval "$wx_cv_use_textctrl"
11517
11518 if test x"$enablestring" = xdisable; then
11519 if test $wxUSE_TEXTCTRL = yes; then
11520 result=no
11521 else
11522 result=yes
11523 fi
11524 else
11525 result=$wxUSE_TEXTCTRL
11526 fi
11527
11528 { echo "$as_me:$LINENO: result: $result" >&5
11529 echo "${ECHO_T}$result" >&6; }
11530
11531
11532 enablestring=
11533 defaultval=$wxUSE_ALL_FEATURES
11534 if test -z "$defaultval"; then
11535 if test x"$enablestring" = xdisable; then
11536 defaultval=yes
11537 else
11538 defaultval=no
11539 fi
11540 fi
11541
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11544 # Check whether --enable-togglebtn was given.
11545 if test "${enable_togglebtn+set}" = set; then
11546 enableval=$enable_togglebtn;
11547 if test "$enableval" = yes; then
11548 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11549 else
11550 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11551 fi
11552
11553 else
11554
11555 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11556
11557 fi
11558
11559
11560 eval "$wx_cv_use_togglebtn"
11561
11562 if test x"$enablestring" = xdisable; then
11563 if test $wxUSE_TOGGLEBTN = yes; then
11564 result=no
11565 else
11566 result=yes
11567 fi
11568 else
11569 result=$wxUSE_TOGGLEBTN
11570 fi
11571
11572 { echo "$as_me:$LINENO: result: $result" >&5
11573 echo "${ECHO_T}$result" >&6; }
11574
11575
11576 enablestring=
11577 defaultval=$wxUSE_ALL_FEATURES
11578 if test -z "$defaultval"; then
11579 if test x"$enablestring" = xdisable; then
11580 defaultval=yes
11581 else
11582 defaultval=no
11583 fi
11584 fi
11585
11586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11587 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11588 # Check whether --enable-toolbar was given.
11589 if test "${enable_toolbar+set}" = set; then
11590 enableval=$enable_toolbar;
11591 if test "$enableval" = yes; then
11592 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11593 else
11594 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11595 fi
11596
11597 else
11598
11599 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11600
11601 fi
11602
11603
11604 eval "$wx_cv_use_toolbar"
11605
11606 if test x"$enablestring" = xdisable; then
11607 if test $wxUSE_TOOLBAR = yes; then
11608 result=no
11609 else
11610 result=yes
11611 fi
11612 else
11613 result=$wxUSE_TOOLBAR
11614 fi
11615
11616 { echo "$as_me:$LINENO: result: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11618
11619
11620 enablestring=
11621 defaultval=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x"$enablestring" = xdisable; then
11624 defaultval=yes
11625 else
11626 defaultval=no
11627 fi
11628 fi
11629
11630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11631 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11632 # Check whether --enable-tbarnative was given.
11633 if test "${enable_tbarnative+set}" = set; then
11634 enableval=$enable_tbarnative;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11637 else
11638 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11639 fi
11640
11641 else
11642
11643 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11644
11645 fi
11646
11647
11648 eval "$wx_cv_use_tbarnative"
11649
11650 if test x"$enablestring" = xdisable; then
11651 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11652 result=no
11653 else
11654 result=yes
11655 fi
11656 else
11657 result=$wxUSE_TOOLBAR_NATIVE
11658 fi
11659
11660 { echo "$as_me:$LINENO: result: $result" >&5
11661 echo "${ECHO_T}$result" >&6; }
11662
11663
11664 enablestring=
11665 defaultval=$wxUSE_ALL_FEATURES
11666 if test -z "$defaultval"; then
11667 if test x"$enablestring" = xdisable; then
11668 defaultval=yes
11669 else
11670 defaultval=no
11671 fi
11672 fi
11673
11674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11675 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11676 # Check whether --enable-treebook was given.
11677 if test "${enable_treebook+set}" = set; then
11678 enableval=$enable_treebook;
11679 if test "$enableval" = yes; then
11680 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11681 else
11682 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11683 fi
11684
11685 else
11686
11687 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11688
11689 fi
11690
11691
11692 eval "$wx_cv_use_treebook"
11693
11694 if test x"$enablestring" = xdisable; then
11695 if test $wxUSE_TREEBOOK = yes; then
11696 result=no
11697 else
11698 result=yes
11699 fi
11700 else
11701 result=$wxUSE_TREEBOOK
11702 fi
11703
11704 { echo "$as_me:$LINENO: result: $result" >&5
11705 echo "${ECHO_T}$result" >&6; }
11706
11707
11708 enablestring=
11709 defaultval=$wxUSE_ALL_FEATURES
11710 if test -z "$defaultval"; then
11711 if test x"$enablestring" = xdisable; then
11712 defaultval=yes
11713 else
11714 defaultval=no
11715 fi
11716 fi
11717
11718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11719 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11720 # Check whether --enable-toolbook was given.
11721 if test "${enable_toolbook+set}" = set; then
11722 enableval=$enable_toolbook;
11723 if test "$enableval" = yes; then
11724 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11725 else
11726 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11727 fi
11728
11729 else
11730
11731 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11732
11733 fi
11734
11735
11736 eval "$wx_cv_use_toolbook"
11737
11738 if test x"$enablestring" = xdisable; then
11739 if test $wxUSE_TOOLBOOK = yes; then
11740 result=no
11741 else
11742 result=yes
11743 fi
11744 else
11745 result=$wxUSE_TOOLBOOK
11746 fi
11747
11748 { echo "$as_me:$LINENO: result: $result" >&5
11749 echo "${ECHO_T}$result" >&6; }
11750
11751
11752 enablestring=
11753 defaultval=$wxUSE_ALL_FEATURES
11754 if test -z "$defaultval"; then
11755 if test x"$enablestring" = xdisable; then
11756 defaultval=yes
11757 else
11758 defaultval=no
11759 fi
11760 fi
11761
11762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11763 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11764 # Check whether --enable-treectrl was given.
11765 if test "${enable_treectrl+set}" = set; then
11766 enableval=$enable_treectrl;
11767 if test "$enableval" = yes; then
11768 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11769 else
11770 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11771 fi
11772
11773 else
11774
11775 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11776
11777 fi
11778
11779
11780 eval "$wx_cv_use_treectrl"
11781
11782 if test x"$enablestring" = xdisable; then
11783 if test $wxUSE_TREECTRL = yes; then
11784 result=no
11785 else
11786 result=yes
11787 fi
11788 else
11789 result=$wxUSE_TREECTRL
11790 fi
11791
11792 { echo "$as_me:$LINENO: result: $result" >&5
11793 echo "${ECHO_T}$result" >&6; }
11794
11795
11796 enablestring=
11797 defaultval=$wxUSE_ALL_FEATURES
11798 if test -z "$defaultval"; then
11799 if test x"$enablestring" = xdisable; then
11800 defaultval=yes
11801 else
11802 defaultval=no
11803 fi
11804 fi
11805
11806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11807 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11808 # Check whether --enable-tipwindow was given.
11809 if test "${enable_tipwindow+set}" = set; then
11810 enableval=$enable_tipwindow;
11811 if test "$enableval" = yes; then
11812 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11813 else
11814 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11815 fi
11816
11817 else
11818
11819 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11820
11821 fi
11822
11823
11824 eval "$wx_cv_use_tipwindow"
11825
11826 if test x"$enablestring" = xdisable; then
11827 if test $wxUSE_TIPWINDOW = yes; then
11828 result=no
11829 else
11830 result=yes
11831 fi
11832 else
11833 result=$wxUSE_TIPWINDOW
11834 fi
11835
11836 { echo "$as_me:$LINENO: result: $result" >&5
11837 echo "${ECHO_T}$result" >&6; }
11838
11839
11840 enablestring=
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11844 defaultval=yes
11845 else
11846 defaultval=no
11847 fi
11848 fi
11849
11850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11851 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11852 # Check whether --enable-popupwin was given.
11853 if test "${enable_popupwin+set}" = set; then
11854 enableval=$enable_popupwin;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11857 else
11858 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11859 fi
11860
11861 else
11862
11863 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11864
11865 fi
11866
11867
11868 eval "$wx_cv_use_popupwin"
11869
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_POPUPWIN = yes; then
11872 result=no
11873 else
11874 result=yes
11875 fi
11876 else
11877 result=$wxUSE_POPUPWIN
11878 fi
11879
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11882
11883
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}-commondlg" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11898 # Check whether --enable-commondlg was given.
11899 if test "${enable_commondlg+set}" = set; then
11900 enableval=$enable_commondlg;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11903 else
11904 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11905 fi
11906
11907 else
11908
11909 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11910
11911 fi
11912
11913
11914 eval "$wx_cv_use_commondlg"
11915
11916 if test x"$enablestring" = xdisable; then
11917 if test $wxUSE_COMMONDLGS = yes; then
11918 result=no
11919 else
11920 result=yes
11921 fi
11922 else
11923 result=$wxUSE_COMMONDLGS
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}-aboutdlg" >&5
11941 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11942 # Check whether --enable-aboutdlg was given.
11943 if test "${enable_aboutdlg+set}" = set; then
11944 enableval=$enable_aboutdlg;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11947 else
11948 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11949 fi
11950
11951 else
11952
11953 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11954
11955 fi
11956
11957
11958 eval "$wx_cv_use_aboutdlg"
11959
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_ABOUTDLG = yes; then
11962 result=no
11963 else
11964 result=yes
11965 fi
11966 else
11967 result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
11985 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11986 # Check whether --enable-choicedlg was given.
11987 if test "${enable_choicedlg+set}" = set; then
11988 enableval=$enable_choicedlg;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11991 else
11992 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11993 fi
11994
11995 else
11996
11997 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
11998
11999 fi
12000
12001
12002 eval "$wx_cv_use_choicedlg"
12003
12004 if test x"$enablestring" = xdisable; then
12005 if test $wxUSE_CHOICEDLG = yes; then
12006 result=no
12007 else
12008 result=yes
12009 fi
12010 else
12011 result=$wxUSE_CHOICEDLG
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}-coldlg" >&5
12029 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12030 # Check whether --enable-coldlg was given.
12031 if test "${enable_coldlg+set}" = set; then
12032 enableval=$enable_coldlg;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12035 else
12036 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12037 fi
12038
12039 else
12040
12041 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12042
12043 fi
12044
12045
12046 eval "$wx_cv_use_coldlg"
12047
12048 if test x"$enablestring" = xdisable; then
12049 if test $wxUSE_COLOURDLG = yes; then
12050 result=no
12051 else
12052 result=yes
12053 fi
12054 else
12055 result=$wxUSE_COLOURDLG
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}-filedlg" >&5
12073 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12074 # Check whether --enable-filedlg was given.
12075 if test "${enable_filedlg+set}" = set; then
12076 enableval=$enable_filedlg;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12079 else
12080 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12081 fi
12082
12083 else
12084
12085 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12086
12087 fi
12088
12089
12090 eval "$wx_cv_use_filedlg"
12091
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_FILEDLG = yes; then
12094 result=no
12095 else
12096 result=yes
12097 fi
12098 else
12099 result=$wxUSE_FILEDLG
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}-finddlg" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12118 # Check whether --enable-finddlg was given.
12119 if test "${enable_finddlg+set}" = set; then
12120 enableval=$enable_finddlg;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12123 else
12124 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12125 fi
12126
12127 else
12128
12129 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12130
12131 fi
12132
12133
12134 eval "$wx_cv_use_finddlg"
12135
12136 if test x"$enablestring" = xdisable; then
12137 if test $wxUSE_FINDREPLDLG = yes; then
12138 result=no
12139 else
12140 result=yes
12141 fi
12142 else
12143 result=$wxUSE_FINDREPLDLG
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}-fontdlg" >&5
12161 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12162 # Check whether --enable-fontdlg was given.
12163 if test "${enable_fontdlg+set}" = set; then
12164 enableval=$enable_fontdlg;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12167 else
12168 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12169 fi
12170
12171 else
12172
12173 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12174
12175 fi
12176
12177
12178 eval "$wx_cv_use_fontdlg"
12179
12180 if test x"$enablestring" = xdisable; then
12181 if test $wxUSE_FONTDLG = yes; then
12182 result=no
12183 else
12184 result=yes
12185 fi
12186 else
12187 result=$wxUSE_FONTDLG
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}-dirdlg" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12206 # Check whether --enable-dirdlg was given.
12207 if test "${enable_dirdlg+set}" = set; then
12208 enableval=$enable_dirdlg;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12211 else
12212 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12213 fi
12214
12215 else
12216
12217 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12218
12219 fi
12220
12221
12222 eval "$wx_cv_use_dirdlg"
12223
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_DIRDLG = yes; then
12226 result=no
12227 else
12228 result=yes
12229 fi
12230 else
12231 result=$wxUSE_DIRDLG
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}-msgdlg" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12250 # Check whether --enable-msgdlg was given.
12251 if test "${enable_msgdlg+set}" = set; then
12252 enableval=$enable_msgdlg;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12255 else
12256 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12257 fi
12258
12259 else
12260
12261 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12262
12263 fi
12264
12265
12266 eval "$wx_cv_use_msgdlg"
12267
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_MSGDLG = yes; then
12270 result=no
12271 else
12272 result=yes
12273 fi
12274 else
12275 result=$wxUSE_MSGDLG
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}-numberdlg" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12294 # Check whether --enable-numberdlg was given.
12295 if test "${enable_numberdlg+set}" = set; then
12296 enableval=$enable_numberdlg;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12299 else
12300 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12301 fi
12302
12303 else
12304
12305 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12306
12307 fi
12308
12309
12310 eval "$wx_cv_use_numberdlg"
12311
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_NUMBERDLG = yes; then
12314 result=no
12315 else
12316 result=yes
12317 fi
12318 else
12319 result=$wxUSE_NUMBERDLG
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}-splash" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12338 # Check whether --enable-splash was given.
12339 if test "${enable_splash+set}" = set; then
12340 enableval=$enable_splash;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_splash='wxUSE_SPLASH=yes'
12343 else
12344 wx_cv_use_splash='wxUSE_SPLASH=no'
12345 fi
12346
12347 else
12348
12349 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12350
12351 fi
12352
12353
12354 eval "$wx_cv_use_splash"
12355
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_SPLASH = yes; then
12358 result=no
12359 else
12360 result=yes
12361 fi
12362 else
12363 result=$wxUSE_SPLASH
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}-textdlg" >&5
12381 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12382 # Check whether --enable-textdlg was given.
12383 if test "${enable_textdlg+set}" = set; then
12384 enableval=$enable_textdlg;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12387 else
12388 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12389 fi
12390
12391 else
12392
12393 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12394
12395 fi
12396
12397
12398 eval "$wx_cv_use_textdlg"
12399
12400 if test x"$enablestring" = xdisable; then
12401 if test $wxUSE_TEXTDLG = yes; then
12402 result=no
12403 else
12404 result=yes
12405 fi
12406 else
12407 result=$wxUSE_TEXTDLG
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}-tipdlg" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12426 # Check whether --enable-tipdlg was given.
12427 if test "${enable_tipdlg+set}" = set; then
12428 enableval=$enable_tipdlg;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12431 else
12432 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12433 fi
12434
12435 else
12436
12437 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12438
12439 fi
12440
12441
12442 eval "$wx_cv_use_tipdlg"
12443
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_STARTUP_TIPS = yes; then
12446 result=no
12447 else
12448 result=yes
12449 fi
12450 else
12451 result=$wxUSE_STARTUP_TIPS
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}-progressdlg" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12470 # Check whether --enable-progressdlg was given.
12471 if test "${enable_progressdlg+set}" = set; then
12472 enableval=$enable_progressdlg;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12475 else
12476 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12477 fi
12478
12479 else
12480
12481 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12482
12483 fi
12484
12485
12486 eval "$wx_cv_use_progressdlg"
12487
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_PROGRESSDLG = yes; then
12490 result=no
12491 else
12492 result=yes
12493 fi
12494 else
12495 result=$wxUSE_PROGRESSDLG
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}-wizarddlg" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12514 # Check whether --enable-wizarddlg was given.
12515 if test "${enable_wizarddlg+set}" = set; then
12516 enableval=$enable_wizarddlg;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12519 else
12520 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12521 fi
12522
12523 else
12524
12525 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12526
12527 fi
12528
12529
12530 eval "$wx_cv_use_wizarddlg"
12531
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_WIZARDDLG = yes; then
12534 result=no
12535 else
12536 result=yes
12537 fi
12538 else
12539 result=$wxUSE_WIZARDDLG
12540 fi
12541
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12544
12545
12546
12547
12548 enablestring=
12549 defaultval=$wxUSE_ALL_FEATURES
12550 if test -z "$defaultval"; then
12551 if test x"$enablestring" = xdisable; then
12552 defaultval=yes
12553 else
12554 defaultval=no
12555 fi
12556 fi
12557
12558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12559 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12560 # Check whether --enable-menus was given.
12561 if test "${enable_menus+set}" = set; then
12562 enableval=$enable_menus;
12563 if test "$enableval" = yes; then
12564 wx_cv_use_menus='wxUSE_MENUS=yes'
12565 else
12566 wx_cv_use_menus='wxUSE_MENUS=no'
12567 fi
12568
12569 else
12570
12571 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12572
12573 fi
12574
12575
12576 eval "$wx_cv_use_menus"
12577
12578 if test x"$enablestring" = xdisable; then
12579 if test $wxUSE_MENUS = yes; then
12580 result=no
12581 else
12582 result=yes
12583 fi
12584 else
12585 result=$wxUSE_MENUS
12586 fi
12587
12588 { echo "$as_me:$LINENO: result: $result" >&5
12589 echo "${ECHO_T}$result" >&6; }
12590
12591
12592 enablestring=
12593 defaultval=$wxUSE_ALL_FEATURES
12594 if test -z "$defaultval"; then
12595 if test x"$enablestring" = xdisable; then
12596 defaultval=yes
12597 else
12598 defaultval=no
12599 fi
12600 fi
12601
12602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12603 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12604 # Check whether --enable-miniframe was given.
12605 if test "${enable_miniframe+set}" = set; then
12606 enableval=$enable_miniframe;
12607 if test "$enableval" = yes; then
12608 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12609 else
12610 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12611 fi
12612
12613 else
12614
12615 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12616
12617 fi
12618
12619
12620 eval "$wx_cv_use_miniframe"
12621
12622 if test x"$enablestring" = xdisable; then
12623 if test $wxUSE_MINIFRAME = yes; then
12624 result=no
12625 else
12626 result=yes
12627 fi
12628 else
12629 result=$wxUSE_MINIFRAME
12630 fi
12631
12632 { echo "$as_me:$LINENO: result: $result" >&5
12633 echo "${ECHO_T}$result" >&6; }
12634
12635
12636 enablestring=
12637 defaultval=$wxUSE_ALL_FEATURES
12638 if test -z "$defaultval"; then
12639 if test x"$enablestring" = xdisable; then
12640 defaultval=yes
12641 else
12642 defaultval=no
12643 fi
12644 fi
12645
12646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12647 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12648 # Check whether --enable-tooltips was given.
12649 if test "${enable_tooltips+set}" = set; then
12650 enableval=$enable_tooltips;
12651 if test "$enableval" = yes; then
12652 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12653 else
12654 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12655 fi
12656
12657 else
12658
12659 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12660
12661 fi
12662
12663
12664 eval "$wx_cv_use_tooltips"
12665
12666 if test x"$enablestring" = xdisable; then
12667 if test $wxUSE_TOOLTIPS = yes; then
12668 result=no
12669 else
12670 result=yes
12671 fi
12672 else
12673 result=$wxUSE_TOOLTIPS
12674 fi
12675
12676 { echo "$as_me:$LINENO: result: $result" >&5
12677 echo "${ECHO_T}$result" >&6; }
12678
12679
12680 enablestring=
12681 defaultval=$wxUSE_ALL_FEATURES
12682 if test -z "$defaultval"; then
12683 if test x"$enablestring" = xdisable; then
12684 defaultval=yes
12685 else
12686 defaultval=no
12687 fi
12688 fi
12689
12690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12691 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12692 # Check whether --enable-splines was given.
12693 if test "${enable_splines+set}" = set; then
12694 enableval=$enable_splines;
12695 if test "$enableval" = yes; then
12696 wx_cv_use_splines='wxUSE_SPLINES=yes'
12697 else
12698 wx_cv_use_splines='wxUSE_SPLINES=no'
12699 fi
12700
12701 else
12702
12703 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12704
12705 fi
12706
12707
12708 eval "$wx_cv_use_splines"
12709
12710 if test x"$enablestring" = xdisable; then
12711 if test $wxUSE_SPLINES = yes; then
12712 result=no
12713 else
12714 result=yes
12715 fi
12716 else
12717 result=$wxUSE_SPLINES
12718 fi
12719
12720 { echo "$as_me:$LINENO: result: $result" >&5
12721 echo "${ECHO_T}$result" >&6; }
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}-mousewheel" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12736 # Check whether --enable-mousewheel was given.
12737 if test "${enable_mousewheel+set}" = set; then
12738 enableval=$enable_mousewheel;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12741 else
12742 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12743 fi
12744
12745 else
12746
12747 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12748
12749 fi
12750
12751
12752 eval "$wx_cv_use_mousewheel"
12753
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_MOUSEWHEEL = yes; then
12756 result=no
12757 else
12758 result=yes
12759 fi
12760 else
12761 result=$wxUSE_MOUSEWHEEL
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}-validators" >&5
12779 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12780 # Check whether --enable-validators was given.
12781 if test "${enable_validators+set}" = set; then
12782 enableval=$enable_validators;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12785 else
12786 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12787 fi
12788
12789 else
12790
12791 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12792
12793 fi
12794
12795
12796 eval "$wx_cv_use_validators"
12797
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_VALIDATORS = yes; then
12800 result=no
12801 else
12802 result=yes
12803 fi
12804 else
12805 result=$wxUSE_VALIDATORS
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}-busyinfo" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12824 # Check whether --enable-busyinfo was given.
12825 if test "${enable_busyinfo+set}" = set; then
12826 enableval=$enable_busyinfo;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12829 else
12830 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12831 fi
12832
12833 else
12834
12835 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12836
12837 fi
12838
12839
12840 eval "$wx_cv_use_busyinfo"
12841
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_BUSYINFO = yes; then
12844 result=no
12845 else
12846 result=yes
12847 fi
12848 else
12849 result=$wxUSE_BUSYINFO
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}-joystick" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12868 # Check whether --enable-joystick was given.
12869 if test "${enable_joystick+set}" = set; then
12870 enableval=$enable_joystick;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12873 else
12874 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12875 fi
12876
12877 else
12878
12879 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12880
12881 fi
12882
12883
12884 eval "$wx_cv_use_joystick"
12885
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_JOYSTICK = yes; then
12888 result=no
12889 else
12890 result=yes
12891 fi
12892 else
12893 result=$wxUSE_JOYSTICK
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}-metafile" >&5
12911 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12912 # Check whether --enable-metafile was given.
12913 if test "${enable_metafile+set}" = set; then
12914 enableval=$enable_metafile;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12917 else
12918 wx_cv_use_metafile='wxUSE_METAFILE=no'
12919 fi
12920
12921 else
12922
12923 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12924
12925 fi
12926
12927
12928 eval "$wx_cv_use_metafile"
12929
12930 if test x"$enablestring" = xdisable; then
12931 if test $wxUSE_METAFILE = yes; then
12932 result=no
12933 else
12934 result=yes
12935 fi
12936 else
12937 result=$wxUSE_METAFILE
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}-dragimage" >&5
12955 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12956 # Check whether --enable-dragimage was given.
12957 if test "${enable_dragimage+set}" = set; then
12958 enableval=$enable_dragimage;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12961 else
12962 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12963 fi
12964
12965 else
12966
12967 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12968
12969 fi
12970
12971
12972 eval "$wx_cv_use_dragimage"
12973
12974 if test x"$enablestring" = xdisable; then
12975 if test $wxUSE_DRAGIMAGE = yes; then
12976 result=no
12977 else
12978 result=yes
12979 fi
12980 else
12981 result=$wxUSE_DRAGIMAGE
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}-accessibility" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13000 # Check whether --enable-accessibility was given.
13001 if test "${enable_accessibility+set}" = set; then
13002 enableval=$enable_accessibility;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13005 else
13006 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13007 fi
13008
13009 else
13010
13011 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13012
13013 fi
13014
13015
13016 eval "$wx_cv_use_accessibility"
13017
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_ACCESSIBILITY = yes; then
13020 result=no
13021 else
13022 result=yes
13023 fi
13024 else
13025 result=$wxUSE_ACCESSIBILITY
13026 fi
13027
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13030
13031
13032
13033
13034 enablestring=
13035 defaultval=$wxUSE_ALL_FEATURES
13036 if test -z "$defaultval"; then
13037 if test x"$enablestring" = xdisable; then
13038 defaultval=yes
13039 else
13040 defaultval=no
13041 fi
13042 fi
13043
13044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13045 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13046 # Check whether --enable-palette was given.
13047 if test "${enable_palette+set}" = set; then
13048 enableval=$enable_palette;
13049 if test "$enableval" = yes; then
13050 wx_cv_use_palette='wxUSE_PALETTE=yes'
13051 else
13052 wx_cv_use_palette='wxUSE_PALETTE=no'
13053 fi
13054
13055 else
13056
13057 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13058
13059 fi
13060
13061
13062 eval "$wx_cv_use_palette"
13063
13064 if test x"$enablestring" = xdisable; then
13065 if test $wxUSE_PALETTE = yes; then
13066 result=no
13067 else
13068 result=yes
13069 fi
13070 else
13071 result=$wxUSE_PALETTE
13072 fi
13073
13074 { echo "$as_me:$LINENO: result: $result" >&5
13075 echo "${ECHO_T}$result" >&6; }
13076
13077
13078 enablestring=
13079 defaultval=$wxUSE_ALL_FEATURES
13080 if test -z "$defaultval"; then
13081 if test x"$enablestring" = xdisable; then
13082 defaultval=yes
13083 else
13084 defaultval=no
13085 fi
13086 fi
13087
13088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13089 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13090 # Check whether --enable-image was given.
13091 if test "${enable_image+set}" = set; then
13092 enableval=$enable_image;
13093 if test "$enableval" = yes; then
13094 wx_cv_use_image='wxUSE_IMAGE=yes'
13095 else
13096 wx_cv_use_image='wxUSE_IMAGE=no'
13097 fi
13098
13099 else
13100
13101 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13102
13103 fi
13104
13105
13106 eval "$wx_cv_use_image"
13107
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_IMAGE = yes; then
13110 result=no
13111 else
13112 result=yes
13113 fi
13114 else
13115 result=$wxUSE_IMAGE
13116 fi
13117
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13120
13121
13122 enablestring=
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13126 defaultval=yes
13127 else
13128 defaultval=no
13129 fi
13130 fi
13131
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13134 # Check whether --enable-gif was given.
13135 if test "${enable_gif+set}" = set; then
13136 enableval=$enable_gif;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_gif='wxUSE_GIF=yes'
13139 else
13140 wx_cv_use_gif='wxUSE_GIF=no'
13141 fi
13142
13143 else
13144
13145 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13146
13147 fi
13148
13149
13150 eval "$wx_cv_use_gif"
13151
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_GIF = yes; then
13154 result=no
13155 else
13156 result=yes
13157 fi
13158 else
13159 result=$wxUSE_GIF
13160 fi
13161
13162 { echo "$as_me:$LINENO: result: $result" >&5
13163 echo "${ECHO_T}$result" >&6; }
13164
13165
13166 enablestring=
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13170 defaultval=yes
13171 else
13172 defaultval=no
13173 fi
13174 fi
13175
13176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13178 # Check whether --enable-pcx was given.
13179 if test "${enable_pcx+set}" = set; then
13180 enableval=$enable_pcx;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_pcx='wxUSE_PCX=yes'
13183 else
13184 wx_cv_use_pcx='wxUSE_PCX=no'
13185 fi
13186
13187 else
13188
13189 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13190
13191 fi
13192
13193
13194 eval "$wx_cv_use_pcx"
13195
13196 if test x"$enablestring" = xdisable; then
13197 if test $wxUSE_PCX = yes; then
13198 result=no
13199 else
13200 result=yes
13201 fi
13202 else
13203 result=$wxUSE_PCX
13204 fi
13205
13206 { echo "$as_me:$LINENO: result: $result" >&5
13207 echo "${ECHO_T}$result" >&6; }
13208
13209
13210 enablestring=
13211 defaultval=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x"$enablestring" = xdisable; then
13214 defaultval=yes
13215 else
13216 defaultval=no
13217 fi
13218 fi
13219
13220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13221 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13222 # Check whether --enable-tga was given.
13223 if test "${enable_tga+set}" = set; then
13224 enableval=$enable_tga;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_tga='wxUSE_TGA=yes'
13227 else
13228 wx_cv_use_tga='wxUSE_TGA=no'
13229 fi
13230
13231 else
13232
13233 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13234
13235 fi
13236
13237
13238 eval "$wx_cv_use_tga"
13239
13240 if test x"$enablestring" = xdisable; then
13241 if test $wxUSE_TGA = yes; then
13242 result=no
13243 else
13244 result=yes
13245 fi
13246 else
13247 result=$wxUSE_TGA
13248 fi
13249
13250 { echo "$as_me:$LINENO: result: $result" >&5
13251 echo "${ECHO_T}$result" >&6; }
13252
13253
13254 enablestring=
13255 defaultval=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x"$enablestring" = xdisable; then
13258 defaultval=yes
13259 else
13260 defaultval=no
13261 fi
13262 fi
13263
13264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13265 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13266 # Check whether --enable-iff was given.
13267 if test "${enable_iff+set}" = set; then
13268 enableval=$enable_iff;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_iff='wxUSE_IFF=yes'
13271 else
13272 wx_cv_use_iff='wxUSE_IFF=no'
13273 fi
13274
13275 else
13276
13277 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13278
13279 fi
13280
13281
13282 eval "$wx_cv_use_iff"
13283
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_IFF = yes; then
13286 result=no
13287 else
13288 result=yes
13289 fi
13290 else
13291 result=$wxUSE_IFF
13292 fi
13293
13294 { echo "$as_me:$LINENO: result: $result" >&5
13295 echo "${ECHO_T}$result" >&6; }
13296
13297
13298 enablestring=
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13302 defaultval=yes
13303 else
13304 defaultval=no
13305 fi
13306 fi
13307
13308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13309 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13310 # Check whether --enable-pnm was given.
13311 if test "${enable_pnm+set}" = set; then
13312 enableval=$enable_pnm;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_pnm='wxUSE_PNM=yes'
13315 else
13316 wx_cv_use_pnm='wxUSE_PNM=no'
13317 fi
13318
13319 else
13320
13321 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13322
13323 fi
13324
13325
13326 eval "$wx_cv_use_pnm"
13327
13328 if test x"$enablestring" = xdisable; then
13329 if test $wxUSE_PNM = yes; then
13330 result=no
13331 else
13332 result=yes
13333 fi
13334 else
13335 result=$wxUSE_PNM
13336 fi
13337
13338 { echo "$as_me:$LINENO: result: $result" >&5
13339 echo "${ECHO_T}$result" >&6; }
13340
13341
13342 enablestring=
13343 defaultval=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x"$enablestring" = xdisable; then
13346 defaultval=yes
13347 else
13348 defaultval=no
13349 fi
13350 fi
13351
13352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13353 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13354 # Check whether --enable-xpm was given.
13355 if test "${enable_xpm+set}" = set; then
13356 enableval=$enable_xpm;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_xpm='wxUSE_XPM=yes'
13359 else
13360 wx_cv_use_xpm='wxUSE_XPM=no'
13361 fi
13362
13363 else
13364
13365 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13366
13367 fi
13368
13369
13370 eval "$wx_cv_use_xpm"
13371
13372 if test x"$enablestring" = xdisable; then
13373 if test $wxUSE_XPM = yes; then
13374 result=no
13375 else
13376 result=yes
13377 fi
13378 else
13379 result=$wxUSE_XPM
13380 fi
13381
13382 { echo "$as_me:$LINENO: result: $result" >&5
13383 echo "${ECHO_T}$result" >&6; }
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}-ico_cur" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13398 # Check whether --enable-ico_cur was given.
13399 if test "${enable_ico_cur+set}" = set; then
13400 enableval=$enable_ico_cur;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13403 else
13404 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13405 fi
13406
13407 else
13408
13409 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13410
13411 fi
13412
13413
13414 eval "$wx_cv_use_ico_cur"
13415
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_ICO_CUR = yes; then
13418 result=no
13419 else
13420 result=yes
13421 fi
13422 else
13423 result=$wxUSE_ICO_CUR
13424 fi
13425
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13428
13429
13430
13431
13432 enablestring=
13433 defaultval=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x"$enablestring" = xdisable; then
13436 defaultval=yes
13437 else
13438 defaultval=no
13439 fi
13440 fi
13441
13442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13443 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13444 # Check whether --enable-dccache was given.
13445 if test "${enable_dccache+set}" = set; then
13446 enableval=$enable_dccache;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13449 else
13450 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13451 fi
13452
13453 else
13454
13455 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13456
13457 fi
13458
13459
13460 eval "$wx_cv_use_dccache"
13461
13462 if test x"$enablestring" = xdisable; then
13463 if test $wxUSE_DC_CACHEING = yes; then
13464 result=no
13465 else
13466 result=yes
13467 fi
13468 else
13469 result=$wxUSE_DC_CACHEING
13470 fi
13471
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13474
13475
13476 enablestring=
13477 defaultval=$wxUSE_ALL_FEATURES
13478 if test -z "$defaultval"; then
13479 if test x"$enablestring" = xdisable; then
13480 defaultval=yes
13481 else
13482 defaultval=no
13483 fi
13484 fi
13485
13486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13487 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13488 # Check whether --enable-ps-in-msw was given.
13489 if test "${enable_ps_in_msw+set}" = set; then
13490 enableval=$enable_ps_in_msw;
13491 if test "$enableval" = yes; then
13492 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13493 else
13494 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13495 fi
13496
13497 else
13498
13499 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13500
13501 fi
13502
13503
13504 eval "$wx_cv_use_ps_in_msw"
13505
13506 if test x"$enablestring" = xdisable; then
13507 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13508 result=no
13509 else
13510 result=yes
13511 fi
13512 else
13513 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13514 fi
13515
13516 { echo "$as_me:$LINENO: result: $result" >&5
13517 echo "${ECHO_T}$result" >&6; }
13518
13519
13520 enablestring=
13521 defaultval=$wxUSE_ALL_FEATURES
13522 if test -z "$defaultval"; then
13523 if test x"$enablestring" = xdisable; then
13524 defaultval=yes
13525 else
13526 defaultval=no
13527 fi
13528 fi
13529
13530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13531 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13532 # Check whether --enable-ownerdrawn was given.
13533 if test "${enable_ownerdrawn+set}" = set; then
13534 enableval=$enable_ownerdrawn;
13535 if test "$enableval" = yes; then
13536 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13537 else
13538 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13539 fi
13540
13541 else
13542
13543 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13544
13545 fi
13546
13547
13548 eval "$wx_cv_use_ownerdrawn"
13549
13550 if test x"$enablestring" = xdisable; then
13551 if test $wxUSE_OWNER_DRAWN = yes; then
13552 result=no
13553 else
13554 result=yes
13555 fi
13556 else
13557 result=$wxUSE_OWNER_DRAWN
13558 fi
13559
13560 { echo "$as_me:$LINENO: result: $result" >&5
13561 echo "${ECHO_T}$result" >&6; }
13562
13563
13564 enablestring=
13565 defaultval=$wxUSE_ALL_FEATURES
13566 if test -z "$defaultval"; then
13567 if test x"$enablestring" = xdisable; then
13568 defaultval=yes
13569 else
13570 defaultval=no
13571 fi
13572 fi
13573
13574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13575 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13576 # Check whether --enable-uxtheme was given.
13577 if test "${enable_uxtheme+set}" = set; then
13578 enableval=$enable_uxtheme;
13579 if test "$enableval" = yes; then
13580 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13581 else
13582 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13583 fi
13584
13585 else
13586
13587 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13588
13589 fi
13590
13591
13592 eval "$wx_cv_use_uxtheme"
13593
13594 if test x"$enablestring" = xdisable; then
13595 if test $wxUSE_UXTHEME = yes; then
13596 result=no
13597 else
13598 result=yes
13599 fi
13600 else
13601 result=$wxUSE_UXTHEME
13602 fi
13603
13604 { echo "$as_me:$LINENO: result: $result" >&5
13605 echo "${ECHO_T}$result" >&6; }
13606
13607
13608 enablestring=
13609 defaultval=$wxUSE_ALL_FEATURES
13610 if test -z "$defaultval"; then
13611 if test x"$enablestring" = xdisable; then
13612 defaultval=yes
13613 else
13614 defaultval=no
13615 fi
13616 fi
13617
13618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13619 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13620 # Check whether --enable-wxdib was given.
13621 if test "${enable_wxdib+set}" = set; then
13622 enableval=$enable_wxdib;
13623 if test "$enableval" = yes; then
13624 wx_cv_use_wxdib='wxUSE_DIB=yes'
13625 else
13626 wx_cv_use_wxdib='wxUSE_DIB=no'
13627 fi
13628
13629 else
13630
13631 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13632
13633 fi
13634
13635
13636 eval "$wx_cv_use_wxdib"
13637
13638 if test x"$enablestring" = xdisable; then
13639 if test $wxUSE_DIB = yes; then
13640 result=no
13641 else
13642 result=yes
13643 fi
13644 else
13645 result=$wxUSE_DIB
13646 fi
13647
13648 { echo "$as_me:$LINENO: result: $result" >&5
13649 echo "${ECHO_T}$result" >&6; }
13650
13651
13652 fi
13653
13654
13655 { echo "$as_me:$LINENO: checking for toolkit" >&5
13656 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13657
13658 # In Wine, we need to default to MSW, not GTK or MOTIF
13659 if test "$wxUSE_WINE" = "yes"; then
13660 DEFAULT_DEFAULT_wxUSE_GTK=0
13661 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13662 DEFAULT_DEFAULT_wxUSE_MSW=1
13663 wxUSE_SHARED=no
13664 CC=${CC:-winegcc}
13665 CXX=${CXX:-wineg++}
13666 fi
13667
13668
13669 if test "$wxUSE_GUI" = "yes"; then
13670
13671 if test "$USE_BEOS" = 1; then
13672 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13673 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13674 { (exit 1); exit 1; }; }
13675 fi
13676
13677 if test "$TOOLKIT_GIVEN" = 1; then
13678 for toolkit in $ALL_TOOLKITS; do
13679 var=wxUSE_$toolkit
13680 eval "value=\$${var}"
13681 if test "x$value" = "xno"; then
13682 eval "$var=0"
13683 elif test "x$value" != "x"; then
13684 eval "$var=1"
13685 fi
13686
13687 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13688 eval "wx${toolkit}_VERSION=$value"
13689 fi
13690 done
13691 else
13692 for toolkit in $ALL_TOOLKITS; do
13693 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13694 eval "wxUSE_$toolkit=\$${var}"
13695 done
13696 fi
13697
13698 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13699 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13700 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13701
13702 case "${host}" in
13703 *-pc-os2_emx | *-pc-os2-emx )
13704 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13705 esac
13706
13707 case "$NUM_TOOLKITS" in
13708 1)
13709 ;;
13710 0)
13711 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13712 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13713 { (exit 1); exit 1; }; }
13714 ;;
13715 *)
13716 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13717 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13718 { (exit 1); exit 1; }; }
13719 esac
13720
13721 # to be removed when --disable-gtk2 isn't needed
13722 if test "x$wxUSE_GTK2" = "xyes"; then
13723 wxGTK_VERSION=2
13724 elif test "x$wxUSE_GTK2" = "xno"; then
13725 wxGTK_VERSION=1
13726 fi
13727
13728 for toolkit in $ALL_TOOLKITS; do
13729 var=wxUSE_$toolkit
13730 eval "value=\$${var}"
13731 if test "$value" = 1; then
13732 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
13733 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13734 echo "${ECHO_T}$toolkit_echo" >&6; }
13735 fi
13736 done
13737 else
13738 if test "x$host_alias" != "x"; then
13739 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13740 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13741 else
13742 { echo "$as_me:$LINENO: result: base only" >&5
13743 echo "${ECHO_T}base only" >&6; }
13744 fi
13745 fi
13746
13747
13748 cat >confcache <<\_ACEOF
13749 # This file is a shell script that caches the results of configure
13750 # tests run on this system so they can be shared between configure
13751 # scripts and configure runs, see configure's option --config-cache.
13752 # It is not useful on other systems. If it contains results you don't
13753 # want to keep, you may remove or edit it.
13754 #
13755 # config.status only pays attention to the cache file if you give it
13756 # the --recheck option to rerun configure.
13757 #
13758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13760 # following values.
13761
13762 _ACEOF
13763
13764 # The following way of writing the cache mishandles newlines in values,
13765 # but we know of no workaround that is simple, portable, and efficient.
13766 # So, we kill variables containing newlines.
13767 # Ultrix sh set writes to stderr and can't be redirected directly,
13768 # and sets the high bit in the cache file unless we assign to the vars.
13769 (
13770 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13771 eval ac_val=\$$ac_var
13772 case $ac_val in #(
13773 *${as_nl}*)
13774 case $ac_var in #(
13775 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13776 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13777 esac
13778 case $ac_var in #(
13779 _ | IFS | as_nl) ;; #(
13780 *) $as_unset $ac_var ;;
13781 esac ;;
13782 esac
13783 done
13784
13785 (set) 2>&1 |
13786 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13787 *${as_nl}ac_space=\ *)
13788 # `set' does not quote correctly, so add quotes (double-quote
13789 # substitution turns \\\\ into \\, and sed turns \\ into \).
13790 sed -n \
13791 "s/'/'\\\\''/g;
13792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13793 ;; #(
13794 *)
13795 # `set' quotes correctly as required by POSIX, so do not add quotes.
13796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13797 ;;
13798 esac |
13799 sort
13800 ) |
13801 sed '
13802 /^ac_cv_env_/b end
13803 t clear
13804 :clear
13805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13806 t end
13807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13808 :end' >>confcache
13809 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13810 if test -w "$cache_file"; then
13811 test "x$cache_file" != "x/dev/null" &&
13812 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13813 echo "$as_me: updating cache $cache_file" >&6;}
13814 cat confcache >$cache_file
13815 else
13816 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13817 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13818 fi
13819 fi
13820 rm -f confcache
13821
13822 CFLAGS=${CFLAGS:=}
13823
13824
13825
13826 ac_ext=c
13827 ac_cpp='$CPP $CPPFLAGS'
13828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13831 if test -n "$ac_tool_prefix"; then
13832 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13833 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13836 if test "${ac_cv_prog_CC+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13838 else
13839 if test -n "$CC"; then
13840 ac_cv_prog_CC="$CC" # Let the user override the test.
13841 else
13842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13843 for as_dir in $PATH
13844 do
13845 IFS=$as_save_IFS
13846 test -z "$as_dir" && as_dir=.
13847 for ac_exec_ext in '' $ac_executable_extensions; do
13848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13849 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13851 break 2
13852 fi
13853 done
13854 done
13855 IFS=$as_save_IFS
13856
13857 fi
13858 fi
13859 CC=$ac_cv_prog_CC
13860 if test -n "$CC"; then
13861 { echo "$as_me:$LINENO: result: $CC" >&5
13862 echo "${ECHO_T}$CC" >&6; }
13863 else
13864 { echo "$as_me:$LINENO: result: no" >&5
13865 echo "${ECHO_T}no" >&6; }
13866 fi
13867
13868
13869 fi
13870 if test -z "$ac_cv_prog_CC"; then
13871 ac_ct_CC=$CC
13872 # Extract the first word of "gcc", so it can be a program name with args.
13873 set dummy gcc; ac_word=$2
13874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 else
13879 if test -n "$ac_ct_CC"; then
13880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13881 else
13882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13883 for as_dir in $PATH
13884 do
13885 IFS=$as_save_IFS
13886 test -z "$as_dir" && as_dir=.
13887 for ac_exec_ext in '' $ac_executable_extensions; do
13888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13889 ac_cv_prog_ac_ct_CC="gcc"
13890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13891 break 2
13892 fi
13893 done
13894 done
13895 IFS=$as_save_IFS
13896
13897 fi
13898 fi
13899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13900 if test -n "$ac_ct_CC"; then
13901 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13902 echo "${ECHO_T}$ac_ct_CC" >&6; }
13903 else
13904 { echo "$as_me:$LINENO: result: no" >&5
13905 echo "${ECHO_T}no" >&6; }
13906 fi
13907
13908 if test "x$ac_ct_CC" = x; then
13909 CC=""
13910 else
13911 case $cross_compiling:$ac_tool_warned in
13912 yes:)
13913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13914 whose name does not start with the host triplet. If you think this
13915 configuration is useful to you, please write to autoconf@gnu.org." >&5
13916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13917 whose name does not start with the host triplet. If you think this
13918 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13919 ac_tool_warned=yes ;;
13920 esac
13921 CC=$ac_ct_CC
13922 fi
13923 else
13924 CC="$ac_cv_prog_CC"
13925 fi
13926
13927 if test -z "$CC"; then
13928 if test -n "$ac_tool_prefix"; then
13929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13930 set dummy ${ac_tool_prefix}cc; ac_word=$2
13931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13933 if test "${ac_cv_prog_CC+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13935 else
13936 if test -n "$CC"; then
13937 ac_cv_prog_CC="$CC" # Let the user override the test.
13938 else
13939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13940 for as_dir in $PATH
13941 do
13942 IFS=$as_save_IFS
13943 test -z "$as_dir" && as_dir=.
13944 for ac_exec_ext in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_CC="${ac_tool_prefix}cc"
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13948 break 2
13949 fi
13950 done
13951 done
13952 IFS=$as_save_IFS
13953
13954 fi
13955 fi
13956 CC=$ac_cv_prog_CC
13957 if test -n "$CC"; then
13958 { echo "$as_me:$LINENO: result: $CC" >&5
13959 echo "${ECHO_T}$CC" >&6; }
13960 else
13961 { echo "$as_me:$LINENO: result: no" >&5
13962 echo "${ECHO_T}no" >&6; }
13963 fi
13964
13965
13966 fi
13967 fi
13968 if test -z "$CC"; then
13969 # Extract the first word of "cc", so it can be a program name with args.
13970 set dummy cc; ac_word=$2
13971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13973 if test "${ac_cv_prog_CC+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 else
13976 if test -n "$CC"; then
13977 ac_cv_prog_CC="$CC" # Let the user override the test.
13978 else
13979 ac_prog_rejected=no
13980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13981 for as_dir in $PATH
13982 do
13983 IFS=$as_save_IFS
13984 test -z "$as_dir" && as_dir=.
13985 for ac_exec_ext in '' $ac_executable_extensions; do
13986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13988 ac_prog_rejected=yes
13989 continue
13990 fi
13991 ac_cv_prog_CC="cc"
13992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13993 break 2
13994 fi
13995 done
13996 done
13997 IFS=$as_save_IFS
13998
13999 if test $ac_prog_rejected = yes; then
14000 # We found a bogon in the path, so make sure we never use it.
14001 set dummy $ac_cv_prog_CC
14002 shift
14003 if test $# != 0; then
14004 # We chose a different compiler from the bogus one.
14005 # However, it has the same basename, so the bogon will be chosen
14006 # first if we set CC to just the basename; use the full file name.
14007 shift
14008 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14009 fi
14010 fi
14011 fi
14012 fi
14013 CC=$ac_cv_prog_CC
14014 if test -n "$CC"; then
14015 { echo "$as_me:$LINENO: result: $CC" >&5
14016 echo "${ECHO_T}$CC" >&6; }
14017 else
14018 { echo "$as_me:$LINENO: result: no" >&5
14019 echo "${ECHO_T}no" >&6; }
14020 fi
14021
14022
14023 fi
14024 if test -z "$CC"; then
14025 if test -n "$ac_tool_prefix"; then
14026 for ac_prog in cl.exe
14027 do
14028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_CC+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 else
14035 if test -n "$CC"; then
14036 ac_cv_prog_CC="$CC" # Let the user override the test.
14037 else
14038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14039 for as_dir in $PATH
14040 do
14041 IFS=$as_save_IFS
14042 test -z "$as_dir" && as_dir=.
14043 for ac_exec_ext in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14047 break 2
14048 fi
14049 done
14050 done
14051 IFS=$as_save_IFS
14052
14053 fi
14054 fi
14055 CC=$ac_cv_prog_CC
14056 if test -n "$CC"; then
14057 { echo "$as_me:$LINENO: result: $CC" >&5
14058 echo "${ECHO_T}$CC" >&6; }
14059 else
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14062 fi
14063
14064
14065 test -n "$CC" && break
14066 done
14067 fi
14068 if test -z "$CC"; then
14069 ac_ct_CC=$CC
14070 for ac_prog in cl.exe
14071 do
14072 # Extract the first word of "$ac_prog", so it can be a program name with args.
14073 set dummy $ac_prog; ac_word=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 else
14079 if test -n "$ac_ct_CC"; then
14080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14081 else
14082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14083 for as_dir in $PATH
14084 do
14085 IFS=$as_save_IFS
14086 test -z "$as_dir" && as_dir=.
14087 for ac_exec_ext in '' $ac_executable_extensions; do
14088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14089 ac_cv_prog_ac_ct_CC="$ac_prog"
14090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14091 break 2
14092 fi
14093 done
14094 done
14095 IFS=$as_save_IFS
14096
14097 fi
14098 fi
14099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14100 if test -n "$ac_ct_CC"; then
14101 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14102 echo "${ECHO_T}$ac_ct_CC" >&6; }
14103 else
14104 { echo "$as_me:$LINENO: result: no" >&5
14105 echo "${ECHO_T}no" >&6; }
14106 fi
14107
14108
14109 test -n "$ac_ct_CC" && break
14110 done
14111
14112 if test "x$ac_ct_CC" = x; then
14113 CC=""
14114 else
14115 case $cross_compiling:$ac_tool_warned in
14116 yes:)
14117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14118 whose name does not start with the host triplet. If you think this
14119 configuration is useful to you, please write to autoconf@gnu.org." >&5
14120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14121 whose name does not start with the host triplet. If you think this
14122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14123 ac_tool_warned=yes ;;
14124 esac
14125 CC=$ac_ct_CC
14126 fi
14127 fi
14128
14129 fi
14130
14131
14132 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14133 See \`config.log' for more details." >&5
14134 echo "$as_me: error: no acceptable C compiler found in \$PATH
14135 See \`config.log' for more details." >&2;}
14136 { (exit 1); exit 1; }; }
14137
14138 # Provide some information about the compiler.
14139 echo "$as_me:$LINENO: checking for C compiler version" >&5
14140 ac_compiler=`set X $ac_compile; echo $2`
14141 { (ac_try="$ac_compiler --version >&5"
14142 case "(($ac_try" in
14143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14144 *) ac_try_echo=$ac_try;;
14145 esac
14146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14147 (eval "$ac_compiler --version >&5") 2>&5
14148 ac_status=$?
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }
14151 { (ac_try="$ac_compiler -v >&5"
14152 case "(($ac_try" in
14153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14154 *) ac_try_echo=$ac_try;;
14155 esac
14156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14157 (eval "$ac_compiler -v >&5") 2>&5
14158 ac_status=$?
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }
14161 { (ac_try="$ac_compiler -V >&5"
14162 case "(($ac_try" in
14163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14164 *) ac_try_echo=$ac_try;;
14165 esac
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_compiler -V >&5") 2>&5
14168 ac_status=$?
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }
14171
14172 cat >conftest.$ac_ext <<_ACEOF
14173 /* confdefs.h. */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178
14179 int
14180 main ()
14181 {
14182
14183 ;
14184 return 0;
14185 }
14186 _ACEOF
14187 ac_clean_files_save=$ac_clean_files
14188 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14189 # Try to create an executable without -o first, disregard a.out.
14190 # It will help us diagnose broken compilers, and finding out an intuition
14191 # of exeext.
14192 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14193 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14194 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14195 #
14196 # List of possible output files, starting from the most likely.
14197 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14198 # only as a last resort. b.out is created by i960 compilers.
14199 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14200 #
14201 # The IRIX 6 linker writes into existing files which may not be
14202 # executable, retaining their permissions. Remove them first so a
14203 # subsequent execution test works.
14204 ac_rmfiles=
14205 for ac_file in $ac_files
14206 do
14207 case $ac_file in
14208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14209 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14210 esac
14211 done
14212 rm -f $ac_rmfiles
14213
14214 if { (ac_try="$ac_link_default"
14215 case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14218 esac
14219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14220 (eval "$ac_link_default") 2>&5
14221 ac_status=$?
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; then
14224 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14225 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14226 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14227 # so that the user can short-circuit this test for compilers unknown to
14228 # Autoconf.
14229 for ac_file in $ac_files ''
14230 do
14231 test -f "$ac_file" || continue
14232 case $ac_file in
14233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14234 ;;
14235 [ab].out )
14236 # We found the default executable, but exeext='' is most
14237 # certainly right.
14238 break;;
14239 *.* )
14240 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14241 then :; else
14242 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14243 fi
14244 # We set ac_cv_exeext here because the later test for it is not
14245 # safe: cross compilers may not add the suffix if given an `-o'
14246 # argument, so we may need to know it at that point already.
14247 # Even if this section looks crufty: it has the advantage of
14248 # actually working.
14249 break;;
14250 * )
14251 break;;
14252 esac
14253 done
14254 test "$ac_cv_exeext" = no && ac_cv_exeext=
14255
14256 else
14257 ac_file=''
14258 fi
14259
14260 { echo "$as_me:$LINENO: result: $ac_file" >&5
14261 echo "${ECHO_T}$ac_file" >&6; }
14262 if test -z "$ac_file"; then
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.$ac_ext >&5
14265
14266 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14267 See \`config.log' for more details." >&5
14268 echo "$as_me: error: C compiler cannot create executables
14269 See \`config.log' for more details." >&2;}
14270 { (exit 77); exit 77; }; }
14271 fi
14272
14273 ac_exeext=$ac_cv_exeext
14274
14275 # Check that the compiler produces executables we can run. If not, either
14276 # the compiler is broken, or we cross compile.
14277 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14278 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14279 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14280 # If not cross compiling, check that we can run a simple program.
14281 if test "$cross_compiling" != yes; then
14282 if { ac_try='./$ac_file'
14283 { (case "(($ac_try" in
14284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14285 *) ac_try_echo=$ac_try;;
14286 esac
14287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14288 (eval "$ac_try") 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 cross_compiling=no
14293 else
14294 if test "$cross_compiling" = maybe; then
14295 cross_compiling=yes
14296 else
14297 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14298 If you meant to cross compile, use \`--host'.
14299 See \`config.log' for more details." >&5
14300 echo "$as_me: error: cannot run C compiled programs.
14301 If you meant to cross compile, use \`--host'.
14302 See \`config.log' for more details." >&2;}
14303 { (exit 1); exit 1; }; }
14304 fi
14305 fi
14306 fi
14307 { echo "$as_me:$LINENO: result: yes" >&5
14308 echo "${ECHO_T}yes" >&6; }
14309
14310 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14311 ac_clean_files=$ac_clean_files_save
14312 # Check that the compiler produces executables we can run. If not, either
14313 # the compiler is broken, or we cross compile.
14314 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14315 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14316 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14317 echo "${ECHO_T}$cross_compiling" >&6; }
14318
14319 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14320 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14321 if { (ac_try="$ac_link"
14322 case "(($ac_try" in
14323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14325 esac
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_link") 2>&5
14328 ac_status=$?
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; then
14331 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14332 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14333 # work properly (i.e., refer to `conftest.exe'), while it won't with
14334 # `rm'.
14335 for ac_file in conftest.exe conftest conftest.*; do
14336 test -f "$ac_file" || continue
14337 case $ac_file in
14338 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14339 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14340 break;;
14341 * ) break;;
14342 esac
14343 done
14344 else
14345 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14346 See \`config.log' for more details." >&5
14347 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14348 See \`config.log' for more details." >&2;}
14349 { (exit 1); exit 1; }; }
14350 fi
14351
14352 rm -f conftest$ac_cv_exeext
14353 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14354 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14355
14356 rm -f conftest.$ac_ext
14357 EXEEXT=$ac_cv_exeext
14358 ac_exeext=$EXEEXT
14359 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14360 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14361 if test "${ac_cv_objext+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 else
14364 cat >conftest.$ac_ext <<_ACEOF
14365 /* confdefs.h. */
14366 _ACEOF
14367 cat confdefs.h >>conftest.$ac_ext
14368 cat >>conftest.$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14370
14371 int
14372 main ()
14373 {
14374
14375 ;
14376 return 0;
14377 }
14378 _ACEOF
14379 rm -f conftest.o conftest.obj
14380 if { (ac_try="$ac_compile"
14381 case "(($ac_try" in
14382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14383 *) ac_try_echo=$ac_try;;
14384 esac
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_compile") 2>&5
14387 ac_status=$?
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; then
14390 for ac_file in conftest.o conftest.obj conftest.*; do
14391 test -f "$ac_file" || continue;
14392 case $ac_file in
14393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14394 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14395 break;;
14396 esac
14397 done
14398 else
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14401
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14405 See \`config.log' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14407 fi
14408
14409 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14410 fi
14411 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14412 echo "${ECHO_T}$ac_cv_objext" >&6; }
14413 OBJEXT=$ac_cv_objext
14414 ac_objext=$OBJEXT
14415 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14416 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 else
14420 cat >conftest.$ac_ext <<_ACEOF
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426
14427 int
14428 main ()
14429 {
14430 #ifndef __GNUC__
14431 choke me
14432 #endif
14433
14434 ;
14435 return 0;
14436 }
14437 _ACEOF
14438 rm -f conftest.$ac_objext
14439 if { (ac_try="$ac_compile"
14440 case "(($ac_try" in
14441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14443 esac
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_compile") 2>conftest.er1
14446 ac_status=$?
14447 grep -v '^ *+' conftest.er1 >conftest.err
14448 rm -f conftest.er1
14449 cat conftest.err >&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } && {
14452 test -z "$ac_c_werror_flag" ||
14453 test ! -s conftest.err
14454 } && test -s conftest.$ac_objext; then
14455 ac_compiler_gnu=yes
14456 else
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14459
14460 ac_compiler_gnu=no
14461 fi
14462
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14465
14466 fi
14467 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14468 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14469 GCC=`test $ac_compiler_gnu = yes && echo yes`
14470 ac_test_CFLAGS=${CFLAGS+set}
14471 ac_save_CFLAGS=$CFLAGS
14472 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14473 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14474 if test "${ac_cv_prog_cc_g+set}" = set; then
14475 echo $ECHO_N "(cached) $ECHO_C" >&6
14476 else
14477 ac_save_c_werror_flag=$ac_c_werror_flag
14478 ac_c_werror_flag=yes
14479 ac_cv_prog_cc_g=no
14480 CFLAGS="-g"
14481 cat >conftest.$ac_ext <<_ACEOF
14482 /* confdefs.h. */
14483 _ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487
14488 int
14489 main ()
14490 {
14491
14492 ;
14493 return 0;
14494 }
14495 _ACEOF
14496 rm -f conftest.$ac_objext
14497 if { (ac_try="$ac_compile"
14498 case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14501 esac
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_compile") 2>conftest.er1
14504 ac_status=$?
14505 grep -v '^ *+' conftest.er1 >conftest.err
14506 rm -f conftest.er1
14507 cat conftest.err >&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } && {
14510 test -z "$ac_c_werror_flag" ||
14511 test ! -s conftest.err
14512 } && test -s conftest.$ac_objext; then
14513 ac_cv_prog_cc_g=yes
14514 else
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14517
14518 CFLAGS=""
14519 cat >conftest.$ac_ext <<_ACEOF
14520 /* confdefs.h. */
14521 _ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14525
14526 int
14527 main ()
14528 {
14529
14530 ;
14531 return 0;
14532 }
14533 _ACEOF
14534 rm -f conftest.$ac_objext
14535 if { (ac_try="$ac_compile"
14536 case "(($ac_try" in
14537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14538 *) ac_try_echo=$ac_try;;
14539 esac
14540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14541 (eval "$ac_compile") 2>conftest.er1
14542 ac_status=$?
14543 grep -v '^ *+' conftest.er1 >conftest.err
14544 rm -f conftest.er1
14545 cat conftest.err >&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } && {
14548 test -z "$ac_c_werror_flag" ||
14549 test ! -s conftest.err
14550 } && test -s conftest.$ac_objext; then
14551 :
14552 else
14553 echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14555
14556 ac_c_werror_flag=$ac_save_c_werror_flag
14557 CFLAGS="-g"
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564
14565 int
14566 main ()
14567 {
14568
14569 ;
14570 return 0;
14571 }
14572 _ACEOF
14573 rm -f conftest.$ac_objext
14574 if { (ac_try="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14578 esac
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>conftest.er1
14581 ac_status=$?
14582 grep -v '^ *+' conftest.er1 >conftest.err
14583 rm -f conftest.er1
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } && {
14587 test -z "$ac_c_werror_flag" ||
14588 test ! -s conftest.err
14589 } && test -s conftest.$ac_objext; then
14590 ac_cv_prog_cc_g=yes
14591 else
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14594
14595
14596 fi
14597
14598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14599 fi
14600
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14602 fi
14603
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14605 ac_c_werror_flag=$ac_save_c_werror_flag
14606 fi
14607 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14608 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14609 if test "$ac_test_CFLAGS" = set; then
14610 CFLAGS=$ac_save_CFLAGS
14611 elif test $ac_cv_prog_cc_g = yes; then
14612 if test "$GCC" = yes; then
14613 CFLAGS="-g -O2"
14614 else
14615 CFLAGS="-g"
14616 fi
14617 else
14618 if test "$GCC" = yes; then
14619 CFLAGS="-O2"
14620 else
14621 CFLAGS=
14622 fi
14623 fi
14624 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14625 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14626 if test "${ac_cv_prog_cc_c89+set}" = set; then
14627 echo $ECHO_N "(cached) $ECHO_C" >&6
14628 else
14629 ac_cv_prog_cc_c89=no
14630 ac_save_CC=$CC
14631 cat >conftest.$ac_ext <<_ACEOF
14632 /* confdefs.h. */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637 #include <stdarg.h>
14638 #include <stdio.h>
14639 #include <sys/types.h>
14640 #include <sys/stat.h>
14641 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14642 struct buf { int x; };
14643 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14644 static char *e (p, i)
14645 char **p;
14646 int i;
14647 {
14648 return p[i];
14649 }
14650 static char *f (char * (*g) (char **, int), char **p, ...)
14651 {
14652 char *s;
14653 va_list v;
14654 va_start (v,p);
14655 s = g (p, va_arg (v,int));
14656 va_end (v);
14657 return s;
14658 }
14659
14660 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14661 function prototypes and stuff, but not '\xHH' hex character constants.
14662 These don't provoke an error unfortunately, instead are silently treated
14663 as 'x'. The following induces an error, until -std is added to get
14664 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14665 array size at least. It's necessary to write '\x00'==0 to get something
14666 that's true only with -std. */
14667 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14668
14669 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14670 inside strings and character constants. */
14671 #define FOO(x) 'x'
14672 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14673
14674 int test (int i, double x);
14675 struct s1 {int (*f) (int a);};
14676 struct s2 {int (*f) (double a);};
14677 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14678 int argc;
14679 char **argv;
14680 int
14681 main ()
14682 {
14683 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14684 ;
14685 return 0;
14686 }
14687 _ACEOF
14688 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14689 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14690 do
14691 CC="$ac_save_CC $ac_arg"
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14697 esac
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14700 ac_status=$?
14701 grep -v '^ *+' conftest.er1 >conftest.err
14702 rm -f conftest.er1
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 ac_cv_prog_cc_c89=$ac_arg
14710 else
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714
14715 fi
14716
14717 rm -f core conftest.err conftest.$ac_objext
14718 test "x$ac_cv_prog_cc_c89" != "xno" && break
14719 done
14720 rm -f conftest.$ac_ext
14721 CC=$ac_save_CC
14722
14723 fi
14724 # AC_CACHE_VAL
14725 case "x$ac_cv_prog_cc_c89" in
14726 x)
14727 { echo "$as_me:$LINENO: result: none needed" >&5
14728 echo "${ECHO_T}none needed" >&6; } ;;
14729 xno)
14730 { echo "$as_me:$LINENO: result: unsupported" >&5
14731 echo "${ECHO_T}unsupported" >&6; } ;;
14732 *)
14733 CC="$CC $ac_cv_prog_cc_c89"
14734 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14735 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14736 esac
14737
14738
14739 ac_ext=c
14740 ac_cpp='$CPP $CPPFLAGS'
14741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14744
14745
14746
14747
14748 ac_ext=c
14749 ac_cpp='$CPP $CPPFLAGS'
14750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14753
14754 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14755 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14756 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 else
14759 cat >conftest.$ac_ext <<_ACEOF
14760 /* confdefs.h. */
14761 _ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14765
14766 int
14767 main ()
14768 {
14769
14770 #ifndef __INTEL_COMPILER
14771 choke me
14772 #endif
14773
14774 ;
14775 return 0;
14776 }
14777 _ACEOF
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14783 esac
14784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14786 ac_status=$?
14787 grep -v '^ *+' conftest.er1 >conftest.err
14788 rm -f conftest.er1
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest.$ac_objext; then
14795 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14796 else
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14799
14800 bakefile_cv_c_compiler___INTEL_COMPILER=no
14801
14802 fi
14803
14804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14805
14806
14807 fi
14808 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14809 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14810 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14811 :; INTELCC=yes
14812 else
14813 :;
14814 fi
14815 ac_ext=c
14816 ac_cpp='$CPP $CPPFLAGS'
14817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14820
14821
14822
14823
14824 if test "x$GCC" != "xyes"; then
14825 if test "xCC" = "xC"; then
14826 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14827 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14828 if test "${bakefile_cv_c_exto+set}" = set; then
14829 echo $ECHO_N "(cached) $ECHO_C" >&6
14830 else
14831 cat >conftest.$ac_ext <<_ACEOF
14832 /* confdefs.h. */
14833 _ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837
14838 int
14839 main ()
14840 {
14841
14842 ;
14843 return 0;
14844 }
14845 _ACEOF
14846 rm -f conftest.$ac_objext conftest.$ac_ext.o
14847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14848 (eval $ac_compile) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; then
14852 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14853 case $ac_file in
14854 conftest.$ac_ext.o)
14855 bakefile_cv_c_exto="-ext o"
14856 ;;
14857 *)
14858 ;;
14859 esac
14860 done
14861 else
14862 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14863 See \`config.log' for more details." >&5
14864 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14865 See \`config.log' for more details." >&2;}
14866 { (exit 1); exit 1; }; }
14867
14868 fi
14869
14870 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14871
14872 fi
14873 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14874 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14875 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14876 if test "c" = "c"; then
14877 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14878 fi
14879 if test "c" = "cxx"; then
14880 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14881 fi
14882 fi
14883
14884 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14885 unset ac_cv_prog_cc_g
14886 ac_test_CFLAGS=${CFLAGS+set}
14887 ac_save_CFLAGS=$CFLAGS
14888 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14889 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14890 if test "${ac_cv_prog_cc_g+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 else
14893 ac_save_c_werror_flag=$ac_c_werror_flag
14894 ac_c_werror_flag=yes
14895 ac_cv_prog_cc_g=no
14896 CFLAGS="-g"
14897 cat >conftest.$ac_ext <<_ACEOF
14898 /* confdefs.h. */
14899 _ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903
14904 int
14905 main ()
14906 {
14907
14908 ;
14909 return 0;
14910 }
14911 _ACEOF
14912 rm -f conftest.$ac_objext
14913 if { (ac_try="$ac_compile"
14914 case "(($ac_try" in
14915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14916 *) ac_try_echo=$ac_try;;
14917 esac
14918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14919 (eval "$ac_compile") 2>conftest.er1
14920 ac_status=$?
14921 grep -v '^ *+' conftest.er1 >conftest.err
14922 rm -f conftest.er1
14923 cat conftest.err >&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } && {
14926 test -z "$ac_c_werror_flag" ||
14927 test ! -s conftest.err
14928 } && test -s conftest.$ac_objext; then
14929 ac_cv_prog_cc_g=yes
14930 else
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.$ac_ext >&5
14933
14934 CFLAGS=""
14935 cat >conftest.$ac_ext <<_ACEOF
14936 /* confdefs.h. */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941
14942 int
14943 main ()
14944 {
14945
14946 ;
14947 return 0;
14948 }
14949 _ACEOF
14950 rm -f conftest.$ac_objext
14951 if { (ac_try="$ac_compile"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14955 esac
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_compile") 2>conftest.er1
14958 ac_status=$?
14959 grep -v '^ *+' conftest.er1 >conftest.err
14960 rm -f conftest.er1
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest.$ac_objext; then
14967 :
14968 else
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 ac_c_werror_flag=$ac_save_c_werror_flag
14973 CFLAGS="-g"
14974 cat >conftest.$ac_ext <<_ACEOF
14975 /* confdefs.h. */
14976 _ACEOF
14977 cat confdefs.h >>conftest.$ac_ext
14978 cat >>conftest.$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14980
14981 int
14982 main ()
14983 {
14984
14985 ;
14986 return 0;
14987 }
14988 _ACEOF
14989 rm -f conftest.$ac_objext
14990 if { (ac_try="$ac_compile"
14991 case "(($ac_try" in
14992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14993 *) ac_try_echo=$ac_try;;
14994 esac
14995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14996 (eval "$ac_compile") 2>conftest.er1
14997 ac_status=$?
14998 grep -v '^ *+' conftest.er1 >conftest.err
14999 rm -f conftest.er1
15000 cat conftest.err >&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } && {
15003 test -z "$ac_c_werror_flag" ||
15004 test ! -s conftest.err
15005 } && test -s conftest.$ac_objext; then
15006 ac_cv_prog_cc_g=yes
15007 else
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15010
15011
15012 fi
15013
15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15015 fi
15016
15017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15018 fi
15019
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 ac_c_werror_flag=$ac_save_c_werror_flag
15022 fi
15023 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15024 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15025 if test "$ac_test_CFLAGS" = set; then
15026 CFLAGS=$ac_save_CFLAGS
15027 elif test $ac_cv_prog_cc_g = yes; then
15028 if test "$GCC" = yes; then
15029 CFLAGS="-g -O2"
15030 else
15031 CFLAGS="-g"
15032 fi
15033 else
15034 if test "$GCC" = yes; then
15035 CFLAGS="-O2"
15036 else
15037 CFLAGS=
15038 fi
15039 fi
15040 fi
15041 fi
15042
15043 case `uname -s` in
15044 AIX*)
15045
15046
15047 ac_ext=c
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15052
15053 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15054 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15055 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 else
15058 cat >conftest.$ac_ext <<_ACEOF
15059 /* confdefs.h. */
15060 _ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064
15065 int
15066 main ()
15067 {
15068
15069 #ifndef __xlC__
15070 choke me
15071 #endif
15072
15073 ;
15074 return 0;
15075 }
15076 _ACEOF
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15082 esac
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15085 ac_status=$?
15086 grep -v '^ *+' conftest.er1 >conftest.err
15087 rm -f conftest.er1
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 bakefile_cv_c_compiler___xlC__=yes
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 bakefile_cv_c_compiler___xlC__=no
15100
15101 fi
15102
15103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15104
15105
15106 fi
15107 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15108 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15109 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15110 :; XLCC=yes
15111 else
15112 :;
15113 fi
15114 ac_ext=c
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15119
15120
15121
15122 ;;
15123
15124 Darwin)
15125
15126
15127 ac_ext=c
15128 ac_cpp='$CPP $CPPFLAGS'
15129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15132
15133 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15134 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15135 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138 cat >conftest.$ac_ext <<_ACEOF
15139 /* confdefs.h. */
15140 _ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144
15145 int
15146 main ()
15147 {
15148
15149 #ifndef __MWERKS__
15150 choke me
15151 #endif
15152
15153 ;
15154 return 0;
15155 }
15156 _ACEOF
15157 rm -f conftest.$ac_objext
15158 if { (ac_try="$ac_compile"
15159 case "(($ac_try" in
15160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15161 *) ac_try_echo=$ac_try;;
15162 esac
15163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_compile") 2>conftest.er1
15165 ac_status=$?
15166 grep -v '^ *+' conftest.er1 >conftest.err
15167 rm -f conftest.er1
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest.$ac_objext; then
15174 bakefile_cv_c_compiler___MWERKS__=yes
15175 else
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15178
15179 bakefile_cv_c_compiler___MWERKS__=no
15180
15181 fi
15182
15183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15184
15185
15186 fi
15187 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15188 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15189 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15190 :; MWCC=yes
15191 else
15192 :;
15193 fi
15194 ac_ext=c
15195 ac_cpp='$CPP $CPPFLAGS'
15196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15199
15200
15201
15202
15203
15204 ac_ext=c
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15209
15210 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15211 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15212 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 cat >conftest.$ac_ext <<_ACEOF
15216 /* confdefs.h. */
15217 _ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15221
15222 int
15223 main ()
15224 {
15225
15226 #ifndef __xlC__
15227 choke me
15228 #endif
15229
15230 ;
15231 return 0;
15232 }
15233 _ACEOF
15234 rm -f conftest.$ac_objext
15235 if { (ac_try="$ac_compile"
15236 case "(($ac_try" in
15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15239 esac
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_compile") 2>conftest.er1
15242 ac_status=$?
15243 grep -v '^ *+' conftest.er1 >conftest.err
15244 rm -f conftest.er1
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest.$ac_objext; then
15251 bakefile_cv_c_compiler___xlC__=yes
15252 else
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.$ac_ext >&5
15255
15256 bakefile_cv_c_compiler___xlC__=no
15257
15258 fi
15259
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15261
15262
15263 fi
15264 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15265 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15266 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15267 :; XLCC=yes
15268 else
15269 :;
15270 fi
15271 ac_ext=c
15272 ac_cpp='$CPP $CPPFLAGS'
15273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15276
15277
15278
15279 ;;
15280
15281 IRIX*)
15282
15283
15284 ac_ext=c
15285 ac_cpp='$CPP $CPPFLAGS'
15286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15289
15290 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15291 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15292 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 else
15295 cat >conftest.$ac_ext <<_ACEOF
15296 /* confdefs.h. */
15297 _ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15301
15302 int
15303 main ()
15304 {
15305
15306 #ifndef _SGI_COMPILER_VERSION
15307 choke me
15308 #endif
15309
15310 ;
15311 return 0;
15312 }
15313 _ACEOF
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15319 esac
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15322 ac_status=$?
15323 grep -v '^ *+' conftest.er1 >conftest.err
15324 rm -f conftest.er1
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15331 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15332 else
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15337
15338 fi
15339
15340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15341
15342
15343 fi
15344 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15345 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15346 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15347 :; SGICC=yes
15348 else
15349 :;
15350 fi
15351 ac_ext=c
15352 ac_cpp='$CPP $CPPFLAGS'
15353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15356
15357
15358
15359 ;;
15360
15361 Linux*)
15362
15363
15364 ac_ext=c
15365 ac_cpp='$CPP $CPPFLAGS'
15366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15369
15370 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15371 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15372 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 else
15375 cat >conftest.$ac_ext <<_ACEOF
15376 /* confdefs.h. */
15377 _ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15381
15382 int
15383 main ()
15384 {
15385
15386 #ifndef __SUNPRO_C
15387 choke me
15388 #endif
15389
15390 ;
15391 return 0;
15392 }
15393 _ACEOF
15394 rm -f conftest.$ac_objext
15395 if { (ac_try="$ac_compile"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15399 esac
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_compile") 2>conftest.er1
15402 ac_status=$?
15403 grep -v '^ *+' conftest.er1 >conftest.err
15404 rm -f conftest.er1
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest.$ac_objext; then
15411 bakefile_cv_c_compiler___SUNPRO_C=yes
15412 else
15413 echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15415
15416 bakefile_cv_c_compiler___SUNPRO_C=no
15417
15418 fi
15419
15420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15421
15422
15423 fi
15424 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15425 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15426 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15427 :; SUNCC=yes
15428 else
15429 :;
15430 fi
15431 ac_ext=c
15432 ac_cpp='$CPP $CPPFLAGS'
15433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15436
15437
15438
15439 ;;
15440
15441 HP-UX*)
15442
15443
15444 ac_ext=c
15445 ac_cpp='$CPP $CPPFLAGS'
15446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15449
15450 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15451 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15452 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 cat >conftest.$ac_ext <<_ACEOF
15456 /* confdefs.h. */
15457 _ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15461
15462 int
15463 main ()
15464 {
15465
15466 #ifndef __HP_cc
15467 choke me
15468 #endif
15469
15470 ;
15471 return 0;
15472 }
15473 _ACEOF
15474 rm -f conftest.$ac_objext
15475 if { (ac_try="$ac_compile"
15476 case "(($ac_try" in
15477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15478 *) ac_try_echo=$ac_try;;
15479 esac
15480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15481 (eval "$ac_compile") 2>conftest.er1
15482 ac_status=$?
15483 grep -v '^ *+' conftest.er1 >conftest.err
15484 rm -f conftest.er1
15485 cat conftest.err >&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } && {
15488 test -z "$ac_c_werror_flag" ||
15489 test ! -s conftest.err
15490 } && test -s conftest.$ac_objext; then
15491 bakefile_cv_c_compiler___HP_cc=yes
15492 else
15493 echo "$as_me: failed program was:" >&5
15494 sed 's/^/| /' conftest.$ac_ext >&5
15495
15496 bakefile_cv_c_compiler___HP_cc=no
15497
15498 fi
15499
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15501
15502
15503 fi
15504 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15505 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15506 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15507 :; HPCC=yes
15508 else
15509 :;
15510 fi
15511 ac_ext=c
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15516
15517
15518
15519 ;;
15520
15521 OSF1)
15522
15523
15524 ac_ext=c
15525 ac_cpp='$CPP $CPPFLAGS'
15526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15529
15530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15531 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15532 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 else
15535 cat >conftest.$ac_ext <<_ACEOF
15536 /* confdefs.h. */
15537 _ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15541
15542 int
15543 main ()
15544 {
15545
15546 #ifndef __DECC
15547 choke me
15548 #endif
15549
15550 ;
15551 return 0;
15552 }
15553 _ACEOF
15554 rm -f conftest.$ac_objext
15555 if { (ac_try="$ac_compile"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15559 esac
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_compile") 2>conftest.er1
15562 ac_status=$?
15563 grep -v '^ *+' conftest.er1 >conftest.err
15564 rm -f conftest.er1
15565 cat conftest.err >&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest.$ac_objext; then
15571 bakefile_cv_c_compiler___DECC=yes
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15575
15576 bakefile_cv_c_compiler___DECC=no
15577
15578 fi
15579
15580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15581
15582
15583 fi
15584 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15585 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15586 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15587 :; COMPAQCC=yes
15588 else
15589 :;
15590 fi
15591 ac_ext=c
15592 ac_cpp='$CPP $CPPFLAGS'
15593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15596
15597
15598
15599 ;;
15600
15601 SunOS)
15602
15603
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609
15610 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15611 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 else
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621
15622 int
15623 main ()
15624 {
15625
15626 #ifndef __SUNPRO_C
15627 choke me
15628 #endif
15629
15630 ;
15631 return 0;
15632 }
15633 _ACEOF
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15639 esac
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15642 ac_status=$?
15643 grep -v '^ *+' conftest.er1 >conftest.err
15644 rm -f conftest.er1
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___SUNPRO_C=yes
15652 else
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15655
15656 bakefile_cv_c_compiler___SUNPRO_C=no
15657
15658 fi
15659
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661
15662
15663 fi
15664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15666 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15667 :; SUNCC=yes
15668 else
15669 :;
15670 fi
15671 ac_ext=c
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15676
15677
15678
15679 ;;
15680 esac
15681 fi
15682
15683
15684
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15691 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15692 # On Suns, sometimes $CPP names a directory.
15693 if test -n "$CPP" && test -d "$CPP"; then
15694 CPP=
15695 fi
15696 if test -z "$CPP"; then
15697 if test "${ac_cv_prog_CPP+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700 # Double quotes because CPP needs to be expanded
15701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15702 do
15703 ac_preproc_ok=false
15704 for ac_c_preproc_warn_flag in '' yes
15705 do
15706 # Use a header file that comes with gcc, so configuring glibc
15707 # with a fresh cross-compiler works.
15708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15709 # <limits.h> exists even on freestanding compilers.
15710 # On the NeXT, cc -E runs the code through the compiler's parser,
15711 # not just through cpp. "Syntax error" is here to catch this case.
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718 #ifdef __STDC__
15719 # include <limits.h>
15720 #else
15721 # include <assert.h>
15722 #endif
15723 Syntax error
15724 _ACEOF
15725 if { (ac_try="$ac_cpp conftest.$ac_ext"
15726 case "(($ac_try" in
15727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15728 *) ac_try_echo=$ac_try;;
15729 esac
15730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15732 ac_status=$?
15733 grep -v '^ *+' conftest.er1 >conftest.err
15734 rm -f conftest.er1
15735 cat conftest.err >&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } >/dev/null && {
15738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15739 test ! -s conftest.err
15740 }; then
15741 :
15742 else
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15745
15746 # Broken: fails on valid input.
15747 continue
15748 fi
15749
15750 rm -f conftest.err conftest.$ac_ext
15751
15752 # OK, works on sane cases. Now check whether nonexistent headers
15753 # can be detected and how.
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 #include <ac_nonexistent.h>
15761 _ACEOF
15762 if { (ac_try="$ac_cpp conftest.$ac_ext"
15763 case "(($ac_try" in
15764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15765 *) ac_try_echo=$ac_try;;
15766 esac
15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15769 ac_status=$?
15770 grep -v '^ *+' conftest.er1 >conftest.err
15771 rm -f conftest.er1
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } >/dev/null && {
15775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15776 test ! -s conftest.err
15777 }; then
15778 # Broken: success on invalid input.
15779 continue
15780 else
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784 # Passes both tests.
15785 ac_preproc_ok=:
15786 break
15787 fi
15788
15789 rm -f conftest.err conftest.$ac_ext
15790
15791 done
15792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15793 rm -f conftest.err conftest.$ac_ext
15794 if $ac_preproc_ok; then
15795 break
15796 fi
15797
15798 done
15799 ac_cv_prog_CPP=$CPP
15800
15801 fi
15802 CPP=$ac_cv_prog_CPP
15803 else
15804 ac_cv_prog_CPP=$CPP
15805 fi
15806 { echo "$as_me:$LINENO: result: $CPP" >&5
15807 echo "${ECHO_T}$CPP" >&6; }
15808 ac_preproc_ok=false
15809 for ac_c_preproc_warn_flag in '' yes
15810 do
15811 # Use a header file that comes with gcc, so configuring glibc
15812 # with a fresh cross-compiler works.
15813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15814 # <limits.h> exists even on freestanding compilers.
15815 # On the NeXT, cc -E runs the code through the compiler's parser,
15816 # not just through cpp. "Syntax error" is here to catch this case.
15817 cat >conftest.$ac_ext <<_ACEOF
15818 /* confdefs.h. */
15819 _ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823 #ifdef __STDC__
15824 # include <limits.h>
15825 #else
15826 # include <assert.h>
15827 #endif
15828 Syntax error
15829 _ACEOF
15830 if { (ac_try="$ac_cpp conftest.$ac_ext"
15831 case "(($ac_try" in
15832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15833 *) ac_try_echo=$ac_try;;
15834 esac
15835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15837 ac_status=$?
15838 grep -v '^ *+' conftest.er1 >conftest.err
15839 rm -f conftest.er1
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } >/dev/null && {
15843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15844 test ! -s conftest.err
15845 }; then
15846 :
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15850
15851 # Broken: fails on valid input.
15852 continue
15853 fi
15854
15855 rm -f conftest.err conftest.$ac_ext
15856
15857 # OK, works on sane cases. Now check whether nonexistent headers
15858 # can be detected and how.
15859 cat >conftest.$ac_ext <<_ACEOF
15860 /* confdefs.h. */
15861 _ACEOF
15862 cat confdefs.h >>conftest.$ac_ext
15863 cat >>conftest.$ac_ext <<_ACEOF
15864 /* end confdefs.h. */
15865 #include <ac_nonexistent.h>
15866 _ACEOF
15867 if { (ac_try="$ac_cpp conftest.$ac_ext"
15868 case "(($ac_try" in
15869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15870 *) ac_try_echo=$ac_try;;
15871 esac
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15874 ac_status=$?
15875 grep -v '^ *+' conftest.er1 >conftest.err
15876 rm -f conftest.er1
15877 cat conftest.err >&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } >/dev/null && {
15880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15881 test ! -s conftest.err
15882 }; then
15883 # Broken: success on invalid input.
15884 continue
15885 else
15886 echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.$ac_ext >&5
15888
15889 # Passes both tests.
15890 ac_preproc_ok=:
15891 break
15892 fi
15893
15894 rm -f conftest.err conftest.$ac_ext
15895
15896 done
15897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15898 rm -f conftest.err conftest.$ac_ext
15899 if $ac_preproc_ok; then
15900 :
15901 else
15902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; }
15907 fi
15908
15909 ac_ext=c
15910 ac_cpp='$CPP $CPPFLAGS'
15911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15914
15915
15916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15918 if test "${ac_cv_path_GREP+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 else
15921 # Extract the first word of "grep ggrep" to use in msg output
15922 if test -z "$GREP"; then
15923 set dummy grep ggrep; ac_prog_name=$2
15924 if test "${ac_cv_path_GREP+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15926 else
15927 ac_path_GREP_found=false
15928 # Loop through the user's path and test for each of PROGNAME-LIST
15929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15931 do
15932 IFS=$as_save_IFS
15933 test -z "$as_dir" && as_dir=.
15934 for ac_prog in grep ggrep; do
15935 for ac_exec_ext in '' $ac_executable_extensions; do
15936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15938 # Check for GNU ac_path_GREP and select it if it is found.
15939 # Check for GNU $ac_path_GREP
15940 case `"$ac_path_GREP" --version 2>&1` in
15941 *GNU*)
15942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15943 *)
15944 ac_count=0
15945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15946 while :
15947 do
15948 cat "conftest.in" "conftest.in" >"conftest.tmp"
15949 mv "conftest.tmp" "conftest.in"
15950 cp "conftest.in" "conftest.nl"
15951 echo 'GREP' >> "conftest.nl"
15952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15954 ac_count=`expr $ac_count + 1`
15955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15956 # Best one so far, save it but keep looking for a better one
15957 ac_cv_path_GREP="$ac_path_GREP"
15958 ac_path_GREP_max=$ac_count
15959 fi
15960 # 10*(2^10) chars as input seems more than enough
15961 test $ac_count -gt 10 && break
15962 done
15963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15964 esac
15965
15966
15967 $ac_path_GREP_found && break 3
15968 done
15969 done
15970
15971 done
15972 IFS=$as_save_IFS
15973
15974
15975 fi
15976
15977 GREP="$ac_cv_path_GREP"
15978 if test -z "$GREP"; then
15979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15981 { (exit 1); exit 1; }; }
15982 fi
15983
15984 else
15985 ac_cv_path_GREP=$GREP
15986 fi
15987
15988
15989 fi
15990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15992 GREP="$ac_cv_path_GREP"
15993
15994
15995 { echo "$as_me:$LINENO: checking for egrep" >&5
15996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15997 if test "${ac_cv_path_EGREP+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
15999 else
16000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16001 then ac_cv_path_EGREP="$GREP -E"
16002 else
16003 # Extract the first word of "egrep" to use in msg output
16004 if test -z "$EGREP"; then
16005 set dummy egrep; ac_prog_name=$2
16006 if test "${ac_cv_path_EGREP+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 ac_path_EGREP_found=false
16010 # Loop through the user's path and test for each of PROGNAME-LIST
16011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16012 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16013 do
16014 IFS=$as_save_IFS
16015 test -z "$as_dir" && as_dir=.
16016 for ac_prog in egrep; do
16017 for ac_exec_ext in '' $ac_executable_extensions; do
16018 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16020 # Check for GNU ac_path_EGREP and select it if it is found.
16021 # Check for GNU $ac_path_EGREP
16022 case `"$ac_path_EGREP" --version 2>&1` in
16023 *GNU*)
16024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16025 *)
16026 ac_count=0
16027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16028 while :
16029 do
16030 cat "conftest.in" "conftest.in" >"conftest.tmp"
16031 mv "conftest.tmp" "conftest.in"
16032 cp "conftest.in" "conftest.nl"
16033 echo 'EGREP' >> "conftest.nl"
16034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16036 ac_count=`expr $ac_count + 1`
16037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16038 # Best one so far, save it but keep looking for a better one
16039 ac_cv_path_EGREP="$ac_path_EGREP"
16040 ac_path_EGREP_max=$ac_count
16041 fi
16042 # 10*(2^10) chars as input seems more than enough
16043 test $ac_count -gt 10 && break
16044 done
16045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16046 esac
16047
16048
16049 $ac_path_EGREP_found && break 3
16050 done
16051 done
16052
16053 done
16054 IFS=$as_save_IFS
16055
16056
16057 fi
16058
16059 EGREP="$ac_cv_path_EGREP"
16060 if test -z "$EGREP"; then
16061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16063 { (exit 1); exit 1; }; }
16064 fi
16065
16066 else
16067 ac_cv_path_EGREP=$EGREP
16068 fi
16069
16070
16071 fi
16072 fi
16073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16075 EGREP="$ac_cv_path_EGREP"
16076
16077
16078 if test $ac_cv_c_compiler_gnu = yes; then
16079 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16080 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16081 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16083 else
16084 ac_pattern="Autoconf.*'x'"
16085 cat >conftest.$ac_ext <<_ACEOF
16086 /* confdefs.h. */
16087 _ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091 #include <sgtty.h>
16092 Autoconf TIOCGETP
16093 _ACEOF
16094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16095 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16096 ac_cv_prog_gcc_traditional=yes
16097 else
16098 ac_cv_prog_gcc_traditional=no
16099 fi
16100 rm -f conftest*
16101
16102
16103 if test $ac_cv_prog_gcc_traditional = no; then
16104 cat >conftest.$ac_ext <<_ACEOF
16105 /* confdefs.h. */
16106 _ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 #include <termio.h>
16111 Autoconf TCGETA
16112 _ACEOF
16113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16114 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16115 ac_cv_prog_gcc_traditional=yes
16116 fi
16117 rm -f conftest*
16118
16119 fi
16120 fi
16121 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16123 if test $ac_cv_prog_gcc_traditional = yes; then
16124 CC="$CC -traditional"
16125 fi
16126 fi
16127
16128
16129 CXXFLAGS=${CXXFLAGS:=}
16130
16131
16132
16133 ac_ext=cpp
16134 ac_cpp='$CXXCPP $CPPFLAGS'
16135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16138 if test -z "$CXX"; then
16139 if test -n "$CCC"; then
16140 CXX=$CCC
16141 else
16142 if test -n "$ac_tool_prefix"; then
16143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16144 do
16145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16149 if test "${ac_cv_prog_CXX+set}" = set; then
16150 echo $ECHO_N "(cached) $ECHO_C" >&6
16151 else
16152 if test -n "$CXX"; then
16153 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16154 else
16155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16156 for as_dir in $PATH
16157 do
16158 IFS=$as_save_IFS
16159 test -z "$as_dir" && as_dir=.
16160 for ac_exec_ext in '' $ac_executable_extensions; do
16161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16162 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16164 break 2
16165 fi
16166 done
16167 done
16168 IFS=$as_save_IFS
16169
16170 fi
16171 fi
16172 CXX=$ac_cv_prog_CXX
16173 if test -n "$CXX"; then
16174 { echo "$as_me:$LINENO: result: $CXX" >&5
16175 echo "${ECHO_T}$CXX" >&6; }
16176 else
16177 { echo "$as_me:$LINENO: result: no" >&5
16178 echo "${ECHO_T}no" >&6; }
16179 fi
16180
16181
16182 test -n "$CXX" && break
16183 done
16184 fi
16185 if test -z "$CXX"; then
16186 ac_ct_CXX=$CXX
16187 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16188 do
16189 # Extract the first word of "$ac_prog", so it can be a program name with args.
16190 set dummy $ac_prog; ac_word=$2
16191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16193 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 if test -n "$ac_ct_CXX"; then
16197 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16198 else
16199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16200 for as_dir in $PATH
16201 do
16202 IFS=$as_save_IFS
16203 test -z "$as_dir" && as_dir=.
16204 for ac_exec_ext in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_ac_ct_CXX="$ac_prog"
16207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16208 break 2
16209 fi
16210 done
16211 done
16212 IFS=$as_save_IFS
16213
16214 fi
16215 fi
16216 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16217 if test -n "$ac_ct_CXX"; then
16218 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16219 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16220 else
16221 { echo "$as_me:$LINENO: result: no" >&5
16222 echo "${ECHO_T}no" >&6; }
16223 fi
16224
16225
16226 test -n "$ac_ct_CXX" && break
16227 done
16228
16229 if test "x$ac_ct_CXX" = x; then
16230 CXX="g++"
16231 else
16232 case $cross_compiling:$ac_tool_warned in
16233 yes:)
16234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16235 whose name does not start with the host triplet. If you think this
16236 configuration is useful to you, please write to autoconf@gnu.org." >&5
16237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16238 whose name does not start with the host triplet. If you think this
16239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16240 ac_tool_warned=yes ;;
16241 esac
16242 CXX=$ac_ct_CXX
16243 fi
16244 fi
16245
16246 fi
16247 fi
16248 # Provide some information about the compiler.
16249 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16250 ac_compiler=`set X $ac_compile; echo $2`
16251 { (ac_try="$ac_compiler --version >&5"
16252 case "(($ac_try" in
16253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16254 *) ac_try_echo=$ac_try;;
16255 esac
16256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16257 (eval "$ac_compiler --version >&5") 2>&5
16258 ac_status=$?
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }
16261 { (ac_try="$ac_compiler -v >&5"
16262 case "(($ac_try" in
16263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16264 *) ac_try_echo=$ac_try;;
16265 esac
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_compiler -v >&5") 2>&5
16268 ac_status=$?
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }
16271 { (ac_try="$ac_compiler -V >&5"
16272 case "(($ac_try" in
16273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16274 *) ac_try_echo=$ac_try;;
16275 esac
16276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16277 (eval "$ac_compiler -V >&5") 2>&5
16278 ac_status=$?
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }
16281
16282 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16283 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16284 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 else
16287 cat >conftest.$ac_ext <<_ACEOF
16288 /* confdefs.h. */
16289 _ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16293
16294 int
16295 main ()
16296 {
16297 #ifndef __GNUC__
16298 choke me
16299 #endif
16300
16301 ;
16302 return 0;
16303 }
16304 _ACEOF
16305 rm -f conftest.$ac_objext
16306 if { (ac_try="$ac_compile"
16307 case "(($ac_try" in
16308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16309 *) ac_try_echo=$ac_try;;
16310 esac
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_compile") 2>conftest.er1
16313 ac_status=$?
16314 grep -v '^ *+' conftest.er1 >conftest.err
16315 rm -f conftest.er1
16316 cat conftest.err >&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } && {
16319 test -z "$ac_cxx_werror_flag" ||
16320 test ! -s conftest.err
16321 } && test -s conftest.$ac_objext; then
16322 ac_compiler_gnu=yes
16323 else
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16326
16327 ac_compiler_gnu=no
16328 fi
16329
16330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16331 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16332
16333 fi
16334 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16335 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16336 GXX=`test $ac_compiler_gnu = yes && echo yes`
16337 ac_test_CXXFLAGS=${CXXFLAGS+set}
16338 ac_save_CXXFLAGS=$CXXFLAGS
16339 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16340 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16341 if test "${ac_cv_prog_cxx_g+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 else
16344 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16345 ac_cxx_werror_flag=yes
16346 ac_cv_prog_cxx_g=no
16347 CXXFLAGS="-g"
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354
16355 int
16356 main ()
16357 {
16358
16359 ;
16360 return 0;
16361 }
16362 _ACEOF
16363 rm -f conftest.$ac_objext
16364 if { (ac_try="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16368 esac
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16371 ac_status=$?
16372 grep -v '^ *+' conftest.er1 >conftest.err
16373 rm -f conftest.er1
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_cxx_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.$ac_objext; then
16380 ac_cv_prog_cxx_g=yes
16381 else
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16384
16385 CXXFLAGS=""
16386 cat >conftest.$ac_ext <<_ACEOF
16387 /* confdefs.h. */
16388 _ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16392
16393 int
16394 main ()
16395 {
16396
16397 ;
16398 return 0;
16399 }
16400 _ACEOF
16401 rm -f conftest.$ac_objext
16402 if { (ac_try="$ac_compile"
16403 case "(($ac_try" in
16404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16405 *) ac_try_echo=$ac_try;;
16406 esac
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_compile") 2>conftest.er1
16409 ac_status=$?
16410 grep -v '^ *+' conftest.er1 >conftest.err
16411 rm -f conftest.er1
16412 cat conftest.err >&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } && {
16415 test -z "$ac_cxx_werror_flag" ||
16416 test ! -s conftest.err
16417 } && test -s conftest.$ac_objext; then
16418 :
16419 else
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16422
16423 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16424 CXXFLAGS="-g"
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431
16432 int
16433 main ()
16434 {
16435
16436 ;
16437 return 0;
16438 }
16439 _ACEOF
16440 rm -f conftest.$ac_objext
16441 if { (ac_try="$ac_compile"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16445 esac
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_compile") 2>conftest.er1
16448 ac_status=$?
16449 grep -v '^ *+' conftest.er1 >conftest.err
16450 rm -f conftest.er1
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_cxx_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest.$ac_objext; then
16457 ac_cv_prog_cxx_g=yes
16458 else
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16461
16462
16463 fi
16464
16465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16466 fi
16467
16468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16469 fi
16470
16471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16473 fi
16474 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16475 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16476 if test "$ac_test_CXXFLAGS" = set; then
16477 CXXFLAGS=$ac_save_CXXFLAGS
16478 elif test $ac_cv_prog_cxx_g = yes; then
16479 if test "$GXX" = yes; then
16480 CXXFLAGS="-g -O2"
16481 else
16482 CXXFLAGS="-g"
16483 fi
16484 else
16485 if test "$GXX" = yes; then
16486 CXXFLAGS="-O2"
16487 else
16488 CXXFLAGS=
16489 fi
16490 fi
16491 ac_ext=c
16492 ac_cpp='$CPP $CPPFLAGS'
16493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16496
16497
16498
16499
16500 ac_ext=cpp
16501 ac_cpp='$CXXCPP $CPPFLAGS'
16502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16505
16506 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16507 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16508 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 else
16511 cat >conftest.$ac_ext <<_ACEOF
16512 /* confdefs.h. */
16513 _ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16517
16518 int
16519 main ()
16520 {
16521
16522 #ifndef __INTEL_COMPILER
16523 choke me
16524 #endif
16525
16526 ;
16527 return 0;
16528 }
16529 _ACEOF
16530 rm -f conftest.$ac_objext
16531 if { (ac_try="$ac_compile"
16532 case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534 *) ac_try_echo=$ac_try;;
16535 esac
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_compile") 2>conftest.er1
16538 ac_status=$?
16539 grep -v '^ *+' conftest.er1 >conftest.err
16540 rm -f conftest.er1
16541 cat conftest.err >&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_cxx_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest.$ac_objext; then
16547 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16548 else
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16551
16552 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16553
16554 fi
16555
16556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16557
16558
16559 fi
16560 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16561 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16562 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16563 :; INTELCXX=yes
16564 else
16565 :;
16566 fi
16567 ac_ext=c
16568 ac_cpp='$CPP $CPPFLAGS'
16569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16572
16573
16574
16575
16576 if test "x$GCXX" != "xyes"; then
16577 if test "xCXX" = "xC"; then
16578 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16579 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16580 if test "${bakefile_cv_c_exto+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 else
16583 cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589
16590 int
16591 main ()
16592 {
16593
16594 ;
16595 return 0;
16596 }
16597 _ACEOF
16598 rm -f conftest.$ac_objext conftest.$ac_ext.o
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>&5
16601 ac_status=$?
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; then
16604 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16605 case $ac_file in
16606 conftest.$ac_ext.o)
16607 bakefile_cv_c_exto="-ext o"
16608 ;;
16609 *)
16610 ;;
16611 esac
16612 done
16613 else
16614 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16615 See \`config.log' for more details." >&5
16616 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16617 See \`config.log' for more details." >&2;}
16618 { (exit 1); exit 1; }; }
16619
16620 fi
16621
16622 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16623
16624 fi
16625 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16626 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16627 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16628 if test "c" = "c"; then
16629 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16630 fi
16631 if test "c" = "cxx"; then
16632 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16633 fi
16634 fi
16635
16636 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16637 unset ac_cv_prog_cc_g
16638 ac_test_CFLAGS=${CFLAGS+set}
16639 ac_save_CFLAGS=$CFLAGS
16640 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16642 if test "${ac_cv_prog_cc_g+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645 ac_save_c_werror_flag=$ac_c_werror_flag
16646 ac_c_werror_flag=yes
16647 ac_cv_prog_cc_g=no
16648 CFLAGS="-g"
16649 cat >conftest.$ac_ext <<_ACEOF
16650 /* confdefs.h. */
16651 _ACEOF
16652 cat confdefs.h >>conftest.$ac_ext
16653 cat >>conftest.$ac_ext <<_ACEOF
16654 /* end confdefs.h. */
16655
16656 int
16657 main ()
16658 {
16659
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16672 ac_status=$?
16673 grep -v '^ *+' conftest.er1 >conftest.err
16674 rm -f conftest.er1
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_c_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_cv_prog_cc_g=yes
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16685
16686 CFLAGS=""
16687 cat >conftest.$ac_ext <<_ACEOF
16688 /* confdefs.h. */
16689 _ACEOF
16690 cat confdefs.h >>conftest.$ac_ext
16691 cat >>conftest.$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16693
16694 int
16695 main ()
16696 {
16697
16698 ;
16699 return 0;
16700 }
16701 _ACEOF
16702 rm -f conftest.$ac_objext
16703 if { (ac_try="$ac_compile"
16704 case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16706 *) ac_try_echo=$ac_try;;
16707 esac
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_compile") 2>conftest.er1
16710 ac_status=$?
16711 grep -v '^ *+' conftest.er1 >conftest.err
16712 rm -f conftest.er1
16713 cat conftest.err >&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } && {
16716 test -z "$ac_c_werror_flag" ||
16717 test ! -s conftest.err
16718 } && test -s conftest.$ac_objext; then
16719 :
16720 else
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16723
16724 ac_c_werror_flag=$ac_save_c_werror_flag
16725 CFLAGS="-g"
16726 cat >conftest.$ac_ext <<_ACEOF
16727 /* confdefs.h. */
16728 _ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732
16733 int
16734 main ()
16735 {
16736
16737 ;
16738 return 0;
16739 }
16740 _ACEOF
16741 rm -f conftest.$ac_objext
16742 if { (ac_try="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16746 esac
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16749 ac_status=$?
16750 grep -v '^ *+' conftest.er1 >conftest.err
16751 rm -f conftest.er1
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 ac_cv_prog_cc_g=yes
16759 else
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.$ac_ext >&5
16762
16763
16764 fi
16765
16766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16767 fi
16768
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 fi
16771
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 ac_c_werror_flag=$ac_save_c_werror_flag
16774 fi
16775 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16776 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16777 if test "$ac_test_CFLAGS" = set; then
16778 CFLAGS=$ac_save_CFLAGS
16779 elif test $ac_cv_prog_cc_g = yes; then
16780 if test "$GCC" = yes; then
16781 CFLAGS="-g -O2"
16782 else
16783 CFLAGS="-g"
16784 fi
16785 else
16786 if test "$GCC" = yes; then
16787 CFLAGS="-O2"
16788 else
16789 CFLAGS=
16790 fi
16791 fi
16792 fi
16793 fi
16794
16795 case `uname -s` in
16796 AIX*)
16797
16798
16799 ac_ext=cpp
16800 ac_cpp='$CXXCPP $CPPFLAGS'
16801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16804
16805 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16806 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16807 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 else
16810 cat >conftest.$ac_ext <<_ACEOF
16811 /* confdefs.h. */
16812 _ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16816
16817 int
16818 main ()
16819 {
16820
16821 #ifndef __xlC__
16822 choke me
16823 #endif
16824
16825 ;
16826 return 0;
16827 }
16828 _ACEOF
16829 rm -f conftest.$ac_objext
16830 if { (ac_try="$ac_compile"
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_compile") 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); } && {
16843 test -z "$ac_cxx_werror_flag" ||
16844 test ! -s conftest.err
16845 } && test -s conftest.$ac_objext; then
16846 bakefile_cv_cxx_compiler___xlC__=yes
16847 else
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16850
16851 bakefile_cv_cxx_compiler___xlC__=no
16852
16853 fi
16854
16855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16856
16857
16858 fi
16859 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16860 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16861 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16862 :; XLCXX=yes
16863 else
16864 :;
16865 fi
16866 ac_ext=c
16867 ac_cpp='$CPP $CPPFLAGS'
16868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16871
16872
16873
16874 ;;
16875
16876 Darwin)
16877
16878
16879 ac_ext=cpp
16880 ac_cpp='$CXXCPP $CPPFLAGS'
16881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16884
16885 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16886 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16887 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16889 else
16890 cat >conftest.$ac_ext <<_ACEOF
16891 /* confdefs.h. */
16892 _ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896
16897 int
16898 main ()
16899 {
16900
16901 #ifndef __MWERKS__
16902 choke me
16903 #endif
16904
16905 ;
16906 return 0;
16907 }
16908 _ACEOF
16909 rm -f conftest.$ac_objext
16910 if { (ac_try="$ac_compile"
16911 case "(($ac_try" in
16912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16913 *) ac_try_echo=$ac_try;;
16914 esac
16915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16916 (eval "$ac_compile") 2>conftest.er1
16917 ac_status=$?
16918 grep -v '^ *+' conftest.er1 >conftest.err
16919 rm -f conftest.er1
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } && {
16923 test -z "$ac_cxx_werror_flag" ||
16924 test ! -s conftest.err
16925 } && test -s conftest.$ac_objext; then
16926 bakefile_cv_cxx_compiler___MWERKS__=yes
16927 else
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16930
16931 bakefile_cv_cxx_compiler___MWERKS__=no
16932
16933 fi
16934
16935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16936
16937
16938 fi
16939 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16940 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16941 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16942 :; MWCXX=yes
16943 else
16944 :;
16945 fi
16946 ac_ext=c
16947 ac_cpp='$CPP $CPPFLAGS'
16948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16951
16952
16953
16954
16955
16956 ac_ext=cpp
16957 ac_cpp='$CXXCPP $CPPFLAGS'
16958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16961
16962 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16963 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16964 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 else
16967 cat >conftest.$ac_ext <<_ACEOF
16968 /* confdefs.h. */
16969 _ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973
16974 int
16975 main ()
16976 {
16977
16978 #ifndef __xlC__
16979 choke me
16980 #endif
16981
16982 ;
16983 return 0;
16984 }
16985 _ACEOF
16986 rm -f conftest.$ac_objext
16987 if { (ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16990 *) ac_try_echo=$ac_try;;
16991 esac
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compile") 2>conftest.er1
16994 ac_status=$?
16995 grep -v '^ *+' conftest.er1 >conftest.err
16996 rm -f conftest.er1
16997 cat conftest.err >&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && {
17000 test -z "$ac_cxx_werror_flag" ||
17001 test ! -s conftest.err
17002 } && test -s conftest.$ac_objext; then
17003 bakefile_cv_cxx_compiler___xlC__=yes
17004 else
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.$ac_ext >&5
17007
17008 bakefile_cv_cxx_compiler___xlC__=no
17009
17010 fi
17011
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013
17014
17015 fi
17016 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17017 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17018 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17019 :; XLCXX=yes
17020 else
17021 :;
17022 fi
17023 ac_ext=c
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17028
17029
17030
17031 ;;
17032
17033 IRIX*)
17034
17035
17036 ac_ext=cpp
17037 ac_cpp='$CXXCPP $CPPFLAGS'
17038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17041
17042 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17043 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17044 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 else
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053
17054 int
17055 main ()
17056 {
17057
17058 #ifndef _SGI_COMPILER_VERSION
17059 choke me
17060 #endif
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 rm -f conftest.$ac_objext
17067 if { (ac_try="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17071 esac
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17074 ac_status=$?
17075 grep -v '^ *+' conftest.er1 >conftest.err
17076 rm -f conftest.er1
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_cxx_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17084 else
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17087
17088 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17089
17090 fi
17091
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093
17094
17095 fi
17096 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17097 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17098 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17099 :; SGICXX=yes
17100 else
17101 :;
17102 fi
17103 ac_ext=c
17104 ac_cpp='$CPP $CPPFLAGS'
17105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17108
17109
17110
17111 ;;
17112
17113 Linux*)
17114
17115
17116 ac_ext=cpp
17117 ac_cpp='$CXXCPP $CPPFLAGS'
17118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17121
17122 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17123 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17124 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 else
17127 cat >conftest.$ac_ext <<_ACEOF
17128 /* confdefs.h. */
17129 _ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133
17134 int
17135 main ()
17136 {
17137
17138 #ifndef __SUNPRO_CC
17139 choke me
17140 #endif
17141
17142 ;
17143 return 0;
17144 }
17145 _ACEOF
17146 rm -f conftest.$ac_objext
17147 if { (ac_try="$ac_compile"
17148 case "(($ac_try" in
17149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17150 *) ac_try_echo=$ac_try;;
17151 esac
17152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153 (eval "$ac_compile") 2>conftest.er1
17154 ac_status=$?
17155 grep -v '^ *+' conftest.er1 >conftest.err
17156 rm -f conftest.er1
17157 cat conftest.err >&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } && {
17160 test -z "$ac_cxx_werror_flag" ||
17161 test ! -s conftest.err
17162 } && test -s conftest.$ac_objext; then
17163 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17164 else
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17167
17168 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17169
17170 fi
17171
17172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17173
17174
17175 fi
17176 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17177 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17178 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17179 :; SUNCXX=yes
17180 else
17181 :;
17182 fi
17183 ac_ext=c
17184 ac_cpp='$CPP $CPPFLAGS'
17185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17188
17189
17190
17191 ;;
17192
17193 HP-UX*)
17194
17195
17196 ac_ext=cpp
17197 ac_cpp='$CXXCPP $CPPFLAGS'
17198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17201
17202 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17203 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17204 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 else
17207 cat >conftest.$ac_ext <<_ACEOF
17208 /* confdefs.h. */
17209 _ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17213
17214 int
17215 main ()
17216 {
17217
17218 #ifndef __HP_aCC
17219 choke me
17220 #endif
17221
17222 ;
17223 return 0;
17224 }
17225 _ACEOF
17226 rm -f conftest.$ac_objext
17227 if { (ac_try="$ac_compile"
17228 case "(($ac_try" in
17229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17231 esac
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_compile") 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_cxx_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest.$ac_objext; then
17243 bakefile_cv_cxx_compiler___HP_aCC=yes
17244 else
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17247
17248 bakefile_cv_cxx_compiler___HP_aCC=no
17249
17250 fi
17251
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253
17254
17255 fi
17256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17257 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17258 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17259 :; HPCXX=yes
17260 else
17261 :;
17262 fi
17263 ac_ext=c
17264 ac_cpp='$CPP $CPPFLAGS'
17265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17268
17269
17270
17271 ;;
17272
17273 OSF1)
17274
17275
17276 ac_ext=cpp
17277 ac_cpp='$CXXCPP $CPPFLAGS'
17278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17281
17282 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17283 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17284 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 else
17287 cat >conftest.$ac_ext <<_ACEOF
17288 /* confdefs.h. */
17289 _ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293
17294 int
17295 main ()
17296 {
17297
17298 #ifndef __DECCXX
17299 choke me
17300 #endif
17301
17302 ;
17303 return 0;
17304 }
17305 _ACEOF
17306 rm -f conftest.$ac_objext
17307 if { (ac_try="$ac_compile"
17308 case "(($ac_try" in
17309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17310 *) ac_try_echo=$ac_try;;
17311 esac
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_compile") 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } && {
17320 test -z "$ac_cxx_werror_flag" ||
17321 test ! -s conftest.err
17322 } && test -s conftest.$ac_objext; then
17323 bakefile_cv_cxx_compiler___DECCXX=yes
17324 else
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.$ac_ext >&5
17327
17328 bakefile_cv_cxx_compiler___DECCXX=no
17329
17330 fi
17331
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333
17334
17335 fi
17336 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17337 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17338 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17339 :; COMPAQCXX=yes
17340 else
17341 :;
17342 fi
17343 ac_ext=c
17344 ac_cpp='$CPP $CPPFLAGS'
17345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17348
17349
17350
17351 ;;
17352
17353 SunOS)
17354
17355
17356 ac_ext=cpp
17357 ac_cpp='$CXXCPP $CPPFLAGS'
17358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17361
17362 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17363 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17364 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17366 else
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373
17374 int
17375 main ()
17376 {
17377
17378 #ifndef __SUNPRO_CC
17379 choke me
17380 #endif
17381
17382 ;
17383 return 0;
17384 }
17385 _ACEOF
17386 rm -f conftest.$ac_objext
17387 if { (ac_try="$ac_compile"
17388 case "(($ac_try" in
17389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17390 *) ac_try_echo=$ac_try;;
17391 esac
17392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17393 (eval "$ac_compile") 2>conftest.er1
17394 ac_status=$?
17395 grep -v '^ *+' conftest.er1 >conftest.err
17396 rm -f conftest.er1
17397 cat conftest.err >&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); } && {
17400 test -z "$ac_cxx_werror_flag" ||
17401 test ! -s conftest.err
17402 } && test -s conftest.$ac_objext; then
17403 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17404 else
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17407
17408 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17409
17410 fi
17411
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413
17414
17415 fi
17416 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17417 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17418 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17419 :; SUNCXX=yes
17420 else
17421 :;
17422 fi
17423 ac_ext=c
17424 ac_cpp='$CPP $CPPFLAGS'
17425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17428
17429
17430
17431 ;;
17432 esac
17433 fi
17434
17435
17436
17437 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17438 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17439 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17440 { (exit 1); exit 1; }; }
17441 fi
17442
17443 if test "x$SUNCXX" != xyes; then
17444 if test -n "$ac_tool_prefix"; then
17445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17446 set dummy ${ac_tool_prefix}ar; ac_word=$2
17447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17449 if test "${ac_cv_prog_AR+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17452 if test -n "$AR"; then
17453 ac_cv_prog_AR="$AR" # Let the user override the test.
17454 else
17455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17456 for as_dir in $PATH
17457 do
17458 IFS=$as_save_IFS
17459 test -z "$as_dir" && as_dir=.
17460 for ac_exec_ext in '' $ac_executable_extensions; do
17461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17462 ac_cv_prog_AR="${ac_tool_prefix}ar"
17463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17464 break 2
17465 fi
17466 done
17467 done
17468 IFS=$as_save_IFS
17469
17470 fi
17471 fi
17472 AR=$ac_cv_prog_AR
17473 if test -n "$AR"; then
17474 { echo "$as_me:$LINENO: result: $AR" >&5
17475 echo "${ECHO_T}$AR" >&6; }
17476 else
17477 { echo "$as_me:$LINENO: result: no" >&5
17478 echo "${ECHO_T}no" >&6; }
17479 fi
17480
17481
17482 fi
17483 if test -z "$ac_cv_prog_AR"; then
17484 ac_ct_AR=$AR
17485 # Extract the first word of "ar", so it can be a program name with args.
17486 set dummy ar; ac_word=$2
17487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17490 echo $ECHO_N "(cached) $ECHO_C" >&6
17491 else
17492 if test -n "$ac_ct_AR"; then
17493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17494 else
17495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17496 for as_dir in $PATH
17497 do
17498 IFS=$as_save_IFS
17499 test -z "$as_dir" && as_dir=.
17500 for ac_exec_ext in '' $ac_executable_extensions; do
17501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17502 ac_cv_prog_ac_ct_AR="ar"
17503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17504 break 2
17505 fi
17506 done
17507 done
17508 IFS=$as_save_IFS
17509
17510 fi
17511 fi
17512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17513 if test -n "$ac_ct_AR"; then
17514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17515 echo "${ECHO_T}$ac_ct_AR" >&6; }
17516 else
17517 { echo "$as_me:$LINENO: result: no" >&5
17518 echo "${ECHO_T}no" >&6; }
17519 fi
17520
17521 if test "x$ac_ct_AR" = x; then
17522 AR=""
17523 else
17524 case $cross_compiling:$ac_tool_warned in
17525 yes:)
17526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17527 whose name does not start with the host triplet. If you think this
17528 configuration is useful to you, please write to autoconf@gnu.org." >&5
17529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17530 whose name does not start with the host triplet. If you think this
17531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17532 ac_tool_warned=yes ;;
17533 esac
17534 AR=$ac_ct_AR
17535 fi
17536 else
17537 AR="$ac_cv_prog_AR"
17538 fi
17539
17540 if test "x$AR" = "x" ; then
17541 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17542 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17543 { (exit 1); exit 1; }; }
17544 fi
17545 fi
17546
17547 retest_macosx_linking=no
17548
17549 #if test "$wxUSE_MAC" = 1; then
17550 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17551 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17552 # Implicitly turn on the new --with-macosx-sdk using the default
17553 # SDK which provides the behavior this option has always had.
17554 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17555 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17556 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17557 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17558 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17559 wxUSE_MACOSX_SDK=yes
17560 fi
17561 else
17562 # Complain to user if he specified an argument to --enable-universal_binary
17563 # and also 1) specified --with-macosx-sdk using the default (yes) or
17564 # 2) specified --with-macosx-sdk using a path or 3) specified
17565 # --without-macosx-sdk (no).
17566 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17567 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17568 See \`config.log' for more details." >&5
17569 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17570 See \`config.log' for more details." >&2;}
17571 { (exit 1); exit 1; }; }
17572 else
17573 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17574 # special-case the empty string because the below test simply
17575 # converts "no" to the empty string anyway.
17576 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17577 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17578 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17579 fi
17580 fi
17581 OSX_UNIV_OPTS="-arch ppc -arch i386"
17582 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17583 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17584 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17585 retest_macosx_linking=yes
17586
17587 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17588 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17589 bk_use_pch=no
17590 fi
17591 #fi
17592
17593 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17594 wxUSE_MACOSX_SDK=
17595 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17596 # TODO: Search for most recent SDK and use it.
17597 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17598 fi
17599
17600
17601 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17602 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17603 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17604 if ! test -d "$wxUSE_MACOSX_SDK"; then
17605 { { echo "$as_me:$LINENO: error: not found
17606 See \`config.log' for more details." >&5
17607 echo "$as_me: error: not found
17608 See \`config.log' for more details." >&2;}
17609 { (exit 1); exit 1; }; }
17610 else
17611 { echo "$as_me:$LINENO: result: exists" >&5
17612 echo "${ECHO_T}exists" >&6; }
17613 fi
17614 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17615 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17616 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17617 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17618 retest_macosx_linking=yes
17619 fi
17620
17621 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17622 wxUSE_MACOSX_VERSION_MIN=
17623 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17624 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17625 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17626 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17627
17628 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/'`
17629
17630 # If that failed, try again with the new key
17631 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17632
17633 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/'`
17634
17635 fi
17636
17637 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17638 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17639 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17640 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17641 else
17642 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17643 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17644 wxUSE_MACOSX_VERSION_MIN=
17645 fi
17646 else
17647 wxUSE_MACOSX_VERSION_MIN=
17648 fi
17649 fi
17650
17651 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17652 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17653 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17654 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17655 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17656 retest_macosx_linking=yes
17657 fi
17658
17659 if test "x$retest_macosx_linking" = "xyes"; then
17660 ac_ext=c
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17665
17666 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17667 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
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 ;
17680 return 0;
17681 }
17682 _ACEOF
17683 rm -f conftest.$ac_objext conftest$ac_exeext
17684 if { (ac_try="$ac_link"
17685 case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17688 esac
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17691 ac_status=$?
17692 grep -v '^ *+' conftest.er1 >conftest.err
17693 rm -f conftest.er1
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest$ac_exeext &&
17700 $as_test_x conftest$ac_exeext; then
17701 { echo "$as_me:$LINENO: result: yes" >&5
17702 echo "${ECHO_T}yes" >&6; }
17703 else
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17706
17707 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17708 See \`config.log' for more details." >&5
17709 echo "$as_me: error: no. Try a different SDK
17710 See \`config.log' for more details." >&2;}
17711 { (exit 1); exit 1; }; }; exit 1
17712 fi
17713
17714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715 conftest$ac_exeext conftest.$ac_ext
17716 ac_ext=c
17717 ac_cpp='$CPP $CPPFLAGS'
17718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17721
17722
17723 ac_ext=cpp
17724 ac_cpp='$CXXCPP $CPPFLAGS'
17725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17728
17729 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17730 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737
17738 int
17739 main ()
17740 {
17741
17742 ;
17743 return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext conftest$ac_exeext
17747 if { (ac_try="$ac_link"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_link") 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest$ac_exeext &&
17763 $as_test_x conftest$ac_exeext; then
17764 { echo "$as_me:$LINENO: result: yes" >&5
17765 echo "${ECHO_T}yes" >&6; }
17766 else
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.$ac_ext >&5
17769
17770 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17771 See \`config.log' for more details." >&5
17772 echo "$as_me: error: no. Try a different SDK
17773 See \`config.log' for more details." >&2;}
17774 { (exit 1); exit 1; }; }; exit 1
17775 fi
17776
17777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17778 conftest$ac_exeext conftest.$ac_ext
17779 ac_ext=c
17780 ac_cpp='$CPP $CPPFLAGS'
17781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17784
17785 fi
17786
17787
17788 case "${host}" in
17789
17790 *-*-darwin* )
17791 INSTALL_PROGRAM="cp -fp"
17792 INSTALL_DATA="cp -fp"
17793 ;;
17794 *)
17795 ;;
17796 esac
17797
17798
17799 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17800 CXXFLAGS="-qunique $CXXFLAGS"
17801 fi
17802
17803 case "${host}" in
17804 powerpc-*-darwin* )
17805 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17806 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
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 #ifndef __POWERPC__
17818 choke me for lack of PowerPC
17819 #endif
17820
17821 ;
17822 return 0;
17823 }
17824 _ACEOF
17825 rm -f conftest.$ac_objext
17826 if { (ac_try="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17830 esac
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17833 ac_status=$?
17834 grep -v '^ *+' conftest.er1 >conftest.err
17835 rm -f conftest.er1
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_c_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.$ac_objext; then
17842 { echo "$as_me:$LINENO: result: yes" >&5
17843 echo "${ECHO_T}yes" >&6; }
17844 else
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17847
17848 { echo "$as_me:$LINENO: result: no" >&5
17849 echo "${ECHO_T}no" >&6; }
17850 cat >>confdefs.h <<\_ACEOF
17851 #define __POWERPC__ 1
17852 _ACEOF
17853
17854
17855 fi
17856
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 ;;
17859 esac
17860
17861 case "${host}" in
17862 *-*-darwin* )
17863 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17864 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17865 cat >conftest.$ac_ext <<_ACEOF
17866 /* confdefs.h. */
17867 _ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 #include <CoreFoundation/CFBase.h>
17872
17873 int
17874 main ()
17875 {
17876
17877 ;
17878 return 0;
17879 }
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17886 esac
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17889 ac_status=$?
17890 grep -v '^ *+' conftest.er1 >conftest.err
17891 rm -f conftest.er1
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.$ac_objext; then
17898 { echo "$as_me:$LINENO: result: yes" >&5
17899 echo "${ECHO_T}yes" >&6; }
17900 else
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.$ac_ext >&5
17903
17904 { echo "$as_me:$LINENO: result: no" >&5
17905 echo "${ECHO_T}no" >&6; }
17906 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17907 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17908 cat >conftest.$ac_ext <<_ACEOF
17909 /* confdefs.h. */
17910 _ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 #define __CF_USE_FRAMEWORK_INCLUDES__
17915 #include <CoreFoundation/CFBase.h>
17916
17917 int
17918 main ()
17919 {
17920
17921 ;
17922 return 0;
17923 }
17924 _ACEOF
17925 rm -f conftest.$ac_objext
17926 if { (ac_try="$ac_compile"
17927 case "(($ac_try" in
17928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17930 esac
17931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_compile") 2>conftest.er1
17933 ac_status=$?
17934 grep -v '^ *+' conftest.er1 >conftest.err
17935 rm -f conftest.er1
17936 cat conftest.err >&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } && {
17939 test -z "$ac_c_werror_flag" ||
17940 test ! -s conftest.err
17941 } && test -s conftest.$ac_objext; then
17942 { echo "$as_me:$LINENO: result: yes" >&5
17943 echo "${ECHO_T}yes" >&6; }
17944 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17945 else
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17948
17949 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17950 See \`config.log' for more details." >&5
17951 echo "$as_me: error: no. CoreFoundation not available.
17952 See \`config.log' for more details." >&2;}
17953 { (exit 1); exit 1; }; }
17954
17955 fi
17956
17957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958
17959
17960 fi
17961
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 ;;
17964 esac
17965
17966 wants_win32=0
17967 doesnt_want_win32=0
17968 case "${host}" in
17969 *-*-cygwin*)
17970 if test "$wxUSE_MSW" = 1 ; then
17971 wants_win32=1
17972 else
17973 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17974 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17975 if test "${wx_cv_nocygwin+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17977 else
17978
17979 cat >conftest.$ac_ext <<_ACEOF
17980 /* confdefs.h. */
17981 _ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17985
17986 int
17987 main ()
17988 {
17989
17990 #ifdef __MINGW32__
17991 choke me
17992 #endif
17993
17994 ;
17995 return 0;
17996 }
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (ac_try="$ac_compile"
18000 case "(($ac_try" in
18001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18002 *) ac_try_echo=$ac_try;;
18003 esac
18004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18005 (eval "$ac_compile") 2>conftest.er1
18006 ac_status=$?
18007 grep -v '^ *+' conftest.er1 >conftest.err
18008 rm -f conftest.er1
18009 cat conftest.err >&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); } && {
18012 test -z "$ac_c_werror_flag" ||
18013 test ! -s conftest.err
18014 } && test -s conftest.$ac_objext; then
18015 wx_cv_nocygwin=no
18016 else
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18019
18020 wx_cv_nocygwin=yes
18021
18022 fi
18023
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18025
18026
18027 fi
18028 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18029 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18030
18031 if test "$wx_cv_nocygwin" = "yes"; then
18032 wants_win32=1
18033 else
18034 doesnt_want_win32=1
18035 fi
18036 fi
18037 if test "$wants_win32" = 1 ; then
18038 BAKEFILE_FORCE_PLATFORM=win32
18039 fi
18040 ;;
18041 *-*-mingw*)
18042 wants_win32=1
18043 ;;
18044 esac
18045
18046 if test "$wxUSE_WINE" = "yes"; then
18047 wants_win32=1
18048 LDFLAGS_GUI="-mwindows"
18049 fi
18050
18051 if test "$wants_win32" = 1 ; then
18052 USE_UNIX=0
18053 USE_WIN32=1
18054 cat >>confdefs.h <<\_ACEOF
18055 #define __WIN32__ 1
18056 _ACEOF
18057
18058 cat >>confdefs.h <<\_ACEOF
18059 #define __WIN95__ 1
18060 _ACEOF
18061
18062 cat >>confdefs.h <<\_ACEOF
18063 #define __WINDOWS__ 1
18064 _ACEOF
18065
18066 cat >>confdefs.h <<\_ACEOF
18067 #define __GNUWIN32__ 1
18068 _ACEOF
18069
18070 cat >>confdefs.h <<\_ACEOF
18071 #define STRICT 1
18072 _ACEOF
18073
18074 fi
18075 if test "$doesnt_want_win32" = 1 ; then
18076 USE_UNIX=1
18077 USE_WIN32=0
18078 fi
18079
18080 if test "$USE_UNIX" = 1 ; then
18081 wxUSE_UNIX=yes
18082 cat >>confdefs.h <<\_ACEOF
18083 #define __UNIX__ 1
18084 _ACEOF
18085
18086 fi
18087
18088 case "${host}" in
18089 *-pc-os2_emx | *-pc-os2-emx )
18090 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18091 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18092 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18093 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096 ac_check_lib_save_LIBS=$LIBS
18097 LIBS="-lcExt $LIBS"
18098 cat >conftest.$ac_ext <<_ACEOF
18099 /* confdefs.h. */
18100 _ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18104
18105 /* Override any GCC internal prototype to avoid an error.
18106 Use char because int might match the return type of a GCC
18107 builtin and then its argument prototype would still apply. */
18108 #ifdef __cplusplus
18109 extern "C"
18110 #endif
18111 char drand48 ();
18112 int
18113 main ()
18114 {
18115 return drand48 ();
18116 ;
18117 return 0;
18118 }
18119 _ACEOF
18120 rm -f conftest.$ac_objext conftest$ac_exeext
18121 if { (ac_try="$ac_link"
18122 case "(($ac_try" in
18123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18124 *) ac_try_echo=$ac_try;;
18125 esac
18126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18127 (eval "$ac_link") 2>conftest.er1
18128 ac_status=$?
18129 grep -v '^ *+' conftest.er1 >conftest.err
18130 rm -f conftest.er1
18131 cat conftest.err >&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); } && {
18134 test -z "$ac_c_werror_flag" ||
18135 test ! -s conftest.err
18136 } && test -s conftest$ac_exeext &&
18137 $as_test_x conftest$ac_exeext; then
18138 ac_cv_lib_cExt_drand48=yes
18139 else
18140 echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18142
18143 ac_cv_lib_cExt_drand48=no
18144 fi
18145
18146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_lib_save_LIBS
18149 fi
18150 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18151 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18152 if test $ac_cv_lib_cExt_drand48 = yes; then
18153 LIBS="$LIBS -lcExt"
18154 fi
18155
18156 else
18157 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18158 fi
18159 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18160 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18161 if test "${wx_cv_gccversion+set}" = set; then
18162 echo $ECHO_N "(cached) $ECHO_C" >&6
18163 else
18164
18165 if test "$cross_compiling" = yes; then
18166 wx_cv_gccversion="EMX2"
18167
18168 else
18169 cat >conftest.$ac_ext <<_ACEOF
18170 /* confdefs.h. */
18171 _ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175
18176 #include <stdio.h>
18177
18178 int main()
18179 {
18180 FILE *f=fopen("conftestval", "w");
18181 if (!f) exit(1);
18182 fprintf(f,
18183 #if (__GNUC__ < 3)
18184 "EMX2"
18185 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18186 "EMX3"
18187 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18188 "Innotek5"
18189 #else
18190 "Innotek6"
18191 #endif
18192 );
18193 exit(0);
18194 }
18195
18196 _ACEOF
18197 rm -f conftest$ac_exeext
18198 if { (ac_try="$ac_link"
18199 case "(($ac_try" in
18200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18201 *) ac_try_echo=$ac_try;;
18202 esac
18203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_link") 2>&5
18205 ac_status=$?
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18208 { (case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18211 esac
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_try") 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 wx_cv_gccversion=`cat conftestval`
18218 else
18219 echo "$as_me: program exited with status $ac_status" >&5
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.$ac_ext >&5
18222
18223 ( exit $ac_status )
18224 wx_cv_gccversion="EMX2"
18225 fi
18226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18227 fi
18228
18229
18230
18231 fi
18232 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18233 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18234 if test "$wx_cv_gccversion" = "EMX2"; then
18235 LIBS="$LIBS -lstdcpp"
18236 LDFLAGS="$LDFLAGS -Zsysv-signals"
18237 else
18238 if test "$wx_cv_gccversion" = "EMX3"; then
18239 LIBS="$LIBS -lstdcxx -lgcc"
18240 LDFLAGS="$LDFLAGS -Zsysv-signals"
18241 else
18242 LIBS="$LIBS -lstdc++"
18243 fi
18244 fi
18245 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18246 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18247 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18248 wxUSE_OMF=yes
18249 enable_omf=yes
18250 fi
18251 ;;
18252 *)
18253
18254 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18255 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18256 if test "${ac_cv_string_strcasecmp+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 else
18259
18260 cat >conftest.$ac_ext <<_ACEOF
18261 /* confdefs.h. */
18262 _ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266
18267 #include <string.h>
18268
18269 int
18270 main ()
18271 {
18272
18273 strcasecmp("foo", "bar");
18274
18275 ;
18276 return 0;
18277 }
18278 _ACEOF
18279 rm -f conftest.$ac_objext conftest$ac_exeext
18280 if { (ac_try="$ac_link"
18281 case "(($ac_try" in
18282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18283 *) ac_try_echo=$ac_try;;
18284 esac
18285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_link") 2>conftest.er1
18287 ac_status=$?
18288 grep -v '^ *+' conftest.er1 >conftest.err
18289 rm -f conftest.er1
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest$ac_exeext &&
18296 $as_test_x conftest$ac_exeext; then
18297 ac_cv_string_strcasecmp=yes
18298 else
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18301
18302 ac_cv_string_strcasecmp=no
18303
18304 fi
18305
18306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18307 conftest$ac_exeext conftest.$ac_ext
18308
18309 fi
18310 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18311 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18312
18313 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18314 cat >>confdefs.h <<\_ACEOF
18315 #define HAVE_STRCASECMP_IN_STRING_H 1
18316 _ACEOF
18317
18318 else
18319 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18320 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18321 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18322 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 else
18324
18325 cat >conftest.$ac_ext <<_ACEOF
18326 /* confdefs.h. */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331
18332 #include <strings.h>
18333
18334 int
18335 main ()
18336 {
18337
18338 strcasecmp("foo", "bar");
18339
18340 ;
18341 return 0;
18342 }
18343 _ACEOF
18344 rm -f conftest.$ac_objext conftest$ac_exeext
18345 if { (ac_try="$ac_link"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18349 esac
18350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_link") 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest$ac_exeext &&
18361 $as_test_x conftest$ac_exeext; then
18362 ac_cv_strings_strcasecmp=yes
18363 else
18364 echo "$as_me: failed program was:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18366
18367 ac_cv_strings_strcasecmp=no
18368
18369 fi
18370
18371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18372 conftest$ac_exeext conftest.$ac_ext
18373
18374 fi
18375 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18376 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18377
18378 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18379 cat >>confdefs.h <<\_ACEOF
18380 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18381 _ACEOF
18382
18383 else
18384 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18385 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18386 { (exit 1); exit 1; }; }
18387 fi
18388 fi
18389
18390 ;;
18391 esac
18392
18393
18394 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18395 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18396 if test "${ac_cv_header_stdc+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6
18398 else
18399 cat >conftest.$ac_ext <<_ACEOF
18400 /* confdefs.h. */
18401 _ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <stdlib.h>
18406 #include <stdarg.h>
18407 #include <string.h>
18408 #include <float.h>
18409
18410 int
18411 main ()
18412 {
18413
18414 ;
18415 return 0;
18416 }
18417 _ACEOF
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18423 esac
18424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_compile") 2>conftest.er1
18426 ac_status=$?
18427 grep -v '^ *+' conftest.er1 >conftest.err
18428 rm -f conftest.er1
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest.$ac_objext; then
18435 ac_cv_header_stdc=yes
18436 else
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18439
18440 ac_cv_header_stdc=no
18441 fi
18442
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444
18445 if test $ac_cv_header_stdc = yes; then
18446 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <string.h>
18454
18455 _ACEOF
18456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18457 $EGREP "memchr" >/dev/null 2>&1; then
18458 :
18459 else
18460 ac_cv_header_stdc=no
18461 fi
18462 rm -f conftest*
18463
18464 fi
18465
18466 if test $ac_cv_header_stdc = yes; then
18467 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18468 cat >conftest.$ac_ext <<_ACEOF
18469 /* confdefs.h. */
18470 _ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 #include <stdlib.h>
18475
18476 _ACEOF
18477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18478 $EGREP "free" >/dev/null 2>&1; then
18479 :
18480 else
18481 ac_cv_header_stdc=no
18482 fi
18483 rm -f conftest*
18484
18485 fi
18486
18487 if test $ac_cv_header_stdc = yes; then
18488 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18489 if test "$cross_compiling" = yes; then
18490 :
18491 else
18492 cat >conftest.$ac_ext <<_ACEOF
18493 /* confdefs.h. */
18494 _ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18498 #include <ctype.h>
18499 #include <stdlib.h>
18500 #if ((' ' & 0x0FF) == 0x020)
18501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18503 #else
18504 # define ISLOWER(c) \
18505 (('a' <= (c) && (c) <= 'i') \
18506 || ('j' <= (c) && (c) <= 'r') \
18507 || ('s' <= (c) && (c) <= 'z'))
18508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18509 #endif
18510
18511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18512 int
18513 main ()
18514 {
18515 int i;
18516 for (i = 0; i < 256; i++)
18517 if (XOR (islower (i), ISLOWER (i))
18518 || toupper (i) != TOUPPER (i))
18519 return 2;
18520 return 0;
18521 }
18522 _ACEOF
18523 rm -f conftest$ac_exeext
18524 if { (ac_try="$ac_link"
18525 case "(($ac_try" in
18526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18528 esac
18529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_link") 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18534 { (case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18537 esac
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_try") 2>&5
18540 ac_status=$?
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; }; then
18543 :
18544 else
18545 echo "$as_me: program exited with status $ac_status" >&5
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18548
18549 ( exit $ac_status )
18550 ac_cv_header_stdc=no
18551 fi
18552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18553 fi
18554
18555
18556 fi
18557 fi
18558 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18559 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18560 if test $ac_cv_header_stdc = yes; then
18561
18562 cat >>confdefs.h <<\_ACEOF
18563 #define STDC_HEADERS 1
18564 _ACEOF
18565
18566 fi
18567
18568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18579 inttypes.h stdint.h unistd.h
18580 do
18581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18586 else
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18594
18595 #include <$ac_header>
18596 _ACEOF
18597 rm -f conftest.$ac_objext
18598 if { (ac_try="$ac_compile"
18599 case "(($ac_try" in
18600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18601 *) ac_try_echo=$ac_try;;
18602 esac
18603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18604 (eval "$ac_compile") 2>conftest.er1
18605 ac_status=$?
18606 grep -v '^ *+' conftest.er1 >conftest.err
18607 rm -f conftest.er1
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } && {
18611 test -z "$ac_c_werror_flag" ||
18612 test ! -s conftest.err
18613 } && test -s conftest.$ac_objext; then
18614 eval "$as_ac_Header=yes"
18615 else
18616 echo "$as_me: failed program was:" >&5
18617 sed 's/^/| /' conftest.$ac_ext >&5
18618
18619 eval "$as_ac_Header=no"
18620 fi
18621
18622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18623 fi
18624 ac_res=`eval echo '${'$as_ac_Header'}'`
18625 { echo "$as_me:$LINENO: result: $ac_res" >&5
18626 echo "${ECHO_T}$ac_res" >&6; }
18627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18628 cat >>confdefs.h <<_ACEOF
18629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18630 _ACEOF
18631
18632 fi
18633
18634 done
18635
18636
18637
18638
18639 for ac_header in langinfo.h wchar.h
18640 do
18641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18642 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18646 else
18647 cat >conftest.$ac_ext <<_ACEOF
18648 /* confdefs.h. */
18649 _ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 $ac_includes_default
18654
18655 #include <$ac_header>
18656 _ACEOF
18657 rm -f conftest.$ac_objext
18658 if { (ac_try="$ac_compile"
18659 case "(($ac_try" in
18660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18661 *) ac_try_echo=$ac_try;;
18662 esac
18663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_compile") 2>conftest.er1
18665 ac_status=$?
18666 grep -v '^ *+' conftest.er1 >conftest.err
18667 rm -f conftest.er1
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } && {
18671 test -z "$ac_c_werror_flag" ||
18672 test ! -s conftest.err
18673 } && test -s conftest.$ac_objext; then
18674 eval "$as_ac_Header=yes"
18675 else
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 eval "$as_ac_Header=no"
18680 fi
18681
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 fi
18684 ac_res=`eval echo '${'$as_ac_Header'}'`
18685 { echo "$as_me:$LINENO: result: $ac_res" >&5
18686 echo "${ECHO_T}$ac_res" >&6; }
18687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18690 _ACEOF
18691
18692 fi
18693
18694 done
18695
18696
18697 if test "$ac_cv_header_wchar_h" != "yes"; then
18698
18699 for ac_header in wcstr.h
18700 do
18701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 else
18707 cat >conftest.$ac_ext <<_ACEOF
18708 /* confdefs.h. */
18709 _ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18714
18715 #include <$ac_header>
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (ac_try="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18722 esac
18723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18725 ac_status=$?
18726 grep -v '^ *+' conftest.er1 >conftest.err
18727 rm -f conftest.er1
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 eval "$as_ac_Header=yes"
18735 else
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18738
18739 eval "$as_ac_Header=no"
18740 fi
18741
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18743 fi
18744 ac_res=`eval echo '${'$as_ac_Header'}'`
18745 { echo "$as_me:$LINENO: result: $ac_res" >&5
18746 echo "${ECHO_T}$ac_res" >&6; }
18747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18748 cat >>confdefs.h <<_ACEOF
18749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18750 _ACEOF
18751
18752 fi
18753
18754 done
18755
18756 fi
18757
18758 case "${host}" in
18759 *-pc-os2_emx | *-pc-os2-emx )
18760 if test $ac_cv_header_langinfo_h = "yes" \
18761 -a \( "$wx_cv_gccversion" = "EMX2" \
18762 -o "$wx_cv_gccversion" = "EMX3" \
18763 -o "$wx_cv_gccversion" = "Innotek5" \); then
18764 LIBS="$LIBS -lintl"
18765 fi
18766 ;;
18767 esac
18768
18769 if test "$USE_UNIX" = 1 ; then
18770
18771 for ac_header in sys/select.h
18772 do
18773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18778 else
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 $ac_includes_default
18786
18787 #include <$ac_header>
18788 _ACEOF
18789 rm -f conftest.$ac_objext
18790 if { (ac_try="$ac_compile"
18791 case "(($ac_try" in
18792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18793 *) ac_try_echo=$ac_try;;
18794 esac
18795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18796 (eval "$ac_compile") 2>conftest.er1
18797 ac_status=$?
18798 grep -v '^ *+' conftest.er1 >conftest.err
18799 rm -f conftest.er1
18800 cat conftest.err >&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); } && {
18803 test -z "$ac_c_werror_flag" ||
18804 test ! -s conftest.err
18805 } && test -s conftest.$ac_objext; then
18806 eval "$as_ac_Header=yes"
18807 else
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18810
18811 eval "$as_ac_Header=no"
18812 fi
18813
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18815 fi
18816 ac_res=`eval echo '${'$as_ac_Header'}'`
18817 { echo "$as_me:$LINENO: result: $ac_res" >&5
18818 echo "${ECHO_T}$ac_res" >&6; }
18819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18820 cat >>confdefs.h <<_ACEOF
18821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18822 _ACEOF
18823
18824 fi
18825
18826 done
18827
18828 fi
18829
18830
18831 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18832 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18833 if test "${ac_cv_c_const+set}" = set; then
18834 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 else
18836 cat >conftest.$ac_ext <<_ACEOF
18837 /* confdefs.h. */
18838 _ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842
18843 int
18844 main ()
18845 {
18846 /* FIXME: Include the comments suggested by Paul. */
18847 #ifndef __cplusplus
18848 /* Ultrix mips cc rejects this. */
18849 typedef int charset[2];
18850 const charset cs;
18851 /* SunOS 4.1.1 cc rejects this. */
18852 char const *const *pcpcc;
18853 char **ppc;
18854 /* NEC SVR4.0.2 mips cc rejects this. */
18855 struct point {int x, y;};
18856 static struct point const zero = {0,0};
18857 /* AIX XL C 1.02.0.0 rejects this.
18858 It does not let you subtract one const X* pointer from another in
18859 an arm of an if-expression whose if-part is not a constant
18860 expression */
18861 const char *g = "string";
18862 pcpcc = &g + (g ? g-g : 0);
18863 /* HPUX 7.0 cc rejects these. */
18864 ++pcpcc;
18865 ppc = (char**) pcpcc;
18866 pcpcc = (char const *const *) ppc;
18867 { /* SCO 3.2v4 cc rejects this. */
18868 char *t;
18869 char const *s = 0 ? (char *) 0 : (char const *) 0;
18870
18871 *t++ = 0;
18872 if (s) return 0;
18873 }
18874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18875 int x[] = {25, 17};
18876 const int *foo = &x[0];
18877 ++foo;
18878 }
18879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18880 typedef const int *iptr;
18881 iptr p = 0;
18882 ++p;
18883 }
18884 { /* AIX XL C 1.02.0.0 rejects this saying
18885 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18886 struct s { int j; const int *ap[3]; };
18887 struct s *b; b->j = 5;
18888 }
18889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18890 const int foo = 10;
18891 if (!foo) return 0;
18892 }
18893 return !cs[0] && !zero.x;
18894 #endif
18895
18896 ;
18897 return 0;
18898 }
18899 _ACEOF
18900 rm -f conftest.$ac_objext
18901 if { (ac_try="$ac_compile"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18905 esac
18906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_compile") 2>conftest.er1
18908 ac_status=$?
18909 grep -v '^ *+' conftest.er1 >conftest.err
18910 rm -f conftest.er1
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest.$ac_objext; then
18917 ac_cv_c_const=yes
18918 else
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18921
18922 ac_cv_c_const=no
18923 fi
18924
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 fi
18927 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18928 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18929 if test $ac_cv_c_const = no; then
18930
18931 cat >>confdefs.h <<\_ACEOF
18932 #define const
18933 _ACEOF
18934
18935 fi
18936
18937 { echo "$as_me:$LINENO: checking for inline" >&5
18938 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18939 if test "${ac_cv_c_inline+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18941 else
18942 ac_cv_c_inline=no
18943 for ac_kw in inline __inline__ __inline; do
18944 cat >conftest.$ac_ext <<_ACEOF
18945 /* confdefs.h. */
18946 _ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #ifndef __cplusplus
18951 typedef int foo_t;
18952 static $ac_kw foo_t static_foo () {return 0; }
18953 $ac_kw foo_t foo () {return 0; }
18954 #endif
18955
18956 _ACEOF
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18962 esac
18963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18974 ac_cv_c_inline=$ac_kw
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18978
18979
18980 fi
18981
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 test "$ac_cv_c_inline" != no && break
18984 done
18985
18986 fi
18987 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18988 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18989
18990
18991 case $ac_cv_c_inline in
18992 inline | yes) ;;
18993 *)
18994 case $ac_cv_c_inline in
18995 no) ac_val=;;
18996 *) ac_val=$ac_cv_c_inline;;
18997 esac
18998 cat >>confdefs.h <<_ACEOF
18999 #ifndef __cplusplus
19000 #define inline $ac_val
19001 #endif
19002 _ACEOF
19003 ;;
19004 esac
19005
19006
19007 { echo "$as_me:$LINENO: checking for short" >&5
19008 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19009 if test "${ac_cv_type_short+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 else
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 typedef short ac__type_new_;
19020 int
19021 main ()
19022 {
19023 if ((ac__type_new_ *) 0)
19024 return 0;
19025 if (sizeof (ac__type_new_))
19026 return 0;
19027 ;
19028 return 0;
19029 }
19030 _ACEOF
19031 rm -f conftest.$ac_objext
19032 if { (ac_try="$ac_compile"
19033 case "(($ac_try" in
19034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19035 *) ac_try_echo=$ac_try;;
19036 esac
19037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19038 (eval "$ac_compile") 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } && {
19045 test -z "$ac_c_werror_flag" ||
19046 test ! -s conftest.err
19047 } && test -s conftest.$ac_objext; then
19048 ac_cv_type_short=yes
19049 else
19050 echo "$as_me: failed program was:" >&5
19051 sed 's/^/| /' conftest.$ac_ext >&5
19052
19053 ac_cv_type_short=no
19054 fi
19055
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19057 fi
19058 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19059 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19060
19061 # The cast to long int works around a bug in the HP C Compiler
19062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19064 # This bug is HP SR number 8606223364.
19065 { echo "$as_me:$LINENO: checking size of short" >&5
19066 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19067 if test "${ac_cv_sizeof_short+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 else
19070 if test "$cross_compiling" = yes; then
19071 # Depending upon the size, compute the lo and hi bounds.
19072 cat >conftest.$ac_ext <<_ACEOF
19073 /* confdefs.h. */
19074 _ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 $ac_includes_default
19079 typedef short ac__type_sizeof_;
19080 int
19081 main ()
19082 {
19083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19084 test_array [0] = 0
19085
19086 ;
19087 return 0;
19088 }
19089 _ACEOF
19090 rm -f conftest.$ac_objext
19091 if { (ac_try="$ac_compile"
19092 case "(($ac_try" in
19093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19094 *) ac_try_echo=$ac_try;;
19095 esac
19096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19097 (eval "$ac_compile") 2>conftest.er1
19098 ac_status=$?
19099 grep -v '^ *+' conftest.er1 >conftest.err
19100 rm -f conftest.er1
19101 cat conftest.err >&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && {
19104 test -z "$ac_c_werror_flag" ||
19105 test ! -s conftest.err
19106 } && test -s conftest.$ac_objext; then
19107 ac_lo=0 ac_mid=0
19108 while :; do
19109 cat >conftest.$ac_ext <<_ACEOF
19110 /* confdefs.h. */
19111 _ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19116 typedef short ac__type_sizeof_;
19117 int
19118 main ()
19119 {
19120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19121 test_array [0] = 0
19122
19123 ;
19124 return 0;
19125 }
19126 _ACEOF
19127 rm -f conftest.$ac_objext
19128 if { (ac_try="$ac_compile"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19132 esac
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_compile") 2>conftest.er1
19135 ac_status=$?
19136 grep -v '^ *+' conftest.er1 >conftest.err
19137 rm -f conftest.er1
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } && {
19141 test -z "$ac_c_werror_flag" ||
19142 test ! -s conftest.err
19143 } && test -s conftest.$ac_objext; then
19144 ac_hi=$ac_mid; break
19145 else
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19148
19149 ac_lo=`expr $ac_mid + 1`
19150 if test $ac_lo -le $ac_mid; then
19151 ac_lo= ac_hi=
19152 break
19153 fi
19154 ac_mid=`expr 2 '*' $ac_mid + 1`
19155 fi
19156
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19158 done
19159 else
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19162
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 $ac_includes_default
19170 typedef short ac__type_sizeof_;
19171 int
19172 main ()
19173 {
19174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19175 test_array [0] = 0
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;;
19186 esac
19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19189 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_c_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then
19198 ac_hi=-1 ac_mid=-1
19199 while :; do
19200 cat >conftest.$ac_ext <<_ACEOF
19201 /* confdefs.h. */
19202 _ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef short ac__type_sizeof_;
19208 int
19209 main ()
19210 {
19211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19212 test_array [0] = 0
19213
19214 ;
19215 return 0;
19216 }
19217 _ACEOF
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19223 esac
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19226 ac_status=$?
19227 grep -v '^ *+' conftest.er1 >conftest.err
19228 rm -f conftest.er1
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_c_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 ac_lo=$ac_mid; break
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 ac_hi=`expr '(' $ac_mid ')' - 1`
19241 if test $ac_mid -le $ac_hi; then
19242 ac_lo= ac_hi=
19243 break
19244 fi
19245 ac_mid=`expr 2 '*' $ac_mid`
19246 fi
19247
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19249 done
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19253
19254 ac_lo= ac_hi=
19255 fi
19256
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 fi
19259
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 # Binary search between lo and hi bounds.
19262 while test "x$ac_lo" != "x$ac_hi"; do
19263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19264 cat >conftest.$ac_ext <<_ACEOF
19265 /* confdefs.h. */
19266 _ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 $ac_includes_default
19271 typedef short ac__type_sizeof_;
19272 int
19273 main ()
19274 {
19275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19276 test_array [0] = 0
19277
19278 ;
19279 return 0;
19280 }
19281 _ACEOF
19282 rm -f conftest.$ac_objext
19283 if { (ac_try="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19286 *) ac_try_echo=$ac_try;;
19287 esac
19288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19290 ac_status=$?
19291 grep -v '^ *+' conftest.er1 >conftest.err
19292 rm -f conftest.er1
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.$ac_objext; then
19299 ac_hi=$ac_mid
19300 else
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19303
19304 ac_lo=`expr '(' $ac_mid ')' + 1`
19305 fi
19306
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308 done
19309 case $ac_lo in
19310 ?*) ac_cv_sizeof_short=$ac_lo;;
19311 '') if test "$ac_cv_type_short" = yes; then
19312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19313 See \`config.log' for more details." >&5
19314 echo "$as_me: error: cannot compute sizeof (short)
19315 See \`config.log' for more details." >&2;}
19316 { (exit 77); exit 77; }; }
19317 else
19318 ac_cv_sizeof_short=0
19319 fi ;;
19320 esac
19321 else
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19329 typedef short ac__type_sizeof_;
19330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19332 #include <stdio.h>
19333 #include <stdlib.h>
19334 int
19335 main ()
19336 {
19337
19338 FILE *f = fopen ("conftest.val", "w");
19339 if (! f)
19340 return 1;
19341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19342 {
19343 long int i = longval ();
19344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19345 return 1;
19346 fprintf (f, "%ld\n", i);
19347 }
19348 else
19349 {
19350 unsigned long int i = ulongval ();
19351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19352 return 1;
19353 fprintf (f, "%lu\n", i);
19354 }
19355 return ferror (f) || fclose (f) != 0;
19356
19357 ;
19358 return 0;
19359 }
19360 _ACEOF
19361 rm -f conftest$ac_exeext
19362 if { (ac_try="$ac_link"
19363 case "(($ac_try" in
19364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19365 *) ac_try_echo=$ac_try;;
19366 esac
19367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19368 (eval "$ac_link") 2>&5
19369 ac_status=$?
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19372 { (case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_try") 2>&5
19378 ac_status=$?
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19381 ac_cv_sizeof_short=`cat conftest.val`
19382 else
19383 echo "$as_me: program exited with status $ac_status" >&5
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.$ac_ext >&5
19386
19387 ( exit $ac_status )
19388 if test "$ac_cv_type_short" = yes; then
19389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19390 See \`config.log' for more details." >&5
19391 echo "$as_me: error: cannot compute sizeof (short)
19392 See \`config.log' for more details." >&2;}
19393 { (exit 77); exit 77; }; }
19394 else
19395 ac_cv_sizeof_short=0
19396 fi
19397 fi
19398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19399 fi
19400 rm -f conftest.val
19401 fi
19402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19403 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19404
19405
19406
19407 cat >>confdefs.h <<_ACEOF
19408 #define SIZEOF_SHORT $ac_cv_sizeof_short
19409 _ACEOF
19410
19411
19412 { echo "$as_me:$LINENO: checking for void *" >&5
19413 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19414 if test "${ac_cv_type_void_p+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19416 else
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef void * ac__type_new_;
19425 int
19426 main ()
19427 {
19428 if ((ac__type_new_ *) 0)
19429 return 0;
19430 if (sizeof (ac__type_new_))
19431 return 0;
19432 ;
19433 return 0;
19434 }
19435 _ACEOF
19436 rm -f conftest.$ac_objext
19437 if { (ac_try="$ac_compile"
19438 case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19440 *) ac_try_echo=$ac_try;;
19441 esac
19442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_compile") 2>conftest.er1
19444 ac_status=$?
19445 grep -v '^ *+' conftest.er1 >conftest.err
19446 rm -f conftest.er1
19447 cat conftest.err >&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && {
19450 test -z "$ac_c_werror_flag" ||
19451 test ! -s conftest.err
19452 } && test -s conftest.$ac_objext; then
19453 ac_cv_type_void_p=yes
19454 else
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.$ac_ext >&5
19457
19458 ac_cv_type_void_p=no
19459 fi
19460
19461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 fi
19463 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19464 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19465
19466 # The cast to long int works around a bug in the HP C Compiler
19467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19469 # This bug is HP SR number 8606223364.
19470 { echo "$as_me:$LINENO: checking size of void *" >&5
19471 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19472 if test "${ac_cv_sizeof_void_p+set}" = set; then
19473 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 else
19475 if test "$cross_compiling" = yes; then
19476 # Depending upon the size, compute the lo and hi bounds.
19477 cat >conftest.$ac_ext <<_ACEOF
19478 /* confdefs.h. */
19479 _ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19484 typedef void * ac__type_sizeof_;
19485 int
19486 main ()
19487 {
19488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19489 test_array [0] = 0
19490
19491 ;
19492 return 0;
19493 }
19494 _ACEOF
19495 rm -f conftest.$ac_objext
19496 if { (ac_try="$ac_compile"
19497 case "(($ac_try" in
19498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19499 *) ac_try_echo=$ac_try;;
19500 esac
19501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19502 (eval "$ac_compile") 2>conftest.er1
19503 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } && {
19509 test -z "$ac_c_werror_flag" ||
19510 test ! -s conftest.err
19511 } && test -s conftest.$ac_objext; then
19512 ac_lo=0 ac_mid=0
19513 while :; do
19514 cat >conftest.$ac_ext <<_ACEOF
19515 /* confdefs.h. */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 $ac_includes_default
19521 typedef void * ac__type_sizeof_;
19522 int
19523 main ()
19524 {
19525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19526 test_array [0] = 0
19527
19528 ;
19529 return 0;
19530 }
19531 _ACEOF
19532 rm -f conftest.$ac_objext
19533 if { (ac_try="$ac_compile"
19534 case "(($ac_try" in
19535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19536 *) ac_try_echo=$ac_try;;
19537 esac
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_compile") 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } && {
19546 test -z "$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19548 } && test -s conftest.$ac_objext; then
19549 ac_hi=$ac_mid; break
19550 else
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19553
19554 ac_lo=`expr $ac_mid + 1`
19555 if test $ac_lo -le $ac_mid; then
19556 ac_lo= ac_hi=
19557 break
19558 fi
19559 ac_mid=`expr 2 '*' $ac_mid + 1`
19560 fi
19561
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 done
19564 else
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19567
19568 cat >conftest.$ac_ext <<_ACEOF
19569 /* confdefs.h. */
19570 _ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19575 typedef void * ac__type_sizeof_;
19576 int
19577 main ()
19578 {
19579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19580 test_array [0] = 0
19581
19582 ;
19583 return 0;
19584 }
19585 _ACEOF
19586 rm -f conftest.$ac_objext
19587 if { (ac_try="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19591 esac
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19594 ac_status=$?
19595 grep -v '^ *+' conftest.er1 >conftest.err
19596 rm -f conftest.er1
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19603 ac_hi=-1 ac_mid=-1
19604 while :; do
19605 cat >conftest.$ac_ext <<_ACEOF
19606 /* confdefs.h. */
19607 _ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_sizeof_;
19613 int
19614 main ()
19615 {
19616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19617 test_array [0] = 0
19618
19619 ;
19620 return 0;
19621 }
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19631 ac_status=$?
19632 grep -v '^ *+' conftest.er1 >conftest.err
19633 rm -f conftest.er1
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 ac_lo=$ac_mid; break
19641 else
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19644
19645 ac_hi=`expr '(' $ac_mid ')' - 1`
19646 if test $ac_mid -le $ac_hi; then
19647 ac_lo= ac_hi=
19648 break
19649 fi
19650 ac_mid=`expr 2 '*' $ac_mid`
19651 fi
19652
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 done
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 ac_lo= ac_hi=
19660 fi
19661
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 fi
19664
19665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 # Binary search between lo and hi bounds.
19667 while test "x$ac_lo" != "x$ac_hi"; do
19668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h. */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 $ac_includes_default
19676 typedef void * ac__type_sizeof_;
19677 int
19678 main ()
19679 {
19680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19681 test_array [0] = 0
19682
19683 ;
19684 return 0;
19685 }
19686 _ACEOF
19687 rm -f conftest.$ac_objext
19688 if { (ac_try="$ac_compile"
19689 case "(($ac_try" in
19690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19691 *) ac_try_echo=$ac_try;;
19692 esac
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_compile") 2>conftest.er1
19695 ac_status=$?
19696 grep -v '^ *+' conftest.er1 >conftest.err
19697 rm -f conftest.er1
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } && {
19701 test -z "$ac_c_werror_flag" ||
19702 test ! -s conftest.err
19703 } && test -s conftest.$ac_objext; then
19704 ac_hi=$ac_mid
19705 else
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19708
19709 ac_lo=`expr '(' $ac_mid ')' + 1`
19710 fi
19711
19712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19713 done
19714 case $ac_lo in
19715 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19716 '') if test "$ac_cv_type_void_p" = yes; then
19717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19718 See \`config.log' for more details." >&5
19719 echo "$as_me: error: cannot compute sizeof (void *)
19720 See \`config.log' for more details." >&2;}
19721 { (exit 77); exit 77; }; }
19722 else
19723 ac_cv_sizeof_void_p=0
19724 fi ;;
19725 esac
19726 else
19727 cat >conftest.$ac_ext <<_ACEOF
19728 /* confdefs.h. */
19729 _ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef void * ac__type_sizeof_;
19735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19737 #include <stdio.h>
19738 #include <stdlib.h>
19739 int
19740 main ()
19741 {
19742
19743 FILE *f = fopen ("conftest.val", "w");
19744 if (! f)
19745 return 1;
19746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19747 {
19748 long int i = longval ();
19749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19750 return 1;
19751 fprintf (f, "%ld\n", i);
19752 }
19753 else
19754 {
19755 unsigned long int i = ulongval ();
19756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19757 return 1;
19758 fprintf (f, "%lu\n", i);
19759 }
19760 return ferror (f) || fclose (f) != 0;
19761
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 rm -f conftest$ac_exeext
19767 if { (ac_try="$ac_link"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_link") 2>&5
19774 ac_status=$?
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19777 { (case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19780 esac
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_try") 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_sizeof_void_p=`cat conftest.val`
19787 else
19788 echo "$as_me: program exited with status $ac_status" >&5
19789 echo "$as_me: failed program was:" >&5
19790 sed 's/^/| /' conftest.$ac_ext >&5
19791
19792 ( exit $ac_status )
19793 if test "$ac_cv_type_void_p" = yes; then
19794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19795 See \`config.log' for more details." >&5
19796 echo "$as_me: error: cannot compute sizeof (void *)
19797 See \`config.log' for more details." >&2;}
19798 { (exit 77); exit 77; }; }
19799 else
19800 ac_cv_sizeof_void_p=0
19801 fi
19802 fi
19803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19804 fi
19805 rm -f conftest.val
19806 fi
19807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19808 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19809
19810
19811
19812 cat >>confdefs.h <<_ACEOF
19813 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19814 _ACEOF
19815
19816
19817 { echo "$as_me:$LINENO: checking for int" >&5
19818 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19819 if test "${ac_cv_type_int+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 else
19822 cat >conftest.$ac_ext <<_ACEOF
19823 /* confdefs.h. */
19824 _ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef int ac__type_new_;
19830 int
19831 main ()
19832 {
19833 if ((ac__type_new_ *) 0)
19834 return 0;
19835 if (sizeof (ac__type_new_))
19836 return 0;
19837 ;
19838 return 0;
19839 }
19840 _ACEOF
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19846 esac
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19849 ac_status=$?
19850 grep -v '^ *+' conftest.er1 >conftest.err
19851 rm -f conftest.er1
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err
19857 } && test -s conftest.$ac_objext; then
19858 ac_cv_type_int=yes
19859 else
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.$ac_ext >&5
19862
19863 ac_cv_type_int=no
19864 fi
19865
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 fi
19868 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19869 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19870
19871 # The cast to long int works around a bug in the HP C Compiler
19872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19874 # This bug is HP SR number 8606223364.
19875 { echo "$as_me:$LINENO: checking size of int" >&5
19876 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19877 if test "${ac_cv_sizeof_int+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 else
19880 if test "$cross_compiling" = yes; then
19881 # Depending upon the size, compute the lo and hi bounds.
19882 cat >conftest.$ac_ext <<_ACEOF
19883 /* confdefs.h. */
19884 _ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 $ac_includes_default
19889 typedef int ac__type_sizeof_;
19890 int
19891 main ()
19892 {
19893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19894 test_array [0] = 0
19895
19896 ;
19897 return 0;
19898 }
19899 _ACEOF
19900 rm -f conftest.$ac_objext
19901 if { (ac_try="$ac_compile"
19902 case "(($ac_try" in
19903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;;
19905 esac
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_compile") 2>conftest.er1
19908 ac_status=$?
19909 grep -v '^ *+' conftest.er1 >conftest.err
19910 rm -f conftest.er1
19911 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest.$ac_objext; then
19917 ac_lo=0 ac_mid=0
19918 while :; do
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19926 typedef int ac__type_sizeof_;
19927 int
19928 main ()
19929 {
19930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19931 test_array [0] = 0
19932
19933 ;
19934 return 0;
19935 }
19936 _ACEOF
19937 rm -f conftest.$ac_objext
19938 if { (ac_try="$ac_compile"
19939 case "(($ac_try" in
19940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19941 *) ac_try_echo=$ac_try;;
19942 esac
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_compile") 2>conftest.er1
19945 ac_status=$?
19946 grep -v '^ *+' conftest.er1 >conftest.err
19947 rm -f conftest.er1
19948 cat conftest.err >&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && {
19951 test -z "$ac_c_werror_flag" ||
19952 test ! -s conftest.err
19953 } && test -s conftest.$ac_objext; then
19954 ac_hi=$ac_mid; break
19955 else
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.$ac_ext >&5
19958
19959 ac_lo=`expr $ac_mid + 1`
19960 if test $ac_lo -le $ac_mid; then
19961 ac_lo= ac_hi=
19962 break
19963 fi
19964 ac_mid=`expr 2 '*' $ac_mid + 1`
19965 fi
19966
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19968 done
19969 else
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.$ac_ext >&5
19972
19973 cat >conftest.$ac_ext <<_ACEOF
19974 /* confdefs.h. */
19975 _ACEOF
19976 cat confdefs.h >>conftest.$ac_ext
19977 cat >>conftest.$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19979 $ac_includes_default
19980 typedef int ac__type_sizeof_;
19981 int
19982 main ()
19983 {
19984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19985 test_array [0] = 0
19986
19987 ;
19988 return 0;
19989 }
19990 _ACEOF
19991 rm -f conftest.$ac_objext
19992 if { (ac_try="$ac_compile"
19993 case "(($ac_try" in
19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19996 esac
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_compile") 2>conftest.er1
19999 ac_status=$?
20000 grep -v '^ *+' conftest.er1 >conftest.err
20001 rm -f conftest.er1
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } && {
20005 test -z "$ac_c_werror_flag" ||
20006 test ! -s conftest.err
20007 } && test -s conftest.$ac_objext; then
20008 ac_hi=-1 ac_mid=-1
20009 while :; do
20010 cat >conftest.$ac_ext <<_ACEOF
20011 /* confdefs.h. */
20012 _ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 typedef int ac__type_sizeof_;
20018 int
20019 main ()
20020 {
20021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20022 test_array [0] = 0
20023
20024 ;
20025 return 0;
20026 }
20027 _ACEOF
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20036 ac_status=$?
20037 grep -v '^ *+' conftest.er1 >conftest.err
20038 rm -f conftest.er1
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.$ac_objext; then
20045 ac_lo=$ac_mid; break
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20049
20050 ac_hi=`expr '(' $ac_mid ')' - 1`
20051 if test $ac_mid -le $ac_hi; then
20052 ac_lo= ac_hi=
20053 break
20054 fi
20055 ac_mid=`expr 2 '*' $ac_mid`
20056 fi
20057
20058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059 done
20060 else
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20063
20064 ac_lo= ac_hi=
20065 fi
20066
20067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20068 fi
20069
20070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20071 # Binary search between lo and hi bounds.
20072 while test "x$ac_lo" != "x$ac_hi"; do
20073 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20074 cat >conftest.$ac_ext <<_ACEOF
20075 /* confdefs.h. */
20076 _ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 $ac_includes_default
20081 typedef int ac__type_sizeof_;
20082 int
20083 main ()
20084 {
20085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20086 test_array [0] = 0
20087
20088 ;
20089 return 0;
20090 }
20091 _ACEOF
20092 rm -f conftest.$ac_objext
20093 if { (ac_try="$ac_compile"
20094 case "(($ac_try" in
20095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20097 esac
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_compile") 2>conftest.er1
20100 ac_status=$?
20101 grep -v '^ *+' conftest.er1 >conftest.err
20102 rm -f conftest.er1
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && {
20106 test -z "$ac_c_werror_flag" ||
20107 test ! -s conftest.err
20108 } && test -s conftest.$ac_objext; then
20109 ac_hi=$ac_mid
20110 else
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20113
20114 ac_lo=`expr '(' $ac_mid ')' + 1`
20115 fi
20116
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20118 done
20119 case $ac_lo in
20120 ?*) ac_cv_sizeof_int=$ac_lo;;
20121 '') if test "$ac_cv_type_int" = yes; then
20122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20123 See \`config.log' for more details." >&5
20124 echo "$as_me: error: cannot compute sizeof (int)
20125 See \`config.log' for more details." >&2;}
20126 { (exit 77); exit 77; }; }
20127 else
20128 ac_cv_sizeof_int=0
20129 fi ;;
20130 esac
20131 else
20132 cat >conftest.$ac_ext <<_ACEOF
20133 /* confdefs.h. */
20134 _ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef int ac__type_sizeof_;
20140 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20141 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20142 #include <stdio.h>
20143 #include <stdlib.h>
20144 int
20145 main ()
20146 {
20147
20148 FILE *f = fopen ("conftest.val", "w");
20149 if (! f)
20150 return 1;
20151 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20152 {
20153 long int i = longval ();
20154 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20155 return 1;
20156 fprintf (f, "%ld\n", i);
20157 }
20158 else
20159 {
20160 unsigned long int i = ulongval ();
20161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20162 return 1;
20163 fprintf (f, "%lu\n", i);
20164 }
20165 return ferror (f) || fclose (f) != 0;
20166
20167 ;
20168 return 0;
20169 }
20170 _ACEOF
20171 rm -f conftest$ac_exeext
20172 if { (ac_try="$ac_link"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20176 esac
20177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_link") 2>&5
20179 ac_status=$?
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20182 { (case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20185 esac
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_try") 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_cv_sizeof_int=`cat conftest.val`
20192 else
20193 echo "$as_me: program exited with status $ac_status" >&5
20194 echo "$as_me: failed program was:" >&5
20195 sed 's/^/| /' conftest.$ac_ext >&5
20196
20197 ( exit $ac_status )
20198 if test "$ac_cv_type_int" = yes; then
20199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20200 See \`config.log' for more details." >&5
20201 echo "$as_me: error: cannot compute sizeof (int)
20202 See \`config.log' for more details." >&2;}
20203 { (exit 77); exit 77; }; }
20204 else
20205 ac_cv_sizeof_int=0
20206 fi
20207 fi
20208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20209 fi
20210 rm -f conftest.val
20211 fi
20212 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20213 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20214
20215
20216
20217 cat >>confdefs.h <<_ACEOF
20218 #define SIZEOF_INT $ac_cv_sizeof_int
20219 _ACEOF
20220
20221
20222 { echo "$as_me:$LINENO: checking for long" >&5
20223 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20224 if test "${ac_cv_type_long+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 else
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef long ac__type_new_;
20235 int
20236 main ()
20237 {
20238 if ((ac__type_new_ *) 0)
20239 return 0;
20240 if (sizeof (ac__type_new_))
20241 return 0;
20242 ;
20243 return 0;
20244 }
20245 _ACEOF
20246 rm -f conftest.$ac_objext
20247 if { (ac_try="$ac_compile"
20248 case "(($ac_try" in
20249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20250 *) ac_try_echo=$ac_try;;
20251 esac
20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20253 (eval "$ac_compile") 2>conftest.er1
20254 ac_status=$?
20255 grep -v '^ *+' conftest.er1 >conftest.err
20256 rm -f conftest.er1
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } && {
20260 test -z "$ac_c_werror_flag" ||
20261 test ! -s conftest.err
20262 } && test -s conftest.$ac_objext; then
20263 ac_cv_type_long=yes
20264 else
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.$ac_ext >&5
20267
20268 ac_cv_type_long=no
20269 fi
20270
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20272 fi
20273 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20274 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20275
20276 # The cast to long int works around a bug in the HP C Compiler
20277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20279 # This bug is HP SR number 8606223364.
20280 { echo "$as_me:$LINENO: checking size of long" >&5
20281 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20282 if test "${ac_cv_sizeof_long+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 else
20285 if test "$cross_compiling" = yes; then
20286 # Depending upon the size, compute the lo and hi bounds.
20287 cat >conftest.$ac_ext <<_ACEOF
20288 /* confdefs.h. */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20294 typedef long ac__type_sizeof_;
20295 int
20296 main ()
20297 {
20298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20299 test_array [0] = 0
20300
20301 ;
20302 return 0;
20303 }
20304 _ACEOF
20305 rm -f conftest.$ac_objext
20306 if { (ac_try="$ac_compile"
20307 case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20310 esac
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20313 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20322 ac_lo=0 ac_mid=0
20323 while :; do
20324 cat >conftest.$ac_ext <<_ACEOF
20325 /* confdefs.h. */
20326 _ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 $ac_includes_default
20331 typedef long ac__type_sizeof_;
20332 int
20333 main ()
20334 {
20335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20336 test_array [0] = 0
20337
20338 ;
20339 return 0;
20340 }
20341 _ACEOF
20342 rm -f conftest.$ac_objext
20343 if { (ac_try="$ac_compile"
20344 case "(($ac_try" in
20345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20346 *) ac_try_echo=$ac_try;;
20347 esac
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20349 (eval "$ac_compile") 2>conftest.er1
20350 ac_status=$?
20351 grep -v '^ *+' conftest.er1 >conftest.err
20352 rm -f conftest.er1
20353 cat conftest.err >&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && {
20356 test -z "$ac_c_werror_flag" ||
20357 test ! -s conftest.err
20358 } && test -s conftest.$ac_objext; then
20359 ac_hi=$ac_mid; break
20360 else
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.$ac_ext >&5
20363
20364 ac_lo=`expr $ac_mid + 1`
20365 if test $ac_lo -le $ac_mid; then
20366 ac_lo= ac_hi=
20367 break
20368 fi
20369 ac_mid=`expr 2 '*' $ac_mid + 1`
20370 fi
20371
20372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20373 done
20374 else
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20377
20378 cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20385 typedef long ac__type_sizeof_;
20386 int
20387 main ()
20388 {
20389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20390 test_array [0] = 0
20391
20392 ;
20393 return 0;
20394 }
20395 _ACEOF
20396 rm -f conftest.$ac_objext
20397 if { (ac_try="$ac_compile"
20398 case "(($ac_try" in
20399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20400 *) ac_try_echo=$ac_try;;
20401 esac
20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20403 (eval "$ac_compile") 2>conftest.er1
20404 ac_status=$?
20405 grep -v '^ *+' conftest.er1 >conftest.err
20406 rm -f conftest.er1
20407 cat conftest.err >&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } && {
20410 test -z "$ac_c_werror_flag" ||
20411 test ! -s conftest.err
20412 } && test -s conftest.$ac_objext; then
20413 ac_hi=-1 ac_mid=-1
20414 while :; do
20415 cat >conftest.$ac_ext <<_ACEOF
20416 /* confdefs.h. */
20417 _ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long ac__type_sizeof_;
20423 int
20424 main ()
20425 {
20426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20427 test_array [0] = 0
20428
20429 ;
20430 return 0;
20431 }
20432 _ACEOF
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20441 ac_status=$?
20442 grep -v '^ *+' conftest.er1 >conftest.err
20443 rm -f conftest.er1
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20450 ac_lo=$ac_mid; break
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 ac_hi=`expr '(' $ac_mid ')' - 1`
20456 if test $ac_mid -le $ac_hi; then
20457 ac_lo= ac_hi=
20458 break
20459 fi
20460 ac_mid=`expr 2 '*' $ac_mid`
20461 fi
20462
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20464 done
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20468
20469 ac_lo= ac_hi=
20470 fi
20471
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20473 fi
20474
20475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20476 # Binary search between lo and hi bounds.
20477 while test "x$ac_lo" != "x$ac_hi"; do
20478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20479 cat >conftest.$ac_ext <<_ACEOF
20480 /* confdefs.h. */
20481 _ACEOF
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20486 typedef long ac__type_sizeof_;
20487 int
20488 main ()
20489 {
20490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20491 test_array [0] = 0
20492
20493 ;
20494 return 0;
20495 }
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (ac_try="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20502 esac
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20505 ac_status=$?
20506 grep -v '^ *+' conftest.er1 >conftest.err
20507 rm -f conftest.er1
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20514 ac_hi=$ac_mid
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 ac_lo=`expr '(' $ac_mid ')' + 1`
20520 fi
20521
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523 done
20524 case $ac_lo in
20525 ?*) ac_cv_sizeof_long=$ac_lo;;
20526 '') if test "$ac_cv_type_long" = yes; then
20527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20528 See \`config.log' for more details." >&5
20529 echo "$as_me: error: cannot compute sizeof (long)
20530 See \`config.log' for more details." >&2;}
20531 { (exit 77); exit 77; }; }
20532 else
20533 ac_cv_sizeof_long=0
20534 fi ;;
20535 esac
20536 else
20537 cat >conftest.$ac_ext <<_ACEOF
20538 /* confdefs.h. */
20539 _ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef long ac__type_sizeof_;
20545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20547 #include <stdio.h>
20548 #include <stdlib.h>
20549 int
20550 main ()
20551 {
20552
20553 FILE *f = fopen ("conftest.val", "w");
20554 if (! f)
20555 return 1;
20556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20557 {
20558 long int i = longval ();
20559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20560 return 1;
20561 fprintf (f, "%ld\n", i);
20562 }
20563 else
20564 {
20565 unsigned long int i = ulongval ();
20566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20567 return 1;
20568 fprintf (f, "%lu\n", i);
20569 }
20570 return ferror (f) || fclose (f) != 0;
20571
20572 ;
20573 return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest$ac_exeext
20577 if { (ac_try="$ac_link"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20581 esac
20582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_link") 2>&5
20584 ac_status=$?
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20587 { (case "(($ac_try" in
20588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20589 *) ac_try_echo=$ac_try;;
20590 esac
20591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20592 (eval "$ac_try") 2>&5
20593 ac_status=$?
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 ac_cv_sizeof_long=`cat conftest.val`
20597 else
20598 echo "$as_me: program exited with status $ac_status" >&5
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20601
20602 ( exit $ac_status )
20603 if test "$ac_cv_type_long" = yes; then
20604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20605 See \`config.log' for more details." >&5
20606 echo "$as_me: error: cannot compute sizeof (long)
20607 See \`config.log' for more details." >&2;}
20608 { (exit 77); exit 77; }; }
20609 else
20610 ac_cv_sizeof_long=0
20611 fi
20612 fi
20613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20614 fi
20615 rm -f conftest.val
20616 fi
20617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20618 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20619
20620
20621
20622 cat >>confdefs.h <<_ACEOF
20623 #define SIZEOF_LONG $ac_cv_sizeof_long
20624 _ACEOF
20625
20626
20627 { echo "$as_me:$LINENO: checking for size_t" >&5
20628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20629 if test "${ac_cv_type_size_t+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20631 else
20632 cat >conftest.$ac_ext <<_ACEOF
20633 /* confdefs.h. */
20634 _ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef size_t ac__type_new_;
20640 int
20641 main ()
20642 {
20643 if ((ac__type_new_ *) 0)
20644 return 0;
20645 if (sizeof (ac__type_new_))
20646 return 0;
20647 ;
20648 return 0;
20649 }
20650 _ACEOF
20651 rm -f conftest.$ac_objext
20652 if { (ac_try="$ac_compile"
20653 case "(($ac_try" in
20654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655 *) ac_try_echo=$ac_try;;
20656 esac
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_compile") 2>conftest.er1
20659 ac_status=$?
20660 grep -v '^ *+' conftest.er1 >conftest.err
20661 rm -f conftest.er1
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } && {
20665 test -z "$ac_c_werror_flag" ||
20666 test ! -s conftest.err
20667 } && test -s conftest.$ac_objext; then
20668 ac_cv_type_size_t=yes
20669 else
20670 echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20672
20673 ac_cv_type_size_t=no
20674 fi
20675
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 fi
20678 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20679 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20680
20681 # The cast to long int works around a bug in the HP C Compiler
20682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20684 # This bug is HP SR number 8606223364.
20685 { echo "$as_me:$LINENO: checking size of size_t" >&5
20686 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20687 if test "${ac_cv_sizeof_size_t+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 else
20690 if test "$cross_compiling" = yes; then
20691 # Depending upon the size, compute the lo and hi bounds.
20692 cat >conftest.$ac_ext <<_ACEOF
20693 /* confdefs.h. */
20694 _ACEOF
20695 cat confdefs.h >>conftest.$ac_ext
20696 cat >>conftest.$ac_ext <<_ACEOF
20697 /* end confdefs.h. */
20698 $ac_includes_default
20699 typedef size_t ac__type_sizeof_;
20700 int
20701 main ()
20702 {
20703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20704 test_array [0] = 0
20705
20706 ;
20707 return 0;
20708 }
20709 _ACEOF
20710 rm -f conftest.$ac_objext
20711 if { (ac_try="$ac_compile"
20712 case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20715 esac
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_compile") 2>conftest.er1
20718 ac_status=$?
20719 grep -v '^ *+' conftest.er1 >conftest.err
20720 rm -f conftest.er1
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } && {
20724 test -z "$ac_c_werror_flag" ||
20725 test ! -s conftest.err
20726 } && test -s conftest.$ac_objext; then
20727 ac_lo=0 ac_mid=0
20728 while :; do
20729 cat >conftest.$ac_ext <<_ACEOF
20730 /* confdefs.h. */
20731 _ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20736 typedef size_t ac__type_sizeof_;
20737 int
20738 main ()
20739 {
20740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20741 test_array [0] = 0
20742
20743 ;
20744 return 0;
20745 }
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20752 esac
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20755 ac_status=$?
20756 grep -v '^ *+' conftest.er1 >conftest.err
20757 rm -f conftest.er1
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.$ac_objext; then
20764 ac_hi=$ac_mid; break
20765 else
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20768
20769 ac_lo=`expr $ac_mid + 1`
20770 if test $ac_lo -le $ac_mid; then
20771 ac_lo= ac_hi=
20772 break
20773 fi
20774 ac_mid=`expr 2 '*' $ac_mid + 1`
20775 fi
20776
20777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20778 done
20779 else
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.$ac_ext >&5
20782
20783 cat >conftest.$ac_ext <<_ACEOF
20784 /* confdefs.h. */
20785 _ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20790 typedef size_t ac__type_sizeof_;
20791 int
20792 main ()
20793 {
20794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20795 test_array [0] = 0
20796
20797 ;
20798 return 0;
20799 }
20800 _ACEOF
20801 rm -f conftest.$ac_objext
20802 if { (ac_try="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20806 esac
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20809 ac_status=$?
20810 grep -v '^ *+' conftest.er1 >conftest.err
20811 rm -f conftest.er1
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20818 ac_hi=-1 ac_mid=-1
20819 while :; do
20820 cat >conftest.$ac_ext <<_ACEOF
20821 /* confdefs.h. */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef size_t ac__type_sizeof_;
20828 int
20829 main ()
20830 {
20831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20832 test_array [0] = 0
20833
20834 ;
20835 return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20846 ac_status=$?
20847 grep -v '^ *+' conftest.er1 >conftest.err
20848 rm -f conftest.er1
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20855 ac_lo=$ac_mid; break
20856 else
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20859
20860 ac_hi=`expr '(' $ac_mid ')' - 1`
20861 if test $ac_mid -le $ac_hi; then
20862 ac_lo= ac_hi=
20863 break
20864 fi
20865 ac_mid=`expr 2 '*' $ac_mid`
20866 fi
20867
20868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 done
20870 else
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.$ac_ext >&5
20873
20874 ac_lo= ac_hi=
20875 fi
20876
20877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20878 fi
20879
20880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20881 # Binary search between lo and hi bounds.
20882 while test "x$ac_lo" != "x$ac_hi"; do
20883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20884 cat >conftest.$ac_ext <<_ACEOF
20885 /* confdefs.h. */
20886 _ACEOF
20887 cat confdefs.h >>conftest.$ac_ext
20888 cat >>conftest.$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20890 $ac_includes_default
20891 typedef size_t ac__type_sizeof_;
20892 int
20893 main ()
20894 {
20895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20896 test_array [0] = 0
20897
20898 ;
20899 return 0;
20900 }
20901 _ACEOF
20902 rm -f conftest.$ac_objext
20903 if { (ac_try="$ac_compile"
20904 case "(($ac_try" in
20905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20906 *) ac_try_echo=$ac_try;;
20907 esac
20908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20909 (eval "$ac_compile") 2>conftest.er1
20910 ac_status=$?
20911 grep -v '^ *+' conftest.er1 >conftest.err
20912 rm -f conftest.er1
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } && {
20916 test -z "$ac_c_werror_flag" ||
20917 test ! -s conftest.err
20918 } && test -s conftest.$ac_objext; then
20919 ac_hi=$ac_mid
20920 else
20921 echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.$ac_ext >&5
20923
20924 ac_lo=`expr '(' $ac_mid ')' + 1`
20925 fi
20926
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20928 done
20929 case $ac_lo in
20930 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20931 '') if test "$ac_cv_type_size_t" = yes; then
20932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20933 See \`config.log' for more details." >&5
20934 echo "$as_me: error: cannot compute sizeof (size_t)
20935 See \`config.log' for more details." >&2;}
20936 { (exit 77); exit 77; }; }
20937 else
20938 ac_cv_sizeof_size_t=0
20939 fi ;;
20940 esac
20941 else
20942 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */
20944 _ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef size_t ac__type_sizeof_;
20950 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20951 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20952 #include <stdio.h>
20953 #include <stdlib.h>
20954 int
20955 main ()
20956 {
20957
20958 FILE *f = fopen ("conftest.val", "w");
20959 if (! f)
20960 return 1;
20961 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20962 {
20963 long int i = longval ();
20964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20965 return 1;
20966 fprintf (f, "%ld\n", i);
20967 }
20968 else
20969 {
20970 unsigned long int i = ulongval ();
20971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20972 return 1;
20973 fprintf (f, "%lu\n", i);
20974 }
20975 return ferror (f) || fclose (f) != 0;
20976
20977 ;
20978 return 0;
20979 }
20980 _ACEOF
20981 rm -f conftest$ac_exeext
20982 if { (ac_try="$ac_link"
20983 case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20986 esac
20987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_link") 2>&5
20989 ac_status=$?
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20992 { (case "(($ac_try" in
20993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20994 *) ac_try_echo=$ac_try;;
20995 esac
20996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20997 (eval "$ac_try") 2>&5
20998 ac_status=$?
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; }; then
21001 ac_cv_sizeof_size_t=`cat conftest.val`
21002 else
21003 echo "$as_me: program exited with status $ac_status" >&5
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21006
21007 ( exit $ac_status )
21008 if test "$ac_cv_type_size_t" = yes; then
21009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21010 See \`config.log' for more details." >&5
21011 echo "$as_me: error: cannot compute sizeof (size_t)
21012 See \`config.log' for more details." >&2;}
21013 { (exit 77); exit 77; }; }
21014 else
21015 ac_cv_sizeof_size_t=0
21016 fi
21017 fi
21018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21019 fi
21020 rm -f conftest.val
21021 fi
21022 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21023 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21024
21025
21026
21027 cat >>confdefs.h <<_ACEOF
21028 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21029 _ACEOF
21030
21031
21032
21033 case "${host}" in
21034 arm-*-linux* )
21035 { echo "$as_me:$LINENO: checking for long long" >&5
21036 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21037 if test "${ac_cv_type_long_long+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 else
21040 cat >conftest.$ac_ext <<_ACEOF
21041 /* confdefs.h. */
21042 _ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21047 typedef long long ac__type_new_;
21048 int
21049 main ()
21050 {
21051 if ((ac__type_new_ *) 0)
21052 return 0;
21053 if (sizeof (ac__type_new_))
21054 return 0;
21055 ;
21056 return 0;
21057 }
21058 _ACEOF
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21064 esac
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21067 ac_status=$?
21068 grep -v '^ *+' conftest.er1 >conftest.err
21069 rm -f conftest.er1
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_cv_type_long_long=yes
21077 else
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21080
21081 ac_cv_type_long_long=no
21082 fi
21083
21084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21085 fi
21086 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21087 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21088
21089 # The cast to long int works around a bug in the HP C Compiler
21090 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21091 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21092 # This bug is HP SR number 8606223364.
21093 { echo "$as_me:$LINENO: checking size of long long" >&5
21094 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21095 if test "${ac_cv_sizeof_long_long+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21097 else
21098 if test "$cross_compiling" = yes; then
21099 # Depending upon the size, compute the lo and hi bounds.
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 long long ac__type_sizeof_;
21108 int
21109 main ()
21110 {
21111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21112 test_array [0] = 0
21113
21114 ;
21115 return 0;
21116 }
21117 _ACEOF
21118 rm -f conftest.$ac_objext
21119 if { (ac_try="$ac_compile"
21120 case "(($ac_try" in
21121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21122 *) ac_try_echo=$ac_try;;
21123 esac
21124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21125 (eval "$ac_compile") 2>conftest.er1
21126 ac_status=$?
21127 grep -v '^ *+' conftest.er1 >conftest.err
21128 rm -f conftest.er1
21129 cat conftest.err >&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } && {
21132 test -z "$ac_c_werror_flag" ||
21133 test ! -s conftest.err
21134 } && test -s conftest.$ac_objext; then
21135 ac_lo=0 ac_mid=0
21136 while :; do
21137 cat >conftest.$ac_ext <<_ACEOF
21138 /* confdefs.h. */
21139 _ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 typedef long long ac__type_sizeof_;
21145 int
21146 main ()
21147 {
21148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21149 test_array [0] = 0
21150
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 rm -f conftest.$ac_objext
21156 if { (ac_try="$ac_compile"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21160 esac
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_compile") 2>conftest.er1
21163 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest.$ac_objext; then
21172 ac_hi=$ac_mid; break
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 ac_lo=`expr $ac_mid + 1`
21178 if test $ac_lo -le $ac_mid; then
21179 ac_lo= ac_hi=
21180 break
21181 fi
21182 ac_mid=`expr 2 '*' $ac_mid + 1`
21183 fi
21184
21185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21186 done
21187 else
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21190
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef long long ac__type_sizeof_;
21199 int
21200 main ()
21201 {
21202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21203 test_array [0] = 0
21204
21205 ;
21206 return 0;
21207 }
21208 _ACEOF
21209 rm -f conftest.$ac_objext
21210 if { (ac_try="$ac_compile"
21211 case "(($ac_try" in
21212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21213 *) ac_try_echo=$ac_try;;
21214 esac
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21216 (eval "$ac_compile") 2>conftest.er1
21217 ac_status=$?
21218 grep -v '^ *+' conftest.er1 >conftest.err
21219 rm -f conftest.er1
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && {
21223 test -z "$ac_c_werror_flag" ||
21224 test ! -s conftest.err
21225 } && test -s conftest.$ac_objext; then
21226 ac_hi=-1 ac_mid=-1
21227 while :; do
21228 cat >conftest.$ac_ext <<_ACEOF
21229 /* confdefs.h. */
21230 _ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long long ac__type_sizeof_;
21236 int
21237 main ()
21238 {
21239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21240 test_array [0] = 0
21241
21242 ;
21243 return 0;
21244 }
21245 _ACEOF
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21251 esac
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21254 ac_status=$?
21255 grep -v '^ *+' conftest.er1 >conftest.err
21256 rm -f conftest.er1
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.$ac_objext; then
21263 ac_lo=$ac_mid; break
21264 else
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21267
21268 ac_hi=`expr '(' $ac_mid ')' - 1`
21269 if test $ac_mid -le $ac_hi; then
21270 ac_lo= ac_hi=
21271 break
21272 fi
21273 ac_mid=`expr 2 '*' $ac_mid`
21274 fi
21275
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277 done
21278 else
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21281
21282 ac_lo= ac_hi=
21283 fi
21284
21285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21286 fi
21287
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 # Binary search between lo and hi bounds.
21290 while test "x$ac_lo" != "x$ac_hi"; do
21291 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21292 cat >conftest.$ac_ext <<_ACEOF
21293 /* confdefs.h. */
21294 _ACEOF
21295 cat confdefs.h >>conftest.$ac_ext
21296 cat >>conftest.$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 $ac_includes_default
21299 typedef long long ac__type_sizeof_;
21300 int
21301 main ()
21302 {
21303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21304 test_array [0] = 0
21305
21306 ;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest.$ac_objext
21311 if { (ac_try="$ac_compile"
21312 case "(($ac_try" in
21313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21315 esac
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_compile") 2>conftest.er1
21318 ac_status=$?
21319 grep -v '^ *+' conftest.er1 >conftest.err
21320 rm -f conftest.er1
21321 cat conftest.err >&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); } && {
21324 test -z "$ac_c_werror_flag" ||
21325 test ! -s conftest.err
21326 } && test -s conftest.$ac_objext; then
21327 ac_hi=$ac_mid
21328 else
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.$ac_ext >&5
21331
21332 ac_lo=`expr '(' $ac_mid ')' + 1`
21333 fi
21334
21335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21336 done
21337 case $ac_lo in
21338 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21339 '') if test "$ac_cv_type_long_long" = yes; then
21340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21341 See \`config.log' for more details." >&5
21342 echo "$as_me: error: cannot compute sizeof (long long)
21343 See \`config.log' for more details." >&2;}
21344 { (exit 77); exit 77; }; }
21345 else
21346 ac_cv_sizeof_long_long=0
21347 fi ;;
21348 esac
21349 else
21350 cat >conftest.$ac_ext <<_ACEOF
21351 /* confdefs.h. */
21352 _ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 $ac_includes_default
21357 typedef long long ac__type_sizeof_;
21358 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21359 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21360 #include <stdio.h>
21361 #include <stdlib.h>
21362 int
21363 main ()
21364 {
21365
21366 FILE *f = fopen ("conftest.val", "w");
21367 if (! f)
21368 return 1;
21369 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21370 {
21371 long int i = longval ();
21372 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21373 return 1;
21374 fprintf (f, "%ld\n", i);
21375 }
21376 else
21377 {
21378 unsigned long int i = ulongval ();
21379 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21380 return 1;
21381 fprintf (f, "%lu\n", i);
21382 }
21383 return ferror (f) || fclose (f) != 0;
21384
21385 ;
21386 return 0;
21387 }
21388 _ACEOF
21389 rm -f conftest$ac_exeext
21390 if { (ac_try="$ac_link"
21391 case "(($ac_try" in
21392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21393 *) ac_try_echo=$ac_try;;
21394 esac
21395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21396 (eval "$ac_link") 2>&5
21397 ac_status=$?
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21400 { (case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21403 esac
21404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_try") 2>&5
21406 ac_status=$?
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_sizeof_long_long=`cat conftest.val`
21410 else
21411 echo "$as_me: program exited with status $ac_status" >&5
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 ( exit $ac_status )
21416 if test "$ac_cv_type_long_long" = yes; then
21417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21418 See \`config.log' for more details." >&5
21419 echo "$as_me: error: cannot compute sizeof (long long)
21420 See \`config.log' for more details." >&2;}
21421 { (exit 77); exit 77; }; }
21422 else
21423 ac_cv_sizeof_long_long=0
21424 fi
21425 fi
21426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21427 fi
21428 rm -f conftest.val
21429 fi
21430 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21431 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21432
21433
21434
21435 cat >>confdefs.h <<_ACEOF
21436 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21437 _ACEOF
21438
21439
21440 ;;
21441 *-hp-hpux* )
21442 { echo "$as_me:$LINENO: checking for long long" >&5
21443 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21444 if test "${ac_cv_type_long_long+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 else
21447 cat >conftest.$ac_ext <<_ACEOF
21448 /* confdefs.h. */
21449 _ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 $ac_includes_default
21454 typedef long long ac__type_new_;
21455 int
21456 main ()
21457 {
21458 if ((ac__type_new_ *) 0)
21459 return 0;
21460 if (sizeof (ac__type_new_))
21461 return 0;
21462 ;
21463 return 0;
21464 }
21465 _ACEOF
21466 rm -f conftest.$ac_objext
21467 if { (ac_try="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21471 esac
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21474 ac_status=$?
21475 grep -v '^ *+' conftest.er1 >conftest.err
21476 rm -f conftest.er1
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } && {
21480 test -z "$ac_c_werror_flag" ||
21481 test ! -s conftest.err
21482 } && test -s conftest.$ac_objext; then
21483 ac_cv_type_long_long=yes
21484 else
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21487
21488 ac_cv_type_long_long=no
21489 fi
21490
21491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21492 fi
21493 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21494 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21495
21496 # The cast to long int works around a bug in the HP C Compiler
21497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21499 # This bug is HP SR number 8606223364.
21500 { echo "$as_me:$LINENO: checking size of long long" >&5
21501 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21502 if test "${ac_cv_sizeof_long_long+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 else
21505 if test "$cross_compiling" = yes; then
21506 # Depending upon the size, compute the lo and hi bounds.
21507 cat >conftest.$ac_ext <<_ACEOF
21508 /* confdefs.h. */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 $ac_includes_default
21514 typedef long long ac__type_sizeof_;
21515 int
21516 main ()
21517 {
21518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21519 test_array [0] = 0
21520
21521 ;
21522 return 0;
21523 }
21524 _ACEOF
21525 rm -f conftest.$ac_objext
21526 if { (ac_try="$ac_compile"
21527 case "(($ac_try" in
21528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21530 esac
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_compile") 2>conftest.er1
21533 ac_status=$?
21534 grep -v '^ *+' conftest.er1 >conftest.err
21535 rm -f conftest.er1
21536 cat conftest.err >&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); } && {
21539 test -z "$ac_c_werror_flag" ||
21540 test ! -s conftest.err
21541 } && test -s conftest.$ac_objext; then
21542 ac_lo=0 ac_mid=0
21543 while :; do
21544 cat >conftest.$ac_ext <<_ACEOF
21545 /* confdefs.h. */
21546 _ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550 $ac_includes_default
21551 typedef long long ac__type_sizeof_;
21552 int
21553 main ()
21554 {
21555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21556 test_array [0] = 0
21557
21558 ;
21559 return 0;
21560 }
21561 _ACEOF
21562 rm -f conftest.$ac_objext
21563 if { (ac_try="$ac_compile"
21564 case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21567 esac
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_compile") 2>conftest.er1
21570 ac_status=$?
21571 grep -v '^ *+' conftest.er1 >conftest.err
21572 rm -f conftest.er1
21573 cat conftest.err >&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } && {
21576 test -z "$ac_c_werror_flag" ||
21577 test ! -s conftest.err
21578 } && test -s conftest.$ac_objext; then
21579 ac_hi=$ac_mid; break
21580 else
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.$ac_ext >&5
21583
21584 ac_lo=`expr $ac_mid + 1`
21585 if test $ac_lo -le $ac_mid; then
21586 ac_lo= ac_hi=
21587 break
21588 fi
21589 ac_mid=`expr 2 '*' $ac_mid + 1`
21590 fi
21591
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21593 done
21594 else
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21597
21598 cat >conftest.$ac_ext <<_ACEOF
21599 /* confdefs.h. */
21600 _ACEOF
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 $ac_includes_default
21605 typedef long long ac__type_sizeof_;
21606 int
21607 main ()
21608 {
21609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21610 test_array [0] = 0
21611
21612 ;
21613 return 0;
21614 }
21615 _ACEOF
21616 rm -f conftest.$ac_objext
21617 if { (ac_try="$ac_compile"
21618 case "(($ac_try" in
21619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21621 esac
21622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21623 (eval "$ac_compile") 2>conftest.er1
21624 ac_status=$?
21625 grep -v '^ *+' conftest.er1 >conftest.err
21626 rm -f conftest.er1
21627 cat conftest.err >&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } && {
21630 test -z "$ac_c_werror_flag" ||
21631 test ! -s conftest.err
21632 } && test -s conftest.$ac_objext; then
21633 ac_hi=-1 ac_mid=-1
21634 while :; do
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 typedef long long ac__type_sizeof_;
21643 int
21644 main ()
21645 {
21646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21647 test_array [0] = 0
21648
21649 ;
21650 return 0;
21651 }
21652 _ACEOF
21653 rm -f conftest.$ac_objext
21654 if { (ac_try="$ac_compile"
21655 case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21658 esac
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_compile") 2>conftest.er1
21661 ac_status=$?
21662 grep -v '^ *+' conftest.er1 >conftest.err
21663 rm -f conftest.er1
21664 cat conftest.err >&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest.$ac_objext; then
21670 ac_lo=$ac_mid; break
21671 else
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21674
21675 ac_hi=`expr '(' $ac_mid ')' - 1`
21676 if test $ac_mid -le $ac_hi; then
21677 ac_lo= ac_hi=
21678 break
21679 fi
21680 ac_mid=`expr 2 '*' $ac_mid`
21681 fi
21682
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 done
21685 else
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21688
21689 ac_lo= ac_hi=
21690 fi
21691
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 fi
21694
21695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21696 # Binary search between lo and hi bounds.
21697 while test "x$ac_lo" != "x$ac_hi"; do
21698 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21699 cat >conftest.$ac_ext <<_ACEOF
21700 /* confdefs.h. */
21701 _ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef long long ac__type_sizeof_;
21707 int
21708 main ()
21709 {
21710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21711 test_array [0] = 0
21712
21713 ;
21714 return 0;
21715 }
21716 _ACEOF
21717 rm -f conftest.$ac_objext
21718 if { (ac_try="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21722 esac
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21725 ac_status=$?
21726 grep -v '^ *+' conftest.er1 >conftest.err
21727 rm -f conftest.er1
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.$ac_objext; then
21734 ac_hi=$ac_mid
21735 else
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21738
21739 ac_lo=`expr '(' $ac_mid ')' + 1`
21740 fi
21741
21742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21743 done
21744 case $ac_lo in
21745 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21746 '') if test "$ac_cv_type_long_long" = yes; then
21747 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21748 See \`config.log' for more details." >&5
21749 echo "$as_me: error: cannot compute sizeof (long long)
21750 See \`config.log' for more details." >&2;}
21751 { (exit 77); exit 77; }; }
21752 else
21753 ac_cv_sizeof_long_long=0
21754 fi ;;
21755 esac
21756 else
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 long ac__type_sizeof_;
21765 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21766 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21767 #include <stdio.h>
21768 #include <stdlib.h>
21769 int
21770 main ()
21771 {
21772
21773 FILE *f = fopen ("conftest.val", "w");
21774 if (! f)
21775 return 1;
21776 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21777 {
21778 long int i = longval ();
21779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21780 return 1;
21781 fprintf (f, "%ld\n", i);
21782 }
21783 else
21784 {
21785 unsigned long int i = ulongval ();
21786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21787 return 1;
21788 fprintf (f, "%lu\n", i);
21789 }
21790 return ferror (f) || fclose (f) != 0;
21791
21792 ;
21793 return 0;
21794 }
21795 _ACEOF
21796 rm -f conftest$ac_exeext
21797 if { (ac_try="$ac_link"
21798 case "(($ac_try" in
21799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21801 esac
21802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_link") 2>&5
21804 ac_status=$?
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21807 { (case "(($ac_try" in
21808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21809 *) ac_try_echo=$ac_try;;
21810 esac
21811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21812 (eval "$ac_try") 2>&5
21813 ac_status=$?
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 ac_cv_sizeof_long_long=`cat conftest.val`
21817 else
21818 echo "$as_me: program exited with status $ac_status" >&5
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21821
21822 ( exit $ac_status )
21823 if test "$ac_cv_type_long_long" = yes; then
21824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21825 See \`config.log' for more details." >&5
21826 echo "$as_me: error: cannot compute sizeof (long long)
21827 See \`config.log' for more details." >&2;}
21828 { (exit 77); exit 77; }; }
21829 else
21830 ac_cv_sizeof_long_long=0
21831 fi
21832 fi
21833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21834 fi
21835 rm -f conftest.val
21836 fi
21837 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21838 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21839
21840
21841
21842 cat >>confdefs.h <<_ACEOF
21843 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21844 _ACEOF
21845
21846
21847 if test "$ac_cv_sizeof_long_long" != 0; then
21848 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21849 fi
21850 ;;
21851 * )
21852 { echo "$as_me:$LINENO: checking for long long" >&5
21853 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21854 if test "${ac_cv_type_long_long+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21856 else
21857 cat >conftest.$ac_ext <<_ACEOF
21858 /* confdefs.h. */
21859 _ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef long long ac__type_new_;
21865 int
21866 main ()
21867 {
21868 if ((ac__type_new_ *) 0)
21869 return 0;
21870 if (sizeof (ac__type_new_))
21871 return 0;
21872 ;
21873 return 0;
21874 }
21875 _ACEOF
21876 rm -f conftest.$ac_objext
21877 if { (ac_try="$ac_compile"
21878 case "(($ac_try" in
21879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21880 *) ac_try_echo=$ac_try;;
21881 esac
21882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21883 (eval "$ac_compile") 2>conftest.er1
21884 ac_status=$?
21885 grep -v '^ *+' conftest.er1 >conftest.err
21886 rm -f conftest.er1
21887 cat conftest.err >&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } && {
21890 test -z "$ac_c_werror_flag" ||
21891 test ! -s conftest.err
21892 } && test -s conftest.$ac_objext; then
21893 ac_cv_type_long_long=yes
21894 else
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.$ac_ext >&5
21897
21898 ac_cv_type_long_long=no
21899 fi
21900
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21902 fi
21903 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21904 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21905
21906 # The cast to long int works around a bug in the HP C Compiler
21907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21909 # This bug is HP SR number 8606223364.
21910 { echo "$as_me:$LINENO: checking size of long long" >&5
21911 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21912 if test "${ac_cv_sizeof_long_long+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21914 else
21915 if test "$cross_compiling" = yes; then
21916 # Depending upon the size, compute the lo and hi bounds.
21917 cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h. */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_sizeof_;
21925 int
21926 main ()
21927 {
21928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21929 test_array [0] = 0
21930
21931 ;
21932 return 0;
21933 }
21934 _ACEOF
21935 rm -f conftest.$ac_objext
21936 if { (ac_try="$ac_compile"
21937 case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21940 esac
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_compile") 2>conftest.er1
21943 ac_status=$?
21944 grep -v '^ *+' conftest.er1 >conftest.err
21945 rm -f conftest.er1
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest.$ac_objext; then
21952 ac_lo=0 ac_mid=0
21953 while :; do
21954 cat >conftest.$ac_ext <<_ACEOF
21955 /* confdefs.h. */
21956 _ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long long ac__type_sizeof_;
21962 int
21963 main ()
21964 {
21965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21966 test_array [0] = 0
21967
21968 ;
21969 return 0;
21970 }
21971 _ACEOF
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21977 esac
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21980 ac_status=$?
21981 grep -v '^ *+' conftest.er1 >conftest.err
21982 rm -f conftest.er1
21983 cat conftest.err >&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } && {
21986 test -z "$ac_c_werror_flag" ||
21987 test ! -s conftest.err
21988 } && test -s conftest.$ac_objext; then
21989 ac_hi=$ac_mid; break
21990 else
21991 echo "$as_me: failed program was:" >&5
21992 sed 's/^/| /' conftest.$ac_ext >&5
21993
21994 ac_lo=`expr $ac_mid + 1`
21995 if test $ac_lo -le $ac_mid; then
21996 ac_lo= ac_hi=
21997 break
21998 fi
21999 ac_mid=`expr 2 '*' $ac_mid + 1`
22000 fi
22001
22002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22003 done
22004 else
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22007
22008 cat >conftest.$ac_ext <<_ACEOF
22009 /* confdefs.h. */
22010 _ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 typedef long long ac__type_sizeof_;
22016 int
22017 main ()
22018 {
22019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22020 test_array [0] = 0
22021
22022 ;
22023 return 0;
22024 }
22025 _ACEOF
22026 rm -f conftest.$ac_objext
22027 if { (ac_try="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22031 esac
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22034 ac_status=$?
22035 grep -v '^ *+' conftest.er1 >conftest.err
22036 rm -f conftest.er1
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22043 ac_hi=-1 ac_mid=-1
22044 while :; do
22045 cat >conftest.$ac_ext <<_ACEOF
22046 /* confdefs.h. */
22047 _ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051 $ac_includes_default
22052 typedef long long ac__type_sizeof_;
22053 int
22054 main ()
22055 {
22056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22057 test_array [0] = 0
22058
22059 ;
22060 return 0;
22061 }
22062 _ACEOF
22063 rm -f conftest.$ac_objext
22064 if { (ac_try="$ac_compile"
22065 case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22067 *) ac_try_echo=$ac_try;;
22068 esac
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_compile") 2>conftest.er1
22071 ac_status=$?
22072 grep -v '^ *+' conftest.er1 >conftest.err
22073 rm -f conftest.er1
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && {
22077 test -z "$ac_c_werror_flag" ||
22078 test ! -s conftest.err
22079 } && test -s conftest.$ac_objext; then
22080 ac_lo=$ac_mid; break
22081 else
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22084
22085 ac_hi=`expr '(' $ac_mid ')' - 1`
22086 if test $ac_mid -le $ac_hi; then
22087 ac_lo= ac_hi=
22088 break
22089 fi
22090 ac_mid=`expr 2 '*' $ac_mid`
22091 fi
22092
22093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22094 done
22095 else
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22098
22099 ac_lo= ac_hi=
22100 fi
22101
22102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22103 fi
22104
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22106 # Binary search between lo and hi bounds.
22107 while test "x$ac_lo" != "x$ac_hi"; do
22108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22109 cat >conftest.$ac_ext <<_ACEOF
22110 /* confdefs.h. */
22111 _ACEOF
22112 cat confdefs.h >>conftest.$ac_ext
22113 cat >>conftest.$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22116 typedef long long ac__type_sizeof_;
22117 int
22118 main ()
22119 {
22120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22121 test_array [0] = 0
22122
22123 ;
22124 return 0;
22125 }
22126 _ACEOF
22127 rm -f conftest.$ac_objext
22128 if { (ac_try="$ac_compile"
22129 case "(($ac_try" in
22130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22132 esac
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_compile") 2>conftest.er1
22135 ac_status=$?
22136 grep -v '^ *+' conftest.er1 >conftest.err
22137 rm -f conftest.er1
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && {
22141 test -z "$ac_c_werror_flag" ||
22142 test ! -s conftest.err
22143 } && test -s conftest.$ac_objext; then
22144 ac_hi=$ac_mid
22145 else
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22148
22149 ac_lo=`expr '(' $ac_mid ')' + 1`
22150 fi
22151
22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22153 done
22154 case $ac_lo in
22155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22156 '') if test "$ac_cv_type_long_long" = yes; then
22157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22158 See \`config.log' for more details." >&5
22159 echo "$as_me: error: cannot compute sizeof (long long)
22160 See \`config.log' for more details." >&2;}
22161 { (exit 77); exit 77; }; }
22162 else
22163 ac_cv_sizeof_long_long=0
22164 fi ;;
22165 esac
22166 else
22167 cat >conftest.$ac_ext <<_ACEOF
22168 /* confdefs.h. */
22169 _ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 $ac_includes_default
22174 typedef long long ac__type_sizeof_;
22175 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22176 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22177 #include <stdio.h>
22178 #include <stdlib.h>
22179 int
22180 main ()
22181 {
22182
22183 FILE *f = fopen ("conftest.val", "w");
22184 if (! f)
22185 return 1;
22186 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22187 {
22188 long int i = longval ();
22189 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22190 return 1;
22191 fprintf (f, "%ld\n", i);
22192 }
22193 else
22194 {
22195 unsigned long int i = ulongval ();
22196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22197 return 1;
22198 fprintf (f, "%lu\n", i);
22199 }
22200 return ferror (f) || fclose (f) != 0;
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest$ac_exeext
22207 if { (ac_try="$ac_link"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22211 esac
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_link") 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22220 esac
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_try") 2>&5
22223 ac_status=$?
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_sizeof_long_long=`cat conftest.val`
22227 else
22228 echo "$as_me: program exited with status $ac_status" >&5
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 ( exit $ac_status )
22233 if test "$ac_cv_type_long_long" = yes; then
22234 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22235 See \`config.log' for more details." >&5
22236 echo "$as_me: error: cannot compute sizeof (long long)
22237 See \`config.log' for more details." >&2;}
22238 { (exit 77); exit 77; }; }
22239 else
22240 ac_cv_sizeof_long_long=0
22241 fi
22242 fi
22243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22244 fi
22245 rm -f conftest.val
22246 fi
22247 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22248 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22249
22250
22251
22252 cat >>confdefs.h <<_ACEOF
22253 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22254 _ACEOF
22255
22256
22257 esac
22258
22259 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22260 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22261 if test "${ac_cv_type_wchar_t+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 else
22264 cat >conftest.$ac_ext <<_ACEOF
22265 /* confdefs.h. */
22266 _ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22270
22271 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22272 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22273 # error "fake wchar_t"
22274 #endif
22275 #ifdef HAVE_WCHAR_H
22276 # ifdef __CYGWIN__
22277 # include <stddef.h>
22278 # endif
22279 # include <wchar.h>
22280 #endif
22281 #ifdef HAVE_STDLIB_H
22282 # include <stdlib.h>
22283 #endif
22284 #include <stdio.h>
22285
22286
22287
22288 typedef wchar_t ac__type_new_;
22289 int
22290 main ()
22291 {
22292 if ((ac__type_new_ *) 0)
22293 return 0;
22294 if (sizeof (ac__type_new_))
22295 return 0;
22296 ;
22297 return 0;
22298 }
22299 _ACEOF
22300 rm -f conftest.$ac_objext
22301 if { (ac_try="$ac_compile"
22302 case "(($ac_try" in
22303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22305 esac
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_compile") 2>conftest.er1
22308 ac_status=$?
22309 grep -v '^ *+' conftest.er1 >conftest.err
22310 rm -f conftest.er1
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } && {
22314 test -z "$ac_c_werror_flag" ||
22315 test ! -s conftest.err
22316 } && test -s conftest.$ac_objext; then
22317 ac_cv_type_wchar_t=yes
22318 else
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22321
22322 ac_cv_type_wchar_t=no
22323 fi
22324
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22326 fi
22327 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22328 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22329
22330 # The cast to long int works around a bug in the HP C Compiler
22331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22333 # This bug is HP SR number 8606223364.
22334 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22335 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22336 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22338 else
22339 if test "$cross_compiling" = yes; then
22340 # Depending upon the size, compute the lo and hi bounds.
22341 cat >conftest.$ac_ext <<_ACEOF
22342 /* confdefs.h. */
22343 _ACEOF
22344 cat confdefs.h >>conftest.$ac_ext
22345 cat >>conftest.$ac_ext <<_ACEOF
22346 /* end confdefs.h. */
22347
22348 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22349 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22350 # error "fake wchar_t"
22351 #endif
22352 #ifdef HAVE_WCHAR_H
22353 # ifdef __CYGWIN__
22354 # include <stddef.h>
22355 # endif
22356 # include <wchar.h>
22357 #endif
22358 #ifdef HAVE_STDLIB_H
22359 # include <stdlib.h>
22360 #endif
22361 #include <stdio.h>
22362
22363
22364
22365 typedef wchar_t ac__type_sizeof_;
22366 int
22367 main ()
22368 {
22369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22370 test_array [0] = 0
22371
22372 ;
22373 return 0;
22374 }
22375 _ACEOF
22376 rm -f conftest.$ac_objext
22377 if { (ac_try="$ac_compile"
22378 case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22381 esac
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_compile") 2>conftest.er1
22384 ac_status=$?
22385 grep -v '^ *+' conftest.er1 >conftest.err
22386 rm -f conftest.er1
22387 cat conftest.err >&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && {
22390 test -z "$ac_c_werror_flag" ||
22391 test ! -s conftest.err
22392 } && test -s conftest.$ac_objext; then
22393 ac_lo=0 ac_mid=0
22394 while :; do
22395 cat >conftest.$ac_ext <<_ACEOF
22396 /* confdefs.h. */
22397 _ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22401
22402 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22403 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22404 # error "fake wchar_t"
22405 #endif
22406 #ifdef HAVE_WCHAR_H
22407 # ifdef __CYGWIN__
22408 # include <stddef.h>
22409 # endif
22410 # include <wchar.h>
22411 #endif
22412 #ifdef HAVE_STDLIB_H
22413 # include <stdlib.h>
22414 #endif
22415 #include <stdio.h>
22416
22417
22418
22419 typedef wchar_t ac__type_sizeof_;
22420 int
22421 main ()
22422 {
22423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22424 test_array [0] = 0
22425
22426 ;
22427 return 0;
22428 }
22429 _ACEOF
22430 rm -f conftest.$ac_objext
22431 if { (ac_try="$ac_compile"
22432 case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22435 esac
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_compile") 2>conftest.er1
22438 ac_status=$?
22439 grep -v '^ *+' conftest.er1 >conftest.err
22440 rm -f conftest.er1
22441 cat conftest.err >&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); } && {
22444 test -z "$ac_c_werror_flag" ||
22445 test ! -s conftest.err
22446 } && test -s conftest.$ac_objext; then
22447 ac_hi=$ac_mid; break
22448 else
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.$ac_ext >&5
22451
22452 ac_lo=`expr $ac_mid + 1`
22453 if test $ac_lo -le $ac_mid; then
22454 ac_lo= ac_hi=
22455 break
22456 fi
22457 ac_mid=`expr 2 '*' $ac_mid + 1`
22458 fi
22459
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 done
22462 else
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22465
22466 cat >conftest.$ac_ext <<_ACEOF
22467 /* confdefs.h. */
22468 _ACEOF
22469 cat confdefs.h >>conftest.$ac_ext
22470 cat >>conftest.$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22472
22473 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22474 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22475 # error "fake wchar_t"
22476 #endif
22477 #ifdef HAVE_WCHAR_H
22478 # ifdef __CYGWIN__
22479 # include <stddef.h>
22480 # endif
22481 # include <wchar.h>
22482 #endif
22483 #ifdef HAVE_STDLIB_H
22484 # include <stdlib.h>
22485 #endif
22486 #include <stdio.h>
22487
22488
22489
22490 typedef wchar_t ac__type_sizeof_;
22491 int
22492 main ()
22493 {
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22495 test_array [0] = 0
22496
22497 ;
22498 return 0;
22499 }
22500 _ACEOF
22501 rm -f conftest.$ac_objext
22502 if { (ac_try="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22506 esac
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22509 ac_status=$?
22510 grep -v '^ *+' conftest.er1 >conftest.err
22511 rm -f conftest.er1
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22518 ac_hi=-1 ac_mid=-1
22519 while :; do
22520 cat >conftest.$ac_ext <<_ACEOF
22521 /* confdefs.h. */
22522 _ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526
22527 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22528 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22529 # error "fake wchar_t"
22530 #endif
22531 #ifdef HAVE_WCHAR_H
22532 # ifdef __CYGWIN__
22533 # include <stddef.h>
22534 # endif
22535 # include <wchar.h>
22536 #endif
22537 #ifdef HAVE_STDLIB_H
22538 # include <stdlib.h>
22539 #endif
22540 #include <stdio.h>
22541
22542
22543
22544 typedef wchar_t ac__type_sizeof_;
22545 int
22546 main ()
22547 {
22548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22549 test_array [0] = 0
22550
22551 ;
22552 return 0;
22553 }
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (ac_try="$ac_compile"
22557 case "(($ac_try" in
22558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22559 *) ac_try_echo=$ac_try;;
22560 esac
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_compile") 2>conftest.er1
22563 ac_status=$?
22564 grep -v '^ *+' conftest.er1 >conftest.err
22565 rm -f conftest.er1
22566 cat conftest.err >&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } && {
22569 test -z "$ac_c_werror_flag" ||
22570 test ! -s conftest.err
22571 } && test -s conftest.$ac_objext; then
22572 ac_lo=$ac_mid; break
22573 else
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.$ac_ext >&5
22576
22577 ac_hi=`expr '(' $ac_mid ')' - 1`
22578 if test $ac_mid -le $ac_hi; then
22579 ac_lo= ac_hi=
22580 break
22581 fi
22582 ac_mid=`expr 2 '*' $ac_mid`
22583 fi
22584
22585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22586 done
22587 else
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591 ac_lo= ac_hi=
22592 fi
22593
22594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22595 fi
22596
22597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22598 # Binary search between lo and hi bounds.
22599 while test "x$ac_lo" != "x$ac_hi"; do
22600 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22601 cat >conftest.$ac_ext <<_ACEOF
22602 /* confdefs.h. */
22603 _ACEOF
22604 cat confdefs.h >>conftest.$ac_ext
22605 cat >>conftest.$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22607
22608 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22609 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22610 # error "fake wchar_t"
22611 #endif
22612 #ifdef HAVE_WCHAR_H
22613 # ifdef __CYGWIN__
22614 # include <stddef.h>
22615 # endif
22616 # include <wchar.h>
22617 #endif
22618 #ifdef HAVE_STDLIB_H
22619 # include <stdlib.h>
22620 #endif
22621 #include <stdio.h>
22622
22623
22624
22625 typedef wchar_t ac__type_sizeof_;
22626 int
22627 main ()
22628 {
22629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22630 test_array [0] = 0
22631
22632 ;
22633 return 0;
22634 }
22635 _ACEOF
22636 rm -f conftest.$ac_objext
22637 if { (ac_try="$ac_compile"
22638 case "(($ac_try" in
22639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22640 *) ac_try_echo=$ac_try;;
22641 esac
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_compile") 2>conftest.er1
22644 ac_status=$?
22645 grep -v '^ *+' conftest.er1 >conftest.err
22646 rm -f conftest.er1
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } && {
22650 test -z "$ac_c_werror_flag" ||
22651 test ! -s conftest.err
22652 } && test -s conftest.$ac_objext; then
22653 ac_hi=$ac_mid
22654 else
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22657
22658 ac_lo=`expr '(' $ac_mid ')' + 1`
22659 fi
22660
22661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22662 done
22663 case $ac_lo in
22664 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22665 '') if test "$ac_cv_type_wchar_t" = yes; then
22666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22667 See \`config.log' for more details." >&5
22668 echo "$as_me: error: cannot compute sizeof (wchar_t)
22669 See \`config.log' for more details." >&2;}
22670 { (exit 77); exit 77; }; }
22671 else
22672 ac_cv_sizeof_wchar_t=0
22673 fi ;;
22674 esac
22675 else
22676 cat >conftest.$ac_ext <<_ACEOF
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682
22683 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22684 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22685 # error "fake wchar_t"
22686 #endif
22687 #ifdef HAVE_WCHAR_H
22688 # ifdef __CYGWIN__
22689 # include <stddef.h>
22690 # endif
22691 # include <wchar.h>
22692 #endif
22693 #ifdef HAVE_STDLIB_H
22694 # include <stdlib.h>
22695 #endif
22696 #include <stdio.h>
22697
22698
22699
22700 typedef wchar_t ac__type_sizeof_;
22701 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22702 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22703 #include <stdio.h>
22704 #include <stdlib.h>
22705 int
22706 main ()
22707 {
22708
22709 FILE *f = fopen ("conftest.val", "w");
22710 if (! f)
22711 return 1;
22712 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22713 {
22714 long int i = longval ();
22715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22716 return 1;
22717 fprintf (f, "%ld\n", i);
22718 }
22719 else
22720 {
22721 unsigned long int i = ulongval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22723 return 1;
22724 fprintf (f, "%lu\n", i);
22725 }
22726 return ferror (f) || fclose (f) != 0;
22727
22728 ;
22729 return 0;
22730 }
22731 _ACEOF
22732 rm -f conftest$ac_exeext
22733 if { (ac_try="$ac_link"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22737 esac
22738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_link") 2>&5
22740 ac_status=$?
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22743 { (case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22746 esac
22747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_try") 2>&5
22749 ac_status=$?
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 ac_cv_sizeof_wchar_t=`cat conftest.val`
22753 else
22754 echo "$as_me: program exited with status $ac_status" >&5
22755 echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22757
22758 ( exit $ac_status )
22759 if test "$ac_cv_type_wchar_t" = yes; then
22760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22761 See \`config.log' for more details." >&5
22762 echo "$as_me: error: cannot compute sizeof (wchar_t)
22763 See \`config.log' for more details." >&2;}
22764 { (exit 77); exit 77; }; }
22765 else
22766 ac_cv_sizeof_wchar_t=0
22767 fi
22768 fi
22769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22770 fi
22771 rm -f conftest.val
22772 fi
22773 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22774 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22775
22776
22777
22778 cat >>confdefs.h <<_ACEOF
22779 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22780 _ACEOF
22781
22782
22783 if test "$ac_cv_sizeof_wchar_t" != 0; then
22784 wxUSE_WCHAR_T=yes
22785 else
22786 wxUSE_WCHAR_T=no
22787 fi
22788
22789 { echo "$as_me:$LINENO: checking for va_copy" >&5
22790 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22791 if test "${wx_cv_func_va_copy+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22793 else
22794
22795 ac_ext=cpp
22796 ac_cpp='$CXXCPP $CPPFLAGS'
22797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22800
22801 cat >conftest.$ac_ext <<_ACEOF
22802
22803 #include <stdarg.h>
22804 void foo(char *f, ...)
22805 {
22806 va_list ap1, ap2;
22807 va_start(ap1, f);
22808 va_copy(ap2, ap1);
22809 va_end(ap2);
22810 va_end(ap1);
22811 }
22812 int main()
22813 {
22814 foo("hi", 17);
22815 return 0;
22816 }
22817 _ACEOF
22818 rm -f conftest.$ac_objext conftest$ac_exeext
22819 if { (ac_try="$ac_link"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22823 esac
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_link") 2>conftest.er1
22826 ac_status=$?
22827 grep -v '^ *+' conftest.er1 >conftest.err
22828 rm -f conftest.er1
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_cxx_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest$ac_exeext &&
22835 $as_test_x conftest$ac_exeext; then
22836 wx_cv_func_va_copy=yes
22837 else
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22840
22841 wx_cv_func_va_copy=no
22842
22843 fi
22844
22845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22846 conftest$ac_exeext conftest.$ac_ext
22847 ac_ext=c
22848 ac_cpp='$CPP $CPPFLAGS'
22849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22852
22853
22854
22855 fi
22856 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22857 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22858
22859 if test $wx_cv_func_va_copy = "yes"; then
22860 cat >>confdefs.h <<\_ACEOF
22861 #define HAVE_VA_COPY 1
22862 _ACEOF
22863
22864 else
22865 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22866 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22867 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 else
22870
22871 if test "$cross_compiling" = yes; then
22872 wx_cv_type_va_list_lvalue=yes
22873
22874 else
22875 cat >conftest.$ac_ext <<_ACEOF
22876
22877 #include <stdarg.h>
22878 int foo(char *f, ...)
22879 {
22880 va_list ap1, ap2;
22881 va_start(ap1, f);
22882 ap2 = ap1;
22883 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22884 return 1;
22885 va_end(ap2);
22886 va_end(ap1);
22887 return 0;
22888 }
22889 int main()
22890 {
22891 return foo("hi", 17);
22892 }
22893 _ACEOF
22894 rm -f conftest$ac_exeext
22895 if { (ac_try="$ac_link"
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_link") 2>&5
22902 ac_status=$?
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22905 { (case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22908 esac
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_try") 2>&5
22911 ac_status=$?
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914 wx_cv_type_va_list_lvalue=yes
22915 else
22916 echo "$as_me: program exited with status $ac_status" >&5
22917 echo "$as_me: failed program was:" >&5
22918 sed 's/^/| /' conftest.$ac_ext >&5
22919
22920 ( exit $ac_status )
22921 wx_cv_type_va_list_lvalue=no
22922 fi
22923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22924 fi
22925
22926
22927
22928
22929 fi
22930 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22931 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22932
22933 if test $wx_cv_type_va_list_lvalue != "yes"; then
22934 cat >>confdefs.h <<\_ACEOF
22935 #define VA_LIST_IS_ARRAY 1
22936 _ACEOF
22937
22938 fi
22939 fi
22940
22941 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22942
22943 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22944 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22945 if test "${wx_cv_have_variadic_macros+set}" = set; then
22946 echo $ECHO_N "(cached) $ECHO_C" >&6
22947 else
22948
22949 ac_ext=cpp
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954
22955 cat >conftest.$ac_ext <<_ACEOF
22956 /* confdefs.h. */
22957 _ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961
22962 #include <stdio.h>
22963 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22964
22965 int
22966 main ()
22967 {
22968
22969 test("%s %d %p", "test", 1, 0);
22970
22971
22972 ;
22973 return 0;
22974 }
22975 _ACEOF
22976 rm -f conftest.$ac_objext
22977 if { (ac_try="$ac_compile"
22978 case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22981 esac
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_compile") 2>conftest.er1
22984 ac_status=$?
22985 grep -v '^ *+' conftest.er1 >conftest.err
22986 rm -f conftest.er1
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_cxx_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest.$ac_objext; then
22993 wx_cv_have_variadic_macros=yes
22994 else
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22997
22998 wx_cv_have_variadic_macros=no
22999
23000 fi
23001
23002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23003 ac_ext=c
23004 ac_cpp='$CPP $CPPFLAGS'
23005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23008
23009
23010
23011 fi
23012 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23013 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23014
23015 if test $wx_cv_have_variadic_macros = "yes"; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_VARIADIC_MACROS 1
23018 _ACEOF
23019
23020 fi
23021
23022 fi
23023 # Check whether --enable-largefile was given.
23024 if test "${enable_largefile+set}" = set; then
23025 enableval=$enable_largefile;
23026 fi
23027
23028 if test "$enable_largefile" != no; then
23029 wx_largefile=no
23030
23031 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23032 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23033 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23035 else
23036
23037 cat >conftest.$ac_ext <<_ACEOF
23038 /* confdefs.h. */
23039 _ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 #define _FILE_OFFSET_BITS 64
23044 #include <sys/types.h>
23045 int
23046 main ()
23047 {
23048 typedef struct {
23049 unsigned int field: sizeof(off_t) == 8;
23050 } wxlf;
23051
23052 ;
23053 return 0;
23054 }
23055 _ACEOF
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23061 esac
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23064 ac_status=$?
23065 grep -v '^ *+' conftest.er1 >conftest.err
23066 rm -f conftest.er1
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } && {
23070 test -z "$ac_c_werror_flag" ||
23071 test ! -s conftest.err
23072 } && test -s conftest.$ac_objext; then
23073 ac_cv_sys_file_offset_bits=64
23074 else
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 ac_cv_sys_file_offset_bits=no
23079 fi
23080
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082
23083
23084 fi
23085 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23086 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23087
23088 if test "$ac_cv_sys_file_offset_bits" != no; then
23089 wx_largefile=yes
23090 cat >>confdefs.h <<_ACEOF
23091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23092 _ACEOF
23093
23094 fi
23095
23096 if test "x$wx_largefile" != "xyes"; then
23097
23098 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23099 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23100 if test "${ac_cv_sys_large_files+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103
23104 cat >conftest.$ac_ext <<_ACEOF
23105 /* confdefs.h. */
23106 _ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 #define _LARGE_FILES 1
23111 #include <sys/types.h>
23112 int
23113 main ()
23114 {
23115 typedef struct {
23116 unsigned int field: sizeof(off_t) == 8;
23117 } wxlf;
23118
23119 ;
23120 return 0;
23121 }
23122 _ACEOF
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23128 esac
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23131 ac_status=$?
23132 grep -v '^ *+' conftest.er1 >conftest.err
23133 rm -f conftest.er1
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_c_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_sys_large_files=1
23141 else
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23144
23145 ac_cv_sys_large_files=no
23146 fi
23147
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149
23150
23151 fi
23152 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23153 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23154
23155 if test "$ac_cv_sys_large_files" != no; then
23156 wx_largefile=yes
23157 cat >>confdefs.h <<_ACEOF
23158 #define _LARGE_FILES $ac_cv_sys_large_files
23159 _ACEOF
23160
23161 fi
23162
23163 fi
23164
23165 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23166 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23167 if test "x$wx_largefile" = "xyes"; then
23168 cat >>confdefs.h <<\_ACEOF
23169 #define HAVE_LARGEFILE_SUPPORT 1
23170 _ACEOF
23171
23172 fi
23173 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23174 echo "${ECHO_T}$wx_largefile" >&6; }
23175 fi
23176
23177
23178 if test "x$wx_largefile" = "xyes"; then
23179 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23180 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23181
23182 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23183 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23184 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23185 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23187 else
23188
23189 ac_ext=cpp
23190 ac_cpp='$CXXCPP $CPPFLAGS'
23191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23194
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
23202 int
23203 main ()
23204 {
23205
23206 #ifndef __STDC_EXT__
23207 choke me
23208 #endif
23209
23210 ;
23211 return 0;
23212 }
23213 _ACEOF
23214 rm -f conftest.$ac_objext
23215 if { (ac_try="$ac_compile"
23216 case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23219 esac
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23222 ac_status=$?
23223 grep -v '^ *+' conftest.er1 >conftest.err
23224 rm -f conftest.er1
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_cxx_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 wx_cv_STDC_EXT_required=no
23232 else
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23235
23236 wx_cv_STDC_EXT_required=yes
23237
23238 fi
23239
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23241 ac_ext=c
23242 ac_cpp='$CPP $CPPFLAGS'
23243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23246
23247
23248
23249 fi
23250 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23251 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23252 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23254 fi
23255 fi
23256 else
23257 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23258 fi
23259 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23260 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23261 if test "${ac_cv_sys_largefile_source+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 else
23264 while :; do
23265 cat >conftest.$ac_ext <<_ACEOF
23266 /* confdefs.h. */
23267 _ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 #include <sys/types.h> /* for off_t */
23272 #include <stdio.h>
23273 int
23274 main ()
23275 {
23276 int (*fp) (FILE *, off_t, int) = fseeko;
23277 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23278 ;
23279 return 0;
23280 }
23281 _ACEOF
23282 rm -f conftest.$ac_objext conftest$ac_exeext
23283 if { (ac_try="$ac_link"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23287 esac
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_link") 2>conftest.er1
23290 ac_status=$?
23291 grep -v '^ *+' conftest.er1 >conftest.err
23292 rm -f conftest.er1
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err
23298 } && test -s conftest$ac_exeext &&
23299 $as_test_x conftest$ac_exeext; then
23300 ac_cv_sys_largefile_source=no; break
23301 else
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23304
23305
23306 fi
23307
23308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23309 conftest$ac_exeext conftest.$ac_ext
23310 cat >conftest.$ac_ext <<_ACEOF
23311 /* confdefs.h. */
23312 _ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 #define _LARGEFILE_SOURCE 1
23317 #include <sys/types.h> /* for off_t */
23318 #include <stdio.h>
23319 int
23320 main ()
23321 {
23322 int (*fp) (FILE *, off_t, int) = fseeko;
23323 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23324 ;
23325 return 0;
23326 }
23327 _ACEOF
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (ac_try="$ac_link"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23333 esac
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_link") 2>conftest.er1
23336 ac_status=$?
23337 grep -v '^ *+' conftest.er1 >conftest.err
23338 rm -f conftest.er1
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest$ac_exeext &&
23345 $as_test_x conftest$ac_exeext; then
23346 ac_cv_sys_largefile_source=1; break
23347 else
23348 echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23350
23351
23352 fi
23353
23354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23355 conftest$ac_exeext conftest.$ac_ext
23356 ac_cv_sys_largefile_source=unknown
23357 break
23358 done
23359 fi
23360 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23361 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23362 case $ac_cv_sys_largefile_source in #(
23363 no | unknown) ;;
23364 *)
23365 cat >>confdefs.h <<_ACEOF
23366 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23367 _ACEOF
23368 ;;
23369 esac
23370 rm -f conftest*
23371
23372 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23373 # in glibc 2.1.3, but that breaks too many other things.
23374 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23375 if test $ac_cv_sys_largefile_source != unknown; then
23376
23377 cat >>confdefs.h <<\_ACEOF
23378 #define HAVE_FSEEKO 1
23379 _ACEOF
23380
23381 fi
23382
23383 if test "$ac_cv_sys_largefile_source" != no; then
23384 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23385 fi
23386 fi
23387
23388 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23389 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23390 if test "${ac_cv_c_bigendian+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 else
23393 ac_cv_c_bigendian=unknown
23394 # See if sys/param.h defines the BYTE_ORDER macro.
23395 cat >conftest.$ac_ext <<_ACEOF
23396 /* confdefs.h. */
23397 _ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <sys/types.h>
23402 #include <sys/param.h>
23403 int
23404 main ()
23405 {
23406
23407 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23408 bogus endian macros
23409 #endif
23410 ;
23411 return 0;
23412 }
23413 _ACEOF
23414 rm -f conftest.$ac_objext
23415 if { (ac_try="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23419 esac
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23422 ac_status=$?
23423 grep -v '^ *+' conftest.er1 >conftest.err
23424 rm -f conftest.er1
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && {
23428 test -z "$ac_c_werror_flag" ||
23429 test ! -s conftest.err
23430 } && test -s conftest.$ac_objext; then
23431 # It does; now see whether it defined to BIG_ENDIAN or not.
23432 cat >conftest.$ac_ext <<_ACEOF
23433 /* confdefs.h. */
23434 _ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 #include <sys/types.h>
23439 #include <sys/param.h>
23440 int
23441 main ()
23442 {
23443
23444 #if BYTE_ORDER != BIG_ENDIAN
23445 not big endian
23446 #endif
23447 ;
23448 return 0;
23449 }
23450 _ACEOF
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23456 esac
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23459 ac_status=$?
23460 grep -v '^ *+' conftest.er1 >conftest.err
23461 rm -f conftest.er1
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23468 ac_cv_c_bigendian=yes
23469 else
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.$ac_ext >&5
23472
23473 ac_cv_c_bigendian=no
23474 fi
23475
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 else
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.$ac_ext >&5
23480
23481
23482 fi
23483
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 if test $ac_cv_c_bigendian = unknown; then
23486 if test "$cross_compiling" = yes; then
23487 ac_cv_c_bigendian=unknown
23488 else
23489 cat >conftest.$ac_ext <<_ACEOF
23490 /* confdefs.h. */
23491 _ACEOF
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23495 main () {
23496 /* Are we little or big endian? From Harbison&Steele. */
23497 union
23498 {
23499 long l;
23500 char c[sizeof (long)];
23501 } u;
23502 u.l = 1;
23503 exit (u.c[sizeof (long) - 1] == 1);
23504 }
23505 _ACEOF
23506 rm -f conftest$ac_exeext
23507 if { (ac_try="$ac_link"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23511 esac
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_link") 2>&5
23514 ac_status=$?
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23517 { (case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23520 esac
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_try") 2>&5
23523 ac_status=$?
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 ac_cv_c_bigendian=no
23527 else
23528 echo "$as_me: program exited with status $ac_status" >&5
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 ( exit $ac_status )
23533 ac_cv_c_bigendian=yes
23534 fi
23535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23536 fi
23537
23538
23539 fi
23540 fi
23541 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23542 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23543 if test $ac_cv_c_bigendian = unknown; then
23544 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
23545 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
23546 fi
23547 if test $ac_cv_c_bigendian = yes; then
23548 cat >>confdefs.h <<\_ACEOF
23549 #define WORDS_BIGENDIAN 1
23550 _ACEOF
23551
23552 fi
23553
23554
23555
23556
23557 ac_ext=cpp
23558 ac_cpp='$CXXCPP $CPPFLAGS'
23559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23562
23563
23564
23565 for ac_header in iostream
23566 do
23567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23571 echo $ECHO_N "(cached) $ECHO_C" >&6
23572 else
23573 cat >conftest.$ac_ext <<_ACEOF
23574 /* confdefs.h. */
23575 _ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23579
23580
23581 #include <$ac_header>
23582 _ACEOF
23583 rm -f conftest.$ac_objext
23584 if { (ac_try="$ac_compile"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23588 esac
23589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_compile") 2>conftest.er1
23591 ac_status=$?
23592 grep -v '^ *+' conftest.er1 >conftest.err
23593 rm -f conftest.er1
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } && {
23597 test -z "$ac_cxx_werror_flag" ||
23598 test ! -s conftest.err
23599 } && test -s conftest.$ac_objext; then
23600 eval "$as_ac_Header=yes"
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23604
23605 eval "$as_ac_Header=no"
23606 fi
23607
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 fi
23610 ac_res=`eval echo '${'$as_ac_Header'}'`
23611 { echo "$as_me:$LINENO: result: $ac_res" >&5
23612 echo "${ECHO_T}$ac_res" >&6; }
23613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23614 cat >>confdefs.h <<_ACEOF
23615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23616 _ACEOF
23617
23618 fi
23619
23620 done
23621
23622
23623 if test "$ac_cv_header_iostream" = "yes" ; then
23624 :
23625 else
23626 cat >>confdefs.h <<\_ACEOF
23627 #define wxUSE_IOSTREAMH 1
23628 _ACEOF
23629
23630 fi
23631
23632 ac_ext=c
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23637
23638
23639
23640
23641 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23642 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23643 if test "${wx_cv_cpp_bool+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646
23647
23648 ac_ext=cpp
23649 ac_cpp='$CXXCPP $CPPFLAGS'
23650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653
23654
23655 cat >conftest.$ac_ext <<_ACEOF
23656 /* confdefs.h. */
23657 _ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23661
23662
23663 int
23664 main ()
23665 {
23666
23667 bool b = true;
23668
23669 return 0;
23670
23671 ;
23672 return 0;
23673 }
23674 _ACEOF
23675 rm -f conftest.$ac_objext
23676 if { (ac_try="$ac_compile"
23677 case "(($ac_try" in
23678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23679 *) ac_try_echo=$ac_try;;
23680 esac
23681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23682 (eval "$ac_compile") 2>conftest.er1
23683 ac_status=$?
23684 grep -v '^ *+' conftest.er1 >conftest.err
23685 rm -f conftest.er1
23686 cat conftest.err >&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } && {
23689 test -z "$ac_cxx_werror_flag" ||
23690 test ! -s conftest.err
23691 } && test -s conftest.$ac_objext; then
23692
23693 wx_cv_cpp_bool=yes
23694
23695 else
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.$ac_ext >&5
23698
23699
23700 wx_cv_cpp_bool=no
23701
23702
23703 fi
23704
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706
23707 ac_ext=c
23708 ac_cpp='$CPP $CPPFLAGS'
23709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23712
23713
23714 fi
23715 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23716 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23717
23718 if test "$wx_cv_cpp_bool" = "yes"; then
23719 cat >>confdefs.h <<\_ACEOF
23720 #define HAVE_BOOL 1
23721 _ACEOF
23722
23723 fi
23724
23725
23726
23727 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23728 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23729 if test "${wx_cv_explicit+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 else
23732
23733
23734 ac_ext=cpp
23735 ac_cpp='$CXXCPP $CPPFLAGS'
23736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23739
23740
23741 cat >conftest.$ac_ext <<_ACEOF
23742 /* confdefs.h. */
23743 _ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747
23748 class Foo { public: explicit Foo(int) {} };
23749
23750 int
23751 main ()
23752 {
23753
23754 return 0;
23755
23756 ;
23757 return 0;
23758 }
23759 _ACEOF
23760 rm -f conftest.$ac_objext
23761 if { (ac_try="$ac_compile"
23762 case "(($ac_try" in
23763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23764 *) ac_try_echo=$ac_try;;
23765 esac
23766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23767 (eval "$ac_compile") 2>conftest.er1
23768 ac_status=$?
23769 grep -v '^ *+' conftest.er1 >conftest.err
23770 rm -f conftest.er1
23771 cat conftest.err >&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } && {
23774 test -z "$ac_cxx_werror_flag" ||
23775 test ! -s conftest.err
23776 } && test -s conftest.$ac_objext; then
23777
23778 cat >conftest.$ac_ext <<_ACEOF
23779 /* confdefs.h. */
23780 _ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784
23785 class Foo { public: explicit Foo(int) {} };
23786 static void TakeFoo(const Foo& foo) { }
23787
23788 int
23789 main ()
23790 {
23791
23792 TakeFoo(17);
23793 return 0;
23794
23795 ;
23796 return 0;
23797 }
23798 _ACEOF
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23804 esac
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23807 ac_status=$?
23808 grep -v '^ *+' conftest.er1 >conftest.err
23809 rm -f conftest.er1
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_cxx_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23816 wx_cv_explicit=no
23817 else
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23820
23821 wx_cv_explicit=yes
23822
23823 fi
23824
23825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23826
23827 else
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.$ac_ext >&5
23830
23831 wx_cv_explicit=no
23832
23833 fi
23834
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23836
23837 ac_ext=c
23838 ac_cpp='$CPP $CPPFLAGS'
23839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23842
23843
23844 fi
23845 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23846 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23847
23848 if test "$wx_cv_explicit" = "yes"; then
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_EXPLICIT 1
23851 _ACEOF
23852
23853 fi
23854
23855
23856 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23857 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23858 if test "${ac_cv_cxx_const_cast+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23860 else
23861
23862 ac_ext=cpp
23863 ac_cpp='$CXXCPP $CPPFLAGS'
23864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23867
23868 cat >conftest.$ac_ext <<_ACEOF
23869 /* confdefs.h. */
23870 _ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874
23875 int
23876 main ()
23877 {
23878 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23879 ;
23880 return 0;
23881 }
23882 _ACEOF
23883 rm -f conftest.$ac_objext
23884 if { (ac_try="$ac_compile"
23885 case "(($ac_try" in
23886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23887 *) ac_try_echo=$ac_try;;
23888 esac
23889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23890 (eval "$ac_compile") 2>conftest.er1
23891 ac_status=$?
23892 grep -v '^ *+' conftest.er1 >conftest.err
23893 rm -f conftest.er1
23894 cat conftest.err >&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); } && {
23897 test -z "$ac_cxx_werror_flag" ||
23898 test ! -s conftest.err
23899 } && test -s conftest.$ac_objext; then
23900 ac_cv_cxx_const_cast=yes
23901 else
23902 echo "$as_me: failed program was:" >&5
23903 sed 's/^/| /' conftest.$ac_ext >&5
23904
23905 ac_cv_cxx_const_cast=no
23906 fi
23907
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 ac_ext=c
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23914
23915
23916 fi
23917 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23918 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23919 if test "$ac_cv_cxx_const_cast" = yes; then
23920
23921 cat >>confdefs.h <<\_ACEOF
23922 #define HAVE_CONST_CAST
23923 _ACEOF
23924
23925 fi
23926
23927 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23928 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23929 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 else
23932
23933 ac_ext=cpp
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23938
23939 cat >conftest.$ac_ext <<_ACEOF
23940 /* confdefs.h. */
23941 _ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 #include <typeinfo>
23946 class Base { public : Base () {} virtual void f () = 0;};
23947 class Derived : public Base { public : Derived () {} virtual void f () {} };
23948 class Unrelated { public : Unrelated () {} };
23949 int g (Unrelated&) { return 0; }
23950 int
23951 main ()
23952 {
23953
23954 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23955 ;
23956 return 0;
23957 }
23958 _ACEOF
23959 rm -f conftest.$ac_objext
23960 if { (ac_try="$ac_compile"
23961 case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23964 esac
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_compile") 2>conftest.er1
23967 ac_status=$?
23968 grep -v '^ *+' conftest.er1 >conftest.err
23969 rm -f conftest.er1
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } && {
23973 test -z "$ac_cxx_werror_flag" ||
23974 test ! -s conftest.err
23975 } && test -s conftest.$ac_objext; then
23976 ac_cv_cxx_reinterpret_cast=yes
23977 else
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.$ac_ext >&5
23980
23981 ac_cv_cxx_reinterpret_cast=no
23982 fi
23983
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23985 ac_ext=c
23986 ac_cpp='$CPP $CPPFLAGS'
23987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990
23991
23992 fi
23993 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23994 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23995 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23996
23997 cat >>confdefs.h <<\_ACEOF
23998 #define HAVE_REINTERPRET_CAST
23999 _ACEOF
24000
24001 fi
24002
24003 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24004 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24005 if test "${ac_cv_cxx_static_cast+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24007 else
24008
24009 ac_ext=cpp
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24014
24015 cat >conftest.$ac_ext <<_ACEOF
24016 /* confdefs.h. */
24017 _ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 #include <typeinfo>
24022 class Base { public : Base () {} virtual void f () = 0; };
24023 class Derived : public Base { public : Derived () {} virtual void f () {} };
24024 int g (Derived&) { return 0; }
24025 int
24026 main ()
24027 {
24028
24029 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24030 ;
24031 return 0;
24032 }
24033 _ACEOF
24034 rm -f conftest.$ac_objext
24035 if { (ac_try="$ac_compile"
24036 case "(($ac_try" in
24037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24038 *) ac_try_echo=$ac_try;;
24039 esac
24040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24041 (eval "$ac_compile") 2>conftest.er1
24042 ac_status=$?
24043 grep -v '^ *+' conftest.er1 >conftest.err
24044 rm -f conftest.er1
24045 cat conftest.err >&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } && {
24048 test -z "$ac_cxx_werror_flag" ||
24049 test ! -s conftest.err
24050 } && test -s conftest.$ac_objext; then
24051 ac_cv_cxx_static_cast=yes
24052 else
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.$ac_ext >&5
24055
24056 ac_cv_cxx_static_cast=no
24057 fi
24058
24059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24060 ac_ext=c
24061 ac_cpp='$CPP $CPPFLAGS'
24062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24065
24066
24067 fi
24068 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24069 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24070 if test "$ac_cv_cxx_static_cast" = yes; then
24071
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE_STATIC_CAST
24074 _ACEOF
24075
24076 fi
24077
24078
24079 if test "x$SUNCXX" = xyes; then
24080 CXXFLAGS="-features=tmplife $CXXFLAGS"
24081 fi
24082
24083 if test "x$SUNCC" = xyes; then
24084 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24085 fi
24086
24087 if test "x$SGICC" = "xyes"; then
24088 CFLAGS="-woff 3970 $CFLAGS"
24089 fi
24090 if test "x$SGICXX" = "xyes"; then
24091 CXXFLAGS="-woff 3970 $CXXFLAGS"
24092 fi
24093
24094 if test "x$HPCC" = "xyes"; then
24095 CFLAGS="+W 2011,2450 $CFLAGS"
24096 fi
24097 if test "x$HPCXX" = "xyes"; then
24098 CXXFLAGS="+W 2340 $CXXFLAGS"
24099 fi
24100
24101 if test "x$COMPAQCXX" = "xyes"; then
24102 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24103 fi
24104
24105 ac_ext=cpp
24106 ac_cpp='$CXXCPP $CPPFLAGS'
24107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24110
24111
24112 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24113 if test "$wxUSE_UNICODE" = "yes"; then
24114 std_string="std::wstring"
24115 char_type="wchar_t"
24116 else
24117 std_string="std::string"
24118 char_type="char"
24119 fi
24120
24121 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24122 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24123 if test "${wx_cv_class_stdstring+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 else
24126
24127 cat >conftest.$ac_ext <<_ACEOF
24128 /* confdefs.h. */
24129 _ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133 #include <string>
24134 int
24135 main ()
24136 {
24137 $std_string foo;
24138 ;
24139 return 0;
24140 }
24141 _ACEOF
24142 rm -f conftest.$ac_objext
24143 if { (ac_try="$ac_compile"
24144 case "(($ac_try" in
24145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146 *) ac_try_echo=$ac_try;;
24147 esac
24148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149 (eval "$ac_compile") 2>conftest.er1
24150 ac_status=$?
24151 grep -v '^ *+' conftest.er1 >conftest.err
24152 rm -f conftest.er1
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && {
24156 test -z "$ac_cxx_werror_flag" ||
24157 test ! -s conftest.err
24158 } && test -s conftest.$ac_objext; then
24159 wx_cv_class_stdstring=yes
24160 else
24161 echo "$as_me: failed program was:" >&5
24162 sed 's/^/| /' conftest.$ac_ext >&5
24163
24164 wx_cv_class_stdstring=no
24165
24166 fi
24167
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24169
24170
24171 fi
24172 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24173 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24174
24175 if test "$wx_cv_class_stdstring" = yes; then
24176 if test "$wxUSE_UNICODE" = "yes"; then
24177 cat >>confdefs.h <<\_ACEOF
24178 #define HAVE_STD_WSTRING 1
24179 _ACEOF
24180
24181 fi
24182 else
24183 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24184 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24185 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24187 else
24188
24189 cat >conftest.$ac_ext <<_ACEOF
24190 /* confdefs.h. */
24191 _ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24195
24196 #ifdef HAVE_WCHAR_H
24197 # ifdef __CYGWIN__
24198 # include <stddef.h>
24199 # endif
24200 # include <wchar.h>
24201 #endif
24202 #ifdef HAVE_STDLIB_H
24203 # include <stdlib.h>
24204 #endif
24205 #include <stdio.h>
24206 #include <string>
24207
24208 int
24209 main ()
24210 {
24211 std::basic_string<$char_type> foo;
24212 const $char_type* dummy = foo.c_str();
24213 ;
24214 return 0;
24215 }
24216 _ACEOF
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24222 esac
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24225 ac_status=$?
24226 grep -v '^ *+' conftest.er1 >conftest.err
24227 rm -f conftest.er1
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_cxx_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 wx_cv_class_stdbasicstring=yes
24235 else
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24238
24239 wx_cv_class_stdbasicstring=no
24240
24241 fi
24242
24243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24244
24245
24246 fi
24247 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24248 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24249
24250 if test "$wx_cv_class_stdbasicstring" != yes; then
24251 if test "$wxUSE_STL" = "yes"; then
24252 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24253 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24254 { (exit 1); exit 1; }; }
24255 elif test "$wxUSE_STD_STRING" = "yes"; then
24256 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24257 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24258 { (exit 1); exit 1; }; }
24259 else
24260 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24261 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24262 wxUSE_STD_STRING=no
24263 fi
24264 fi
24265 fi
24266 fi
24267
24268 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24269 { echo "$as_me:$LINENO: checking for std::istream" >&5
24270 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24271 if test "${ac_cv_type_std__istream+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 else
24274 cat >conftest.$ac_ext <<_ACEOF
24275 /* confdefs.h. */
24276 _ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #include <iostream>
24281
24282 typedef std::istream ac__type_new_;
24283 int
24284 main ()
24285 {
24286 if ((ac__type_new_ *) 0)
24287 return 0;
24288 if (sizeof (ac__type_new_))
24289 return 0;
24290 ;
24291 return 0;
24292 }
24293 _ACEOF
24294 rm -f conftest.$ac_objext
24295 if { (ac_try="$ac_compile"
24296 case "(($ac_try" in
24297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24298 *) ac_try_echo=$ac_try;;
24299 esac
24300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24301 (eval "$ac_compile") 2>conftest.er1
24302 ac_status=$?
24303 grep -v '^ *+' conftest.er1 >conftest.err
24304 rm -f conftest.er1
24305 cat conftest.err >&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); } && {
24308 test -z "$ac_cxx_werror_flag" ||
24309 test ! -s conftest.err
24310 } && test -s conftest.$ac_objext; then
24311 ac_cv_type_std__istream=yes
24312 else
24313 echo "$as_me: failed program was:" >&5
24314 sed 's/^/| /' conftest.$ac_ext >&5
24315
24316 ac_cv_type_std__istream=no
24317 fi
24318
24319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24320 fi
24321 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24322 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24323 if test $ac_cv_type_std__istream = yes; then
24324
24325 cat >>confdefs.h <<_ACEOF
24326 #define HAVE_STD__ISTREAM 1
24327 _ACEOF
24328
24329
24330 else
24331 wxUSE_STD_IOSTREAM=no
24332 fi
24333 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24334 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24335 if test "${ac_cv_type_std__ostream+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 else
24338 cat >conftest.$ac_ext <<_ACEOF
24339 /* confdefs.h. */
24340 _ACEOF
24341 cat confdefs.h >>conftest.$ac_ext
24342 cat >>conftest.$ac_ext <<_ACEOF
24343 /* end confdefs.h. */
24344 #include <iostream>
24345
24346 typedef std::ostream ac__type_new_;
24347 int
24348 main ()
24349 {
24350 if ((ac__type_new_ *) 0)
24351 return 0;
24352 if (sizeof (ac__type_new_))
24353 return 0;
24354 ;
24355 return 0;
24356 }
24357 _ACEOF
24358 rm -f conftest.$ac_objext
24359 if { (ac_try="$ac_compile"
24360 case "(($ac_try" in
24361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24362 *) ac_try_echo=$ac_try;;
24363 esac
24364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24365 (eval "$ac_compile") 2>conftest.er1
24366 ac_status=$?
24367 grep -v '^ *+' conftest.er1 >conftest.err
24368 rm -f conftest.er1
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } && {
24372 test -z "$ac_cxx_werror_flag" ||
24373 test ! -s conftest.err
24374 } && test -s conftest.$ac_objext; then
24375 ac_cv_type_std__ostream=yes
24376 else
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.$ac_ext >&5
24379
24380 ac_cv_type_std__ostream=no
24381 fi
24382
24383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24384 fi
24385 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24386 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24387 if test $ac_cv_type_std__ostream = yes; then
24388
24389 cat >>confdefs.h <<_ACEOF
24390 #define HAVE_STD__OSTREAM 1
24391 _ACEOF
24392
24393
24394 else
24395 wxUSE_STD_IOSTREAM=no
24396 fi
24397
24398
24399 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24400 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24401 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24402 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24403 { (exit 1); exit 1; }; }
24404 else
24405 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24406 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24407 fi
24408 fi
24409 fi
24410
24411 if test "$wxUSE_STL" = "yes"; then
24412 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24413 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24414 if test "${wx_cv_lib_stl+set}" = set; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24416 else
24417 cat >conftest.$ac_ext <<_ACEOF
24418 /* confdefs.h. */
24419 _ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24423 #include <string>
24424 #include <functional>
24425 #include <algorithm>
24426 #include <vector>
24427 #include <list>
24428 int
24429 main ()
24430 {
24431 std::vector<int> moo;
24432 std::list<int> foo;
24433 std::vector<int>::iterator it =
24434 std::find_if(moo.begin(), moo.end(),
24435 std::bind2nd(std::less<int>(), 3));
24436 ;
24437 return 0;
24438 }
24439 _ACEOF
24440 rm -f conftest.$ac_objext
24441 if { (ac_try="$ac_compile"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24445 esac
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_compile") 2>conftest.er1
24448 ac_status=$?
24449 grep -v '^ *+' conftest.er1 >conftest.err
24450 rm -f conftest.er1
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_cxx_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest.$ac_objext; then
24457 wx_cv_lib_stl=yes
24458 else
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.$ac_ext >&5
24461
24462 wx_cv_lib_stl=no
24463
24464 fi
24465
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467
24468 fi
24469 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24470 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24471
24472 if test "$wx_cv_lib_stl" != yes; then
24473 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24474 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24475 { (exit 1); exit 1; }; }
24476 fi
24477
24478 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24479 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24480 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6
24482 else
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 #include <string>
24490 int
24491 main ()
24492 {
24493 std::string foo, bar;
24494 foo.compare(bar);
24495 foo.compare(1, 1, bar);
24496 foo.compare(1, 1, bar, 1, 1);
24497 foo.compare("");
24498 foo.compare(1, 1, "");
24499 foo.compare(1, 1, "", 2);
24500 ;
24501 return 0;
24502 }
24503 _ACEOF
24504 rm -f conftest.$ac_objext
24505 if { (ac_try="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24509 esac
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24512 ac_status=$?
24513 grep -v '^ *+' conftest.er1 >conftest.err
24514 rm -f conftest.er1
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_cxx_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24521 wx_cv_func_stdstring_compare=yes
24522 else
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24525
24526 wx_cv_func_stdstring_compare=no
24527
24528 fi
24529
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24531
24532 fi
24533 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24534 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24535
24536 if test "$wx_cv_func_stdstring_compare" = yes; then
24537 cat >>confdefs.h <<\_ACEOF
24538 #define HAVE_STD_STRING_COMPARE 1
24539 _ACEOF
24540
24541 fi
24542
24543 { echo "$as_me:$LINENO: checking for hash_map" >&5
24544 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24545 if test "${ac_cv_header_hash_map+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24547 else
24548 cat >conftest.$ac_ext <<_ACEOF
24549 /* confdefs.h. */
24550 _ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24554
24555
24556
24557 #include <hash_map>
24558 _ACEOF
24559 rm -f conftest.$ac_objext
24560 if { (ac_try="$ac_compile"
24561 case "(($ac_try" in
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24563 *) ac_try_echo=$ac_try;;
24564 esac
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24566 (eval "$ac_compile") 2>conftest.er1
24567 ac_status=$?
24568 grep -v '^ *+' conftest.er1 >conftest.err
24569 rm -f conftest.er1
24570 cat conftest.err >&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); } && {
24573 test -z "$ac_cxx_werror_flag" ||
24574 test ! -s conftest.err
24575 } && test -s conftest.$ac_objext; then
24576 ac_cv_header_hash_map=yes
24577 else
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.$ac_ext >&5
24580
24581 ac_cv_header_hash_map=no
24582 fi
24583
24584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24585 fi
24586 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24587 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24588 if test $ac_cv_header_hash_map = yes; then
24589 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24590 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24591 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 else
24594 cat >conftest.$ac_ext <<_ACEOF
24595 /* confdefs.h. */
24596 _ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 #include <hash_map>
24601 #include <hash_set>
24602 int
24603 main ()
24604 {
24605 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24606 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24607 ;
24608 return 0;
24609 }
24610 _ACEOF
24611 rm -f conftest.$ac_objext
24612 if { (ac_try="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24616 esac
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24619 ac_status=$?
24620 grep -v '^ *+' conftest.er1 >conftest.err
24621 rm -f conftest.er1
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } && {
24625 test -z "$ac_cxx_werror_flag" ||
24626 test ! -s conftest.err
24627 } && test -s conftest.$ac_objext; then
24628 wx_cv_class_stdhashmapset=yes
24629 else
24630 echo "$as_me: failed program was:" >&5
24631 sed 's/^/| /' conftest.$ac_ext >&5
24632
24633 wx_cv_class_stdhashmapset=no
24634 fi
24635
24636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24637
24638
24639 fi
24640 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24641 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24642 fi
24643
24644
24645
24646 if test "$wx_cv_class_stdhashmapset" = yes; then
24647 cat >>confdefs.h <<\_ACEOF
24648 #define HAVE_HASH_MAP 1
24649 _ACEOF
24650
24651 cat >>confdefs.h <<\_ACEOF
24652 #define HAVE_STD_HASH_MAP 1
24653 _ACEOF
24654
24655 fi
24656
24657 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24658 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662 cat >conftest.$ac_ext <<_ACEOF
24663 /* confdefs.h. */
24664 _ACEOF
24665 cat confdefs.h >>conftest.$ac_ext
24666 cat >>conftest.$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24668
24669
24670
24671 #include <ext/hash_map>
24672 _ACEOF
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24678 esac
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24681 ac_status=$?
24682 grep -v '^ *+' conftest.er1 >conftest.err
24683 rm -f conftest.er1
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 ac_cv_header_ext_hash_map=yes
24691 else
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24694
24695 ac_cv_header_ext_hash_map=no
24696 fi
24697
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24699 fi
24700 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24701 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24702 if test $ac_cv_header_ext_hash_map = yes; then
24703 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24704 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24705 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24707 else
24708 cat >conftest.$ac_ext <<_ACEOF
24709 /* confdefs.h. */
24710 _ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714 #include <ext/hash_map>
24715 #include <ext/hash_set>
24716 int
24717 main ()
24718 {
24719 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24720 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24721 ;
24722 return 0;
24723 }
24724 _ACEOF
24725 rm -f conftest.$ac_objext
24726 if { (ac_try="$ac_compile"
24727 case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24730 esac
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_compile") 2>conftest.er1
24733 ac_status=$?
24734 grep -v '^ *+' conftest.er1 >conftest.err
24735 rm -f conftest.er1
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } && {
24739 test -z "$ac_cxx_werror_flag" ||
24740 test ! -s conftest.err
24741 } && test -s conftest.$ac_objext; then
24742 wx_cv_class_gnuhashmapset=yes
24743 else
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24746
24747 wx_cv_class_gnuhashmapset=no
24748 fi
24749
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24751
24752
24753 fi
24754 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24755 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24756 fi
24757
24758
24759
24760 if test "$wx_cv_class_gnuhashmapset" = yes; then
24761 cat >>confdefs.h <<\_ACEOF
24762 #define HAVE_EXT_HASH_MAP 1
24763 _ACEOF
24764
24765 cat >>confdefs.h <<\_ACEOF
24766 #define HAVE_GNU_CXX_HASH_MAP 1
24767 _ACEOF
24768
24769 fi
24770 fi
24771
24772
24773
24774 if test -n "$GCC"; then
24775 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
24776 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
24777 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24778 echo $ECHO_N "(cached) $ECHO_C" >&6
24779 else
24780
24781 cat >conftest.$ac_ext <<_ACEOF
24782 /* confdefs.h. */
24783 _ACEOF
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24787
24788 int
24789 main ()
24790 {
24791
24792 unsigned int value=0;
24793 __sync_fetch_and_add(&value, 1);
24794 __sync_sub_and_fetch(&value, 1);
24795
24796 ;
24797 return 0;
24798 }
24799 _ACEOF
24800 rm -f conftest.$ac_objext conftest$ac_exeext
24801 if { (ac_try="$ac_link"
24802 case "(($ac_try" in
24803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24804 *) ac_try_echo=$ac_try;;
24805 esac
24806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24807 (eval "$ac_link") 2>conftest.er1
24808 ac_status=$?
24809 grep -v '^ *+' conftest.er1 >conftest.err
24810 rm -f conftest.er1
24811 cat conftest.err >&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); } && {
24814 test -z "$ac_cxx_werror_flag" ||
24815 test ! -s conftest.err
24816 } && test -s conftest$ac_exeext &&
24817 $as_test_x conftest$ac_exeext; then
24818 wx_cv_cc_gcc_atomic_builtins=yes
24819 else
24820 echo "$as_me: failed program was:" >&5
24821 sed 's/^/| /' conftest.$ac_ext >&5
24822
24823 wx_cv_cc_gcc_atomic_builtins=no
24824 fi
24825
24826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24827 conftest$ac_exeext conftest.$ac_ext
24828
24829 fi
24830
24831 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24832 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24833 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24834 cat >>confdefs.h <<\_ACEOF
24835 #define HAVE_GCC_ATOMIC_BUILTINS 1
24836 _ACEOF
24837
24838 fi
24839 fi
24840
24841
24842 ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24847
24848
24849
24850 SEARCH_INCLUDE="\
24851 /usr/local/include \
24852 \
24853 /usr/Motif-2.1/include \
24854 /usr/Motif-1.2/include \
24855 /usr/include/Motif1.2 \
24856 \
24857 /usr/dt/include \
24858 /usr/openwin/include \
24859 \
24860 /usr/include/Xm \
24861 \
24862 /usr/X11R6/include \
24863 /usr/X11R6.4/include \
24864 /usr/X11R5/include \
24865 /usr/X11R4/include \
24866 \
24867 /usr/include/X11R6 \
24868 /usr/include/X11R5 \
24869 /usr/include/X11R4 \
24870 \
24871 /usr/local/X11R6/include \
24872 /usr/local/X11R5/include \
24873 /usr/local/X11R4/include \
24874 \
24875 /usr/local/include/X11R6 \
24876 /usr/local/include/X11R5 \
24877 /usr/local/include/X11R4 \
24878 \
24879 /usr/X11/include \
24880 /usr/include/X11 \
24881 /usr/local/X11/include \
24882 /usr/local/include/X11 \
24883 \
24884 /usr/XFree86/include/X11 \
24885 /usr/pkg/include \
24886 \
24887 /usr/openwin/share/include"
24888
24889 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24890 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24891
24892 case "${host}" in
24893 *-*-irix6* )
24894 if test "${wx_cv_std_libpath+set}" = set; then
24895 echo $ECHO_N "(cached) $ECHO_C" >&6
24896 else
24897
24898 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24899 for e in a so sl dylib dll.a; do
24900 libc="$d/libc.$e"
24901 if test -f $libc; then
24902 save_LIBS="$LIBS"
24903 LIBS="$libc"
24904 cat >conftest.$ac_ext <<_ACEOF
24905 int main() { return 0; }
24906 _ACEOF
24907 rm -f conftest.$ac_objext conftest$ac_exeext
24908 if { (ac_try="$ac_link"
24909 case "(($ac_try" in
24910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24911 *) ac_try_echo=$ac_try;;
24912 esac
24913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24914 (eval "$ac_link") 2>conftest.er1
24915 ac_status=$?
24916 grep -v '^ *+' conftest.er1 >conftest.err
24917 rm -f conftest.er1
24918 cat conftest.err >&5
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); } && {
24921 test -z "$ac_c_werror_flag" ||
24922 test ! -s conftest.err
24923 } && test -s conftest$ac_exeext &&
24924 $as_test_x conftest$ac_exeext; then
24925 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24926 else
24927 echo "$as_me: failed program was:" >&5
24928 sed 's/^/| /' conftest.$ac_ext >&5
24929
24930
24931 fi
24932
24933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24934 conftest$ac_exeext conftest.$ac_ext
24935 LIBS="$save_LIBS"
24936 if test "x$wx_cv_std_libpath" != "x"; then
24937 break 2
24938 fi
24939 fi
24940 done
24941 done
24942 if test "x$wx_cv_std_libpath" = "x"; then
24943 wx_cv_std_libpath="lib"
24944 fi
24945
24946
24947 fi
24948
24949 ;;
24950
24951 *-*-solaris2* )
24952 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24953 wx_cv_std_libpath="lib/64"
24954 else
24955 wx_cv_std_libpath="lib"
24956 fi
24957 ;;
24958
24959 *-*-linux* )
24960 if test "$ac_cv_sizeof_void_p" = 8 -a \
24961 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24962 wx_cv_std_libpath="lib64"
24963 else
24964 wx_cv_std_libpath="lib"
24965 fi
24966 ;;
24967
24968 *)
24969 wx_cv_std_libpath="lib";
24970 ;;
24971 esac
24972
24973 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24974 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24975
24976 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24977
24978 if test "$build" != "$host" -a "$GCC" = yes; then
24979 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24980 cross_root=`dirname $cross_root`
24981 cross_root=`dirname $cross_root`
24982
24983 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24984 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24985 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24986
24987 if test -z "$PKG_CONFIG_PATH"; then
24988 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24989 export PKG_CONFIG_PATH
24990 fi
24991
24992 if test -z "$x_includes" -o "$x_includes" = NONE; then
24993
24994 ac_find_includes=
24995 for ac_dir in $SEARCH_INCLUDE /usr/include;
24996 do
24997 if test -f "$ac_dir/X11/Intrinsic.h"; then
24998 ac_find_includes=$ac_dir
24999 break
25000 fi
25001 done
25002
25003 x_includes=$ac_find_includes
25004 fi
25005 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25006
25007 ac_find_libraries=
25008 for ac_dir in $SEARCH_LIB;
25009 do
25010 for ac_extension in a so sl dylib dll.a; do
25011 if test -f "$ac_dir/libXt.$ac_extension"; then
25012 ac_find_libraries=$ac_dir
25013 break 2
25014 fi
25015 done
25016 done
25017
25018 x_libraries=$ac_find_libraries
25019 fi
25020 fi
25021 fi
25022
25023
25024 cat >confcache <<\_ACEOF
25025 # This file is a shell script that caches the results of configure
25026 # tests run on this system so they can be shared between configure
25027 # scripts and configure runs, see configure's option --config-cache.
25028 # It is not useful on other systems. If it contains results you don't
25029 # want to keep, you may remove or edit it.
25030 #
25031 # config.status only pays attention to the cache file if you give it
25032 # the --recheck option to rerun configure.
25033 #
25034 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25035 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25036 # following values.
25037
25038 _ACEOF
25039
25040 # The following way of writing the cache mishandles newlines in values,
25041 # but we know of no workaround that is simple, portable, and efficient.
25042 # So, we kill variables containing newlines.
25043 # Ultrix sh set writes to stderr and can't be redirected directly,
25044 # and sets the high bit in the cache file unless we assign to the vars.
25045 (
25046 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25047 eval ac_val=\$$ac_var
25048 case $ac_val in #(
25049 *${as_nl}*)
25050 case $ac_var in #(
25051 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25052 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25053 esac
25054 case $ac_var in #(
25055 _ | IFS | as_nl) ;; #(
25056 *) $as_unset $ac_var ;;
25057 esac ;;
25058 esac
25059 done
25060
25061 (set) 2>&1 |
25062 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25063 *${as_nl}ac_space=\ *)
25064 # `set' does not quote correctly, so add quotes (double-quote
25065 # substitution turns \\\\ into \\, and sed turns \\ into \).
25066 sed -n \
25067 "s/'/'\\\\''/g;
25068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25069 ;; #(
25070 *)
25071 # `set' quotes correctly as required by POSIX, so do not add quotes.
25072 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25073 ;;
25074 esac |
25075 sort
25076 ) |
25077 sed '
25078 /^ac_cv_env_/b end
25079 t clear
25080 :clear
25081 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25082 t end
25083 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25084 :end' >>confcache
25085 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25086 if test -w "$cache_file"; then
25087 test "x$cache_file" != "x/dev/null" &&
25088 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25089 echo "$as_me: updating cache $cache_file" >&6;}
25090 cat confcache >$cache_file
25091 else
25092 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25093 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25094 fi
25095 fi
25096 rm -f confcache
25097
25098 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25099 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25100 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25101 if test "${wx_cv_lib_glibc21+set}" = set; then
25102 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 else
25104
25105 cat >conftest.$ac_ext <<_ACEOF
25106 /* confdefs.h. */
25107 _ACEOF
25108 cat confdefs.h >>conftest.$ac_ext
25109 cat >>conftest.$ac_ext <<_ACEOF
25110 /* end confdefs.h. */
25111 #include <features.h>
25112 int
25113 main ()
25114 {
25115
25116 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25117 not glibc 2.1
25118 #endif
25119
25120 ;
25121 return 0;
25122 }
25123 _ACEOF
25124 rm -f conftest.$ac_objext
25125 if { (ac_try="$ac_compile"
25126 case "(($ac_try" in
25127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25128 *) ac_try_echo=$ac_try;;
25129 esac
25130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25131 (eval "$ac_compile") 2>conftest.er1
25132 ac_status=$?
25133 grep -v '^ *+' conftest.er1 >conftest.err
25134 rm -f conftest.er1
25135 cat conftest.err >&5
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); } && {
25138 test -z "$ac_c_werror_flag" ||
25139 test ! -s conftest.err
25140 } && test -s conftest.$ac_objext; then
25141
25142 wx_cv_lib_glibc21=yes
25143
25144 else
25145 echo "$as_me: failed program was:" >&5
25146 sed 's/^/| /' conftest.$ac_ext >&5
25147
25148
25149 wx_cv_lib_glibc21=no
25150
25151
25152 fi
25153
25154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25155
25156 fi
25157 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25158 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25159 if test "$wx_cv_lib_glibc21" = "yes"; then
25160 cat >>confdefs.h <<\_ACEOF
25161 #define wxHAVE_GLIBC2 1
25162 _ACEOF
25163
25164 fi
25165 fi
25166
25167 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25168 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25169 cat >>confdefs.h <<\_ACEOF
25170 #define _GNU_SOURCE 1
25171 _ACEOF
25172
25173 fi
25174 fi
25175
25176 have_cos=0
25177 have_floor=0
25178
25179 for ac_func in cos
25180 do
25181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25182 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25184 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25185 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 else
25187 cat >conftest.$ac_ext <<_ACEOF
25188 /* confdefs.h. */
25189 _ACEOF
25190 cat confdefs.h >>conftest.$ac_ext
25191 cat >>conftest.$ac_ext <<_ACEOF
25192 /* end confdefs.h. */
25193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25195 #define $ac_func innocuous_$ac_func
25196
25197 /* System header to define __stub macros and hopefully few prototypes,
25198 which can conflict with char $ac_func (); below.
25199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25200 <limits.h> exists even on freestanding compilers. */
25201
25202 #ifdef __STDC__
25203 # include <limits.h>
25204 #else
25205 # include <assert.h>
25206 #endif
25207
25208 #undef $ac_func
25209
25210 /* Override any GCC internal prototype to avoid an error.
25211 Use char because int might match the return type of a GCC
25212 builtin and then its argument prototype would still apply. */
25213 #ifdef __cplusplus
25214 extern "C"
25215 #endif
25216 char $ac_func ();
25217 /* The GNU C library defines this for functions which it implements
25218 to always fail with ENOSYS. Some functions are actually named
25219 something starting with __ and the normal name is an alias. */
25220 #if defined __stub_$ac_func || defined __stub___$ac_func
25221 choke me
25222 #endif
25223
25224 int
25225 main ()
25226 {
25227 return $ac_func ();
25228 ;
25229 return 0;
25230 }
25231 _ACEOF
25232 rm -f conftest.$ac_objext conftest$ac_exeext
25233 if { (ac_try="$ac_link"
25234 case "(($ac_try" in
25235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25236 *) ac_try_echo=$ac_try;;
25237 esac
25238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25239 (eval "$ac_link") 2>conftest.er1
25240 ac_status=$?
25241 grep -v '^ *+' conftest.er1 >conftest.err
25242 rm -f conftest.er1
25243 cat conftest.err >&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } && {
25246 test -z "$ac_c_werror_flag" ||
25247 test ! -s conftest.err
25248 } && test -s conftest$ac_exeext &&
25249 $as_test_x conftest$ac_exeext; then
25250 eval "$as_ac_var=yes"
25251 else
25252 echo "$as_me: failed program was:" >&5
25253 sed 's/^/| /' conftest.$ac_ext >&5
25254
25255 eval "$as_ac_var=no"
25256 fi
25257
25258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25259 conftest$ac_exeext conftest.$ac_ext
25260 fi
25261 ac_res=`eval echo '${'$as_ac_var'}'`
25262 { echo "$as_me:$LINENO: result: $ac_res" >&5
25263 echo "${ECHO_T}$ac_res" >&6; }
25264 if test `eval echo '${'$as_ac_var'}'` = yes; then
25265 cat >>confdefs.h <<_ACEOF
25266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25267 _ACEOF
25268 have_cos=1
25269 fi
25270 done
25271
25272
25273 for ac_func in floor
25274 do
25275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 else
25281 cat >conftest.$ac_ext <<_ACEOF
25282 /* confdefs.h. */
25283 _ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25289 #define $ac_func innocuous_$ac_func
25290
25291 /* System header to define __stub macros and hopefully few prototypes,
25292 which can conflict with char $ac_func (); below.
25293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25294 <limits.h> exists even on freestanding compilers. */
25295
25296 #ifdef __STDC__
25297 # include <limits.h>
25298 #else
25299 # include <assert.h>
25300 #endif
25301
25302 #undef $ac_func
25303
25304 /* Override any GCC internal prototype to avoid an error.
25305 Use char because int might match the return type of a GCC
25306 builtin and then its argument prototype would still apply. */
25307 #ifdef __cplusplus
25308 extern "C"
25309 #endif
25310 char $ac_func ();
25311 /* The GNU C library defines this for functions which it implements
25312 to always fail with ENOSYS. Some functions are actually named
25313 something starting with __ and the normal name is an alias. */
25314 #if defined __stub_$ac_func || defined __stub___$ac_func
25315 choke me
25316 #endif
25317
25318 int
25319 main ()
25320 {
25321 return $ac_func ();
25322 ;
25323 return 0;
25324 }
25325 _ACEOF
25326 rm -f conftest.$ac_objext conftest$ac_exeext
25327 if { (ac_try="$ac_link"
25328 case "(($ac_try" in
25329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25330 *) ac_try_echo=$ac_try;;
25331 esac
25332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25333 (eval "$ac_link") 2>conftest.er1
25334 ac_status=$?
25335 grep -v '^ *+' conftest.er1 >conftest.err
25336 rm -f conftest.er1
25337 cat conftest.err >&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } && {
25340 test -z "$ac_c_werror_flag" ||
25341 test ! -s conftest.err
25342 } && test -s conftest$ac_exeext &&
25343 $as_test_x conftest$ac_exeext; then
25344 eval "$as_ac_var=yes"
25345 else
25346 echo "$as_me: failed program was:" >&5
25347 sed 's/^/| /' conftest.$ac_ext >&5
25348
25349 eval "$as_ac_var=no"
25350 fi
25351
25352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25353 conftest$ac_exeext conftest.$ac_ext
25354 fi
25355 ac_res=`eval echo '${'$as_ac_var'}'`
25356 { echo "$as_me:$LINENO: result: $ac_res" >&5
25357 echo "${ECHO_T}$ac_res" >&6; }
25358 if test `eval echo '${'$as_ac_var'}'` = yes; then
25359 cat >>confdefs.h <<_ACEOF
25360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25361 _ACEOF
25362 have_floor=1
25363 fi
25364 done
25365
25366 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25367 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25368 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25369 { echo "$as_me:$LINENO: result: yes" >&5
25370 echo "${ECHO_T}yes" >&6; }
25371 else
25372 { echo "$as_me:$LINENO: result: no" >&5
25373 echo "${ECHO_T}no" >&6; }
25374 LIBS="$LIBS -lm"
25375 # use different functions to avoid configure caching
25376 have_sin=0
25377 have_ceil=0
25378
25379 for ac_func in sin
25380 do
25381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25382 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25384 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 else
25387 cat >conftest.$ac_ext <<_ACEOF
25388 /* confdefs.h. */
25389 _ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25395 #define $ac_func innocuous_$ac_func
25396
25397 /* System header to define __stub macros and hopefully few prototypes,
25398 which can conflict with char $ac_func (); below.
25399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25400 <limits.h> exists even on freestanding compilers. */
25401
25402 #ifdef __STDC__
25403 # include <limits.h>
25404 #else
25405 # include <assert.h>
25406 #endif
25407
25408 #undef $ac_func
25409
25410 /* Override any GCC internal prototype to avoid an error.
25411 Use char because int might match the return type of a GCC
25412 builtin and then its argument prototype would still apply. */
25413 #ifdef __cplusplus
25414 extern "C"
25415 #endif
25416 char $ac_func ();
25417 /* The GNU C library defines this for functions which it implements
25418 to always fail with ENOSYS. Some functions are actually named
25419 something starting with __ and the normal name is an alias. */
25420 #if defined __stub_$ac_func || defined __stub___$ac_func
25421 choke me
25422 #endif
25423
25424 int
25425 main ()
25426 {
25427 return $ac_func ();
25428 ;
25429 return 0;
25430 }
25431 _ACEOF
25432 rm -f conftest.$ac_objext conftest$ac_exeext
25433 if { (ac_try="$ac_link"
25434 case "(($ac_try" in
25435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25436 *) ac_try_echo=$ac_try;;
25437 esac
25438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25439 (eval "$ac_link") 2>conftest.er1
25440 ac_status=$?
25441 grep -v '^ *+' conftest.er1 >conftest.err
25442 rm -f conftest.er1
25443 cat conftest.err >&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } && {
25446 test -z "$ac_c_werror_flag" ||
25447 test ! -s conftest.err
25448 } && test -s conftest$ac_exeext &&
25449 $as_test_x conftest$ac_exeext; then
25450 eval "$as_ac_var=yes"
25451 else
25452 echo "$as_me: failed program was:" >&5
25453 sed 's/^/| /' conftest.$ac_ext >&5
25454
25455 eval "$as_ac_var=no"
25456 fi
25457
25458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25459 conftest$ac_exeext conftest.$ac_ext
25460 fi
25461 ac_res=`eval echo '${'$as_ac_var'}'`
25462 { echo "$as_me:$LINENO: result: $ac_res" >&5
25463 echo "${ECHO_T}$ac_res" >&6; }
25464 if test `eval echo '${'$as_ac_var'}'` = yes; then
25465 cat >>confdefs.h <<_ACEOF
25466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25467 _ACEOF
25468 have_sin=1
25469 fi
25470 done
25471
25472
25473 for ac_func in ceil
25474 do
25475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25479 echo $ECHO_N "(cached) $ECHO_C" >&6
25480 else
25481 cat >conftest.$ac_ext <<_ACEOF
25482 /* confdefs.h. */
25483 _ACEOF
25484 cat confdefs.h >>conftest.$ac_ext
25485 cat >>conftest.$ac_ext <<_ACEOF
25486 /* end confdefs.h. */
25487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25489 #define $ac_func innocuous_$ac_func
25490
25491 /* System header to define __stub macros and hopefully few prototypes,
25492 which can conflict with char $ac_func (); below.
25493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25494 <limits.h> exists even on freestanding compilers. */
25495
25496 #ifdef __STDC__
25497 # include <limits.h>
25498 #else
25499 # include <assert.h>
25500 #endif
25501
25502 #undef $ac_func
25503
25504 /* Override any GCC internal prototype to avoid an error.
25505 Use char because int might match the return type of a GCC
25506 builtin and then its argument prototype would still apply. */
25507 #ifdef __cplusplus
25508 extern "C"
25509 #endif
25510 char $ac_func ();
25511 /* The GNU C library defines this for functions which it implements
25512 to always fail with ENOSYS. Some functions are actually named
25513 something starting with __ and the normal name is an alias. */
25514 #if defined __stub_$ac_func || defined __stub___$ac_func
25515 choke me
25516 #endif
25517
25518 int
25519 main ()
25520 {
25521 return $ac_func ();
25522 ;
25523 return 0;
25524 }
25525 _ACEOF
25526 rm -f conftest.$ac_objext conftest$ac_exeext
25527 if { (ac_try="$ac_link"
25528 case "(($ac_try" in
25529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25530 *) ac_try_echo=$ac_try;;
25531 esac
25532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25533 (eval "$ac_link") 2>conftest.er1
25534 ac_status=$?
25535 grep -v '^ *+' conftest.er1 >conftest.err
25536 rm -f conftest.er1
25537 cat conftest.err >&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); } && {
25540 test -z "$ac_c_werror_flag" ||
25541 test ! -s conftest.err
25542 } && test -s conftest$ac_exeext &&
25543 $as_test_x conftest$ac_exeext; then
25544 eval "$as_ac_var=yes"
25545 else
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.$ac_ext >&5
25548
25549 eval "$as_ac_var=no"
25550 fi
25551
25552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25553 conftest$ac_exeext conftest.$ac_ext
25554 fi
25555 ac_res=`eval echo '${'$as_ac_var'}'`
25556 { echo "$as_me:$LINENO: result: $ac_res" >&5
25557 echo "${ECHO_T}$ac_res" >&6; }
25558 if test `eval echo '${'$as_ac_var'}'` = yes; then
25559 cat >>confdefs.h <<_ACEOF
25560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25561 _ACEOF
25562 have_ceil=1
25563 fi
25564 done
25565
25566 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25567 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25568 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25569 { echo "$as_me:$LINENO: result: yes" >&5
25570 echo "${ECHO_T}yes" >&6; }
25571 else
25572 { echo "$as_me:$LINENO: result: no" >&5
25573 echo "${ECHO_T}no" >&6; }
25574 # not sure we should warn the user, crash, etc.
25575 fi
25576 fi
25577
25578 ac_ext=cpp
25579 ac_cpp='$CXXCPP $CPPFLAGS'
25580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25583
25584 if test "wxUSE_UNICODE" = "yes"; then
25585
25586 for wx_func in wcstoull
25587 do
25588 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25589 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25590 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 else
25593
25594 cat >conftest.$ac_ext <<_ACEOF
25595
25596 /* confdefs.h. */
25597 _ACEOF
25598 cat confdefs.h >>conftest.$ac_ext
25599 cat >>conftest.$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25601
25602
25603 $ac_includes_default
25604
25605 int
25606 main ()
25607 {
25608
25609 #ifndef $wx_func
25610 &$wx_func;
25611 #endif
25612
25613
25614 ;
25615 return 0;
25616 }
25617
25618 _ACEOF
25619 rm -f conftest.$ac_objext conftest$ac_exeext
25620 if { (ac_try="$ac_link"
25621 case "(($ac_try" in
25622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25623 *) ac_try_echo=$ac_try;;
25624 esac
25625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25626 (eval "$ac_link") 2>conftest.er1
25627 ac_status=$?
25628 grep -v '^ *+' conftest.er1 >conftest.err
25629 rm -f conftest.er1
25630 cat conftest.err >&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } && {
25633 test -z "$ac_cxx_werror_flag" ||
25634 test ! -s conftest.err
25635 } && test -s conftest$ac_exeext &&
25636 $as_test_x conftest$ac_exeext; then
25637 eval wx_cv_func_$wx_func=yes
25638 else
25639 echo "$as_me: failed program was:" >&5
25640 sed 's/^/| /' conftest.$ac_ext >&5
25641
25642 eval wx_cv_func_$wx_func=no
25643 fi
25644
25645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25646 conftest$ac_exeext conftest.$ac_ext
25647
25648 fi
25649 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25650 { echo "$as_me:$LINENO: result: $ac_res" >&5
25651 echo "${ECHO_T}$ac_res" >&6; }
25652
25653 if eval test \$wx_cv_func_$wx_func = yes
25654 then
25655 cat >>confdefs.h <<_ACEOF
25656 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25657 _ACEOF
25658
25659
25660 else
25661 :
25662
25663 fi
25664 done
25665
25666 else
25667
25668 for wx_func in strtoull
25669 do
25670 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25671 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25672 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25673 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 else
25675
25676 cat >conftest.$ac_ext <<_ACEOF
25677
25678 /* confdefs.h. */
25679 _ACEOF
25680 cat confdefs.h >>conftest.$ac_ext
25681 cat >>conftest.$ac_ext <<_ACEOF
25682 /* end confdefs.h. */
25683
25684
25685 $ac_includes_default
25686
25687 int
25688 main ()
25689 {
25690
25691 #ifndef $wx_func
25692 &$wx_func;
25693 #endif
25694
25695
25696 ;
25697 return 0;
25698 }
25699
25700 _ACEOF
25701 rm -f conftest.$ac_objext conftest$ac_exeext
25702 if { (ac_try="$ac_link"
25703 case "(($ac_try" in
25704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25705 *) ac_try_echo=$ac_try;;
25706 esac
25707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25708 (eval "$ac_link") 2>conftest.er1
25709 ac_status=$?
25710 grep -v '^ *+' conftest.er1 >conftest.err
25711 rm -f conftest.er1
25712 cat conftest.err >&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); } && {
25715 test -z "$ac_cxx_werror_flag" ||
25716 test ! -s conftest.err
25717 } && test -s conftest$ac_exeext &&
25718 $as_test_x conftest$ac_exeext; then
25719 eval wx_cv_func_$wx_func=yes
25720 else
25721 echo "$as_me: failed program was:" >&5
25722 sed 's/^/| /' conftest.$ac_ext >&5
25723
25724 eval wx_cv_func_$wx_func=no
25725 fi
25726
25727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25728 conftest$ac_exeext conftest.$ac_ext
25729
25730 fi
25731 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25732 { echo "$as_me:$LINENO: result: $ac_res" >&5
25733 echo "${ECHO_T}$ac_res" >&6; }
25734
25735 if eval test \$wx_cv_func_$wx_func = yes
25736 then
25737 cat >>confdefs.h <<_ACEOF
25738 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25739 _ACEOF
25740
25741
25742 else
25743 :
25744
25745 fi
25746 done
25747
25748 fi
25749 ac_ext=c
25750 ac_cpp='$CPP $CPPFLAGS'
25751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25754
25755
25756
25757
25758 if test "$wxUSE_REGEX" != "no"; then
25759 cat >>confdefs.h <<\_ACEOF
25760 #define wxUSE_REGEX 1
25761 _ACEOF
25762
25763
25764 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25765 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25766 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25767 wxUSE_REGEX=builtin
25768 fi
25769
25770 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25771 { echo "$as_me:$LINENO: checking for regex.h" >&5
25772 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25773 if test "${ac_cv_header_regex_h+set}" = set; then
25774 echo $ECHO_N "(cached) $ECHO_C" >&6
25775 else
25776 cat >conftest.$ac_ext <<_ACEOF
25777 /* confdefs.h. */
25778 _ACEOF
25779 cat confdefs.h >>conftest.$ac_ext
25780 cat >>conftest.$ac_ext <<_ACEOF
25781 /* end confdefs.h. */
25782
25783
25784 #include <regex.h>
25785 _ACEOF
25786 rm -f conftest.$ac_objext
25787 if { (ac_try="$ac_compile"
25788 case "(($ac_try" in
25789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25790 *) ac_try_echo=$ac_try;;
25791 esac
25792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25793 (eval "$ac_compile") 2>conftest.er1
25794 ac_status=$?
25795 grep -v '^ *+' conftest.er1 >conftest.err
25796 rm -f conftest.er1
25797 cat conftest.err >&5
25798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); } && {
25800 test -z "$ac_c_werror_flag" ||
25801 test ! -s conftest.err
25802 } && test -s conftest.$ac_objext; then
25803 ac_cv_header_regex_h=yes
25804 else
25805 echo "$as_me: failed program was:" >&5
25806 sed 's/^/| /' conftest.$ac_ext >&5
25807
25808 ac_cv_header_regex_h=no
25809 fi
25810
25811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25812 fi
25813 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25814 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25815 if test $ac_cv_header_regex_h = yes; then
25816
25817
25818 for ac_func in regcomp re_search
25819 do
25820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25821 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25824 echo $ECHO_N "(cached) $ECHO_C" >&6
25825 else
25826 cat >conftest.$ac_ext <<_ACEOF
25827 /* confdefs.h. */
25828 _ACEOF
25829 cat confdefs.h >>conftest.$ac_ext
25830 cat >>conftest.$ac_ext <<_ACEOF
25831 /* end confdefs.h. */
25832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25834 #define $ac_func innocuous_$ac_func
25835
25836 /* System header to define __stub macros and hopefully few prototypes,
25837 which can conflict with char $ac_func (); below.
25838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25839 <limits.h> exists even on freestanding compilers. */
25840
25841 #ifdef __STDC__
25842 # include <limits.h>
25843 #else
25844 # include <assert.h>
25845 #endif
25846
25847 #undef $ac_func
25848
25849 /* Override any GCC internal prototype to avoid an error.
25850 Use char because int might match the return type of a GCC
25851 builtin and then its argument prototype would still apply. */
25852 #ifdef __cplusplus
25853 extern "C"
25854 #endif
25855 char $ac_func ();
25856 /* The GNU C library defines this for functions which it implements
25857 to always fail with ENOSYS. Some functions are actually named
25858 something starting with __ and the normal name is an alias. */
25859 #if defined __stub_$ac_func || defined __stub___$ac_func
25860 choke me
25861 #endif
25862
25863 int
25864 main ()
25865 {
25866 return $ac_func ();
25867 ;
25868 return 0;
25869 }
25870 _ACEOF
25871 rm -f conftest.$ac_objext conftest$ac_exeext
25872 if { (ac_try="$ac_link"
25873 case "(($ac_try" in
25874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25875 *) ac_try_echo=$ac_try;;
25876 esac
25877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25878 (eval "$ac_link") 2>conftest.er1
25879 ac_status=$?
25880 grep -v '^ *+' conftest.er1 >conftest.err
25881 rm -f conftest.er1
25882 cat conftest.err >&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } && {
25885 test -z "$ac_c_werror_flag" ||
25886 test ! -s conftest.err
25887 } && test -s conftest$ac_exeext &&
25888 $as_test_x conftest$ac_exeext; then
25889 eval "$as_ac_var=yes"
25890 else
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25893
25894 eval "$as_ac_var=no"
25895 fi
25896
25897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25898 conftest$ac_exeext conftest.$ac_ext
25899 fi
25900 ac_res=`eval echo '${'$as_ac_var'}'`
25901 { echo "$as_me:$LINENO: result: $ac_res" >&5
25902 echo "${ECHO_T}$ac_res" >&6; }
25903 if test `eval echo '${'$as_ac_var'}'` = yes; then
25904 cat >>confdefs.h <<_ACEOF
25905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25906 _ACEOF
25907
25908 fi
25909 done
25910
25911 fi
25912
25913
25914
25915 if test "x$ac_cv_func_regcomp" != "xyes"; then
25916 if test "$wxUSE_REGEX" = "sys" ; then
25917 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25918 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25919 { (exit 1); exit 1; }; }
25920 else
25921 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25922 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25923 wxUSE_REGEX=builtin
25924 fi
25925 else
25926 wxUSE_REGEX=sys
25927 cat >>confdefs.h <<\_ACEOF
25928 #define WX_NO_REGEX_ADVANCED 1
25929 _ACEOF
25930
25931 fi
25932 fi
25933 fi
25934
25935
25936 ZLIB_LINK=
25937 if test "$wxUSE_ZLIB" != "no" ; then
25938 cat >>confdefs.h <<\_ACEOF
25939 #define wxUSE_ZLIB 1
25940 _ACEOF
25941
25942
25943 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25944 if test "$USE_DARWIN" = 1; then
25945 system_zlib_h_ok="yes"
25946 else
25947 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25948 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25949 if test "${ac_cv_header_zlib_h+set}" = set; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25951 else
25952 if test "$cross_compiling" = yes; then
25953 unset ac_cv_header_zlib_h
25954
25955 else
25956 cat >conftest.$ac_ext <<_ACEOF
25957 /* confdefs.h. */
25958 _ACEOF
25959 cat confdefs.h >>conftest.$ac_ext
25960 cat >>conftest.$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25962
25963 #include <zlib.h>
25964 #include <stdio.h>
25965
25966 int main()
25967 {
25968 FILE *f=fopen("conftestval", "w");
25969 if (!f) exit(1);
25970 fprintf(f, "%s",
25971 ZLIB_VERSION[0] == '1' &&
25972 (ZLIB_VERSION[2] > '1' ||
25973 (ZLIB_VERSION[2] == '1' &&
25974 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25975 exit(0);
25976 }
25977
25978 _ACEOF
25979 rm -f conftest$ac_exeext
25980 if { (ac_try="$ac_link"
25981 case "(($ac_try" in
25982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25983 *) ac_try_echo=$ac_try;;
25984 esac
25985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25986 (eval "$ac_link") 2>&5
25987 ac_status=$?
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25990 { (case "(($ac_try" in
25991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25992 *) ac_try_echo=$ac_try;;
25993 esac
25994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25995 (eval "$ac_try") 2>&5
25996 ac_status=$?
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); }; }; then
25999 ac_cv_header_zlib_h=`cat conftestval`
26000 else
26001 echo "$as_me: program exited with status $ac_status" >&5
26002 echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.$ac_ext >&5
26004
26005 ( exit $ac_status )
26006 ac_cv_header_zlib_h=no
26007 fi
26008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26009 fi
26010
26011
26012
26013 fi
26014 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26015 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26016 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26017 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26018 if test "${ac_cv_header_zlib_h+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26020 else
26021 cat >conftest.$ac_ext <<_ACEOF
26022 /* confdefs.h. */
26023 _ACEOF
26024 cat confdefs.h >>conftest.$ac_ext
26025 cat >>conftest.$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26027
26028
26029 #include <zlib.h>
26030 _ACEOF
26031 rm -f conftest.$ac_objext
26032 if { (ac_try="$ac_compile"
26033 case "(($ac_try" in
26034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26035 *) ac_try_echo=$ac_try;;
26036 esac
26037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26038 (eval "$ac_compile") 2>conftest.er1
26039 ac_status=$?
26040 grep -v '^ *+' conftest.er1 >conftest.err
26041 rm -f conftest.er1
26042 cat conftest.err >&5
26043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044 (exit $ac_status); } && {
26045 test -z "$ac_c_werror_flag" ||
26046 test ! -s conftest.err
26047 } && test -s conftest.$ac_objext; then
26048 ac_cv_header_zlib_h=yes
26049 else
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26052
26053 ac_cv_header_zlib_h=no
26054 fi
26055
26056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057 fi
26058 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26059 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26060
26061
26062
26063 system_zlib_h_ok=$ac_cv_header_zlib_h
26064 fi
26065
26066 if test "$system_zlib_h_ok" = "yes"; then
26067 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26068 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26069 if test "${ac_cv_lib_z_deflate+set}" = set; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26071 else
26072 ac_check_lib_save_LIBS=$LIBS
26073 LIBS="-lz $LIBS"
26074 cat >conftest.$ac_ext <<_ACEOF
26075 /* confdefs.h. */
26076 _ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26080
26081 /* Override any GCC internal prototype to avoid an error.
26082 Use char because int might match the return type of a GCC
26083 builtin and then its argument prototype would still apply. */
26084 #ifdef __cplusplus
26085 extern "C"
26086 #endif
26087 char deflate ();
26088 int
26089 main ()
26090 {
26091 return deflate ();
26092 ;
26093 return 0;
26094 }
26095 _ACEOF
26096 rm -f conftest.$ac_objext conftest$ac_exeext
26097 if { (ac_try="$ac_link"
26098 case "(($ac_try" in
26099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26100 *) ac_try_echo=$ac_try;;
26101 esac
26102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26103 (eval "$ac_link") 2>conftest.er1
26104 ac_status=$?
26105 grep -v '^ *+' conftest.er1 >conftest.err
26106 rm -f conftest.er1
26107 cat conftest.err >&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); } && {
26110 test -z "$ac_c_werror_flag" ||
26111 test ! -s conftest.err
26112 } && test -s conftest$ac_exeext &&
26113 $as_test_x conftest$ac_exeext; then
26114 ac_cv_lib_z_deflate=yes
26115 else
26116 echo "$as_me: failed program was:" >&5
26117 sed 's/^/| /' conftest.$ac_ext >&5
26118
26119 ac_cv_lib_z_deflate=no
26120 fi
26121
26122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26123 conftest$ac_exeext conftest.$ac_ext
26124 LIBS=$ac_check_lib_save_LIBS
26125 fi
26126 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26127 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26128 if test $ac_cv_lib_z_deflate = yes; then
26129 ZLIB_LINK=" -lz"
26130 fi
26131
26132 fi
26133
26134 if test "x$ZLIB_LINK" = "x" ; then
26135 if test "$wxUSE_ZLIB" = "sys" ; then
26136 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26137 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26138 { (exit 1); exit 1; }; }
26139 else
26140 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26141 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26142 wxUSE_ZLIB=builtin
26143 fi
26144 else
26145 wxUSE_ZLIB=sys
26146 fi
26147 fi
26148 fi
26149
26150
26151 PNG_LINK=
26152 if test "$wxUSE_LIBPNG" != "no" ; then
26153 cat >>confdefs.h <<\_ACEOF
26154 #define wxUSE_LIBPNG 1
26155 _ACEOF
26156
26157
26158 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26159 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26160 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26161 wxUSE_LIBPNG=sys
26162 fi
26163
26164 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26165 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26166 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26167 wxUSE_LIBPNG=builtin
26168 fi
26169
26170 if test "$wxUSE_MGL" != 1 ; then
26171 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26172 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26173 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26174 if test "${ac_cv_header_png_h+set}" = set; then
26175 echo $ECHO_N "(cached) $ECHO_C" >&6
26176 else
26177 if test "$cross_compiling" = yes; then
26178 unset ac_cv_header_png_h
26179
26180 else
26181 cat >conftest.$ac_ext <<_ACEOF
26182 /* confdefs.h. */
26183 _ACEOF
26184 cat confdefs.h >>conftest.$ac_ext
26185 cat >>conftest.$ac_ext <<_ACEOF
26186 /* end confdefs.h. */
26187
26188 #include <png.h>
26189 #include <stdio.h>
26190
26191 int main()
26192 {
26193 FILE *f=fopen("conftestval", "w");
26194 if (!f) exit(1);
26195 fprintf(f, "%s",
26196 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26197 exit(0);
26198 }
26199
26200 _ACEOF
26201 rm -f conftest$ac_exeext
26202 if { (ac_try="$ac_link"
26203 case "(($ac_try" in
26204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26205 *) ac_try_echo=$ac_try;;
26206 esac
26207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26208 (eval "$ac_link") 2>&5
26209 ac_status=$?
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26212 { (case "(($ac_try" in
26213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26214 *) ac_try_echo=$ac_try;;
26215 esac
26216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26217 (eval "$ac_try") 2>&5
26218 ac_status=$?
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; }; then
26221 ac_cv_header_png_h=`cat conftestval`
26222 else
26223 echo "$as_me: program exited with status $ac_status" >&5
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26226
26227 ( exit $ac_status )
26228 ac_cv_header_png_h=no
26229 fi
26230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26231 fi
26232
26233
26234
26235 fi
26236 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26237 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26238 { echo "$as_me:$LINENO: checking for png.h" >&5
26239 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26240 if test "${ac_cv_header_png_h+set}" = set; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26242 else
26243 cat >conftest.$ac_ext <<_ACEOF
26244 /* confdefs.h. */
26245 _ACEOF
26246 cat confdefs.h >>conftest.$ac_ext
26247 cat >>conftest.$ac_ext <<_ACEOF
26248 /* end confdefs.h. */
26249
26250
26251 #include <png.h>
26252 _ACEOF
26253 rm -f conftest.$ac_objext
26254 if { (ac_try="$ac_compile"
26255 case "(($ac_try" in
26256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26257 *) ac_try_echo=$ac_try;;
26258 esac
26259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26260 (eval "$ac_compile") 2>conftest.er1
26261 ac_status=$?
26262 grep -v '^ *+' conftest.er1 >conftest.err
26263 rm -f conftest.er1
26264 cat conftest.err >&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); } && {
26267 test -z "$ac_c_werror_flag" ||
26268 test ! -s conftest.err
26269 } && test -s conftest.$ac_objext; then
26270 ac_cv_header_png_h=yes
26271 else
26272 echo "$as_me: failed program was:" >&5
26273 sed 's/^/| /' conftest.$ac_ext >&5
26274
26275 ac_cv_header_png_h=no
26276 fi
26277
26278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26279 fi
26280 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26281 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26282
26283
26284
26285 if test "$ac_cv_header_png_h" = "yes"; then
26286 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26287 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26288 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26290 else
26291 ac_check_lib_save_LIBS=$LIBS
26292 LIBS="-lpng -lz -lm $LIBS"
26293 cat >conftest.$ac_ext <<_ACEOF
26294 /* confdefs.h. */
26295 _ACEOF
26296 cat confdefs.h >>conftest.$ac_ext
26297 cat >>conftest.$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26299
26300 /* Override any GCC internal prototype to avoid an error.
26301 Use char because int might match the return type of a GCC
26302 builtin and then its argument prototype would still apply. */
26303 #ifdef __cplusplus
26304 extern "C"
26305 #endif
26306 char png_check_sig ();
26307 int
26308 main ()
26309 {
26310 return png_check_sig ();
26311 ;
26312 return 0;
26313 }
26314 _ACEOF
26315 rm -f conftest.$ac_objext conftest$ac_exeext
26316 if { (ac_try="$ac_link"
26317 case "(($ac_try" in
26318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26319 *) ac_try_echo=$ac_try;;
26320 esac
26321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26322 (eval "$ac_link") 2>conftest.er1
26323 ac_status=$?
26324 grep -v '^ *+' conftest.er1 >conftest.err
26325 rm -f conftest.er1
26326 cat conftest.err >&5
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); } && {
26329 test -z "$ac_c_werror_flag" ||
26330 test ! -s conftest.err
26331 } && test -s conftest$ac_exeext &&
26332 $as_test_x conftest$ac_exeext; then
26333 ac_cv_lib_png_png_check_sig=yes
26334 else
26335 echo "$as_me: failed program was:" >&5
26336 sed 's/^/| /' conftest.$ac_ext >&5
26337
26338 ac_cv_lib_png_png_check_sig=no
26339 fi
26340
26341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26342 conftest$ac_exeext conftest.$ac_ext
26343 LIBS=$ac_check_lib_save_LIBS
26344 fi
26345 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26346 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26347 if test $ac_cv_lib_png_png_check_sig = yes; then
26348 PNG_LINK=" -lpng -lz"
26349 fi
26350
26351 fi
26352
26353 if test "x$PNG_LINK" = "x" ; then
26354 if test "$wxUSE_LIBPNG" = "sys" ; then
26355 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26356 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26357 { (exit 1); exit 1; }; }
26358 else
26359 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26360 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26361 wxUSE_LIBPNG=builtin
26362 fi
26363 else
26364 wxUSE_LIBPNG=sys
26365 fi
26366 fi
26367 fi
26368 fi
26369
26370
26371 JPEG_LINK=
26372 if test "$wxUSE_LIBJPEG" != "no" ; then
26373 cat >>confdefs.h <<\_ACEOF
26374 #define wxUSE_LIBJPEG 1
26375 _ACEOF
26376
26377
26378 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26379 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26380 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26381 wxUSE_LIBJPEG=sys
26382 fi
26383
26384 if test "$wxUSE_MGL" != 1 ; then
26385 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26386 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26387 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26388 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26389 echo $ECHO_N "(cached) $ECHO_C" >&6
26390 else
26391 cat >conftest.$ac_ext <<_ACEOF
26392 /* confdefs.h. */
26393 _ACEOF
26394 cat confdefs.h >>conftest.$ac_ext
26395 cat >>conftest.$ac_ext <<_ACEOF
26396 /* end confdefs.h. */
26397
26398 #undef HAVE_STDLIB_H
26399 #include <stdio.h>
26400 #include <jpeglib.h>
26401
26402 int
26403 main ()
26404 {
26405
26406
26407 ;
26408 return 0;
26409 }
26410 _ACEOF
26411 rm -f conftest.$ac_objext
26412 if { (ac_try="$ac_compile"
26413 case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26416 esac
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_compile") 2>conftest.er1
26419 ac_status=$?
26420 grep -v '^ *+' conftest.er1 >conftest.err
26421 rm -f conftest.er1
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } && {
26425 test -z "$ac_c_werror_flag" ||
26426 test ! -s conftest.err
26427 } && test -s conftest.$ac_objext; then
26428 ac_cv_header_jpeglib_h=yes
26429 else
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26432
26433 ac_cv_header_jpeglib_h=no
26434
26435 fi
26436
26437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26438
26439 fi
26440
26441 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26442 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26443
26444 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26445 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26446 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26447 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 else
26450 ac_check_lib_save_LIBS=$LIBS
26451 LIBS="-ljpeg $LIBS"
26452 cat >conftest.$ac_ext <<_ACEOF
26453 /* confdefs.h. */
26454 _ACEOF
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26458
26459 /* Override any GCC internal prototype to avoid an error.
26460 Use char because int might match the return type of a GCC
26461 builtin and then its argument prototype would still apply. */
26462 #ifdef __cplusplus
26463 extern "C"
26464 #endif
26465 char jpeg_read_header ();
26466 int
26467 main ()
26468 {
26469 return jpeg_read_header ();
26470 ;
26471 return 0;
26472 }
26473 _ACEOF
26474 rm -f conftest.$ac_objext conftest$ac_exeext
26475 if { (ac_try="$ac_link"
26476 case "(($ac_try" in
26477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26478 *) ac_try_echo=$ac_try;;
26479 esac
26480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26481 (eval "$ac_link") 2>conftest.er1
26482 ac_status=$?
26483 grep -v '^ *+' conftest.er1 >conftest.err
26484 rm -f conftest.er1
26485 cat conftest.err >&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } && {
26488 test -z "$ac_c_werror_flag" ||
26489 test ! -s conftest.err
26490 } && test -s conftest$ac_exeext &&
26491 $as_test_x conftest$ac_exeext; then
26492 ac_cv_lib_jpeg_jpeg_read_header=yes
26493 else
26494 echo "$as_me: failed program was:" >&5
26495 sed 's/^/| /' conftest.$ac_ext >&5
26496
26497 ac_cv_lib_jpeg_jpeg_read_header=no
26498 fi
26499
26500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26501 conftest$ac_exeext conftest.$ac_ext
26502 LIBS=$ac_check_lib_save_LIBS
26503 fi
26504 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26505 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26506 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26507 JPEG_LINK=" -ljpeg"
26508 fi
26509
26510 fi
26511
26512 if test "x$JPEG_LINK" = "x" ; then
26513 if test "$wxUSE_LIBJPEG" = "sys" ; then
26514 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26515 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26516 { (exit 1); exit 1; }; }
26517 else
26518 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26519 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26520 wxUSE_LIBJPEG=builtin
26521 fi
26522 else
26523 wxUSE_LIBJPEG=sys
26524
26525 if test "$wxUSE_MSW" = 1; then
26526 { echo "$as_me:$LINENO: checking for boolean" >&5
26527 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26528 if test "${ac_cv_type_boolean+set}" = set; then
26529 echo $ECHO_N "(cached) $ECHO_C" >&6
26530 else
26531 cat >conftest.$ac_ext <<_ACEOF
26532 /* confdefs.h. */
26533 _ACEOF
26534 cat confdefs.h >>conftest.$ac_ext
26535 cat >>conftest.$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26537 #include <windows.h>
26538
26539 typedef boolean ac__type_new_;
26540 int
26541 main ()
26542 {
26543 if ((ac__type_new_ *) 0)
26544 return 0;
26545 if (sizeof (ac__type_new_))
26546 return 0;
26547 ;
26548 return 0;
26549 }
26550 _ACEOF
26551 rm -f conftest.$ac_objext
26552 if { (ac_try="$ac_compile"
26553 case "(($ac_try" in
26554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26555 *) ac_try_echo=$ac_try;;
26556 esac
26557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26558 (eval "$ac_compile") 2>conftest.er1
26559 ac_status=$?
26560 grep -v '^ *+' conftest.er1 >conftest.err
26561 rm -f conftest.er1
26562 cat conftest.err >&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); } && {
26565 test -z "$ac_c_werror_flag" ||
26566 test ! -s conftest.err
26567 } && test -s conftest.$ac_objext; then
26568 ac_cv_type_boolean=yes
26569 else
26570 echo "$as_me: failed program was:" >&5
26571 sed 's/^/| /' conftest.$ac_ext >&5
26572
26573 ac_cv_type_boolean=no
26574 fi
26575
26576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26577 fi
26578 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26579 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26580 if test $ac_cv_type_boolean = yes; then
26581
26582 cat >>confdefs.h <<_ACEOF
26583 #define HAVE_BOOLEAN 1
26584 _ACEOF
26585
26586
26587 { echo "$as_me:$LINENO: checking for boolean" >&5
26588 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26589 if test "${ac_cv_type_boolean+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 else
26592 cat >conftest.$ac_ext <<_ACEOF
26593 /* confdefs.h. */
26594 _ACEOF
26595 cat confdefs.h >>conftest.$ac_ext
26596 cat >>conftest.$ac_ext <<_ACEOF
26597 /* end confdefs.h. */
26598
26599 #undef HAVE_BOOLEAN
26600 #include <stdio.h>
26601 #include <jpeglib.h>
26602
26603
26604 typedef boolean ac__type_new_;
26605 int
26606 main ()
26607 {
26608 if ((ac__type_new_ *) 0)
26609 return 0;
26610 if (sizeof (ac__type_new_))
26611 return 0;
26612 ;
26613 return 0;
26614 }
26615 _ACEOF
26616 rm -f conftest.$ac_objext
26617 if { (ac_try="$ac_compile"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26621 esac
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_compile") 2>conftest.er1
26624 ac_status=$?
26625 grep -v '^ *+' conftest.er1 >conftest.err
26626 rm -f conftest.er1
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_c_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest.$ac_objext; then
26633 ac_cv_type_boolean=yes
26634 else
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26637
26638 ac_cv_type_boolean=no
26639 fi
26640
26641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26642 fi
26643 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26644 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26645
26646 # The cast to long int works around a bug in the HP C Compiler
26647 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26648 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26649 # This bug is HP SR number 8606223364.
26650 { echo "$as_me:$LINENO: checking size of boolean" >&5
26651 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26652 if test "${ac_cv_sizeof_boolean+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26654 else
26655 if test "$cross_compiling" = yes; then
26656 # Depending upon the size, compute the lo and hi bounds.
26657 cat >conftest.$ac_ext <<_ACEOF
26658 /* confdefs.h. */
26659 _ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26663
26664 #undef HAVE_BOOLEAN
26665 #include <stdio.h>
26666 #include <jpeglib.h>
26667
26668
26669 typedef boolean ac__type_sizeof_;
26670 int
26671 main ()
26672 {
26673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26674 test_array [0] = 0
26675
26676 ;
26677 return 0;
26678 }
26679 _ACEOF
26680 rm -f conftest.$ac_objext
26681 if { (ac_try="$ac_compile"
26682 case "(($ac_try" in
26683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26684 *) ac_try_echo=$ac_try;;
26685 esac
26686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26687 (eval "$ac_compile") 2>conftest.er1
26688 ac_status=$?
26689 grep -v '^ *+' conftest.er1 >conftest.err
26690 rm -f conftest.er1
26691 cat conftest.err >&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } && {
26694 test -z "$ac_c_werror_flag" ||
26695 test ! -s conftest.err
26696 } && test -s conftest.$ac_objext; then
26697 ac_lo=0 ac_mid=0
26698 while :; do
26699 cat >conftest.$ac_ext <<_ACEOF
26700 /* confdefs.h. */
26701 _ACEOF
26702 cat confdefs.h >>conftest.$ac_ext
26703 cat >>conftest.$ac_ext <<_ACEOF
26704 /* end confdefs.h. */
26705
26706 #undef HAVE_BOOLEAN
26707 #include <stdio.h>
26708 #include <jpeglib.h>
26709
26710
26711 typedef boolean ac__type_sizeof_;
26712 int
26713 main ()
26714 {
26715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26716 test_array [0] = 0
26717
26718 ;
26719 return 0;
26720 }
26721 _ACEOF
26722 rm -f conftest.$ac_objext
26723 if { (ac_try="$ac_compile"
26724 case "(($ac_try" in
26725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26726 *) ac_try_echo=$ac_try;;
26727 esac
26728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26729 (eval "$ac_compile") 2>conftest.er1
26730 ac_status=$?
26731 grep -v '^ *+' conftest.er1 >conftest.err
26732 rm -f conftest.er1
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } && {
26736 test -z "$ac_c_werror_flag" ||
26737 test ! -s conftest.err
26738 } && test -s conftest.$ac_objext; then
26739 ac_hi=$ac_mid; break
26740 else
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26743
26744 ac_lo=`expr $ac_mid + 1`
26745 if test $ac_lo -le $ac_mid; then
26746 ac_lo= ac_hi=
26747 break
26748 fi
26749 ac_mid=`expr 2 '*' $ac_mid + 1`
26750 fi
26751
26752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26753 done
26754 else
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26757
26758 cat >conftest.$ac_ext <<_ACEOF
26759 /* confdefs.h. */
26760 _ACEOF
26761 cat confdefs.h >>conftest.$ac_ext
26762 cat >>conftest.$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26764
26765 #undef HAVE_BOOLEAN
26766 #include <stdio.h>
26767 #include <jpeglib.h>
26768
26769
26770 typedef boolean ac__type_sizeof_;
26771 int
26772 main ()
26773 {
26774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26775 test_array [0] = 0
26776
26777 ;
26778 return 0;
26779 }
26780 _ACEOF
26781 rm -f conftest.$ac_objext
26782 if { (ac_try="$ac_compile"
26783 case "(($ac_try" in
26784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26785 *) ac_try_echo=$ac_try;;
26786 esac
26787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26788 (eval "$ac_compile") 2>conftest.er1
26789 ac_status=$?
26790 grep -v '^ *+' conftest.er1 >conftest.err
26791 rm -f conftest.er1
26792 cat conftest.err >&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); } && {
26795 test -z "$ac_c_werror_flag" ||
26796 test ! -s conftest.err
26797 } && test -s conftest.$ac_objext; then
26798 ac_hi=-1 ac_mid=-1
26799 while :; do
26800 cat >conftest.$ac_ext <<_ACEOF
26801 /* confdefs.h. */
26802 _ACEOF
26803 cat confdefs.h >>conftest.$ac_ext
26804 cat >>conftest.$ac_ext <<_ACEOF
26805 /* end confdefs.h. */
26806
26807 #undef HAVE_BOOLEAN
26808 #include <stdio.h>
26809 #include <jpeglib.h>
26810
26811
26812 typedef boolean ac__type_sizeof_;
26813 int
26814 main ()
26815 {
26816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26817 test_array [0] = 0
26818
26819 ;
26820 return 0;
26821 }
26822 _ACEOF
26823 rm -f conftest.$ac_objext
26824 if { (ac_try="$ac_compile"
26825 case "(($ac_try" in
26826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26827 *) ac_try_echo=$ac_try;;
26828 esac
26829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26830 (eval "$ac_compile") 2>conftest.er1
26831 ac_status=$?
26832 grep -v '^ *+' conftest.er1 >conftest.err
26833 rm -f conftest.er1
26834 cat conftest.err >&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); } && {
26837 test -z "$ac_c_werror_flag" ||
26838 test ! -s conftest.err
26839 } && test -s conftest.$ac_objext; then
26840 ac_lo=$ac_mid; break
26841 else
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.$ac_ext >&5
26844
26845 ac_hi=`expr '(' $ac_mid ')' - 1`
26846 if test $ac_mid -le $ac_hi; then
26847 ac_lo= ac_hi=
26848 break
26849 fi
26850 ac_mid=`expr 2 '*' $ac_mid`
26851 fi
26852
26853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26854 done
26855 else
26856 echo "$as_me: failed program was:" >&5
26857 sed 's/^/| /' conftest.$ac_ext >&5
26858
26859 ac_lo= ac_hi=
26860 fi
26861
26862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26863 fi
26864
26865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26866 # Binary search between lo and hi bounds.
26867 while test "x$ac_lo" != "x$ac_hi"; do
26868 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875
26876 #undef HAVE_BOOLEAN
26877 #include <stdio.h>
26878 #include <jpeglib.h>
26879
26880
26881 typedef boolean ac__type_sizeof_;
26882 int
26883 main ()
26884 {
26885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26886 test_array [0] = 0
26887
26888 ;
26889 return 0;
26890 }
26891 _ACEOF
26892 rm -f conftest.$ac_objext
26893 if { (ac_try="$ac_compile"
26894 case "(($ac_try" in
26895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26896 *) ac_try_echo=$ac_try;;
26897 esac
26898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26899 (eval "$ac_compile") 2>conftest.er1
26900 ac_status=$?
26901 grep -v '^ *+' conftest.er1 >conftest.err
26902 rm -f conftest.er1
26903 cat conftest.err >&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); } && {
26906 test -z "$ac_c_werror_flag" ||
26907 test ! -s conftest.err
26908 } && test -s conftest.$ac_objext; then
26909 ac_hi=$ac_mid
26910 else
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.$ac_ext >&5
26913
26914 ac_lo=`expr '(' $ac_mid ')' + 1`
26915 fi
26916
26917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26918 done
26919 case $ac_lo in
26920 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26921 '') if test "$ac_cv_type_boolean" = yes; then
26922 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26923 See \`config.log' for more details." >&5
26924 echo "$as_me: error: cannot compute sizeof (boolean)
26925 See \`config.log' for more details." >&2;}
26926 { (exit 77); exit 77; }; }
26927 else
26928 ac_cv_sizeof_boolean=0
26929 fi ;;
26930 esac
26931 else
26932 cat >conftest.$ac_ext <<_ACEOF
26933 /* confdefs.h. */
26934 _ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26938
26939 #undef HAVE_BOOLEAN
26940 #include <stdio.h>
26941 #include <jpeglib.h>
26942
26943
26944 typedef boolean ac__type_sizeof_;
26945 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26946 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26947 #include <stdio.h>
26948 #include <stdlib.h>
26949 int
26950 main ()
26951 {
26952
26953 FILE *f = fopen ("conftest.val", "w");
26954 if (! f)
26955 return 1;
26956 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26957 {
26958 long int i = longval ();
26959 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26960 return 1;
26961 fprintf (f, "%ld\n", i);
26962 }
26963 else
26964 {
26965 unsigned long int i = ulongval ();
26966 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26967 return 1;
26968 fprintf (f, "%lu\n", i);
26969 }
26970 return ferror (f) || fclose (f) != 0;
26971
26972 ;
26973 return 0;
26974 }
26975 _ACEOF
26976 rm -f conftest$ac_exeext
26977 if { (ac_try="$ac_link"
26978 case "(($ac_try" in
26979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26980 *) ac_try_echo=$ac_try;;
26981 esac
26982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26983 (eval "$ac_link") 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26987 { (case "(($ac_try" in
26988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26989 *) ac_try_echo=$ac_try;;
26990 esac
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_try") 2>&5
26993 ac_status=$?
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); }; }; then
26996 ac_cv_sizeof_boolean=`cat conftest.val`
26997 else
26998 echo "$as_me: program exited with status $ac_status" >&5
26999 echo "$as_me: failed program was:" >&5
27000 sed 's/^/| /' conftest.$ac_ext >&5
27001
27002 ( exit $ac_status )
27003 if test "$ac_cv_type_boolean" = yes; then
27004 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27005 See \`config.log' for more details." >&5
27006 echo "$as_me: error: cannot compute sizeof (boolean)
27007 See \`config.log' for more details." >&2;}
27008 { (exit 77); exit 77; }; }
27009 else
27010 ac_cv_sizeof_boolean=0
27011 fi
27012 fi
27013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27014 fi
27015 rm -f conftest.val
27016 fi
27017 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27018 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27019
27020
27021
27022 cat >>confdefs.h <<_ACEOF
27023 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27024 _ACEOF
27025
27026
27027 cat >>confdefs.h <<_ACEOF
27028 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27029 _ACEOF
27030
27031
27032 fi
27033
27034 fi
27035 fi
27036 fi
27037 fi
27038 fi
27039
27040
27041 TIFF_LINK=
27042 TIFF_PREREQ_LINKS=-lm
27043 if test "$wxUSE_LIBTIFF" != "no" ; then
27044 cat >>confdefs.h <<\_ACEOF
27045 #define wxUSE_LIBTIFF 1
27046 _ACEOF
27047
27048
27049 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27050 if test "$wxUSE_LIBJPEG" = "sys"; then
27051 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27052 fi
27053 if test "$wxUSE_ZLIB" = "sys"; then
27054 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27055 fi
27056 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27057 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27058 if test "${ac_cv_header_tiffio_h+set}" = set; then
27059 echo $ECHO_N "(cached) $ECHO_C" >&6
27060 else
27061 cat >conftest.$ac_ext <<_ACEOF
27062 /* confdefs.h. */
27063 _ACEOF
27064 cat confdefs.h >>conftest.$ac_ext
27065 cat >>conftest.$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067
27068
27069
27070 #include <tiffio.h>
27071 _ACEOF
27072 rm -f conftest.$ac_objext
27073 if { (ac_try="$ac_compile"
27074 case "(($ac_try" in
27075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27076 *) ac_try_echo=$ac_try;;
27077 esac
27078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27079 (eval "$ac_compile") 2>conftest.er1
27080 ac_status=$?
27081 grep -v '^ *+' conftest.er1 >conftest.err
27082 rm -f conftest.er1
27083 cat conftest.err >&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } && {
27086 test -z "$ac_c_werror_flag" ||
27087 test ! -s conftest.err
27088 } && test -s conftest.$ac_objext; then
27089 ac_cv_header_tiffio_h=yes
27090 else
27091 echo "$as_me: failed program was:" >&5
27092 sed 's/^/| /' conftest.$ac_ext >&5
27093
27094 ac_cv_header_tiffio_h=no
27095 fi
27096
27097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27098 fi
27099 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27100 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27101 if test $ac_cv_header_tiffio_h = yes; then
27102
27103 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27104 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27105 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27106 echo $ECHO_N "(cached) $ECHO_C" >&6
27107 else
27108 ac_check_lib_save_LIBS=$LIBS
27109 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27110 cat >conftest.$ac_ext <<_ACEOF
27111 /* confdefs.h. */
27112 _ACEOF
27113 cat confdefs.h >>conftest.$ac_ext
27114 cat >>conftest.$ac_ext <<_ACEOF
27115 /* end confdefs.h. */
27116
27117 /* Override any GCC internal prototype to avoid an error.
27118 Use char because int might match the return type of a GCC
27119 builtin and then its argument prototype would still apply. */
27120 #ifdef __cplusplus
27121 extern "C"
27122 #endif
27123 char TIFFError ();
27124 int
27125 main ()
27126 {
27127 return TIFFError ();
27128 ;
27129 return 0;
27130 }
27131 _ACEOF
27132 rm -f conftest.$ac_objext conftest$ac_exeext
27133 if { (ac_try="$ac_link"
27134 case "(($ac_try" in
27135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27136 *) ac_try_echo=$ac_try;;
27137 esac
27138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27139 (eval "$ac_link") 2>conftest.er1
27140 ac_status=$?
27141 grep -v '^ *+' conftest.er1 >conftest.err
27142 rm -f conftest.er1
27143 cat conftest.err >&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } && {
27146 test -z "$ac_c_werror_flag" ||
27147 test ! -s conftest.err
27148 } && test -s conftest$ac_exeext &&
27149 $as_test_x conftest$ac_exeext; then
27150 ac_cv_lib_tiff_TIFFError=yes
27151 else
27152 echo "$as_me: failed program was:" >&5
27153 sed 's/^/| /' conftest.$ac_ext >&5
27154
27155 ac_cv_lib_tiff_TIFFError=no
27156 fi
27157
27158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27159 conftest$ac_exeext conftest.$ac_ext
27160 LIBS=$ac_check_lib_save_LIBS
27161 fi
27162 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27163 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27164 if test $ac_cv_lib_tiff_TIFFError = yes; then
27165 TIFF_LINK=" -ltiff"
27166 fi
27167
27168
27169 fi
27170
27171
27172
27173 if test "x$TIFF_LINK" = "x" ; then
27174 if test "$wxUSE_LIBTIFF" = "sys" ; then
27175 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27176 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27177 { (exit 1); exit 1; }; }
27178 else
27179 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27180 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27181 wxUSE_LIBTIFF=builtin
27182 fi
27183 else
27184 wxUSE_LIBTIFF=sys
27185 fi
27186 fi
27187 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27188 if test "$wxUSE_LIBJPEG" = "no"; then
27189 ac_configure_args="$ac_configure_args --disable-jpeg"
27190 fi
27191 subdirs="$subdirs src/tiff"
27192
27193 fi
27194 fi
27195
27196
27197 if test "$wxUSE_WCHAR_T" != "yes"; then
27198 if test "$wxUSE_EXPAT" != "no"; then
27199 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27200 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27201 wxUSE_EXPAT=no
27202 fi
27203 if test "$wxUSE_XML" != "no"; then
27204 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27205 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27206 wxUSE_XML=no
27207 fi
27208 fi
27209
27210 if test "$wxUSE_EXPAT" != "no"; then
27211 wxUSE_XML=yes
27212 cat >>confdefs.h <<\_ACEOF
27213 #define wxUSE_EXPAT 1
27214 _ACEOF
27215
27216 cat >>confdefs.h <<\_ACEOF
27217 #define wxUSE_XML 1
27218 _ACEOF
27219
27220
27221 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27222 { echo "$as_me:$LINENO: checking for expat.h" >&5
27223 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27224 if test "${ac_cv_header_expat_h+set}" = set; then
27225 echo $ECHO_N "(cached) $ECHO_C" >&6
27226 else
27227 cat >conftest.$ac_ext <<_ACEOF
27228 /* confdefs.h. */
27229 _ACEOF
27230 cat confdefs.h >>conftest.$ac_ext
27231 cat >>conftest.$ac_ext <<_ACEOF
27232 /* end confdefs.h. */
27233
27234
27235 #include <expat.h>
27236 _ACEOF
27237 rm -f conftest.$ac_objext
27238 if { (ac_try="$ac_compile"
27239 case "(($ac_try" in
27240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27241 *) ac_try_echo=$ac_try;;
27242 esac
27243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27244 (eval "$ac_compile") 2>conftest.er1
27245 ac_status=$?
27246 grep -v '^ *+' conftest.er1 >conftest.err
27247 rm -f conftest.er1
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } && {
27251 test -z "$ac_c_werror_flag" ||
27252 test ! -s conftest.err
27253 } && test -s conftest.$ac_objext; then
27254 ac_cv_header_expat_h=yes
27255 else
27256 echo "$as_me: failed program was:" >&5
27257 sed 's/^/| /' conftest.$ac_ext >&5
27258
27259 ac_cv_header_expat_h=no
27260 fi
27261
27262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27263 fi
27264 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27265 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27266 if test $ac_cv_header_expat_h = yes; then
27267 found_expat_h=1
27268 fi
27269
27270
27271 if test "x$found_expat_h" = "x1"; then
27272 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27273 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27274 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27275 echo $ECHO_N "(cached) $ECHO_C" >&6
27276 else
27277
27278 ac_ext=cpp
27279 ac_cpp='$CXXCPP $CPPFLAGS'
27280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27283
27284 cat >conftest.$ac_ext <<_ACEOF
27285 /* confdefs.h. */
27286 _ACEOF
27287 cat confdefs.h >>conftest.$ac_ext
27288 cat >>conftest.$ac_ext <<_ACEOF
27289 /* end confdefs.h. */
27290 #include <expat.h>
27291 int
27292 main ()
27293 {
27294
27295 ;
27296 return 0;
27297 }
27298 _ACEOF
27299 rm -f conftest.$ac_objext
27300 if { (ac_try="$ac_compile"
27301 case "(($ac_try" in
27302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27303 *) ac_try_echo=$ac_try;;
27304 esac
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306 (eval "$ac_compile") 2>conftest.er1
27307 ac_status=$?
27308 grep -v '^ *+' conftest.er1 >conftest.err
27309 rm -f conftest.er1
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } && {
27313 test -z "$ac_cxx_werror_flag" ||
27314 test ! -s conftest.err
27315 } && test -s conftest.$ac_objext; then
27316 wx_cv_expat_is_not_broken=yes
27317 else
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.$ac_ext >&5
27320
27321 wx_cv_expat_is_not_broken=no
27322
27323 fi
27324
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 ac_ext=c
27327 ac_cpp='$CPP $CPPFLAGS'
27328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27331
27332
27333
27334 fi
27335 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27336 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27337 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27338 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27339 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27340 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 else
27343 ac_check_lib_save_LIBS=$LIBS
27344 LIBS="-lexpat $LIBS"
27345 cat >conftest.$ac_ext <<_ACEOF
27346 /* confdefs.h. */
27347 _ACEOF
27348 cat confdefs.h >>conftest.$ac_ext
27349 cat >>conftest.$ac_ext <<_ACEOF
27350 /* end confdefs.h. */
27351
27352 /* Override any GCC internal prototype to avoid an error.
27353 Use char because int might match the return type of a GCC
27354 builtin and then its argument prototype would still apply. */
27355 #ifdef __cplusplus
27356 extern "C"
27357 #endif
27358 char XML_ParserCreate ();
27359 int
27360 main ()
27361 {
27362 return XML_ParserCreate ();
27363 ;
27364 return 0;
27365 }
27366 _ACEOF
27367 rm -f conftest.$ac_objext conftest$ac_exeext
27368 if { (ac_try="$ac_link"
27369 case "(($ac_try" in
27370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27371 *) ac_try_echo=$ac_try;;
27372 esac
27373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27374 (eval "$ac_link") 2>conftest.er1
27375 ac_status=$?
27376 grep -v '^ *+' conftest.er1 >conftest.err
27377 rm -f conftest.er1
27378 cat conftest.err >&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); } && {
27381 test -z "$ac_c_werror_flag" ||
27382 test ! -s conftest.err
27383 } && test -s conftest$ac_exeext &&
27384 $as_test_x conftest$ac_exeext; then
27385 ac_cv_lib_expat_XML_ParserCreate=yes
27386 else
27387 echo "$as_me: failed program was:" >&5
27388 sed 's/^/| /' conftest.$ac_ext >&5
27389
27390 ac_cv_lib_expat_XML_ParserCreate=no
27391 fi
27392
27393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27394 conftest$ac_exeext conftest.$ac_ext
27395 LIBS=$ac_check_lib_save_LIBS
27396 fi
27397 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27398 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27399 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27400 EXPAT_LINK=" -lexpat"
27401 fi
27402
27403 fi
27404 fi
27405 if test "x$EXPAT_LINK" = "x" ; then
27406 if test "$wxUSE_EXPAT" = "sys" ; then
27407 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27408 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27409 { (exit 1); exit 1; }; }
27410 else
27411 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27412 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27413 wxUSE_EXPAT=builtin
27414 fi
27415 else
27416 wxUSE_EXPAT=sys
27417 fi
27418 fi
27419 if test "$wxUSE_EXPAT" = "builtin" ; then
27420 subdirs="$subdirs src/expat"
27421
27422 fi
27423 fi
27424
27425
27426
27427 if test "$wxUSE_LIBMSPACK" != "no"; then
27428 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27429 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27430 if test "${ac_cv_header_mspack_h+set}" = set; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27432 else
27433 cat >conftest.$ac_ext <<_ACEOF
27434 /* confdefs.h. */
27435 _ACEOF
27436 cat confdefs.h >>conftest.$ac_ext
27437 cat >>conftest.$ac_ext <<_ACEOF
27438 /* end confdefs.h. */
27439
27440
27441 #include <mspack.h>
27442 _ACEOF
27443 rm -f conftest.$ac_objext
27444 if { (ac_try="$ac_compile"
27445 case "(($ac_try" in
27446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27447 *) ac_try_echo=$ac_try;;
27448 esac
27449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27450 (eval "$ac_compile") 2>conftest.er1
27451 ac_status=$?
27452 grep -v '^ *+' conftest.er1 >conftest.err
27453 rm -f conftest.er1
27454 cat conftest.err >&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); } && {
27457 test -z "$ac_c_werror_flag" ||
27458 test ! -s conftest.err
27459 } && test -s conftest.$ac_objext; then
27460 ac_cv_header_mspack_h=yes
27461 else
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.$ac_ext >&5
27464
27465 ac_cv_header_mspack_h=no
27466 fi
27467
27468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27469 fi
27470 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27471 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27472 if test $ac_cv_header_mspack_h = yes; then
27473 found_mspack_h=1
27474 fi
27475
27476
27477 if test "x$found_mspack_h" = "x1"; then
27478 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27479 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27480 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27482 else
27483 ac_check_lib_save_LIBS=$LIBS
27484 LIBS="-lmspack $LIBS"
27485 cat >conftest.$ac_ext <<_ACEOF
27486 /* confdefs.h. */
27487 _ACEOF
27488 cat confdefs.h >>conftest.$ac_ext
27489 cat >>conftest.$ac_ext <<_ACEOF
27490 /* end confdefs.h. */
27491
27492 /* Override any GCC internal prototype to avoid an error.
27493 Use char because int might match the return type of a GCC
27494 builtin and then its argument prototype would still apply. */
27495 #ifdef __cplusplus
27496 extern "C"
27497 #endif
27498 char mspack_create_chm_decompressor ();
27499 int
27500 main ()
27501 {
27502 return mspack_create_chm_decompressor ();
27503 ;
27504 return 0;
27505 }
27506 _ACEOF
27507 rm -f conftest.$ac_objext conftest$ac_exeext
27508 if { (ac_try="$ac_link"
27509 case "(($ac_try" in
27510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27511 *) ac_try_echo=$ac_try;;
27512 esac
27513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27514 (eval "$ac_link") 2>conftest.er1
27515 ac_status=$?
27516 grep -v '^ *+' conftest.er1 >conftest.err
27517 rm -f conftest.er1
27518 cat conftest.err >&5
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); } && {
27521 test -z "$ac_c_werror_flag" ||
27522 test ! -s conftest.err
27523 } && test -s conftest$ac_exeext &&
27524 $as_test_x conftest$ac_exeext; then
27525 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27526 else
27527 echo "$as_me: failed program was:" >&5
27528 sed 's/^/| /' conftest.$ac_ext >&5
27529
27530 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27531 fi
27532
27533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27534 conftest$ac_exeext conftest.$ac_ext
27535 LIBS=$ac_check_lib_save_LIBS
27536 fi
27537 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27538 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27539 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27540 MSPACK_LINK=" -lmspack"
27541 fi
27542
27543 fi
27544 if test "x$MSPACK_LINK" = "x" ; then
27545 wxUSE_LIBMSPACK=no
27546 fi
27547 fi
27548
27549 if test "$wxUSE_LIBMSPACK" != "no"; then
27550 cat >>confdefs.h <<\_ACEOF
27551 #define wxUSE_LIBMSPACK 1
27552 _ACEOF
27553
27554 fi
27555
27556
27557
27558 AFMINSTALL=
27559 WIN32INSTALL=
27560
27561 TOOLKIT=
27562 TOOLKIT_INCLUDE=
27563 WIDGET_SET=
27564
27565 if test "$USE_WIN32" = 1 ; then
27566
27567 for ac_header in w32api.h
27568 do
27569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27574 else
27575 cat >conftest.$ac_ext <<_ACEOF
27576 /* confdefs.h. */
27577 _ACEOF
27578 cat confdefs.h >>conftest.$ac_ext
27579 cat >>conftest.$ac_ext <<_ACEOF
27580 /* end confdefs.h. */
27581
27582
27583 #include <$ac_header>
27584 _ACEOF
27585 rm -f conftest.$ac_objext
27586 if { (ac_try="$ac_compile"
27587 case "(($ac_try" in
27588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27589 *) ac_try_echo=$ac_try;;
27590 esac
27591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27592 (eval "$ac_compile") 2>conftest.er1
27593 ac_status=$?
27594 grep -v '^ *+' conftest.er1 >conftest.err
27595 rm -f conftest.er1
27596 cat conftest.err >&5
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); } && {
27599 test -z "$ac_c_werror_flag" ||
27600 test ! -s conftest.err
27601 } && test -s conftest.$ac_objext; then
27602 eval "$as_ac_Header=yes"
27603 else
27604 echo "$as_me: failed program was:" >&5
27605 sed 's/^/| /' conftest.$ac_ext >&5
27606
27607 eval "$as_ac_Header=no"
27608 fi
27609
27610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27611 fi
27612 ac_res=`eval echo '${'$as_ac_Header'}'`
27613 { echo "$as_me:$LINENO: result: $ac_res" >&5
27614 echo "${ECHO_T}$ac_res" >&6; }
27615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27616 cat >>confdefs.h <<_ACEOF
27617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27618 _ACEOF
27619
27620 fi
27621
27622 done
27623
27624 { echo "$as_me:$LINENO: checking for windows.h" >&5
27625 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27626 if test "${ac_cv_header_windows_h+set}" = set; then
27627 echo $ECHO_N "(cached) $ECHO_C" >&6
27628 else
27629 cat >conftest.$ac_ext <<_ACEOF
27630 /* confdefs.h. */
27631 _ACEOF
27632 cat confdefs.h >>conftest.$ac_ext
27633 cat >>conftest.$ac_ext <<_ACEOF
27634 /* end confdefs.h. */
27635
27636
27637 #include <windows.h>
27638 _ACEOF
27639 rm -f conftest.$ac_objext
27640 if { (ac_try="$ac_compile"
27641 case "(($ac_try" in
27642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27643 *) ac_try_echo=$ac_try;;
27644 esac
27645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27646 (eval "$ac_compile") 2>conftest.er1
27647 ac_status=$?
27648 grep -v '^ *+' conftest.er1 >conftest.err
27649 rm -f conftest.er1
27650 cat conftest.err >&5
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); } && {
27653 test -z "$ac_c_werror_flag" ||
27654 test ! -s conftest.err
27655 } && test -s conftest.$ac_objext; then
27656 ac_cv_header_windows_h=yes
27657 else
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27660
27661 ac_cv_header_windows_h=no
27662 fi
27663
27664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27665 fi
27666 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27667 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27668 if test $ac_cv_header_windows_h = yes; then
27669 :
27670 else
27671
27672 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27673 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27674 { (exit 1); exit 1; }; }
27675
27676 fi
27677
27678
27679
27680 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27681
27682 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27683 LIBS="$LIBS -loleacc"
27684 fi
27685
27686 case "${host}" in
27687 *-*-cygwin* )
27688 LIBS="$LIBS -lkernel32 -luser32"
27689 esac
27690
27691 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27692 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27693
27694 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27695
27696 WIN32INSTALL=win32install
27697
27698 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27699 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27700 if test "${ac_cv_header_pbt_h+set}" = set; then
27701 echo $ECHO_N "(cached) $ECHO_C" >&6
27702 else
27703 cat >conftest.$ac_ext <<_ACEOF
27704 /* confdefs.h. */
27705 _ACEOF
27706 cat confdefs.h >>conftest.$ac_ext
27707 cat >>conftest.$ac_ext <<_ACEOF
27708 /* end confdefs.h. */
27709
27710
27711 #include <pbt.h>
27712 _ACEOF
27713 rm -f conftest.$ac_objext
27714 if { (ac_try="$ac_compile"
27715 case "(($ac_try" in
27716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27717 *) ac_try_echo=$ac_try;;
27718 esac
27719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27720 (eval "$ac_compile") 2>conftest.er1
27721 ac_status=$?
27722 grep -v '^ *+' conftest.er1 >conftest.err
27723 rm -f conftest.er1
27724 cat conftest.err >&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); } && {
27727 test -z "$ac_c_werror_flag" ||
27728 test ! -s conftest.err
27729 } && test -s conftest.$ac_objext; then
27730 ac_cv_header_pbt_h=yes
27731 else
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.$ac_ext >&5
27734
27735 ac_cv_header_pbt_h=no
27736 fi
27737
27738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27739 fi
27740 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27741 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27742 if test $ac_cv_header_pbt_h = yes; then
27743 :
27744 else
27745 cat >>confdefs.h <<\_ACEOF
27746 #define NEED_PBT_H 1
27747 _ACEOF
27748
27749 fi
27750
27751
27752 fi
27753
27754 if test "$wxUSE_GUI" = "yes"; then
27755 USE_GUI=1
27756
27757 GUI_TK_LIBRARY=
27758
27759 WXGTK12=
27760 WXGTK127=
27761 WXGTK2=
27762 WXGPE=
27763
27764 if test "$wxUSE_COCOA" = 1 ; then
27765 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27766 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27767 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27768 wxUSE_PRINTING_ARCHITECTURE=no
27769 fi
27770 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27771 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27772 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27773 wxUSE_DRAG_AND_DROP=no
27774 fi
27775 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27776 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27777 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27778 wxUSE_DRAGIMAGE=no
27779 fi
27780 fi
27781
27782 if test "$wxUSE_MSW" = 1 ; then
27783 TOOLKIT=MSW
27784 GUIDIST=MSW_DIST
27785
27786 case "${host}" in
27787 *-*-mingw32* )
27788 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27789 esac
27790 fi
27791
27792 if test "$wxUSE_GTK" = 1; then
27793 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27794 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27795
27796 gtk_version_cached=1
27797 if test "${wx_cv_lib_gtk+set}" = set; then
27798 echo $ECHO_N "(cached) $ECHO_C" >&6
27799 else
27800
27801 gtk_version_cached=0
27802 { echo "$as_me:$LINENO: result: " >&5
27803 echo "${ECHO_T}" >&6; }
27804
27805 GTK_MODULES=
27806 if test "$wxUSE_THREADS" = "yes"; then
27807 GTK_MODULES=gthread
27808 fi
27809
27810 wx_cv_lib_gtk=
27811 if test "x$wxGTK_VERSION" != "x1"
27812 then
27813 case "${host}" in
27814 *-*-solaris2* )
27815 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27816 enable_gtktest=no
27817 fi
27818 esac
27819
27820 # Check whether --enable-gtktest was given.
27821 if test "${enable_gtktest+set}" = set; then
27822 enableval=$enable_gtktest;
27823 else
27824 enable_gtktest=yes
27825 fi
27826
27827
27828 pkg_config_args=gtk+-2.0
27829 for module in . $GTK_MODULES
27830 do
27831 case "$module" in
27832 gthread)
27833 pkg_config_args="$pkg_config_args gthread-2.0"
27834 ;;
27835 esac
27836 done
27837
27838 no_gtk=""
27839
27840 # Extract the first word of "pkg-config", so it can be a program name with args.
27841 set dummy pkg-config; ac_word=$2
27842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27844 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847 case $PKG_CONFIG in
27848 [\\/]* | ?:[\\/]*)
27849 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27850 ;;
27851 *)
27852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27853 for as_dir in $PATH
27854 do
27855 IFS=$as_save_IFS
27856 test -z "$as_dir" && as_dir=.
27857 for ac_exec_ext in '' $ac_executable_extensions; do
27858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27859 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27861 break 2
27862 fi
27863 done
27864 done
27865 IFS=$as_save_IFS
27866
27867 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27868 ;;
27869 esac
27870 fi
27871 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27872 if test -n "$PKG_CONFIG"; then
27873 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27874 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27875 else
27876 { echo "$as_me:$LINENO: result: no" >&5
27877 echo "${ECHO_T}no" >&6; }
27878 fi
27879
27880
27881
27882 if test x$PKG_CONFIG != xno ; then
27883 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27884 :
27885 else
27886 echo "*** pkg-config too old; version 0.7 or better required."
27887 no_gtk=yes
27888 PKG_CONFIG=no
27889 fi
27890 else
27891 no_gtk=yes
27892 fi
27893
27894 min_gtk_version=2.4.0
27895 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27896 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27897
27898 if test x$PKG_CONFIG != xno ; then
27899 ## don't try to run the test against uninstalled libtool libs
27900 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27901 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27902 enable_gtktest=no
27903 fi
27904
27905 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27906 :
27907 else
27908 no_gtk=yes
27909 fi
27910 fi
27911
27912 if test x"$no_gtk" = x ; then
27913 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27914 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27915 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27917 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27919 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27921 if test "x$enable_gtktest" = "xyes" ; then
27922 ac_save_CFLAGS="$CFLAGS"
27923 ac_save_LIBS="$LIBS"
27924 CFLAGS="$CFLAGS $GTK_CFLAGS"
27925 LIBS="$GTK_LIBS $LIBS"
27926 rm -f conf.gtktest
27927 if test "$cross_compiling" = yes; then
27928 echo $ac_n "cross compiling; assumed OK... $ac_c"
27929 else
27930 cat >conftest.$ac_ext <<_ACEOF
27931 /* confdefs.h. */
27932 _ACEOF
27933 cat confdefs.h >>conftest.$ac_ext
27934 cat >>conftest.$ac_ext <<_ACEOF
27935 /* end confdefs.h. */
27936
27937 #include <gtk/gtk.h>
27938 #include <stdio.h>
27939 #include <stdlib.h>
27940
27941 int
27942 main ()
27943 {
27944 int major, minor, micro;
27945 char *tmp_version;
27946
27947 system ("touch conf.gtktest");
27948
27949 /* HP/UX 9 (%@#!) writes to sscanf strings */
27950 tmp_version = g_strdup("$min_gtk_version");
27951 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27952 printf("%s, bad version string\n", "$min_gtk_version");
27953 exit(1);
27954 }
27955
27956 if ((gtk_major_version != $gtk_config_major_version) ||
27957 (gtk_minor_version != $gtk_config_minor_version) ||
27958 (gtk_micro_version != $gtk_config_micro_version))
27959 {
27960 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27961 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27962 gtk_major_version, gtk_minor_version, gtk_micro_version);
27963 printf ("*** was found! If pkg-config was correct, then it is best\n");
27964 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27965 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27966 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27967 printf("*** required on your system.\n");
27968 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27969 printf("*** to point to the correct configuration files\n");
27970 }
27971 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27972 (gtk_minor_version != GTK_MINOR_VERSION) ||
27973 (gtk_micro_version != GTK_MICRO_VERSION))
27974 {
27975 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27976 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27977 printf("*** library (version %d.%d.%d)\n",
27978 gtk_major_version, gtk_minor_version, gtk_micro_version);
27979 }
27980 else
27981 {
27982 if ((gtk_major_version > major) ||
27983 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27984 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27985 {
27986 return 0;
27987 }
27988 else
27989 {
27990 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27991 gtk_major_version, gtk_minor_version, gtk_micro_version);
27992 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27993 major, minor, micro);
27994 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27995 printf("***\n");
27996 printf("*** If you have already installed a sufficiently new version, this error\n");
27997 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27998 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27999 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28000 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28001 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28002 printf("*** so that the correct libraries are found at run-time))\n");
28003 }
28004 }
28005 return 1;
28006 }
28007
28008 _ACEOF
28009 rm -f conftest$ac_exeext
28010 if { (ac_try="$ac_link"
28011 case "(($ac_try" in
28012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28013 *) ac_try_echo=$ac_try;;
28014 esac
28015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28016 (eval "$ac_link") 2>&5
28017 ac_status=$?
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28020 { (case "(($ac_try" in
28021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28022 *) ac_try_echo=$ac_try;;
28023 esac
28024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28025 (eval "$ac_try") 2>&5
28026 ac_status=$?
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); }; }; then
28029 :
28030 else
28031 echo "$as_me: program exited with status $ac_status" >&5
28032 echo "$as_me: failed program was:" >&5
28033 sed 's/^/| /' conftest.$ac_ext >&5
28034
28035 ( exit $ac_status )
28036 no_gtk=yes
28037 fi
28038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28039 fi
28040
28041
28042 CFLAGS="$ac_save_CFLAGS"
28043 LIBS="$ac_save_LIBS"
28044 fi
28045 fi
28046 if test "x$no_gtk" = x ; then
28047 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28048 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28049 wx_cv_lib_gtk=2.0
28050 else
28051 { echo "$as_me:$LINENO: result: no" >&5
28052 echo "${ECHO_T}no" >&6; }
28053 if test "$PKG_CONFIG" = "no" ; then
28054 echo "*** A new enough version of pkg-config was not found."
28055 echo "*** See http://pkgconfig.sourceforge.net"
28056 else
28057 if test -f conf.gtktest ; then
28058 :
28059 else
28060 echo "*** Could not run GTK+ test program, checking why..."
28061 ac_save_CFLAGS="$CFLAGS"
28062 ac_save_LIBS="$LIBS"
28063 CFLAGS="$CFLAGS $GTK_CFLAGS"
28064 LIBS="$LIBS $GTK_LIBS"
28065 cat >conftest.$ac_ext <<_ACEOF
28066 /* confdefs.h. */
28067 _ACEOF
28068 cat confdefs.h >>conftest.$ac_ext
28069 cat >>conftest.$ac_ext <<_ACEOF
28070 /* end confdefs.h. */
28071
28072 #include <gtk/gtk.h>
28073 #include <stdio.h>
28074
28075 int
28076 main ()
28077 {
28078 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28079 ;
28080 return 0;
28081 }
28082 _ACEOF
28083 rm -f conftest.$ac_objext conftest$ac_exeext
28084 if { (ac_try="$ac_link"
28085 case "(($ac_try" in
28086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28087 *) ac_try_echo=$ac_try;;
28088 esac
28089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28090 (eval "$ac_link") 2>conftest.er1
28091 ac_status=$?
28092 grep -v '^ *+' conftest.er1 >conftest.err
28093 rm -f conftest.er1
28094 cat conftest.err >&5
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); } && {
28097 test -z "$ac_c_werror_flag" ||
28098 test ! -s conftest.err
28099 } && test -s conftest$ac_exeext &&
28100 $as_test_x conftest$ac_exeext; then
28101 echo "*** The test program compiled, but did not run. This usually means"
28102 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28103 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28104 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28105 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28106 echo "*** is required on your system"
28107 echo "***"
28108 echo "*** If you have an old version installed, it is best to remove it, although"
28109 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28110 else
28111 echo "$as_me: failed program was:" >&5
28112 sed 's/^/| /' conftest.$ac_ext >&5
28113
28114 echo "*** The test program failed to compile or link. See the file config.log for the"
28115 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28116 fi
28117
28118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28119 conftest$ac_exeext conftest.$ac_ext
28120 CFLAGS="$ac_save_CFLAGS"
28121 LIBS="$ac_save_LIBS"
28122 fi
28123 fi
28124 GTK_CFLAGS=""
28125 GTK_LIBS=""
28126 :
28127 fi
28128
28129
28130 rm -f conf.gtktest
28131
28132
28133 case "${host}" in
28134 *-*-solaris2* )
28135 if test "$wxUSE_SHARED" != "yes"; then
28136 GTK_LIBS="$GTK_LIBS -lX11"
28137 fi
28138 esac
28139 fi
28140
28141 if test -z "$wx_cv_lib_gtk"; then
28142 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28143
28144 # Check whether --with-gtk-prefix was given.
28145 if test "${with_gtk_prefix+set}" = set; then
28146 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28147 else
28148 gtk_config_prefix=""
28149 fi
28150
28151
28152 # Check whether --with-gtk-exec-prefix was given.
28153 if test "${with_gtk_exec_prefix+set}" = set; then
28154 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28155 else
28156 gtk_config_exec_prefix=""
28157 fi
28158
28159 # Check whether --enable-gtktest was given.
28160 if test "${enable_gtktest+set}" = set; then
28161 enableval=$enable_gtktest;
28162 else
28163 enable_gtktest=yes
28164 fi
28165
28166
28167 for module in . $GTK_MODULES
28168 do
28169 case "$module" in
28170 gthread)
28171 gtk_config_args="$gtk_config_args gthread"
28172 ;;
28173 esac
28174 done
28175
28176 if test x$gtk_config_exec_prefix != x ; then
28177 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28178 if test x${GTK_CONFIG+set} != xset ; then
28179 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28180 fi
28181 fi
28182 if test x$gtk_config_prefix != x ; then
28183 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28184 if test x${GTK_CONFIG+set} != xset ; then
28185 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28186 fi
28187 fi
28188
28189 # Extract the first word of "gtk-config", so it can be a program name with args.
28190 set dummy gtk-config; ac_word=$2
28191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28193 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28195 else
28196 case $GTK_CONFIG in
28197 [\\/]* | ?:[\\/]*)
28198 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28199 ;;
28200 *)
28201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28202 for as_dir in $PATH
28203 do
28204 IFS=$as_save_IFS
28205 test -z "$as_dir" && as_dir=.
28206 for ac_exec_ext in '' $ac_executable_extensions; do
28207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28208 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28210 break 2
28211 fi
28212 done
28213 done
28214 IFS=$as_save_IFS
28215
28216 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28217 ;;
28218 esac
28219 fi
28220 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28221 if test -n "$GTK_CONFIG"; then
28222 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28223 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28224 else
28225 { echo "$as_me:$LINENO: result: no" >&5
28226 echo "${ECHO_T}no" >&6; }
28227 fi
28228
28229
28230 min_gtk_version=1.2.7
28231 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28232 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28233 no_gtk=""
28234 if test "$GTK_CONFIG" = "no" ; then
28235 no_gtk=yes
28236 else
28237 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28238 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28239 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28241 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28243 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28245 if test "x$enable_gtktest" = "xyes" ; then
28246 ac_save_CFLAGS="$CFLAGS"
28247 ac_save_LIBS="$LIBS"
28248 CFLAGS="$CFLAGS $GTK_CFLAGS"
28249 LIBS="$GTK_LIBS $LIBS"
28250 rm -f conf.gtktest
28251 if test "$cross_compiling" = yes; then
28252 echo $ac_n "cross compiling; assumed OK... $ac_c"
28253 else
28254 cat >conftest.$ac_ext <<_ACEOF
28255 /* confdefs.h. */
28256 _ACEOF
28257 cat confdefs.h >>conftest.$ac_ext
28258 cat >>conftest.$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28260
28261 #include <gtk/gtk.h>
28262 #include <stdio.h>
28263 #include <stdlib.h>
28264
28265 int
28266 main ()
28267 {
28268 int major, minor, micro;
28269 char *tmp_version;
28270
28271 system ("touch conf.gtktest");
28272
28273 /* HP/UX 9 (%@#!) writes to sscanf strings */
28274 tmp_version = g_strdup("$min_gtk_version");
28275 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28276 printf("%s, bad version string\n", "$min_gtk_version");
28277 exit(1);
28278 }
28279
28280 if ((gtk_major_version != $gtk_config_major_version) ||
28281 (gtk_minor_version != $gtk_config_minor_version) ||
28282 (gtk_micro_version != $gtk_config_micro_version))
28283 {
28284 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28285 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28286 gtk_major_version, gtk_minor_version, gtk_micro_version);
28287 printf ("*** was found! If gtk-config was correct, then it is best\n");
28288 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28289 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28290 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28291 printf("*** required on your system.\n");
28292 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28293 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28294 printf("*** before re-running configure\n");
28295 }
28296 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28297 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28298 (gtk_minor_version != GTK_MINOR_VERSION) ||
28299 (gtk_micro_version != GTK_MICRO_VERSION))
28300 {
28301 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28302 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28303 printf("*** library (version %d.%d.%d)\n",
28304 gtk_major_version, gtk_minor_version, gtk_micro_version);
28305 }
28306 #endif /* defined (GTK_MAJOR_VERSION) ... */
28307 else
28308 {
28309 if ((gtk_major_version > major) ||
28310 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28311 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28312 {
28313 return 0;
28314 }
28315 else
28316 {
28317 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28318 gtk_major_version, gtk_minor_version, gtk_micro_version);
28319 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28320 major, minor, micro);
28321 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28322 printf("***\n");
28323 printf("*** If you have already installed a sufficiently new version, this error\n");
28324 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28325 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28326 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28327 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28328 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28329 printf("*** so that the correct libraries are found at run-time))\n");
28330 }
28331 }
28332 return 1;
28333 }
28334
28335 _ACEOF
28336 rm -f conftest$ac_exeext
28337 if { (ac_try="$ac_link"
28338 case "(($ac_try" in
28339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28340 *) ac_try_echo=$ac_try;;
28341 esac
28342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28343 (eval "$ac_link") 2>&5
28344 ac_status=$?
28345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28347 { (case "(($ac_try" in
28348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28349 *) ac_try_echo=$ac_try;;
28350 esac
28351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28352 (eval "$ac_try") 2>&5
28353 ac_status=$?
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 :
28357 else
28358 echo "$as_me: program exited with status $ac_status" >&5
28359 echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.$ac_ext >&5
28361
28362 ( exit $ac_status )
28363 no_gtk=yes
28364 fi
28365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28366 fi
28367
28368
28369 CFLAGS="$ac_save_CFLAGS"
28370 LIBS="$ac_save_LIBS"
28371 fi
28372 fi
28373 if test "x$no_gtk" = x ; then
28374 { echo "$as_me:$LINENO: result: yes" >&5
28375 echo "${ECHO_T}yes" >&6; }
28376 wx_cv_lib_gtk=1.2.7
28377 else
28378 { echo "$as_me:$LINENO: result: no" >&5
28379 echo "${ECHO_T}no" >&6; }
28380 if test "$GTK_CONFIG" = "no" ; then
28381 echo "*** The gtk-config script installed by GTK could not be found"
28382 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28383 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28384 echo "*** full path to gtk-config."
28385 else
28386 if test -f conf.gtktest ; then
28387 :
28388 else
28389 echo "*** Could not run GTK test program, checking why..."
28390 CFLAGS="$CFLAGS $GTK_CFLAGS"
28391 LIBS="$LIBS $GTK_LIBS"
28392 cat >conftest.$ac_ext <<_ACEOF
28393 /* confdefs.h. */
28394 _ACEOF
28395 cat confdefs.h >>conftest.$ac_ext
28396 cat >>conftest.$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28398
28399 #include <gtk/gtk.h>
28400 #include <stdio.h>
28401
28402 int
28403 main ()
28404 {
28405 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28406 ;
28407 return 0;
28408 }
28409 _ACEOF
28410 rm -f conftest.$ac_objext conftest$ac_exeext
28411 if { (ac_try="$ac_link"
28412 case "(($ac_try" in
28413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28414 *) ac_try_echo=$ac_try;;
28415 esac
28416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28417 (eval "$ac_link") 2>conftest.er1
28418 ac_status=$?
28419 grep -v '^ *+' conftest.er1 >conftest.err
28420 rm -f conftest.er1
28421 cat conftest.err >&5
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); } && {
28424 test -z "$ac_c_werror_flag" ||
28425 test ! -s conftest.err
28426 } && test -s conftest$ac_exeext &&
28427 $as_test_x conftest$ac_exeext; then
28428 echo "*** The test program compiled, but did not run. This usually means"
28429 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28430 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28431 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28432 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28433 echo "*** is required on your system"
28434 echo "***"
28435 echo "*** If you have an old version installed, it is best to remove it, although"
28436 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28437 echo "***"
28438 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28439 echo "*** came with the system with the command"
28440 echo "***"
28441 echo "*** rpm --erase --nodeps gtk gtk-devel"
28442 else
28443 echo "$as_me: failed program was:" >&5
28444 sed 's/^/| /' conftest.$ac_ext >&5
28445
28446 echo "*** The test program failed to compile or link. See the file config.log for the"
28447 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28448 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28449 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28450 fi
28451
28452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28453 conftest$ac_exeext conftest.$ac_ext
28454 CFLAGS="$ac_save_CFLAGS"
28455 LIBS="$ac_save_LIBS"
28456 fi
28457 fi
28458 GTK_CFLAGS=""
28459 GTK_LIBS=""
28460 :
28461 fi
28462
28463
28464 rm -f conf.gtktest
28465
28466
28467 if test -z "$wx_cv_lib_gtk"; then
28468
28469 # Check whether --with-gtk-prefix was given.
28470 if test "${with_gtk_prefix+set}" = set; then
28471 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28472 else
28473 gtk_config_prefix=""
28474 fi
28475
28476
28477 # Check whether --with-gtk-exec-prefix was given.
28478 if test "${with_gtk_exec_prefix+set}" = set; then
28479 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28480 else
28481 gtk_config_exec_prefix=""
28482 fi
28483
28484 # Check whether --enable-gtktest was given.
28485 if test "${enable_gtktest+set}" = set; then
28486 enableval=$enable_gtktest;
28487 else
28488 enable_gtktest=yes
28489 fi
28490
28491
28492 for module in . $GTK_MODULES
28493 do
28494 case "$module" in
28495 gthread)
28496 gtk_config_args="$gtk_config_args gthread"
28497 ;;
28498 esac
28499 done
28500
28501 if test x$gtk_config_exec_prefix != x ; then
28502 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28503 if test x${GTK_CONFIG+set} != xset ; then
28504 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28505 fi
28506 fi
28507 if test x$gtk_config_prefix != x ; then
28508 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28509 if test x${GTK_CONFIG+set} != xset ; then
28510 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28511 fi
28512 fi
28513
28514 # Extract the first word of "gtk-config", so it can be a program name with args.
28515 set dummy gtk-config; ac_word=$2
28516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28518 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28519 echo $ECHO_N "(cached) $ECHO_C" >&6
28520 else
28521 case $GTK_CONFIG in
28522 [\\/]* | ?:[\\/]*)
28523 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28524 ;;
28525 *)
28526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28527 for as_dir in $PATH
28528 do
28529 IFS=$as_save_IFS
28530 test -z "$as_dir" && as_dir=.
28531 for ac_exec_ext in '' $ac_executable_extensions; do
28532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28533 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28535 break 2
28536 fi
28537 done
28538 done
28539 IFS=$as_save_IFS
28540
28541 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28542 ;;
28543 esac
28544 fi
28545 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28546 if test -n "$GTK_CONFIG"; then
28547 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28548 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28549 else
28550 { echo "$as_me:$LINENO: result: no" >&5
28551 echo "${ECHO_T}no" >&6; }
28552 fi
28553
28554
28555 min_gtk_version=1.2.3
28556 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28557 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28558 no_gtk=""
28559 if test "$GTK_CONFIG" = "no" ; then
28560 no_gtk=yes
28561 else
28562 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28563 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28564 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28566 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28568 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28570 if test "x$enable_gtktest" = "xyes" ; then
28571 ac_save_CFLAGS="$CFLAGS"
28572 ac_save_LIBS="$LIBS"
28573 CFLAGS="$CFLAGS $GTK_CFLAGS"
28574 LIBS="$GTK_LIBS $LIBS"
28575 rm -f conf.gtktest
28576 if test "$cross_compiling" = yes; then
28577 echo $ac_n "cross compiling; assumed OK... $ac_c"
28578 else
28579 cat >conftest.$ac_ext <<_ACEOF
28580 /* confdefs.h. */
28581 _ACEOF
28582 cat confdefs.h >>conftest.$ac_ext
28583 cat >>conftest.$ac_ext <<_ACEOF
28584 /* end confdefs.h. */
28585
28586 #include <gtk/gtk.h>
28587 #include <stdio.h>
28588 #include <stdlib.h>
28589
28590 int
28591 main ()
28592 {
28593 int major, minor, micro;
28594 char *tmp_version;
28595
28596 system ("touch conf.gtktest");
28597
28598 /* HP/UX 9 (%@#!) writes to sscanf strings */
28599 tmp_version = g_strdup("$min_gtk_version");
28600 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28601 printf("%s, bad version string\n", "$min_gtk_version");
28602 exit(1);
28603 }
28604
28605 if ((gtk_major_version != $gtk_config_major_version) ||
28606 (gtk_minor_version != $gtk_config_minor_version) ||
28607 (gtk_micro_version != $gtk_config_micro_version))
28608 {
28609 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28610 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28611 gtk_major_version, gtk_minor_version, gtk_micro_version);
28612 printf ("*** was found! If gtk-config was correct, then it is best\n");
28613 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28614 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28615 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28616 printf("*** required on your system.\n");
28617 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28618 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28619 printf("*** before re-running configure\n");
28620 }
28621 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28622 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28623 (gtk_minor_version != GTK_MINOR_VERSION) ||
28624 (gtk_micro_version != GTK_MICRO_VERSION))
28625 {
28626 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28627 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28628 printf("*** library (version %d.%d.%d)\n",
28629 gtk_major_version, gtk_minor_version, gtk_micro_version);
28630 }
28631 #endif /* defined (GTK_MAJOR_VERSION) ... */
28632 else
28633 {
28634 if ((gtk_major_version > major) ||
28635 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28636 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28637 {
28638 return 0;
28639 }
28640 else
28641 {
28642 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28643 gtk_major_version, gtk_minor_version, gtk_micro_version);
28644 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28645 major, minor, micro);
28646 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28647 printf("***\n");
28648 printf("*** If you have already installed a sufficiently new version, this error\n");
28649 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28650 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28651 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28652 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28653 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28654 printf("*** so that the correct libraries are found at run-time))\n");
28655 }
28656 }
28657 return 1;
28658 }
28659
28660 _ACEOF
28661 rm -f conftest$ac_exeext
28662 if { (ac_try="$ac_link"
28663 case "(($ac_try" in
28664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28665 *) ac_try_echo=$ac_try;;
28666 esac
28667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28668 (eval "$ac_link") 2>&5
28669 ac_status=$?
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28672 { (case "(($ac_try" in
28673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28674 *) ac_try_echo=$ac_try;;
28675 esac
28676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28677 (eval "$ac_try") 2>&5
28678 ac_status=$?
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); }; }; then
28681 :
28682 else
28683 echo "$as_me: program exited with status $ac_status" >&5
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.$ac_ext >&5
28686
28687 ( exit $ac_status )
28688 no_gtk=yes
28689 fi
28690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28691 fi
28692
28693
28694 CFLAGS="$ac_save_CFLAGS"
28695 LIBS="$ac_save_LIBS"
28696 fi
28697 fi
28698 if test "x$no_gtk" = x ; then
28699 { echo "$as_me:$LINENO: result: yes" >&5
28700 echo "${ECHO_T}yes" >&6; }
28701 wx_cv_lib_gtk=1.2.3
28702 else
28703 { echo "$as_me:$LINENO: result: no" >&5
28704 echo "${ECHO_T}no" >&6; }
28705 if test "$GTK_CONFIG" = "no" ; then
28706 echo "*** The gtk-config script installed by GTK could not be found"
28707 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28708 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28709 echo "*** full path to gtk-config."
28710 else
28711 if test -f conf.gtktest ; then
28712 :
28713 else
28714 echo "*** Could not run GTK test program, checking why..."
28715 CFLAGS="$CFLAGS $GTK_CFLAGS"
28716 LIBS="$LIBS $GTK_LIBS"
28717 cat >conftest.$ac_ext <<_ACEOF
28718 /* confdefs.h. */
28719 _ACEOF
28720 cat confdefs.h >>conftest.$ac_ext
28721 cat >>conftest.$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28723
28724 #include <gtk/gtk.h>
28725 #include <stdio.h>
28726
28727 int
28728 main ()
28729 {
28730 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28731 ;
28732 return 0;
28733 }
28734 _ACEOF
28735 rm -f conftest.$ac_objext conftest$ac_exeext
28736 if { (ac_try="$ac_link"
28737 case "(($ac_try" in
28738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28739 *) ac_try_echo=$ac_try;;
28740 esac
28741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28742 (eval "$ac_link") 2>conftest.er1
28743 ac_status=$?
28744 grep -v '^ *+' conftest.er1 >conftest.err
28745 rm -f conftest.er1
28746 cat conftest.err >&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); } && {
28749 test -z "$ac_c_werror_flag" ||
28750 test ! -s conftest.err
28751 } && test -s conftest$ac_exeext &&
28752 $as_test_x conftest$ac_exeext; then
28753 echo "*** The test program compiled, but did not run. This usually means"
28754 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28755 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28756 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28757 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28758 echo "*** is required on your system"
28759 echo "***"
28760 echo "*** If you have an old version installed, it is best to remove it, although"
28761 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28762 echo "***"
28763 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28764 echo "*** came with the system with the command"
28765 echo "***"
28766 echo "*** rpm --erase --nodeps gtk gtk-devel"
28767 else
28768 echo "$as_me: failed program was:" >&5
28769 sed 's/^/| /' conftest.$ac_ext >&5
28770
28771 echo "*** The test program failed to compile or link. See the file config.log for the"
28772 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28773 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28774 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28775 fi
28776
28777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28778 conftest$ac_exeext conftest.$ac_ext
28779 CFLAGS="$ac_save_CFLAGS"
28780 LIBS="$ac_save_LIBS"
28781 fi
28782 fi
28783 GTK_CFLAGS=""
28784 GTK_LIBS=""
28785 :
28786 fi
28787
28788
28789 rm -f conf.gtktest
28790
28791 fi
28792 fi
28793 fi
28794
28795 if test -z "$wx_cv_lib_gtk"; then
28796 wx_cv_lib_gtk=none
28797 else
28798 wx_cv_cflags_gtk=$GTK_CFLAGS
28799 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28800 fi
28801
28802
28803 fi
28804
28805
28806 if test "$gtk_version_cached" = 1; then
28807 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28808 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28809 fi
28810
28811 case "$wx_cv_lib_gtk" in
28812 2.0) WXGTK2=1
28813 TOOLKIT_VERSION=2
28814 ;;
28815 1.2.7) WXGTK127=1
28816 WXGTK12=1
28817 ;;
28818 1.2.3) WXGTK12=1
28819 ;;
28820 *) { { echo "$as_me:$LINENO: error:
28821 The development files for GTK+ were not found. For GTK+ 2, please
28822 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28823 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28824 and that the version is 1.2.3 or above. Also check that the
28825 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28826 --libs' are in the LD_LIBRARY_PATH or equivalent.
28827 " >&5
28828 echo "$as_me: error:
28829 The development files for GTK+ were not found. For GTK+ 2, please
28830 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28831 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28832 and that the version is 1.2.3 or above. Also check that the
28833 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28834 --libs' are in the LD_LIBRARY_PATH or equivalent.
28835 " >&2;}
28836 { (exit 1); exit 1; }; }
28837 ;;
28838 esac
28839
28840 if test "$WXGTK2" = 1; then
28841 save_CFLAGS="$CFLAGS"
28842 save_LIBS="$LIBS"
28843 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28844 LIBS="$LIBS $wx_cv_libs_gtk"
28845
28846 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28847 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28848 cat >conftest.$ac_ext <<_ACEOF
28849 /* confdefs.h. */
28850 _ACEOF
28851 cat confdefs.h >>conftest.$ac_ext
28852 cat >>conftest.$ac_ext <<_ACEOF
28853 /* end confdefs.h. */
28854
28855 #include <gtk/gtk.h>
28856
28857 int
28858 main ()
28859 {
28860
28861 #if !GTK_CHECK_VERSION(2,10,0)
28862 Not GTK+ 2.10
28863 #endif
28864
28865 ;
28866 return 0;
28867 }
28868 _ACEOF
28869 rm -f conftest.$ac_objext
28870 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
28886
28887 cat >>confdefs.h <<\_ACEOF
28888 #define __WXGTK210__ 1
28889 _ACEOF
28890
28891 cat >>confdefs.h <<\_ACEOF
28892 #define __WXGTK26__ 1
28893 _ACEOF
28894
28895 { echo "$as_me:$LINENO: result: yes" >&5
28896 echo "${ECHO_T}yes" >&6; }
28897 ac_wxgtk210=1
28898
28899 else
28900 echo "$as_me: failed program was:" >&5
28901 sed 's/^/| /' conftest.$ac_ext >&5
28902
28903
28904 { echo "$as_me:$LINENO: result: no" >&5
28905 echo "${ECHO_T}no" >&6; }
28906 ac_wxgtk210=0
28907
28908 fi
28909
28910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28911
28912 if test "$ac_wxgtk210" = 0; then
28913 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28914 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28915 cat >conftest.$ac_ext <<_ACEOF
28916 /* confdefs.h. */
28917 _ACEOF
28918 cat confdefs.h >>conftest.$ac_ext
28919 cat >>conftest.$ac_ext <<_ACEOF
28920 /* end confdefs.h. */
28921
28922 #include <gtk/gtk.h>
28923
28924 int
28925 main ()
28926 {
28927
28928 #if !GTK_CHECK_VERSION(2,6,0)
28929 Not GTK+ 2.6
28930 #endif
28931
28932 ;
28933 return 0;
28934 }
28935 _ACEOF
28936 rm -f conftest.$ac_objext
28937 if { (ac_try="$ac_compile"
28938 case "(($ac_try" in
28939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28940 *) ac_try_echo=$ac_try;;
28941 esac
28942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28943 (eval "$ac_compile") 2>conftest.er1
28944 ac_status=$?
28945 grep -v '^ *+' conftest.er1 >conftest.err
28946 rm -f conftest.er1
28947 cat conftest.err >&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); } && {
28950 test -z "$ac_c_werror_flag" ||
28951 test ! -s conftest.err
28952 } && test -s conftest.$ac_objext; then
28953
28954 cat >>confdefs.h <<\_ACEOF
28955 #define __WXGTK26__ 1
28956 _ACEOF
28957
28958 { echo "$as_me:$LINENO: result: yes" >&5
28959 echo "${ECHO_T}yes" >&6; }
28960 ac_wxgtk26=1
28961
28962 else
28963 echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.$ac_ext >&5
28965
28966
28967 { echo "$as_me:$LINENO: result: no" >&5
28968 echo "${ECHO_T}no" >&6; }
28969 ac_wxgtk26=0
28970
28971 fi
28972
28973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28974 fi
28975
28976 CFLAGS="$save_CFLAGS"
28977 LIBS="$save_LIBS"
28978 else
28979 if test "$wxUSE_UNICODE" = "yes"; then
28980 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28981 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28982 wxUSE_UNICODE=no
28983 fi
28984
28985 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28986 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28987 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28988 echo $ECHO_N "(cached) $ECHO_C" >&6
28989 else
28990 ac_check_lib_save_LIBS=$LIBS
28991 LIBS="-lgdk $LIBS"
28992 cat >conftest.$ac_ext <<_ACEOF
28993 /* confdefs.h. */
28994 _ACEOF
28995 cat confdefs.h >>conftest.$ac_ext
28996 cat >>conftest.$ac_ext <<_ACEOF
28997 /* end confdefs.h. */
28998
28999 /* Override any GCC internal prototype to avoid an error.
29000 Use char because int might match the return type of a GCC
29001 builtin and then its argument prototype would still apply. */
29002 #ifdef __cplusplus
29003 extern "C"
29004 #endif
29005 char gdk_im_open ();
29006 int
29007 main ()
29008 {
29009 return gdk_im_open ();
29010 ;
29011 return 0;
29012 }
29013 _ACEOF
29014 rm -f conftest.$ac_objext conftest$ac_exeext
29015 if { (ac_try="$ac_link"
29016 case "(($ac_try" in
29017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29018 *) ac_try_echo=$ac_try;;
29019 esac
29020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29021 (eval "$ac_link") 2>conftest.er1
29022 ac_status=$?
29023 grep -v '^ *+' conftest.er1 >conftest.err
29024 rm -f conftest.er1
29025 cat conftest.err >&5
29026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29027 (exit $ac_status); } && {
29028 test -z "$ac_c_werror_flag" ||
29029 test ! -s conftest.err
29030 } && test -s conftest$ac_exeext &&
29031 $as_test_x conftest$ac_exeext; then
29032 ac_cv_lib_gdk_gdk_im_open=yes
29033 else
29034 echo "$as_me: failed program was:" >&5
29035 sed 's/^/| /' conftest.$ac_ext >&5
29036
29037 ac_cv_lib_gdk_gdk_im_open=no
29038 fi
29039
29040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29041 conftest$ac_exeext conftest.$ac_ext
29042 LIBS=$ac_check_lib_save_LIBS
29043 fi
29044 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29045 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29046 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29047 cat >>confdefs.h <<\_ACEOF
29048 #define HAVE_XIM 1
29049 _ACEOF
29050
29051 fi
29052
29053
29054 if test "$USE_DARWIN" != 1; then
29055
29056 for ac_func in poll
29057 do
29058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29062 echo $ECHO_N "(cached) $ECHO_C" >&6
29063 else
29064 cat >conftest.$ac_ext <<_ACEOF
29065 /* confdefs.h. */
29066 _ACEOF
29067 cat confdefs.h >>conftest.$ac_ext
29068 cat >>conftest.$ac_ext <<_ACEOF
29069 /* end confdefs.h. */
29070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29072 #define $ac_func innocuous_$ac_func
29073
29074 /* System header to define __stub macros and hopefully few prototypes,
29075 which can conflict with char $ac_func (); below.
29076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29077 <limits.h> exists even on freestanding compilers. */
29078
29079 #ifdef __STDC__
29080 # include <limits.h>
29081 #else
29082 # include <assert.h>
29083 #endif
29084
29085 #undef $ac_func
29086
29087 /* Override any GCC internal prototype to avoid an error.
29088 Use char because int might match the return type of a GCC
29089 builtin and then its argument prototype would still apply. */
29090 #ifdef __cplusplus
29091 extern "C"
29092 #endif
29093 char $ac_func ();
29094 /* The GNU C library defines this for functions which it implements
29095 to always fail with ENOSYS. Some functions are actually named
29096 something starting with __ and the normal name is an alias. */
29097 #if defined __stub_$ac_func || defined __stub___$ac_func
29098 choke me
29099 #endif
29100
29101 int
29102 main ()
29103 {
29104 return $ac_func ();
29105 ;
29106 return 0;
29107 }
29108 _ACEOF
29109 rm -f conftest.$ac_objext conftest$ac_exeext
29110 if { (ac_try="$ac_link"
29111 case "(($ac_try" in
29112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29113 *) ac_try_echo=$ac_try;;
29114 esac
29115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29116 (eval "$ac_link") 2>conftest.er1
29117 ac_status=$?
29118 grep -v '^ *+' conftest.er1 >conftest.err
29119 rm -f conftest.er1
29120 cat conftest.err >&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } && {
29123 test -z "$ac_c_werror_flag" ||
29124 test ! -s conftest.err
29125 } && test -s conftest$ac_exeext &&
29126 $as_test_x conftest$ac_exeext; then
29127 eval "$as_ac_var=yes"
29128 else
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.$ac_ext >&5
29131
29132 eval "$as_ac_var=no"
29133 fi
29134
29135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29136 conftest$ac_exeext conftest.$ac_ext
29137 fi
29138 ac_res=`eval echo '${'$as_ac_var'}'`
29139 { echo "$as_me:$LINENO: result: $ac_res" >&5
29140 echo "${ECHO_T}$ac_res" >&6; }
29141 if test `eval echo '${'$as_ac_var'}'` = yes; then
29142 cat >>confdefs.h <<_ACEOF
29143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29144 _ACEOF
29145
29146 fi
29147 done
29148
29149 fi
29150 fi
29151
29152 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29153 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29154
29155 AFMINSTALL=afminstall
29156 TOOLKIT=GTK
29157 GUIDIST=GTK_DIST
29158
29159 if test "$wxUSE_GPE" = "yes"; then
29160 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29161 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29162
29163 ac_find_libraries=
29164 for ac_dir in $SEARCH_LIB;
29165 do
29166 for ac_extension in a so sl dylib dll.a; do
29167 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29168 ac_find_libraries=$ac_dir
29169 break 2
29170 fi
29171 done
29172 done
29173
29174 if test "$ac_find_libraries" != "" ; then
29175
29176 if test "$ac_find_libraries" = "default location"; then
29177 ac_path_to_link=""
29178 else
29179 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29180 result=$?
29181 if test $result = 0; then
29182 ac_path_to_link=""
29183 else
29184 ac_path_to_link=" -L$ac_find_libraries"
29185 fi
29186 fi
29187
29188 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29189 WXGPE=1
29190 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29191 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29192 else
29193 { echo "$as_me:$LINENO: result: not found" >&5
29194 echo "${ECHO_T}not found" >&6; }
29195 fi
29196
29197 fi
29198 fi
29199
29200 if test "$wxUSE_MGL" = 1; then
29201 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29202 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29203 if test "x$MGL_ROOT" = x ; then
29204 { echo "$as_me:$LINENO: result: not found" >&5
29205 echo "${ECHO_T}not found" >&6; }
29206 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29207 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29208 { (exit 1); exit 1; }; }
29209 else
29210 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29211 echo "${ECHO_T}$MGL_ROOT" >&6; }
29212 fi
29213
29214 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29215 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29216 case "${host}" in
29217 *-*-linux* )
29218 if test "x$wxUSE_SHARED" = xyes ; then
29219 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29220 else
29221 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29222 fi
29223 ;;
29224 *-pc-msdosdjgpp )
29225 mgl_os_candidates="dos32/dj2"
29226 ;;
29227 *)
29228 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29229 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29230 { (exit 1); exit 1; }; }
29231 esac
29232
29233 mgl_lib_type=""
29234 mgl_os=""
29235
29236 for mgl_os_i in $mgl_os_candidates ; do
29237 if test "x$mgl_os" = x ; then
29238 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29239 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29240 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29241 mgl_lib_type=debug
29242 mgl_os=$mgl_os_i
29243 fi
29244 fi
29245 if test "x$mgl_lib_type" = x ; then
29246 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29247 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29248 mgl_lib_type=release
29249 mgl_os=$mgl_os_i
29250 fi
29251 fi
29252 fi
29253 done
29254
29255 if test "x$mgl_os" = x ; then
29256 { echo "$as_me:$LINENO: result: not found" >&5
29257 echo "${ECHO_T}not found" >&6; }
29258 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29259 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29260 { (exit 1); exit 1; }; }
29261 fi
29262 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29263 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29264
29265 wxUSE_UNIVERSAL="yes"
29266
29267 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29268 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29269
29270 AFMINSTALL=afminstall
29271 TOOLKIT=MGL
29272 GUIDIST=MGL_DIST
29273 fi
29274
29275 if test "$wxUSE_DFB" = 1; then
29276
29277
29278 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29279 if test -n "$ac_tool_prefix"; then
29280 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29281 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29284 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287 case $PKG_CONFIG in
29288 [\\/]* | ?:[\\/]*)
29289 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29290 ;;
29291 *)
29292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29293 for as_dir in $PATH
29294 do
29295 IFS=$as_save_IFS
29296 test -z "$as_dir" && as_dir=.
29297 for ac_exec_ext in '' $ac_executable_extensions; do
29298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29299 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29301 break 2
29302 fi
29303 done
29304 done
29305 IFS=$as_save_IFS
29306
29307 ;;
29308 esac
29309 fi
29310 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29311 if test -n "$PKG_CONFIG"; then
29312 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29313 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29314 else
29315 { echo "$as_me:$LINENO: result: no" >&5
29316 echo "${ECHO_T}no" >&6; }
29317 fi
29318
29319
29320 fi
29321 if test -z "$ac_cv_path_PKG_CONFIG"; then
29322 ac_pt_PKG_CONFIG=$PKG_CONFIG
29323 # Extract the first word of "pkg-config", so it can be a program name with args.
29324 set dummy pkg-config; ac_word=$2
29325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29327 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29329 else
29330 case $ac_pt_PKG_CONFIG in
29331 [\\/]* | ?:[\\/]*)
29332 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29333 ;;
29334 *)
29335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29336 for as_dir in $PATH
29337 do
29338 IFS=$as_save_IFS
29339 test -z "$as_dir" && as_dir=.
29340 for ac_exec_ext in '' $ac_executable_extensions; do
29341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29342 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29344 break 2
29345 fi
29346 done
29347 done
29348 IFS=$as_save_IFS
29349
29350 ;;
29351 esac
29352 fi
29353 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29354 if test -n "$ac_pt_PKG_CONFIG"; then
29355 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29356 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29357 else
29358 { echo "$as_me:$LINENO: result: no" >&5
29359 echo "${ECHO_T}no" >&6; }
29360 fi
29361
29362 if test "x$ac_pt_PKG_CONFIG" = x; then
29363 PKG_CONFIG=""
29364 else
29365 case $cross_compiling:$ac_tool_warned in
29366 yes:)
29367 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29368 whose name does not start with the host triplet. If you think this
29369 configuration is useful to you, please write to autoconf@gnu.org." >&5
29370 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29371 whose name does not start with the host triplet. If you think this
29372 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29373 ac_tool_warned=yes ;;
29374 esac
29375 PKG_CONFIG=$ac_pt_PKG_CONFIG
29376 fi
29377 else
29378 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29379 fi
29380
29381 fi
29382 if test -n "$PKG_CONFIG"; then
29383 _pkg_min_version=0.9.0
29384 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29385 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29386 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29387 { echo "$as_me:$LINENO: result: yes" >&5
29388 echo "${ECHO_T}yes" >&6; }
29389 else
29390 { echo "$as_me:$LINENO: result: no" >&5
29391 echo "${ECHO_T}no" >&6; }
29392 PKG_CONFIG=""
29393 fi
29394
29395 fi
29396
29397
29398 pkg_failed=no
29399 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29400 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29401
29402 if test -n "$PKG_CONFIG"; then
29403 if test -n "$DIRECTFB_CFLAGS"; then
29404 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29405 else
29406 if test -n "$PKG_CONFIG" && \
29407 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29408 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29409 ac_status=$?
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); }; then
29412 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29413 else
29414 pkg_failed=yes
29415 fi
29416 fi
29417 else
29418 pkg_failed=untried
29419 fi
29420 if test -n "$PKG_CONFIG"; then
29421 if test -n "$DIRECTFB_LIBS"; then
29422 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29423 else
29424 if test -n "$PKG_CONFIG" && \
29425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29426 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29427 ac_status=$?
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); }; then
29430 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29431 else
29432 pkg_failed=yes
29433 fi
29434 fi
29435 else
29436 pkg_failed=untried
29437 fi
29438
29439
29440
29441 if test $pkg_failed = yes; then
29442
29443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29444 _pkg_short_errors_supported=yes
29445 else
29446 _pkg_short_errors_supported=no
29447 fi
29448 if test $_pkg_short_errors_supported = yes; then
29449 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29450 else
29451 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29452 fi
29453 # Put the nasty error message in config.log where it belongs
29454 echo "$DIRECTFB_PKG_ERRORS" >&5
29455
29456
29457 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29458 echo "$as_me: error: DirectFB not found." >&2;}
29459 { (exit 1); exit 1; }; }
29460
29461
29462 elif test $pkg_failed = untried; then
29463
29464 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29465 echo "$as_me: error: DirectFB not found." >&2;}
29466 { (exit 1); exit 1; }; }
29467
29468
29469 else
29470 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29471 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29472 { echo "$as_me:$LINENO: result: yes" >&5
29473 echo "${ECHO_T}yes" >&6; }
29474
29475 wxUSE_UNIVERSAL="yes"
29476 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29477 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29478 TOOLKIT=DFB
29479 GUIDIST=DFB_DIST
29480
29481 fi
29482 fi
29483
29484 if test "$wxUSE_MICROWIN" = 1; then
29485 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29486 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29487 if test "x$MICROWINDOWS" = x ; then
29488 { echo "$as_me:$LINENO: result: not found" >&5
29489 echo "${ECHO_T}not found" >&6; }
29490 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29491 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29492 { (exit 1); exit 1; }; }
29493 else
29494 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29495 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29496 fi
29497
29498 if test -f $MICROWINDOWS/lib/libmwin.a; then
29499 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29500 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29501 else
29502 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29503 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29504 { (exit 1); exit 1; }; }
29505 fi
29506
29507 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29508 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29509
29510 wxUSE_UNIVERSAL="yes"
29511
29512 AFMINSTALL=afminstall
29513 TOOLKIT=MICROWIN
29514 GUIDIST=MICROWIN_DIST
29515
29516 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29517 fi
29518
29519 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29520 { echo "$as_me:$LINENO: checking for X" >&5
29521 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29522
29523
29524 # Check whether --with-x was given.
29525 if test "${with_x+set}" = set; then
29526 withval=$with_x;
29527 fi
29528
29529 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29530 if test "x$with_x" = xno; then
29531 # The user explicitly disabled X.
29532 have_x=disabled
29533 else
29534 case $x_includes,$x_libraries in #(
29535 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29536 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29537 { (exit 1); exit 1; }; };; #(
29538 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29539 echo $ECHO_N "(cached) $ECHO_C" >&6
29540 else
29541 # One or both of the vars are not set, and there is no cached value.
29542 ac_x_includes=no ac_x_libraries=no
29543 rm -f -r conftest.dir
29544 if mkdir conftest.dir; then
29545 cd conftest.dir
29546 cat >Imakefile <<'_ACEOF'
29547 incroot:
29548 @echo incroot='${INCROOT}'
29549 usrlibdir:
29550 @echo usrlibdir='${USRLIBDIR}'
29551 libdir:
29552 @echo libdir='${LIBDIR}'
29553 _ACEOF
29554 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29555 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29556 for ac_var in incroot usrlibdir libdir; do
29557 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29558 done
29559 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29560 for ac_extension in a so sl; do
29561 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29562 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29563 ac_im_usrlibdir=$ac_im_libdir; break
29564 fi
29565 done
29566 # Screen out bogus values from the imake configuration. They are
29567 # bogus both because they are the default anyway, and because
29568 # using them would break gcc on systems where it needs fixed includes.
29569 case $ac_im_incroot in
29570 /usr/include) ac_x_includes= ;;
29571 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29572 esac
29573 case $ac_im_usrlibdir in
29574 /usr/lib | /lib) ;;
29575 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29576 esac
29577 fi
29578 cd ..
29579 rm -f -r conftest.dir
29580 fi
29581
29582 # Standard set of common directories for X headers.
29583 # Check X11 before X11Rn because it is often a symlink to the current release.
29584 ac_x_header_dirs='
29585 /usr/X11/include
29586 /usr/X11R6/include
29587 /usr/X11R5/include
29588 /usr/X11R4/include
29589
29590 /usr/include/X11
29591 /usr/include/X11R6
29592 /usr/include/X11R5
29593 /usr/include/X11R4
29594
29595 /usr/local/X11/include
29596 /usr/local/X11R6/include
29597 /usr/local/X11R5/include
29598 /usr/local/X11R4/include
29599
29600 /usr/local/include/X11
29601 /usr/local/include/X11R6
29602 /usr/local/include/X11R5
29603 /usr/local/include/X11R4
29604
29605 /usr/X386/include
29606 /usr/x386/include
29607 /usr/XFree86/include/X11
29608
29609 /usr/include
29610 /usr/local/include
29611 /usr/unsupported/include
29612 /usr/athena/include
29613 /usr/local/x11r5/include
29614 /usr/lpp/Xamples/include
29615
29616 /usr/openwin/include
29617 /usr/openwin/share/include'
29618
29619 if test "$ac_x_includes" = no; then
29620 # Guess where to find include files, by looking for Xlib.h.
29621 # First, try using that file with no special directory specified.
29622 cat >conftest.$ac_ext <<_ACEOF
29623 /* confdefs.h. */
29624 _ACEOF
29625 cat confdefs.h >>conftest.$ac_ext
29626 cat >>conftest.$ac_ext <<_ACEOF
29627 /* end confdefs.h. */
29628 #include <X11/Xlib.h>
29629 _ACEOF
29630 if { (ac_try="$ac_cpp conftest.$ac_ext"
29631 case "(($ac_try" in
29632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29633 *) ac_try_echo=$ac_try;;
29634 esac
29635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29637 ac_status=$?
29638 grep -v '^ *+' conftest.er1 >conftest.err
29639 rm -f conftest.er1
29640 cat conftest.err >&5
29641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642 (exit $ac_status); } >/dev/null && {
29643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29644 test ! -s conftest.err
29645 }; then
29646 # We can compile using X headers with no special include directory.
29647 ac_x_includes=
29648 else
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.$ac_ext >&5
29651
29652 for ac_dir in $ac_x_header_dirs; do
29653 if test -r "$ac_dir/X11/Xlib.h"; then
29654 ac_x_includes=$ac_dir
29655 break
29656 fi
29657 done
29658 fi
29659
29660 rm -f conftest.err conftest.$ac_ext
29661 fi # $ac_x_includes = no
29662
29663 if test "$ac_x_libraries" = no; then
29664 # Check for the libraries.
29665 # See if we find them without any special options.
29666 # Don't add to $LIBS permanently.
29667 ac_save_LIBS=$LIBS
29668 LIBS="-lX11 $LIBS"
29669 cat >conftest.$ac_ext <<_ACEOF
29670 /* confdefs.h. */
29671 _ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29675 #include <X11/Xlib.h>
29676 int
29677 main ()
29678 {
29679 XrmInitialize ()
29680 ;
29681 return 0;
29682 }
29683 _ACEOF
29684 rm -f conftest.$ac_objext conftest$ac_exeext
29685 if { (ac_try="$ac_link"
29686 case "(($ac_try" in
29687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29688 *) ac_try_echo=$ac_try;;
29689 esac
29690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29691 (eval "$ac_link") 2>conftest.er1
29692 ac_status=$?
29693 grep -v '^ *+' conftest.er1 >conftest.err
29694 rm -f conftest.er1
29695 cat conftest.err >&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); } && {
29698 test -z "$ac_c_werror_flag" ||
29699 test ! -s conftest.err
29700 } && test -s conftest$ac_exeext &&
29701 $as_test_x conftest$ac_exeext; then
29702 LIBS=$ac_save_LIBS
29703 # We can link X programs with no special library path.
29704 ac_x_libraries=
29705 else
29706 echo "$as_me: failed program was:" >&5
29707 sed 's/^/| /' conftest.$ac_ext >&5
29708
29709 LIBS=$ac_save_LIBS
29710 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29711 do
29712 # Don't even attempt the hair of trying to link an X program!
29713 for ac_extension in a so sl; do
29714 if test -r "$ac_dir/libX11.$ac_extension"; then
29715 ac_x_libraries=$ac_dir
29716 break 2
29717 fi
29718 done
29719 done
29720 fi
29721
29722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29723 conftest$ac_exeext conftest.$ac_ext
29724 fi # $ac_x_libraries = no
29725
29726 case $ac_x_includes,$ac_x_libraries in #(
29727 no,* | *,no | *\'*)
29728 # Didn't find X, or a directory has "'" in its name.
29729 ac_cv_have_x="have_x=no";; #(
29730 *)
29731 # Record where we found X for the cache.
29732 ac_cv_have_x="have_x=yes\
29733 ac_x_includes='$ac_x_includes'\
29734 ac_x_libraries='$ac_x_libraries'"
29735 esac
29736 fi
29737 ;; #(
29738 *) have_x=yes;;
29739 esac
29740 eval "$ac_cv_have_x"
29741 fi # $with_x != no
29742
29743 if test "$have_x" != yes; then
29744 { echo "$as_me:$LINENO: result: $have_x" >&5
29745 echo "${ECHO_T}$have_x" >&6; }
29746 no_x=yes
29747 else
29748 # If each of the values was on the command line, it overrides each guess.
29749 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29750 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29751 # Update the cache value to reflect the command line values.
29752 ac_cv_have_x="have_x=yes\
29753 ac_x_includes='$x_includes'\
29754 ac_x_libraries='$x_libraries'"
29755 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29756 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29757 fi
29758
29759 if test "$no_x" = yes; then
29760 # Not all programs may use this symbol, but it does not hurt to define it.
29761
29762 cat >>confdefs.h <<\_ACEOF
29763 #define X_DISPLAY_MISSING 1
29764 _ACEOF
29765
29766 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29767 else
29768 if test -n "$x_includes"; then
29769 X_CFLAGS="$X_CFLAGS -I$x_includes"
29770 fi
29771
29772 # It would also be nice to do this for all -L options, not just this one.
29773 if test -n "$x_libraries"; then
29774 X_LIBS="$X_LIBS -L$x_libraries"
29775 # For Solaris; some versions of Sun CC require a space after -R and
29776 # others require no space. Words are not sufficient . . . .
29777 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29778 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29779 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29780 ac_xsave_c_werror_flag=$ac_c_werror_flag
29781 ac_c_werror_flag=yes
29782 cat >conftest.$ac_ext <<_ACEOF
29783 /* confdefs.h. */
29784 _ACEOF
29785 cat confdefs.h >>conftest.$ac_ext
29786 cat >>conftest.$ac_ext <<_ACEOF
29787 /* end confdefs.h. */
29788
29789 int
29790 main ()
29791 {
29792
29793 ;
29794 return 0;
29795 }
29796 _ACEOF
29797 rm -f conftest.$ac_objext conftest$ac_exeext
29798 if { (ac_try="$ac_link"
29799 case "(($ac_try" in
29800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29801 *) ac_try_echo=$ac_try;;
29802 esac
29803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29804 (eval "$ac_link") 2>conftest.er1
29805 ac_status=$?
29806 grep -v '^ *+' conftest.er1 >conftest.err
29807 rm -f conftest.er1
29808 cat conftest.err >&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); } && {
29811 test -z "$ac_c_werror_flag" ||
29812 test ! -s conftest.err
29813 } && test -s conftest$ac_exeext &&
29814 $as_test_x conftest$ac_exeext; then
29815 { echo "$as_me:$LINENO: result: no" >&5
29816 echo "${ECHO_T}no" >&6; }
29817 X_LIBS="$X_LIBS -R$x_libraries"
29818 else
29819 echo "$as_me: failed program was:" >&5
29820 sed 's/^/| /' conftest.$ac_ext >&5
29821
29822 LIBS="$ac_xsave_LIBS -R $x_libraries"
29823 cat >conftest.$ac_ext <<_ACEOF
29824 /* confdefs.h. */
29825 _ACEOF
29826 cat confdefs.h >>conftest.$ac_ext
29827 cat >>conftest.$ac_ext <<_ACEOF
29828 /* end confdefs.h. */
29829
29830 int
29831 main ()
29832 {
29833
29834 ;
29835 return 0;
29836 }
29837 _ACEOF
29838 rm -f conftest.$ac_objext conftest$ac_exeext
29839 if { (ac_try="$ac_link"
29840 case "(($ac_try" in
29841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29842 *) ac_try_echo=$ac_try;;
29843 esac
29844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29845 (eval "$ac_link") 2>conftest.er1
29846 ac_status=$?
29847 grep -v '^ *+' conftest.er1 >conftest.err
29848 rm -f conftest.er1
29849 cat conftest.err >&5
29850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29851 (exit $ac_status); } && {
29852 test -z "$ac_c_werror_flag" ||
29853 test ! -s conftest.err
29854 } && test -s conftest$ac_exeext &&
29855 $as_test_x conftest$ac_exeext; then
29856 { echo "$as_me:$LINENO: result: yes" >&5
29857 echo "${ECHO_T}yes" >&6; }
29858 X_LIBS="$X_LIBS -R $x_libraries"
29859 else
29860 echo "$as_me: failed program was:" >&5
29861 sed 's/^/| /' conftest.$ac_ext >&5
29862
29863 { echo "$as_me:$LINENO: result: neither works" >&5
29864 echo "${ECHO_T}neither works" >&6; }
29865 fi
29866
29867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29868 conftest$ac_exeext conftest.$ac_ext
29869 fi
29870
29871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29872 conftest$ac_exeext conftest.$ac_ext
29873 ac_c_werror_flag=$ac_xsave_c_werror_flag
29874 LIBS=$ac_xsave_LIBS
29875 fi
29876
29877 # Check for system-dependent libraries X programs must link with.
29878 # Do this before checking for the system-independent R6 libraries
29879 # (-lICE), since we may need -lsocket or whatever for X linking.
29880
29881 if test "$ISC" = yes; then
29882 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29883 else
29884 # Martyn Johnson says this is needed for Ultrix, if the X
29885 # libraries were built with DECnet support. And Karl Berry says
29886 # the Alpha needs dnet_stub (dnet does not exist).
29887 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29888 cat >conftest.$ac_ext <<_ACEOF
29889 /* confdefs.h. */
29890 _ACEOF
29891 cat confdefs.h >>conftest.$ac_ext
29892 cat >>conftest.$ac_ext <<_ACEOF
29893 /* end confdefs.h. */
29894
29895 /* Override any GCC internal prototype to avoid an error.
29896 Use char because int might match the return type of a GCC
29897 builtin and then its argument prototype would still apply. */
29898 #ifdef __cplusplus
29899 extern "C"
29900 #endif
29901 char XOpenDisplay ();
29902 int
29903 main ()
29904 {
29905 return XOpenDisplay ();
29906 ;
29907 return 0;
29908 }
29909 _ACEOF
29910 rm -f conftest.$ac_objext conftest$ac_exeext
29911 if { (ac_try="$ac_link"
29912 case "(($ac_try" in
29913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29914 *) ac_try_echo=$ac_try;;
29915 esac
29916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29917 (eval "$ac_link") 2>conftest.er1
29918 ac_status=$?
29919 grep -v '^ *+' conftest.er1 >conftest.err
29920 rm -f conftest.er1
29921 cat conftest.err >&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); } && {
29924 test -z "$ac_c_werror_flag" ||
29925 test ! -s conftest.err
29926 } && test -s conftest$ac_exeext &&
29927 $as_test_x conftest$ac_exeext; then
29928 :
29929 else
29930 echo "$as_me: failed program was:" >&5
29931 sed 's/^/| /' conftest.$ac_ext >&5
29932
29933 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29934 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29935 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29936 echo $ECHO_N "(cached) $ECHO_C" >&6
29937 else
29938 ac_check_lib_save_LIBS=$LIBS
29939 LIBS="-ldnet $LIBS"
29940 cat >conftest.$ac_ext <<_ACEOF
29941 /* confdefs.h. */
29942 _ACEOF
29943 cat confdefs.h >>conftest.$ac_ext
29944 cat >>conftest.$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29946
29947 /* Override any GCC internal prototype to avoid an error.
29948 Use char because int might match the return type of a GCC
29949 builtin and then its argument prototype would still apply. */
29950 #ifdef __cplusplus
29951 extern "C"
29952 #endif
29953 char dnet_ntoa ();
29954 int
29955 main ()
29956 {
29957 return dnet_ntoa ();
29958 ;
29959 return 0;
29960 }
29961 _ACEOF
29962 rm -f conftest.$ac_objext conftest$ac_exeext
29963 if { (ac_try="$ac_link"
29964 case "(($ac_try" in
29965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29966 *) ac_try_echo=$ac_try;;
29967 esac
29968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29969 (eval "$ac_link") 2>conftest.er1
29970 ac_status=$?
29971 grep -v '^ *+' conftest.er1 >conftest.err
29972 rm -f conftest.er1
29973 cat conftest.err >&5
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); } && {
29976 test -z "$ac_c_werror_flag" ||
29977 test ! -s conftest.err
29978 } && test -s conftest$ac_exeext &&
29979 $as_test_x conftest$ac_exeext; then
29980 ac_cv_lib_dnet_dnet_ntoa=yes
29981 else
29982 echo "$as_me: failed program was:" >&5
29983 sed 's/^/| /' conftest.$ac_ext >&5
29984
29985 ac_cv_lib_dnet_dnet_ntoa=no
29986 fi
29987
29988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29989 conftest$ac_exeext conftest.$ac_ext
29990 LIBS=$ac_check_lib_save_LIBS
29991 fi
29992 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29993 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29994 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29995 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29996 fi
29997
29998 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29999 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30000 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30001 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30002 echo $ECHO_N "(cached) $ECHO_C" >&6
30003 else
30004 ac_check_lib_save_LIBS=$LIBS
30005 LIBS="-ldnet_stub $LIBS"
30006 cat >conftest.$ac_ext <<_ACEOF
30007 /* confdefs.h. */
30008 _ACEOF
30009 cat confdefs.h >>conftest.$ac_ext
30010 cat >>conftest.$ac_ext <<_ACEOF
30011 /* end confdefs.h. */
30012
30013 /* Override any GCC internal prototype to avoid an error.
30014 Use char because int might match the return type of a GCC
30015 builtin and then its argument prototype would still apply. */
30016 #ifdef __cplusplus
30017 extern "C"
30018 #endif
30019 char dnet_ntoa ();
30020 int
30021 main ()
30022 {
30023 return dnet_ntoa ();
30024 ;
30025 return 0;
30026 }
30027 _ACEOF
30028 rm -f conftest.$ac_objext conftest$ac_exeext
30029 if { (ac_try="$ac_link"
30030 case "(($ac_try" in
30031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30032 *) ac_try_echo=$ac_try;;
30033 esac
30034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30035 (eval "$ac_link") 2>conftest.er1
30036 ac_status=$?
30037 grep -v '^ *+' conftest.er1 >conftest.err
30038 rm -f conftest.er1
30039 cat conftest.err >&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); } && {
30042 test -z "$ac_c_werror_flag" ||
30043 test ! -s conftest.err
30044 } && test -s conftest$ac_exeext &&
30045 $as_test_x conftest$ac_exeext; then
30046 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30047 else
30048 echo "$as_me: failed program was:" >&5
30049 sed 's/^/| /' conftest.$ac_ext >&5
30050
30051 ac_cv_lib_dnet_stub_dnet_ntoa=no
30052 fi
30053
30054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30055 conftest$ac_exeext conftest.$ac_ext
30056 LIBS=$ac_check_lib_save_LIBS
30057 fi
30058 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30059 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30060 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30061 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30062 fi
30063
30064 fi
30065 fi
30066
30067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30068 conftest$ac_exeext conftest.$ac_ext
30069 LIBS="$ac_xsave_LIBS"
30070
30071 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30072 # to get the SysV transport functions.
30073 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30074 # needs -lnsl.
30075 # The nsl library prevents programs from opening the X display
30076 # on Irix 5.2, according to T.E. Dickey.
30077 # The functions gethostbyname, getservbyname, and inet_addr are
30078 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30079 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30080 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30081 if test "${ac_cv_func_gethostbyname+set}" = set; then
30082 echo $ECHO_N "(cached) $ECHO_C" >&6
30083 else
30084 cat >conftest.$ac_ext <<_ACEOF
30085 /* confdefs.h. */
30086 _ACEOF
30087 cat confdefs.h >>conftest.$ac_ext
30088 cat >>conftest.$ac_ext <<_ACEOF
30089 /* end confdefs.h. */
30090 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30092 #define gethostbyname innocuous_gethostbyname
30093
30094 /* System header to define __stub macros and hopefully few prototypes,
30095 which can conflict with char gethostbyname (); below.
30096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30097 <limits.h> exists even on freestanding compilers. */
30098
30099 #ifdef __STDC__
30100 # include <limits.h>
30101 #else
30102 # include <assert.h>
30103 #endif
30104
30105 #undef gethostbyname
30106
30107 /* Override any GCC internal prototype to avoid an error.
30108 Use char because int might match the return type of a GCC
30109 builtin and then its argument prototype would still apply. */
30110 #ifdef __cplusplus
30111 extern "C"
30112 #endif
30113 char gethostbyname ();
30114 /* The GNU C library defines this for functions which it implements
30115 to always fail with ENOSYS. Some functions are actually named
30116 something starting with __ and the normal name is an alias. */
30117 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30118 choke me
30119 #endif
30120
30121 int
30122 main ()
30123 {
30124 return gethostbyname ();
30125 ;
30126 return 0;
30127 }
30128 _ACEOF
30129 rm -f conftest.$ac_objext conftest$ac_exeext
30130 if { (ac_try="$ac_link"
30131 case "(($ac_try" in
30132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30133 *) ac_try_echo=$ac_try;;
30134 esac
30135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30136 (eval "$ac_link") 2>conftest.er1
30137 ac_status=$?
30138 grep -v '^ *+' conftest.er1 >conftest.err
30139 rm -f conftest.er1
30140 cat conftest.err >&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } && {
30143 test -z "$ac_c_werror_flag" ||
30144 test ! -s conftest.err
30145 } && test -s conftest$ac_exeext &&
30146 $as_test_x conftest$ac_exeext; then
30147 ac_cv_func_gethostbyname=yes
30148 else
30149 echo "$as_me: failed program was:" >&5
30150 sed 's/^/| /' conftest.$ac_ext >&5
30151
30152 ac_cv_func_gethostbyname=no
30153 fi
30154
30155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30156 conftest$ac_exeext conftest.$ac_ext
30157 fi
30158 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30159 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30160
30161 if test $ac_cv_func_gethostbyname = no; then
30162 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30163 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30164 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30165 echo $ECHO_N "(cached) $ECHO_C" >&6
30166 else
30167 ac_check_lib_save_LIBS=$LIBS
30168 LIBS="-lnsl $LIBS"
30169 cat >conftest.$ac_ext <<_ACEOF
30170 /* confdefs.h. */
30171 _ACEOF
30172 cat confdefs.h >>conftest.$ac_ext
30173 cat >>conftest.$ac_ext <<_ACEOF
30174 /* end confdefs.h. */
30175
30176 /* Override any GCC internal prototype to avoid an error.
30177 Use char because int might match the return type of a GCC
30178 builtin and then its argument prototype would still apply. */
30179 #ifdef __cplusplus
30180 extern "C"
30181 #endif
30182 char gethostbyname ();
30183 int
30184 main ()
30185 {
30186 return gethostbyname ();
30187 ;
30188 return 0;
30189 }
30190 _ACEOF
30191 rm -f conftest.$ac_objext conftest$ac_exeext
30192 if { (ac_try="$ac_link"
30193 case "(($ac_try" in
30194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30195 *) ac_try_echo=$ac_try;;
30196 esac
30197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30198 (eval "$ac_link") 2>conftest.er1
30199 ac_status=$?
30200 grep -v '^ *+' conftest.er1 >conftest.err
30201 rm -f conftest.er1
30202 cat conftest.err >&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } && {
30205 test -z "$ac_c_werror_flag" ||
30206 test ! -s conftest.err
30207 } && test -s conftest$ac_exeext &&
30208 $as_test_x conftest$ac_exeext; then
30209 ac_cv_lib_nsl_gethostbyname=yes
30210 else
30211 echo "$as_me: failed program was:" >&5
30212 sed 's/^/| /' conftest.$ac_ext >&5
30213
30214 ac_cv_lib_nsl_gethostbyname=no
30215 fi
30216
30217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30218 conftest$ac_exeext conftest.$ac_ext
30219 LIBS=$ac_check_lib_save_LIBS
30220 fi
30221 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30222 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30223 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30225 fi
30226
30227 if test $ac_cv_lib_nsl_gethostbyname = no; then
30228 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30229 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30230 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30231 echo $ECHO_N "(cached) $ECHO_C" >&6
30232 else
30233 ac_check_lib_save_LIBS=$LIBS
30234 LIBS="-lbsd $LIBS"
30235 cat >conftest.$ac_ext <<_ACEOF
30236 /* confdefs.h. */
30237 _ACEOF
30238 cat confdefs.h >>conftest.$ac_ext
30239 cat >>conftest.$ac_ext <<_ACEOF
30240 /* end confdefs.h. */
30241
30242 /* Override any GCC internal prototype to avoid an error.
30243 Use char because int might match the return type of a GCC
30244 builtin and then its argument prototype would still apply. */
30245 #ifdef __cplusplus
30246 extern "C"
30247 #endif
30248 char gethostbyname ();
30249 int
30250 main ()
30251 {
30252 return gethostbyname ();
30253 ;
30254 return 0;
30255 }
30256 _ACEOF
30257 rm -f conftest.$ac_objext conftest$ac_exeext
30258 if { (ac_try="$ac_link"
30259 case "(($ac_try" in
30260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30261 *) ac_try_echo=$ac_try;;
30262 esac
30263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30264 (eval "$ac_link") 2>conftest.er1
30265 ac_status=$?
30266 grep -v '^ *+' conftest.er1 >conftest.err
30267 rm -f conftest.er1
30268 cat conftest.err >&5
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); } && {
30271 test -z "$ac_c_werror_flag" ||
30272 test ! -s conftest.err
30273 } && test -s conftest$ac_exeext &&
30274 $as_test_x conftest$ac_exeext; then
30275 ac_cv_lib_bsd_gethostbyname=yes
30276 else
30277 echo "$as_me: failed program was:" >&5
30278 sed 's/^/| /' conftest.$ac_ext >&5
30279
30280 ac_cv_lib_bsd_gethostbyname=no
30281 fi
30282
30283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30284 conftest$ac_exeext conftest.$ac_ext
30285 LIBS=$ac_check_lib_save_LIBS
30286 fi
30287 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30288 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30289 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30290 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30291 fi
30292
30293 fi
30294 fi
30295
30296 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30297 # socket/setsockopt and other routines are undefined under SCO ODT
30298 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30299 # on later versions), says Simon Leinen: it contains gethostby*
30300 # variants that don't use the name server (or something). -lsocket
30301 # must be given before -lnsl if both are needed. We assume that
30302 # if connect needs -lnsl, so does gethostbyname.
30303 { echo "$as_me:$LINENO: checking for connect" >&5
30304 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30305 if test "${ac_cv_func_connect+set}" = set; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30307 else
30308 cat >conftest.$ac_ext <<_ACEOF
30309 /* confdefs.h. */
30310 _ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30316 #define connect innocuous_connect
30317
30318 /* System header to define __stub macros and hopefully few prototypes,
30319 which can conflict with char connect (); below.
30320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30321 <limits.h> exists even on freestanding compilers. */
30322
30323 #ifdef __STDC__
30324 # include <limits.h>
30325 #else
30326 # include <assert.h>
30327 #endif
30328
30329 #undef connect
30330
30331 /* Override any GCC internal prototype to avoid an error.
30332 Use char because int might match the return type of a GCC
30333 builtin and then its argument prototype would still apply. */
30334 #ifdef __cplusplus
30335 extern "C"
30336 #endif
30337 char connect ();
30338 /* The GNU C library defines this for functions which it implements
30339 to always fail with ENOSYS. Some functions are actually named
30340 something starting with __ and the normal name is an alias. */
30341 #if defined __stub_connect || defined __stub___connect
30342 choke me
30343 #endif
30344
30345 int
30346 main ()
30347 {
30348 return connect ();
30349 ;
30350 return 0;
30351 }
30352 _ACEOF
30353 rm -f conftest.$ac_objext conftest$ac_exeext
30354 if { (ac_try="$ac_link"
30355 case "(($ac_try" in
30356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30357 *) ac_try_echo=$ac_try;;
30358 esac
30359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30360 (eval "$ac_link") 2>conftest.er1
30361 ac_status=$?
30362 grep -v '^ *+' conftest.er1 >conftest.err
30363 rm -f conftest.er1
30364 cat conftest.err >&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } && {
30367 test -z "$ac_c_werror_flag" ||
30368 test ! -s conftest.err
30369 } && test -s conftest$ac_exeext &&
30370 $as_test_x conftest$ac_exeext; then
30371 ac_cv_func_connect=yes
30372 else
30373 echo "$as_me: failed program was:" >&5
30374 sed 's/^/| /' conftest.$ac_ext >&5
30375
30376 ac_cv_func_connect=no
30377 fi
30378
30379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30380 conftest$ac_exeext conftest.$ac_ext
30381 fi
30382 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30383 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30384
30385 if test $ac_cv_func_connect = no; then
30386 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30387 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30388 if test "${ac_cv_lib_socket_connect+set}" = set; then
30389 echo $ECHO_N "(cached) $ECHO_C" >&6
30390 else
30391 ac_check_lib_save_LIBS=$LIBS
30392 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30393 cat >conftest.$ac_ext <<_ACEOF
30394 /* confdefs.h. */
30395 _ACEOF
30396 cat confdefs.h >>conftest.$ac_ext
30397 cat >>conftest.$ac_ext <<_ACEOF
30398 /* end confdefs.h. */
30399
30400 /* Override any GCC internal prototype to avoid an error.
30401 Use char because int might match the return type of a GCC
30402 builtin and then its argument prototype would still apply. */
30403 #ifdef __cplusplus
30404 extern "C"
30405 #endif
30406 char connect ();
30407 int
30408 main ()
30409 {
30410 return connect ();
30411 ;
30412 return 0;
30413 }
30414 _ACEOF
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (ac_try="$ac_link"
30417 case "(($ac_try" in
30418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30419 *) ac_try_echo=$ac_try;;
30420 esac
30421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30422 (eval "$ac_link") 2>conftest.er1
30423 ac_status=$?
30424 grep -v '^ *+' conftest.er1 >conftest.err
30425 rm -f conftest.er1
30426 cat conftest.err >&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } && {
30429 test -z "$ac_c_werror_flag" ||
30430 test ! -s conftest.err
30431 } && test -s conftest$ac_exeext &&
30432 $as_test_x conftest$ac_exeext; then
30433 ac_cv_lib_socket_connect=yes
30434 else
30435 echo "$as_me: failed program was:" >&5
30436 sed 's/^/| /' conftest.$ac_ext >&5
30437
30438 ac_cv_lib_socket_connect=no
30439 fi
30440
30441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30442 conftest$ac_exeext conftest.$ac_ext
30443 LIBS=$ac_check_lib_save_LIBS
30444 fi
30445 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30446 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30447 if test $ac_cv_lib_socket_connect = yes; then
30448 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30449 fi
30450
30451 fi
30452
30453 # Guillermo Gomez says -lposix is necessary on A/UX.
30454 { echo "$as_me:$LINENO: checking for remove" >&5
30455 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30456 if test "${ac_cv_func_remove+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30458 else
30459 cat >conftest.$ac_ext <<_ACEOF
30460 /* confdefs.h. */
30461 _ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30467 #define remove innocuous_remove
30468
30469 /* System header to define __stub macros and hopefully few prototypes,
30470 which can conflict with char remove (); below.
30471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30472 <limits.h> exists even on freestanding compilers. */
30473
30474 #ifdef __STDC__
30475 # include <limits.h>
30476 #else
30477 # include <assert.h>
30478 #endif
30479
30480 #undef remove
30481
30482 /* Override any GCC internal prototype to avoid an error.
30483 Use char because int might match the return type of a GCC
30484 builtin and then its argument prototype would still apply. */
30485 #ifdef __cplusplus
30486 extern "C"
30487 #endif
30488 char remove ();
30489 /* The GNU C library defines this for functions which it implements
30490 to always fail with ENOSYS. Some functions are actually named
30491 something starting with __ and the normal name is an alias. */
30492 #if defined __stub_remove || defined __stub___remove
30493 choke me
30494 #endif
30495
30496 int
30497 main ()
30498 {
30499 return remove ();
30500 ;
30501 return 0;
30502 }
30503 _ACEOF
30504 rm -f conftest.$ac_objext conftest$ac_exeext
30505 if { (ac_try="$ac_link"
30506 case "(($ac_try" in
30507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30508 *) ac_try_echo=$ac_try;;
30509 esac
30510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30511 (eval "$ac_link") 2>conftest.er1
30512 ac_status=$?
30513 grep -v '^ *+' conftest.er1 >conftest.err
30514 rm -f conftest.er1
30515 cat conftest.err >&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } && {
30518 test -z "$ac_c_werror_flag" ||
30519 test ! -s conftest.err
30520 } && test -s conftest$ac_exeext &&
30521 $as_test_x conftest$ac_exeext; then
30522 ac_cv_func_remove=yes
30523 else
30524 echo "$as_me: failed program was:" >&5
30525 sed 's/^/| /' conftest.$ac_ext >&5
30526
30527 ac_cv_func_remove=no
30528 fi
30529
30530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30531 conftest$ac_exeext conftest.$ac_ext
30532 fi
30533 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30534 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30535
30536 if test $ac_cv_func_remove = no; then
30537 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30538 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30539 if test "${ac_cv_lib_posix_remove+set}" = set; then
30540 echo $ECHO_N "(cached) $ECHO_C" >&6
30541 else
30542 ac_check_lib_save_LIBS=$LIBS
30543 LIBS="-lposix $LIBS"
30544 cat >conftest.$ac_ext <<_ACEOF
30545 /* confdefs.h. */
30546 _ACEOF
30547 cat confdefs.h >>conftest.$ac_ext
30548 cat >>conftest.$ac_ext <<_ACEOF
30549 /* end confdefs.h. */
30550
30551 /* Override any GCC internal prototype to avoid an error.
30552 Use char because int might match the return type of a GCC
30553 builtin and then its argument prototype would still apply. */
30554 #ifdef __cplusplus
30555 extern "C"
30556 #endif
30557 char remove ();
30558 int
30559 main ()
30560 {
30561 return remove ();
30562 ;
30563 return 0;
30564 }
30565 _ACEOF
30566 rm -f conftest.$ac_objext conftest$ac_exeext
30567 if { (ac_try="$ac_link"
30568 case "(($ac_try" in
30569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30570 *) ac_try_echo=$ac_try;;
30571 esac
30572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30573 (eval "$ac_link") 2>conftest.er1
30574 ac_status=$?
30575 grep -v '^ *+' conftest.er1 >conftest.err
30576 rm -f conftest.er1
30577 cat conftest.err >&5
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); } && {
30580 test -z "$ac_c_werror_flag" ||
30581 test ! -s conftest.err
30582 } && test -s conftest$ac_exeext &&
30583 $as_test_x conftest$ac_exeext; then
30584 ac_cv_lib_posix_remove=yes
30585 else
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.$ac_ext >&5
30588
30589 ac_cv_lib_posix_remove=no
30590 fi
30591
30592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30593 conftest$ac_exeext conftest.$ac_ext
30594 LIBS=$ac_check_lib_save_LIBS
30595 fi
30596 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30597 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30598 if test $ac_cv_lib_posix_remove = yes; then
30599 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30600 fi
30601
30602 fi
30603
30604 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30605 { echo "$as_me:$LINENO: checking for shmat" >&5
30606 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30607 if test "${ac_cv_func_shmat+set}" = set; then
30608 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 else
30610 cat >conftest.$ac_ext <<_ACEOF
30611 /* confdefs.h. */
30612 _ACEOF
30613 cat confdefs.h >>conftest.$ac_ext
30614 cat >>conftest.$ac_ext <<_ACEOF
30615 /* end confdefs.h. */
30616 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30618 #define shmat innocuous_shmat
30619
30620 /* System header to define __stub macros and hopefully few prototypes,
30621 which can conflict with char shmat (); below.
30622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30623 <limits.h> exists even on freestanding compilers. */
30624
30625 #ifdef __STDC__
30626 # include <limits.h>
30627 #else
30628 # include <assert.h>
30629 #endif
30630
30631 #undef shmat
30632
30633 /* Override any GCC internal prototype to avoid an error.
30634 Use char because int might match the return type of a GCC
30635 builtin and then its argument prototype would still apply. */
30636 #ifdef __cplusplus
30637 extern "C"
30638 #endif
30639 char shmat ();
30640 /* The GNU C library defines this for functions which it implements
30641 to always fail with ENOSYS. Some functions are actually named
30642 something starting with __ and the normal name is an alias. */
30643 #if defined __stub_shmat || defined __stub___shmat
30644 choke me
30645 #endif
30646
30647 int
30648 main ()
30649 {
30650 return shmat ();
30651 ;
30652 return 0;
30653 }
30654 _ACEOF
30655 rm -f conftest.$ac_objext conftest$ac_exeext
30656 if { (ac_try="$ac_link"
30657 case "(($ac_try" in
30658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30659 *) ac_try_echo=$ac_try;;
30660 esac
30661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30662 (eval "$ac_link") 2>conftest.er1
30663 ac_status=$?
30664 grep -v '^ *+' conftest.er1 >conftest.err
30665 rm -f conftest.er1
30666 cat conftest.err >&5
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); } && {
30669 test -z "$ac_c_werror_flag" ||
30670 test ! -s conftest.err
30671 } && test -s conftest$ac_exeext &&
30672 $as_test_x conftest$ac_exeext; then
30673 ac_cv_func_shmat=yes
30674 else
30675 echo "$as_me: failed program was:" >&5
30676 sed 's/^/| /' conftest.$ac_ext >&5
30677
30678 ac_cv_func_shmat=no
30679 fi
30680
30681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30682 conftest$ac_exeext conftest.$ac_ext
30683 fi
30684 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30685 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30686
30687 if test $ac_cv_func_shmat = no; then
30688 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30689 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30690 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30691 echo $ECHO_N "(cached) $ECHO_C" >&6
30692 else
30693 ac_check_lib_save_LIBS=$LIBS
30694 LIBS="-lipc $LIBS"
30695 cat >conftest.$ac_ext <<_ACEOF
30696 /* confdefs.h. */
30697 _ACEOF
30698 cat confdefs.h >>conftest.$ac_ext
30699 cat >>conftest.$ac_ext <<_ACEOF
30700 /* end confdefs.h. */
30701
30702 /* Override any GCC internal prototype to avoid an error.
30703 Use char because int might match the return type of a GCC
30704 builtin and then its argument prototype would still apply. */
30705 #ifdef __cplusplus
30706 extern "C"
30707 #endif
30708 char shmat ();
30709 int
30710 main ()
30711 {
30712 return shmat ();
30713 ;
30714 return 0;
30715 }
30716 _ACEOF
30717 rm -f conftest.$ac_objext conftest$ac_exeext
30718 if { (ac_try="$ac_link"
30719 case "(($ac_try" in
30720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30721 *) ac_try_echo=$ac_try;;
30722 esac
30723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30724 (eval "$ac_link") 2>conftest.er1
30725 ac_status=$?
30726 grep -v '^ *+' conftest.er1 >conftest.err
30727 rm -f conftest.er1
30728 cat conftest.err >&5
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); } && {
30731 test -z "$ac_c_werror_flag" ||
30732 test ! -s conftest.err
30733 } && test -s conftest$ac_exeext &&
30734 $as_test_x conftest$ac_exeext; then
30735 ac_cv_lib_ipc_shmat=yes
30736 else
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.$ac_ext >&5
30739
30740 ac_cv_lib_ipc_shmat=no
30741 fi
30742
30743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30744 conftest$ac_exeext conftest.$ac_ext
30745 LIBS=$ac_check_lib_save_LIBS
30746 fi
30747 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30748 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30749 if test $ac_cv_lib_ipc_shmat = yes; then
30750 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30751 fi
30752
30753 fi
30754 fi
30755
30756 # Check for libraries that X11R6 Xt/Xaw programs need.
30757 ac_save_LDFLAGS=$LDFLAGS
30758 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30759 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30760 # check for ICE first), but we must link in the order -lSM -lICE or
30761 # we get undefined symbols. So assume we have SM if we have ICE.
30762 # These have to be linked with before -lX11, unlike the other
30763 # libraries we check for below, so use a different variable.
30764 # John Interrante, Karl Berry
30765 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30766 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30767 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30768 echo $ECHO_N "(cached) $ECHO_C" >&6
30769 else
30770 ac_check_lib_save_LIBS=$LIBS
30771 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30772 cat >conftest.$ac_ext <<_ACEOF
30773 /* confdefs.h. */
30774 _ACEOF
30775 cat confdefs.h >>conftest.$ac_ext
30776 cat >>conftest.$ac_ext <<_ACEOF
30777 /* end confdefs.h. */
30778
30779 /* Override any GCC internal prototype to avoid an error.
30780 Use char because int might match the return type of a GCC
30781 builtin and then its argument prototype would still apply. */
30782 #ifdef __cplusplus
30783 extern "C"
30784 #endif
30785 char IceConnectionNumber ();
30786 int
30787 main ()
30788 {
30789 return IceConnectionNumber ();
30790 ;
30791 return 0;
30792 }
30793 _ACEOF
30794 rm -f conftest.$ac_objext conftest$ac_exeext
30795 if { (ac_try="$ac_link"
30796 case "(($ac_try" in
30797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30798 *) ac_try_echo=$ac_try;;
30799 esac
30800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30801 (eval "$ac_link") 2>conftest.er1
30802 ac_status=$?
30803 grep -v '^ *+' conftest.er1 >conftest.err
30804 rm -f conftest.er1
30805 cat conftest.err >&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); } && {
30808 test -z "$ac_c_werror_flag" ||
30809 test ! -s conftest.err
30810 } && test -s conftest$ac_exeext &&
30811 $as_test_x conftest$ac_exeext; then
30812 ac_cv_lib_ICE_IceConnectionNumber=yes
30813 else
30814 echo "$as_me: failed program was:" >&5
30815 sed 's/^/| /' conftest.$ac_ext >&5
30816
30817 ac_cv_lib_ICE_IceConnectionNumber=no
30818 fi
30819
30820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30821 conftest$ac_exeext conftest.$ac_ext
30822 LIBS=$ac_check_lib_save_LIBS
30823 fi
30824 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30825 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30826 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30827 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30828 fi
30829
30830 LDFLAGS=$ac_save_LDFLAGS
30831
30832 fi
30833
30834
30835 if test "$no_x" = "yes"; then
30836 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30837 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30838 { (exit 1); exit 1; }; }
30839 fi
30840
30841 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30842 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30843 AFMINSTALL=afminstall
30844 COMPILED_X_PROGRAM=0
30845
30846 fi
30847
30848 if test "$wxUSE_X11" = 1; then
30849 if test "$wxUSE_NANOX" = "yes"; then
30850 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30851 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30852 if test "x$MICROWIN" = x ; then
30853 { echo "$as_me:$LINENO: result: not found" >&5
30854 echo "${ECHO_T}not found" >&6; }
30855 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30856 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30857 { (exit 1); exit 1; }; }
30858 else
30859 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30860 echo "${ECHO_T}$MICROWIN" >&6; }
30861 cat >>confdefs.h <<\_ACEOF
30862 #define wxUSE_NANOX 1
30863 _ACEOF
30864
30865 fi
30866 fi
30867
30868 if test "$wxUSE_UNICODE" = "yes"; then
30869
30870
30871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30872 if test -n "$ac_tool_prefix"; then
30873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30878 echo $ECHO_N "(cached) $ECHO_C" >&6
30879 else
30880 case $PKG_CONFIG in
30881 [\\/]* | ?:[\\/]*)
30882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30883 ;;
30884 *)
30885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30886 for as_dir in $PATH
30887 do
30888 IFS=$as_save_IFS
30889 test -z "$as_dir" && as_dir=.
30890 for ac_exec_ext in '' $ac_executable_extensions; do
30891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30894 break 2
30895 fi
30896 done
30897 done
30898 IFS=$as_save_IFS
30899
30900 ;;
30901 esac
30902 fi
30903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30904 if test -n "$PKG_CONFIG"; then
30905 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30906 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30907 else
30908 { echo "$as_me:$LINENO: result: no" >&5
30909 echo "${ECHO_T}no" >&6; }
30910 fi
30911
30912
30913 fi
30914 if test -z "$ac_cv_path_PKG_CONFIG"; then
30915 ac_pt_PKG_CONFIG=$PKG_CONFIG
30916 # Extract the first word of "pkg-config", so it can be a program name with args.
30917 set dummy pkg-config; ac_word=$2
30918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30920 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30921 echo $ECHO_N "(cached) $ECHO_C" >&6
30922 else
30923 case $ac_pt_PKG_CONFIG in
30924 [\\/]* | ?:[\\/]*)
30925 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30926 ;;
30927 *)
30928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30929 for as_dir in $PATH
30930 do
30931 IFS=$as_save_IFS
30932 test -z "$as_dir" && as_dir=.
30933 for ac_exec_ext in '' $ac_executable_extensions; do
30934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30935 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30937 break 2
30938 fi
30939 done
30940 done
30941 IFS=$as_save_IFS
30942
30943 ;;
30944 esac
30945 fi
30946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30947 if test -n "$ac_pt_PKG_CONFIG"; then
30948 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30949 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30950 else
30951 { echo "$as_me:$LINENO: result: no" >&5
30952 echo "${ECHO_T}no" >&6; }
30953 fi
30954
30955 if test "x$ac_pt_PKG_CONFIG" = x; then
30956 PKG_CONFIG=""
30957 else
30958 case $cross_compiling:$ac_tool_warned in
30959 yes:)
30960 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30961 whose name does not start with the host triplet. If you think this
30962 configuration is useful to you, please write to autoconf@gnu.org." >&5
30963 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30964 whose name does not start with the host triplet. If you think this
30965 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30966 ac_tool_warned=yes ;;
30967 esac
30968 PKG_CONFIG=$ac_pt_PKG_CONFIG
30969 fi
30970 else
30971 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30972 fi
30973
30974 fi
30975 if test -n "$PKG_CONFIG"; then
30976 _pkg_min_version=0.9.0
30977 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30978 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30979 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30980 { echo "$as_me:$LINENO: result: yes" >&5
30981 echo "${ECHO_T}yes" >&6; }
30982 else
30983 { echo "$as_me:$LINENO: result: no" >&5
30984 echo "${ECHO_T}no" >&6; }
30985 PKG_CONFIG=""
30986 fi
30987
30988 fi
30989
30990
30991 pkg_failed=no
30992 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30993 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30994
30995 if test -n "$PKG_CONFIG"; then
30996 if test -n "$PANGOX_CFLAGS"; then
30997 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30998 else
30999 if test -n "$PKG_CONFIG" && \
31000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31001 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31002 ac_status=$?
31003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31004 (exit $ac_status); }; then
31005 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31006 else
31007 pkg_failed=yes
31008 fi
31009 fi
31010 else
31011 pkg_failed=untried
31012 fi
31013 if test -n "$PKG_CONFIG"; then
31014 if test -n "$PANGOX_LIBS"; then
31015 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31016 else
31017 if test -n "$PKG_CONFIG" && \
31018 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31019 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31020 ac_status=$?
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); }; then
31023 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31024 else
31025 pkg_failed=yes
31026 fi
31027 fi
31028 else
31029 pkg_failed=untried
31030 fi
31031
31032
31033
31034 if test $pkg_failed = yes; then
31035
31036 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31037 _pkg_short_errors_supported=yes
31038 else
31039 _pkg_short_errors_supported=no
31040 fi
31041 if test $_pkg_short_errors_supported = yes; then
31042 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31043 else
31044 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31045 fi
31046 # Put the nasty error message in config.log where it belongs
31047 echo "$PANGOX_PKG_ERRORS" >&5
31048
31049
31050 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31051 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31052 { (exit 1); exit 1; }; }
31053
31054
31055 elif test $pkg_failed = untried; then
31056
31057 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31058 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31059 { (exit 1); exit 1; }; }
31060
31061
31062 else
31063 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31064 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31065 { echo "$as_me:$LINENO: result: yes" >&5
31066 echo "${ECHO_T}yes" >&6; }
31067
31068 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31069 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31070 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31071
31072 fi
31073
31074 pkg_failed=no
31075 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31076 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31077
31078 if test -n "$PKG_CONFIG"; then
31079 if test -n "$PANGOFT2_CFLAGS"; then
31080 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31081 else
31082 if test -n "$PKG_CONFIG" && \
31083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31084 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; then
31088 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31089 else
31090 pkg_failed=yes
31091 fi
31092 fi
31093 else
31094 pkg_failed=untried
31095 fi
31096 if test -n "$PKG_CONFIG"; then
31097 if test -n "$PANGOFT2_LIBS"; then
31098 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31099 else
31100 if test -n "$PKG_CONFIG" && \
31101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31102 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31103 ac_status=$?
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; then
31106 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31107 else
31108 pkg_failed=yes
31109 fi
31110 fi
31111 else
31112 pkg_failed=untried
31113 fi
31114
31115
31116
31117 if test $pkg_failed = yes; then
31118
31119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31120 _pkg_short_errors_supported=yes
31121 else
31122 _pkg_short_errors_supported=no
31123 fi
31124 if test $_pkg_short_errors_supported = yes; then
31125 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31126 else
31127 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31128 fi
31129 # Put the nasty error message in config.log where it belongs
31130 echo "$PANGOFT2_PKG_ERRORS" >&5
31131
31132
31133 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31134 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31135 wxUSE_PRINTING_ARCHITECTURE="no"
31136
31137
31138 elif test $pkg_failed = untried; then
31139
31140 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31141 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31142 wxUSE_PRINTING_ARCHITECTURE="no"
31143
31144
31145 else
31146 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31147 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31148 { echo "$as_me:$LINENO: result: yes" >&5
31149 echo "${ECHO_T}yes" >&6; }
31150
31151 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31152 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31154
31155 fi
31156
31157 pkg_failed=no
31158 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31159 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31160
31161 if test -n "$PKG_CONFIG"; then
31162 if test -n "$PANGOXFT_CFLAGS"; then
31163 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31164 else
31165 if test -n "$PKG_CONFIG" && \
31166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31167 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31168 ac_status=$?
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; then
31171 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31172 else
31173 pkg_failed=yes
31174 fi
31175 fi
31176 else
31177 pkg_failed=untried
31178 fi
31179 if test -n "$PKG_CONFIG"; then
31180 if test -n "$PANGOXFT_LIBS"; then
31181 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31182 else
31183 if test -n "$PKG_CONFIG" && \
31184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31185 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31186 ac_status=$?
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); }; then
31189 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31190 else
31191 pkg_failed=yes
31192 fi
31193 fi
31194 else
31195 pkg_failed=untried
31196 fi
31197
31198
31199
31200 if test $pkg_failed = yes; then
31201
31202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31203 _pkg_short_errors_supported=yes
31204 else
31205 _pkg_short_errors_supported=no
31206 fi
31207 if test $_pkg_short_errors_supported = yes; then
31208 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31209 else
31210 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31211 fi
31212 # Put the nasty error message in config.log where it belongs
31213 echo "$PANGOXFT_PKG_ERRORS" >&5
31214
31215
31216 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31217 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31218
31219
31220 elif test $pkg_failed = untried; then
31221
31222 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31223 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31224
31225
31226 else
31227 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31228 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31229 { echo "$as_me:$LINENO: result: yes" >&5
31230 echo "${ECHO_T}yes" >&6; }
31231
31232 cat >>confdefs.h <<\_ACEOF
31233 #define HAVE_PANGO_XFT 1
31234 _ACEOF
31235
31236 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31237 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31238 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31239
31240 fi
31241 save_LIBS="$LIBS"
31242 LIBS="$LIBS $PANGOX_LIBS"
31243
31244 for ac_func in pango_font_family_is_monospace
31245 do
31246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31251 else
31252 cat >conftest.$ac_ext <<_ACEOF
31253 /* confdefs.h. */
31254 _ACEOF
31255 cat confdefs.h >>conftest.$ac_ext
31256 cat >>conftest.$ac_ext <<_ACEOF
31257 /* end confdefs.h. */
31258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31260 #define $ac_func innocuous_$ac_func
31261
31262 /* System header to define __stub macros and hopefully few prototypes,
31263 which can conflict with char $ac_func (); below.
31264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31265 <limits.h> exists even on freestanding compilers. */
31266
31267 #ifdef __STDC__
31268 # include <limits.h>
31269 #else
31270 # include <assert.h>
31271 #endif
31272
31273 #undef $ac_func
31274
31275 /* Override any GCC internal prototype to avoid an error.
31276 Use char because int might match the return type of a GCC
31277 builtin and then its argument prototype would still apply. */
31278 #ifdef __cplusplus
31279 extern "C"
31280 #endif
31281 char $ac_func ();
31282 /* The GNU C library defines this for functions which it implements
31283 to always fail with ENOSYS. Some functions are actually named
31284 something starting with __ and the normal name is an alias. */
31285 #if defined __stub_$ac_func || defined __stub___$ac_func
31286 choke me
31287 #endif
31288
31289 int
31290 main ()
31291 {
31292 return $ac_func ();
31293 ;
31294 return 0;
31295 }
31296 _ACEOF
31297 rm -f conftest.$ac_objext conftest$ac_exeext
31298 if { (ac_try="$ac_link"
31299 case "(($ac_try" in
31300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31301 *) ac_try_echo=$ac_try;;
31302 esac
31303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31304 (eval "$ac_link") 2>conftest.er1
31305 ac_status=$?
31306 grep -v '^ *+' conftest.er1 >conftest.err
31307 rm -f conftest.er1
31308 cat conftest.err >&5
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); } && {
31311 test -z "$ac_c_werror_flag" ||
31312 test ! -s conftest.err
31313 } && test -s conftest$ac_exeext &&
31314 $as_test_x conftest$ac_exeext; then
31315 eval "$as_ac_var=yes"
31316 else
31317 echo "$as_me: failed program was:" >&5
31318 sed 's/^/| /' conftest.$ac_ext >&5
31319
31320 eval "$as_ac_var=no"
31321 fi
31322
31323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31324 conftest$ac_exeext conftest.$ac_ext
31325 fi
31326 ac_res=`eval echo '${'$as_ac_var'}'`
31327 { echo "$as_me:$LINENO: result: $ac_res" >&5
31328 echo "${ECHO_T}$ac_res" >&6; }
31329 if test `eval echo '${'$as_ac_var'}'` = yes; then
31330 cat >>confdefs.h <<_ACEOF
31331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31332 _ACEOF
31333
31334 fi
31335 done
31336
31337 LIBS="$save_LIBS"
31338 fi
31339
31340 wxUSE_UNIVERSAL="yes"
31341
31342 if test "$wxUSE_NANOX" = "yes"; then
31343 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31344 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"
31345 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31346 else
31347 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31348 fi
31349
31350 TOOLKIT=X11
31351 GUIDIST=X11_DIST
31352 fi
31353
31354 if test "$wxUSE_MOTIF" = 1; then
31355 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31356 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31357
31358 ac_find_includes=
31359 for ac_dir in $SEARCH_INCLUDE /usr/include;
31360 do
31361 if test -f "$ac_dir/Xm/Xm.h"; then
31362 ac_find_includes=$ac_dir
31363 break
31364 fi
31365 done
31366
31367 if test "$ac_find_includes" != "" ; then
31368 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31369 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31370
31371 if test "x$ac_find_includes" = "x/usr/include"; then
31372 ac_path_to_include=""
31373 else
31374 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31375 result=$?
31376 if test $result = 0; then
31377 ac_path_to_include=""
31378 else
31379 ac_path_to_include=" -I$ac_find_includes"
31380 fi
31381 fi
31382
31383 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31384 else
31385 save_CFLAGS=$CFLAGS
31386 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31387
31388 cat >conftest.$ac_ext <<_ACEOF
31389 /* confdefs.h. */
31390 _ACEOF
31391 cat confdefs.h >>conftest.$ac_ext
31392 cat >>conftest.$ac_ext <<_ACEOF
31393 /* end confdefs.h. */
31394
31395 #include <Xm/Xm.h>
31396
31397 int
31398 main ()
31399 {
31400
31401 int version;
31402 version = xmUseVersion;
31403
31404 ;
31405 return 0;
31406 }
31407 _ACEOF
31408 rm -f conftest.$ac_objext
31409 if { (ac_try="$ac_compile"
31410 case "(($ac_try" in
31411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31412 *) ac_try_echo=$ac_try;;
31413 esac
31414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31415 (eval "$ac_compile") 2>conftest.er1
31416 ac_status=$?
31417 grep -v '^ *+' conftest.er1 >conftest.err
31418 rm -f conftest.er1
31419 cat conftest.err >&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); } && {
31422 test -z "$ac_c_werror_flag" ||
31423 test ! -s conftest.err
31424 } && test -s conftest.$ac_objext; then
31425
31426 { echo "$as_me:$LINENO: result: found in default search path" >&5
31427 echo "${ECHO_T}found in default search path" >&6; }
31428 COMPILED_X_PROGRAM=1
31429
31430 else
31431 echo "$as_me: failed program was:" >&5
31432 sed 's/^/| /' conftest.$ac_ext >&5
31433
31434
31435 { echo "$as_me:$LINENO: result: no" >&5
31436 echo "${ECHO_T}no" >&6; }
31437 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31438 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31439 { (exit 1); exit 1; }; }
31440
31441
31442 fi
31443
31444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31445
31446 CFLAGS=$save_CFLAGS
31447 fi
31448
31449
31450 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31451 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31452
31453 ac_find_libraries=
31454 for ac_dir in $SEARCH_LIB;
31455 do
31456 for ac_extension in a so sl dylib dll.a; do
31457 if test -f "$ac_dir/libXm.$ac_extension"; then
31458 ac_find_libraries=$ac_dir
31459 break 2
31460 fi
31461 done
31462 done
31463
31464
31465 if test "x$ac_find_libraries" != "x" ; then
31466 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31467 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31468
31469
31470 if test "$ac_find_libraries" = "default location"; then
31471 ac_path_to_link=""
31472 else
31473 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31474 result=$?
31475 if test $result = 0; then
31476 ac_path_to_link=""
31477 else
31478 ac_path_to_link=" -L$ac_find_libraries"
31479 fi
31480 fi
31481
31482 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31483 else
31484 save_CFLAGS=$CFLAGS
31485 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31486 save_LIBS="$LIBS"
31487 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31488
31489 cat >conftest.$ac_ext <<_ACEOF
31490 /* confdefs.h. */
31491 _ACEOF
31492 cat confdefs.h >>conftest.$ac_ext
31493 cat >>conftest.$ac_ext <<_ACEOF
31494 /* end confdefs.h. */
31495
31496 #include <Xm/Xm.h>
31497
31498 int
31499 main ()
31500 {
31501
31502 int version;
31503 version = xmUseVersion;
31504
31505 ;
31506 return 0;
31507 }
31508 _ACEOF
31509 rm -f conftest.$ac_objext conftest$ac_exeext
31510 if { (ac_try="$ac_link"
31511 case "(($ac_try" in
31512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31513 *) ac_try_echo=$ac_try;;
31514 esac
31515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31516 (eval "$ac_link") 2>conftest.er1
31517 ac_status=$?
31518 grep -v '^ *+' conftest.er1 >conftest.err
31519 rm -f conftest.er1
31520 cat conftest.err >&5
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); } && {
31523 test -z "$ac_c_werror_flag" ||
31524 test ! -s conftest.err
31525 } && test -s conftest$ac_exeext &&
31526 $as_test_x conftest$ac_exeext; then
31527
31528 { echo "$as_me:$LINENO: result: found in default search path" >&5
31529 echo "${ECHO_T}found in default search path" >&6; }
31530 COMPILED_X_PROGRAM=1
31531
31532 else
31533 echo "$as_me: failed program was:" >&5
31534 sed 's/^/| /' conftest.$ac_ext >&5
31535
31536
31537 { echo "$as_me:$LINENO: result: no" >&5
31538 echo "${ECHO_T}no" >&6; }
31539 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31540 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31541 { (exit 1); exit 1; }; }
31542
31543
31544 fi
31545
31546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31547 conftest$ac_exeext conftest.$ac_ext
31548
31549 CFLAGS=$save_CFLAGS
31550 LIBS="$save_LIBS"
31551 fi
31552
31553 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31554 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31555 libp_link=""
31556 libsm_ice_link=""
31557 libs_found=0
31558 for libp in "" " -lXp"; do
31559 if test "$libs_found" = 0; then
31560 for libsm_ice in "" " -lSM -lICE"; do
31561 if test "$libs_found" = 0; then
31562 save_LIBS="$LIBS"
31563 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31564 save_CFLAGS=$CFLAGS
31565 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31566
31567 cat >conftest.$ac_ext <<_ACEOF
31568 /* confdefs.h. */
31569 _ACEOF
31570 cat confdefs.h >>conftest.$ac_ext
31571 cat >>conftest.$ac_ext <<_ACEOF
31572 /* end confdefs.h. */
31573
31574 #include <Xm/Xm.h>
31575 #include <Xm/List.h>
31576
31577 int
31578 main ()
31579 {
31580
31581 XmString string = NULL;
31582 Widget w = NULL;
31583 int position = 0;
31584 XmListAddItem(w, string, position);
31585
31586 ;
31587 return 0;
31588 }
31589 _ACEOF
31590 rm -f conftest.$ac_objext conftest$ac_exeext
31591 if { (ac_try="$ac_link"
31592 case "(($ac_try" in
31593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31594 *) ac_try_echo=$ac_try;;
31595 esac
31596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31597 (eval "$ac_link") 2>conftest.er1
31598 ac_status=$?
31599 grep -v '^ *+' conftest.er1 >conftest.err
31600 rm -f conftest.er1
31601 cat conftest.err >&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); } && {
31604 test -z "$ac_c_werror_flag" ||
31605 test ! -s conftest.err
31606 } && test -s conftest$ac_exeext &&
31607 $as_test_x conftest$ac_exeext; then
31608
31609 libp_link="$libp"
31610 libsm_ice_link="$libsm_ice"
31611 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31612 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31613 libs_found=1
31614
31615 else
31616 echo "$as_me: failed program was:" >&5
31617 sed 's/^/| /' conftest.$ac_ext >&5
31618
31619
31620
31621 fi
31622
31623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31624 conftest$ac_exeext conftest.$ac_ext
31625
31626 LIBS="$save_LIBS"
31627 CFLAGS=$save_CFLAGS
31628 fi
31629 done
31630 fi
31631 done
31632
31633 if test "$libs_found" = 0; then
31634 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31635 echo "${ECHO_T}can't find the right libraries" >&6; }
31636 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31637 echo "$as_me: error: can't link a simple motif program" >&2;}
31638 { (exit 1); exit 1; }; }
31639 fi
31640
31641 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31642 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31643 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 else
31646 ac_check_lib_save_LIBS=$LIBS
31647 LIBS="-lSgm $LIBS"
31648 cat >conftest.$ac_ext <<_ACEOF
31649 /* confdefs.h. */
31650 _ACEOF
31651 cat confdefs.h >>conftest.$ac_ext
31652 cat >>conftest.$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31654
31655 /* Override any GCC internal prototype to avoid an error.
31656 Use char because int might match the return type of a GCC
31657 builtin and then its argument prototype would still apply. */
31658 #ifdef __cplusplus
31659 extern "C"
31660 #endif
31661 char SgCreateList ();
31662 int
31663 main ()
31664 {
31665 return SgCreateList ();
31666 ;
31667 return 0;
31668 }
31669 _ACEOF
31670 rm -f conftest.$ac_objext conftest$ac_exeext
31671 if { (ac_try="$ac_link"
31672 case "(($ac_try" in
31673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31674 *) ac_try_echo=$ac_try;;
31675 esac
31676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31677 (eval "$ac_link") 2>conftest.er1
31678 ac_status=$?
31679 grep -v '^ *+' conftest.er1 >conftest.err
31680 rm -f conftest.er1
31681 cat conftest.err >&5
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); } && {
31684 test -z "$ac_c_werror_flag" ||
31685 test ! -s conftest.err
31686 } && test -s conftest$ac_exeext &&
31687 $as_test_x conftest$ac_exeext; then
31688 ac_cv_lib_Sgm_SgCreateList=yes
31689 else
31690 echo "$as_me: failed program was:" >&5
31691 sed 's/^/| /' conftest.$ac_ext >&5
31692
31693 ac_cv_lib_Sgm_SgCreateList=no
31694 fi
31695
31696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31697 conftest$ac_exeext conftest.$ac_ext
31698 LIBS=$ac_check_lib_save_LIBS
31699 fi
31700 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31701 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31702 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31703 libsgm_link=" -lSgm"
31704 fi
31705
31706
31707 save_CFLAGS=$CFLAGS
31708 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31709
31710 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31711 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31712 if test "${wx_cv_lib_motif2+set}" = set; then
31713 echo $ECHO_N "(cached) $ECHO_C" >&6
31714 else
31715 cat >conftest.$ac_ext <<_ACEOF
31716 /* confdefs.h. */
31717 _ACEOF
31718 cat confdefs.h >>conftest.$ac_ext
31719 cat >>conftest.$ac_ext <<_ACEOF
31720 /* end confdefs.h. */
31721
31722 #include <Xm/Xm.h>
31723
31724 int
31725 main ()
31726 {
31727
31728 #if XmVersion < 2000
31729 Not Motif 2
31730 #endif
31731
31732 ;
31733 return 0;
31734 }
31735 _ACEOF
31736 rm -f conftest.$ac_objext
31737 if { (ac_try="$ac_compile"
31738 case "(($ac_try" in
31739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31740 *) ac_try_echo=$ac_try;;
31741 esac
31742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31743 (eval "$ac_compile") 2>conftest.er1
31744 ac_status=$?
31745 grep -v '^ *+' conftest.er1 >conftest.err
31746 rm -f conftest.er1
31747 cat conftest.err >&5
31748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31749 (exit $ac_status); } && {
31750 test -z "$ac_c_werror_flag" ||
31751 test ! -s conftest.err
31752 } && test -s conftest.$ac_objext; then
31753 wx_cv_lib_motif2="yes"
31754 else
31755 echo "$as_me: failed program was:" >&5
31756 sed 's/^/| /' conftest.$ac_ext >&5
31757
31758 wx_cv_lib_motif2="no"
31759 fi
31760
31761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31762 fi
31763 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31764 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31765 if test "$wx_cv_lib_motif2" = "yes"; then
31766 cat >>confdefs.h <<\_ACEOF
31767 #define __WXMOTIF20__ 1
31768 _ACEOF
31769
31770 else
31771 cat >>confdefs.h <<\_ACEOF
31772 #define __WXMOTIF20__ 0
31773 _ACEOF
31774
31775 fi
31776
31777 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31778 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31779 if test "${wx_cv_lib_lesstif+set}" = set; then
31780 echo $ECHO_N "(cached) $ECHO_C" >&6
31781 else
31782 cat >conftest.$ac_ext <<_ACEOF
31783 /* confdefs.h. */
31784 _ACEOF
31785 cat confdefs.h >>conftest.$ac_ext
31786 cat >>conftest.$ac_ext <<_ACEOF
31787 /* end confdefs.h. */
31788
31789 #include <Xm/Xm.h>
31790
31791 int
31792 main ()
31793 {
31794
31795 #if !defined(LesstifVersion) || LesstifVersion <= 0
31796 Not Lesstif
31797 #endif
31798
31799 ;
31800 return 0;
31801 }
31802 _ACEOF
31803 rm -f conftest.$ac_objext
31804 if { (ac_try="$ac_compile"
31805 case "(($ac_try" in
31806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31807 *) ac_try_echo=$ac_try;;
31808 esac
31809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31810 (eval "$ac_compile") 2>conftest.er1
31811 ac_status=$?
31812 grep -v '^ *+' conftest.er1 >conftest.err
31813 rm -f conftest.er1
31814 cat conftest.err >&5
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); } && {
31817 test -z "$ac_c_werror_flag" ||
31818 test ! -s conftest.err
31819 } && test -s conftest.$ac_objext; then
31820 wx_cv_lib_lesstif="yes"
31821 else
31822 echo "$as_me: failed program was:" >&5
31823 sed 's/^/| /' conftest.$ac_ext >&5
31824
31825 wx_cv_lib_lesstif="no"
31826 fi
31827
31828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31829
31830 fi
31831 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31832 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31833 if test "$wx_cv_lib_lesstif" = "yes"; then
31834 cat >>confdefs.h <<\_ACEOF
31835 #define __WXLESSTIF__ 1
31836 _ACEOF
31837
31838 else
31839 cat >>confdefs.h <<\_ACEOF
31840 #define __WXLESSTIF__ 0
31841 _ACEOF
31842
31843 fi
31844
31845 CFLAGS=$save_CFLAGS
31846
31847 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31848 TOOLKIT=MOTIF
31849 GUIDIST=MOTIF_DIST
31850 fi
31851
31852 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31853 if test "$wxUSE_LIBXPM" = "sys"; then
31854 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31855 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31856
31857 ac_find_libraries=
31858 for ac_dir in $SEARCH_LIB;
31859 do
31860 for ac_extension in a so sl dylib dll.a; do
31861 if test -f "$ac_dir/libXpm.$ac_extension"; then
31862 ac_find_libraries=$ac_dir
31863 break 2
31864 fi
31865 done
31866 done
31867
31868 if test "$ac_find_libraries" != "" ; then
31869
31870 if test "$ac_find_libraries" = "default location"; then
31871 ac_path_to_link=""
31872 else
31873 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31874 result=$?
31875 if test $result = 0; then
31876 ac_path_to_link=""
31877 else
31878 ac_path_to_link=" -L$ac_find_libraries"
31879 fi
31880 fi
31881
31882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31883 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31884 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31885
31886 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31887 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31888 if test "${wx_cv_x11_xpm_h+set}" = set; then
31889 echo $ECHO_N "(cached) $ECHO_C" >&6
31890 else
31891
31892 save_CFLAGS=$CFLAGS
31893 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31894
31895 cat >conftest.$ac_ext <<_ACEOF
31896 /* confdefs.h. */
31897 _ACEOF
31898 cat confdefs.h >>conftest.$ac_ext
31899 cat >>conftest.$ac_ext <<_ACEOF
31900 /* end confdefs.h. */
31901
31902 #include <X11/xpm.h>
31903
31904 int
31905 main ()
31906 {
31907
31908 int version;
31909 version = XpmLibraryVersion();
31910
31911 ;
31912 return 0;
31913 }
31914 _ACEOF
31915 rm -f conftest.$ac_objext
31916 if { (ac_try="$ac_compile"
31917 case "(($ac_try" in
31918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31919 *) ac_try_echo=$ac_try;;
31920 esac
31921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31922 (eval "$ac_compile") 2>conftest.er1
31923 ac_status=$?
31924 grep -v '^ *+' conftest.er1 >conftest.err
31925 rm -f conftest.er1
31926 cat conftest.err >&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); } && {
31929 test -z "$ac_c_werror_flag" ||
31930 test ! -s conftest.err
31931 } && test -s conftest.$ac_objext; then
31932 wx_cv_x11_xpm_h=yes
31933 else
31934 echo "$as_me: failed program was:" >&5
31935 sed 's/^/| /' conftest.$ac_ext >&5
31936
31937 wx_cv_x11_xpm_h=no
31938
31939 fi
31940
31941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31942
31943 CFLAGS=$save_CFLAGS
31944
31945
31946 fi
31947 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31948 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31949
31950 if test $wx_cv_x11_xpm_h = "yes"; then
31951 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31952 cat >>confdefs.h <<\_ACEOF
31953 #define wxHAVE_LIB_XPM 1
31954 _ACEOF
31955
31956 else
31957 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31958 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31959 fi
31960 fi
31961
31962 fi
31963
31964 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31965 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31966 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31967 echo $ECHO_N "(cached) $ECHO_C" >&6
31968 else
31969 ac_check_lib_save_LIBS=$LIBS
31970 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $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 XShapeQueryExtension ();
31985 int
31986 main ()
31987 {
31988 return XShapeQueryExtension ();
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_Xext_XShapeQueryExtension=yes
32012 else
32013 echo "$as_me: failed program was:" >&5
32014 sed 's/^/| /' conftest.$ac_ext >&5
32015
32016 ac_cv_lib_Xext_XShapeQueryExtension=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_Xext_XShapeQueryExtension" >&5
32024 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32025 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32026
32027 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32028 wxHAVE_XEXT_LIB=1
32029
32030 fi
32031
32032
32033 if test "$wxHAVE_XEXT_LIB" = 1; then
32034 save_CFLAGS="$CFLAGS"
32035 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32036
32037 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32038 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32039 cat >conftest.$ac_ext <<_ACEOF
32040 /* confdefs.h. */
32041 _ACEOF
32042 cat confdefs.h >>conftest.$ac_ext
32043 cat >>conftest.$ac_ext <<_ACEOF
32044 /* end confdefs.h. */
32045
32046 #include <X11/Xlib.h>
32047 #include <X11/extensions/shape.h>
32048
32049 int
32050 main ()
32051 {
32052
32053 int dummy1, dummy2;
32054 XShapeQueryExtension((Display*)NULL,
32055 (int*)NULL, (int*)NULL);
32056
32057 ;
32058 return 0;
32059 }
32060 _ACEOF
32061 rm -f conftest.$ac_objext
32062 if { (ac_try="$ac_compile"
32063 case "(($ac_try" in
32064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32065 *) ac_try_echo=$ac_try;;
32066 esac
32067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32068 (eval "$ac_compile") 2>conftest.er1
32069 ac_status=$?
32070 grep -v '^ *+' conftest.er1 >conftest.err
32071 rm -f conftest.er1
32072 cat conftest.err >&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); } && {
32075 test -z "$ac_c_werror_flag" ||
32076 test ! -s conftest.err
32077 } && test -s conftest.$ac_objext; then
32078
32079 cat >>confdefs.h <<\_ACEOF
32080 #define HAVE_XSHAPE 1
32081 _ACEOF
32082
32083 { echo "$as_me:$LINENO: result: found" >&5
32084 echo "${ECHO_T}found" >&6; }
32085
32086 else
32087 echo "$as_me: failed program was:" >&5
32088 sed 's/^/| /' conftest.$ac_ext >&5
32089
32090
32091 { echo "$as_me:$LINENO: result: not found" >&5
32092 echo "${ECHO_T}not found" >&6; }
32093
32094 fi
32095
32096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32097 CFLAGS="$save_CFLAGS"
32098
32099 fi
32100 fi
32101
32102 if test "$wxUSE_MAC" = 1; then
32103 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32104 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32105 if test "$GCC" = yes; then
32106 { echo "$as_me:$LINENO: result: gcc" >&5
32107 echo "${ECHO_T}gcc" >&6; }
32108 CPPFLAGS_PASCAL="-fpascal-strings"
32109 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32110 { echo "$as_me:$LINENO: result: xlc" >&5
32111 echo "${ECHO_T}xlc" >&6; }
32112 CPPFLAGS_PASCAL="-qmacpstr"
32113 else
32114 { echo "$as_me:$LINENO: result: none" >&5
32115 echo "${ECHO_T}none" >&6; }
32116 fi
32117
32118 if test "x$wxUSE_UNIX" = "xyes"; then
32119 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32120 else
32121 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32122 fi
32123
32124 TOOLKIT=MAC
32125 GUIDIST=MACX_DIST
32126 WXBASEPORT="_carbon"
32127 fi
32128
32129 if test "$wxUSE_COCOA" = 1; then
32130 TOOLKIT=COCOA
32131 GUIDIST=COCOA_DIST
32132 fi
32133
32134 if test "$wxUSE_PM" = 1; then
32135 TOOLKIT=PM
32136 GUIDIST=PM_DIST
32137 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32138 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32139 if test "${wx_cv_spbcdata+set}" = set; then
32140 echo $ECHO_N "(cached) $ECHO_C" >&6
32141 else
32142
32143 cat >conftest.$ac_ext <<_ACEOF
32144 /* confdefs.h. */
32145 _ACEOF
32146 cat confdefs.h >>conftest.$ac_ext
32147 cat >>conftest.$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32149
32150 #define INCL_PM
32151 #include <os2.h>
32152
32153 int
32154 main ()
32155 {
32156
32157 SPBCDATA test;
32158
32159 ;
32160 return 0;
32161 }
32162 _ACEOF
32163 rm -f conftest.$ac_objext
32164 if { (ac_try="$ac_compile"
32165 case "(($ac_try" in
32166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32167 *) ac_try_echo=$ac_try;;
32168 esac
32169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32170 (eval "$ac_compile") 2>conftest.er1
32171 ac_status=$?
32172 grep -v '^ *+' conftest.er1 >conftest.err
32173 rm -f conftest.er1
32174 cat conftest.err >&5
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); } && {
32177 test -z "$ac_c_werror_flag" ||
32178 test ! -s conftest.err
32179 } && test -s conftest.$ac_objext; then
32180 wx_cv_spbcdata=yes
32181 else
32182 echo "$as_me: failed program was:" >&5
32183 sed 's/^/| /' conftest.$ac_ext >&5
32184
32185 wx_cv_spbcdata=no
32186
32187 fi
32188
32189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32190
32191
32192 fi
32193 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32194 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32195
32196 if test $wx_cv_spbcdata = "yes"; then
32197 cat >>confdefs.h <<\_ACEOF
32198 #define HAVE_SPBCDATA 1
32199 _ACEOF
32200
32201 fi
32202 fi
32203
32204 if test "$TOOLKIT" = "PM" ; then
32205 TOOLKIT_DIR="os2"
32206 else
32207 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32208 fi
32209
32210 if test "$wxUSE_UNIVERSAL" = "yes"; then
32211 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32212 WIDGET_SET=univ
32213 fi
32214
32215 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32216 DISTDIR="wx\$(TOOLKIT)"
32217 else
32218 USE_GUI=0
32219
32220 TOOLKIT_DIR="base"
32221
32222 if test "$USE_WIN32" = 1 ; then
32223 TOOLKIT="MSW"
32224 fi
32225
32226 GUIDIST="BASE_DIST"
32227 DISTDIR="wxBase"
32228 fi
32229
32230
32231
32232 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32233 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32234 wxUSE_UNICODE_UTF8=yes
32235 elif test "$USE_OS2" = 1 ; then
32236 wxUSE_UNICODE_UTF8=yes
32237 else
32238 wxUSE_UNICODE_UTF8=no
32239 fi
32240 fi
32241
32242
32243 if test "$wxUSE_GUI" = "yes"; then
32244 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32245
32246 for ac_header in X11/Xlib.h
32247 do
32248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32249 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32252 echo $ECHO_N "(cached) $ECHO_C" >&6
32253 else
32254 cat >conftest.$ac_ext <<_ACEOF
32255 /* confdefs.h. */
32256 _ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260
32261
32262 #include <$ac_header>
32263 _ACEOF
32264 rm -f conftest.$ac_objext
32265 if { (ac_try="$ac_compile"
32266 case "(($ac_try" in
32267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32268 *) ac_try_echo=$ac_try;;
32269 esac
32270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32271 (eval "$ac_compile") 2>conftest.er1
32272 ac_status=$?
32273 grep -v '^ *+' conftest.er1 >conftest.err
32274 rm -f conftest.er1
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } && {
32278 test -z "$ac_c_werror_flag" ||
32279 test ! -s conftest.err
32280 } && test -s conftest.$ac_objext; then
32281 eval "$as_ac_Header=yes"
32282 else
32283 echo "$as_me: failed program was:" >&5
32284 sed 's/^/| /' conftest.$ac_ext >&5
32285
32286 eval "$as_ac_Header=no"
32287 fi
32288
32289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32290 fi
32291 ac_res=`eval echo '${'$as_ac_Header'}'`
32292 { echo "$as_me:$LINENO: result: $ac_res" >&5
32293 echo "${ECHO_T}$ac_res" >&6; }
32294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32295 cat >>confdefs.h <<_ACEOF
32296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32297 _ACEOF
32298
32299 fi
32300
32301 done
32302
32303
32304 for ac_header in X11/XKBlib.h
32305 do
32306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32310 echo $ECHO_N "(cached) $ECHO_C" >&6
32311 else
32312 cat >conftest.$ac_ext <<_ACEOF
32313 /* confdefs.h. */
32314 _ACEOF
32315 cat confdefs.h >>conftest.$ac_ext
32316 cat >>conftest.$ac_ext <<_ACEOF
32317 /* end confdefs.h. */
32318
32319 #if HAVE_X11_XLIB_H
32320 #include <X11/Xlib.h>
32321 #endif
32322
32323
32324 #include <$ac_header>
32325 _ACEOF
32326 rm -f conftest.$ac_objext
32327 if { (ac_try="$ac_compile"
32328 case "(($ac_try" in
32329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32330 *) ac_try_echo=$ac_try;;
32331 esac
32332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32333 (eval "$ac_compile") 2>conftest.er1
32334 ac_status=$?
32335 grep -v '^ *+' conftest.er1 >conftest.err
32336 rm -f conftest.er1
32337 cat conftest.err >&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); } && {
32340 test -z "$ac_c_werror_flag" ||
32341 test ! -s conftest.err
32342 } && test -s conftest.$ac_objext; then
32343 eval "$as_ac_Header=yes"
32344 else
32345 echo "$as_me: failed program was:" >&5
32346 sed 's/^/| /' conftest.$ac_ext >&5
32347
32348 eval "$as_ac_Header=no"
32349 fi
32350
32351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32352 fi
32353 ac_res=`eval echo '${'$as_ac_Header'}'`
32354 { echo "$as_me:$LINENO: result: $ac_res" >&5
32355 echo "${ECHO_T}$ac_res" >&6; }
32356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32357 cat >>confdefs.h <<_ACEOF
32358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32359 _ACEOF
32360
32361 fi
32362
32363 done
32364
32365 fi
32366 fi
32367
32368
32369
32370 if test "$wxUSE_DISPLAY" = "yes"; then
32371 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32372 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32373 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32374
32375 ac_find_libraries=
32376 for ac_dir in $SEARCH_LIB;
32377 do
32378 for ac_extension in a so sl dylib dll.a; do
32379 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32380 ac_find_libraries=$ac_dir
32381 break 2
32382 fi
32383 done
32384 done
32385
32386 if test "$ac_find_libraries" != "" ; then
32387
32388 if test "$ac_find_libraries" = "default location"; then
32389 ac_path_to_link=""
32390 else
32391 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32392 result=$?
32393 if test $result = 0; then
32394 ac_path_to_link=""
32395 else
32396 ac_path_to_link=" -L$ac_find_libraries"
32397 fi
32398 fi
32399
32400 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32401 LDFLAGS="$LDFLAGS $ac_path_to_link"
32402 fi
32403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32404 { echo "$as_me:$LINENO: result: yes" >&5
32405 echo "${ECHO_T}yes" >&6; }
32406
32407 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32408 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32409
32410 ac_find_libraries=
32411 for ac_dir in $SEARCH_LIB;
32412 do
32413 for ac_extension in a so sl dylib dll.a; do
32414 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32415 ac_find_libraries=$ac_dir
32416 break 2
32417 fi
32418 done
32419 done
32420
32421 if test "$ac_find_libraries" != "" ; then
32422 { echo "$as_me:$LINENO: result: yes" >&5
32423 echo "${ECHO_T}yes" >&6; }
32424
32425 for ac_header in X11/extensions/xf86vmode.h
32426 do
32427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32431 echo $ECHO_N "(cached) $ECHO_C" >&6
32432 else
32433 cat >conftest.$ac_ext <<_ACEOF
32434 /* confdefs.h. */
32435 _ACEOF
32436 cat confdefs.h >>conftest.$ac_ext
32437 cat >>conftest.$ac_ext <<_ACEOF
32438 /* end confdefs.h. */
32439
32440 #if HAVE_X11_XLIB_H
32441 #include <X11/Xlib.h>
32442 #endif
32443
32444
32445 #include <$ac_header>
32446 _ACEOF
32447 rm -f conftest.$ac_objext
32448 if { (ac_try="$ac_compile"
32449 case "(($ac_try" in
32450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32451 *) ac_try_echo=$ac_try;;
32452 esac
32453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32454 (eval "$ac_compile") 2>conftest.er1
32455 ac_status=$?
32456 grep -v '^ *+' conftest.er1 >conftest.err
32457 rm -f conftest.er1
32458 cat conftest.err >&5
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); } && {
32461 test -z "$ac_c_werror_flag" ||
32462 test ! -s conftest.err
32463 } && test -s conftest.$ac_objext; then
32464 eval "$as_ac_Header=yes"
32465 else
32466 echo "$as_me: failed program was:" >&5
32467 sed 's/^/| /' conftest.$ac_ext >&5
32468
32469 eval "$as_ac_Header=no"
32470 fi
32471
32472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32473 fi
32474 ac_res=`eval echo '${'$as_ac_Header'}'`
32475 { echo "$as_me:$LINENO: result: $ac_res" >&5
32476 echo "${ECHO_T}$ac_res" >&6; }
32477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32478 cat >>confdefs.h <<_ACEOF
32479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32480 _ACEOF
32481
32482 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32483
32484 fi
32485
32486 done
32487
32488 else
32489 { echo "$as_me:$LINENO: result: no" >&5
32490 echo "${ECHO_T}no" >&6; }
32491 fi
32492
32493 else
32494 { echo "$as_me:$LINENO: result: no" >&5
32495 echo "${ECHO_T}no" >&6; }
32496 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32497 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32498 wxUSE_DISPLAY="no"
32499 fi
32500 elif test "$wxUSE_MSW" = 1; then
32501 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32502 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32503 if test "${ac_cv_header_ddraw_h+set}" = set; then
32504 echo $ECHO_N "(cached) $ECHO_C" >&6
32505 else
32506 cat >conftest.$ac_ext <<_ACEOF
32507 /* confdefs.h. */
32508 _ACEOF
32509 cat confdefs.h >>conftest.$ac_ext
32510 cat >>conftest.$ac_ext <<_ACEOF
32511 /* end confdefs.h. */
32512 #include <windows.h>
32513
32514 #include <ddraw.h>
32515 _ACEOF
32516 rm -f conftest.$ac_objext
32517 if { (ac_try="$ac_compile"
32518 case "(($ac_try" in
32519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32520 *) ac_try_echo=$ac_try;;
32521 esac
32522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32523 (eval "$ac_compile") 2>conftest.er1
32524 ac_status=$?
32525 grep -v '^ *+' conftest.er1 >conftest.err
32526 rm -f conftest.er1
32527 cat conftest.err >&5
32528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32529 (exit $ac_status); } && {
32530 test -z "$ac_c_werror_flag" ||
32531 test ! -s conftest.err
32532 } && test -s conftest.$ac_objext; then
32533 ac_cv_header_ddraw_h=yes
32534 else
32535 echo "$as_me: failed program was:" >&5
32536 sed 's/^/| /' conftest.$ac_ext >&5
32537
32538 ac_cv_header_ddraw_h=no
32539 fi
32540
32541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32542 fi
32543 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32544 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32545
32546
32547 fi
32548 fi
32549
32550 if test "$wxUSE_DETECT_SM" = "yes"; then
32551 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32552 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32553 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32554
32555 ac_find_libraries=
32556 for ac_dir in $SEARCH_LIB;
32557 do
32558 for ac_extension in a so sl dylib dll.a; do
32559 if test -f "$ac_dir/libSM.$ac_extension"; then
32560 ac_find_libraries=$ac_dir
32561 break 2
32562 fi
32563 done
32564 done
32565
32566 if test "$ac_find_libraries" != "" ; then
32567
32568 if test "$ac_find_libraries" = "default location"; then
32569 ac_path_to_link=""
32570 else
32571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32572 result=$?
32573 if test $result = 0; then
32574 ac_path_to_link=""
32575 else
32576 ac_path_to_link=" -L$ac_find_libraries"
32577 fi
32578 fi
32579
32580 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32581 LDFLAGS="$LDFLAGS $ac_path_to_link"
32582 fi
32583 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32584 { echo "$as_me:$LINENO: result: yes" >&5
32585 echo "${ECHO_T}yes" >&6; }
32586 else
32587 { echo "$as_me:$LINENO: result: no" >&5
32588 echo "${ECHO_T}no" >&6; }
32589 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32590 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32591 wxUSE_DETECT_SM="no"
32592 fi
32593 else
32594 wxUSE_DETECT_SM="no"
32595 fi
32596 fi
32597
32598
32599
32600 USE_OPENGL=0
32601 if test "$wxUSE_OPENGL" = "yes"; then
32602 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32603 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32604 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32605 wxUSE_OPENGL="no"
32606 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32607 OPENGL_LIBS="-framework OpenGL -framework AGL"
32608 elif test "$wxUSE_MSW" = 1; then
32609 OPENGL_LIBS="-lopengl32 -lglu32"
32610 else
32611 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32612 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32613
32614 ac_find_includes=
32615 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32616 do
32617 if test -f "$ac_dir/GL/gl.h"; then
32618 ac_find_includes=$ac_dir
32619 break
32620 fi
32621 done
32622
32623 if test "$ac_find_includes" != "" ; then
32624 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32625 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32626
32627 if test "x$ac_find_includes" = "x/usr/include"; then
32628 ac_path_to_include=""
32629 else
32630 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32631 result=$?
32632 if test $result = 0; then
32633 ac_path_to_include=""
32634 else
32635 ac_path_to_include=" -I$ac_find_includes"
32636 fi
32637 fi
32638
32639 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32640 else
32641 { echo "$as_me:$LINENO: result: not found" >&5
32642 echo "${ECHO_T}not found" >&6; }
32643 fi
32644
32645 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32646 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32647 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32648 echo $ECHO_N "(cached) $ECHO_C" >&6
32649 else
32650 cat >conftest.$ac_ext <<_ACEOF
32651 /* confdefs.h. */
32652 _ACEOF
32653 cat confdefs.h >>conftest.$ac_ext
32654 cat >>conftest.$ac_ext <<_ACEOF
32655 /* end confdefs.h. */
32656
32657
32658 #include <GL/gl.h>
32659 _ACEOF
32660 rm -f conftest.$ac_objext
32661 if { (ac_try="$ac_compile"
32662 case "(($ac_try" in
32663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32664 *) ac_try_echo=$ac_try;;
32665 esac
32666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32667 (eval "$ac_compile") 2>conftest.er1
32668 ac_status=$?
32669 grep -v '^ *+' conftest.er1 >conftest.err
32670 rm -f conftest.er1
32671 cat conftest.err >&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); } && {
32674 test -z "$ac_c_werror_flag" ||
32675 test ! -s conftest.err
32676 } && test -s conftest.$ac_objext; then
32677 ac_cv_header_GL_gl_h=yes
32678 else
32679 echo "$as_me: failed program was:" >&5
32680 sed 's/^/| /' conftest.$ac_ext >&5
32681
32682 ac_cv_header_GL_gl_h=no
32683 fi
32684
32685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32686 fi
32687 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32688 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32689 if test $ac_cv_header_GL_gl_h = yes; then
32690
32691 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32692 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32693 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32695 else
32696 cat >conftest.$ac_ext <<_ACEOF
32697 /* confdefs.h. */
32698 _ACEOF
32699 cat confdefs.h >>conftest.$ac_ext
32700 cat >>conftest.$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32702
32703
32704 #include <GL/glu.h>
32705 _ACEOF
32706 rm -f conftest.$ac_objext
32707 if { (ac_try="$ac_compile"
32708 case "(($ac_try" in
32709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32710 *) ac_try_echo=$ac_try;;
32711 esac
32712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32713 (eval "$ac_compile") 2>conftest.er1
32714 ac_status=$?
32715 grep -v '^ *+' conftest.er1 >conftest.err
32716 rm -f conftest.er1
32717 cat conftest.err >&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); } && {
32720 test -z "$ac_c_werror_flag" ||
32721 test ! -s conftest.err
32722 } && test -s conftest.$ac_objext; then
32723 ac_cv_header_GL_glu_h=yes
32724 else
32725 echo "$as_me: failed program was:" >&5
32726 sed 's/^/| /' conftest.$ac_ext >&5
32727
32728 ac_cv_header_GL_glu_h=no
32729 fi
32730
32731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32732 fi
32733 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32734 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32735 if test $ac_cv_header_GL_glu_h = yes; then
32736
32737 found_gl=0
32738
32739 { echo "$as_me:$LINENO: checking for -lGL" >&5
32740 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32741
32742 ac_find_libraries=
32743 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32744 do
32745 for ac_extension in a so sl dylib dll.a; do
32746 if test -f "$ac_dir/libGL.$ac_extension"; then
32747 ac_find_libraries=$ac_dir
32748 break 2
32749 fi
32750 done
32751 done
32752
32753 if test "$ac_find_libraries" != "" ; then
32754 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32755 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32756
32757
32758 if test "$ac_find_libraries" = "default location"; then
32759 ac_path_to_link=""
32760 else
32761 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32762 result=$?
32763 if test $result = 0; then
32764 ac_path_to_link=""
32765 else
32766 ac_path_to_link=" -L$ac_find_libraries"
32767 fi
32768 fi
32769
32770 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32771 LDFLAGS_GL="$ac_path_to_link"
32772 fi
32773
32774 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32775 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32776
32777 ac_find_libraries=
32778 for ac_dir in $SEARCH_LIB;
32779 do
32780 for ac_extension in a so sl dylib dll.a; do
32781 if test -f "$ac_dir/libGLU.$ac_extension"; then
32782 ac_find_libraries=$ac_dir
32783 break 2
32784 fi
32785 done
32786 done
32787
32788 if test "$ac_find_libraries" != "" ; then
32789
32790 if test "$ac_find_libraries" = "default location"; then
32791 ac_path_to_link=""
32792 else
32793 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32794 result=$?
32795 if test $result = 0; then
32796 ac_path_to_link=""
32797 else
32798 ac_path_to_link=" -L$ac_find_libraries"
32799 fi
32800 fi
32801
32802 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32803 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32804 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32805 fi
32806
32807 found_gl=1
32808 OPENGL_LIBS="-lGL -lGLU"
32809 { echo "$as_me:$LINENO: result: yes" >&5
32810 echo "${ECHO_T}yes" >&6; }
32811 else
32812 { echo "$as_me:$LINENO: result: no" >&5
32813 echo "${ECHO_T}no" >&6; }
32814 fi
32815 else
32816 { echo "$as_me:$LINENO: result: no" >&5
32817 echo "${ECHO_T}no" >&6; }
32818 fi
32819
32820 if test "$found_gl" != 1; then
32821 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32822 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32823
32824 ac_find_libraries=
32825 for ac_dir in $SEARCH_LIB;
32826 do
32827 for ac_extension in a so sl dylib dll.a; do
32828 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32829 ac_find_libraries=$ac_dir
32830 break 2
32831 fi
32832 done
32833 done
32834
32835 if test "$ac_find_libraries" != "" ; then
32836
32837 if test "$ac_find_libraries" = "default location"; then
32838 ac_path_to_link=""
32839 else
32840 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32841 result=$?
32842 if test $result = 0; then
32843 ac_path_to_link=""
32844 else
32845 ac_path_to_link=" -L$ac_find_libraries"
32846 fi
32847 fi
32848
32849 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32850 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32851 { echo "$as_me:$LINENO: result: yes" >&5
32852 echo "${ECHO_T}yes" >&6; }
32853 else
32854 { echo "$as_me:$LINENO: result: no" >&5
32855 echo "${ECHO_T}no" >&6; }
32856 fi
32857 fi
32858
32859 fi
32860
32861
32862
32863 fi
32864
32865
32866
32867 if test "x$OPENGL_LIBS" = "x"; then
32868 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32869 echo "$as_me: error: OpenGL libraries not available" >&2;}
32870 { (exit 1); exit 1; }; }
32871 fi
32872 fi
32873
32874 if test "$wxUSE_OPENGL" = "yes"; then
32875 USE_OPENGL=1
32876 cat >>confdefs.h <<\_ACEOF
32877 #define wxUSE_OPENGL 1
32878 _ACEOF
32879
32880 cat >>confdefs.h <<\_ACEOF
32881 #define wxUSE_GLCANVAS 1
32882 _ACEOF
32883
32884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32885 fi
32886 fi
32887
32888
32889 if test -n "$TOOLKIT" ; then
32890 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32891 fi
32892
32893
32894
32895 if test "$wxUSE_SHARED" = "yes"; then
32896 case "${host}" in
32897 *-pc-msdosdjgpp )
32898 wxUSE_SHARED=no
32899 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32900 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32901 ;;
32902 esac
32903 fi
32904
32905 if test "$wxUSE_SHARED" = "yes"; then
32906
32907
32908 case "${host}" in
32909 *-*-cygwin* | *-*-mingw* )
32910 wx_cv_version_script=no
32911 ;;
32912
32913 *)
32914 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32915 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32916 if test "${wx_cv_version_script+set}" = set; then
32917 echo $ECHO_N "(cached) $ECHO_C" >&6
32918 else
32919
32920 echo "VER_1 { *; };" >conftest.sym
32921 echo "int main() { return 0; }" >conftest.cpp
32922
32923 if { ac_try='
32924 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32925 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32928 ac_status=$?
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; } ; then
32931 if test -s conftest.stderr ; then
32932 wx_cv_version_script=no
32933 else
32934 wx_cv_version_script=yes
32935 fi
32936 else
32937 wx_cv_version_script=no
32938 fi
32939
32940 if test $wx_cv_version_script = yes
32941 then
32942 echo "struct B { virtual ~B() { } }; \
32943 struct D : public B { }; \
32944 void F() { D d; }" > conftest.cpp
32945
32946 if { ac_try='
32947 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32948 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32951 ac_status=$?
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; } &&
32954 { ac_try='
32955 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32956 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32958 (eval $ac_try) 2>&5
32959 ac_status=$?
32960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32961 (exit $ac_status); }; }
32962 then
32963 if { ac_try='
32964 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32965 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32967 (eval $ac_try) 2>&5
32968 ac_status=$?
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); }; }
32971 then
32972 wx_cv_version_script=yes
32973 else
32974 wx_cv_version_script=no
32975 fi
32976 fi
32977 fi
32978
32979 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32980 rm -f conftest1.output conftest2.output conftest3.output
32981
32982 fi
32983 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32984 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32985
32986 if test $wx_cv_version_script = yes ; then
32987 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32988 fi
32989 ;;
32990 esac
32991
32992
32993 if test "$wxUSE_VISIBILITY" != "no"; then
32994
32995
32996 if test -n "$GCC"; then
32997 CFLAGS_VISIBILITY="-fvisibility=hidden"
32998 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
32999 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33000 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33001 if test "${wx_cv_cc_visibility+set}" = set; then
33002 echo $ECHO_N "(cached) $ECHO_C" >&6
33003 else
33004
33005 wx_save_CXXFLAGS="$CXXFLAGS"
33006 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33007 ac_ext=cpp
33008 ac_cpp='$CXXCPP $CPPFLAGS'
33009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33012
33013 cat >conftest.$ac_ext <<_ACEOF
33014 /* confdefs.h. */
33015 _ACEOF
33016 cat confdefs.h >>conftest.$ac_ext
33017 cat >>conftest.$ac_ext <<_ACEOF
33018 /* end confdefs.h. */
33019
33020 /* we need gcc >= 4.0, older versions with visibility support
33021 didn't have class visibility: */
33022 #if defined(__GNUC__) && __GNUC__ < 4
33023 error this gcc is too old;
33024 #endif
33025
33026 /* visibility only makes sense for ELF shared libs: */
33027 #if !defined(__ELF__) && !defined(__APPLE__)
33028 error this platform has no visibility;
33029 #endif
33030
33031 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33032 extern __attribute__((__visibility__("default"))) int exportedvar;
33033 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33034 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33035 class __attribute__((__visibility__("default"))) Foo {
33036 Foo() {}
33037 };
33038
33039 int
33040 main ()
33041 {
33042
33043 ;
33044 return 0;
33045 }
33046 _ACEOF
33047 rm -f conftest.$ac_objext
33048 if { (ac_try="$ac_compile"
33049 case "(($ac_try" in
33050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33051 *) ac_try_echo=$ac_try;;
33052 esac
33053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33054 (eval "$ac_compile") 2>conftest.er1
33055 ac_status=$?
33056 grep -v '^ *+' conftest.er1 >conftest.err
33057 rm -f conftest.er1
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } && {
33061 test -z "$ac_cxx_werror_flag" ||
33062 test ! -s conftest.err
33063 } && test -s conftest.$ac_objext; then
33064 wx_cv_cc_visibility=yes
33065 else
33066 echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.$ac_ext >&5
33068
33069 wx_cv_cc_visibility=no
33070 fi
33071
33072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33073 ac_ext=c
33074 ac_cpp='$CPP $CPPFLAGS'
33075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33078
33079 CXXFLAGS="$wx_save_CXXFLAGS"
33080 fi
33081
33082 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33083 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33084 if test $wx_cv_cc_visibility = yes; then
33085 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33086 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33087 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33088 echo $ECHO_N "(cached) $ECHO_C" >&6
33089 else
33090
33091 wx_save_CXXFLAGS="$CXXFLAGS"
33092 wx_save_LDFLAGS="$LDFLAGS"
33093 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33094 LDFLAGS="$LDFLAGS -shared -fPIC"
33095 ac_ext=cpp
33096 ac_cpp='$CXXCPP $CPPFLAGS'
33097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33100
33101 cat >conftest.$ac_ext <<_ACEOF
33102 /* confdefs.h. */
33103 _ACEOF
33104 cat confdefs.h >>conftest.$ac_ext
33105 cat >>conftest.$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33107
33108 #include <string>
33109
33110 int
33111 main ()
33112 {
33113
33114 std::string s("hello");
33115 return s.length();
33116
33117 ;
33118 return 0;
33119 }
33120 _ACEOF
33121 rm -f conftest.$ac_objext conftest$ac_exeext
33122 if { (ac_try="$ac_link"
33123 case "(($ac_try" in
33124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33125 *) ac_try_echo=$ac_try;;
33126 esac
33127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33128 (eval "$ac_link") 2>conftest.er1
33129 ac_status=$?
33130 grep -v '^ *+' conftest.er1 >conftest.err
33131 rm -f conftest.er1
33132 cat conftest.err >&5
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); } && {
33135 test -z "$ac_cxx_werror_flag" ||
33136 test ! -s conftest.err
33137 } && test -s conftest$ac_exeext &&
33138 $as_test_x conftest$ac_exeext; then
33139 wx_cv_cc_broken_libstdcxx_visibility=no
33140 else
33141 echo "$as_me: failed program was:" >&5
33142 sed 's/^/| /' conftest.$ac_ext >&5
33143
33144 wx_cv_cc_broken_libstdcxx_visibility=yes
33145 fi
33146
33147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33148 conftest$ac_exeext conftest.$ac_ext
33149 ac_ext=c
33150 ac_cpp='$CPP $CPPFLAGS'
33151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33154
33155 CXXFLAGS="$wx_save_CXXFLAGS"
33156 LDFLAGS="$wx_save_LDFLAGS"
33157 fi
33158
33159 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33160 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33161
33162 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33163 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33164 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33165 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33166 echo $ECHO_N "(cached) $ECHO_C" >&6
33167 else
33168
33169 ac_ext=cpp
33170 ac_cpp='$CXXCPP $CPPFLAGS'
33171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33174
33175 cat >conftest.$ac_ext <<_ACEOF
33176 /* confdefs.h. */
33177 _ACEOF
33178 cat confdefs.h >>conftest.$ac_ext
33179 cat >>conftest.$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33181
33182 #pragma GCC visibility push(default)
33183 #include <string>
33184 #pragma GCC visibility pop
33185
33186 int
33187 main ()
33188 {
33189
33190 std::string s("hello");
33191 return s.length();
33192
33193 ;
33194 return 0;
33195 }
33196 _ACEOF
33197 rm -f conftest.$ac_objext conftest$ac_exeext
33198 if { (ac_try="$ac_link"
33199 case "(($ac_try" in
33200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33201 *) ac_try_echo=$ac_try;;
33202 esac
33203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33204 (eval "$ac_link") 2>conftest.er1
33205 ac_status=$?
33206 grep -v '^ *+' conftest.er1 >conftest.err
33207 rm -f conftest.er1
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } && {
33211 test -z "$ac_cxx_werror_flag" ||
33212 test ! -s conftest.err
33213 } && test -s conftest$ac_exeext &&
33214 $as_test_x conftest$ac_exeext; then
33215 wx_cv_cc_visibility_workaround=no
33216 else
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33219
33220 wx_cv_cc_visibility_workaround=yes
33221 fi
33222
33223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33224 conftest$ac_exeext conftest.$ac_ext
33225 ac_ext=c
33226 ac_cpp='$CPP $CPPFLAGS'
33227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33230
33231
33232 fi
33233
33234 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33235 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33236
33237 if test $wx_cv_cc_visibility_workaround = no; then
33238 wx_cv_cc_visibility=no
33239 fi
33240 fi
33241 fi
33242
33243 if test $wx_cv_cc_visibility = yes; then
33244 cat >>confdefs.h <<\_ACEOF
33245 #define HAVE_VISIBILITY 1
33246 _ACEOF
33247
33248 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33249 cat >>confdefs.h <<\_ACEOF
33250 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33251 _ACEOF
33252
33253 fi
33254 else
33255 CFLAGS_VISIBILITY=""
33256 CXXFLAGS_VISIBILITY=""
33257 fi
33258
33259
33260 fi
33261
33262 fi
33263
33264 if test "x$SUNCXX" = xyes; then
33265 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33266 WXCONFIG_RPATH="-R\$libdir"
33267 else
33268 case "${host}" in
33269 *-*-linux* | *-*-gnu* )
33270 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33271 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33272 ;;
33273
33274 *-*-solaris2* )
33275
33276 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33277
33278 saveLdflags="$LDFLAGS"
33279 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33280 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33281 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33282 cat >conftest.$ac_ext <<_ACEOF
33283 /* confdefs.h. */
33284 _ACEOF
33285 cat confdefs.h >>conftest.$ac_ext
33286 cat >>conftest.$ac_ext <<_ACEOF
33287 /* end confdefs.h. */
33288
33289 int
33290 main ()
33291 {
33292
33293 ;
33294 return 0;
33295 }
33296 _ACEOF
33297 rm -f conftest.$ac_objext conftest$ac_exeext
33298 if { (ac_try="$ac_link"
33299 case "(($ac_try" in
33300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33301 *) ac_try_echo=$ac_try;;
33302 esac
33303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33304 (eval "$ac_link") 2>conftest.er1
33305 ac_status=$?
33306 grep -v '^ *+' conftest.er1 >conftest.err
33307 rm -f conftest.er1
33308 cat conftest.err >&5
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); } && {
33311 test -z "$ac_c_werror_flag" ||
33312 test ! -s conftest.err
33313 } && test -s conftest$ac_exeext &&
33314 $as_test_x conftest$ac_exeext; then
33315
33316 { echo "$as_me:$LINENO: result: yes" >&5
33317 echo "${ECHO_T}yes" >&6; }
33318 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33319 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33320
33321 else
33322 echo "$as_me: failed program was:" >&5
33323 sed 's/^/| /' conftest.$ac_ext >&5
33324
33325
33326 { echo "$as_me:$LINENO: result: no" >&5
33327 echo "${ECHO_T}no" >&6; }
33328 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33329 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33330 LDFLAGS="$saveLdflags -Wl,-R,/"
33331 cat >conftest.$ac_ext <<_ACEOF
33332 /* confdefs.h. */
33333 _ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337
33338 int
33339 main ()
33340 {
33341
33342 ;
33343 return 0;
33344 }
33345 _ACEOF
33346 rm -f conftest.$ac_objext conftest$ac_exeext
33347 if { (ac_try="$ac_link"
33348 case "(($ac_try" in
33349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33350 *) ac_try_echo=$ac_try;;
33351 esac
33352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33353 (eval "$ac_link") 2>conftest.er1
33354 ac_status=$?
33355 grep -v '^ *+' conftest.er1 >conftest.err
33356 rm -f conftest.er1
33357 cat conftest.err >&5
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); } && {
33360 test -z "$ac_c_werror_flag" ||
33361 test ! -s conftest.err
33362 } && test -s conftest$ac_exeext &&
33363 $as_test_x conftest$ac_exeext; then
33364
33365 { echo "$as_me:$LINENO: result: yes" >&5
33366 echo "${ECHO_T}yes" >&6; }
33367 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33368 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33369
33370 else
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.$ac_ext >&5
33373
33374
33375 { echo "$as_me:$LINENO: result: no" >&5
33376 echo "${ECHO_T}no" >&6; }
33377
33378 fi
33379
33380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33381 conftest$ac_exeext conftest.$ac_ext
33382
33383 fi
33384
33385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33386 conftest$ac_exeext conftest.$ac_ext
33387 LDFLAGS="$saveLdflags"
33388 ;;
33389
33390 *-*-darwin* )
33391 install_name_tool=`which install_name_tool`
33392 if test "$install_name_tool" -a -x "$install_name_tool"; then
33393 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33394 cat <<EOF >change-install-names
33395 #!/bin/sh
33396 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33397 inst_cmd="install_name_tool "
33398 for i in \${libnames} ; do
33399 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33400 done
33401 \${inst_cmd} \${3}
33402 EOF
33403 chmod +x change-install-names
33404 fi
33405 ;;
33406
33407 *-*-cygwin* | *-*-mingw32* )
33408 ;;
33409
33410 *-*-hpux* )
33411 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33412 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33413 ;;
33414
33415 esac
33416 fi
33417
33418 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33419
33420 if test $wxUSE_RPATH = "no"; then
33421 SAMPLES_RPATH_FLAG=''
33422 SAMPLES_RPATH_POSTLINK=''
33423 WXCONFIG_RPATH=''
33424 fi
33425
33426 SHARED=1
33427
33428 else
33429
33430 config_linkage_component="-static"
33431 SHARED=0
33432
33433 fi
33434
33435
33436 UNICODE=0
33437 lib_unicode_suffix=
33438 WX_CHARTYPE="ansi"
33439 if test "$wxUSE_UNICODE" = "yes"; then
33440 lib_unicode_suffix=u
33441 WX_CHARTYPE="unicode"
33442 UNICODE=1
33443 fi
33444
33445 lib_debug_suffix=
33446 WX_DEBUGTYPE="release"
33447 DEBUG_FLAG=0
33448 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33449 lib_debug_suffix=d
33450 WX_DEBUGTYPE="debug"
33451 DEBUG_FLAG=1
33452 fi
33453
33454 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33455 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33456
33457 DEBUG_INFO=0
33458 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33459 DEBUG_INFO=1
33460 fi
33461
33462 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33463
33464 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33465
33466 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33467
33468 if test "$cross_compiling" = "yes"; then
33469 HOST_SUFFIX="-$host_alias"
33470 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33471 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33472 fi
33473
33474 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33475 if test "${TOOLKIT_DIR}" = "os2"; then
33476 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33477 else
33478 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33479 fi
33480
33481
33482
33483 if test "$wxUSE_COCOA" = 1; then
33484
33485 ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33490
33491 ac_ext=m
33492
33493 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33494 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33495 cat >conftest.$ac_ext <<_ACEOF
33496 /* confdefs.h. */
33497 _ACEOF
33498 cat confdefs.h >>conftest.$ac_ext
33499 cat >>conftest.$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33501 #include <AppKit/NSEvent.h>
33502 #include <CoreFoundation/CoreFoundation.h>
33503
33504 int
33505 main ()
33506 {
33507
33508 ;
33509 return 0;
33510 }
33511 _ACEOF
33512 rm -f conftest.$ac_objext
33513 if { (ac_try="$ac_compile"
33514 case "(($ac_try" in
33515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33516 *) ac_try_echo=$ac_try;;
33517 esac
33518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33519 (eval "$ac_compile") 2>conftest.er1
33520 ac_status=$?
33521 grep -v '^ *+' conftest.er1 >conftest.err
33522 rm -f conftest.er1
33523 cat conftest.err >&5
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); } && {
33526 test -z "$ac_c_werror_flag" ||
33527 test ! -s conftest.err
33528 } && test -s conftest.$ac_objext; then
33529 { echo "$as_me:$LINENO: result: no" >&5
33530 echo "${ECHO_T}no" >&6; }
33531 else
33532 echo "$as_me: failed program was:" >&5
33533 sed 's/^/| /' conftest.$ac_ext >&5
33534
33535 { echo "$as_me:$LINENO: result: yes" >&5
33536 echo "${ECHO_T}yes" >&6; }
33537 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33538 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33539 cat >conftest.$ac_ext <<_ACEOF
33540 /* confdefs.h. */
33541 _ACEOF
33542 cat confdefs.h >>conftest.$ac_ext
33543 cat >>conftest.$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33545 #define __Point__ 1
33546 #include <AppKit/NSEvent.h>
33547 #include <CoreFoundation/CoreFoundation.h>
33548
33549 int
33550 main ()
33551 {
33552
33553 ;
33554 return 0;
33555 }
33556 _ACEOF
33557 rm -f conftest.$ac_objext
33558 if { (ac_try="$ac_compile"
33559 case "(($ac_try" in
33560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33561 *) ac_try_echo=$ac_try;;
33562 esac
33563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33564 (eval "$ac_compile") 2>conftest.er1
33565 ac_status=$?
33566 grep -v '^ *+' conftest.er1 >conftest.err
33567 rm -f conftest.er1
33568 cat conftest.err >&5
33569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33570 (exit $ac_status); } && {
33571 test -z "$ac_c_werror_flag" ||
33572 test ! -s conftest.err
33573 } && test -s conftest.$ac_objext; then
33574 { echo "$as_me:$LINENO: result: yes" >&5
33575 echo "${ECHO_T}yes" >&6; }
33576 cat >>confdefs.h <<\_ACEOF
33577 #define __Point__ 1
33578 _ACEOF
33579
33580
33581 else
33582 echo "$as_me: failed program was:" >&5
33583 sed 's/^/| /' conftest.$ac_ext >&5
33584
33585 { { echo "$as_me:$LINENO: error: no
33586 See \`config.log' for more details." >&5
33587 echo "$as_me: error: no
33588 See \`config.log' for more details." >&2;}
33589 { (exit 1); exit 1; }; }
33590
33591 fi
33592
33593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33594
33595 fi
33596
33597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33598 ac_ext=c
33599 ac_cpp='$CPP $CPPFLAGS'
33600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33603
33604 fi
33605
33606
33607 { echo "$as_me:$LINENO: checking for mode_t" >&5
33608 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33609 if test "${ac_cv_type_mode_t+set}" = set; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33611 else
33612 cat >conftest.$ac_ext <<_ACEOF
33613 /* confdefs.h. */
33614 _ACEOF
33615 cat confdefs.h >>conftest.$ac_ext
33616 cat >>conftest.$ac_ext <<_ACEOF
33617 /* end confdefs.h. */
33618 $ac_includes_default
33619 typedef mode_t ac__type_new_;
33620 int
33621 main ()
33622 {
33623 if ((ac__type_new_ *) 0)
33624 return 0;
33625 if (sizeof (ac__type_new_))
33626 return 0;
33627 ;
33628 return 0;
33629 }
33630 _ACEOF
33631 rm -f conftest.$ac_objext
33632 if { (ac_try="$ac_compile"
33633 case "(($ac_try" in
33634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33635 *) ac_try_echo=$ac_try;;
33636 esac
33637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33638 (eval "$ac_compile") 2>conftest.er1
33639 ac_status=$?
33640 grep -v '^ *+' conftest.er1 >conftest.err
33641 rm -f conftest.er1
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } && {
33645 test -z "$ac_c_werror_flag" ||
33646 test ! -s conftest.err
33647 } && test -s conftest.$ac_objext; then
33648 ac_cv_type_mode_t=yes
33649 else
33650 echo "$as_me: failed program was:" >&5
33651 sed 's/^/| /' conftest.$ac_ext >&5
33652
33653 ac_cv_type_mode_t=no
33654 fi
33655
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33657 fi
33658 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33659 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33660 if test $ac_cv_type_mode_t = yes; then
33661 :
33662 else
33663
33664 cat >>confdefs.h <<_ACEOF
33665 #define mode_t int
33666 _ACEOF
33667
33668 fi
33669
33670 { echo "$as_me:$LINENO: checking for off_t" >&5
33671 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33672 if test "${ac_cv_type_off_t+set}" = set; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33674 else
33675 cat >conftest.$ac_ext <<_ACEOF
33676 /* confdefs.h. */
33677 _ACEOF
33678 cat confdefs.h >>conftest.$ac_ext
33679 cat >>conftest.$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33681 $ac_includes_default
33682 typedef off_t ac__type_new_;
33683 int
33684 main ()
33685 {
33686 if ((ac__type_new_ *) 0)
33687 return 0;
33688 if (sizeof (ac__type_new_))
33689 return 0;
33690 ;
33691 return 0;
33692 }
33693 _ACEOF
33694 rm -f conftest.$ac_objext
33695 if { (ac_try="$ac_compile"
33696 case "(($ac_try" in
33697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33698 *) ac_try_echo=$ac_try;;
33699 esac
33700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33701 (eval "$ac_compile") 2>conftest.er1
33702 ac_status=$?
33703 grep -v '^ *+' conftest.er1 >conftest.err
33704 rm -f conftest.er1
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } && {
33708 test -z "$ac_c_werror_flag" ||
33709 test ! -s conftest.err
33710 } && test -s conftest.$ac_objext; then
33711 ac_cv_type_off_t=yes
33712 else
33713 echo "$as_me: failed program was:" >&5
33714 sed 's/^/| /' conftest.$ac_ext >&5
33715
33716 ac_cv_type_off_t=no
33717 fi
33718
33719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33720 fi
33721 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33722 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33723 if test $ac_cv_type_off_t = yes; then
33724 :
33725 else
33726
33727 cat >>confdefs.h <<_ACEOF
33728 #define off_t long int
33729 _ACEOF
33730
33731 fi
33732
33733 { echo "$as_me:$LINENO: checking for pid_t" >&5
33734 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33735 if test "${ac_cv_type_pid_t+set}" = set; then
33736 echo $ECHO_N "(cached) $ECHO_C" >&6
33737 else
33738 cat >conftest.$ac_ext <<_ACEOF
33739 /* confdefs.h. */
33740 _ACEOF
33741 cat confdefs.h >>conftest.$ac_ext
33742 cat >>conftest.$ac_ext <<_ACEOF
33743 /* end confdefs.h. */
33744 $ac_includes_default
33745 typedef pid_t ac__type_new_;
33746 int
33747 main ()
33748 {
33749 if ((ac__type_new_ *) 0)
33750 return 0;
33751 if (sizeof (ac__type_new_))
33752 return 0;
33753 ;
33754 return 0;
33755 }
33756 _ACEOF
33757 rm -f conftest.$ac_objext
33758 if { (ac_try="$ac_compile"
33759 case "(($ac_try" in
33760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33761 *) ac_try_echo=$ac_try;;
33762 esac
33763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33764 (eval "$ac_compile") 2>conftest.er1
33765 ac_status=$?
33766 grep -v '^ *+' conftest.er1 >conftest.err
33767 rm -f conftest.er1
33768 cat conftest.err >&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); } && {
33771 test -z "$ac_c_werror_flag" ||
33772 test ! -s conftest.err
33773 } && test -s conftest.$ac_objext; then
33774 ac_cv_type_pid_t=yes
33775 else
33776 echo "$as_me: failed program was:" >&5
33777 sed 's/^/| /' conftest.$ac_ext >&5
33778
33779 ac_cv_type_pid_t=no
33780 fi
33781
33782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33783 fi
33784 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33785 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33786 if test $ac_cv_type_pid_t = yes; then
33787 :
33788 else
33789
33790 cat >>confdefs.h <<_ACEOF
33791 #define pid_t int
33792 _ACEOF
33793
33794 fi
33795
33796 { echo "$as_me:$LINENO: checking for size_t" >&5
33797 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33798 if test "${ac_cv_type_size_t+set}" = set; then
33799 echo $ECHO_N "(cached) $ECHO_C" >&6
33800 else
33801 cat >conftest.$ac_ext <<_ACEOF
33802 /* confdefs.h. */
33803 _ACEOF
33804 cat confdefs.h >>conftest.$ac_ext
33805 cat >>conftest.$ac_ext <<_ACEOF
33806 /* end confdefs.h. */
33807 $ac_includes_default
33808 typedef size_t ac__type_new_;
33809 int
33810 main ()
33811 {
33812 if ((ac__type_new_ *) 0)
33813 return 0;
33814 if (sizeof (ac__type_new_))
33815 return 0;
33816 ;
33817 return 0;
33818 }
33819 _ACEOF
33820 rm -f conftest.$ac_objext
33821 if { (ac_try="$ac_compile"
33822 case "(($ac_try" in
33823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33824 *) ac_try_echo=$ac_try;;
33825 esac
33826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33827 (eval "$ac_compile") 2>conftest.er1
33828 ac_status=$?
33829 grep -v '^ *+' conftest.er1 >conftest.err
33830 rm -f conftest.er1
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } && {
33834 test -z "$ac_c_werror_flag" ||
33835 test ! -s conftest.err
33836 } && test -s conftest.$ac_objext; then
33837 ac_cv_type_size_t=yes
33838 else
33839 echo "$as_me: failed program was:" >&5
33840 sed 's/^/| /' conftest.$ac_ext >&5
33841
33842 ac_cv_type_size_t=no
33843 fi
33844
33845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33846 fi
33847 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33848 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33849 if test $ac_cv_type_size_t = yes; then
33850 :
33851 else
33852
33853 cat >>confdefs.h <<_ACEOF
33854 #define size_t unsigned int
33855 _ACEOF
33856
33857 fi
33858
33859
33860 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33861 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33862 if test "${ac_cv_type_ssize_t+set}" = set; then
33863 echo $ECHO_N "(cached) $ECHO_C" >&6
33864 else
33865 cat >conftest.$ac_ext <<_ACEOF
33866 /* confdefs.h. */
33867 _ACEOF
33868 cat confdefs.h >>conftest.$ac_ext
33869 cat >>conftest.$ac_ext <<_ACEOF
33870 /* end confdefs.h. */
33871 $ac_includes_default
33872 typedef ssize_t ac__type_new_;
33873 int
33874 main ()
33875 {
33876 if ((ac__type_new_ *) 0)
33877 return 0;
33878 if (sizeof (ac__type_new_))
33879 return 0;
33880 ;
33881 return 0;
33882 }
33883 _ACEOF
33884 rm -f conftest.$ac_objext
33885 if { (ac_try="$ac_compile"
33886 case "(($ac_try" in
33887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33888 *) ac_try_echo=$ac_try;;
33889 esac
33890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33891 (eval "$ac_compile") 2>conftest.er1
33892 ac_status=$?
33893 grep -v '^ *+' conftest.er1 >conftest.err
33894 rm -f conftest.er1
33895 cat conftest.err >&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } && {
33898 test -z "$ac_c_werror_flag" ||
33899 test ! -s conftest.err
33900 } && test -s conftest.$ac_objext; then
33901 ac_cv_type_ssize_t=yes
33902 else
33903 echo "$as_me: failed program was:" >&5
33904 sed 's/^/| /' conftest.$ac_ext >&5
33905
33906 ac_cv_type_ssize_t=no
33907 fi
33908
33909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33910 fi
33911 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33912 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33913 if test $ac_cv_type_ssize_t = yes; then
33914
33915 cat >>confdefs.h <<_ACEOF
33916 #define HAVE_SSIZE_T 1
33917 _ACEOF
33918
33919
33920 fi
33921
33922
33923 ac_ext=cpp
33924 ac_cpp='$CXXCPP $CPPFLAGS'
33925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33928 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33929 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33930 if test "${wx_cv_size_t_is_uint+set}" = set; then
33931 echo $ECHO_N "(cached) $ECHO_C" >&6
33932 else
33933
33934 cat >conftest.$ac_ext <<_ACEOF
33935 /* confdefs.h. */
33936 _ACEOF
33937 cat confdefs.h >>conftest.$ac_ext
33938 cat >>conftest.$ac_ext <<_ACEOF
33939 /* end confdefs.h. */
33940 #include <stddef.h>
33941 int
33942 main ()
33943 {
33944
33945 return 0; }
33946
33947 struct Foo { void foo(size_t); void foo(unsigned int); };
33948
33949 int bar() {
33950
33951 ;
33952 return 0;
33953 }
33954 _ACEOF
33955 rm -f conftest.$ac_objext
33956 if { (ac_try="$ac_compile"
33957 case "(($ac_try" in
33958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33959 *) ac_try_echo=$ac_try;;
33960 esac
33961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33962 (eval "$ac_compile") 2>conftest.er1
33963 ac_status=$?
33964 grep -v '^ *+' conftest.er1 >conftest.err
33965 rm -f conftest.er1
33966 cat conftest.err >&5
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); } && {
33969 test -z "$ac_cxx_werror_flag" ||
33970 test ! -s conftest.err
33971 } && test -s conftest.$ac_objext; then
33972 wx_cv_size_t_is_uint=no
33973 else
33974 echo "$as_me: failed program was:" >&5
33975 sed 's/^/| /' conftest.$ac_ext >&5
33976
33977 wx_cv_size_t_is_uint=yes
33978
33979 fi
33980
33981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33982
33983
33984 fi
33985 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33986 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33987
33988 if test "$wx_cv_size_t_is_uint" = "yes"; then
33989 cat >>confdefs.h <<\_ACEOF
33990 #define wxSIZE_T_IS_UINT 1
33991 _ACEOF
33992
33993 else
33994 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33995 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33996 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33997 echo $ECHO_N "(cached) $ECHO_C" >&6
33998 else
33999 cat >conftest.$ac_ext <<_ACEOF
34000 /* confdefs.h. */
34001 _ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34005 #include <stddef.h>
34006 int
34007 main ()
34008 {
34009
34010 return 0; }
34011
34012 struct Foo { void foo(size_t); void foo(unsigned long); };
34013
34014 int bar() {
34015
34016 ;
34017 return 0;
34018 }
34019 _ACEOF
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024 *) ac_try_echo=$ac_try;;
34025 esac
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34028 ac_status=$?
34029 grep -v '^ *+' conftest.er1 >conftest.err
34030 rm -f conftest.er1
34031 cat conftest.err >&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_cxx_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.$ac_objext; then
34037 wx_cv_size_t_is_ulong=no
34038 else
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34041
34042 wx_cv_size_t_is_ulong=yes
34043
34044 fi
34045
34046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34047
34048 fi
34049 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34050 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34051
34052 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34053 cat >>confdefs.h <<\_ACEOF
34054 #define wxSIZE_T_IS_ULONG 1
34055 _ACEOF
34056
34057 fi
34058 fi
34059
34060 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34061 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34062 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34063 echo $ECHO_N "(cached) $ECHO_C" >&6
34064 else
34065 cat >conftest.$ac_ext <<_ACEOF
34066 /* confdefs.h. */
34067 _ACEOF
34068 cat confdefs.h >>conftest.$ac_ext
34069 cat >>conftest.$ac_ext <<_ACEOF
34070 /* end confdefs.h. */
34071 #include <wchar.h>
34072 int
34073 main ()
34074 {
34075
34076 return 0; }
34077
34078 struct Foo { void foo(wchar_t);
34079 void foo(unsigned short);
34080 void foo(unsigned int);
34081 void foo(unsigned long); };
34082
34083 int bar() {
34084
34085 ;
34086 return 0;
34087 }
34088 _ACEOF
34089 rm -f conftest.$ac_objext
34090 if { (ac_try="$ac_compile"
34091 case "(($ac_try" in
34092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34093 *) ac_try_echo=$ac_try;;
34094 esac
34095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34096 (eval "$ac_compile") 2>conftest.er1
34097 ac_status=$?
34098 grep -v '^ *+' conftest.er1 >conftest.err
34099 rm -f conftest.er1
34100 cat conftest.err >&5
34101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34102 (exit $ac_status); } && {
34103 test -z "$ac_cxx_werror_flag" ||
34104 test ! -s conftest.err
34105 } && test -s conftest.$ac_objext; then
34106 wx_cv_wchar_t_is_separate_type=yes
34107 else
34108 echo "$as_me: failed program was:" >&5
34109 sed 's/^/| /' conftest.$ac_ext >&5
34110
34111 wx_cv_wchar_t_is_separate_type=no
34112
34113 fi
34114
34115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34116
34117 fi
34118 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34119 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34120
34121 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34122 cat >>confdefs.h <<\_ACEOF
34123 #define wxWCHAR_T_IS_REAL_TYPE 1
34124 _ACEOF
34125
34126 else
34127 cat >>confdefs.h <<\_ACEOF
34128 #define wxWCHAR_T_IS_REAL_TYPE 0
34129 _ACEOF
34130
34131 fi
34132
34133 ac_ext=c
34134 ac_cpp='$CPP $CPPFLAGS'
34135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34138
34139
34140 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34141 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34142 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34143 echo $ECHO_N "(cached) $ECHO_C" >&6
34144 else
34145
34146 cat >conftest.$ac_ext <<_ACEOF
34147 /* confdefs.h. */
34148 _ACEOF
34149 cat confdefs.h >>conftest.$ac_ext
34150 cat >>conftest.$ac_ext <<_ACEOF
34151 /* end confdefs.h. */
34152 #include <pwd.h>
34153 int
34154 main ()
34155 {
34156
34157 char *p;
34158 struct passwd *pw;
34159 p = pw->pw_gecos;
34160
34161 ;
34162 return 0;
34163 }
34164 _ACEOF
34165 rm -f conftest.$ac_objext
34166 if { (ac_try="$ac_compile"
34167 case "(($ac_try" in
34168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34169 *) ac_try_echo=$ac_try;;
34170 esac
34171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34172 (eval "$ac_compile") 2>conftest.er1
34173 ac_status=$?
34174 grep -v '^ *+' conftest.er1 >conftest.err
34175 rm -f conftest.er1
34176 cat conftest.err >&5
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); } && {
34179 test -z "$ac_c_werror_flag" ||
34180 test ! -s conftest.err
34181 } && test -s conftest.$ac_objext; then
34182
34183 wx_cv_struct_pw_gecos=yes
34184
34185 else
34186 echo "$as_me: failed program was:" >&5
34187 sed 's/^/| /' conftest.$ac_ext >&5
34188
34189
34190 wx_cv_struct_pw_gecos=no
34191
34192
34193 fi
34194
34195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34196
34197
34198 fi
34199 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34200 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34201
34202 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34203 cat >>confdefs.h <<\_ACEOF
34204 #define HAVE_PW_GECOS 1
34205 _ACEOF
34206
34207 fi
34208
34209
34210 if test "$wxUSE_WCHAR_T" = "yes"; then
34211 cat >>confdefs.h <<\_ACEOF
34212 #define wxUSE_WCHAR_T 1
34213 _ACEOF
34214
34215
34216 WCSLEN_FOUND=0
34217 WCHAR_LINK=
34218
34219 for ac_func in wcslen
34220 do
34221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34222 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34224 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34225 echo $ECHO_N "(cached) $ECHO_C" >&6
34226 else
34227 cat >conftest.$ac_ext <<_ACEOF
34228 /* confdefs.h. */
34229 _ACEOF
34230 cat confdefs.h >>conftest.$ac_ext
34231 cat >>conftest.$ac_ext <<_ACEOF
34232 /* end confdefs.h. */
34233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34235 #define $ac_func innocuous_$ac_func
34236
34237 /* System header to define __stub macros and hopefully few prototypes,
34238 which can conflict with char $ac_func (); below.
34239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34240 <limits.h> exists even on freestanding compilers. */
34241
34242 #ifdef __STDC__
34243 # include <limits.h>
34244 #else
34245 # include <assert.h>
34246 #endif
34247
34248 #undef $ac_func
34249
34250 /* Override any GCC internal prototype to avoid an error.
34251 Use char because int might match the return type of a GCC
34252 builtin and then its argument prototype would still apply. */
34253 #ifdef __cplusplus
34254 extern "C"
34255 #endif
34256 char $ac_func ();
34257 /* The GNU C library defines this for functions which it implements
34258 to always fail with ENOSYS. Some functions are actually named
34259 something starting with __ and the normal name is an alias. */
34260 #if defined __stub_$ac_func || defined __stub___$ac_func
34261 choke me
34262 #endif
34263
34264 int
34265 main ()
34266 {
34267 return $ac_func ();
34268 ;
34269 return 0;
34270 }
34271 _ACEOF
34272 rm -f conftest.$ac_objext conftest$ac_exeext
34273 if { (ac_try="$ac_link"
34274 case "(($ac_try" in
34275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34276 *) ac_try_echo=$ac_try;;
34277 esac
34278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34279 (eval "$ac_link") 2>conftest.er1
34280 ac_status=$?
34281 grep -v '^ *+' conftest.er1 >conftest.err
34282 rm -f conftest.er1
34283 cat conftest.err >&5
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); } && {
34286 test -z "$ac_c_werror_flag" ||
34287 test ! -s conftest.err
34288 } && test -s conftest$ac_exeext &&
34289 $as_test_x conftest$ac_exeext; then
34290 eval "$as_ac_var=yes"
34291 else
34292 echo "$as_me: failed program was:" >&5
34293 sed 's/^/| /' conftest.$ac_ext >&5
34294
34295 eval "$as_ac_var=no"
34296 fi
34297
34298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34299 conftest$ac_exeext conftest.$ac_ext
34300 fi
34301 ac_res=`eval echo '${'$as_ac_var'}'`
34302 { echo "$as_me:$LINENO: result: $ac_res" >&5
34303 echo "${ECHO_T}$ac_res" >&6; }
34304 if test `eval echo '${'$as_ac_var'}'` = yes; then
34305 cat >>confdefs.h <<_ACEOF
34306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34307 _ACEOF
34308 WCSLEN_FOUND=1
34309 fi
34310 done
34311
34312
34313 if test "$WCSLEN_FOUND" = 0; then
34314 if test "$TOOLKIT" = "MSW"; then
34315 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34316 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34317 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34318 echo $ECHO_N "(cached) $ECHO_C" >&6
34319 else
34320 ac_check_lib_save_LIBS=$LIBS
34321 LIBS="-lmsvcrt $LIBS"
34322 cat >conftest.$ac_ext <<_ACEOF
34323 /* confdefs.h. */
34324 _ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h. */
34328
34329 /* Override any GCC internal prototype to avoid an error.
34330 Use char because int might match the return type of a GCC
34331 builtin and then its argument prototype would still apply. */
34332 #ifdef __cplusplus
34333 extern "C"
34334 #endif
34335 char wcslen ();
34336 int
34337 main ()
34338 {
34339 return wcslen ();
34340 ;
34341 return 0;
34342 }
34343 _ACEOF
34344 rm -f conftest.$ac_objext conftest$ac_exeext
34345 if { (ac_try="$ac_link"
34346 case "(($ac_try" in
34347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34348 *) ac_try_echo=$ac_try;;
34349 esac
34350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34351 (eval "$ac_link") 2>conftest.er1
34352 ac_status=$?
34353 grep -v '^ *+' conftest.er1 >conftest.err
34354 rm -f conftest.er1
34355 cat conftest.err >&5
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); } && {
34358 test -z "$ac_c_werror_flag" ||
34359 test ! -s conftest.err
34360 } && test -s conftest$ac_exeext &&
34361 $as_test_x conftest$ac_exeext; then
34362 ac_cv_lib_msvcrt_wcslen=yes
34363 else
34364 echo "$as_me: failed program was:" >&5
34365 sed 's/^/| /' conftest.$ac_ext >&5
34366
34367 ac_cv_lib_msvcrt_wcslen=no
34368 fi
34369
34370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34371 conftest$ac_exeext conftest.$ac_ext
34372 LIBS=$ac_check_lib_save_LIBS
34373 fi
34374 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34375 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34376 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34377 WCHAR_OK=1
34378 fi
34379
34380 else
34381 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34382 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34383 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 else
34386 ac_check_lib_save_LIBS=$LIBS
34387 LIBS="-lw $LIBS"
34388 cat >conftest.$ac_ext <<_ACEOF
34389 /* confdefs.h. */
34390 _ACEOF
34391 cat confdefs.h >>conftest.$ac_ext
34392 cat >>conftest.$ac_ext <<_ACEOF
34393 /* end confdefs.h. */
34394
34395 /* Override any GCC internal prototype to avoid an error.
34396 Use char because int might match the return type of a GCC
34397 builtin and then its argument prototype would still apply. */
34398 #ifdef __cplusplus
34399 extern "C"
34400 #endif
34401 char wcslen ();
34402 int
34403 main ()
34404 {
34405 return wcslen ();
34406 ;
34407 return 0;
34408 }
34409 _ACEOF
34410 rm -f conftest.$ac_objext conftest$ac_exeext
34411 if { (ac_try="$ac_link"
34412 case "(($ac_try" in
34413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34414 *) ac_try_echo=$ac_try;;
34415 esac
34416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34417 (eval "$ac_link") 2>conftest.er1
34418 ac_status=$?
34419 grep -v '^ *+' conftest.er1 >conftest.err
34420 rm -f conftest.er1
34421 cat conftest.err >&5
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); } && {
34424 test -z "$ac_c_werror_flag" ||
34425 test ! -s conftest.err
34426 } && test -s conftest$ac_exeext &&
34427 $as_test_x conftest$ac_exeext; then
34428 ac_cv_lib_w_wcslen=yes
34429 else
34430 echo "$as_me: failed program was:" >&5
34431 sed 's/^/| /' conftest.$ac_ext >&5
34432
34433 ac_cv_lib_w_wcslen=no
34434 fi
34435
34436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34437 conftest$ac_exeext conftest.$ac_ext
34438 LIBS=$ac_check_lib_save_LIBS
34439 fi
34440 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34441 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34442 if test $ac_cv_lib_w_wcslen = yes; then
34443
34444 WCHAR_LINK=" -lw"
34445 WCSLEN_FOUND=1
34446
34447 fi
34448
34449 fi
34450 fi
34451
34452 if test "$WCSLEN_FOUND" = 1; then
34453 cat >>confdefs.h <<\_ACEOF
34454 #define HAVE_WCSLEN 1
34455 _ACEOF
34456
34457 fi
34458
34459
34460 for ac_func in wcsdup
34461 do
34462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34463 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34466 echo $ECHO_N "(cached) $ECHO_C" >&6
34467 else
34468 cat >conftest.$ac_ext <<_ACEOF
34469 /* confdefs.h. */
34470 _ACEOF
34471 cat confdefs.h >>conftest.$ac_ext
34472 cat >>conftest.$ac_ext <<_ACEOF
34473 /* end confdefs.h. */
34474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34476 #define $ac_func innocuous_$ac_func
34477
34478 /* System header to define __stub macros and hopefully few prototypes,
34479 which can conflict with char $ac_func (); below.
34480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34481 <limits.h> exists even on freestanding compilers. */
34482
34483 #ifdef __STDC__
34484 # include <limits.h>
34485 #else
34486 # include <assert.h>
34487 #endif
34488
34489 #undef $ac_func
34490
34491 /* Override any GCC internal prototype to avoid an error.
34492 Use char because int might match the return type of a GCC
34493 builtin and then its argument prototype would still apply. */
34494 #ifdef __cplusplus
34495 extern "C"
34496 #endif
34497 char $ac_func ();
34498 /* The GNU C library defines this for functions which it implements
34499 to always fail with ENOSYS. Some functions are actually named
34500 something starting with __ and the normal name is an alias. */
34501 #if defined __stub_$ac_func || defined __stub___$ac_func
34502 choke me
34503 #endif
34504
34505 int
34506 main ()
34507 {
34508 return $ac_func ();
34509 ;
34510 return 0;
34511 }
34512 _ACEOF
34513 rm -f conftest.$ac_objext conftest$ac_exeext
34514 if { (ac_try="$ac_link"
34515 case "(($ac_try" in
34516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34517 *) ac_try_echo=$ac_try;;
34518 esac
34519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34520 (eval "$ac_link") 2>conftest.er1
34521 ac_status=$?
34522 grep -v '^ *+' conftest.er1 >conftest.err
34523 rm -f conftest.er1
34524 cat conftest.err >&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); } && {
34527 test -z "$ac_c_werror_flag" ||
34528 test ! -s conftest.err
34529 } && test -s conftest$ac_exeext &&
34530 $as_test_x conftest$ac_exeext; then
34531 eval "$as_ac_var=yes"
34532 else
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34535
34536 eval "$as_ac_var=no"
34537 fi
34538
34539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34540 conftest$ac_exeext conftest.$ac_ext
34541 fi
34542 ac_res=`eval echo '${'$as_ac_var'}'`
34543 { echo "$as_me:$LINENO: result: $ac_res" >&5
34544 echo "${ECHO_T}$ac_res" >&6; }
34545 if test `eval echo '${'$as_ac_var'}'` = yes; then
34546 cat >>confdefs.h <<_ACEOF
34547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34548 _ACEOF
34549
34550 fi
34551 done
34552
34553
34554 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34555 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34556 fi
34557
34558 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34559 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34560 if test "${ac_cv_type_mbstate_t+set}" = set; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34562 else
34563 cat >conftest.$ac_ext <<_ACEOF
34564 /* confdefs.h. */
34565 _ACEOF
34566 cat confdefs.h >>conftest.$ac_ext
34567 cat >>conftest.$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34569 #include <wchar.h>
34570
34571 typedef mbstate_t ac__type_new_;
34572 int
34573 main ()
34574 {
34575 if ((ac__type_new_ *) 0)
34576 return 0;
34577 if (sizeof (ac__type_new_))
34578 return 0;
34579 ;
34580 return 0;
34581 }
34582 _ACEOF
34583 rm -f conftest.$ac_objext
34584 if { (ac_try="$ac_compile"
34585 case "(($ac_try" in
34586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34587 *) ac_try_echo=$ac_try;;
34588 esac
34589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34590 (eval "$ac_compile") 2>conftest.er1
34591 ac_status=$?
34592 grep -v '^ *+' conftest.er1 >conftest.err
34593 rm -f conftest.er1
34594 cat conftest.err >&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } && {
34597 test -z "$ac_c_werror_flag" ||
34598 test ! -s conftest.err
34599 } && test -s conftest.$ac_objext; then
34600 ac_cv_type_mbstate_t=yes
34601 else
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34604
34605 ac_cv_type_mbstate_t=no
34606 fi
34607
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609 fi
34610 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34611 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34612 if test $ac_cv_type_mbstate_t = yes; then
34613
34614 cat >>confdefs.h <<_ACEOF
34615 #define HAVE_MBSTATE_T 1
34616 _ACEOF
34617
34618
34619 for ac_func in wcsrtombs
34620 do
34621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34622 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34624 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 else
34627 cat >conftest.$ac_ext <<_ACEOF
34628 /* confdefs.h. */
34629 _ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34635 #define $ac_func innocuous_$ac_func
34636
34637 /* System header to define __stub macros and hopefully few prototypes,
34638 which can conflict with char $ac_func (); below.
34639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34640 <limits.h> exists even on freestanding compilers. */
34641
34642 #ifdef __STDC__
34643 # include <limits.h>
34644 #else
34645 # include <assert.h>
34646 #endif
34647
34648 #undef $ac_func
34649
34650 /* Override any GCC internal prototype to avoid an error.
34651 Use char because int might match the return type of a GCC
34652 builtin and then its argument prototype would still apply. */
34653 #ifdef __cplusplus
34654 extern "C"
34655 #endif
34656 char $ac_func ();
34657 /* The GNU C library defines this for functions which it implements
34658 to always fail with ENOSYS. Some functions are actually named
34659 something starting with __ and the normal name is an alias. */
34660 #if defined __stub_$ac_func || defined __stub___$ac_func
34661 choke me
34662 #endif
34663
34664 int
34665 main ()
34666 {
34667 return $ac_func ();
34668 ;
34669 return 0;
34670 }
34671 _ACEOF
34672 rm -f conftest.$ac_objext conftest$ac_exeext
34673 if { (ac_try="$ac_link"
34674 case "(($ac_try" in
34675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34676 *) ac_try_echo=$ac_try;;
34677 esac
34678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34679 (eval "$ac_link") 2>conftest.er1
34680 ac_status=$?
34681 grep -v '^ *+' conftest.er1 >conftest.err
34682 rm -f conftest.er1
34683 cat conftest.err >&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); } && {
34686 test -z "$ac_c_werror_flag" ||
34687 test ! -s conftest.err
34688 } && test -s conftest$ac_exeext &&
34689 $as_test_x conftest$ac_exeext; then
34690 eval "$as_ac_var=yes"
34691 else
34692 echo "$as_me: failed program was:" >&5
34693 sed 's/^/| /' conftest.$ac_ext >&5
34694
34695 eval "$as_ac_var=no"
34696 fi
34697
34698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34699 conftest$ac_exeext conftest.$ac_ext
34700 fi
34701 ac_res=`eval echo '${'$as_ac_var'}'`
34702 { echo "$as_me:$LINENO: result: $ac_res" >&5
34703 echo "${ECHO_T}$ac_res" >&6; }
34704 if test `eval echo '${'$as_ac_var'}'` = yes; then
34705 cat >>confdefs.h <<_ACEOF
34706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34707 _ACEOF
34708
34709 fi
34710 done
34711
34712 fi
34713
34714 else
34715 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34716 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34717 fi
34718
34719
34720
34721 for ac_func in snprintf vsnprintf
34722 do
34723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34728 else
34729 cat >conftest.$ac_ext <<_ACEOF
34730 /* confdefs.h. */
34731 _ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34737 #define $ac_func innocuous_$ac_func
34738
34739 /* System header to define __stub macros and hopefully few prototypes,
34740 which can conflict with char $ac_func (); below.
34741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34742 <limits.h> exists even on freestanding compilers. */
34743
34744 #ifdef __STDC__
34745 # include <limits.h>
34746 #else
34747 # include <assert.h>
34748 #endif
34749
34750 #undef $ac_func
34751
34752 /* Override any GCC internal prototype to avoid an error.
34753 Use char because int might match the return type of a GCC
34754 builtin and then its argument prototype would still apply. */
34755 #ifdef __cplusplus
34756 extern "C"
34757 #endif
34758 char $ac_func ();
34759 /* The GNU C library defines this for functions which it implements
34760 to always fail with ENOSYS. Some functions are actually named
34761 something starting with __ and the normal name is an alias. */
34762 #if defined __stub_$ac_func || defined __stub___$ac_func
34763 choke me
34764 #endif
34765
34766 int
34767 main ()
34768 {
34769 return $ac_func ();
34770 ;
34771 return 0;
34772 }
34773 _ACEOF
34774 rm -f conftest.$ac_objext conftest$ac_exeext
34775 if { (ac_try="$ac_link"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34778 *) ac_try_echo=$ac_try;;
34779 esac
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_link") 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest$ac_exeext &&
34791 $as_test_x conftest$ac_exeext; then
34792 eval "$as_ac_var=yes"
34793 else
34794 echo "$as_me: failed program was:" >&5
34795 sed 's/^/| /' conftest.$ac_ext >&5
34796
34797 eval "$as_ac_var=no"
34798 fi
34799
34800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34801 conftest$ac_exeext conftest.$ac_ext
34802 fi
34803 ac_res=`eval echo '${'$as_ac_var'}'`
34804 { echo "$as_me:$LINENO: result: $ac_res" >&5
34805 echo "${ECHO_T}$ac_res" >&6; }
34806 if test `eval echo '${'$as_ac_var'}'` = yes; then
34807 cat >>confdefs.h <<_ACEOF
34808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34809 _ACEOF
34810
34811 fi
34812 done
34813
34814
34815 if test "$ac_cv_func_vsnprintf" = "yes"; then
34816 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34817 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34818 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34819 echo $ECHO_N "(cached) $ECHO_C" >&6
34820 else
34821
34822 cat >conftest.$ac_ext <<_ACEOF
34823 /* confdefs.h. */
34824 _ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34828
34829 #include <stdio.h>
34830 #include <stdarg.h>
34831 #ifdef __MSL__
34832 #if __MSL__ >= 0x6000
34833 namespace std {}
34834 using namespace std;
34835 #endif
34836 #endif
34837
34838 int
34839 main ()
34840 {
34841
34842 char *buf;
34843 va_list ap;
34844 vsnprintf(buf, 10u, "%s", ap);
34845
34846 ;
34847 return 0;
34848 }
34849 _ACEOF
34850 rm -f conftest.$ac_objext
34851 if { (ac_try="$ac_compile"
34852 case "(($ac_try" in
34853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34854 *) ac_try_echo=$ac_try;;
34855 esac
34856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34857 (eval "$ac_compile") 2>conftest.er1
34858 ac_status=$?
34859 grep -v '^ *+' conftest.er1 >conftest.err
34860 rm -f conftest.er1
34861 cat conftest.err >&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); } && {
34864 test -z "$ac_c_werror_flag" ||
34865 test ! -s conftest.err
34866 } && test -s conftest.$ac_objext; then
34867 wx_cv_func_vsnprintf_decl=yes
34868 else
34869 echo "$as_me: failed program was:" >&5
34870 sed 's/^/| /' conftest.$ac_ext >&5
34871
34872 wx_cv_func_vsnprintf_decl=no
34873
34874 fi
34875
34876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34877
34878
34879 fi
34880 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34881 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34882
34883 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34884 cat >>confdefs.h <<\_ACEOF
34885 #define HAVE_VSNPRINTF_DECL 1
34886 _ACEOF
34887
34888
34889 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34890 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34891 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34892 echo $ECHO_N "(cached) $ECHO_C" >&6
34893 else
34894
34895 cat >conftest.$ac_ext <<_ACEOF
34896 /* confdefs.h. */
34897 _ACEOF
34898 cat confdefs.h >>conftest.$ac_ext
34899 cat >>conftest.$ac_ext <<_ACEOF
34900 /* end confdefs.h. */
34901
34902 #include <stdio.h>
34903 #include <stdarg.h>
34904 #ifdef __MSL__
34905 #if __MSL__ >= 0x6000
34906 namespace std {}
34907 using namespace std;
34908 #endif
34909 #endif
34910
34911 int
34912 main ()
34913 {
34914
34915 char *buf;
34916 va_list ap;
34917 const char *fmt = "%s";
34918 vsnprintf(buf, 10u, fmt, ap);
34919
34920 ;
34921 return 0;
34922 }
34923 _ACEOF
34924 rm -f conftest.$ac_objext
34925 if { (ac_try="$ac_compile"
34926 case "(($ac_try" in
34927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34928 *) ac_try_echo=$ac_try;;
34929 esac
34930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34931 (eval "$ac_compile") 2>conftest.er1
34932 ac_status=$?
34933 grep -v '^ *+' conftest.er1 >conftest.err
34934 rm -f conftest.er1
34935 cat conftest.err >&5
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); } && {
34938 test -z "$ac_c_werror_flag" ||
34939 test ! -s conftest.err
34940 } && test -s conftest.$ac_objext; then
34941 wx_cv_func_broken_vsnprintf_decl=no
34942 else
34943 echo "$as_me: failed program was:" >&5
34944 sed 's/^/| /' conftest.$ac_ext >&5
34945
34946 wx_cv_func_broken_vsnprintf_decl=yes
34947
34948 fi
34949
34950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34951
34952
34953 fi
34954 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34955 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34956
34957 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34958 cat >>confdefs.h <<\_ACEOF
34959 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34960 _ACEOF
34961
34962 fi
34963 fi
34964 fi
34965
34966 if test "$ac_cv_func_snprintf" = "yes"; then
34967 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34968 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34969 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34970 echo $ECHO_N "(cached) $ECHO_C" >&6
34971 else
34972
34973 cat >conftest.$ac_ext <<_ACEOF
34974 /* confdefs.h. */
34975 _ACEOF
34976 cat confdefs.h >>conftest.$ac_ext
34977 cat >>conftest.$ac_ext <<_ACEOF
34978 /* end confdefs.h. */
34979
34980 #include <stdio.h>
34981 #include <stdarg.h>
34982 #ifdef __MSL__
34983 #if __MSL__ >= 0x6000
34984 namespace std {}
34985 using namespace std;
34986 #endif
34987 #endif
34988
34989 int
34990 main ()
34991 {
34992
34993 char *buf;
34994 snprintf(buf, 10u, "%s", "wx");
34995
34996 ;
34997 return 0;
34998 }
34999 _ACEOF
35000 rm -f conftest.$ac_objext
35001 if { (ac_try="$ac_compile"
35002 case "(($ac_try" in
35003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35004 *) ac_try_echo=$ac_try;;
35005 esac
35006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35007 (eval "$ac_compile") 2>conftest.er1
35008 ac_status=$?
35009 grep -v '^ *+' conftest.er1 >conftest.err
35010 rm -f conftest.er1
35011 cat conftest.err >&5
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); } && {
35014 test -z "$ac_c_werror_flag" ||
35015 test ! -s conftest.err
35016 } && test -s conftest.$ac_objext; then
35017 wx_cv_func_snprintf_decl=yes
35018 else
35019 echo "$as_me: failed program was:" >&5
35020 sed 's/^/| /' conftest.$ac_ext >&5
35021
35022 wx_cv_func_snprintf_decl=no
35023
35024 fi
35025
35026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35027
35028
35029 fi
35030 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35031 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35032
35033 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35034 cat >>confdefs.h <<\_ACEOF
35035 #define HAVE_SNPRINTF_DECL 1
35036 _ACEOF
35037
35038 fi
35039
35040 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35041
35042 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35043 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35044 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35045 echo $ECHO_N "(cached) $ECHO_C" >&6
35046 else
35047
35048 if test "$cross_compiling" = yes; then
35049
35050 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35051 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35052 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35053 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35054 wx_cv_func_snprintf_pos_params=no
35055
35056
35057 else
35058 cat >conftest.$ac_ext <<_ACEOF
35059 /* confdefs.h. */
35060 _ACEOF
35061 cat confdefs.h >>conftest.$ac_ext
35062 cat >>conftest.$ac_ext <<_ACEOF
35063 /* end confdefs.h. */
35064
35065 #include <stdio.h>
35066
35067 int main (void)
35068 {
35069 char buffer[128];
35070 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35071 if (strcmp ("2 3 1", buffer) == 0)
35072 exit (0);
35073 exit (1);
35074 }
35075
35076 _ACEOF
35077 rm -f conftest$ac_exeext
35078 if { (ac_try="$ac_link"
35079 case "(($ac_try" in
35080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35081 *) ac_try_echo=$ac_try;;
35082 esac
35083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35084 (eval "$ac_link") 2>&5
35085 ac_status=$?
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35088 { (case "(($ac_try" in
35089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35090 *) ac_try_echo=$ac_try;;
35091 esac
35092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35093 (eval "$ac_try") 2>&5
35094 ac_status=$?
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); }; }; then
35097 wx_cv_func_snprintf_pos_params=no
35098 else
35099 echo "$as_me: program exited with status $ac_status" >&5
35100 echo "$as_me: failed program was:" >&5
35101 sed 's/^/| /' conftest.$ac_ext >&5
35102
35103 ( exit $ac_status )
35104 wx_cv_func_snprintf_pos_params=yes
35105 fi
35106 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35107 fi
35108
35109
35110
35111
35112 fi
35113 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35114 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35115
35116 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35117 cat >>confdefs.h <<\_ACEOF
35118 #define HAVE_UNIX98_PRINTF 1
35119 _ACEOF
35120
35121 fi
35122 fi
35123 fi
35124
35125 if test "$wxUSE_UNICODE" = yes; then
35126
35127 wchar_headers="#include <stdio.h>
35128 #include <wchar.h>"
35129 case "${host}" in
35130 *-*-solaris2* )
35131
35132 for ac_header in widec.h
35133 do
35134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35139 else
35140 cat >conftest.$ac_ext <<_ACEOF
35141 /* confdefs.h. */
35142 _ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35146 $ac_includes_default
35147
35148 #include <$ac_header>
35149 _ACEOF
35150 rm -f conftest.$ac_objext
35151 if { (ac_try="$ac_compile"
35152 case "(($ac_try" in
35153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35154 *) ac_try_echo=$ac_try;;
35155 esac
35156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35157 (eval "$ac_compile") 2>conftest.er1
35158 ac_status=$?
35159 grep -v '^ *+' conftest.er1 >conftest.err
35160 rm -f conftest.er1
35161 cat conftest.err >&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); } && {
35164 test -z "$ac_c_werror_flag" ||
35165 test ! -s conftest.err
35166 } && test -s conftest.$ac_objext; then
35167 eval "$as_ac_Header=yes"
35168 else
35169 echo "$as_me: failed program was:" >&5
35170 sed 's/^/| /' conftest.$ac_ext >&5
35171
35172 eval "$as_ac_Header=no"
35173 fi
35174
35175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35176 fi
35177 ac_res=`eval echo '${'$as_ac_Header'}'`
35178 { echo "$as_me:$LINENO: result: $ac_res" >&5
35179 echo "${ECHO_T}$ac_res" >&6; }
35180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35181 cat >>confdefs.h <<_ACEOF
35182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35183 _ACEOF
35184
35185 fi
35186
35187 done
35188
35189 if test "$ac_cv_header_widec_h" = "yes"; then
35190 wchar_headers="$wchar_headers
35191 #include <widec.h>"
35192 fi
35193 esac
35194
35195
35196 for wx_func in putws fputws wprintf vswprintf
35197 do
35198 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35199 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35200 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35201 echo $ECHO_N "(cached) $ECHO_C" >&6
35202 else
35203
35204 cat >conftest.$ac_ext <<_ACEOF
35205
35206 /* confdefs.h. */
35207 _ACEOF
35208 cat confdefs.h >>conftest.$ac_ext
35209 cat >>conftest.$ac_ext <<_ACEOF
35210 /* end confdefs.h. */
35211
35212 $wchar_headers
35213 $ac_includes_default
35214
35215 int
35216 main ()
35217 {
35218
35219 #ifndef $wx_func
35220 &$wx_func;
35221 #endif
35222
35223
35224 ;
35225 return 0;
35226 }
35227
35228 _ACEOF
35229 rm -f conftest.$ac_objext conftest$ac_exeext
35230 if { (ac_try="$ac_link"
35231 case "(($ac_try" in
35232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35233 *) ac_try_echo=$ac_try;;
35234 esac
35235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35236 (eval "$ac_link") 2>conftest.er1
35237 ac_status=$?
35238 grep -v '^ *+' conftest.er1 >conftest.err
35239 rm -f conftest.er1
35240 cat conftest.err >&5
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); } && {
35243 test -z "$ac_c_werror_flag" ||
35244 test ! -s conftest.err
35245 } && test -s conftest$ac_exeext &&
35246 $as_test_x conftest$ac_exeext; then
35247 eval wx_cv_func_$wx_func=yes
35248 else
35249 echo "$as_me: failed program was:" >&5
35250 sed 's/^/| /' conftest.$ac_ext >&5
35251
35252 eval wx_cv_func_$wx_func=no
35253 fi
35254
35255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35256 conftest$ac_exeext conftest.$ac_ext
35257
35258 fi
35259 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35260 { echo "$as_me:$LINENO: result: $ac_res" >&5
35261 echo "${ECHO_T}$ac_res" >&6; }
35262
35263 if eval test \$wx_cv_func_$wx_func = yes
35264 then
35265 cat >>confdefs.h <<_ACEOF
35266 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35267 _ACEOF
35268
35269
35270 else
35271 :
35272
35273 fi
35274 done
35275
35276
35277 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35278 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35279 cat >conftest.$ac_ext <<_ACEOF
35280 /* confdefs.h. */
35281 _ACEOF
35282 cat confdefs.h >>conftest.$ac_ext
35283 cat >>conftest.$ac_ext <<_ACEOF
35284 /* end confdefs.h. */
35285 #include <wchar.h>
35286 int
35287 main ()
35288 {
35289 &_vsnwprintf;
35290 ;
35291 return 0;
35292 }
35293 _ACEOF
35294 rm -f conftest.$ac_objext
35295 if { (ac_try="$ac_compile"
35296 case "(($ac_try" in
35297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35298 *) ac_try_echo=$ac_try;;
35299 esac
35300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35301 (eval "$ac_compile") 2>conftest.er1
35302 ac_status=$?
35303 grep -v '^ *+' conftest.er1 >conftest.err
35304 rm -f conftest.er1
35305 cat conftest.err >&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); } && {
35308 test -z "$ac_c_werror_flag" ||
35309 test ! -s conftest.err
35310 } && test -s conftest.$ac_objext; then
35311 { echo "$as_me:$LINENO: result: yes" >&5
35312 echo "${ECHO_T}yes" >&6; }
35313 cat >>confdefs.h <<\_ACEOF
35314 #define HAVE__VSNWPRINTF 1
35315 _ACEOF
35316
35317 else
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.$ac_ext >&5
35320
35321 { echo "$as_me:$LINENO: result: no" >&5
35322 echo "${ECHO_T}no" >&6; }
35323 fi
35324
35325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35326 fi
35327
35328 if test "$wxUSE_FILE" = "yes"; then
35329
35330 for wx_func in fsync
35331 do
35332 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35333 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35334 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35335 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 else
35337
35338 cat >conftest.$ac_ext <<_ACEOF
35339
35340 /* confdefs.h. */
35341 _ACEOF
35342 cat confdefs.h >>conftest.$ac_ext
35343 cat >>conftest.$ac_ext <<_ACEOF
35344 /* end confdefs.h. */
35345
35346
35347 $ac_includes_default
35348
35349 int
35350 main ()
35351 {
35352
35353 #ifndef $wx_func
35354 &$wx_func;
35355 #endif
35356
35357
35358 ;
35359 return 0;
35360 }
35361
35362 _ACEOF
35363 rm -f conftest.$ac_objext conftest$ac_exeext
35364 if { (ac_try="$ac_link"
35365 case "(($ac_try" in
35366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35367 *) ac_try_echo=$ac_try;;
35368 esac
35369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35370 (eval "$ac_link") 2>conftest.er1
35371 ac_status=$?
35372 grep -v '^ *+' conftest.er1 >conftest.err
35373 rm -f conftest.er1
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } && {
35377 test -z "$ac_c_werror_flag" ||
35378 test ! -s conftest.err
35379 } && test -s conftest$ac_exeext &&
35380 $as_test_x conftest$ac_exeext; then
35381 eval wx_cv_func_$wx_func=yes
35382 else
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35385
35386 eval wx_cv_func_$wx_func=no
35387 fi
35388
35389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35390 conftest$ac_exeext conftest.$ac_ext
35391
35392 fi
35393 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35394 { echo "$as_me:$LINENO: result: $ac_res" >&5
35395 echo "${ECHO_T}$ac_res" >&6; }
35396
35397 if eval test \$wx_cv_func_$wx_func = yes
35398 then
35399 cat >>confdefs.h <<_ACEOF
35400 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35401 _ACEOF
35402
35403
35404 else
35405 :
35406
35407 fi
35408 done
35409
35410 fi
35411
35412 ac_ext=cpp
35413 ac_cpp='$CXXCPP $CPPFLAGS'
35414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35417
35418
35419 for wx_func in round
35420 do
35421 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35422 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35423 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35425 else
35426
35427 cat >conftest.$ac_ext <<_ACEOF
35428
35429 /* confdefs.h. */
35430 _ACEOF
35431 cat confdefs.h >>conftest.$ac_ext
35432 cat >>conftest.$ac_ext <<_ACEOF
35433 /* end confdefs.h. */
35434
35435 #include <math.h>
35436 $ac_includes_default
35437
35438 int
35439 main ()
35440 {
35441
35442 #ifndef $wx_func
35443 &$wx_func;
35444 #endif
35445
35446
35447 ;
35448 return 0;
35449 }
35450
35451 _ACEOF
35452 rm -f conftest.$ac_objext conftest$ac_exeext
35453 if { (ac_try="$ac_link"
35454 case "(($ac_try" in
35455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35456 *) ac_try_echo=$ac_try;;
35457 esac
35458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35459 (eval "$ac_link") 2>conftest.er1
35460 ac_status=$?
35461 grep -v '^ *+' conftest.er1 >conftest.err
35462 rm -f conftest.er1
35463 cat conftest.err >&5
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); } && {
35466 test -z "$ac_cxx_werror_flag" ||
35467 test ! -s conftest.err
35468 } && test -s conftest$ac_exeext &&
35469 $as_test_x conftest$ac_exeext; then
35470 eval wx_cv_func_$wx_func=yes
35471 else
35472 echo "$as_me: failed program was:" >&5
35473 sed 's/^/| /' conftest.$ac_ext >&5
35474
35475 eval wx_cv_func_$wx_func=no
35476 fi
35477
35478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35479 conftest$ac_exeext conftest.$ac_ext
35480
35481 fi
35482 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35483 { echo "$as_me:$LINENO: result: $ac_res" >&5
35484 echo "${ECHO_T}$ac_res" >&6; }
35485
35486 if eval test \$wx_cv_func_$wx_func = yes
35487 then
35488 cat >>confdefs.h <<_ACEOF
35489 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35490 _ACEOF
35491
35492
35493 else
35494 :
35495
35496 fi
35497 done
35498
35499 ac_ext=c
35500 ac_cpp='$CPP $CPPFLAGS'
35501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35504
35505
35506 if test "$TOOLKIT" != "MSW"; then
35507
35508
35509
35510
35511
35512 # Check whether --with-libiconv-prefix was given.
35513 if test "${with_libiconv_prefix+set}" = set; then
35514 withval=$with_libiconv_prefix;
35515 for dir in `echo "$withval" | tr : ' '`; do
35516 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35517 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35518 done
35519
35520 fi
35521
35522
35523 { echo "$as_me:$LINENO: checking for iconv" >&5
35524 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35525 if test "${am_cv_func_iconv+set}" = set; then
35526 echo $ECHO_N "(cached) $ECHO_C" >&6
35527 else
35528
35529 am_cv_func_iconv="no, consider installing GNU libiconv"
35530 am_cv_lib_iconv=no
35531 cat >conftest.$ac_ext <<_ACEOF
35532 /* confdefs.h. */
35533 _ACEOF
35534 cat confdefs.h >>conftest.$ac_ext
35535 cat >>conftest.$ac_ext <<_ACEOF
35536 /* end confdefs.h. */
35537 #include <stdlib.h>
35538 #include <iconv.h>
35539 int
35540 main ()
35541 {
35542 iconv_t cd = iconv_open("","");
35543 iconv(cd,NULL,NULL,NULL,NULL);
35544 iconv_close(cd);
35545 ;
35546 return 0;
35547 }
35548 _ACEOF
35549 rm -f conftest.$ac_objext conftest$ac_exeext
35550 if { (ac_try="$ac_link"
35551 case "(($ac_try" in
35552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35553 *) ac_try_echo=$ac_try;;
35554 esac
35555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35556 (eval "$ac_link") 2>conftest.er1
35557 ac_status=$?
35558 grep -v '^ *+' conftest.er1 >conftest.err
35559 rm -f conftest.er1
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } && {
35563 test -z "$ac_c_werror_flag" ||
35564 test ! -s conftest.err
35565 } && test -s conftest$ac_exeext &&
35566 $as_test_x conftest$ac_exeext; then
35567 am_cv_func_iconv=yes
35568 else
35569 echo "$as_me: failed program was:" >&5
35570 sed 's/^/| /' conftest.$ac_ext >&5
35571
35572
35573 fi
35574
35575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35576 conftest$ac_exeext conftest.$ac_ext
35577 if test "$am_cv_func_iconv" != yes; then
35578 am_save_LIBS="$LIBS"
35579 LIBS="$LIBS -liconv"
35580 cat >conftest.$ac_ext <<_ACEOF
35581 /* confdefs.h. */
35582 _ACEOF
35583 cat confdefs.h >>conftest.$ac_ext
35584 cat >>conftest.$ac_ext <<_ACEOF
35585 /* end confdefs.h. */
35586 #include <stdlib.h>
35587 #include <iconv.h>
35588 int
35589 main ()
35590 {
35591 iconv_t cd = iconv_open("","");
35592 iconv(cd,NULL,NULL,NULL,NULL);
35593 iconv_close(cd);
35594 ;
35595 return 0;
35596 }
35597 _ACEOF
35598 rm -f conftest.$ac_objext conftest$ac_exeext
35599 if { (ac_try="$ac_link"
35600 case "(($ac_try" in
35601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35602 *) ac_try_echo=$ac_try;;
35603 esac
35604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35605 (eval "$ac_link") 2>conftest.er1
35606 ac_status=$?
35607 grep -v '^ *+' conftest.er1 >conftest.err
35608 rm -f conftest.er1
35609 cat conftest.err >&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); } && {
35612 test -z "$ac_c_werror_flag" ||
35613 test ! -s conftest.err
35614 } && test -s conftest$ac_exeext &&
35615 $as_test_x conftest$ac_exeext; then
35616 am_cv_lib_iconv=yes
35617 am_cv_func_iconv=yes
35618 else
35619 echo "$as_me: failed program was:" >&5
35620 sed 's/^/| /' conftest.$ac_ext >&5
35621
35622
35623 fi
35624
35625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35626 conftest$ac_exeext conftest.$ac_ext
35627 LIBS="$am_save_LIBS"
35628 fi
35629
35630 fi
35631 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35632 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35633 if test "$am_cv_func_iconv" = yes; then
35634
35635 cat >>confdefs.h <<\_ACEOF
35636 #define HAVE_ICONV 1
35637 _ACEOF
35638
35639 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35640 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35641 if test "${wx_cv_func_iconv_const+set}" = set; then
35642 echo $ECHO_N "(cached) $ECHO_C" >&6
35643 else
35644 cat >conftest.$ac_ext <<_ACEOF
35645 /* confdefs.h. */
35646 _ACEOF
35647 cat confdefs.h >>conftest.$ac_ext
35648 cat >>conftest.$ac_ext <<_ACEOF
35649 /* end confdefs.h. */
35650
35651 #include <stdlib.h>
35652 #include <iconv.h>
35653 extern
35654 #ifdef __cplusplus
35655 "C"
35656 #endif
35657 #if defined(__STDC__) || defined(__cplusplus)
35658 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35659 #else
35660 size_t iconv();
35661 #endif
35662
35663 int
35664 main ()
35665 {
35666
35667 ;
35668 return 0;
35669 }
35670 _ACEOF
35671 rm -f conftest.$ac_objext
35672 if { (ac_try="$ac_compile"
35673 case "(($ac_try" in
35674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35675 *) ac_try_echo=$ac_try;;
35676 esac
35677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35678 (eval "$ac_compile") 2>conftest.er1
35679 ac_status=$?
35680 grep -v '^ *+' conftest.er1 >conftest.err
35681 rm -f conftest.er1
35682 cat conftest.err >&5
35683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 (exit $ac_status); } && {
35685 test -z "$ac_c_werror_flag" ||
35686 test ! -s conftest.err
35687 } && test -s conftest.$ac_objext; then
35688 wx_cv_func_iconv_const="no"
35689 else
35690 echo "$as_me: failed program was:" >&5
35691 sed 's/^/| /' conftest.$ac_ext >&5
35692
35693 wx_cv_func_iconv_const="yes"
35694
35695 fi
35696
35697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35698
35699 fi
35700 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35701 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35702
35703 iconv_const=
35704 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35705 iconv_const="const"
35706 fi
35707
35708
35709 cat >>confdefs.h <<_ACEOF
35710 #define ICONV_CONST $iconv_const
35711 _ACEOF
35712
35713 fi
35714 LIBICONV=
35715 if test "$am_cv_lib_iconv" = yes; then
35716 LIBICONV="-liconv"
35717 fi
35718
35719
35720 LIBS="$LIBICONV $LIBS"
35721
35722 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35723
35724 for ac_func in sigaction
35725 do
35726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35730 echo $ECHO_N "(cached) $ECHO_C" >&6
35731 else
35732 cat >conftest.$ac_ext <<_ACEOF
35733 /* confdefs.h. */
35734 _ACEOF
35735 cat confdefs.h >>conftest.$ac_ext
35736 cat >>conftest.$ac_ext <<_ACEOF
35737 /* end confdefs.h. */
35738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35740 #define $ac_func innocuous_$ac_func
35741
35742 /* System header to define __stub macros and hopefully few prototypes,
35743 which can conflict with char $ac_func (); below.
35744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35745 <limits.h> exists even on freestanding compilers. */
35746
35747 #ifdef __STDC__
35748 # include <limits.h>
35749 #else
35750 # include <assert.h>
35751 #endif
35752
35753 #undef $ac_func
35754
35755 /* Override any GCC internal prototype to avoid an error.
35756 Use char because int might match the return type of a GCC
35757 builtin and then its argument prototype would still apply. */
35758 #ifdef __cplusplus
35759 extern "C"
35760 #endif
35761 char $ac_func ();
35762 /* The GNU C library defines this for functions which it implements
35763 to always fail with ENOSYS. Some functions are actually named
35764 something starting with __ and the normal name is an alias. */
35765 #if defined __stub_$ac_func || defined __stub___$ac_func
35766 choke me
35767 #endif
35768
35769 int
35770 main ()
35771 {
35772 return $ac_func ();
35773 ;
35774 return 0;
35775 }
35776 _ACEOF
35777 rm -f conftest.$ac_objext conftest$ac_exeext
35778 if { (ac_try="$ac_link"
35779 case "(($ac_try" in
35780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35781 *) ac_try_echo=$ac_try;;
35782 esac
35783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35784 (eval "$ac_link") 2>conftest.er1
35785 ac_status=$?
35786 grep -v '^ *+' conftest.er1 >conftest.err
35787 rm -f conftest.er1
35788 cat conftest.err >&5
35789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 (exit $ac_status); } && {
35791 test -z "$ac_c_werror_flag" ||
35792 test ! -s conftest.err
35793 } && test -s conftest$ac_exeext &&
35794 $as_test_x conftest$ac_exeext; then
35795 eval "$as_ac_var=yes"
35796 else
35797 echo "$as_me: failed program was:" >&5
35798 sed 's/^/| /' conftest.$ac_ext >&5
35799
35800 eval "$as_ac_var=no"
35801 fi
35802
35803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35804 conftest$ac_exeext conftest.$ac_ext
35805 fi
35806 ac_res=`eval echo '${'$as_ac_var'}'`
35807 { echo "$as_me:$LINENO: result: $ac_res" >&5
35808 echo "${ECHO_T}$ac_res" >&6; }
35809 if test `eval echo '${'$as_ac_var'}'` = yes; then
35810 cat >>confdefs.h <<_ACEOF
35811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35812 _ACEOF
35813
35814 fi
35815 done
35816
35817
35818 if test "$ac_cv_func_sigaction" = "no"; then
35819 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35820 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35821 wxUSE_ON_FATAL_EXCEPTION=no
35822 fi
35823
35824 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35825 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35826 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35827 if test "${wx_cv_type_sa_handler+set}" = set; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35829 else
35830
35831 ac_ext=cpp
35832 ac_cpp='$CXXCPP $CPPFLAGS'
35833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35836
35837 cat >conftest.$ac_ext <<_ACEOF
35838 /* confdefs.h. */
35839 _ACEOF
35840 cat confdefs.h >>conftest.$ac_ext
35841 cat >>conftest.$ac_ext <<_ACEOF
35842 /* end confdefs.h. */
35843 #include <signal.h>
35844 int
35845 main ()
35846 {
35847
35848 extern void testSigHandler(int);
35849
35850 struct sigaction sa;
35851 sa.sa_handler = testSigHandler;
35852
35853 ;
35854 return 0;
35855 }
35856 _ACEOF
35857 rm -f conftest.$ac_objext
35858 if { (ac_try="$ac_compile"
35859 case "(($ac_try" in
35860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35861 *) ac_try_echo=$ac_try;;
35862 esac
35863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35864 (eval "$ac_compile") 2>conftest.er1
35865 ac_status=$?
35866 grep -v '^ *+' conftest.er1 >conftest.err
35867 rm -f conftest.er1
35868 cat conftest.err >&5
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); } && {
35871 test -z "$ac_cxx_werror_flag" ||
35872 test ! -s conftest.err
35873 } && test -s conftest.$ac_objext; then
35874
35875 wx_cv_type_sa_handler=int
35876
35877 else
35878 echo "$as_me: failed program was:" >&5
35879 sed 's/^/| /' conftest.$ac_ext >&5
35880
35881
35882 wx_cv_type_sa_handler=void
35883
35884 fi
35885
35886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35887 ac_ext=c
35888 ac_cpp='$CPP $CPPFLAGS'
35889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35892
35893
35894 fi
35895 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35896 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35897
35898 cat >>confdefs.h <<_ACEOF
35899 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35900 _ACEOF
35901
35902 fi
35903 fi
35904
35905 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35906 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35907 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35908 if test "${wx_cv_func_backtrace+set}" = set; then
35909 echo $ECHO_N "(cached) $ECHO_C" >&6
35910 else
35911
35912 ac_ext=cpp
35913 ac_cpp='$CXXCPP $CPPFLAGS'
35914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35917
35918 cat >conftest.$ac_ext <<_ACEOF
35919 /* confdefs.h. */
35920 _ACEOF
35921 cat confdefs.h >>conftest.$ac_ext
35922 cat >>conftest.$ac_ext <<_ACEOF
35923 /* end confdefs.h. */
35924 #include <execinfo.h>
35925 int
35926 main ()
35927 {
35928
35929 void *trace[1];
35930 char **messages;
35931
35932 backtrace(trace, 1);
35933 messages = backtrace_symbols(trace, 1);
35934
35935 ;
35936 return 0;
35937 }
35938 _ACEOF
35939 rm -f conftest.$ac_objext
35940 if { (ac_try="$ac_compile"
35941 case "(($ac_try" in
35942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35943 *) ac_try_echo=$ac_try;;
35944 esac
35945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35946 (eval "$ac_compile") 2>conftest.er1
35947 ac_status=$?
35948 grep -v '^ *+' conftest.er1 >conftest.err
35949 rm -f conftest.er1
35950 cat conftest.err >&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); } && {
35953 test -z "$ac_cxx_werror_flag" ||
35954 test ! -s conftest.err
35955 } && test -s conftest.$ac_objext; then
35956 wx_cv_func_backtrace=yes
35957 else
35958 echo "$as_me: failed program was:" >&5
35959 sed 's/^/| /' conftest.$ac_ext >&5
35960
35961 wx_cv_func_backtrace=no
35962
35963 fi
35964
35965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35966 ac_ext=c
35967 ac_cpp='$CPP $CPPFLAGS'
35968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35971
35972
35973
35974 fi
35975 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35976 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35977
35978
35979 if test "$wx_cv_func_backtrace" = "no"; then
35980 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35981 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35982 wxUSE_STACKWALKER=no
35983 else
35984 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35985 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35986 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35987 echo $ECHO_N "(cached) $ECHO_C" >&6
35988 else
35989
35990 ac_ext=cpp
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35995
35996 cat >conftest.$ac_ext <<_ACEOF
35997 /* confdefs.h. */
35998 _ACEOF
35999 cat confdefs.h >>conftest.$ac_ext
36000 cat >>conftest.$ac_ext <<_ACEOF
36001 /* end confdefs.h. */
36002 #include <cxxabi.h>
36003 int
36004 main ()
36005 {
36006
36007 int rc;
36008 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36009
36010 ;
36011 return 0;
36012 }
36013 _ACEOF
36014 rm -f conftest.$ac_objext conftest$ac_exeext
36015 if { (ac_try="$ac_link"
36016 case "(($ac_try" in
36017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36018 *) ac_try_echo=$ac_try;;
36019 esac
36020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36021 (eval "$ac_link") 2>conftest.er1
36022 ac_status=$?
36023 grep -v '^ *+' conftest.er1 >conftest.err
36024 rm -f conftest.er1
36025 cat conftest.err >&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } && {
36028 test -z "$ac_cxx_werror_flag" ||
36029 test ! -s conftest.err
36030 } && test -s conftest$ac_exeext &&
36031 $as_test_x conftest$ac_exeext; then
36032 wx_cv_func_cxa_demangle=yes
36033 else
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36036
36037 wx_cv_func_cxa_demangle=no
36038
36039 fi
36040
36041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36042 conftest$ac_exeext conftest.$ac_ext
36043 ac_ext=c
36044 ac_cpp='$CPP $CPPFLAGS'
36045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36048
36049
36050
36051 fi
36052 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36053 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36054
36055 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36056 cat >>confdefs.h <<\_ACEOF
36057 #define HAVE_CXA_DEMANGLE 1
36058 _ACEOF
36059
36060 fi
36061 fi
36062 fi
36063
36064 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36065 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36066 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36067 wxUSE_STACKWALKER=no
36068 fi
36069
36070
36071
36072
36073 for ac_func in mkstemp mktemp
36074 do
36075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36076 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36078 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36079 echo $ECHO_N "(cached) $ECHO_C" >&6
36080 else
36081 cat >conftest.$ac_ext <<_ACEOF
36082 /* confdefs.h. */
36083 _ACEOF
36084 cat confdefs.h >>conftest.$ac_ext
36085 cat >>conftest.$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36089 #define $ac_func innocuous_$ac_func
36090
36091 /* System header to define __stub macros and hopefully few prototypes,
36092 which can conflict with char $ac_func (); below.
36093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36094 <limits.h> exists even on freestanding compilers. */
36095
36096 #ifdef __STDC__
36097 # include <limits.h>
36098 #else
36099 # include <assert.h>
36100 #endif
36101
36102 #undef $ac_func
36103
36104 /* Override any GCC internal prototype to avoid an error.
36105 Use char because int might match the return type of a GCC
36106 builtin and then its argument prototype would still apply. */
36107 #ifdef __cplusplus
36108 extern "C"
36109 #endif
36110 char $ac_func ();
36111 /* The GNU C library defines this for functions which it implements
36112 to always fail with ENOSYS. Some functions are actually named
36113 something starting with __ and the normal name is an alias. */
36114 #if defined __stub_$ac_func || defined __stub___$ac_func
36115 choke me
36116 #endif
36117
36118 int
36119 main ()
36120 {
36121 return $ac_func ();
36122 ;
36123 return 0;
36124 }
36125 _ACEOF
36126 rm -f conftest.$ac_objext conftest$ac_exeext
36127 if { (ac_try="$ac_link"
36128 case "(($ac_try" in
36129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36130 *) ac_try_echo=$ac_try;;
36131 esac
36132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36133 (eval "$ac_link") 2>conftest.er1
36134 ac_status=$?
36135 grep -v '^ *+' conftest.er1 >conftest.err
36136 rm -f conftest.er1
36137 cat conftest.err >&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } && {
36140 test -z "$ac_c_werror_flag" ||
36141 test ! -s conftest.err
36142 } && test -s conftest$ac_exeext &&
36143 $as_test_x conftest$ac_exeext; then
36144 eval "$as_ac_var=yes"
36145 else
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36148
36149 eval "$as_ac_var=no"
36150 fi
36151
36152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36153 conftest$ac_exeext conftest.$ac_ext
36154 fi
36155 ac_res=`eval echo '${'$as_ac_var'}'`
36156 { echo "$as_me:$LINENO: result: $ac_res" >&5
36157 echo "${ECHO_T}$ac_res" >&6; }
36158 if test `eval echo '${'$as_ac_var'}'` = yes; then
36159 cat >>confdefs.h <<_ACEOF
36160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36161 _ACEOF
36162 break
36163 fi
36164 done
36165
36166
36167 { echo "$as_me:$LINENO: checking for statfs" >&5
36168 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36169 if test "${wx_cv_func_statfs+set}" = set; then
36170 echo $ECHO_N "(cached) $ECHO_C" >&6
36171 else
36172 cat >conftest.$ac_ext <<_ACEOF
36173 /* confdefs.h. */
36174 _ACEOF
36175 cat confdefs.h >>conftest.$ac_ext
36176 cat >>conftest.$ac_ext <<_ACEOF
36177 /* end confdefs.h. */
36178
36179 #if defined(__BSD__)
36180 #include <sys/param.h>
36181 #include <sys/mount.h>
36182 #else
36183 #include <sys/vfs.h>
36184 #endif
36185
36186 int
36187 main ()
36188 {
36189
36190 long l;
36191 struct statfs fs;
36192 statfs("/", &fs);
36193 l = fs.f_bsize;
36194 l += fs.f_blocks;
36195 l += fs.f_bavail;
36196
36197 ;
36198 return 0;
36199 }
36200 _ACEOF
36201 rm -f conftest.$ac_objext
36202 if { (ac_try="$ac_compile"
36203 case "(($ac_try" in
36204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36205 *) ac_try_echo=$ac_try;;
36206 esac
36207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36208 (eval "$ac_compile") 2>conftest.er1
36209 ac_status=$?
36210 grep -v '^ *+' conftest.er1 >conftest.err
36211 rm -f conftest.er1
36212 cat conftest.err >&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); } && {
36215 test -z "$ac_c_werror_flag" ||
36216 test ! -s conftest.err
36217 } && test -s conftest.$ac_objext; then
36218 wx_cv_func_statfs=yes
36219 else
36220 echo "$as_me: failed program was:" >&5
36221 sed 's/^/| /' conftest.$ac_ext >&5
36222
36223 wx_cv_func_statfs=no
36224
36225 fi
36226
36227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36228
36229 fi
36230 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36231 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36232
36233 if test "$wx_cv_func_statfs" = "yes"; then
36234 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36235 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36236 if test "${wx_cv_func_statfs_decl+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36238 else
36239 ac_ext=cpp
36240 ac_cpp='$CXXCPP $CPPFLAGS'
36241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36244
36245 cat >conftest.$ac_ext <<_ACEOF
36246 /* confdefs.h. */
36247 _ACEOF
36248 cat confdefs.h >>conftest.$ac_ext
36249 cat >>conftest.$ac_ext <<_ACEOF
36250 /* end confdefs.h. */
36251
36252 #if defined(__BSD__)
36253 #include <sys/param.h>
36254 #include <sys/mount.h>
36255 #else
36256 #include <sys/vfs.h>
36257 #endif
36258
36259 int
36260 main ()
36261 {
36262
36263 struct statfs fs;
36264 statfs("", &fs);
36265
36266 ;
36267 return 0;
36268 }
36269 _ACEOF
36270 rm -f conftest.$ac_objext
36271 if { (ac_try="$ac_compile"
36272 case "(($ac_try" in
36273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36274 *) ac_try_echo=$ac_try;;
36275 esac
36276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36277 (eval "$ac_compile") 2>conftest.er1
36278 ac_status=$?
36279 grep -v '^ *+' conftest.er1 >conftest.err
36280 rm -f conftest.er1
36281 cat conftest.err >&5
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); } && {
36284 test -z "$ac_cxx_werror_flag" ||
36285 test ! -s conftest.err
36286 } && test -s conftest.$ac_objext; then
36287 wx_cv_func_statfs_decl=yes
36288 else
36289 echo "$as_me: failed program was:" >&5
36290 sed 's/^/| /' conftest.$ac_ext >&5
36291
36292 wx_cv_func_statfs_decl=no
36293
36294 fi
36295
36296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36297 ac_ext=c
36298 ac_cpp='$CPP $CPPFLAGS'
36299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36302
36303
36304 fi
36305 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36306 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36307
36308 if test "$wx_cv_func_statfs_decl" = "yes"; then
36309 cat >>confdefs.h <<\_ACEOF
36310 #define HAVE_STATFS_DECL 1
36311 _ACEOF
36312
36313 fi
36314
36315 wx_cv_type_statvfs_t="struct statfs"
36316 cat >>confdefs.h <<\_ACEOF
36317 #define HAVE_STATFS 1
36318 _ACEOF
36319
36320 else
36321 { echo "$as_me:$LINENO: checking for statvfs" >&5
36322 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36323 if test "${wx_cv_func_statvfs+set}" = set; then
36324 echo $ECHO_N "(cached) $ECHO_C" >&6
36325 else
36326 cat >conftest.$ac_ext <<_ACEOF
36327 /* confdefs.h. */
36328 _ACEOF
36329 cat confdefs.h >>conftest.$ac_ext
36330 cat >>conftest.$ac_ext <<_ACEOF
36331 /* end confdefs.h. */
36332
36333 #include <stddef.h>
36334 #include <sys/statvfs.h>
36335
36336 int
36337 main ()
36338 {
36339
36340 statvfs("/", NULL);
36341
36342 ;
36343 return 0;
36344 }
36345 _ACEOF
36346 rm -f conftest.$ac_objext
36347 if { (ac_try="$ac_compile"
36348 case "(($ac_try" in
36349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36350 *) ac_try_echo=$ac_try;;
36351 esac
36352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36353 (eval "$ac_compile") 2>conftest.er1
36354 ac_status=$?
36355 grep -v '^ *+' conftest.er1 >conftest.err
36356 rm -f conftest.er1
36357 cat conftest.err >&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); } && {
36360 test -z "$ac_c_werror_flag" ||
36361 test ! -s conftest.err
36362 } && test -s conftest.$ac_objext; then
36363 wx_cv_func_statvfs=yes
36364 else
36365 echo "$as_me: failed program was:" >&5
36366 sed 's/^/| /' conftest.$ac_ext >&5
36367
36368 wx_cv_func_statvfs=no
36369
36370 fi
36371
36372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36373
36374 fi
36375 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36376 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36377
36378 if test "$wx_cv_func_statvfs" = "yes"; then
36379 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36380 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36381 if test "${wx_cv_type_statvfs_t+set}" = set; then
36382 echo $ECHO_N "(cached) $ECHO_C" >&6
36383 else
36384 ac_ext=cpp
36385 ac_cpp='$CXXCPP $CPPFLAGS'
36386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36389
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
36397 #include <sys/statvfs.h>
36398
36399 int
36400 main ()
36401 {
36402
36403 long l;
36404 statvfs_t fs;
36405 statvfs("/", &fs);
36406 l = fs.f_bsize;
36407 l += fs.f_blocks;
36408 l += fs.f_bavail;
36409
36410 ;
36411 return 0;
36412 }
36413 _ACEOF
36414 rm -f conftest.$ac_objext
36415 if { (ac_try="$ac_compile"
36416 case "(($ac_try" in
36417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36418 *) ac_try_echo=$ac_try;;
36419 esac
36420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36421 (eval "$ac_compile") 2>conftest.er1
36422 ac_status=$?
36423 grep -v '^ *+' conftest.er1 >conftest.err
36424 rm -f conftest.er1
36425 cat conftest.err >&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } && {
36428 test -z "$ac_cxx_werror_flag" ||
36429 test ! -s conftest.err
36430 } && test -s conftest.$ac_objext; then
36431 wx_cv_type_statvfs_t=statvfs_t
36432 else
36433 echo "$as_me: failed program was:" >&5
36434 sed 's/^/| /' conftest.$ac_ext >&5
36435
36436
36437 cat >conftest.$ac_ext <<_ACEOF
36438 /* confdefs.h. */
36439 _ACEOF
36440 cat confdefs.h >>conftest.$ac_ext
36441 cat >>conftest.$ac_ext <<_ACEOF
36442 /* end confdefs.h. */
36443
36444 #include <sys/statvfs.h>
36445
36446 int
36447 main ()
36448 {
36449
36450 long l;
36451 struct statvfs fs;
36452 statvfs("/", &fs);
36453 l = fs.f_bsize;
36454 l += fs.f_blocks;
36455 l += fs.f_bavail;
36456
36457 ;
36458 return 0;
36459 }
36460 _ACEOF
36461 rm -f conftest.$ac_objext
36462 if { (ac_try="$ac_compile"
36463 case "(($ac_try" in
36464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36465 *) ac_try_echo=$ac_try;;
36466 esac
36467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36468 (eval "$ac_compile") 2>conftest.er1
36469 ac_status=$?
36470 grep -v '^ *+' conftest.er1 >conftest.err
36471 rm -f conftest.er1
36472 cat conftest.err >&5
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); } && {
36475 test -z "$ac_cxx_werror_flag" ||
36476 test ! -s conftest.err
36477 } && test -s conftest.$ac_objext; then
36478 wx_cv_type_statvfs_t="struct statvfs"
36479 else
36480 echo "$as_me: failed program was:" >&5
36481 sed 's/^/| /' conftest.$ac_ext >&5
36482
36483 wx_cv_type_statvfs_t="unknown"
36484
36485 fi
36486
36487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36488
36489
36490 fi
36491
36492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36493 ac_ext=c
36494 ac_cpp='$CPP $CPPFLAGS'
36495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36498
36499
36500 fi
36501 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36502 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36503
36504 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36505 cat >>confdefs.h <<\_ACEOF
36506 #define HAVE_STATVFS 1
36507 _ACEOF
36508
36509 fi
36510 else
36511 wx_cv_type_statvfs_t="unknown"
36512 fi
36513 fi
36514
36515 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36516 cat >>confdefs.h <<_ACEOF
36517 #define WX_STATFS_T $wx_cv_type_statvfs_t
36518 _ACEOF
36519
36520 else
36521 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36522 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36523 fi
36524
36525 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36526
36527
36528 for ac_func in fcntl flock
36529 do
36530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36531 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36533 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36534 echo $ECHO_N "(cached) $ECHO_C" >&6
36535 else
36536 cat >conftest.$ac_ext <<_ACEOF
36537 /* confdefs.h. */
36538 _ACEOF
36539 cat confdefs.h >>conftest.$ac_ext
36540 cat >>conftest.$ac_ext <<_ACEOF
36541 /* end confdefs.h. */
36542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36544 #define $ac_func innocuous_$ac_func
36545
36546 /* System header to define __stub macros and hopefully few prototypes,
36547 which can conflict with char $ac_func (); below.
36548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36549 <limits.h> exists even on freestanding compilers. */
36550
36551 #ifdef __STDC__
36552 # include <limits.h>
36553 #else
36554 # include <assert.h>
36555 #endif
36556
36557 #undef $ac_func
36558
36559 /* Override any GCC internal prototype to avoid an error.
36560 Use char because int might match the return type of a GCC
36561 builtin and then its argument prototype would still apply. */
36562 #ifdef __cplusplus
36563 extern "C"
36564 #endif
36565 char $ac_func ();
36566 /* The GNU C library defines this for functions which it implements
36567 to always fail with ENOSYS. Some functions are actually named
36568 something starting with __ and the normal name is an alias. */
36569 #if defined __stub_$ac_func || defined __stub___$ac_func
36570 choke me
36571 #endif
36572
36573 int
36574 main ()
36575 {
36576 return $ac_func ();
36577 ;
36578 return 0;
36579 }
36580 _ACEOF
36581 rm -f conftest.$ac_objext conftest$ac_exeext
36582 if { (ac_try="$ac_link"
36583 case "(($ac_try" in
36584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36585 *) ac_try_echo=$ac_try;;
36586 esac
36587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36588 (eval "$ac_link") 2>conftest.er1
36589 ac_status=$?
36590 grep -v '^ *+' conftest.er1 >conftest.err
36591 rm -f conftest.er1
36592 cat conftest.err >&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); } && {
36595 test -z "$ac_c_werror_flag" ||
36596 test ! -s conftest.err
36597 } && test -s conftest$ac_exeext &&
36598 $as_test_x conftest$ac_exeext; then
36599 eval "$as_ac_var=yes"
36600 else
36601 echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.$ac_ext >&5
36603
36604 eval "$as_ac_var=no"
36605 fi
36606
36607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36608 conftest$ac_exeext conftest.$ac_ext
36609 fi
36610 ac_res=`eval echo '${'$as_ac_var'}'`
36611 { echo "$as_me:$LINENO: result: $ac_res" >&5
36612 echo "${ECHO_T}$ac_res" >&6; }
36613 if test `eval echo '${'$as_ac_var'}'` = yes; then
36614 cat >>confdefs.h <<_ACEOF
36615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36616 _ACEOF
36617 break
36618 fi
36619 done
36620
36621
36622 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36623 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36624 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36625 wxUSE_SNGLINST_CHECKER=no
36626 fi
36627 fi
36628
36629
36630
36631 for ac_func in setenv putenv
36632 do
36633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36637 echo $ECHO_N "(cached) $ECHO_C" >&6
36638 else
36639 cat >conftest.$ac_ext <<_ACEOF
36640 /* confdefs.h. */
36641 _ACEOF
36642 cat confdefs.h >>conftest.$ac_ext
36643 cat >>conftest.$ac_ext <<_ACEOF
36644 /* end confdefs.h. */
36645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36647 #define $ac_func innocuous_$ac_func
36648
36649 /* System header to define __stub macros and hopefully few prototypes,
36650 which can conflict with char $ac_func (); below.
36651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36652 <limits.h> exists even on freestanding compilers. */
36653
36654 #ifdef __STDC__
36655 # include <limits.h>
36656 #else
36657 # include <assert.h>
36658 #endif
36659
36660 #undef $ac_func
36661
36662 /* Override any GCC internal prototype to avoid an error.
36663 Use char because int might match the return type of a GCC
36664 builtin and then its argument prototype would still apply. */
36665 #ifdef __cplusplus
36666 extern "C"
36667 #endif
36668 char $ac_func ();
36669 /* The GNU C library defines this for functions which it implements
36670 to always fail with ENOSYS. Some functions are actually named
36671 something starting with __ and the normal name is an alias. */
36672 #if defined __stub_$ac_func || defined __stub___$ac_func
36673 choke me
36674 #endif
36675
36676 int
36677 main ()
36678 {
36679 return $ac_func ();
36680 ;
36681 return 0;
36682 }
36683 _ACEOF
36684 rm -f conftest.$ac_objext conftest$ac_exeext
36685 if { (ac_try="$ac_link"
36686 case "(($ac_try" in
36687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36688 *) ac_try_echo=$ac_try;;
36689 esac
36690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36691 (eval "$ac_link") 2>conftest.er1
36692 ac_status=$?
36693 grep -v '^ *+' conftest.er1 >conftest.err
36694 rm -f conftest.er1
36695 cat conftest.err >&5
36696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697 (exit $ac_status); } && {
36698 test -z "$ac_c_werror_flag" ||
36699 test ! -s conftest.err
36700 } && test -s conftest$ac_exeext &&
36701 $as_test_x conftest$ac_exeext; then
36702 eval "$as_ac_var=yes"
36703 else
36704 echo "$as_me: failed program was:" >&5
36705 sed 's/^/| /' conftest.$ac_ext >&5
36706
36707 eval "$as_ac_var=no"
36708 fi
36709
36710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36711 conftest$ac_exeext conftest.$ac_ext
36712 fi
36713 ac_res=`eval echo '${'$as_ac_var'}'`
36714 { echo "$as_me:$LINENO: result: $ac_res" >&5
36715 echo "${ECHO_T}$ac_res" >&6; }
36716 if test `eval echo '${'$as_ac_var'}'` = yes; then
36717 cat >>confdefs.h <<_ACEOF
36718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36719 _ACEOF
36720 break
36721 fi
36722 done
36723
36724 if test "$ac_cv_func_setenv" = "yes"; then
36725
36726 for ac_func in unsetenv
36727 do
36728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36729 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36731 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36732 echo $ECHO_N "(cached) $ECHO_C" >&6
36733 else
36734 cat >conftest.$ac_ext <<_ACEOF
36735 /* confdefs.h. */
36736 _ACEOF
36737 cat confdefs.h >>conftest.$ac_ext
36738 cat >>conftest.$ac_ext <<_ACEOF
36739 /* end confdefs.h. */
36740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36742 #define $ac_func innocuous_$ac_func
36743
36744 /* System header to define __stub macros and hopefully few prototypes,
36745 which can conflict with char $ac_func (); below.
36746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36747 <limits.h> exists even on freestanding compilers. */
36748
36749 #ifdef __STDC__
36750 # include <limits.h>
36751 #else
36752 # include <assert.h>
36753 #endif
36754
36755 #undef $ac_func
36756
36757 /* Override any GCC internal prototype to avoid an error.
36758 Use char because int might match the return type of a GCC
36759 builtin and then its argument prototype would still apply. */
36760 #ifdef __cplusplus
36761 extern "C"
36762 #endif
36763 char $ac_func ();
36764 /* The GNU C library defines this for functions which it implements
36765 to always fail with ENOSYS. Some functions are actually named
36766 something starting with __ and the normal name is an alias. */
36767 #if defined __stub_$ac_func || defined __stub___$ac_func
36768 choke me
36769 #endif
36770
36771 int
36772 main ()
36773 {
36774 return $ac_func ();
36775 ;
36776 return 0;
36777 }
36778 _ACEOF
36779 rm -f conftest.$ac_objext conftest$ac_exeext
36780 if { (ac_try="$ac_link"
36781 case "(($ac_try" in
36782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36783 *) ac_try_echo=$ac_try;;
36784 esac
36785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36786 (eval "$ac_link") 2>conftest.er1
36787 ac_status=$?
36788 grep -v '^ *+' conftest.er1 >conftest.err
36789 rm -f conftest.er1
36790 cat conftest.err >&5
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); } && {
36793 test -z "$ac_c_werror_flag" ||
36794 test ! -s conftest.err
36795 } && test -s conftest$ac_exeext &&
36796 $as_test_x conftest$ac_exeext; then
36797 eval "$as_ac_var=yes"
36798 else
36799 echo "$as_me: failed program was:" >&5
36800 sed 's/^/| /' conftest.$ac_ext >&5
36801
36802 eval "$as_ac_var=no"
36803 fi
36804
36805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36806 conftest$ac_exeext conftest.$ac_ext
36807 fi
36808 ac_res=`eval echo '${'$as_ac_var'}'`
36809 { echo "$as_me:$LINENO: result: $ac_res" >&5
36810 echo "${ECHO_T}$ac_res" >&6; }
36811 if test `eval echo '${'$as_ac_var'}'` = yes; then
36812 cat >>confdefs.h <<_ACEOF
36813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36814 _ACEOF
36815
36816 fi
36817 done
36818
36819 fi
36820
36821 HAVE_SOME_SLEEP_FUNC=0
36822 if test "$USE_BEOS" = 1; then
36823 cat >>confdefs.h <<\_ACEOF
36824 #define HAVE_SLEEP 1
36825 _ACEOF
36826
36827 HAVE_SOME_SLEEP_FUNC=1
36828 fi
36829
36830 if test "$USE_DARWIN" = 1; then
36831 cat >>confdefs.h <<\_ACEOF
36832 #define HAVE_USLEEP 1
36833 _ACEOF
36834
36835 HAVE_SOME_SLEEP_FUNC=1
36836 fi
36837
36838 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36839 POSIX4_LINK=
36840
36841 for ac_func in nanosleep
36842 do
36843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36847 echo $ECHO_N "(cached) $ECHO_C" >&6
36848 else
36849 cat >conftest.$ac_ext <<_ACEOF
36850 /* confdefs.h. */
36851 _ACEOF
36852 cat confdefs.h >>conftest.$ac_ext
36853 cat >>conftest.$ac_ext <<_ACEOF
36854 /* end confdefs.h. */
36855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36857 #define $ac_func innocuous_$ac_func
36858
36859 /* System header to define __stub macros and hopefully few prototypes,
36860 which can conflict with char $ac_func (); below.
36861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36862 <limits.h> exists even on freestanding compilers. */
36863
36864 #ifdef __STDC__
36865 # include <limits.h>
36866 #else
36867 # include <assert.h>
36868 #endif
36869
36870 #undef $ac_func
36871
36872 /* Override any GCC internal prototype to avoid an error.
36873 Use char because int might match the return type of a GCC
36874 builtin and then its argument prototype would still apply. */
36875 #ifdef __cplusplus
36876 extern "C"
36877 #endif
36878 char $ac_func ();
36879 /* The GNU C library defines this for functions which it implements
36880 to always fail with ENOSYS. Some functions are actually named
36881 something starting with __ and the normal name is an alias. */
36882 #if defined __stub_$ac_func || defined __stub___$ac_func
36883 choke me
36884 #endif
36885
36886 int
36887 main ()
36888 {
36889 return $ac_func ();
36890 ;
36891 return 0;
36892 }
36893 _ACEOF
36894 rm -f conftest.$ac_objext conftest$ac_exeext
36895 if { (ac_try="$ac_link"
36896 case "(($ac_try" in
36897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36898 *) ac_try_echo=$ac_try;;
36899 esac
36900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36901 (eval "$ac_link") 2>conftest.er1
36902 ac_status=$?
36903 grep -v '^ *+' conftest.er1 >conftest.err
36904 rm -f conftest.er1
36905 cat conftest.err >&5
36906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36907 (exit $ac_status); } && {
36908 test -z "$ac_c_werror_flag" ||
36909 test ! -s conftest.err
36910 } && test -s conftest$ac_exeext &&
36911 $as_test_x conftest$ac_exeext; then
36912 eval "$as_ac_var=yes"
36913 else
36914 echo "$as_me: failed program was:" >&5
36915 sed 's/^/| /' conftest.$ac_ext >&5
36916
36917 eval "$as_ac_var=no"
36918 fi
36919
36920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36921 conftest$ac_exeext conftest.$ac_ext
36922 fi
36923 ac_res=`eval echo '${'$as_ac_var'}'`
36924 { echo "$as_me:$LINENO: result: $ac_res" >&5
36925 echo "${ECHO_T}$ac_res" >&6; }
36926 if test `eval echo '${'$as_ac_var'}'` = yes; then
36927 cat >>confdefs.h <<_ACEOF
36928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36929 _ACEOF
36930 cat >>confdefs.h <<\_ACEOF
36931 #define HAVE_NANOSLEEP 1
36932 _ACEOF
36933
36934 else
36935
36936 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36937 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36938 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36939 echo $ECHO_N "(cached) $ECHO_C" >&6
36940 else
36941 ac_check_lib_save_LIBS=$LIBS
36942 LIBS="-lposix4 $LIBS"
36943 cat >conftest.$ac_ext <<_ACEOF
36944 /* confdefs.h. */
36945 _ACEOF
36946 cat confdefs.h >>conftest.$ac_ext
36947 cat >>conftest.$ac_ext <<_ACEOF
36948 /* end confdefs.h. */
36949
36950 /* Override any GCC internal prototype to avoid an error.
36951 Use char because int might match the return type of a GCC
36952 builtin and then its argument prototype would still apply. */
36953 #ifdef __cplusplus
36954 extern "C"
36955 #endif
36956 char nanosleep ();
36957 int
36958 main ()
36959 {
36960 return nanosleep ();
36961 ;
36962 return 0;
36963 }
36964 _ACEOF
36965 rm -f conftest.$ac_objext conftest$ac_exeext
36966 if { (ac_try="$ac_link"
36967 case "(($ac_try" in
36968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36969 *) ac_try_echo=$ac_try;;
36970 esac
36971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36972 (eval "$ac_link") 2>conftest.er1
36973 ac_status=$?
36974 grep -v '^ *+' conftest.er1 >conftest.err
36975 rm -f conftest.er1
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } && {
36979 test -z "$ac_c_werror_flag" ||
36980 test ! -s conftest.err
36981 } && test -s conftest$ac_exeext &&
36982 $as_test_x conftest$ac_exeext; then
36983 ac_cv_lib_posix4_nanosleep=yes
36984 else
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36987
36988 ac_cv_lib_posix4_nanosleep=no
36989 fi
36990
36991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36992 conftest$ac_exeext conftest.$ac_ext
36993 LIBS=$ac_check_lib_save_LIBS
36994 fi
36995 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36996 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36997 if test $ac_cv_lib_posix4_nanosleep = yes; then
36998
36999 cat >>confdefs.h <<\_ACEOF
37000 #define HAVE_NANOSLEEP 1
37001 _ACEOF
37002
37003 POSIX4_LINK=" -lposix4"
37004
37005 else
37006
37007
37008 for wx_func in usleep
37009 do
37010 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37011 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37012 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37013 echo $ECHO_N "(cached) $ECHO_C" >&6
37014 else
37015
37016 cat >conftest.$ac_ext <<_ACEOF
37017
37018 /* confdefs.h. */
37019 _ACEOF
37020 cat confdefs.h >>conftest.$ac_ext
37021 cat >>conftest.$ac_ext <<_ACEOF
37022 /* end confdefs.h. */
37023
37024
37025 $ac_includes_default
37026
37027 int
37028 main ()
37029 {
37030
37031 #ifndef $wx_func
37032 &$wx_func;
37033 #endif
37034
37035
37036 ;
37037 return 0;
37038 }
37039
37040 _ACEOF
37041 rm -f conftest.$ac_objext conftest$ac_exeext
37042 if { (ac_try="$ac_link"
37043 case "(($ac_try" in
37044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37045 *) ac_try_echo=$ac_try;;
37046 esac
37047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37048 (eval "$ac_link") 2>conftest.er1
37049 ac_status=$?
37050 grep -v '^ *+' conftest.er1 >conftest.err
37051 rm -f conftest.er1
37052 cat conftest.err >&5
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); } && {
37055 test -z "$ac_c_werror_flag" ||
37056 test ! -s conftest.err
37057 } && test -s conftest$ac_exeext &&
37058 $as_test_x conftest$ac_exeext; then
37059 eval wx_cv_func_$wx_func=yes
37060 else
37061 echo "$as_me: failed program was:" >&5
37062 sed 's/^/| /' conftest.$ac_ext >&5
37063
37064 eval wx_cv_func_$wx_func=no
37065 fi
37066
37067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37068 conftest$ac_exeext conftest.$ac_ext
37069
37070 fi
37071 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37072 { echo "$as_me:$LINENO: result: $ac_res" >&5
37073 echo "${ECHO_T}$ac_res" >&6; }
37074
37075 if eval test \$wx_cv_func_$wx_func = yes
37076 then
37077 cat >>confdefs.h <<_ACEOF
37078 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37079 _ACEOF
37080
37081
37082 else
37083 :
37084 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37085 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37086
37087 fi
37088 done
37089
37090
37091
37092 fi
37093
37094
37095
37096 fi
37097 done
37098
37099 fi
37100
37101
37102 for wx_func in uname
37103 do
37104 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37105 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37106 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37107 echo $ECHO_N "(cached) $ECHO_C" >&6
37108 else
37109
37110 cat >conftest.$ac_ext <<_ACEOF
37111
37112 /* confdefs.h. */
37113 _ACEOF
37114 cat confdefs.h >>conftest.$ac_ext
37115 cat >>conftest.$ac_ext <<_ACEOF
37116 /* end confdefs.h. */
37117
37118 #include <sys/utsname.h>
37119 $ac_includes_default
37120
37121 int
37122 main ()
37123 {
37124
37125 #ifndef $wx_func
37126 &$wx_func;
37127 #endif
37128
37129
37130 ;
37131 return 0;
37132 }
37133
37134 _ACEOF
37135 rm -f conftest.$ac_objext conftest$ac_exeext
37136 if { (ac_try="$ac_link"
37137 case "(($ac_try" in
37138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37139 *) ac_try_echo=$ac_try;;
37140 esac
37141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37142 (eval "$ac_link") 2>conftest.er1
37143 ac_status=$?
37144 grep -v '^ *+' conftest.er1 >conftest.err
37145 rm -f conftest.er1
37146 cat conftest.err >&5
37147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148 (exit $ac_status); } && {
37149 test -z "$ac_c_werror_flag" ||
37150 test ! -s conftest.err
37151 } && test -s conftest$ac_exeext &&
37152 $as_test_x conftest$ac_exeext; then
37153 eval wx_cv_func_$wx_func=yes
37154 else
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.$ac_ext >&5
37157
37158 eval wx_cv_func_$wx_func=no
37159 fi
37160
37161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37162 conftest$ac_exeext conftest.$ac_ext
37163
37164 fi
37165 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37166 { echo "$as_me:$LINENO: result: $ac_res" >&5
37167 echo "${ECHO_T}$ac_res" >&6; }
37168
37169 if eval test \$wx_cv_func_$wx_func = yes
37170 then
37171 cat >>confdefs.h <<_ACEOF
37172 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37173 _ACEOF
37174
37175
37176 else
37177 :
37178
37179 fi
37180 done
37181
37182 if test "$wx_cv_func_uname" != yes; then
37183
37184 for wx_func in gethostname
37185 do
37186 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37187 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37188 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37189 echo $ECHO_N "(cached) $ECHO_C" >&6
37190 else
37191
37192 cat >conftest.$ac_ext <<_ACEOF
37193
37194 /* confdefs.h. */
37195 _ACEOF
37196 cat confdefs.h >>conftest.$ac_ext
37197 cat >>conftest.$ac_ext <<_ACEOF
37198 /* end confdefs.h. */
37199
37200
37201 $ac_includes_default
37202
37203 int
37204 main ()
37205 {
37206
37207 #ifndef $wx_func
37208 &$wx_func;
37209 #endif
37210
37211
37212 ;
37213 return 0;
37214 }
37215
37216 _ACEOF
37217 rm -f conftest.$ac_objext conftest$ac_exeext
37218 if { (ac_try="$ac_link"
37219 case "(($ac_try" in
37220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37221 *) ac_try_echo=$ac_try;;
37222 esac
37223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37224 (eval "$ac_link") 2>conftest.er1
37225 ac_status=$?
37226 grep -v '^ *+' conftest.er1 >conftest.err
37227 rm -f conftest.er1
37228 cat conftest.err >&5
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); } && {
37231 test -z "$ac_c_werror_flag" ||
37232 test ! -s conftest.err
37233 } && test -s conftest$ac_exeext &&
37234 $as_test_x conftest$ac_exeext; then
37235 eval wx_cv_func_$wx_func=yes
37236 else
37237 echo "$as_me: failed program was:" >&5
37238 sed 's/^/| /' conftest.$ac_ext >&5
37239
37240 eval wx_cv_func_$wx_func=no
37241 fi
37242
37243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37244 conftest$ac_exeext conftest.$ac_ext
37245
37246 fi
37247 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37248 { echo "$as_me:$LINENO: result: $ac_res" >&5
37249 echo "${ECHO_T}$ac_res" >&6; }
37250
37251 if eval test \$wx_cv_func_$wx_func = yes
37252 then
37253 cat >>confdefs.h <<_ACEOF
37254 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37255 _ACEOF
37256
37257
37258 else
37259 :
37260
37261 fi
37262 done
37263
37264 fi
37265
37266
37267 for wx_func in strtok_r
37268 do
37269 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37270 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37271 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37272 echo $ECHO_N "(cached) $ECHO_C" >&6
37273 else
37274
37275 cat >conftest.$ac_ext <<_ACEOF
37276
37277 /* confdefs.h. */
37278 _ACEOF
37279 cat confdefs.h >>conftest.$ac_ext
37280 cat >>conftest.$ac_ext <<_ACEOF
37281 /* end confdefs.h. */
37282
37283 #define _REENTRANT
37284 $ac_includes_default
37285
37286 int
37287 main ()
37288 {
37289
37290 #ifndef $wx_func
37291 &$wx_func;
37292 #endif
37293
37294
37295 ;
37296 return 0;
37297 }
37298
37299 _ACEOF
37300 rm -f conftest.$ac_objext conftest$ac_exeext
37301 if { (ac_try="$ac_link"
37302 case "(($ac_try" in
37303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37304 *) ac_try_echo=$ac_try;;
37305 esac
37306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37307 (eval "$ac_link") 2>conftest.er1
37308 ac_status=$?
37309 grep -v '^ *+' conftest.er1 >conftest.err
37310 rm -f conftest.er1
37311 cat conftest.err >&5
37312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); } && {
37314 test -z "$ac_c_werror_flag" ||
37315 test ! -s conftest.err
37316 } && test -s conftest$ac_exeext &&
37317 $as_test_x conftest$ac_exeext; then
37318 eval wx_cv_func_$wx_func=yes
37319 else
37320 echo "$as_me: failed program was:" >&5
37321 sed 's/^/| /' conftest.$ac_ext >&5
37322
37323 eval wx_cv_func_$wx_func=no
37324 fi
37325
37326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37327 conftest$ac_exeext conftest.$ac_ext
37328
37329 fi
37330 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37331 { echo "$as_me:$LINENO: result: $ac_res" >&5
37332 echo "${ECHO_T}$ac_res" >&6; }
37333
37334 if eval test \$wx_cv_func_$wx_func = yes
37335 then
37336 cat >>confdefs.h <<_ACEOF
37337 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37338 _ACEOF
37339
37340
37341 else
37342 :
37343
37344 fi
37345 done
37346
37347
37348 INET_LINK=
37349
37350 for ac_func in inet_addr
37351 do
37352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37353 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37356 echo $ECHO_N "(cached) $ECHO_C" >&6
37357 else
37358 cat >conftest.$ac_ext <<_ACEOF
37359 /* confdefs.h. */
37360 _ACEOF
37361 cat confdefs.h >>conftest.$ac_ext
37362 cat >>conftest.$ac_ext <<_ACEOF
37363 /* end confdefs.h. */
37364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37366 #define $ac_func innocuous_$ac_func
37367
37368 /* System header to define __stub macros and hopefully few prototypes,
37369 which can conflict with char $ac_func (); below.
37370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37371 <limits.h> exists even on freestanding compilers. */
37372
37373 #ifdef __STDC__
37374 # include <limits.h>
37375 #else
37376 # include <assert.h>
37377 #endif
37378
37379 #undef $ac_func
37380
37381 /* Override any GCC internal prototype to avoid an error.
37382 Use char because int might match the return type of a GCC
37383 builtin and then its argument prototype would still apply. */
37384 #ifdef __cplusplus
37385 extern "C"
37386 #endif
37387 char $ac_func ();
37388 /* The GNU C library defines this for functions which it implements
37389 to always fail with ENOSYS. Some functions are actually named
37390 something starting with __ and the normal name is an alias. */
37391 #if defined __stub_$ac_func || defined __stub___$ac_func
37392 choke me
37393 #endif
37394
37395 int
37396 main ()
37397 {
37398 return $ac_func ();
37399 ;
37400 return 0;
37401 }
37402 _ACEOF
37403 rm -f conftest.$ac_objext conftest$ac_exeext
37404 if { (ac_try="$ac_link"
37405 case "(($ac_try" in
37406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37407 *) ac_try_echo=$ac_try;;
37408 esac
37409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37410 (eval "$ac_link") 2>conftest.er1
37411 ac_status=$?
37412 grep -v '^ *+' conftest.er1 >conftest.err
37413 rm -f conftest.er1
37414 cat conftest.err >&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); } && {
37417 test -z "$ac_c_werror_flag" ||
37418 test ! -s conftest.err
37419 } && test -s conftest$ac_exeext &&
37420 $as_test_x conftest$ac_exeext; then
37421 eval "$as_ac_var=yes"
37422 else
37423 echo "$as_me: failed program was:" >&5
37424 sed 's/^/| /' conftest.$ac_ext >&5
37425
37426 eval "$as_ac_var=no"
37427 fi
37428
37429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37430 conftest$ac_exeext conftest.$ac_ext
37431 fi
37432 ac_res=`eval echo '${'$as_ac_var'}'`
37433 { echo "$as_me:$LINENO: result: $ac_res" >&5
37434 echo "${ECHO_T}$ac_res" >&6; }
37435 if test `eval echo '${'$as_ac_var'}'` = yes; then
37436 cat >>confdefs.h <<_ACEOF
37437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37438 _ACEOF
37439 cat >>confdefs.h <<\_ACEOF
37440 #define HAVE_INET_ADDR 1
37441 _ACEOF
37442
37443 else
37444
37445 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37446 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37447 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37448 echo $ECHO_N "(cached) $ECHO_C" >&6
37449 else
37450 ac_check_lib_save_LIBS=$LIBS
37451 LIBS="-lnsl $LIBS"
37452 cat >conftest.$ac_ext <<_ACEOF
37453 /* confdefs.h. */
37454 _ACEOF
37455 cat confdefs.h >>conftest.$ac_ext
37456 cat >>conftest.$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37458
37459 /* Override any GCC internal prototype to avoid an error.
37460 Use char because int might match the return type of a GCC
37461 builtin and then its argument prototype would still apply. */
37462 #ifdef __cplusplus
37463 extern "C"
37464 #endif
37465 char inet_addr ();
37466 int
37467 main ()
37468 {
37469 return inet_addr ();
37470 ;
37471 return 0;
37472 }
37473 _ACEOF
37474 rm -f conftest.$ac_objext conftest$ac_exeext
37475 if { (ac_try="$ac_link"
37476 case "(($ac_try" in
37477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37478 *) ac_try_echo=$ac_try;;
37479 esac
37480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37481 (eval "$ac_link") 2>conftest.er1
37482 ac_status=$?
37483 grep -v '^ *+' conftest.er1 >conftest.err
37484 rm -f conftest.er1
37485 cat conftest.err >&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); } && {
37488 test -z "$ac_c_werror_flag" ||
37489 test ! -s conftest.err
37490 } && test -s conftest$ac_exeext &&
37491 $as_test_x conftest$ac_exeext; then
37492 ac_cv_lib_nsl_inet_addr=yes
37493 else
37494 echo "$as_me: failed program was:" >&5
37495 sed 's/^/| /' conftest.$ac_ext >&5
37496
37497 ac_cv_lib_nsl_inet_addr=no
37498 fi
37499
37500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37501 conftest$ac_exeext conftest.$ac_ext
37502 LIBS=$ac_check_lib_save_LIBS
37503 fi
37504 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37505 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37506 if test $ac_cv_lib_nsl_inet_addr = yes; then
37507 INET_LINK="nsl"
37508 else
37509
37510 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37511 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37512 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37513 echo $ECHO_N "(cached) $ECHO_C" >&6
37514 else
37515 ac_check_lib_save_LIBS=$LIBS
37516 LIBS="-lresolv $LIBS"
37517 cat >conftest.$ac_ext <<_ACEOF
37518 /* confdefs.h. */
37519 _ACEOF
37520 cat confdefs.h >>conftest.$ac_ext
37521 cat >>conftest.$ac_ext <<_ACEOF
37522 /* end confdefs.h. */
37523
37524 /* Override any GCC internal prototype to avoid an error.
37525 Use char because int might match the return type of a GCC
37526 builtin and then its argument prototype would still apply. */
37527 #ifdef __cplusplus
37528 extern "C"
37529 #endif
37530 char inet_addr ();
37531 int
37532 main ()
37533 {
37534 return inet_addr ();
37535 ;
37536 return 0;
37537 }
37538 _ACEOF
37539 rm -f conftest.$ac_objext conftest$ac_exeext
37540 if { (ac_try="$ac_link"
37541 case "(($ac_try" in
37542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37543 *) ac_try_echo=$ac_try;;
37544 esac
37545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37546 (eval "$ac_link") 2>conftest.er1
37547 ac_status=$?
37548 grep -v '^ *+' conftest.er1 >conftest.err
37549 rm -f conftest.er1
37550 cat conftest.err >&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } && {
37553 test -z "$ac_c_werror_flag" ||
37554 test ! -s conftest.err
37555 } && test -s conftest$ac_exeext &&
37556 $as_test_x conftest$ac_exeext; then
37557 ac_cv_lib_resolv_inet_addr=yes
37558 else
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.$ac_ext >&5
37561
37562 ac_cv_lib_resolv_inet_addr=no
37563 fi
37564
37565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37566 conftest$ac_exeext conftest.$ac_ext
37567 LIBS=$ac_check_lib_save_LIBS
37568 fi
37569 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37570 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37571 if test $ac_cv_lib_resolv_inet_addr = yes; then
37572 INET_LINK="resolv"
37573 else
37574
37575 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37576 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37577 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37578 echo $ECHO_N "(cached) $ECHO_C" >&6
37579 else
37580 ac_check_lib_save_LIBS=$LIBS
37581 LIBS="-lsocket $LIBS"
37582 cat >conftest.$ac_ext <<_ACEOF
37583 /* confdefs.h. */
37584 _ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37588
37589 /* Override any GCC internal prototype to avoid an error.
37590 Use char because int might match the return type of a GCC
37591 builtin and then its argument prototype would still apply. */
37592 #ifdef __cplusplus
37593 extern "C"
37594 #endif
37595 char inet_addr ();
37596 int
37597 main ()
37598 {
37599 return inet_addr ();
37600 ;
37601 return 0;
37602 }
37603 _ACEOF
37604 rm -f conftest.$ac_objext conftest$ac_exeext
37605 if { (ac_try="$ac_link"
37606 case "(($ac_try" in
37607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37608 *) ac_try_echo=$ac_try;;
37609 esac
37610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37611 (eval "$ac_link") 2>conftest.er1
37612 ac_status=$?
37613 grep -v '^ *+' conftest.er1 >conftest.err
37614 rm -f conftest.er1
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } && {
37618 test -z "$ac_c_werror_flag" ||
37619 test ! -s conftest.err
37620 } && test -s conftest$ac_exeext &&
37621 $as_test_x conftest$ac_exeext; then
37622 ac_cv_lib_socket_inet_addr=yes
37623 else
37624 echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.$ac_ext >&5
37626
37627 ac_cv_lib_socket_inet_addr=no
37628 fi
37629
37630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37631 conftest$ac_exeext conftest.$ac_ext
37632 LIBS=$ac_check_lib_save_LIBS
37633 fi
37634 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37635 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37636 if test $ac_cv_lib_socket_inet_addr = yes; then
37637 INET_LINK="socket"
37638
37639 fi
37640
37641
37642
37643 fi
37644
37645
37646
37647 fi
37648
37649
37650
37651 fi
37652 done
37653
37654
37655
37656 for ac_func in inet_aton
37657 do
37658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37659 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37661 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37662 echo $ECHO_N "(cached) $ECHO_C" >&6
37663 else
37664 cat >conftest.$ac_ext <<_ACEOF
37665 /* confdefs.h. */
37666 _ACEOF
37667 cat confdefs.h >>conftest.$ac_ext
37668 cat >>conftest.$ac_ext <<_ACEOF
37669 /* end confdefs.h. */
37670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37672 #define $ac_func innocuous_$ac_func
37673
37674 /* System header to define __stub macros and hopefully few prototypes,
37675 which can conflict with char $ac_func (); below.
37676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37677 <limits.h> exists even on freestanding compilers. */
37678
37679 #ifdef __STDC__
37680 # include <limits.h>
37681 #else
37682 # include <assert.h>
37683 #endif
37684
37685 #undef $ac_func
37686
37687 /* Override any GCC internal prototype to avoid an error.
37688 Use char because int might match the return type of a GCC
37689 builtin and then its argument prototype would still apply. */
37690 #ifdef __cplusplus
37691 extern "C"
37692 #endif
37693 char $ac_func ();
37694 /* The GNU C library defines this for functions which it implements
37695 to always fail with ENOSYS. Some functions are actually named
37696 something starting with __ and the normal name is an alias. */
37697 #if defined __stub_$ac_func || defined __stub___$ac_func
37698 choke me
37699 #endif
37700
37701 int
37702 main ()
37703 {
37704 return $ac_func ();
37705 ;
37706 return 0;
37707 }
37708 _ACEOF
37709 rm -f conftest.$ac_objext conftest$ac_exeext
37710 if { (ac_try="$ac_link"
37711 case "(($ac_try" in
37712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37713 *) ac_try_echo=$ac_try;;
37714 esac
37715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37716 (eval "$ac_link") 2>conftest.er1
37717 ac_status=$?
37718 grep -v '^ *+' conftest.er1 >conftest.err
37719 rm -f conftest.er1
37720 cat conftest.err >&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } && {
37723 test -z "$ac_c_werror_flag" ||
37724 test ! -s conftest.err
37725 } && test -s conftest$ac_exeext &&
37726 $as_test_x conftest$ac_exeext; then
37727 eval "$as_ac_var=yes"
37728 else
37729 echo "$as_me: failed program was:" >&5
37730 sed 's/^/| /' conftest.$ac_ext >&5
37731
37732 eval "$as_ac_var=no"
37733 fi
37734
37735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37736 conftest$ac_exeext conftest.$ac_ext
37737 fi
37738 ac_res=`eval echo '${'$as_ac_var'}'`
37739 { echo "$as_me:$LINENO: result: $ac_res" >&5
37740 echo "${ECHO_T}$ac_res" >&6; }
37741 if test `eval echo '${'$as_ac_var'}'` = yes; then
37742 cat >>confdefs.h <<_ACEOF
37743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37744 _ACEOF
37745 cat >>confdefs.h <<\_ACEOF
37746 #define HAVE_INET_ATON 1
37747 _ACEOF
37748
37749 else
37750
37751 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37752 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37753 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37754 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37755 echo $ECHO_N "(cached) $ECHO_C" >&6
37756 else
37757 ac_check_lib_save_LIBS=$LIBS
37758 LIBS="-l$INET_LINK $LIBS"
37759 cat >conftest.$ac_ext <<_ACEOF
37760 /* confdefs.h. */
37761 _ACEOF
37762 cat confdefs.h >>conftest.$ac_ext
37763 cat >>conftest.$ac_ext <<_ACEOF
37764 /* end confdefs.h. */
37765
37766 /* Override any GCC internal prototype to avoid an error.
37767 Use char because int might match the return type of a GCC
37768 builtin and then its argument prototype would still apply. */
37769 #ifdef __cplusplus
37770 extern "C"
37771 #endif
37772 char inet_aton ();
37773 int
37774 main ()
37775 {
37776 return inet_aton ();
37777 ;
37778 return 0;
37779 }
37780 _ACEOF
37781 rm -f conftest.$ac_objext conftest$ac_exeext
37782 if { (ac_try="$ac_link"
37783 case "(($ac_try" in
37784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37785 *) ac_try_echo=$ac_try;;
37786 esac
37787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37788 (eval "$ac_link") 2>conftest.er1
37789 ac_status=$?
37790 grep -v '^ *+' conftest.er1 >conftest.err
37791 rm -f conftest.er1
37792 cat conftest.err >&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); } && {
37795 test -z "$ac_c_werror_flag" ||
37796 test ! -s conftest.err
37797 } && test -s conftest$ac_exeext &&
37798 $as_test_x conftest$ac_exeext; then
37799 eval "$as_ac_Lib=yes"
37800 else
37801 echo "$as_me: failed program was:" >&5
37802 sed 's/^/| /' conftest.$ac_ext >&5
37803
37804 eval "$as_ac_Lib=no"
37805 fi
37806
37807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37808 conftest$ac_exeext conftest.$ac_ext
37809 LIBS=$ac_check_lib_save_LIBS
37810 fi
37811 ac_res=`eval echo '${'$as_ac_Lib'}'`
37812 { echo "$as_me:$LINENO: result: $ac_res" >&5
37813 echo "${ECHO_T}$ac_res" >&6; }
37814 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37815 cat >>confdefs.h <<\_ACEOF
37816 #define HAVE_INET_ATON 1
37817 _ACEOF
37818
37819 fi
37820
37821
37822 fi
37823 done
37824
37825
37826 if test "x$INET_LINK" != "x"; then
37827 cat >>confdefs.h <<\_ACEOF
37828 #define HAVE_INET_ADDR 1
37829 _ACEOF
37830
37831 INET_LINK=" -l$INET_LINK"
37832 fi
37833
37834
37835 for wx_func in fdopen
37836 do
37837 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37838 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37839 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37840 echo $ECHO_N "(cached) $ECHO_C" >&6
37841 else
37842
37843 cat >conftest.$ac_ext <<_ACEOF
37844
37845 /* confdefs.h. */
37846 _ACEOF
37847 cat confdefs.h >>conftest.$ac_ext
37848 cat >>conftest.$ac_ext <<_ACEOF
37849 /* end confdefs.h. */
37850
37851
37852 $ac_includes_default
37853
37854 int
37855 main ()
37856 {
37857
37858 #ifndef $wx_func
37859 &$wx_func;
37860 #endif
37861
37862
37863 ;
37864 return 0;
37865 }
37866
37867 _ACEOF
37868 rm -f conftest.$ac_objext conftest$ac_exeext
37869 if { (ac_try="$ac_link"
37870 case "(($ac_try" in
37871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37872 *) ac_try_echo=$ac_try;;
37873 esac
37874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37875 (eval "$ac_link") 2>conftest.er1
37876 ac_status=$?
37877 grep -v '^ *+' conftest.er1 >conftest.err
37878 rm -f conftest.er1
37879 cat conftest.err >&5
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); } && {
37882 test -z "$ac_c_werror_flag" ||
37883 test ! -s conftest.err
37884 } && test -s conftest$ac_exeext &&
37885 $as_test_x conftest$ac_exeext; then
37886 eval wx_cv_func_$wx_func=yes
37887 else
37888 echo "$as_me: failed program was:" >&5
37889 sed 's/^/| /' conftest.$ac_ext >&5
37890
37891 eval wx_cv_func_$wx_func=no
37892 fi
37893
37894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37895 conftest$ac_exeext conftest.$ac_ext
37896
37897 fi
37898 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37899 { echo "$as_me:$LINENO: result: $ac_res" >&5
37900 echo "${ECHO_T}$ac_res" >&6; }
37901
37902 if eval test \$wx_cv_func_$wx_func = yes
37903 then
37904 cat >>confdefs.h <<_ACEOF
37905 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37906 _ACEOF
37907
37908
37909 else
37910 :
37911
37912 fi
37913 done
37914
37915
37916 if test "$wxUSE_TARSTREAM" = "yes"; then
37917
37918 for wx_func in sysconf
37919 do
37920 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37921 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37922 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37923 echo $ECHO_N "(cached) $ECHO_C" >&6
37924 else
37925
37926 cat >conftest.$ac_ext <<_ACEOF
37927
37928 /* confdefs.h. */
37929 _ACEOF
37930 cat confdefs.h >>conftest.$ac_ext
37931 cat >>conftest.$ac_ext <<_ACEOF
37932 /* end confdefs.h. */
37933
37934
37935 $ac_includes_default
37936
37937 int
37938 main ()
37939 {
37940
37941 #ifndef $wx_func
37942 &$wx_func;
37943 #endif
37944
37945
37946 ;
37947 return 0;
37948 }
37949
37950 _ACEOF
37951 rm -f conftest.$ac_objext conftest$ac_exeext
37952 if { (ac_try="$ac_link"
37953 case "(($ac_try" in
37954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37955 *) ac_try_echo=$ac_try;;
37956 esac
37957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37958 (eval "$ac_link") 2>conftest.er1
37959 ac_status=$?
37960 grep -v '^ *+' conftest.er1 >conftest.err
37961 rm -f conftest.er1
37962 cat conftest.err >&5
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); } && {
37965 test -z "$ac_c_werror_flag" ||
37966 test ! -s conftest.err
37967 } && test -s conftest$ac_exeext &&
37968 $as_test_x conftest$ac_exeext; then
37969 eval wx_cv_func_$wx_func=yes
37970 else
37971 echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.$ac_ext >&5
37973
37974 eval wx_cv_func_$wx_func=no
37975 fi
37976
37977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37978 conftest$ac_exeext conftest.$ac_ext
37979
37980 fi
37981 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37982 { echo "$as_me:$LINENO: result: $ac_res" >&5
37983 echo "${ECHO_T}$ac_res" >&6; }
37984
37985 if eval test \$wx_cv_func_$wx_func = yes
37986 then
37987 cat >>confdefs.h <<_ACEOF
37988 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37989 _ACEOF
37990
37991
37992 else
37993 :
37994
37995 fi
37996 done
37997
37998
37999
38000 for wx_func in getpwuid_r
38001 do
38002 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38003 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38004 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38005 echo $ECHO_N "(cached) $ECHO_C" >&6
38006 else
38007
38008 cat >conftest.$ac_ext <<_ACEOF
38009
38010 /* confdefs.h. */
38011 _ACEOF
38012 cat confdefs.h >>conftest.$ac_ext
38013 cat >>conftest.$ac_ext <<_ACEOF
38014 /* end confdefs.h. */
38015
38016
38017 #define _REENTRANT
38018 #include <pwd.h>
38019
38020 $ac_includes_default
38021
38022 int
38023 main ()
38024 {
38025
38026 #ifndef $wx_func
38027 &$wx_func;
38028 #endif
38029
38030 struct passwd pw, *ppw;
38031 char buf[1024];
38032 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38033
38034
38035 ;
38036 return 0;
38037 }
38038
38039 _ACEOF
38040 rm -f conftest.$ac_objext conftest$ac_exeext
38041 if { (ac_try="$ac_link"
38042 case "(($ac_try" in
38043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38044 *) ac_try_echo=$ac_try;;
38045 esac
38046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38047 (eval "$ac_link") 2>conftest.er1
38048 ac_status=$?
38049 grep -v '^ *+' conftest.er1 >conftest.err
38050 rm -f conftest.er1
38051 cat conftest.err >&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); } && {
38054 test -z "$ac_c_werror_flag" ||
38055 test ! -s conftest.err
38056 } && test -s conftest$ac_exeext &&
38057 $as_test_x conftest$ac_exeext; then
38058 eval wx_cv_func_$wx_func=yes
38059 else
38060 echo "$as_me: failed program was:" >&5
38061 sed 's/^/| /' conftest.$ac_ext >&5
38062
38063 eval wx_cv_func_$wx_func=no
38064 fi
38065
38066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38067 conftest$ac_exeext conftest.$ac_ext
38068
38069 fi
38070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38071 { echo "$as_me:$LINENO: result: $ac_res" >&5
38072 echo "${ECHO_T}$ac_res" >&6; }
38073
38074 if eval test \$wx_cv_func_$wx_func = yes
38075 then
38076 cat >>confdefs.h <<_ACEOF
38077 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38078 _ACEOF
38079
38080
38081 else
38082 :
38083
38084 fi
38085 done
38086
38087
38088
38089 for wx_func in getgrgid_r
38090 do
38091 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38092 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38093 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38094 echo $ECHO_N "(cached) $ECHO_C" >&6
38095 else
38096
38097 cat >conftest.$ac_ext <<_ACEOF
38098
38099 /* confdefs.h. */
38100 _ACEOF
38101 cat confdefs.h >>conftest.$ac_ext
38102 cat >>conftest.$ac_ext <<_ACEOF
38103 /* end confdefs.h. */
38104
38105
38106 #define _REENTRANT
38107 #include <grp.h>
38108
38109 $ac_includes_default
38110
38111 int
38112 main ()
38113 {
38114
38115 #ifndef $wx_func
38116 &$wx_func;
38117 #endif
38118
38119 struct group grp, *pgrp;
38120 char buf[1024];
38121 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38122
38123
38124 ;
38125 return 0;
38126 }
38127
38128 _ACEOF
38129 rm -f conftest.$ac_objext conftest$ac_exeext
38130 if { (ac_try="$ac_link"
38131 case "(($ac_try" in
38132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38133 *) ac_try_echo=$ac_try;;
38134 esac
38135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38136 (eval "$ac_link") 2>conftest.er1
38137 ac_status=$?
38138 grep -v '^ *+' conftest.er1 >conftest.err
38139 rm -f conftest.er1
38140 cat conftest.err >&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); } && {
38143 test -z "$ac_c_werror_flag" ||
38144 test ! -s conftest.err
38145 } && test -s conftest$ac_exeext &&
38146 $as_test_x conftest$ac_exeext; then
38147 eval wx_cv_func_$wx_func=yes
38148 else
38149 echo "$as_me: failed program was:" >&5
38150 sed 's/^/| /' conftest.$ac_ext >&5
38151
38152 eval wx_cv_func_$wx_func=no
38153 fi
38154
38155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38156 conftest$ac_exeext conftest.$ac_ext
38157
38158 fi
38159 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38160 { echo "$as_me:$LINENO: result: $ac_res" >&5
38161 echo "${ECHO_T}$ac_res" >&6; }
38162
38163 if eval test \$wx_cv_func_$wx_func = yes
38164 then
38165 cat >>confdefs.h <<_ACEOF
38166 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38167 _ACEOF
38168
38169
38170 else
38171 :
38172
38173 fi
38174 done
38175
38176 fi
38177
38178 fi
38179
38180
38181
38182 cat >confcache <<\_ACEOF
38183 # This file is a shell script that caches the results of configure
38184 # tests run on this system so they can be shared between configure
38185 # scripts and configure runs, see configure's option --config-cache.
38186 # It is not useful on other systems. If it contains results you don't
38187 # want to keep, you may remove or edit it.
38188 #
38189 # config.status only pays attention to the cache file if you give it
38190 # the --recheck option to rerun configure.
38191 #
38192 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38193 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38194 # following values.
38195
38196 _ACEOF
38197
38198 # The following way of writing the cache mishandles newlines in values,
38199 # but we know of no workaround that is simple, portable, and efficient.
38200 # So, we kill variables containing newlines.
38201 # Ultrix sh set writes to stderr and can't be redirected directly,
38202 # and sets the high bit in the cache file unless we assign to the vars.
38203 (
38204 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38205 eval ac_val=\$$ac_var
38206 case $ac_val in #(
38207 *${as_nl}*)
38208 case $ac_var in #(
38209 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38210 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38211 esac
38212 case $ac_var in #(
38213 _ | IFS | as_nl) ;; #(
38214 *) $as_unset $ac_var ;;
38215 esac ;;
38216 esac
38217 done
38218
38219 (set) 2>&1 |
38220 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38221 *${as_nl}ac_space=\ *)
38222 # `set' does not quote correctly, so add quotes (double-quote
38223 # substitution turns \\\\ into \\, and sed turns \\ into \).
38224 sed -n \
38225 "s/'/'\\\\''/g;
38226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38227 ;; #(
38228 *)
38229 # `set' quotes correctly as required by POSIX, so do not add quotes.
38230 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38231 ;;
38232 esac |
38233 sort
38234 ) |
38235 sed '
38236 /^ac_cv_env_/b end
38237 t clear
38238 :clear
38239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38240 t end
38241 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38242 :end' >>confcache
38243 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38244 if test -w "$cache_file"; then
38245 test "x$cache_file" != "x/dev/null" &&
38246 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38247 echo "$as_me: updating cache $cache_file" >&6;}
38248 cat confcache >$cache_file
38249 else
38250 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38251 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38252 fi
38253 fi
38254 rm -f confcache
38255
38256
38257 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38258
38259
38260 THREADS_LINK=
38261 THREADS_CFLAGS=
38262
38263 if test "$wxUSE_THREADS" = "yes" ; then
38264 if test "$USE_BEOS" = 1; then
38265 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38266 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38267 wxUSE_THREADS="no"
38268 fi
38269 fi
38270
38271 if test "$wxUSE_THREADS" = "yes" ; then
38272
38273
38274 THREAD_OPTS="-pthread"
38275 if test "x$SUNCXX" = xyes; then
38276 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38277 fi
38278
38279 case "${host}" in
38280 *-*-solaris2* | *-*-sunos4* )
38281 if test "x$GCC" = "xyes"; then
38282 THREAD_OPTS="-pthreads $THREAD_OPTS"
38283 fi
38284 ;;
38285 *-*-freebsd*)
38286 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38287 ;;
38288 *-*-darwin* | *-*-cygwin* )
38289 THREAD_OPTS=""
38290 ;;
38291 *-*-aix*)
38292 THREAD_OPTS="pthreads"
38293 ;;
38294 *-hp-hpux* )
38295 if test "x$GCC" = "xyes"; then
38296 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38297 THREAD_OPTS=""
38298 else
38299 THREAD_OPTS="-mt"
38300 fi
38301 ;;
38302
38303 *-*-irix* )
38304 if test "x$GCC" = "xyes"; then
38305 THREAD_OPTS=""
38306 fi
38307 ;;
38308
38309 *-*-*UnixWare*)
38310 if test "x$GCC" != "xyes"; then
38311 THREAD_OPTS="-Ethread"
38312 fi
38313 ;;
38314 esac
38315
38316 THREAD_OPTS="$THREAD_OPTS pthread none"
38317
38318 THREADS_OK=no
38319 for flag in $THREAD_OPTS; do
38320 case $flag in
38321 none)
38322 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38323 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38324 ;;
38325
38326 -*)
38327 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38328 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38329 THREADS_CFLAGS="$flag"
38330 ;;
38331
38332 *)
38333 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38334 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38335 THREADS_LINK="-l$flag"
38336 ;;
38337 esac
38338
38339 save_LIBS="$LIBS"
38340 save_CFLAGS="$CFLAGS"
38341 LIBS="$THREADS_LINK $LIBS"
38342 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38343
38344 cat >conftest.$ac_ext <<_ACEOF
38345 /* confdefs.h. */
38346 _ACEOF
38347 cat confdefs.h >>conftest.$ac_ext
38348 cat >>conftest.$ac_ext <<_ACEOF
38349 /* end confdefs.h. */
38350 #include <pthread.h>
38351 int
38352 main ()
38353 {
38354 pthread_create(0,0,0,0);
38355 ;
38356 return 0;
38357 }
38358 _ACEOF
38359 rm -f conftest.$ac_objext conftest$ac_exeext
38360 if { (ac_try="$ac_link"
38361 case "(($ac_try" in
38362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38363 *) ac_try_echo=$ac_try;;
38364 esac
38365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38366 (eval "$ac_link") 2>conftest.er1
38367 ac_status=$?
38368 grep -v '^ *+' conftest.er1 >conftest.err
38369 rm -f conftest.er1
38370 cat conftest.err >&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } && {
38373 test -z "$ac_c_werror_flag" ||
38374 test ! -s conftest.err
38375 } && test -s conftest$ac_exeext &&
38376 $as_test_x conftest$ac_exeext; then
38377 THREADS_OK=yes
38378 else
38379 echo "$as_me: failed program was:" >&5
38380 sed 's/^/| /' conftest.$ac_ext >&5
38381
38382
38383 fi
38384
38385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38386 conftest$ac_exeext conftest.$ac_ext
38387
38388 LIBS="$save_LIBS"
38389 CFLAGS="$save_CFLAGS"
38390
38391 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38392 echo "${ECHO_T}$THREADS_OK" >&6; }
38393 if test "x$THREADS_OK" = "xyes"; then
38394 break;
38395 fi
38396
38397 THREADS_LINK=""
38398 THREADS_CFLAGS=""
38399 done
38400
38401 if test "x$THREADS_OK" != "xyes"; then
38402 wxUSE_THREADS=no
38403 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38404 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38405 else
38406 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38407 LIBS="$THREADS_LINK $LIBS"
38408
38409 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38410 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38411 flag=no
38412 case "${host}" in
38413 *-aix*)
38414 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38415 flag="-D_THREAD_SAFE"
38416 ;;
38417 *-freebsd*)
38418 flag="-D_THREAD_SAFE"
38419 ;;
38420 *-hp-hpux* )
38421 flag="-D_REENTRANT"
38422 if test "x$GCC" != "xyes"; then
38423 flag="$flag -D_RWSTD_MULTI_THREAD"
38424 fi
38425 ;;
38426 *solaris* | alpha*-osf*)
38427 flag="-D_REENTRANT"
38428 ;;
38429 esac
38430 { echo "$as_me:$LINENO: result: ${flag}" >&5
38431 echo "${ECHO_T}${flag}" >&6; }
38432 if test "x$flag" != xno; then
38433 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38434 fi
38435
38436 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38437 fi
38438 fi
38439
38440 if test "$wxUSE_THREADS" = "yes" ; then
38441
38442 for ac_func in thr_setconcurrency
38443 do
38444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38445 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38447 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38448 echo $ECHO_N "(cached) $ECHO_C" >&6
38449 else
38450 cat >conftest.$ac_ext <<_ACEOF
38451 /* confdefs.h. */
38452 _ACEOF
38453 cat confdefs.h >>conftest.$ac_ext
38454 cat >>conftest.$ac_ext <<_ACEOF
38455 /* end confdefs.h. */
38456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38458 #define $ac_func innocuous_$ac_func
38459
38460 /* System header to define __stub macros and hopefully few prototypes,
38461 which can conflict with char $ac_func (); below.
38462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38463 <limits.h> exists even on freestanding compilers. */
38464
38465 #ifdef __STDC__
38466 # include <limits.h>
38467 #else
38468 # include <assert.h>
38469 #endif
38470
38471 #undef $ac_func
38472
38473 /* Override any GCC internal prototype to avoid an error.
38474 Use char because int might match the return type of a GCC
38475 builtin and then its argument prototype would still apply. */
38476 #ifdef __cplusplus
38477 extern "C"
38478 #endif
38479 char $ac_func ();
38480 /* The GNU C library defines this for functions which it implements
38481 to always fail with ENOSYS. Some functions are actually named
38482 something starting with __ and the normal name is an alias. */
38483 #if defined __stub_$ac_func || defined __stub___$ac_func
38484 choke me
38485 #endif
38486
38487 int
38488 main ()
38489 {
38490 return $ac_func ();
38491 ;
38492 return 0;
38493 }
38494 _ACEOF
38495 rm -f conftest.$ac_objext conftest$ac_exeext
38496 if { (ac_try="$ac_link"
38497 case "(($ac_try" in
38498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38499 *) ac_try_echo=$ac_try;;
38500 esac
38501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38502 (eval "$ac_link") 2>conftest.er1
38503 ac_status=$?
38504 grep -v '^ *+' conftest.er1 >conftest.err
38505 rm -f conftest.er1
38506 cat conftest.err >&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } && {
38509 test -z "$ac_c_werror_flag" ||
38510 test ! -s conftest.err
38511 } && test -s conftest$ac_exeext &&
38512 $as_test_x conftest$ac_exeext; then
38513 eval "$as_ac_var=yes"
38514 else
38515 echo "$as_me: failed program was:" >&5
38516 sed 's/^/| /' conftest.$ac_ext >&5
38517
38518 eval "$as_ac_var=no"
38519 fi
38520
38521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38522 conftest$ac_exeext conftest.$ac_ext
38523 fi
38524 ac_res=`eval echo '${'$as_ac_var'}'`
38525 { echo "$as_me:$LINENO: result: $ac_res" >&5
38526 echo "${ECHO_T}$ac_res" >&6; }
38527 if test `eval echo '${'$as_ac_var'}'` = yes; then
38528 cat >>confdefs.h <<_ACEOF
38529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38530 _ACEOF
38531
38532 fi
38533 done
38534
38535
38536 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38537 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38538 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38539 echo $ECHO_N "(cached) $ECHO_C" >&6
38540 else
38541
38542 ac_ext=cpp
38543 ac_cpp='$CXXCPP $CPPFLAGS'
38544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38547
38548 cat >conftest.$ac_ext <<_ACEOF
38549 /* confdefs.h. */
38550 _ACEOF
38551 cat confdefs.h >>conftest.$ac_ext
38552 cat >>conftest.$ac_ext <<_ACEOF
38553 /* end confdefs.h. */
38554 #include <pthread.h>
38555 void ThreadCleanupFunc(void *p);
38556
38557 int
38558 main ()
38559 {
38560
38561 void *p;
38562 pthread_cleanup_push(ThreadCleanupFunc, p);
38563 pthread_cleanup_pop(0);
38564
38565 ;
38566 return 0;
38567 }
38568 _ACEOF
38569 rm -f conftest.$ac_objext
38570 if { (ac_try="$ac_compile"
38571 case "(($ac_try" in
38572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38573 *) ac_try_echo=$ac_try;;
38574 esac
38575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38576 (eval "$ac_compile") 2>conftest.er1
38577 ac_status=$?
38578 grep -v '^ *+' conftest.er1 >conftest.err
38579 rm -f conftest.er1
38580 cat conftest.err >&5
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); } && {
38583 test -z "$ac_cxx_werror_flag" ||
38584 test ! -s conftest.err
38585 } && test -s conftest.$ac_objext; then
38586
38587 wx_cv_func_pthread_cleanup=yes
38588
38589 else
38590 echo "$as_me: failed program was:" >&5
38591 sed 's/^/| /' conftest.$ac_ext >&5
38592
38593
38594 wx_cv_func_pthread_cleanup=no
38595
38596
38597 fi
38598
38599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38600 ac_ext=c
38601 ac_cpp='$CPP $CPPFLAGS'
38602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38605
38606
38607 fi
38608 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38609 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38610 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38611 cat >>confdefs.h <<\_ACEOF
38612 #define wxHAVE_PTHREAD_CLEANUP 1
38613 _ACEOF
38614
38615 fi
38616
38617
38618 for ac_header in sched.h
38619 do
38620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38624 echo $ECHO_N "(cached) $ECHO_C" >&6
38625 else
38626 cat >conftest.$ac_ext <<_ACEOF
38627 /* confdefs.h. */
38628 _ACEOF
38629 cat confdefs.h >>conftest.$ac_ext
38630 cat >>conftest.$ac_ext <<_ACEOF
38631 /* end confdefs.h. */
38632 $ac_includes_default
38633
38634 #include <$ac_header>
38635 _ACEOF
38636 rm -f conftest.$ac_objext
38637 if { (ac_try="$ac_compile"
38638 case "(($ac_try" in
38639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38640 *) ac_try_echo=$ac_try;;
38641 esac
38642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38643 (eval "$ac_compile") 2>conftest.er1
38644 ac_status=$?
38645 grep -v '^ *+' conftest.er1 >conftest.err
38646 rm -f conftest.er1
38647 cat conftest.err >&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); } && {
38650 test -z "$ac_c_werror_flag" ||
38651 test ! -s conftest.err
38652 } && test -s conftest.$ac_objext; then
38653 eval "$as_ac_Header=yes"
38654 else
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.$ac_ext >&5
38657
38658 eval "$as_ac_Header=no"
38659 fi
38660
38661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38662 fi
38663 ac_res=`eval echo '${'$as_ac_Header'}'`
38664 { echo "$as_me:$LINENO: result: $ac_res" >&5
38665 echo "${ECHO_T}$ac_res" >&6; }
38666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38667 cat >>confdefs.h <<_ACEOF
38668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38669 _ACEOF
38670
38671 fi
38672
38673 done
38674
38675 if test "$ac_cv_header_sched_h" = "yes"; then
38676 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38677 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38678 if test "${ac_cv_func_sched_yield+set}" = set; then
38679 echo $ECHO_N "(cached) $ECHO_C" >&6
38680 else
38681 cat >conftest.$ac_ext <<_ACEOF
38682 /* confdefs.h. */
38683 _ACEOF
38684 cat confdefs.h >>conftest.$ac_ext
38685 cat >>conftest.$ac_ext <<_ACEOF
38686 /* end confdefs.h. */
38687 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38689 #define sched_yield innocuous_sched_yield
38690
38691 /* System header to define __stub macros and hopefully few prototypes,
38692 which can conflict with char sched_yield (); below.
38693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38694 <limits.h> exists even on freestanding compilers. */
38695
38696 #ifdef __STDC__
38697 # include <limits.h>
38698 #else
38699 # include <assert.h>
38700 #endif
38701
38702 #undef sched_yield
38703
38704 /* Override any GCC internal prototype to avoid an error.
38705 Use char because int might match the return type of a GCC
38706 builtin and then its argument prototype would still apply. */
38707 #ifdef __cplusplus
38708 extern "C"
38709 #endif
38710 char sched_yield ();
38711 /* The GNU C library defines this for functions which it implements
38712 to always fail with ENOSYS. Some functions are actually named
38713 something starting with __ and the normal name is an alias. */
38714 #if defined __stub_sched_yield || defined __stub___sched_yield
38715 choke me
38716 #endif
38717
38718 int
38719 main ()
38720 {
38721 return sched_yield ();
38722 ;
38723 return 0;
38724 }
38725 _ACEOF
38726 rm -f conftest.$ac_objext conftest$ac_exeext
38727 if { (ac_try="$ac_link"
38728 case "(($ac_try" in
38729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38730 *) ac_try_echo=$ac_try;;
38731 esac
38732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38733 (eval "$ac_link") 2>conftest.er1
38734 ac_status=$?
38735 grep -v '^ *+' conftest.er1 >conftest.err
38736 rm -f conftest.er1
38737 cat conftest.err >&5
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); } && {
38740 test -z "$ac_c_werror_flag" ||
38741 test ! -s conftest.err
38742 } && test -s conftest$ac_exeext &&
38743 $as_test_x conftest$ac_exeext; then
38744 ac_cv_func_sched_yield=yes
38745 else
38746 echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.$ac_ext >&5
38748
38749 ac_cv_func_sched_yield=no
38750 fi
38751
38752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38753 conftest$ac_exeext conftest.$ac_ext
38754 fi
38755 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38756 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38757 if test $ac_cv_func_sched_yield = yes; then
38758 cat >>confdefs.h <<\_ACEOF
38759 #define HAVE_SCHED_YIELD 1
38760 _ACEOF
38761
38762 else
38763
38764 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38765 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38766 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38768 else
38769 ac_check_lib_save_LIBS=$LIBS
38770 LIBS="-lposix4 $LIBS"
38771 cat >conftest.$ac_ext <<_ACEOF
38772 /* confdefs.h. */
38773 _ACEOF
38774 cat confdefs.h >>conftest.$ac_ext
38775 cat >>conftest.$ac_ext <<_ACEOF
38776 /* end confdefs.h. */
38777
38778 /* Override any GCC internal prototype to avoid an error.
38779 Use char because int might match the return type of a GCC
38780 builtin and then its argument prototype would still apply. */
38781 #ifdef __cplusplus
38782 extern "C"
38783 #endif
38784 char sched_yield ();
38785 int
38786 main ()
38787 {
38788 return sched_yield ();
38789 ;
38790 return 0;
38791 }
38792 _ACEOF
38793 rm -f conftest.$ac_objext conftest$ac_exeext
38794 if { (ac_try="$ac_link"
38795 case "(($ac_try" in
38796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38797 *) ac_try_echo=$ac_try;;
38798 esac
38799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38800 (eval "$ac_link") 2>conftest.er1
38801 ac_status=$?
38802 grep -v '^ *+' conftest.er1 >conftest.err
38803 rm -f conftest.er1
38804 cat conftest.err >&5
38805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38806 (exit $ac_status); } && {
38807 test -z "$ac_c_werror_flag" ||
38808 test ! -s conftest.err
38809 } && test -s conftest$ac_exeext &&
38810 $as_test_x conftest$ac_exeext; then
38811 ac_cv_lib_posix4_sched_yield=yes
38812 else
38813 echo "$as_me: failed program was:" >&5
38814 sed 's/^/| /' conftest.$ac_ext >&5
38815
38816 ac_cv_lib_posix4_sched_yield=no
38817 fi
38818
38819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38820 conftest$ac_exeext conftest.$ac_ext
38821 LIBS=$ac_check_lib_save_LIBS
38822 fi
38823 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38824 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38825 if test $ac_cv_lib_posix4_sched_yield = yes; then
38826 cat >>confdefs.h <<\_ACEOF
38827 #define HAVE_SCHED_YIELD 1
38828 _ACEOF
38829 POSIX4_LINK=" -lposix4"
38830 else
38831 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38832 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38833
38834 fi
38835
38836
38837
38838 fi
38839
38840 fi
38841
38842 HAVE_PRIOR_FUNCS=0
38843 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38844 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38845 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38846 echo $ECHO_N "(cached) $ECHO_C" >&6
38847 else
38848 cat >conftest.$ac_ext <<_ACEOF
38849 /* confdefs.h. */
38850 _ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38854 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38856 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38857
38858 /* System header to define __stub macros and hopefully few prototypes,
38859 which can conflict with char pthread_attr_getschedpolicy (); below.
38860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38861 <limits.h> exists even on freestanding compilers. */
38862
38863 #ifdef __STDC__
38864 # include <limits.h>
38865 #else
38866 # include <assert.h>
38867 #endif
38868
38869 #undef pthread_attr_getschedpolicy
38870
38871 /* Override any GCC internal prototype to avoid an error.
38872 Use char because int might match the return type of a GCC
38873 builtin and then its argument prototype would still apply. */
38874 #ifdef __cplusplus
38875 extern "C"
38876 #endif
38877 char pthread_attr_getschedpolicy ();
38878 /* The GNU C library defines this for functions which it implements
38879 to always fail with ENOSYS. Some functions are actually named
38880 something starting with __ and the normal name is an alias. */
38881 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38882 choke me
38883 #endif
38884
38885 int
38886 main ()
38887 {
38888 return pthread_attr_getschedpolicy ();
38889 ;
38890 return 0;
38891 }
38892 _ACEOF
38893 rm -f conftest.$ac_objext conftest$ac_exeext
38894 if { (ac_try="$ac_link"
38895 case "(($ac_try" in
38896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38897 *) ac_try_echo=$ac_try;;
38898 esac
38899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38900 (eval "$ac_link") 2>conftest.er1
38901 ac_status=$?
38902 grep -v '^ *+' conftest.er1 >conftest.err
38903 rm -f conftest.er1
38904 cat conftest.err >&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); } && {
38907 test -z "$ac_c_werror_flag" ||
38908 test ! -s conftest.err
38909 } && test -s conftest$ac_exeext &&
38910 $as_test_x conftest$ac_exeext; then
38911 ac_cv_func_pthread_attr_getschedpolicy=yes
38912 else
38913 echo "$as_me: failed program was:" >&5
38914 sed 's/^/| /' conftest.$ac_ext >&5
38915
38916 ac_cv_func_pthread_attr_getschedpolicy=no
38917 fi
38918
38919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38920 conftest$ac_exeext conftest.$ac_ext
38921 fi
38922 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38923 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38924 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38925 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38926 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38927 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38928 echo $ECHO_N "(cached) $ECHO_C" >&6
38929 else
38930 cat >conftest.$ac_ext <<_ACEOF
38931 /* confdefs.h. */
38932 _ACEOF
38933 cat confdefs.h >>conftest.$ac_ext
38934 cat >>conftest.$ac_ext <<_ACEOF
38935 /* end confdefs.h. */
38936 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38938 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38939
38940 /* System header to define __stub macros and hopefully few prototypes,
38941 which can conflict with char pthread_attr_setschedparam (); below.
38942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38943 <limits.h> exists even on freestanding compilers. */
38944
38945 #ifdef __STDC__
38946 # include <limits.h>
38947 #else
38948 # include <assert.h>
38949 #endif
38950
38951 #undef pthread_attr_setschedparam
38952
38953 /* Override any GCC internal prototype to avoid an error.
38954 Use char because int might match the return type of a GCC
38955 builtin and then its argument prototype would still apply. */
38956 #ifdef __cplusplus
38957 extern "C"
38958 #endif
38959 char pthread_attr_setschedparam ();
38960 /* The GNU C library defines this for functions which it implements
38961 to always fail with ENOSYS. Some functions are actually named
38962 something starting with __ and the normal name is an alias. */
38963 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38964 choke me
38965 #endif
38966
38967 int
38968 main ()
38969 {
38970 return pthread_attr_setschedparam ();
38971 ;
38972 return 0;
38973 }
38974 _ACEOF
38975 rm -f conftest.$ac_objext conftest$ac_exeext
38976 if { (ac_try="$ac_link"
38977 case "(($ac_try" in
38978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38979 *) ac_try_echo=$ac_try;;
38980 esac
38981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38982 (eval "$ac_link") 2>conftest.er1
38983 ac_status=$?
38984 grep -v '^ *+' conftest.er1 >conftest.err
38985 rm -f conftest.er1
38986 cat conftest.err >&5
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); } && {
38989 test -z "$ac_c_werror_flag" ||
38990 test ! -s conftest.err
38991 } && test -s conftest$ac_exeext &&
38992 $as_test_x conftest$ac_exeext; then
38993 ac_cv_func_pthread_attr_setschedparam=yes
38994 else
38995 echo "$as_me: failed program was:" >&5
38996 sed 's/^/| /' conftest.$ac_ext >&5
38997
38998 ac_cv_func_pthread_attr_setschedparam=no
38999 fi
39000
39001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39002 conftest$ac_exeext conftest.$ac_ext
39003 fi
39004 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39005 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39006 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39007 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39008 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39009 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39010 echo $ECHO_N "(cached) $ECHO_C" >&6
39011 else
39012 cat >conftest.$ac_ext <<_ACEOF
39013 /* confdefs.h. */
39014 _ACEOF
39015 cat confdefs.h >>conftest.$ac_ext
39016 cat >>conftest.$ac_ext <<_ACEOF
39017 /* end confdefs.h. */
39018 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39020 #define sched_get_priority_max innocuous_sched_get_priority_max
39021
39022 /* System header to define __stub macros and hopefully few prototypes,
39023 which can conflict with char sched_get_priority_max (); below.
39024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39025 <limits.h> exists even on freestanding compilers. */
39026
39027 #ifdef __STDC__
39028 # include <limits.h>
39029 #else
39030 # include <assert.h>
39031 #endif
39032
39033 #undef sched_get_priority_max
39034
39035 /* Override any GCC internal prototype to avoid an error.
39036 Use char because int might match the return type of a GCC
39037 builtin and then its argument prototype would still apply. */
39038 #ifdef __cplusplus
39039 extern "C"
39040 #endif
39041 char sched_get_priority_max ();
39042 /* The GNU C library defines this for functions which it implements
39043 to always fail with ENOSYS. Some functions are actually named
39044 something starting with __ and the normal name is an alias. */
39045 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39046 choke me
39047 #endif
39048
39049 int
39050 main ()
39051 {
39052 return sched_get_priority_max ();
39053 ;
39054 return 0;
39055 }
39056 _ACEOF
39057 rm -f conftest.$ac_objext conftest$ac_exeext
39058 if { (ac_try="$ac_link"
39059 case "(($ac_try" in
39060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39061 *) ac_try_echo=$ac_try;;
39062 esac
39063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39064 (eval "$ac_link") 2>conftest.er1
39065 ac_status=$?
39066 grep -v '^ *+' conftest.er1 >conftest.err
39067 rm -f conftest.er1
39068 cat conftest.err >&5
39069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39070 (exit $ac_status); } && {
39071 test -z "$ac_c_werror_flag" ||
39072 test ! -s conftest.err
39073 } && test -s conftest$ac_exeext &&
39074 $as_test_x conftest$ac_exeext; then
39075 ac_cv_func_sched_get_priority_max=yes
39076 else
39077 echo "$as_me: failed program was:" >&5
39078 sed 's/^/| /' conftest.$ac_ext >&5
39079
39080 ac_cv_func_sched_get_priority_max=no
39081 fi
39082
39083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39084 conftest$ac_exeext conftest.$ac_ext
39085 fi
39086 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39087 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39088 if test $ac_cv_func_sched_get_priority_max = yes; then
39089 HAVE_PRIOR_FUNCS=1
39090 else
39091 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39092 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39093 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39094 echo $ECHO_N "(cached) $ECHO_C" >&6
39095 else
39096 ac_check_lib_save_LIBS=$LIBS
39097 LIBS="-lposix4 $LIBS"
39098 cat >conftest.$ac_ext <<_ACEOF
39099 /* confdefs.h. */
39100 _ACEOF
39101 cat confdefs.h >>conftest.$ac_ext
39102 cat >>conftest.$ac_ext <<_ACEOF
39103 /* end confdefs.h. */
39104
39105 /* Override any GCC internal prototype to avoid an error.
39106 Use char because int might match the return type of a GCC
39107 builtin and then its argument prototype would still apply. */
39108 #ifdef __cplusplus
39109 extern "C"
39110 #endif
39111 char sched_get_priority_max ();
39112 int
39113 main ()
39114 {
39115 return sched_get_priority_max ();
39116 ;
39117 return 0;
39118 }
39119 _ACEOF
39120 rm -f conftest.$ac_objext conftest$ac_exeext
39121 if { (ac_try="$ac_link"
39122 case "(($ac_try" in
39123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39124 *) ac_try_echo=$ac_try;;
39125 esac
39126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39127 (eval "$ac_link") 2>conftest.er1
39128 ac_status=$?
39129 grep -v '^ *+' conftest.er1 >conftest.err
39130 rm -f conftest.er1
39131 cat conftest.err >&5
39132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39133 (exit $ac_status); } && {
39134 test -z "$ac_c_werror_flag" ||
39135 test ! -s conftest.err
39136 } && test -s conftest$ac_exeext &&
39137 $as_test_x conftest$ac_exeext; then
39138 ac_cv_lib_posix4_sched_get_priority_max=yes
39139 else
39140 echo "$as_me: failed program was:" >&5
39141 sed 's/^/| /' conftest.$ac_ext >&5
39142
39143 ac_cv_lib_posix4_sched_get_priority_max=no
39144 fi
39145
39146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39147 conftest$ac_exeext conftest.$ac_ext
39148 LIBS=$ac_check_lib_save_LIBS
39149 fi
39150 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39151 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39152 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39153
39154 HAVE_PRIOR_FUNCS=1
39155 POSIX4_LINK=" -lposix4"
39156
39157 fi
39158
39159
39160 fi
39161
39162
39163 fi
39164
39165
39166 fi
39167
39168
39169 if test "$HAVE_PRIOR_FUNCS" = 1; then
39170 cat >>confdefs.h <<\_ACEOF
39171 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39172 _ACEOF
39173
39174 else
39175 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39176 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39177 fi
39178
39179 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39180 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39181 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39182 echo $ECHO_N "(cached) $ECHO_C" >&6
39183 else
39184 cat >conftest.$ac_ext <<_ACEOF
39185 /* confdefs.h. */
39186 _ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39190 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39192 #define pthread_cancel innocuous_pthread_cancel
39193
39194 /* System header to define __stub macros and hopefully few prototypes,
39195 which can conflict with char pthread_cancel (); below.
39196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39197 <limits.h> exists even on freestanding compilers. */
39198
39199 #ifdef __STDC__
39200 # include <limits.h>
39201 #else
39202 # include <assert.h>
39203 #endif
39204
39205 #undef pthread_cancel
39206
39207 /* Override any GCC internal prototype to avoid an error.
39208 Use char because int might match the return type of a GCC
39209 builtin and then its argument prototype would still apply. */
39210 #ifdef __cplusplus
39211 extern "C"
39212 #endif
39213 char pthread_cancel ();
39214 /* The GNU C library defines this for functions which it implements
39215 to always fail with ENOSYS. Some functions are actually named
39216 something starting with __ and the normal name is an alias. */
39217 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39218 choke me
39219 #endif
39220
39221 int
39222 main ()
39223 {
39224 return pthread_cancel ();
39225 ;
39226 return 0;
39227 }
39228 _ACEOF
39229 rm -f conftest.$ac_objext conftest$ac_exeext
39230 if { (ac_try="$ac_link"
39231 case "(($ac_try" in
39232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39233 *) ac_try_echo=$ac_try;;
39234 esac
39235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39236 (eval "$ac_link") 2>conftest.er1
39237 ac_status=$?
39238 grep -v '^ *+' conftest.er1 >conftest.err
39239 rm -f conftest.er1
39240 cat conftest.err >&5
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); } && {
39243 test -z "$ac_c_werror_flag" ||
39244 test ! -s conftest.err
39245 } && test -s conftest$ac_exeext &&
39246 $as_test_x conftest$ac_exeext; then
39247 ac_cv_func_pthread_cancel=yes
39248 else
39249 echo "$as_me: failed program was:" >&5
39250 sed 's/^/| /' conftest.$ac_ext >&5
39251
39252 ac_cv_func_pthread_cancel=no
39253 fi
39254
39255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39256 conftest$ac_exeext conftest.$ac_ext
39257 fi
39258 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39259 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39260 if test $ac_cv_func_pthread_cancel = yes; then
39261 cat >>confdefs.h <<\_ACEOF
39262 #define HAVE_PTHREAD_CANCEL 1
39263 _ACEOF
39264
39265 else
39266 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39267 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39268 fi
39269
39270
39271 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39272 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39273 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39274 echo $ECHO_N "(cached) $ECHO_C" >&6
39275 else
39276 cat >conftest.$ac_ext <<_ACEOF
39277 /* confdefs.h. */
39278 _ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39282 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39284 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39285
39286 /* System header to define __stub macros and hopefully few prototypes,
39287 which can conflict with char pthread_mutex_timedlock (); below.
39288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39289 <limits.h> exists even on freestanding compilers. */
39290
39291 #ifdef __STDC__
39292 # include <limits.h>
39293 #else
39294 # include <assert.h>
39295 #endif
39296
39297 #undef pthread_mutex_timedlock
39298
39299 /* Override any GCC internal prototype to avoid an error.
39300 Use char because int might match the return type of a GCC
39301 builtin and then its argument prototype would still apply. */
39302 #ifdef __cplusplus
39303 extern "C"
39304 #endif
39305 char pthread_mutex_timedlock ();
39306 /* The GNU C library defines this for functions which it implements
39307 to always fail with ENOSYS. Some functions are actually named
39308 something starting with __ and the normal name is an alias. */
39309 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39310 choke me
39311 #endif
39312
39313 int
39314 main ()
39315 {
39316 return pthread_mutex_timedlock ();
39317 ;
39318 return 0;
39319 }
39320 _ACEOF
39321 rm -f conftest.$ac_objext conftest$ac_exeext
39322 if { (ac_try="$ac_link"
39323 case "(($ac_try" in
39324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39325 *) ac_try_echo=$ac_try;;
39326 esac
39327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39328 (eval "$ac_link") 2>conftest.er1
39329 ac_status=$?
39330 grep -v '^ *+' conftest.er1 >conftest.err
39331 rm -f conftest.er1
39332 cat conftest.err >&5
39333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334 (exit $ac_status); } && {
39335 test -z "$ac_c_werror_flag" ||
39336 test ! -s conftest.err
39337 } && test -s conftest$ac_exeext &&
39338 $as_test_x conftest$ac_exeext; then
39339 ac_cv_func_pthread_mutex_timedlock=yes
39340 else
39341 echo "$as_me: failed program was:" >&5
39342 sed 's/^/| /' conftest.$ac_ext >&5
39343
39344 ac_cv_func_pthread_mutex_timedlock=no
39345 fi
39346
39347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39348 conftest$ac_exeext conftest.$ac_ext
39349 fi
39350 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39351 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39352 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39353 cat >>confdefs.h <<\_ACEOF
39354 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39355 _ACEOF
39356
39357 else
39358 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39359 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39360 fi
39361
39362
39363 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39364 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39365 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39366 echo $ECHO_N "(cached) $ECHO_C" >&6
39367 else
39368 cat >conftest.$ac_ext <<_ACEOF
39369 /* confdefs.h. */
39370 _ACEOF
39371 cat confdefs.h >>conftest.$ac_ext
39372 cat >>conftest.$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39374 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39376 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39377
39378 /* System header to define __stub macros and hopefully few prototypes,
39379 which can conflict with char pthread_attr_setstacksize (); below.
39380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39381 <limits.h> exists even on freestanding compilers. */
39382
39383 #ifdef __STDC__
39384 # include <limits.h>
39385 #else
39386 # include <assert.h>
39387 #endif
39388
39389 #undef pthread_attr_setstacksize
39390
39391 /* Override any GCC internal prototype to avoid an error.
39392 Use char because int might match the return type of a GCC
39393 builtin and then its argument prototype would still apply. */
39394 #ifdef __cplusplus
39395 extern "C"
39396 #endif
39397 char pthread_attr_setstacksize ();
39398 /* The GNU C library defines this for functions which it implements
39399 to always fail with ENOSYS. Some functions are actually named
39400 something starting with __ and the normal name is an alias. */
39401 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39402 choke me
39403 #endif
39404
39405 int
39406 main ()
39407 {
39408 return pthread_attr_setstacksize ();
39409 ;
39410 return 0;
39411 }
39412 _ACEOF
39413 rm -f conftest.$ac_objext conftest$ac_exeext
39414 if { (ac_try="$ac_link"
39415 case "(($ac_try" in
39416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39417 *) ac_try_echo=$ac_try;;
39418 esac
39419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39420 (eval "$ac_link") 2>conftest.er1
39421 ac_status=$?
39422 grep -v '^ *+' conftest.er1 >conftest.err
39423 rm -f conftest.er1
39424 cat conftest.err >&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); } && {
39427 test -z "$ac_c_werror_flag" ||
39428 test ! -s conftest.err
39429 } && test -s conftest$ac_exeext &&
39430 $as_test_x conftest$ac_exeext; then
39431 ac_cv_func_pthread_attr_setstacksize=yes
39432 else
39433 echo "$as_me: failed program was:" >&5
39434 sed 's/^/| /' conftest.$ac_ext >&5
39435
39436 ac_cv_func_pthread_attr_setstacksize=no
39437 fi
39438
39439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39440 conftest$ac_exeext conftest.$ac_ext
39441 fi
39442 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39443 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39444 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39445 cat >>confdefs.h <<\_ACEOF
39446 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39447 _ACEOF
39448
39449 fi
39450
39451
39452
39453 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39454 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39455 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39456 echo $ECHO_N "(cached) $ECHO_C" >&6
39457 else
39458
39459 cat >conftest.$ac_ext <<_ACEOF
39460 /* confdefs.h. */
39461 _ACEOF
39462 cat confdefs.h >>conftest.$ac_ext
39463 cat >>conftest.$ac_ext <<_ACEOF
39464 /* end confdefs.h. */
39465 #include <pthread.h>
39466 int
39467 main ()
39468 {
39469
39470 pthread_mutexattr_t attr;
39471 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39472
39473 ;
39474 return 0;
39475 }
39476 _ACEOF
39477 rm -f conftest.$ac_objext
39478 if { (ac_try="$ac_compile"
39479 case "(($ac_try" in
39480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39481 *) ac_try_echo=$ac_try;;
39482 esac
39483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39484 (eval "$ac_compile") 2>conftest.er1
39485 ac_status=$?
39486 grep -v '^ *+' conftest.er1 >conftest.err
39487 rm -f conftest.er1
39488 cat conftest.err >&5
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); } && {
39491 test -z "$ac_c_werror_flag" ||
39492 test ! -s conftest.err
39493 } && test -s conftest.$ac_objext; then
39494 wx_cv_type_pthread_mutexattr_t=yes
39495 else
39496 echo "$as_me: failed program was:" >&5
39497 sed 's/^/| /' conftest.$ac_ext >&5
39498
39499 wx_cv_type_pthread_mutexattr_t=no
39500
39501 fi
39502
39503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39504
39505 fi
39506 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39507 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39508
39509 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39510 cat >>confdefs.h <<\_ACEOF
39511 #define HAVE_PTHREAD_MUTEXATTR_T 1
39512 _ACEOF
39513
39514
39515 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39516 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39517 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39518 echo $ECHO_N "(cached) $ECHO_C" >&6
39519 else
39520
39521 cat >conftest.$ac_ext <<_ACEOF
39522 /* confdefs.h. */
39523 _ACEOF
39524 cat confdefs.h >>conftest.$ac_ext
39525 cat >>conftest.$ac_ext <<_ACEOF
39526 /* end confdefs.h. */
39527 #include <pthread.h>
39528 int
39529 main ()
39530 {
39531
39532 pthread_mutexattr_t attr;
39533 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39534
39535 ;
39536 return 0;
39537 }
39538 _ACEOF
39539 rm -f conftest.$ac_objext
39540 if { (ac_try="$ac_compile"
39541 case "(($ac_try" in
39542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39543 *) ac_try_echo=$ac_try;;
39544 esac
39545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39546 (eval "$ac_compile") 2>conftest.er1
39547 ac_status=$?
39548 grep -v '^ *+' conftest.er1 >conftest.err
39549 rm -f conftest.er1
39550 cat conftest.err >&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); } && {
39553 test -z "$ac_c_werror_flag" ||
39554 test ! -s conftest.err
39555 } && test -s conftest.$ac_objext; then
39556 wx_cv_func_pthread_mutexattr_settype_decl=yes
39557 else
39558 echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.$ac_ext >&5
39560
39561 wx_cv_func_pthread_mutexattr_settype_decl=no
39562
39563 fi
39564
39565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39566
39567 fi
39568 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39569 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39570 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39571 cat >>confdefs.h <<\_ACEOF
39572 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39573 _ACEOF
39574
39575 fi
39576 else
39577 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39578 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39579 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39580 echo $ECHO_N "(cached) $ECHO_C" >&6
39581 else
39582
39583 cat >conftest.$ac_ext <<_ACEOF
39584 /* confdefs.h. */
39585 _ACEOF
39586 cat confdefs.h >>conftest.$ac_ext
39587 cat >>conftest.$ac_ext <<_ACEOF
39588 /* end confdefs.h. */
39589 #include <pthread.h>
39590 int
39591 main ()
39592 {
39593
39594 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39595
39596 ;
39597 return 0;
39598 }
39599 _ACEOF
39600 rm -f conftest.$ac_objext
39601 if { (ac_try="$ac_compile"
39602 case "(($ac_try" in
39603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39604 *) ac_try_echo=$ac_try;;
39605 esac
39606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39607 (eval "$ac_compile") 2>conftest.er1
39608 ac_status=$?
39609 grep -v '^ *+' conftest.er1 >conftest.err
39610 rm -f conftest.er1
39611 cat conftest.err >&5
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); } && {
39614 test -z "$ac_c_werror_flag" ||
39615 test ! -s conftest.err
39616 } && test -s conftest.$ac_objext; then
39617
39618 wx_cv_type_pthread_rec_mutex_init=yes
39619
39620 else
39621 echo "$as_me: failed program was:" >&5
39622 sed 's/^/| /' conftest.$ac_ext >&5
39623
39624
39625 wx_cv_type_pthread_rec_mutex_init=no
39626
39627
39628 fi
39629
39630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39631
39632 fi
39633 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39634 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39635 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39636 cat >>confdefs.h <<\_ACEOF
39637 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39638 _ACEOF
39639
39640 else
39641 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39642 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39643 fi
39644 fi
39645 fi
39646
39647 else
39648 if test "$wxUSE_THREADS" = "yes" ; then
39649 case "${host}" in
39650 *-*-mingw32* )
39651 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39652 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39653 if test "${wx_cv_cflags_mthread+set}" = set; then
39654 echo $ECHO_N "(cached) $ECHO_C" >&6
39655 else
39656
39657 CFLAGS_OLD="$CFLAGS"
39658 CFLAGS="-mthreads $CFLAGS"
39659 cat >conftest.$ac_ext <<_ACEOF
39660 /* confdefs.h. */
39661 _ACEOF
39662 cat confdefs.h >>conftest.$ac_ext
39663 cat >>conftest.$ac_ext <<_ACEOF
39664 /* end confdefs.h. */
39665
39666 int
39667 main ()
39668 {
39669
39670 ;
39671 return 0;
39672 }
39673 _ACEOF
39674 rm -f conftest.$ac_objext
39675 if { (ac_try="$ac_compile"
39676 case "(($ac_try" in
39677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39678 *) ac_try_echo=$ac_try;;
39679 esac
39680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39681 (eval "$ac_compile") 2>conftest.er1
39682 ac_status=$?
39683 grep -v '^ *+' conftest.er1 >conftest.err
39684 rm -f conftest.er1
39685 cat conftest.err >&5
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); } && {
39688 test -z "$ac_c_werror_flag" ||
39689 test ! -s conftest.err
39690 } && test -s conftest.$ac_objext; then
39691 wx_cv_cflags_mthread=yes
39692 else
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.$ac_ext >&5
39695
39696 wx_cv_cflags_mthread=no
39697
39698 fi
39699
39700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39701
39702
39703 fi
39704 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39705 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39706
39707 if test "$wx_cv_cflags_mthread" = "yes"; then
39708 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39709 LDFLAGS="$LDFLAGS -mthreads"
39710 else
39711 CFLAGS="$CFLAGS_OLD"
39712 fi
39713 ;;
39714 *-pc-os2*emx )
39715 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39716 LDFLAGS="$LDFLAGS -Zmt"
39717 ;;
39718 esac
39719 fi
39720 fi
39721
39722 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39723 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39724 if test "${ac_cv_func_localtime_r+set}" = set; then
39725 echo $ECHO_N "(cached) $ECHO_C" >&6
39726 else
39727 cat >conftest.$ac_ext <<_ACEOF
39728 /* confdefs.h. */
39729 _ACEOF
39730 cat confdefs.h >>conftest.$ac_ext
39731 cat >>conftest.$ac_ext <<_ACEOF
39732 /* end confdefs.h. */
39733 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39735 #define localtime_r innocuous_localtime_r
39736
39737 /* System header to define __stub macros and hopefully few prototypes,
39738 which can conflict with char localtime_r (); below.
39739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39740 <limits.h> exists even on freestanding compilers. */
39741
39742 #ifdef __STDC__
39743 # include <limits.h>
39744 #else
39745 # include <assert.h>
39746 #endif
39747
39748 #undef localtime_r
39749
39750 /* Override any GCC internal prototype to avoid an error.
39751 Use char because int might match the return type of a GCC
39752 builtin and then its argument prototype would still apply. */
39753 #ifdef __cplusplus
39754 extern "C"
39755 #endif
39756 char localtime_r ();
39757 /* The GNU C library defines this for functions which it implements
39758 to always fail with ENOSYS. Some functions are actually named
39759 something starting with __ and the normal name is an alias. */
39760 #if defined __stub_localtime_r || defined __stub___localtime_r
39761 choke me
39762 #endif
39763
39764 int
39765 main ()
39766 {
39767 return localtime_r ();
39768 ;
39769 return 0;
39770 }
39771 _ACEOF
39772 rm -f conftest.$ac_objext conftest$ac_exeext
39773 if { (ac_try="$ac_link"
39774 case "(($ac_try" in
39775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39776 *) ac_try_echo=$ac_try;;
39777 esac
39778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39779 (eval "$ac_link") 2>conftest.er1
39780 ac_status=$?
39781 grep -v '^ *+' conftest.er1 >conftest.err
39782 rm -f conftest.er1
39783 cat conftest.err >&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); } && {
39786 test -z "$ac_c_werror_flag" ||
39787 test ! -s conftest.err
39788 } && test -s conftest$ac_exeext &&
39789 $as_test_x conftest$ac_exeext; then
39790 ac_cv_func_localtime_r=yes
39791 else
39792 echo "$as_me: failed program was:" >&5
39793 sed 's/^/| /' conftest.$ac_ext >&5
39794
39795 ac_cv_func_localtime_r=no
39796 fi
39797
39798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39799 conftest$ac_exeext conftest.$ac_ext
39800 fi
39801 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39802 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39803 if test $ac_cv_func_localtime_r = yes; then
39804 cat >>confdefs.h <<\_ACEOF
39805 #define HAVE_LOCALTIME_R 1
39806 _ACEOF
39807
39808 fi
39809
39810 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39811 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39812 if test "${ac_cv_func_gmtime_r+set}" = set; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39814 else
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39823 #define gmtime_r innocuous_gmtime_r
39824
39825 /* System header to define __stub macros and hopefully few prototypes,
39826 which can conflict with char gmtime_r (); below.
39827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39828 <limits.h> exists even on freestanding compilers. */
39829
39830 #ifdef __STDC__
39831 # include <limits.h>
39832 #else
39833 # include <assert.h>
39834 #endif
39835
39836 #undef gmtime_r
39837
39838 /* Override any GCC internal prototype to avoid an error.
39839 Use char because int might match the return type of a GCC
39840 builtin and then its argument prototype would still apply. */
39841 #ifdef __cplusplus
39842 extern "C"
39843 #endif
39844 char gmtime_r ();
39845 /* The GNU C library defines this for functions which it implements
39846 to always fail with ENOSYS. Some functions are actually named
39847 something starting with __ and the normal name is an alias. */
39848 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39849 choke me
39850 #endif
39851
39852 int
39853 main ()
39854 {
39855 return gmtime_r ();
39856 ;
39857 return 0;
39858 }
39859 _ACEOF
39860 rm -f conftest.$ac_objext conftest$ac_exeext
39861 if { (ac_try="$ac_link"
39862 case "(($ac_try" in
39863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39864 *) ac_try_echo=$ac_try;;
39865 esac
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_link") 2>conftest.er1
39868 ac_status=$?
39869 grep -v '^ *+' conftest.er1 >conftest.err
39870 rm -f conftest.er1
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } && {
39874 test -z "$ac_c_werror_flag" ||
39875 test ! -s conftest.err
39876 } && test -s conftest$ac_exeext &&
39877 $as_test_x conftest$ac_exeext; then
39878 ac_cv_func_gmtime_r=yes
39879 else
39880 echo "$as_me: failed program was:" >&5
39881 sed 's/^/| /' conftest.$ac_ext >&5
39882
39883 ac_cv_func_gmtime_r=no
39884 fi
39885
39886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39887 conftest$ac_exeext conftest.$ac_ext
39888 fi
39889 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39890 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39891 if test $ac_cv_func_gmtime_r = yes; then
39892 cat >>confdefs.h <<\_ACEOF
39893 #define HAVE_GMTIME_R 1
39894 _ACEOF
39895
39896 fi
39897
39898
39899
39900
39901 ac_ext=c
39902 ac_cpp='$CPP $CPPFLAGS'
39903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39906
39907 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39908 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39909
39910 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39912 else
39913
39914
39915 ################################################################
39916
39917 ac_cv_func_which_gethostbyname_r=unknown
39918
39919 #
39920 # ONE ARGUMENT (sanity check)
39921 #
39922
39923 # This should fail, as there is no variant of gethostbyname_r() that takes
39924 # a single argument. If it actually compiles, then we can assume that
39925 # netdb.h is not declaring the function, and the compiler is thereby
39926 # assuming an implicit prototype. In which case, we're out of luck.
39927 #
39928 cat >conftest.$ac_ext <<_ACEOF
39929 /* confdefs.h. */
39930 _ACEOF
39931 cat confdefs.h >>conftest.$ac_ext
39932 cat >>conftest.$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39934 #include <netdb.h>
39935 int
39936 main ()
39937 {
39938
39939 char *name = "www.gnu.org";
39940 (void)gethostbyname_r(name) /* ; */
39941
39942 ;
39943 return 0;
39944 }
39945 _ACEOF
39946 rm -f conftest.$ac_objext
39947 if { (ac_try="$ac_compile"
39948 case "(($ac_try" in
39949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39950 *) ac_try_echo=$ac_try;;
39951 esac
39952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39953 (eval "$ac_compile") 2>conftest.er1
39954 ac_status=$?
39955 grep -v '^ *+' conftest.er1 >conftest.err
39956 rm -f conftest.er1
39957 cat conftest.err >&5
39958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39959 (exit $ac_status); } && {
39960 test -z "$ac_c_werror_flag" ||
39961 test ! -s conftest.err
39962 } && test -s conftest.$ac_objext; then
39963 ac_cv_func_which_gethostbyname_r=no
39964 else
39965 echo "$as_me: failed program was:" >&5
39966 sed 's/^/| /' conftest.$ac_ext >&5
39967
39968
39969 fi
39970
39971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39972
39973 #
39974 # SIX ARGUMENTS
39975 # (e.g. Linux)
39976 #
39977
39978 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39979
39980 cat >conftest.$ac_ext <<_ACEOF
39981 /* confdefs.h. */
39982 _ACEOF
39983 cat confdefs.h >>conftest.$ac_ext
39984 cat >>conftest.$ac_ext <<_ACEOF
39985 /* end confdefs.h. */
39986 #include <netdb.h>
39987 int
39988 main ()
39989 {
39990
39991 char *name = "www.gnu.org";
39992 struct hostent ret, *retp;
39993 char buf[1024];
39994 int buflen = 1024;
39995 int my_h_errno;
39996 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39997
39998 ;
39999 return 0;
40000 }
40001 _ACEOF
40002 rm -f conftest.$ac_objext
40003 if { (ac_try="$ac_compile"
40004 case "(($ac_try" in
40005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40006 *) ac_try_echo=$ac_try;;
40007 esac
40008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40009 (eval "$ac_compile") 2>conftest.er1
40010 ac_status=$?
40011 grep -v '^ *+' conftest.er1 >conftest.err
40012 rm -f conftest.er1
40013 cat conftest.err >&5
40014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40015 (exit $ac_status); } && {
40016 test -z "$ac_c_werror_flag" ||
40017 test ! -s conftest.err
40018 } && test -s conftest.$ac_objext; then
40019 ac_cv_func_which_gethostbyname_r=six
40020 else
40021 echo "$as_me: failed program was:" >&5
40022 sed 's/^/| /' conftest.$ac_ext >&5
40023
40024
40025 fi
40026
40027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40028
40029 fi
40030
40031 #
40032 # FIVE ARGUMENTS
40033 # (e.g. Solaris)
40034 #
40035
40036 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40037
40038 cat >conftest.$ac_ext <<_ACEOF
40039 /* confdefs.h. */
40040 _ACEOF
40041 cat confdefs.h >>conftest.$ac_ext
40042 cat >>conftest.$ac_ext <<_ACEOF
40043 /* end confdefs.h. */
40044 #include <netdb.h>
40045 int
40046 main ()
40047 {
40048
40049 char *name = "www.gnu.org";
40050 struct hostent ret;
40051 char buf[1024];
40052 int buflen = 1024;
40053 int my_h_errno;
40054 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40055
40056 ;
40057 return 0;
40058 }
40059 _ACEOF
40060 rm -f conftest.$ac_objext
40061 if { (ac_try="$ac_compile"
40062 case "(($ac_try" in
40063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40064 *) ac_try_echo=$ac_try;;
40065 esac
40066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40067 (eval "$ac_compile") 2>conftest.er1
40068 ac_status=$?
40069 grep -v '^ *+' conftest.er1 >conftest.err
40070 rm -f conftest.er1
40071 cat conftest.err >&5
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); } && {
40074 test -z "$ac_c_werror_flag" ||
40075 test ! -s conftest.err
40076 } && test -s conftest.$ac_objext; then
40077 ac_cv_func_which_gethostbyname_r=five
40078 else
40079 echo "$as_me: failed program was:" >&5
40080 sed 's/^/| /' conftest.$ac_ext >&5
40081
40082
40083 fi
40084
40085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40086
40087 fi
40088
40089 #
40090 # THREE ARGUMENTS
40091 # (e.g. AIX, HP-UX, Tru64)
40092 #
40093
40094 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40095
40096 cat >conftest.$ac_ext <<_ACEOF
40097 /* confdefs.h. */
40098 _ACEOF
40099 cat confdefs.h >>conftest.$ac_ext
40100 cat >>conftest.$ac_ext <<_ACEOF
40101 /* end confdefs.h. */
40102 #include <netdb.h>
40103 int
40104 main ()
40105 {
40106
40107 char *name = "www.gnu.org";
40108 struct hostent ret;
40109 struct hostent_data data;
40110 (void)gethostbyname_r(name, &ret, &data) /* ; */
40111
40112 ;
40113 return 0;
40114 }
40115 _ACEOF
40116 rm -f conftest.$ac_objext
40117 if { (ac_try="$ac_compile"
40118 case "(($ac_try" in
40119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40120 *) ac_try_echo=$ac_try;;
40121 esac
40122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40123 (eval "$ac_compile") 2>conftest.er1
40124 ac_status=$?
40125 grep -v '^ *+' conftest.er1 >conftest.err
40126 rm -f conftest.er1
40127 cat conftest.err >&5
40128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129 (exit $ac_status); } && {
40130 test -z "$ac_c_werror_flag" ||
40131 test ! -s conftest.err
40132 } && test -s conftest.$ac_objext; then
40133 ac_cv_func_which_gethostbyname_r=three
40134 else
40135 echo "$as_me: failed program was:" >&5
40136 sed 's/^/| /' conftest.$ac_ext >&5
40137
40138
40139 fi
40140
40141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40142
40143 fi
40144
40145 ################################################################
40146
40147
40148 fi
40149
40150 case "$ac_cv_func_which_gethostbyname_r" in
40151 three)
40152 { echo "$as_me:$LINENO: result: three" >&5
40153 echo "${ECHO_T}three" >&6; }
40154 cat >>confdefs.h <<\_ACEOF
40155 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40156 _ACEOF
40157
40158 ;;
40159
40160 five)
40161 { echo "$as_me:$LINENO: result: five" >&5
40162 echo "${ECHO_T}five" >&6; }
40163 cat >>confdefs.h <<\_ACEOF
40164 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40165 _ACEOF
40166
40167 ;;
40168
40169 six)
40170 { echo "$as_me:$LINENO: result: six" >&5
40171 echo "${ECHO_T}six" >&6; }
40172 cat >>confdefs.h <<\_ACEOF
40173 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40174 _ACEOF
40175
40176 ;;
40177
40178 no)
40179 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40180 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40181 ;;
40182
40183 unknown)
40184 { echo "$as_me:$LINENO: result: can't tell" >&5
40185 echo "${ECHO_T}can't tell" >&6; }
40186 ;;
40187
40188 *)
40189 { { echo "$as_me:$LINENO: error: internal error" >&5
40190 echo "$as_me: error: internal error" >&2;}
40191 { (exit 1); exit 1; }; }
40192 ;;
40193 esac
40194
40195 ac_ext=c
40196 ac_cpp='$CPP $CPPFLAGS'
40197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40200
40201
40202
40203 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40204 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40205 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40206 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40207 if test "${ac_cv_func_gethostbyname+set}" = set; then
40208 echo $ECHO_N "(cached) $ECHO_C" >&6
40209 else
40210 cat >conftest.$ac_ext <<_ACEOF
40211 /* confdefs.h. */
40212 _ACEOF
40213 cat confdefs.h >>conftest.$ac_ext
40214 cat >>conftest.$ac_ext <<_ACEOF
40215 /* end confdefs.h. */
40216 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40218 #define gethostbyname innocuous_gethostbyname
40219
40220 /* System header to define __stub macros and hopefully few prototypes,
40221 which can conflict with char gethostbyname (); below.
40222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40223 <limits.h> exists even on freestanding compilers. */
40224
40225 #ifdef __STDC__
40226 # include <limits.h>
40227 #else
40228 # include <assert.h>
40229 #endif
40230
40231 #undef gethostbyname
40232
40233 /* Override any GCC internal prototype to avoid an error.
40234 Use char because int might match the return type of a GCC
40235 builtin and then its argument prototype would still apply. */
40236 #ifdef __cplusplus
40237 extern "C"
40238 #endif
40239 char gethostbyname ();
40240 /* The GNU C library defines this for functions which it implements
40241 to always fail with ENOSYS. Some functions are actually named
40242 something starting with __ and the normal name is an alias. */
40243 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40244 choke me
40245 #endif
40246
40247 int
40248 main ()
40249 {
40250 return gethostbyname ();
40251 ;
40252 return 0;
40253 }
40254 _ACEOF
40255 rm -f conftest.$ac_objext conftest$ac_exeext
40256 if { (ac_try="$ac_link"
40257 case "(($ac_try" in
40258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40259 *) ac_try_echo=$ac_try;;
40260 esac
40261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40262 (eval "$ac_link") 2>conftest.er1
40263 ac_status=$?
40264 grep -v '^ *+' conftest.er1 >conftest.err
40265 rm -f conftest.er1
40266 cat conftest.err >&5
40267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40268 (exit $ac_status); } && {
40269 test -z "$ac_c_werror_flag" ||
40270 test ! -s conftest.err
40271 } && test -s conftest$ac_exeext &&
40272 $as_test_x conftest$ac_exeext; then
40273 ac_cv_func_gethostbyname=yes
40274 else
40275 echo "$as_me: failed program was:" >&5
40276 sed 's/^/| /' conftest.$ac_ext >&5
40277
40278 ac_cv_func_gethostbyname=no
40279 fi
40280
40281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40282 conftest$ac_exeext conftest.$ac_ext
40283 fi
40284 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40285 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40286 if test $ac_cv_func_gethostbyname = yes; then
40287 cat >>confdefs.h <<\_ACEOF
40288 #define HAVE_GETHOSTBYNAME 1
40289 _ACEOF
40290
40291 fi
40292
40293 fi
40294
40295 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40296 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40297 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40298 echo $ECHO_N "(cached) $ECHO_C" >&6
40299 else
40300
40301 ac_ext=cpp
40302 ac_cpp='$CXXCPP $CPPFLAGS'
40303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40306
40307
40308 cat >conftest.$ac_ext <<_ACEOF
40309 /* confdefs.h. */
40310 _ACEOF
40311 cat confdefs.h >>conftest.$ac_ext
40312 cat >>conftest.$ac_ext <<_ACEOF
40313 /* end confdefs.h. */
40314 #include <netdb.h>
40315 int
40316 main ()
40317 {
40318
40319 char *name;
40320 char *proto;
40321 struct servent *se, *res;
40322 char buffer[2048];
40323 int buflen = 2048;
40324 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40325
40326 ;
40327 return 0;
40328 }
40329 _ACEOF
40330 rm -f conftest.$ac_objext
40331 if { (ac_try="$ac_compile"
40332 case "(($ac_try" in
40333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40334 *) ac_try_echo=$ac_try;;
40335 esac
40336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40337 (eval "$ac_compile") 2>conftest.er1
40338 ac_status=$?
40339 grep -v '^ *+' conftest.er1 >conftest.err
40340 rm -f conftest.er1
40341 cat conftest.err >&5
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); } && {
40344 test -z "$ac_cxx_werror_flag" ||
40345 test ! -s conftest.err
40346 } && test -s conftest.$ac_objext; then
40347 ac_cv_func_which_getservbyname_r=six
40348 else
40349 echo "$as_me: failed program was:" >&5
40350 sed 's/^/| /' conftest.$ac_ext >&5
40351
40352
40353 cat >conftest.$ac_ext <<_ACEOF
40354 /* confdefs.h. */
40355 _ACEOF
40356 cat confdefs.h >>conftest.$ac_ext
40357 cat >>conftest.$ac_ext <<_ACEOF
40358 /* end confdefs.h. */
40359 #include <netdb.h>
40360 int
40361 main ()
40362 {
40363
40364 char *name;
40365 char *proto;
40366 struct servent *se;
40367 char buffer[2048];
40368 int buflen = 2048;
40369 (void) getservbyname_r(name, proto, se, buffer, buflen)
40370
40371 ;
40372 return 0;
40373 }
40374 _ACEOF
40375 rm -f conftest.$ac_objext
40376 if { (ac_try="$ac_compile"
40377 case "(($ac_try" in
40378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40379 *) ac_try_echo=$ac_try;;
40380 esac
40381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40382 (eval "$ac_compile") 2>conftest.er1
40383 ac_status=$?
40384 grep -v '^ *+' conftest.er1 >conftest.err
40385 rm -f conftest.er1
40386 cat conftest.err >&5
40387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40388 (exit $ac_status); } && {
40389 test -z "$ac_cxx_werror_flag" ||
40390 test ! -s conftest.err
40391 } && test -s conftest.$ac_objext; then
40392 ac_cv_func_which_getservbyname_r=five
40393 else
40394 echo "$as_me: failed program was:" >&5
40395 sed 's/^/| /' conftest.$ac_ext >&5
40396
40397
40398 cat >conftest.$ac_ext <<_ACEOF
40399 /* confdefs.h. */
40400 _ACEOF
40401 cat confdefs.h >>conftest.$ac_ext
40402 cat >>conftest.$ac_ext <<_ACEOF
40403 /* end confdefs.h. */
40404 #include <netdb.h>
40405 int
40406 main ()
40407 {
40408
40409 char *name;
40410 char *proto;
40411 struct servent *se;
40412 struct servent_data data;
40413 (void) getservbyname_r(name, proto, se, &data);
40414
40415 ;
40416 return 0;
40417 }
40418 _ACEOF
40419 rm -f conftest.$ac_objext
40420 if { (ac_try="$ac_compile"
40421 case "(($ac_try" in
40422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40423 *) ac_try_echo=$ac_try;;
40424 esac
40425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40426 (eval "$ac_compile") 2>conftest.er1
40427 ac_status=$?
40428 grep -v '^ *+' conftest.er1 >conftest.err
40429 rm -f conftest.er1
40430 cat conftest.err >&5
40431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40432 (exit $ac_status); } && {
40433 test -z "$ac_cxx_werror_flag" ||
40434 test ! -s conftest.err
40435 } && test -s conftest.$ac_objext; then
40436 ac_cv_func_which_getservbyname_r=four
40437 else
40438 echo "$as_me: failed program was:" >&5
40439 sed 's/^/| /' conftest.$ac_ext >&5
40440
40441 ac_cv_func_which_getservbyname_r=no
40442
40443 fi
40444
40445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40446
40447
40448 fi
40449
40450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40451
40452
40453 fi
40454
40455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40456 ac_ext=c
40457 ac_cpp='$CPP $CPPFLAGS'
40458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40461
40462
40463
40464 fi
40465 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40466 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40467
40468 if test $ac_cv_func_which_getservbyname_r = six; then
40469 cat >>confdefs.h <<\_ACEOF
40470 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40471 _ACEOF
40472
40473 elif test $ac_cv_func_which_getservbyname_r = five; then
40474 cat >>confdefs.h <<\_ACEOF
40475 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40476 _ACEOF
40477
40478 elif test $ac_cv_func_which_getservbyname_r = four; then
40479 cat >>confdefs.h <<\_ACEOF
40480 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40481 _ACEOF
40482
40483 fi
40484
40485
40486 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40487 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40488
40489 for ac_func in getservbyname
40490 do
40491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40492 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40494 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40496 else
40497 cat >conftest.$ac_ext <<_ACEOF
40498 /* confdefs.h. */
40499 _ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define $ac_func innocuous_$ac_func
40506
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char $ac_func (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40511
40512 #ifdef __STDC__
40513 # include <limits.h>
40514 #else
40515 # include <assert.h>
40516 #endif
40517
40518 #undef $ac_func
40519
40520 /* Override any GCC internal prototype to avoid an error.
40521 Use char because int might match the return type of a GCC
40522 builtin and then its argument prototype would still apply. */
40523 #ifdef __cplusplus
40524 extern "C"
40525 #endif
40526 char $ac_func ();
40527 /* The GNU C library defines this for functions which it implements
40528 to always fail with ENOSYS. Some functions are actually named
40529 something starting with __ and the normal name is an alias. */
40530 #if defined __stub_$ac_func || defined __stub___$ac_func
40531 choke me
40532 #endif
40533
40534 int
40535 main ()
40536 {
40537 return $ac_func ();
40538 ;
40539 return 0;
40540 }
40541 _ACEOF
40542 rm -f conftest.$ac_objext conftest$ac_exeext
40543 if { (ac_try="$ac_link"
40544 case "(($ac_try" in
40545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40546 *) ac_try_echo=$ac_try;;
40547 esac
40548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40549 (eval "$ac_link") 2>conftest.er1
40550 ac_status=$?
40551 grep -v '^ *+' conftest.er1 >conftest.err
40552 rm -f conftest.er1
40553 cat conftest.err >&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } && {
40556 test -z "$ac_c_werror_flag" ||
40557 test ! -s conftest.err
40558 } && test -s conftest$ac_exeext &&
40559 $as_test_x conftest$ac_exeext; then
40560 eval "$as_ac_var=yes"
40561 else
40562 echo "$as_me: failed program was:" >&5
40563 sed 's/^/| /' conftest.$ac_ext >&5
40564
40565 eval "$as_ac_var=no"
40566 fi
40567
40568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40569 conftest$ac_exeext conftest.$ac_ext
40570 fi
40571 ac_res=`eval echo '${'$as_ac_var'}'`
40572 { echo "$as_me:$LINENO: result: $ac_res" >&5
40573 echo "${ECHO_T}$ac_res" >&6; }
40574 if test `eval echo '${'$as_ac_var'}'` = yes; then
40575 cat >>confdefs.h <<_ACEOF
40576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40577 _ACEOF
40578 cat >>confdefs.h <<\_ACEOF
40579 #define HAVE_GETSERVBYNAME 1
40580 _ACEOF
40581
40582 fi
40583 done
40584
40585 fi
40586
40587 if test "$wxUSE_THREADS" = "yes"; then
40588 cat >>confdefs.h <<\_ACEOF
40589 #define wxUSE_THREADS 1
40590 _ACEOF
40591
40592
40593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40594 else
40595 if test "$wx_cv_func_strtok_r" = "yes"; then
40596 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40597 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40598 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40599 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40600 { echo "$as_me:$LINENO: result: yes" >&5
40601 echo "${ECHO_T}yes" >&6; }
40602 else
40603 { echo "$as_me:$LINENO: result: no" >&5
40604 echo "${ECHO_T}no" >&6; }
40605 fi
40606 fi
40607 fi
40608
40609 if test "$WXGTK2" = 1 ; then
40610 cat >>confdefs.h <<_ACEOF
40611 #define __WXGTK20__ $WXGTK2
40612 _ACEOF
40613
40614 WXGTK12=1
40615 fi
40616
40617 if test "$WXGTK12" = 1 ; then
40618 cat >>confdefs.h <<_ACEOF
40619 #define __WXGTK12__ $WXGTK12
40620 _ACEOF
40621
40622 fi
40623
40624 if test "$WXGTK127" = 1 ; then
40625 cat >>confdefs.h <<_ACEOF
40626 #define __WXGTK127__ $WXGTK127
40627 _ACEOF
40628
40629 fi
40630
40631 if test "$WXGPE" = 1 ; then
40632 cat >>confdefs.h <<_ACEOF
40633 #define __WXGPE__ $WXGPE
40634 _ACEOF
40635
40636 fi
40637
40638 DEBUG_CFLAGS=
40639 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40640 DEBUG_CFLAGS="-g"
40641 wxUSE_OPTIMISE=no
40642 fi
40643
40644 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40645 wxUSE_DEBUG_INFO=yes
40646 if test "$GCC" = yes; then
40647 DEBUG_CFLAGS="-ggdb"
40648 fi
40649 fi
40650
40651 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40652 cat >>confdefs.h <<\_ACEOF
40653 #define WXDEBUG 1
40654 _ACEOF
40655
40656 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40657 else
40658 if test "$wxUSE_GTK" = 1 ; then
40659 if test "x$wxGTK_VERSION" = "x1" ; then
40660 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40661 fi
40662 fi
40663 fi
40664
40665 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40666 cat >>confdefs.h <<\_ACEOF
40667 #define wxUSE_MEMORY_TRACING 1
40668 _ACEOF
40669
40670 cat >>confdefs.h <<\_ACEOF
40671 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40672 _ACEOF
40673
40674 cat >>confdefs.h <<\_ACEOF
40675 #define wxUSE_DEBUG_NEW_ALWAYS 1
40676 _ACEOF
40677
40678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40679 fi
40680
40681 if test "$wxUSE_DMALLOC" = "yes" ; then
40682 DMALLOC_LIBS="-ldmallocthcxx"
40683 fi
40684
40685 PROFILE_FLAGS=
40686 if test "$wxUSE_PROFILE" = "yes" ; then
40687 PROFILE_FLAGS=" -pg"
40688 fi
40689
40690 if test "$GCC" = "yes" ; then
40691 if test "$wxUSE_NO_RTTI" = "yes" ; then
40692 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40693 fi
40694 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40695 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40696 fi
40697 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40698 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40699 fi
40700
40701 case "${host}" in
40702 powerpc*-*-aix* )
40703 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40704 ;;
40705 *-hppa* )
40706 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40707 ;;
40708 esac
40709 fi
40710
40711 OPTIMISE_CFLAGS=
40712 if test "$wxUSE_OPTIMISE" = "no" ; then
40713 if test "$GCC" = yes ; then
40714 OPTIMISE_CFLAGS="-O0"
40715 fi
40716 else
40717 if test "$GCC" = yes ; then
40718 case "${host}" in
40719 *-pc-os2_emx | *-pc-os2-emx )
40720 OPTIMISE_CFLAGS="-O2"
40721 ;;
40722 *)
40723 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40724 ;;
40725 esac
40726 else
40727 OPTIMISE_CFLAGS="-O"
40728 fi
40729 fi
40730
40731
40732 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40733 cat >>confdefs.h <<\_ACEOF
40734 #define WXWIN_COMPATIBILITY_2_6 1
40735 _ACEOF
40736
40737
40738 WXWIN_COMPATIBILITY_2_8="yes"
40739 fi
40740
40741 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40742 cat >>confdefs.h <<\_ACEOF
40743 #define WXWIN_COMPATIBILITY_2_8 1
40744 _ACEOF
40745
40746 fi
40747
40748
40749 if test "$wxUSE_GUI" = "yes"; then
40750 cat >>confdefs.h <<\_ACEOF
40751 #define wxUSE_GUI 1
40752 _ACEOF
40753
40754
40755 fi
40756
40757
40758 if test "$wxUSE_UNIX" = "yes"; then
40759 cat >>confdefs.h <<\_ACEOF
40760 #define wxUSE_UNIX 1
40761 _ACEOF
40762
40763 fi
40764
40765
40766 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40767
40768 HAVE_DL_FUNCS=0
40769 HAVE_SHL_FUNCS=0
40770 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40771 if test "$USE_DARWIN" = 1; then
40772 HAVE_DL_FUNCS=1
40773 elif test "$USE_DOS" = 1; then
40774 HAVE_DL_FUNCS=0
40775 else
40776
40777 for ac_func in dlopen
40778 do
40779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40780 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40782 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40783 echo $ECHO_N "(cached) $ECHO_C" >&6
40784 else
40785 cat >conftest.$ac_ext <<_ACEOF
40786 /* confdefs.h. */
40787 _ACEOF
40788 cat confdefs.h >>conftest.$ac_ext
40789 cat >>conftest.$ac_ext <<_ACEOF
40790 /* end confdefs.h. */
40791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40793 #define $ac_func innocuous_$ac_func
40794
40795 /* System header to define __stub macros and hopefully few prototypes,
40796 which can conflict with char $ac_func (); below.
40797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40798 <limits.h> exists even on freestanding compilers. */
40799
40800 #ifdef __STDC__
40801 # include <limits.h>
40802 #else
40803 # include <assert.h>
40804 #endif
40805
40806 #undef $ac_func
40807
40808 /* Override any GCC internal prototype to avoid an error.
40809 Use char because int might match the return type of a GCC
40810 builtin and then its argument prototype would still apply. */
40811 #ifdef __cplusplus
40812 extern "C"
40813 #endif
40814 char $ac_func ();
40815 /* The GNU C library defines this for functions which it implements
40816 to always fail with ENOSYS. Some functions are actually named
40817 something starting with __ and the normal name is an alias. */
40818 #if defined __stub_$ac_func || defined __stub___$ac_func
40819 choke me
40820 #endif
40821
40822 int
40823 main ()
40824 {
40825 return $ac_func ();
40826 ;
40827 return 0;
40828 }
40829 _ACEOF
40830 rm -f conftest.$ac_objext conftest$ac_exeext
40831 if { (ac_try="$ac_link"
40832 case "(($ac_try" in
40833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40834 *) ac_try_echo=$ac_try;;
40835 esac
40836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40837 (eval "$ac_link") 2>conftest.er1
40838 ac_status=$?
40839 grep -v '^ *+' conftest.er1 >conftest.err
40840 rm -f conftest.er1
40841 cat conftest.err >&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); } && {
40844 test -z "$ac_c_werror_flag" ||
40845 test ! -s conftest.err
40846 } && test -s conftest$ac_exeext &&
40847 $as_test_x conftest$ac_exeext; then
40848 eval "$as_ac_var=yes"
40849 else
40850 echo "$as_me: failed program was:" >&5
40851 sed 's/^/| /' conftest.$ac_ext >&5
40852
40853 eval "$as_ac_var=no"
40854 fi
40855
40856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40857 conftest$ac_exeext conftest.$ac_ext
40858 fi
40859 ac_res=`eval echo '${'$as_ac_var'}'`
40860 { echo "$as_me:$LINENO: result: $ac_res" >&5
40861 echo "${ECHO_T}$ac_res" >&6; }
40862 if test `eval echo '${'$as_ac_var'}'` = yes; then
40863 cat >>confdefs.h <<_ACEOF
40864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40865 _ACEOF
40866
40867 cat >>confdefs.h <<\_ACEOF
40868 #define HAVE_DLOPEN 1
40869 _ACEOF
40870
40871 HAVE_DL_FUNCS=1
40872
40873 else
40874
40875 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40876 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40877 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40878 echo $ECHO_N "(cached) $ECHO_C" >&6
40879 else
40880 ac_check_lib_save_LIBS=$LIBS
40881 LIBS="-ldl $LIBS"
40882 cat >conftest.$ac_ext <<_ACEOF
40883 /* confdefs.h. */
40884 _ACEOF
40885 cat confdefs.h >>conftest.$ac_ext
40886 cat >>conftest.$ac_ext <<_ACEOF
40887 /* end confdefs.h. */
40888
40889 /* Override any GCC internal prototype to avoid an error.
40890 Use char because int might match the return type of a GCC
40891 builtin and then its argument prototype would still apply. */
40892 #ifdef __cplusplus
40893 extern "C"
40894 #endif
40895 char dlopen ();
40896 int
40897 main ()
40898 {
40899 return dlopen ();
40900 ;
40901 return 0;
40902 }
40903 _ACEOF
40904 rm -f conftest.$ac_objext conftest$ac_exeext
40905 if { (ac_try="$ac_link"
40906 case "(($ac_try" in
40907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40908 *) ac_try_echo=$ac_try;;
40909 esac
40910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40911 (eval "$ac_link") 2>conftest.er1
40912 ac_status=$?
40913 grep -v '^ *+' conftest.er1 >conftest.err
40914 rm -f conftest.er1
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } && {
40918 test -z "$ac_c_werror_flag" ||
40919 test ! -s conftest.err
40920 } && test -s conftest$ac_exeext &&
40921 $as_test_x conftest$ac_exeext; then
40922 ac_cv_lib_dl_dlopen=yes
40923 else
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40926
40927 ac_cv_lib_dl_dlopen=no
40928 fi
40929
40930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40931 conftest$ac_exeext conftest.$ac_ext
40932 LIBS=$ac_check_lib_save_LIBS
40933 fi
40934 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40935 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40936 if test $ac_cv_lib_dl_dlopen = yes; then
40937
40938 cat >>confdefs.h <<\_ACEOF
40939 #define HAVE_DLOPEN 1
40940 _ACEOF
40941
40942 HAVE_DL_FUNCS=1
40943 DL_LINK=" -ldl$DL_LINK"
40944
40945 else
40946
40947
40948 for ac_func in shl_load
40949 do
40950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40951 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40953 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40954 echo $ECHO_N "(cached) $ECHO_C" >&6
40955 else
40956 cat >conftest.$ac_ext <<_ACEOF
40957 /* confdefs.h. */
40958 _ACEOF
40959 cat confdefs.h >>conftest.$ac_ext
40960 cat >>conftest.$ac_ext <<_ACEOF
40961 /* end confdefs.h. */
40962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40964 #define $ac_func innocuous_$ac_func
40965
40966 /* System header to define __stub macros and hopefully few prototypes,
40967 which can conflict with char $ac_func (); below.
40968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40969 <limits.h> exists even on freestanding compilers. */
40970
40971 #ifdef __STDC__
40972 # include <limits.h>
40973 #else
40974 # include <assert.h>
40975 #endif
40976
40977 #undef $ac_func
40978
40979 /* Override any GCC internal prototype to avoid an error.
40980 Use char because int might match the return type of a GCC
40981 builtin and then its argument prototype would still apply. */
40982 #ifdef __cplusplus
40983 extern "C"
40984 #endif
40985 char $ac_func ();
40986 /* The GNU C library defines this for functions which it implements
40987 to always fail with ENOSYS. Some functions are actually named
40988 something starting with __ and the normal name is an alias. */
40989 #if defined __stub_$ac_func || defined __stub___$ac_func
40990 choke me
40991 #endif
40992
40993 int
40994 main ()
40995 {
40996 return $ac_func ();
40997 ;
40998 return 0;
40999 }
41000 _ACEOF
41001 rm -f conftest.$ac_objext conftest$ac_exeext
41002 if { (ac_try="$ac_link"
41003 case "(($ac_try" in
41004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41005 *) ac_try_echo=$ac_try;;
41006 esac
41007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41008 (eval "$ac_link") 2>conftest.er1
41009 ac_status=$?
41010 grep -v '^ *+' conftest.er1 >conftest.err
41011 rm -f conftest.er1
41012 cat conftest.err >&5
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); } && {
41015 test -z "$ac_c_werror_flag" ||
41016 test ! -s conftest.err
41017 } && test -s conftest$ac_exeext &&
41018 $as_test_x conftest$ac_exeext; then
41019 eval "$as_ac_var=yes"
41020 else
41021 echo "$as_me: failed program was:" >&5
41022 sed 's/^/| /' conftest.$ac_ext >&5
41023
41024 eval "$as_ac_var=no"
41025 fi
41026
41027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41028 conftest$ac_exeext conftest.$ac_ext
41029 fi
41030 ac_res=`eval echo '${'$as_ac_var'}'`
41031 { echo "$as_me:$LINENO: result: $ac_res" >&5
41032 echo "${ECHO_T}$ac_res" >&6; }
41033 if test `eval echo '${'$as_ac_var'}'` = yes; then
41034 cat >>confdefs.h <<_ACEOF
41035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41036 _ACEOF
41037
41038 cat >>confdefs.h <<\_ACEOF
41039 #define HAVE_SHL_LOAD 1
41040 _ACEOF
41041
41042 HAVE_SHL_FUNCS=1
41043
41044 else
41045
41046 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41047 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41048 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41049 echo $ECHO_N "(cached) $ECHO_C" >&6
41050 else
41051 ac_check_lib_save_LIBS=$LIBS
41052 LIBS="-lshl_load $LIBS"
41053 cat >conftest.$ac_ext <<_ACEOF
41054 /* confdefs.h. */
41055 _ACEOF
41056 cat confdefs.h >>conftest.$ac_ext
41057 cat >>conftest.$ac_ext <<_ACEOF
41058 /* end confdefs.h. */
41059
41060 /* Override any GCC internal prototype to avoid an error.
41061 Use char because int might match the return type of a GCC
41062 builtin and then its argument prototype would still apply. */
41063 #ifdef __cplusplus
41064 extern "C"
41065 #endif
41066 char dld ();
41067 int
41068 main ()
41069 {
41070 return dld ();
41071 ;
41072 return 0;
41073 }
41074 _ACEOF
41075 rm -f conftest.$ac_objext conftest$ac_exeext
41076 if { (ac_try="$ac_link"
41077 case "(($ac_try" in
41078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41079 *) ac_try_echo=$ac_try;;
41080 esac
41081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41082 (eval "$ac_link") 2>conftest.er1
41083 ac_status=$?
41084 grep -v '^ *+' conftest.er1 >conftest.err
41085 rm -f conftest.er1
41086 cat conftest.err >&5
41087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41088 (exit $ac_status); } && {
41089 test -z "$ac_c_werror_flag" ||
41090 test ! -s conftest.err
41091 } && test -s conftest$ac_exeext &&
41092 $as_test_x conftest$ac_exeext; then
41093 ac_cv_lib_shl_load_dld=yes
41094 else
41095 echo "$as_me: failed program was:" >&5
41096 sed 's/^/| /' conftest.$ac_ext >&5
41097
41098 ac_cv_lib_shl_load_dld=no
41099 fi
41100
41101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41102 conftest$ac_exeext conftest.$ac_ext
41103 LIBS=$ac_check_lib_save_LIBS
41104 fi
41105 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41106 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41107 if test $ac_cv_lib_shl_load_dld = yes; then
41108
41109 HAVE_SHL_FUNCS=1
41110 DL_LINK=" -ldld$DL_LINK"
41111
41112 fi
41113
41114
41115 fi
41116 done
41117
41118
41119 fi
41120
41121
41122 fi
41123 done
41124
41125
41126 if test "$HAVE_DL_FUNCS" = 1; then
41127
41128 for ac_func in dlerror
41129 do
41130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41134 echo $ECHO_N "(cached) $ECHO_C" >&6
41135 else
41136 cat >conftest.$ac_ext <<_ACEOF
41137 /* confdefs.h. */
41138 _ACEOF
41139 cat confdefs.h >>conftest.$ac_ext
41140 cat >>conftest.$ac_ext <<_ACEOF
41141 /* end confdefs.h. */
41142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41144 #define $ac_func innocuous_$ac_func
41145
41146 /* System header to define __stub macros and hopefully few prototypes,
41147 which can conflict with char $ac_func (); below.
41148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41149 <limits.h> exists even on freestanding compilers. */
41150
41151 #ifdef __STDC__
41152 # include <limits.h>
41153 #else
41154 # include <assert.h>
41155 #endif
41156
41157 #undef $ac_func
41158
41159 /* Override any GCC internal prototype to avoid an error.
41160 Use char because int might match the return type of a GCC
41161 builtin and then its argument prototype would still apply. */
41162 #ifdef __cplusplus
41163 extern "C"
41164 #endif
41165 char $ac_func ();
41166 /* The GNU C library defines this for functions which it implements
41167 to always fail with ENOSYS. Some functions are actually named
41168 something starting with __ and the normal name is an alias. */
41169 #if defined __stub_$ac_func || defined __stub___$ac_func
41170 choke me
41171 #endif
41172
41173 int
41174 main ()
41175 {
41176 return $ac_func ();
41177 ;
41178 return 0;
41179 }
41180 _ACEOF
41181 rm -f conftest.$ac_objext conftest$ac_exeext
41182 if { (ac_try="$ac_link"
41183 case "(($ac_try" in
41184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41185 *) ac_try_echo=$ac_try;;
41186 esac
41187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41188 (eval "$ac_link") 2>conftest.er1
41189 ac_status=$?
41190 grep -v '^ *+' conftest.er1 >conftest.err
41191 rm -f conftest.er1
41192 cat conftest.err >&5
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); } && {
41195 test -z "$ac_c_werror_flag" ||
41196 test ! -s conftest.err
41197 } && test -s conftest$ac_exeext &&
41198 $as_test_x conftest$ac_exeext; then
41199 eval "$as_ac_var=yes"
41200 else
41201 echo "$as_me: failed program was:" >&5
41202 sed 's/^/| /' conftest.$ac_ext >&5
41203
41204 eval "$as_ac_var=no"
41205 fi
41206
41207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41208 conftest$ac_exeext conftest.$ac_ext
41209 fi
41210 ac_res=`eval echo '${'$as_ac_var'}'`
41211 { echo "$as_me:$LINENO: result: $ac_res" >&5
41212 echo "${ECHO_T}$ac_res" >&6; }
41213 if test `eval echo '${'$as_ac_var'}'` = yes; then
41214 cat >>confdefs.h <<_ACEOF
41215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41216 _ACEOF
41217 cat >>confdefs.h <<\_ACEOF
41218 #define HAVE_DLERROR 1
41219 _ACEOF
41220
41221 else
41222
41223 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41224 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41225 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41226 echo $ECHO_N "(cached) $ECHO_C" >&6
41227 else
41228 ac_check_lib_save_LIBS=$LIBS
41229 LIBS="-ldl $LIBS"
41230 cat >conftest.$ac_ext <<_ACEOF
41231 /* confdefs.h. */
41232 _ACEOF
41233 cat confdefs.h >>conftest.$ac_ext
41234 cat >>conftest.$ac_ext <<_ACEOF
41235 /* end confdefs.h. */
41236
41237 /* Override any GCC internal prototype to avoid an error.
41238 Use char because int might match the return type of a GCC
41239 builtin and then its argument prototype would still apply. */
41240 #ifdef __cplusplus
41241 extern "C"
41242 #endif
41243 char dlerror ();
41244 int
41245 main ()
41246 {
41247 return dlerror ();
41248 ;
41249 return 0;
41250 }
41251 _ACEOF
41252 rm -f conftest.$ac_objext conftest$ac_exeext
41253 if { (ac_try="$ac_link"
41254 case "(($ac_try" in
41255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41256 *) ac_try_echo=$ac_try;;
41257 esac
41258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41259 (eval "$ac_link") 2>conftest.er1
41260 ac_status=$?
41261 grep -v '^ *+' conftest.er1 >conftest.err
41262 rm -f conftest.er1
41263 cat conftest.err >&5
41264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41265 (exit $ac_status); } && {
41266 test -z "$ac_c_werror_flag" ||
41267 test ! -s conftest.err
41268 } && test -s conftest$ac_exeext &&
41269 $as_test_x conftest$ac_exeext; then
41270 ac_cv_lib_dl_dlerror=yes
41271 else
41272 echo "$as_me: failed program was:" >&5
41273 sed 's/^/| /' conftest.$ac_ext >&5
41274
41275 ac_cv_lib_dl_dlerror=no
41276 fi
41277
41278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41279 conftest$ac_exeext conftest.$ac_ext
41280 LIBS=$ac_check_lib_save_LIBS
41281 fi
41282 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41283 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41284 if test $ac_cv_lib_dl_dlerror = yes; then
41285 cat >>confdefs.h <<\_ACEOF
41286 #define HAVE_DLERROR 1
41287 _ACEOF
41288
41289 fi
41290
41291
41292
41293 fi
41294 done
41295
41296 fi
41297 fi
41298
41299 if test "$HAVE_DL_FUNCS" = 0; then
41300 if test "$HAVE_SHL_FUNCS" = 0; then
41301 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41302 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41303 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41304 wxUSE_DYNAMIC_LOADER=no
41305 wxUSE_DYNLIB_CLASS=no
41306 else
41307 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41308 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41309 fi
41310 fi
41311 fi
41312 fi
41313 fi
41314
41315 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41316 cat >>confdefs.h <<\_ACEOF
41317 #define wxUSE_DYNAMIC_LOADER 1
41318 _ACEOF
41319
41320 fi
41321 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41322 cat >>confdefs.h <<\_ACEOF
41323 #define wxUSE_DYNLIB_CLASS 1
41324 _ACEOF
41325
41326 fi
41327
41328
41329
41330 if test "$wxUSE_PLUGINS" = "yes" ; then
41331 if test "$wxUSE_SHARED" = "no" ; then
41332 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41333 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41334 wxUSE_PLUGINS=no
41335 fi
41336 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41337 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41338 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41339 wxUSE_PLUGINS=no
41340 fi
41341 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41342 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41343 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41344 wxUSE_PLUGINS=no
41345 fi
41346 if test "$wxUSE_PLUGINS" = "yes" ; then
41347 cat >>confdefs.h <<\_ACEOF
41348 #define wxUSE_PLUGINS 1
41349 _ACEOF
41350
41351 fi
41352 fi
41353
41354
41355 if test "$wxUSE_STL" = "yes"; then
41356 cat >>confdefs.h <<\_ACEOF
41357 #define wxUSE_STL 1
41358 _ACEOF
41359
41360 fi
41361
41362 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41363 cat >>confdefs.h <<\_ACEOF
41364 #define wxUSE_EXTENDED_RTTI 1
41365 _ACEOF
41366
41367 fi
41368
41369 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41370 cat >>confdefs.h <<\_ACEOF
41371 #define wxUSE_APPLE_IEEE 1
41372 _ACEOF
41373
41374 fi
41375
41376 if test "$wxUSE_TIMER" = "yes"; then
41377 cat >>confdefs.h <<\_ACEOF
41378 #define wxUSE_TIMER 1
41379 _ACEOF
41380
41381 fi
41382
41383 if test "$USE_UNIX" = 1 ; then
41384 if test "$wxUSE_MGL" != 1; then
41385 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41386 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41387 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41388 echo $ECHO_N "(cached) $ECHO_C" >&6
41389 else
41390
41391 cat >conftest.$ac_ext <<_ACEOF
41392 /* confdefs.h. */
41393 _ACEOF
41394 cat confdefs.h >>conftest.$ac_ext
41395 cat >>conftest.$ac_ext <<_ACEOF
41396 /* end confdefs.h. */
41397
41398 #include <sys/ioctl.h>
41399 #include <sys/soundcard.h>
41400
41401 int
41402 main ()
41403 {
41404
41405 ioctl(0, SNDCTL_DSP_SPEED, 0);
41406
41407 ;
41408 return 0;
41409 }
41410 _ACEOF
41411 rm -f conftest.$ac_objext conftest$ac_exeext
41412 if { (ac_try="$ac_link"
41413 case "(($ac_try" in
41414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41415 *) ac_try_echo=$ac_try;;
41416 esac
41417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41418 (eval "$ac_link") 2>conftest.er1
41419 ac_status=$?
41420 grep -v '^ *+' conftest.er1 >conftest.err
41421 rm -f conftest.er1
41422 cat conftest.err >&5
41423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424 (exit $ac_status); } && {
41425 test -z "$ac_c_werror_flag" ||
41426 test ! -s conftest.err
41427 } && test -s conftest$ac_exeext &&
41428 $as_test_x conftest$ac_exeext; then
41429 ac_cv_header_sys_soundcard=yes
41430 else
41431 echo "$as_me: failed program was:" >&5
41432 sed 's/^/| /' conftest.$ac_ext >&5
41433
41434
41435 saveLibs="$LIBS"
41436 LIBS="$saveLibs -lossaudio"
41437 cat >conftest.$ac_ext <<_ACEOF
41438 /* confdefs.h. */
41439 _ACEOF
41440 cat confdefs.h >>conftest.$ac_ext
41441 cat >>conftest.$ac_ext <<_ACEOF
41442 /* end confdefs.h. */
41443
41444 #include <sys/ioctl.h>
41445 #include <sys/soundcard.h>
41446
41447 int
41448 main ()
41449 {
41450
41451 ioctl(0, SNDCTL_DSP_SPEED, 0);
41452
41453 ;
41454 return 0;
41455 }
41456 _ACEOF
41457 rm -f conftest.$ac_objext conftest$ac_exeext
41458 if { (ac_try="$ac_link"
41459 case "(($ac_try" in
41460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41461 *) ac_try_echo=$ac_try;;
41462 esac
41463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41464 (eval "$ac_link") 2>conftest.er1
41465 ac_status=$?
41466 grep -v '^ *+' conftest.er1 >conftest.err
41467 rm -f conftest.er1
41468 cat conftest.err >&5
41469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41470 (exit $ac_status); } && {
41471 test -z "$ac_c_werror_flag" ||
41472 test ! -s conftest.err
41473 } && test -s conftest$ac_exeext &&
41474 $as_test_x conftest$ac_exeext; then
41475 ac_cv_header_sys_soundcard=yes
41476 else
41477 echo "$as_me: failed program was:" >&5
41478 sed 's/^/| /' conftest.$ac_ext >&5
41479
41480
41481 LIBS="$saveLibs"
41482 ac_cv_header_sys_soundcard=no
41483
41484
41485 fi
41486
41487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41488 conftest$ac_exeext conftest.$ac_ext
41489
41490
41491 fi
41492
41493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41494 conftest$ac_exeext conftest.$ac_ext
41495
41496 fi
41497 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41498 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41499 fi
41500
41501 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41502 cat >>confdefs.h <<\_ACEOF
41503 #define HAVE_SYS_SOUNDCARD_H 1
41504 _ACEOF
41505
41506 fi
41507 fi
41508
41509 WITH_PLUGIN_SDL=0
41510 if test "$wxUSE_SOUND" = "yes"; then
41511 if test "$USE_UNIX" = 1 ; then
41512 if test "$wxUSE_LIBSDL" != "no"; then
41513
41514 # Check whether --with-sdl-prefix was given.
41515 if test "${with_sdl_prefix+set}" = set; then
41516 withval=$with_sdl_prefix; sdl_prefix="$withval"
41517 else
41518 sdl_prefix=""
41519 fi
41520
41521
41522 # Check whether --with-sdl-exec-prefix was given.
41523 if test "${with_sdl_exec_prefix+set}" = set; then
41524 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41525 else
41526 sdl_exec_prefix=""
41527 fi
41528
41529 # Check whether --enable-sdltest was given.
41530 if test "${enable_sdltest+set}" = set; then
41531 enableval=$enable_sdltest;
41532 else
41533 enable_sdltest=yes
41534 fi
41535
41536
41537 if test x$sdl_exec_prefix != x ; then
41538 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41539 if test x${SDL_CONFIG+set} != xset ; then
41540 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41541 fi
41542 fi
41543 if test x$sdl_prefix != x ; then
41544 sdl_args="$sdl_args --prefix=$sdl_prefix"
41545 if test x${SDL_CONFIG+set} != xset ; then
41546 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41547 fi
41548 fi
41549
41550 if test "x$prefix" != xNONE; then
41551 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41552 fi
41553 # Extract the first word of "sdl-config", so it can be a program name with args.
41554 set dummy sdl-config; ac_word=$2
41555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41557 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41558 echo $ECHO_N "(cached) $ECHO_C" >&6
41559 else
41560 case $SDL_CONFIG in
41561 [\\/]* | ?:[\\/]*)
41562 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41563 ;;
41564 *)
41565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41566 for as_dir in $PATH
41567 do
41568 IFS=$as_save_IFS
41569 test -z "$as_dir" && as_dir=.
41570 for ac_exec_ext in '' $ac_executable_extensions; do
41571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41572 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41574 break 2
41575 fi
41576 done
41577 done
41578 IFS=$as_save_IFS
41579
41580 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41581 ;;
41582 esac
41583 fi
41584 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41585 if test -n "$SDL_CONFIG"; then
41586 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41587 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41588 else
41589 { echo "$as_me:$LINENO: result: no" >&5
41590 echo "${ECHO_T}no" >&6; }
41591 fi
41592
41593
41594 min_sdl_version=1.2.0
41595 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41596 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41597 no_sdl=""
41598 if test "$SDL_CONFIG" = "no" ; then
41599 no_sdl=yes
41600 else
41601 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41602 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41603
41604 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41605 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41606 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41608 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41610 if test "x$enable_sdltest" = "xyes" ; then
41611 ac_save_CFLAGS="$CFLAGS"
41612 ac_save_CXXFLAGS="$CXXFLAGS"
41613 ac_save_LIBS="$LIBS"
41614 CFLAGS="$CFLAGS $SDL_CFLAGS"
41615 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41616 LIBS="$LIBS $SDL_LIBS"
41617 rm -f conf.sdltest
41618 if test "$cross_compiling" = yes; then
41619 echo $ac_n "cross compiling; assumed OK... $ac_c"
41620 else
41621 cat >conftest.$ac_ext <<_ACEOF
41622 /* confdefs.h. */
41623 _ACEOF
41624 cat confdefs.h >>conftest.$ac_ext
41625 cat >>conftest.$ac_ext <<_ACEOF
41626 /* end confdefs.h. */
41627
41628 #include <stdio.h>
41629 #include <stdlib.h>
41630 #include <string.h>
41631 #include "SDL.h"
41632
41633 char*
41634 my_strdup (char *str)
41635 {
41636 char *new_str;
41637
41638 if (str)
41639 {
41640 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41641 strcpy (new_str, str);
41642 }
41643 else
41644 new_str = NULL;
41645
41646 return new_str;
41647 }
41648
41649 int main (int argc, char *argv[])
41650 {
41651 int major, minor, micro;
41652 char *tmp_version;
41653
41654 /* This hangs on some systems (?)
41655 system ("touch conf.sdltest");
41656 */
41657 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41658
41659 /* HP/UX 9 (%@#!) writes to sscanf strings */
41660 tmp_version = my_strdup("$min_sdl_version");
41661 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41662 printf("%s, bad version string\n", "$min_sdl_version");
41663 exit(1);
41664 }
41665
41666 if (($sdl_major_version > major) ||
41667 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41668 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41669 {
41670 return 0;
41671 }
41672 else
41673 {
41674 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41675 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41676 printf("*** best to upgrade to the required version.\n");
41677 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41678 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41679 printf("*** config.cache before re-running configure\n");
41680 return 1;
41681 }
41682 }
41683
41684
41685 _ACEOF
41686 rm -f conftest$ac_exeext
41687 if { (ac_try="$ac_link"
41688 case "(($ac_try" in
41689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41690 *) ac_try_echo=$ac_try;;
41691 esac
41692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41693 (eval "$ac_link") 2>&5
41694 ac_status=$?
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41697 { (case "(($ac_try" in
41698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41699 *) ac_try_echo=$ac_try;;
41700 esac
41701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41702 (eval "$ac_try") 2>&5
41703 ac_status=$?
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); }; }; then
41706 :
41707 else
41708 echo "$as_me: program exited with status $ac_status" >&5
41709 echo "$as_me: failed program was:" >&5
41710 sed 's/^/| /' conftest.$ac_ext >&5
41711
41712 ( exit $ac_status )
41713 no_sdl=yes
41714 fi
41715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41716 fi
41717
41718
41719 CFLAGS="$ac_save_CFLAGS"
41720 CXXFLAGS="$ac_save_CXXFLAGS"
41721 LIBS="$ac_save_LIBS"
41722 fi
41723 fi
41724 if test "x$no_sdl" = x ; then
41725 { echo "$as_me:$LINENO: result: yes" >&5
41726 echo "${ECHO_T}yes" >&6; }
41727
41728 EXTRALIBS_SDL="$SDL_LIBS"
41729 CFLAGS="$SDL_CFLAGS $CFLAGS"
41730 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41731 cat >>confdefs.h <<\_ACEOF
41732 #define wxUSE_LIBSDL 1
41733 _ACEOF
41734
41735
41736 else
41737 { echo "$as_me:$LINENO: result: no" >&5
41738 echo "${ECHO_T}no" >&6; }
41739 if test "$SDL_CONFIG" = "no" ; then
41740 echo "*** The sdl-config script installed by SDL could not be found"
41741 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41742 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41743 echo "*** full path to sdl-config."
41744 else
41745 if test -f conf.sdltest ; then
41746 :
41747 else
41748 echo "*** Could not run SDL test program, checking why..."
41749 CFLAGS="$CFLAGS $SDL_CFLAGS"
41750 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41751 LIBS="$LIBS $SDL_LIBS"
41752 cat >conftest.$ac_ext <<_ACEOF
41753 /* confdefs.h. */
41754 _ACEOF
41755 cat confdefs.h >>conftest.$ac_ext
41756 cat >>conftest.$ac_ext <<_ACEOF
41757 /* end confdefs.h. */
41758
41759 #include <stdio.h>
41760 #include "SDL.h"
41761
41762 int main(int argc, char *argv[])
41763 { return 0; }
41764 #undef main
41765 #define main K_and_R_C_main
41766
41767 int
41768 main ()
41769 {
41770 return 0;
41771 ;
41772 return 0;
41773 }
41774 _ACEOF
41775 rm -f conftest.$ac_objext conftest$ac_exeext
41776 if { (ac_try="$ac_link"
41777 case "(($ac_try" in
41778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41779 *) ac_try_echo=$ac_try;;
41780 esac
41781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41782 (eval "$ac_link") 2>conftest.er1
41783 ac_status=$?
41784 grep -v '^ *+' conftest.er1 >conftest.err
41785 rm -f conftest.er1
41786 cat conftest.err >&5
41787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41788 (exit $ac_status); } && {
41789 test -z "$ac_c_werror_flag" ||
41790 test ! -s conftest.err
41791 } && test -s conftest$ac_exeext &&
41792 $as_test_x conftest$ac_exeext; then
41793 echo "*** The test program compiled, but did not run. This usually means"
41794 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41795 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41796 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41797 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41798 echo "*** is required on your system"
41799 echo "***"
41800 echo "*** If you have an old version installed, it is best to remove it, although"
41801 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41802 else
41803 echo "$as_me: failed program was:" >&5
41804 sed 's/^/| /' conftest.$ac_ext >&5
41805
41806 echo "*** The test program failed to compile or link. See the file config.log for the"
41807 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41808 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41809 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41810 fi
41811
41812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41813 conftest$ac_exeext conftest.$ac_ext
41814 CFLAGS="$ac_save_CFLAGS"
41815 CXXFLAGS="$ac_save_CXXFLAGS"
41816 LIBS="$ac_save_LIBS"
41817 fi
41818 fi
41819 SDL_CFLAGS=""
41820 SDL_LIBS=""
41821 wxUSE_LIBSDL="no"
41822 fi
41823
41824
41825 rm -f conf.sdltest
41826
41827 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41828 WITH_PLUGIN_SDL=1
41829 fi
41830 fi
41831 else
41832 if test "$wxUSE_MGL" = 1; then
41833 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41834 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41835 wxUSE_SOUND="no"
41836 fi
41837 fi
41838 fi
41839
41840 if test "$wxUSE_SOUND" = "yes"; then
41841 cat >>confdefs.h <<\_ACEOF
41842 #define wxUSE_SOUND 1
41843 _ACEOF
41844
41845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41846 fi
41847
41848 if test "$WXGTK2" = 1; then
41849
41850
41851 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41852 if test -n "$ac_tool_prefix"; then
41853 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41854 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41857 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41858 echo $ECHO_N "(cached) $ECHO_C" >&6
41859 else
41860 case $PKG_CONFIG in
41861 [\\/]* | ?:[\\/]*)
41862 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41863 ;;
41864 *)
41865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41866 for as_dir in $PATH
41867 do
41868 IFS=$as_save_IFS
41869 test -z "$as_dir" && as_dir=.
41870 for ac_exec_ext in '' $ac_executable_extensions; do
41871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41872 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41874 break 2
41875 fi
41876 done
41877 done
41878 IFS=$as_save_IFS
41879
41880 ;;
41881 esac
41882 fi
41883 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41884 if test -n "$PKG_CONFIG"; then
41885 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41886 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41887 else
41888 { echo "$as_me:$LINENO: result: no" >&5
41889 echo "${ECHO_T}no" >&6; }
41890 fi
41891
41892
41893 fi
41894 if test -z "$ac_cv_path_PKG_CONFIG"; then
41895 ac_pt_PKG_CONFIG=$PKG_CONFIG
41896 # Extract the first word of "pkg-config", so it can be a program name with args.
41897 set dummy pkg-config; ac_word=$2
41898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41900 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41901 echo $ECHO_N "(cached) $ECHO_C" >&6
41902 else
41903 case $ac_pt_PKG_CONFIG in
41904 [\\/]* | ?:[\\/]*)
41905 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41906 ;;
41907 *)
41908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41909 for as_dir in $PATH
41910 do
41911 IFS=$as_save_IFS
41912 test -z "$as_dir" && as_dir=.
41913 for ac_exec_ext in '' $ac_executable_extensions; do
41914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41915 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41917 break 2
41918 fi
41919 done
41920 done
41921 IFS=$as_save_IFS
41922
41923 ;;
41924 esac
41925 fi
41926 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41927 if test -n "$ac_pt_PKG_CONFIG"; then
41928 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41929 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41930 else
41931 { echo "$as_me:$LINENO: result: no" >&5
41932 echo "${ECHO_T}no" >&6; }
41933 fi
41934
41935 if test "x$ac_pt_PKG_CONFIG" = x; then
41936 PKG_CONFIG=""
41937 else
41938 case $cross_compiling:$ac_tool_warned in
41939 yes:)
41940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41941 whose name does not start with the host triplet. If you think this
41942 configuration is useful to you, please write to autoconf@gnu.org." >&5
41943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41944 whose name does not start with the host triplet. If you think this
41945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41946 ac_tool_warned=yes ;;
41947 esac
41948 PKG_CONFIG=$ac_pt_PKG_CONFIG
41949 fi
41950 else
41951 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41952 fi
41953
41954 fi
41955 if test -n "$PKG_CONFIG"; then
41956 _pkg_min_version=0.9.0
41957 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41958 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41959 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41960 { echo "$as_me:$LINENO: result: yes" >&5
41961 echo "${ECHO_T}yes" >&6; }
41962 else
41963 { echo "$as_me:$LINENO: result: no" >&5
41964 echo "${ECHO_T}no" >&6; }
41965 PKG_CONFIG=""
41966 fi
41967
41968 fi
41969
41970 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41971
41972 if test "$wxUSE_GTKPRINT" = "yes" ; then
41973
41974
41975 pkg_failed=no
41976 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41977 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41978
41979 if test -n "$PKG_CONFIG"; then
41980 if test -n "$GTKPRINT_CFLAGS"; then
41981 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41982 else
41983 if test -n "$PKG_CONFIG" && \
41984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41985 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41986 ac_status=$?
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; then
41989 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
41990 else
41991 pkg_failed=yes
41992 fi
41993 fi
41994 else
41995 pkg_failed=untried
41996 fi
41997 if test -n "$PKG_CONFIG"; then
41998 if test -n "$GTKPRINT_LIBS"; then
41999 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42000 else
42001 if test -n "$PKG_CONFIG" && \
42002 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42003 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42004 ac_status=$?
42005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42006 (exit $ac_status); }; then
42007 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42008 else
42009 pkg_failed=yes
42010 fi
42011 fi
42012 else
42013 pkg_failed=untried
42014 fi
42015
42016
42017
42018 if test $pkg_failed = yes; then
42019
42020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42021 _pkg_short_errors_supported=yes
42022 else
42023 _pkg_short_errors_supported=no
42024 fi
42025 if test $_pkg_short_errors_supported = yes; then
42026 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42027 else
42028 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42029 fi
42030 # Put the nasty error message in config.log where it belongs
42031 echo "$GTKPRINT_PKG_ERRORS" >&5
42032
42033
42034 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42035 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42036 wxUSE_GTKPRINT="no"
42037
42038
42039 elif test $pkg_failed = untried; then
42040
42041 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42042 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42043 wxUSE_GTKPRINT="no"
42044
42045
42046 else
42047 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42048 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42049 { echo "$as_me:$LINENO: result: yes" >&5
42050 echo "${ECHO_T}yes" >&6; }
42051
42052 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42053 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42054 cat >>confdefs.h <<\_ACEOF
42055 #define wxUSE_GTKPRINT 1
42056 _ACEOF
42057
42058
42059 fi
42060 fi
42061
42062 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42063
42064
42065 pkg_failed=no
42066 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42067 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42068
42069 if test -n "$PKG_CONFIG"; then
42070 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42071 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42072 else
42073 if test -n "$PKG_CONFIG" && \
42074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42075 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42076 ac_status=$?
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); }; then
42079 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42080 else
42081 pkg_failed=yes
42082 fi
42083 fi
42084 else
42085 pkg_failed=untried
42086 fi
42087 if test -n "$PKG_CONFIG"; then
42088 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42089 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42090 else
42091 if test -n "$PKG_CONFIG" && \
42092 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42093 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42094 ac_status=$?
42095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096 (exit $ac_status); }; then
42097 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42098 else
42099 pkg_failed=yes
42100 fi
42101 fi
42102 else
42103 pkg_failed=untried
42104 fi
42105
42106
42107
42108 if test $pkg_failed = yes; then
42109
42110 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42111 _pkg_short_errors_supported=yes
42112 else
42113 _pkg_short_errors_supported=no
42114 fi
42115 if test $_pkg_short_errors_supported = yes; then
42116 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42117 else
42118 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42119 fi
42120 # Put the nasty error message in config.log where it belongs
42121 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42122
42123
42124 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42125 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42126 wxUSE_LIBGNOMEPRINT="no"
42127
42128
42129 elif test $pkg_failed = untried; then
42130
42131 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42132 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42133 wxUSE_LIBGNOMEPRINT="no"
42134
42135
42136 else
42137 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42138 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42139 { echo "$as_me:$LINENO: result: yes" >&5
42140 echo "${ECHO_T}yes" >&6; }
42141
42142 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42143 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_LIBGNOMEPRINT 1
42146 _ACEOF
42147
42148
42149 fi
42150 fi
42151 fi
42152
42153 if test "$wxUSE_MIMETYPE" = "yes" ; then
42154 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42155
42156
42157 pkg_failed=no
42158 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42159 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42160
42161 if test -n "$PKG_CONFIG"; then
42162 if test -n "$GNOMEVFS_CFLAGS"; then
42163 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42164 else
42165 if test -n "$PKG_CONFIG" && \
42166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42167 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42168 ac_status=$?
42169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42170 (exit $ac_status); }; then
42171 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42172 else
42173 pkg_failed=yes
42174 fi
42175 fi
42176 else
42177 pkg_failed=untried
42178 fi
42179 if test -n "$PKG_CONFIG"; then
42180 if test -n "$GNOMEVFS_LIBS"; then
42181 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42182 else
42183 if test -n "$PKG_CONFIG" && \
42184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42185 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42186 ac_status=$?
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); }; then
42189 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42190 else
42191 pkg_failed=yes
42192 fi
42193 fi
42194 else
42195 pkg_failed=untried
42196 fi
42197
42198
42199
42200 if test $pkg_failed = yes; then
42201
42202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42203 _pkg_short_errors_supported=yes
42204 else
42205 _pkg_short_errors_supported=no
42206 fi
42207 if test $_pkg_short_errors_supported = yes; then
42208 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42209 else
42210 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42211 fi
42212 # Put the nasty error message in config.log where it belongs
42213 echo "$GNOMEVFS_PKG_ERRORS" >&5
42214
42215
42216 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42217 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42218 wxUSE_LIBGNOMEVFS="no"
42219
42220
42221 elif test $pkg_failed = untried; then
42222
42223 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42224 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42225 wxUSE_LIBGNOMEVFS="no"
42226
42227
42228 else
42229 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42230 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42231 { echo "$as_me:$LINENO: result: yes" >&5
42232 echo "${ECHO_T}yes" >&6; }
42233
42234 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42235 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42236 cat >>confdefs.h <<\_ACEOF
42237 #define wxUSE_LIBGNOMEVFS 1
42238 _ACEOF
42239
42240
42241 fi
42242 fi
42243 fi
42244
42245 if test "$wxUSE_LIBHILDON" = "yes" ; then
42246
42247 pkg_failed=no
42248 { echo "$as_me:$LINENO: checking for HILDON" >&5
42249 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42250
42251 if test -n "$PKG_CONFIG"; then
42252 if test -n "$HILDON_CFLAGS"; then
42253 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42254 else
42255 if test -n "$PKG_CONFIG" && \
42256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42257 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42258 ac_status=$?
42259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42260 (exit $ac_status); }; then
42261 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42262 else
42263 pkg_failed=yes
42264 fi
42265 fi
42266 else
42267 pkg_failed=untried
42268 fi
42269 if test -n "$PKG_CONFIG"; then
42270 if test -n "$HILDON_LIBS"; then
42271 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42272 else
42273 if test -n "$PKG_CONFIG" && \
42274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42275 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42276 ac_status=$?
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); }; then
42279 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42280 else
42281 pkg_failed=yes
42282 fi
42283 fi
42284 else
42285 pkg_failed=untried
42286 fi
42287
42288
42289
42290 if test $pkg_failed = yes; then
42291
42292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42293 _pkg_short_errors_supported=yes
42294 else
42295 _pkg_short_errors_supported=no
42296 fi
42297 if test $_pkg_short_errors_supported = yes; then
42298 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42299 else
42300 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42301 fi
42302 # Put the nasty error message in config.log where it belongs
42303 echo "$HILDON_PKG_ERRORS" >&5
42304
42305
42306 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42307 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42308 wxUSE_LIBHILDON="no"
42309
42310
42311 elif test $pkg_failed = untried; then
42312
42313 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42314 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42315 wxUSE_LIBHILDON="no"
42316
42317
42318 else
42319 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42320 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42321 { echo "$as_me:$LINENO: result: yes" >&5
42322 echo "${ECHO_T}yes" >&6; }
42323
42324 EXTRALIBS_HILDON="$HILDON_LIBS"
42325 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42326 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42327 cat >>confdefs.h <<\_ACEOF
42328 #define wxUSE_LIBHILDON 1
42329 _ACEOF
42330
42331
42332 fi
42333 fi
42334 fi
42335
42336 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42337 cat >>confdefs.h <<\_ACEOF
42338 #define wxUSE_CMDLINE_PARSER 1
42339 _ACEOF
42340
42341 fi
42342
42343 if test "$wxUSE_STOPWATCH" = "yes"; then
42344 cat >>confdefs.h <<\_ACEOF
42345 #define wxUSE_STOPWATCH 1
42346 _ACEOF
42347
42348 fi
42349
42350 if test "$wxUSE_DATETIME" = "yes"; then
42351 cat >>confdefs.h <<\_ACEOF
42352 #define wxUSE_DATETIME 1
42353 _ACEOF
42354
42355 fi
42356
42357 if test "$wxUSE_FILE" = "yes"; then
42358 cat >>confdefs.h <<\_ACEOF
42359 #define wxUSE_FILE 1
42360 _ACEOF
42361
42362 fi
42363
42364 if test "$wxUSE_FFILE" = "yes"; then
42365 cat >>confdefs.h <<\_ACEOF
42366 #define wxUSE_FFILE 1
42367 _ACEOF
42368
42369 fi
42370
42371 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42372 if test "$wxUSE_STREAMS" != yes; then
42373 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42374 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42375 wxUSE_ARCHIVE_STREAMS=no
42376 else
42377 cat >>confdefs.h <<\_ACEOF
42378 #define wxUSE_ARCHIVE_STREAMS 1
42379 _ACEOF
42380
42381 fi
42382 fi
42383
42384 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42385 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42386 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42387 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42388 elif test "$wxUSE_ZLIB" = "no"; then
42389 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42390 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42391 else
42392 cat >>confdefs.h <<\_ACEOF
42393 #define wxUSE_ZIPSTREAM 1
42394 _ACEOF
42395
42396 fi
42397 fi
42398
42399 if test "$wxUSE_TARSTREAM" = "yes"; then
42400 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42401 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42402 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42403 else
42404 cat >>confdefs.h <<\_ACEOF
42405 #define wxUSE_TARSTREAM 1
42406 _ACEOF
42407
42408 fi
42409 fi
42410
42411 if test "$wxUSE_FILESYSTEM" = "yes"; then
42412 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42413 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42414 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42415 wxUSE_FILESYSTEM=no
42416 else
42417 cat >>confdefs.h <<\_ACEOF
42418 #define wxUSE_FILESYSTEM 1
42419 _ACEOF
42420
42421 fi
42422 fi
42423
42424 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42425 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42426 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42427 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42428 else
42429 cat >>confdefs.h <<\_ACEOF
42430 #define wxUSE_FS_ARCHIVE 1
42431 _ACEOF
42432
42433 fi
42434 fi
42435
42436 if test "$wxUSE_FS_ZIP" = "yes"; then
42437 if test "$wxUSE_FS_ARCHIVE" != yes; then
42438 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42439 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42440 else
42441 cat >>confdefs.h <<\_ACEOF
42442 #define wxUSE_FS_ZIP 1
42443 _ACEOF
42444
42445 fi
42446 fi
42447
42448 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42449 if test "$USE_UNIX" != 1; then
42450 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42451 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42452 wxUSE_ON_FATAL_EXCEPTION=no
42453 else
42454 cat >>confdefs.h <<\_ACEOF
42455 #define wxUSE_ON_FATAL_EXCEPTION 1
42456 _ACEOF
42457
42458 fi
42459 fi
42460
42461 if test "$wxUSE_STACKWALKER" = "yes"; then
42462 cat >>confdefs.h <<\_ACEOF
42463 #define wxUSE_STACKWALKER 1
42464 _ACEOF
42465
42466 fi
42467
42468 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42469 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42470 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42471 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42472 wxUSE_DEBUGREPORT=no
42473 else
42474 cat >>confdefs.h <<\_ACEOF
42475 #define wxUSE_DEBUGREPORT 1
42476 _ACEOF
42477
42478 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42480 fi
42481 fi
42482 fi
42483
42484 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42485 cat >>confdefs.h <<\_ACEOF
42486 #define wxUSE_SNGLINST_CHECKER 1
42487 _ACEOF
42488
42489 fi
42490
42491 if test "$wxUSE_BUSYINFO" = "yes"; then
42492 cat >>confdefs.h <<\_ACEOF
42493 #define wxUSE_BUSYINFO 1
42494 _ACEOF
42495
42496 fi
42497
42498 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42499 cat >>confdefs.h <<\_ACEOF
42500 #define wxUSE_STD_IOSTREAM 1
42501 _ACEOF
42502
42503 fi
42504
42505 if test "$wxUSE_STD_STRING" = "yes"; then
42506 cat >>confdefs.h <<\_ACEOF
42507 #define wxUSE_STD_STRING 1
42508 _ACEOF
42509
42510 fi
42511
42512 if test "$wxUSE_STDPATHS" = "yes"; then
42513 cat >>confdefs.h <<\_ACEOF
42514 #define wxUSE_STDPATHS 1
42515 _ACEOF
42516
42517 fi
42518
42519 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42520 cat >>confdefs.h <<\_ACEOF
42521 #define wxUSE_TEXTBUFFER 1
42522 _ACEOF
42523
42524 fi
42525
42526 if test "$wxUSE_TEXTFILE" = "yes"; then
42527 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42528 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42529 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42530 else
42531 cat >>confdefs.h <<\_ACEOF
42532 #define wxUSE_TEXTFILE 1
42533 _ACEOF
42534
42535 fi
42536 fi
42537
42538 if test "$wxUSE_CONFIG" = "yes" ; then
42539 if test "$wxUSE_TEXTFILE" != "yes"; then
42540 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42541 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42542 else
42543 cat >>confdefs.h <<\_ACEOF
42544 #define wxUSE_CONFIG 1
42545 _ACEOF
42546
42547 cat >>confdefs.h <<\_ACEOF
42548 #define wxUSE_CONFIG_NATIVE 1
42549 _ACEOF
42550
42551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42552 fi
42553 fi
42554
42555 if test "$wxUSE_INTL" = "yes" ; then
42556 if test "$wxUSE_FILE" != "yes"; then
42557 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42558 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42559 else
42560 cat >>confdefs.h <<\_ACEOF
42561 #define wxUSE_INTL 1
42562 _ACEOF
42563
42564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42565 GUIDIST="$GUIDIST INTL_DIST"
42566 fi
42567 fi
42568
42569 if test "$wxUSE_LOG" = "yes"; then
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_LOG 1
42572 _ACEOF
42573
42574
42575 if test "$wxUSE_LOGGUI" = "yes"; then
42576 cat >>confdefs.h <<\_ACEOF
42577 #define wxUSE_LOGGUI 1
42578 _ACEOF
42579
42580 fi
42581
42582 if test "$wxUSE_LOGWINDOW" = "yes"; then
42583 cat >>confdefs.h <<\_ACEOF
42584 #define wxUSE_LOGWINDOW 1
42585 _ACEOF
42586
42587 fi
42588
42589 if test "$wxUSE_LOGDIALOG" = "yes"; then
42590 cat >>confdefs.h <<\_ACEOF
42591 #define wxUSE_LOG_DIALOG 1
42592 _ACEOF
42593
42594 fi
42595
42596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42597 fi
42598
42599 if test "$wxUSE_LONGLONG" = "yes"; then
42600 cat >>confdefs.h <<\_ACEOF
42601 #define wxUSE_LONGLONG 1
42602 _ACEOF
42603
42604 fi
42605
42606 if test "$wxUSE_GEOMETRY" = "yes"; then
42607 cat >>confdefs.h <<\_ACEOF
42608 #define wxUSE_GEOMETRY 1
42609 _ACEOF
42610
42611 fi
42612
42613 if test "$wxUSE_BASE64" = "yes"; then
42614 cat >>confdefs.h <<\_ACEOF
42615 #define wxUSE_BASE64 1
42616 _ACEOF
42617
42618 fi
42619
42620 if test "$wxUSE_STREAMS" = "yes" ; then
42621 cat >>confdefs.h <<\_ACEOF
42622 #define wxUSE_STREAMS 1
42623 _ACEOF
42624
42625 fi
42626
42627 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42628 cat >>confdefs.h <<\_ACEOF
42629 #define wxUSE_PRINTF_POS_PARAMS 1
42630 _ACEOF
42631
42632 fi
42633
42634 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42635 cat >>confdefs.h <<\_ACEOF
42636 #define wxUSE_OBJC_UNIQUIFYING 1
42637 _ACEOF
42638
42639 fi
42640
42641
42642 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42643 cat >>confdefs.h <<\_ACEOF
42644 #define wxUSE_CONSOLE_EVENTLOOP 1
42645 _ACEOF
42646
42647
42648 if test "$wxUSE_UNIX" = "yes"; then
42649 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42650 cat >>confdefs.h <<\_ACEOF
42651 #define wxUSE_SELECT_DISPATCHER 1
42652 _ACEOF
42653
42654 fi
42655
42656 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42657
42658 for ac_header in sys/epoll.h
42659 do
42660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42664 echo $ECHO_N "(cached) $ECHO_C" >&6
42665 else
42666 cat >conftest.$ac_ext <<_ACEOF
42667 /* confdefs.h. */
42668 _ACEOF
42669 cat confdefs.h >>conftest.$ac_ext
42670 cat >>conftest.$ac_ext <<_ACEOF
42671 /* end confdefs.h. */
42672 $ac_includes_default
42673
42674 #include <$ac_header>
42675 _ACEOF
42676 rm -f conftest.$ac_objext
42677 if { (ac_try="$ac_compile"
42678 case "(($ac_try" in
42679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42680 *) ac_try_echo=$ac_try;;
42681 esac
42682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42683 (eval "$ac_compile") 2>conftest.er1
42684 ac_status=$?
42685 grep -v '^ *+' conftest.er1 >conftest.err
42686 rm -f conftest.er1
42687 cat conftest.err >&5
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); } && {
42690 test -z "$ac_c_werror_flag" ||
42691 test ! -s conftest.err
42692 } && test -s conftest.$ac_objext; then
42693 eval "$as_ac_Header=yes"
42694 else
42695 echo "$as_me: failed program was:" >&5
42696 sed 's/^/| /' conftest.$ac_ext >&5
42697
42698 eval "$as_ac_Header=no"
42699 fi
42700
42701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42702 fi
42703 ac_res=`eval echo '${'$as_ac_Header'}'`
42704 { echo "$as_me:$LINENO: result: $ac_res" >&5
42705 echo "${ECHO_T}$ac_res" >&6; }
42706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42707 cat >>confdefs.h <<_ACEOF
42708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42709 _ACEOF
42710
42711 fi
42712
42713 done
42714
42715 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42716 cat >>confdefs.h <<\_ACEOF
42717 #define wxUSE_EPOLL_DISPATCHER 1
42718 _ACEOF
42719
42720 else
42721 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42722 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42723 fi
42724 fi
42725 fi
42726 fi
42727
42728
42729
42730
42731 for ac_func in gettimeofday ftime
42732 do
42733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42737 echo $ECHO_N "(cached) $ECHO_C" >&6
42738 else
42739 cat >conftest.$ac_ext <<_ACEOF
42740 /* confdefs.h. */
42741 _ACEOF
42742 cat confdefs.h >>conftest.$ac_ext
42743 cat >>conftest.$ac_ext <<_ACEOF
42744 /* end confdefs.h. */
42745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42747 #define $ac_func innocuous_$ac_func
42748
42749 /* System header to define __stub macros and hopefully few prototypes,
42750 which can conflict with char $ac_func (); below.
42751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42752 <limits.h> exists even on freestanding compilers. */
42753
42754 #ifdef __STDC__
42755 # include <limits.h>
42756 #else
42757 # include <assert.h>
42758 #endif
42759
42760 #undef $ac_func
42761
42762 /* Override any GCC internal prototype to avoid an error.
42763 Use char because int might match the return type of a GCC
42764 builtin and then its argument prototype would still apply. */
42765 #ifdef __cplusplus
42766 extern "C"
42767 #endif
42768 char $ac_func ();
42769 /* The GNU C library defines this for functions which it implements
42770 to always fail with ENOSYS. Some functions are actually named
42771 something starting with __ and the normal name is an alias. */
42772 #if defined __stub_$ac_func || defined __stub___$ac_func
42773 choke me
42774 #endif
42775
42776 int
42777 main ()
42778 {
42779 return $ac_func ();
42780 ;
42781 return 0;
42782 }
42783 _ACEOF
42784 rm -f conftest.$ac_objext conftest$ac_exeext
42785 if { (ac_try="$ac_link"
42786 case "(($ac_try" in
42787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42788 *) ac_try_echo=$ac_try;;
42789 esac
42790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42791 (eval "$ac_link") 2>conftest.er1
42792 ac_status=$?
42793 grep -v '^ *+' conftest.er1 >conftest.err
42794 rm -f conftest.er1
42795 cat conftest.err >&5
42796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42797 (exit $ac_status); } && {
42798 test -z "$ac_c_werror_flag" ||
42799 test ! -s conftest.err
42800 } && test -s conftest$ac_exeext &&
42801 $as_test_x conftest$ac_exeext; then
42802 eval "$as_ac_var=yes"
42803 else
42804 echo "$as_me: failed program was:" >&5
42805 sed 's/^/| /' conftest.$ac_ext >&5
42806
42807 eval "$as_ac_var=no"
42808 fi
42809
42810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42811 conftest$ac_exeext conftest.$ac_ext
42812 fi
42813 ac_res=`eval echo '${'$as_ac_var'}'`
42814 { echo "$as_me:$LINENO: result: $ac_res" >&5
42815 echo "${ECHO_T}$ac_res" >&6; }
42816 if test `eval echo '${'$as_ac_var'}'` = yes; then
42817 cat >>confdefs.h <<_ACEOF
42818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42819 _ACEOF
42820 break
42821 fi
42822 done
42823
42824
42825 if test "$ac_cv_func_gettimeofday" = "yes"; then
42826 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42827 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42828 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42829 echo $ECHO_N "(cached) $ECHO_C" >&6
42830 else
42831
42832 cat >conftest.$ac_ext <<_ACEOF
42833 /* confdefs.h. */
42834 _ACEOF
42835 cat confdefs.h >>conftest.$ac_ext
42836 cat >>conftest.$ac_ext <<_ACEOF
42837 /* end confdefs.h. */
42838
42839 #include <sys/time.h>
42840 #include <unistd.h>
42841
42842 int
42843 main ()
42844 {
42845
42846 struct timeval tv;
42847 gettimeofday(&tv, NULL);
42848
42849 ;
42850 return 0;
42851 }
42852 _ACEOF
42853 rm -f conftest.$ac_objext
42854 if { (ac_try="$ac_compile"
42855 case "(($ac_try" in
42856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42857 *) ac_try_echo=$ac_try;;
42858 esac
42859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42860 (eval "$ac_compile") 2>conftest.er1
42861 ac_status=$?
42862 grep -v '^ *+' conftest.er1 >conftest.err
42863 rm -f conftest.er1
42864 cat conftest.err >&5
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); } && {
42867 test -z "$ac_c_werror_flag" ||
42868 test ! -s conftest.err
42869 } && test -s conftest.$ac_objext; then
42870 wx_cv_func_gettimeofday_has_2_args=yes
42871 else
42872 echo "$as_me: failed program was:" >&5
42873 sed 's/^/| /' conftest.$ac_ext >&5
42874
42875 cat >conftest.$ac_ext <<_ACEOF
42876 /* confdefs.h. */
42877 _ACEOF
42878 cat confdefs.h >>conftest.$ac_ext
42879 cat >>conftest.$ac_ext <<_ACEOF
42880 /* end confdefs.h. */
42881
42882 #include <sys/time.h>
42883 #include <unistd.h>
42884
42885 int
42886 main ()
42887 {
42888
42889 struct timeval tv;
42890 gettimeofday(&tv);
42891
42892 ;
42893 return 0;
42894 }
42895 _ACEOF
42896 rm -f conftest.$ac_objext
42897 if { (ac_try="$ac_compile"
42898 case "(($ac_try" in
42899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42900 *) ac_try_echo=$ac_try;;
42901 esac
42902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42903 (eval "$ac_compile") 2>conftest.er1
42904 ac_status=$?
42905 grep -v '^ *+' conftest.er1 >conftest.err
42906 rm -f conftest.er1
42907 cat conftest.err >&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && {
42910 test -z "$ac_c_werror_flag" ||
42911 test ! -s conftest.err
42912 } && test -s conftest.$ac_objext; then
42913 wx_cv_func_gettimeofday_has_2_args=no
42914 else
42915 echo "$as_me: failed program was:" >&5
42916 sed 's/^/| /' conftest.$ac_ext >&5
42917
42918
42919 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42920 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42921 wx_cv_func_gettimeofday_has_2_args=unknown
42922
42923
42924 fi
42925
42926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42927
42928 fi
42929
42930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42931
42932 fi
42933 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42934 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42935
42936 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42937 cat >>confdefs.h <<\_ACEOF
42938 #define WX_GETTIMEOFDAY_NO_TZ 1
42939 _ACEOF
42940
42941 fi
42942 fi
42943
42944 if test "$wxUSE_DATETIME" = "yes"; then
42945 { echo "$as_me:$LINENO: checking for strptime" >&5
42946 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42947 if test "${ac_cv_func_strptime+set}" = set; then
42948 echo $ECHO_N "(cached) $ECHO_C" >&6
42949 else
42950 cat >conftest.$ac_ext <<_ACEOF
42951 /* confdefs.h. */
42952 _ACEOF
42953 cat confdefs.h >>conftest.$ac_ext
42954 cat >>conftest.$ac_ext <<_ACEOF
42955 /* end confdefs.h. */
42956 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42958 #define strptime innocuous_strptime
42959
42960 /* System header to define __stub macros and hopefully few prototypes,
42961 which can conflict with char strptime (); below.
42962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42963 <limits.h> exists even on freestanding compilers. */
42964
42965 #ifdef __STDC__
42966 # include <limits.h>
42967 #else
42968 # include <assert.h>
42969 #endif
42970
42971 #undef strptime
42972
42973 /* Override any GCC internal prototype to avoid an error.
42974 Use char because int might match the return type of a GCC
42975 builtin and then its argument prototype would still apply. */
42976 #ifdef __cplusplus
42977 extern "C"
42978 #endif
42979 char strptime ();
42980 /* The GNU C library defines this for functions which it implements
42981 to always fail with ENOSYS. Some functions are actually named
42982 something starting with __ and the normal name is an alias. */
42983 #if defined __stub_strptime || defined __stub___strptime
42984 choke me
42985 #endif
42986
42987 int
42988 main ()
42989 {
42990 return strptime ();
42991 ;
42992 return 0;
42993 }
42994 _ACEOF
42995 rm -f conftest.$ac_objext conftest$ac_exeext
42996 if { (ac_try="$ac_link"
42997 case "(($ac_try" in
42998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42999 *) ac_try_echo=$ac_try;;
43000 esac
43001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43002 (eval "$ac_link") 2>conftest.er1
43003 ac_status=$?
43004 grep -v '^ *+' conftest.er1 >conftest.err
43005 rm -f conftest.er1
43006 cat conftest.err >&5
43007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43008 (exit $ac_status); } && {
43009 test -z "$ac_c_werror_flag" ||
43010 test ! -s conftest.err
43011 } && test -s conftest$ac_exeext &&
43012 $as_test_x conftest$ac_exeext; then
43013 ac_cv_func_strptime=yes
43014 else
43015 echo "$as_me: failed program was:" >&5
43016 sed 's/^/| /' conftest.$ac_ext >&5
43017
43018 ac_cv_func_strptime=no
43019 fi
43020
43021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43022 conftest$ac_exeext conftest.$ac_ext
43023 fi
43024 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43025 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43026
43027 if test "$ac_cv_func_strptime" = "yes"; then
43028 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43029 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43030 if test "${wx_cv_func_strptime_decl+set}" = set; then
43031 echo $ECHO_N "(cached) $ECHO_C" >&6
43032 else
43033
43034 ac_ext=cpp
43035 ac_cpp='$CXXCPP $CPPFLAGS'
43036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43039
43040 cat >conftest.$ac_ext <<_ACEOF
43041 /* confdefs.h. */
43042 _ACEOF
43043 cat confdefs.h >>conftest.$ac_ext
43044 cat >>conftest.$ac_ext <<_ACEOF
43045 /* end confdefs.h. */
43046
43047 #include <time.h>
43048
43049 int
43050 main ()
43051 {
43052
43053 struct tm t;
43054 strptime("foo", "bar", &t);
43055
43056 ;
43057 return 0;
43058 }
43059 _ACEOF
43060 rm -f conftest.$ac_objext
43061 if { (ac_try="$ac_compile"
43062 case "(($ac_try" in
43063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43064 *) ac_try_echo=$ac_try;;
43065 esac
43066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43067 (eval "$ac_compile") 2>conftest.er1
43068 ac_status=$?
43069 grep -v '^ *+' conftest.er1 >conftest.err
43070 rm -f conftest.er1
43071 cat conftest.err >&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } && {
43074 test -z "$ac_cxx_werror_flag" ||
43075 test ! -s conftest.err
43076 } && test -s conftest.$ac_objext; then
43077 wx_cv_func_strptime_decl=yes
43078 else
43079 echo "$as_me: failed program was:" >&5
43080 sed 's/^/| /' conftest.$ac_ext >&5
43081
43082 wx_cv_func_strptime_decl=no
43083
43084 fi
43085
43086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43087 ac_ext=c
43088 ac_cpp='$CPP $CPPFLAGS'
43089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43092
43093
43094
43095 fi
43096 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43097 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43098 fi
43099 if test "$wx_cv_func_strptime_decl" = "yes"; then
43100 cat >>confdefs.h <<\_ACEOF
43101 #define HAVE_STRPTIME_DECL 1
43102 _ACEOF
43103
43104 else
43105 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43106 fi
43107 if test "$ac_cv_func_strptime" = "yes"; then
43108 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43109 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43110 if test "${wx_cv_func_strptime_ok+set}" = set; then
43111 echo $ECHO_N "(cached) $ECHO_C" >&6
43112 else
43113 if test "$cross_compiling" = yes; then
43114 wx_cv_func_strptime_ok=no
43115
43116 else
43117 cat >conftest.$ac_ext <<_ACEOF
43118
43119 #include <stdlib.h>
43120 #include <time.h>
43121 #include "confdefs.h"
43122
43123 $wx_strptime_decl
43124
43125 int main()
43126 {
43127 struct tm t;
43128 return !!strptime("", "%x", &t);
43129 }
43130
43131 _ACEOF
43132 rm -f conftest$ac_exeext
43133 if { (ac_try="$ac_link"
43134 case "(($ac_try" in
43135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43136 *) ac_try_echo=$ac_try;;
43137 esac
43138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43139 (eval "$ac_link") 2>&5
43140 ac_status=$?
43141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43142 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43143 { (case "(($ac_try" in
43144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43145 *) ac_try_echo=$ac_try;;
43146 esac
43147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43148 (eval "$ac_try") 2>&5
43149 ac_status=$?
43150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43151 (exit $ac_status); }; }; then
43152 wx_cv_func_strptime_ok=yes
43153 else
43154 echo "$as_me: program exited with status $ac_status" >&5
43155 echo "$as_me: failed program was:" >&5
43156 sed 's/^/| /' conftest.$ac_ext >&5
43157
43158 ( exit $ac_status )
43159 wx_cv_func_strptime_ok=no
43160 fi
43161 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43162 fi
43163
43164
43165
43166 fi
43167 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43168 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43169
43170 if test "$wx_cv_func_strptime_ok" = "yes"; then
43171 cat >>confdefs.h <<\_ACEOF
43172 #define HAVE_STRPTIME 1
43173 _ACEOF
43174
43175 fi
43176 fi
43177
43178 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43179 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43180 if test "${wx_cv_var_timezone+set}" = set; then
43181 echo $ECHO_N "(cached) $ECHO_C" >&6
43182 else
43183
43184 ac_ext=cpp
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43189
43190 cat >conftest.$ac_ext <<_ACEOF
43191 /* confdefs.h. */
43192 _ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h. */
43196
43197 #include <time.h>
43198
43199 int
43200 main ()
43201 {
43202
43203 int tz;
43204 tz = timezone;
43205
43206 ;
43207 return 0;
43208 }
43209 _ACEOF
43210 rm -f conftest.$ac_objext
43211 if { (ac_try="$ac_compile"
43212 case "(($ac_try" in
43213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43214 *) ac_try_echo=$ac_try;;
43215 esac
43216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43217 (eval "$ac_compile") 2>conftest.er1
43218 ac_status=$?
43219 grep -v '^ *+' conftest.er1 >conftest.err
43220 rm -f conftest.er1
43221 cat conftest.err >&5
43222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43223 (exit $ac_status); } && {
43224 test -z "$ac_cxx_werror_flag" ||
43225 test ! -s conftest.err
43226 } && test -s conftest.$ac_objext; then
43227
43228 wx_cv_var_timezone=timezone
43229
43230 else
43231 echo "$as_me: failed program was:" >&5
43232 sed 's/^/| /' conftest.$ac_ext >&5
43233
43234
43235 cat >conftest.$ac_ext <<_ACEOF
43236 /* confdefs.h. */
43237 _ACEOF
43238 cat confdefs.h >>conftest.$ac_ext
43239 cat >>conftest.$ac_ext <<_ACEOF
43240 /* end confdefs.h. */
43241
43242 #include <time.h>
43243
43244 int
43245 main ()
43246 {
43247
43248 int tz;
43249 tz = _timezone;
43250
43251 ;
43252 return 0;
43253 }
43254 _ACEOF
43255 rm -f conftest.$ac_objext
43256 if { (ac_try="$ac_compile"
43257 case "(($ac_try" in
43258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43259 *) ac_try_echo=$ac_try;;
43260 esac
43261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43262 (eval "$ac_compile") 2>conftest.er1
43263 ac_status=$?
43264 grep -v '^ *+' conftest.er1 >conftest.err
43265 rm -f conftest.er1
43266 cat conftest.err >&5
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); } && {
43269 test -z "$ac_cxx_werror_flag" ||
43270 test ! -s conftest.err
43271 } && test -s conftest.$ac_objext; then
43272
43273 wx_cv_var_timezone=_timezone
43274
43275 else
43276 echo "$as_me: failed program was:" >&5
43277 sed 's/^/| /' conftest.$ac_ext >&5
43278
43279
43280 cat >conftest.$ac_ext <<_ACEOF
43281 /* confdefs.h. */
43282 _ACEOF
43283 cat confdefs.h >>conftest.$ac_ext
43284 cat >>conftest.$ac_ext <<_ACEOF
43285 /* end confdefs.h. */
43286
43287 #include <time.h>
43288
43289 int
43290 main ()
43291 {
43292
43293 int tz;
43294 tz = __timezone;
43295
43296 ;
43297 return 0;
43298 }
43299 _ACEOF
43300 rm -f conftest.$ac_objext
43301 if { (ac_try="$ac_compile"
43302 case "(($ac_try" in
43303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43304 *) ac_try_echo=$ac_try;;
43305 esac
43306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43307 (eval "$ac_compile") 2>conftest.er1
43308 ac_status=$?
43309 grep -v '^ *+' conftest.er1 >conftest.err
43310 rm -f conftest.er1
43311 cat conftest.err >&5
43312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43313 (exit $ac_status); } && {
43314 test -z "$ac_cxx_werror_flag" ||
43315 test ! -s conftest.err
43316 } && test -s conftest.$ac_objext; then
43317
43318 wx_cv_var_timezone=__timezone
43319
43320 else
43321 echo "$as_me: failed program was:" >&5
43322 sed 's/^/| /' conftest.$ac_ext >&5
43323
43324
43325 if test "$USE_DOS" = 0 ; then
43326 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43327 echo "$as_me: WARNING: no timezone variable" >&2;}
43328 fi
43329
43330
43331 fi
43332
43333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334
43335
43336 fi
43337
43338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43339
43340
43341 fi
43342
43343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43344 ac_ext=c
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43349
43350
43351
43352 fi
43353 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43354 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43355
43356 if test "x$wx_cv_var_timezone" != x ; then
43357 cat >>confdefs.h <<_ACEOF
43358 #define WX_TIMEZONE $wx_cv_var_timezone
43359 _ACEOF
43360
43361 fi
43362
43363
43364 for ac_func in localtime
43365 do
43366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43367 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43370 echo $ECHO_N "(cached) $ECHO_C" >&6
43371 else
43372 cat >conftest.$ac_ext <<_ACEOF
43373 /* confdefs.h. */
43374 _ACEOF
43375 cat confdefs.h >>conftest.$ac_ext
43376 cat >>conftest.$ac_ext <<_ACEOF
43377 /* end confdefs.h. */
43378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43380 #define $ac_func innocuous_$ac_func
43381
43382 /* System header to define __stub macros and hopefully few prototypes,
43383 which can conflict with char $ac_func (); below.
43384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43385 <limits.h> exists even on freestanding compilers. */
43386
43387 #ifdef __STDC__
43388 # include <limits.h>
43389 #else
43390 # include <assert.h>
43391 #endif
43392
43393 #undef $ac_func
43394
43395 /* Override any GCC internal prototype to avoid an error.
43396 Use char because int might match the return type of a GCC
43397 builtin and then its argument prototype would still apply. */
43398 #ifdef __cplusplus
43399 extern "C"
43400 #endif
43401 char $ac_func ();
43402 /* The GNU C library defines this for functions which it implements
43403 to always fail with ENOSYS. Some functions are actually named
43404 something starting with __ and the normal name is an alias. */
43405 #if defined __stub_$ac_func || defined __stub___$ac_func
43406 choke me
43407 #endif
43408
43409 int
43410 main ()
43411 {
43412 return $ac_func ();
43413 ;
43414 return 0;
43415 }
43416 _ACEOF
43417 rm -f conftest.$ac_objext conftest$ac_exeext
43418 if { (ac_try="$ac_link"
43419 case "(($ac_try" in
43420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43421 *) ac_try_echo=$ac_try;;
43422 esac
43423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43424 (eval "$ac_link") 2>conftest.er1
43425 ac_status=$?
43426 grep -v '^ *+' conftest.er1 >conftest.err
43427 rm -f conftest.er1
43428 cat conftest.err >&5
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); } && {
43431 test -z "$ac_c_werror_flag" ||
43432 test ! -s conftest.err
43433 } && test -s conftest$ac_exeext &&
43434 $as_test_x conftest$ac_exeext; then
43435 eval "$as_ac_var=yes"
43436 else
43437 echo "$as_me: failed program was:" >&5
43438 sed 's/^/| /' conftest.$ac_ext >&5
43439
43440 eval "$as_ac_var=no"
43441 fi
43442
43443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43444 conftest$ac_exeext conftest.$ac_ext
43445 fi
43446 ac_res=`eval echo '${'$as_ac_var'}'`
43447 { echo "$as_me:$LINENO: result: $ac_res" >&5
43448 echo "${ECHO_T}$ac_res" >&6; }
43449 if test `eval echo '${'$as_ac_var'}'` = yes; then
43450 cat >>confdefs.h <<_ACEOF
43451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43452 _ACEOF
43453
43454 fi
43455 done
43456
43457
43458 if test "$ac_cv_func_localtime" = "yes"; then
43459 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43460 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43461 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43462 echo $ECHO_N "(cached) $ECHO_C" >&6
43463 else
43464
43465 cat >conftest.$ac_ext <<_ACEOF
43466 /* confdefs.h. */
43467 _ACEOF
43468 cat confdefs.h >>conftest.$ac_ext
43469 cat >>conftest.$ac_ext <<_ACEOF
43470 /* end confdefs.h. */
43471
43472 #include <time.h>
43473
43474 int
43475 main ()
43476 {
43477
43478 struct tm tm;
43479 tm.tm_gmtoff++;
43480
43481 ;
43482 return 0;
43483 }
43484 _ACEOF
43485 rm -f conftest.$ac_objext
43486 if { (ac_try="$ac_compile"
43487 case "(($ac_try" in
43488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43489 *) ac_try_echo=$ac_try;;
43490 esac
43491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43492 (eval "$ac_compile") 2>conftest.er1
43493 ac_status=$?
43494 grep -v '^ *+' conftest.er1 >conftest.err
43495 rm -f conftest.er1
43496 cat conftest.err >&5
43497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43498 (exit $ac_status); } && {
43499 test -z "$ac_c_werror_flag" ||
43500 test ! -s conftest.err
43501 } && test -s conftest.$ac_objext; then
43502
43503 wx_cv_struct_tm_has_gmtoff=yes
43504
43505 else
43506 echo "$as_me: failed program was:" >&5
43507 sed 's/^/| /' conftest.$ac_ext >&5
43508
43509 wx_cv_struct_tm_has_gmtoff=no
43510
43511 fi
43512
43513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43514
43515 fi
43516 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43517 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43518 fi
43519
43520 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43521 cat >>confdefs.h <<\_ACEOF
43522 #define WX_GMTOFF_IN_TM 1
43523 _ACEOF
43524
43525 fi
43526
43527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43528 fi
43529
43530
43531 if test "$wxUSE_SOCKETS" = "yes"; then
43532 if test "$wxUSE_MGL" = 1; then
43533 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43534 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43535 wxUSE_SOCKETS="no"
43536 fi
43537 fi
43538
43539 if test "$wxUSE_SOCKETS" = "yes"; then
43540 if test "$TOOLKIT" != "MSW"; then
43541 { echo "$as_me:$LINENO: checking for socket" >&5
43542 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43543 if test "${ac_cv_func_socket+set}" = set; then
43544 echo $ECHO_N "(cached) $ECHO_C" >&6
43545 else
43546 cat >conftest.$ac_ext <<_ACEOF
43547 /* confdefs.h. */
43548 _ACEOF
43549 cat confdefs.h >>conftest.$ac_ext
43550 cat >>conftest.$ac_ext <<_ACEOF
43551 /* end confdefs.h. */
43552 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43554 #define socket innocuous_socket
43555
43556 /* System header to define __stub macros and hopefully few prototypes,
43557 which can conflict with char socket (); below.
43558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43559 <limits.h> exists even on freestanding compilers. */
43560
43561 #ifdef __STDC__
43562 # include <limits.h>
43563 #else
43564 # include <assert.h>
43565 #endif
43566
43567 #undef socket
43568
43569 /* Override any GCC internal prototype to avoid an error.
43570 Use char because int might match the return type of a GCC
43571 builtin and then its argument prototype would still apply. */
43572 #ifdef __cplusplus
43573 extern "C"
43574 #endif
43575 char socket ();
43576 /* The GNU C library defines this for functions which it implements
43577 to always fail with ENOSYS. Some functions are actually named
43578 something starting with __ and the normal name is an alias. */
43579 #if defined __stub_socket || defined __stub___socket
43580 choke me
43581 #endif
43582
43583 int
43584 main ()
43585 {
43586 return socket ();
43587 ;
43588 return 0;
43589 }
43590 _ACEOF
43591 rm -f conftest.$ac_objext conftest$ac_exeext
43592 if { (ac_try="$ac_link"
43593 case "(($ac_try" in
43594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43595 *) ac_try_echo=$ac_try;;
43596 esac
43597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43598 (eval "$ac_link") 2>conftest.er1
43599 ac_status=$?
43600 grep -v '^ *+' conftest.er1 >conftest.err
43601 rm -f conftest.er1
43602 cat conftest.err >&5
43603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43604 (exit $ac_status); } && {
43605 test -z "$ac_c_werror_flag" ||
43606 test ! -s conftest.err
43607 } && test -s conftest$ac_exeext &&
43608 $as_test_x conftest$ac_exeext; then
43609 ac_cv_func_socket=yes
43610 else
43611 echo "$as_me: failed program was:" >&5
43612 sed 's/^/| /' conftest.$ac_ext >&5
43613
43614 ac_cv_func_socket=no
43615 fi
43616
43617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43618 conftest$ac_exeext conftest.$ac_ext
43619 fi
43620 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43621 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43622 if test $ac_cv_func_socket = yes; then
43623 :
43624 else
43625
43626 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43627 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43628 if test "${ac_cv_lib_socket_socket+set}" = set; then
43629 echo $ECHO_N "(cached) $ECHO_C" >&6
43630 else
43631 ac_check_lib_save_LIBS=$LIBS
43632 LIBS="-lsocket $LIBS"
43633 cat >conftest.$ac_ext <<_ACEOF
43634 /* confdefs.h. */
43635 _ACEOF
43636 cat confdefs.h >>conftest.$ac_ext
43637 cat >>conftest.$ac_ext <<_ACEOF
43638 /* end confdefs.h. */
43639
43640 /* Override any GCC internal prototype to avoid an error.
43641 Use char because int might match the return type of a GCC
43642 builtin and then its argument prototype would still apply. */
43643 #ifdef __cplusplus
43644 extern "C"
43645 #endif
43646 char socket ();
43647 int
43648 main ()
43649 {
43650 return socket ();
43651 ;
43652 return 0;
43653 }
43654 _ACEOF
43655 rm -f conftest.$ac_objext conftest$ac_exeext
43656 if { (ac_try="$ac_link"
43657 case "(($ac_try" in
43658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43659 *) ac_try_echo=$ac_try;;
43660 esac
43661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43662 (eval "$ac_link") 2>conftest.er1
43663 ac_status=$?
43664 grep -v '^ *+' conftest.er1 >conftest.err
43665 rm -f conftest.er1
43666 cat conftest.err >&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); } && {
43669 test -z "$ac_c_werror_flag" ||
43670 test ! -s conftest.err
43671 } && test -s conftest$ac_exeext &&
43672 $as_test_x conftest$ac_exeext; then
43673 ac_cv_lib_socket_socket=yes
43674 else
43675 echo "$as_me: failed program was:" >&5
43676 sed 's/^/| /' conftest.$ac_ext >&5
43677
43678 ac_cv_lib_socket_socket=no
43679 fi
43680
43681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43682 conftest$ac_exeext conftest.$ac_ext
43683 LIBS=$ac_check_lib_save_LIBS
43684 fi
43685 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43686 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43687 if test $ac_cv_lib_socket_socket = yes; then
43688 if test "$INET_LINK" != " -lsocket"; then
43689 INET_LINK="$INET_LINK -lsocket"
43690 fi
43691 else
43692
43693 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43694 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43695 wxUSE_SOCKETS=no
43696
43697
43698 fi
43699
43700
43701
43702 fi
43703
43704 fi
43705 fi
43706
43707 if test "$wxUSE_SOCKETS" = "yes" ; then
43708 if test "$TOOLKIT" != "MSW"; then
43709 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43710 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43711 if test "${wx_cv_type_getsockname3+set}" = set; then
43712 echo $ECHO_N "(cached) $ECHO_C" >&6
43713 else
43714
43715 ac_ext=cpp
43716 ac_cpp='$CXXCPP $CPPFLAGS'
43717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43720
43721 cat >conftest.$ac_ext <<_ACEOF
43722 /* confdefs.h. */
43723 _ACEOF
43724 cat confdefs.h >>conftest.$ac_ext
43725 cat >>conftest.$ac_ext <<_ACEOF
43726 /* end confdefs.h. */
43727
43728 #include <sys/types.h>
43729 #include <sys/socket.h>
43730
43731 int
43732 main ()
43733 {
43734
43735 socklen_t len;
43736 getsockname(0, 0, &len);
43737
43738 ;
43739 return 0;
43740 }
43741 _ACEOF
43742 rm -f conftest.$ac_objext
43743 if { (ac_try="$ac_compile"
43744 case "(($ac_try" in
43745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43746 *) ac_try_echo=$ac_try;;
43747 esac
43748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43749 (eval "$ac_compile") 2>conftest.er1
43750 ac_status=$?
43751 grep -v '^ *+' conftest.er1 >conftest.err
43752 rm -f conftest.er1
43753 cat conftest.err >&5
43754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43755 (exit $ac_status); } && {
43756 test -z "$ac_cxx_werror_flag" ||
43757 test ! -s conftest.err
43758 } && test -s conftest.$ac_objext; then
43759 wx_cv_type_getsockname3=socklen_t
43760 else
43761 echo "$as_me: failed program was:" >&5
43762 sed 's/^/| /' conftest.$ac_ext >&5
43763
43764
43765 CFLAGS_OLD="$CFLAGS"
43766 if test "$GCC" = yes ; then
43767 CFLAGS="-Werror $CFLAGS"
43768 fi
43769
43770 cat >conftest.$ac_ext <<_ACEOF
43771 /* confdefs.h. */
43772 _ACEOF
43773 cat confdefs.h >>conftest.$ac_ext
43774 cat >>conftest.$ac_ext <<_ACEOF
43775 /* end confdefs.h. */
43776
43777 #include <sys/types.h>
43778 #include <sys/socket.h>
43779
43780 int
43781 main ()
43782 {
43783
43784 size_t len;
43785 getsockname(0, 0, &len);
43786
43787 ;
43788 return 0;
43789 }
43790 _ACEOF
43791 rm -f conftest.$ac_objext
43792 if { (ac_try="$ac_compile"
43793 case "(($ac_try" in
43794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43795 *) ac_try_echo=$ac_try;;
43796 esac
43797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43798 (eval "$ac_compile") 2>conftest.er1
43799 ac_status=$?
43800 grep -v '^ *+' conftest.er1 >conftest.err
43801 rm -f conftest.er1
43802 cat conftest.err >&5
43803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804 (exit $ac_status); } && {
43805 test -z "$ac_cxx_werror_flag" ||
43806 test ! -s conftest.err
43807 } && test -s conftest.$ac_objext; then
43808 wx_cv_type_getsockname3=size_t
43809 else
43810 echo "$as_me: failed program was:" >&5
43811 sed 's/^/| /' conftest.$ac_ext >&5
43812
43813 cat >conftest.$ac_ext <<_ACEOF
43814 /* confdefs.h. */
43815 _ACEOF
43816 cat confdefs.h >>conftest.$ac_ext
43817 cat >>conftest.$ac_ext <<_ACEOF
43818 /* end confdefs.h. */
43819
43820 #include <sys/types.h>
43821 #include <sys/socket.h>
43822
43823 int
43824 main ()
43825 {
43826
43827 int len;
43828 getsockname(0, 0, &len);
43829
43830 ;
43831 return 0;
43832 }
43833 _ACEOF
43834 rm -f conftest.$ac_objext
43835 if { (ac_try="$ac_compile"
43836 case "(($ac_try" in
43837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43838 *) ac_try_echo=$ac_try;;
43839 esac
43840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43841 (eval "$ac_compile") 2>conftest.er1
43842 ac_status=$?
43843 grep -v '^ *+' conftest.er1 >conftest.err
43844 rm -f conftest.er1
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } && {
43848 test -z "$ac_cxx_werror_flag" ||
43849 test ! -s conftest.err
43850 } && test -s conftest.$ac_objext; then
43851 wx_cv_type_getsockname3=int
43852 else
43853 echo "$as_me: failed program was:" >&5
43854 sed 's/^/| /' conftest.$ac_ext >&5
43855
43856 wx_cv_type_getsockname3=unknown
43857
43858 fi
43859
43860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43861
43862 fi
43863
43864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43865
43866 CFLAGS="$CFLAGS_OLD"
43867
43868
43869 fi
43870
43871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43872 ac_ext=c
43873 ac_cpp='$CPP $CPPFLAGS'
43874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43877
43878
43879 fi
43880 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43881 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43882
43883 if test "$wx_cv_type_getsockname3" = "unknown"; then
43884 wxUSE_SOCKETS=no
43885 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43886 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43887 else
43888 cat >>confdefs.h <<_ACEOF
43889 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43890 _ACEOF
43891
43892 fi
43893 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43894 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43895 if test "${wx_cv_type_getsockopt5+set}" = set; then
43896 echo $ECHO_N "(cached) $ECHO_C" >&6
43897 else
43898
43899 ac_ext=cpp
43900 ac_cpp='$CXXCPP $CPPFLAGS'
43901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43904
43905 cat >conftest.$ac_ext <<_ACEOF
43906 /* confdefs.h. */
43907 _ACEOF
43908 cat confdefs.h >>conftest.$ac_ext
43909 cat >>conftest.$ac_ext <<_ACEOF
43910 /* end confdefs.h. */
43911
43912 #include <sys/types.h>
43913 #include <sys/socket.h>
43914
43915 int
43916 main ()
43917 {
43918
43919 socklen_t len;
43920 getsockopt(0, 0, 0, 0, &len);
43921
43922 ;
43923 return 0;
43924 }
43925 _ACEOF
43926 rm -f conftest.$ac_objext
43927 if { (ac_try="$ac_compile"
43928 case "(($ac_try" in
43929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43930 *) ac_try_echo=$ac_try;;
43931 esac
43932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43933 (eval "$ac_compile") 2>conftest.er1
43934 ac_status=$?
43935 grep -v '^ *+' conftest.er1 >conftest.err
43936 rm -f conftest.er1
43937 cat conftest.err >&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); } && {
43940 test -z "$ac_cxx_werror_flag" ||
43941 test ! -s conftest.err
43942 } && test -s conftest.$ac_objext; then
43943 wx_cv_type_getsockopt5=socklen_t
43944 else
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.$ac_ext >&5
43947
43948
43949 cat >conftest.$ac_ext <<_ACEOF
43950 /* confdefs.h. */
43951 _ACEOF
43952 cat confdefs.h >>conftest.$ac_ext
43953 cat >>conftest.$ac_ext <<_ACEOF
43954 /* end confdefs.h. */
43955
43956 #include <sys/types.h>
43957 #include <sys/socket.h>
43958
43959 int
43960 main ()
43961 {
43962
43963 size_t len;
43964 getsockopt(0, 0, 0, 0, &len);
43965
43966 ;
43967 return 0;
43968 }
43969 _ACEOF
43970 rm -f conftest.$ac_objext
43971 if { (ac_try="$ac_compile"
43972 case "(($ac_try" in
43973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43974 *) ac_try_echo=$ac_try;;
43975 esac
43976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43977 (eval "$ac_compile") 2>conftest.er1
43978 ac_status=$?
43979 grep -v '^ *+' conftest.er1 >conftest.err
43980 rm -f conftest.er1
43981 cat conftest.err >&5
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); } && {
43984 test -z "$ac_cxx_werror_flag" ||
43985 test ! -s conftest.err
43986 } && test -s conftest.$ac_objext; then
43987 wx_cv_type_getsockopt5=size_t
43988 else
43989 echo "$as_me: failed program was:" >&5
43990 sed 's/^/| /' conftest.$ac_ext >&5
43991
43992 cat >conftest.$ac_ext <<_ACEOF
43993 /* confdefs.h. */
43994 _ACEOF
43995 cat confdefs.h >>conftest.$ac_ext
43996 cat >>conftest.$ac_ext <<_ACEOF
43997 /* end confdefs.h. */
43998
43999 #include <sys/types.h>
44000 #include <sys/socket.h>
44001
44002 int
44003 main ()
44004 {
44005
44006 int len;
44007 getsockopt(0, 0, 0, 0, &len);
44008
44009 ;
44010 return 0;
44011 }
44012 _ACEOF
44013 rm -f conftest.$ac_objext
44014 if { (ac_try="$ac_compile"
44015 case "(($ac_try" in
44016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44017 *) ac_try_echo=$ac_try;;
44018 esac
44019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44020 (eval "$ac_compile") 2>conftest.er1
44021 ac_status=$?
44022 grep -v '^ *+' conftest.er1 >conftest.err
44023 rm -f conftest.er1
44024 cat conftest.err >&5
44025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44026 (exit $ac_status); } && {
44027 test -z "$ac_cxx_werror_flag" ||
44028 test ! -s conftest.err
44029 } && test -s conftest.$ac_objext; then
44030 wx_cv_type_getsockopt5=int
44031 else
44032 echo "$as_me: failed program was:" >&5
44033 sed 's/^/| /' conftest.$ac_ext >&5
44034
44035 wx_cv_type_getsockopt5=unknown
44036
44037 fi
44038
44039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44040
44041 fi
44042
44043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44044
44045
44046 fi
44047
44048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44049 ac_ext=c
44050 ac_cpp='$CPP $CPPFLAGS'
44051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44054
44055
44056 fi
44057 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44058 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44059
44060 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44061 wxUSE_SOCKETS=no
44062 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44063 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44064 else
44065 cat >>confdefs.h <<_ACEOF
44066 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44067 _ACEOF
44068
44069 fi
44070 fi
44071 fi
44072
44073 if test "$wxUSE_SOCKETS" = "yes" ; then
44074 if test "$wxUSE_IPV6" = "yes"; then
44075 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44076 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44077 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44078 echo $ECHO_N "(cached) $ECHO_C" >&6
44079 else
44080
44081 cat >conftest.$ac_ext <<_ACEOF
44082 /* confdefs.h. */
44083 _ACEOF
44084 cat confdefs.h >>conftest.$ac_ext
44085 cat >>conftest.$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44087
44088 #include <sys/types.h>
44089 #include <sys/socket.h>
44090 #include <netinet/in.h>
44091
44092 int
44093 main ()
44094 {
44095
44096 struct sockaddr_in6 sa6;
44097
44098 ;
44099 return 0;
44100 }
44101 _ACEOF
44102 rm -f conftest.$ac_objext
44103 if { (ac_try="$ac_compile"
44104 case "(($ac_try" in
44105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44106 *) ac_try_echo=$ac_try;;
44107 esac
44108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44109 (eval "$ac_compile") 2>conftest.er1
44110 ac_status=$?
44111 grep -v '^ *+' conftest.er1 >conftest.err
44112 rm -f conftest.er1
44113 cat conftest.err >&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); } && {
44116 test -z "$ac_c_werror_flag" ||
44117 test ! -s conftest.err
44118 } && test -s conftest.$ac_objext; then
44119 wx_cv_type_sockaddr_in6=yes
44120 else
44121 echo "$as_me: failed program was:" >&5
44122 sed 's/^/| /' conftest.$ac_ext >&5
44123
44124 wx_cv_type_sockaddr_in6=no
44125
44126 fi
44127
44128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44129
44130
44131 fi
44132 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44133 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44134
44135 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44136 cat >>confdefs.h <<\_ACEOF
44137 #define wxUSE_IPV6 1
44138 _ACEOF
44139
44140 else
44141 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44142 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44143 fi
44144 fi
44145
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_SOCKETS 1
44148 _ACEOF
44149
44150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44151 fi
44152
44153 if test "$wxUSE_PROTOCOL" = "yes"; then
44154 if test "$wxUSE_SOCKETS" != "yes"; then
44155 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44156 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44157 wxUSE_PROTOCOL=no
44158 fi
44159 fi
44160
44161 if test "$wxUSE_PROTOCOL" = "yes"; then
44162 cat >>confdefs.h <<\_ACEOF
44163 #define wxUSE_PROTOCOL 1
44164 _ACEOF
44165
44166
44167 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44168 cat >>confdefs.h <<\_ACEOF
44169 #define wxUSE_PROTOCOL_HTTP 1
44170 _ACEOF
44171
44172 fi
44173 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44174 cat >>confdefs.h <<\_ACEOF
44175 #define wxUSE_PROTOCOL_FTP 1
44176 _ACEOF
44177
44178 fi
44179 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_PROTOCOL_FILE 1
44182 _ACEOF
44183
44184 fi
44185 else
44186 if test "$wxUSE_FS_INET" = "yes"; then
44187 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44188 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44189 wxUSE_FS_INET="no"
44190 fi
44191 fi
44192
44193 if test "$wxUSE_URL" = "yes"; then
44194 if test "$wxUSE_PROTOCOL" != "yes"; then
44195 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44196 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44197 wxUSE_URL=no
44198 fi
44199 if test "$wxUSE_URL" = "yes"; then
44200 cat >>confdefs.h <<\_ACEOF
44201 #define wxUSE_URL 1
44202 _ACEOF
44203
44204 fi
44205 fi
44206
44207 if test "$wxUSE_VARIANT" = "yes"; then
44208 cat >>confdefs.h <<\_ACEOF
44209 #define wxUSE_VARIANT 1
44210 _ACEOF
44211
44212 fi
44213
44214 if test "$wxUSE_FS_INET" = "yes"; then
44215 cat >>confdefs.h <<\_ACEOF
44216 #define wxUSE_FS_INET 1
44217 _ACEOF
44218
44219 fi
44220
44221
44222 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44223 wxUSE_JOYSTICK=no
44224
44225 if test "$TOOLKIT" = "MSW"; then
44226 wxUSE_JOYSTICK=yes
44227
44228 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44229 if test "$USE_DARWIN" = 1; then
44230 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44231 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44232 ac_ext=cpp
44233 ac_cpp='$CXXCPP $CPPFLAGS'
44234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44237
44238 cat >conftest.$ac_ext <<_ACEOF
44239 /* confdefs.h. */
44240 _ACEOF
44241 cat confdefs.h >>conftest.$ac_ext
44242 cat >>conftest.$ac_ext <<_ACEOF
44243 /* end confdefs.h. */
44244 #include <IOKit/hid/IOHIDLib.h>
44245 int
44246 main ()
44247 {
44248 IOHIDQueueInterface *qi = NULL;
44249 IOHIDCallbackFunction cb = NULL;
44250 qi->setEventCallout(NULL, cb, NULL, NULL);
44251 ;
44252 return 0;
44253 }
44254 _ACEOF
44255 rm -f conftest.$ac_objext
44256 if { (ac_try="$ac_compile"
44257 case "(($ac_try" in
44258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44259 *) ac_try_echo=$ac_try;;
44260 esac
44261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44262 (eval "$ac_compile") 2>conftest.er1
44263 ac_status=$?
44264 grep -v '^ *+' conftest.er1 >conftest.err
44265 rm -f conftest.er1
44266 cat conftest.err >&5
44267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44268 (exit $ac_status); } && {
44269 test -z "$ac_cxx_werror_flag" ||
44270 test ! -s conftest.err
44271 } && test -s conftest.$ac_objext; then
44272 wxUSE_JOYSTICK=yes
44273
44274 else
44275 echo "$as_me: failed program was:" >&5
44276 sed 's/^/| /' conftest.$ac_ext >&5
44277
44278
44279 fi
44280
44281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44282 ac_ext=c
44283 ac_cpp='$CPP $CPPFLAGS'
44284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44287
44288 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44289 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44290 fi
44291
44292 else
44293 if test "$wxUSE_MGL" != 1; then
44294
44295 for ac_header in linux/joystick.h
44296 do
44297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44298 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44301 echo $ECHO_N "(cached) $ECHO_C" >&6
44302 else
44303 cat >conftest.$ac_ext <<_ACEOF
44304 /* confdefs.h. */
44305 _ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44309 $ac_includes_default
44310
44311 #include <$ac_header>
44312 _ACEOF
44313 rm -f conftest.$ac_objext
44314 if { (ac_try="$ac_compile"
44315 case "(($ac_try" in
44316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44317 *) ac_try_echo=$ac_try;;
44318 esac
44319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44320 (eval "$ac_compile") 2>conftest.er1
44321 ac_status=$?
44322 grep -v '^ *+' conftest.er1 >conftest.err
44323 rm -f conftest.er1
44324 cat conftest.err >&5
44325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326 (exit $ac_status); } && {
44327 test -z "$ac_c_werror_flag" ||
44328 test ! -s conftest.err
44329 } && test -s conftest.$ac_objext; then
44330 eval "$as_ac_Header=yes"
44331 else
44332 echo "$as_me: failed program was:" >&5
44333 sed 's/^/| /' conftest.$ac_ext >&5
44334
44335 eval "$as_ac_Header=no"
44336 fi
44337
44338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44339 fi
44340 ac_res=`eval echo '${'$as_ac_Header'}'`
44341 { echo "$as_me:$LINENO: result: $ac_res" >&5
44342 echo "${ECHO_T}$ac_res" >&6; }
44343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44344 cat >>confdefs.h <<_ACEOF
44345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44346 _ACEOF
44347 wxUSE_JOYSTICK=yes
44348 fi
44349
44350 done
44351
44352 fi
44353 fi
44354
44355 if test "$wxUSE_JOYSTICK" = "yes"; then
44356 cat >>confdefs.h <<\_ACEOF
44357 #define wxUSE_JOYSTICK 1
44358 _ACEOF
44359
44360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44361 else
44362 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44363 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44364 fi
44365 fi
44366
44367
44368
44369 if test "$wxUSE_FONTENUM" = "yes" ; then
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_FONTENUM 1
44372 _ACEOF
44373
44374 fi
44375
44376 if test "$wxUSE_FONTMAP" = "yes" ; then
44377 cat >>confdefs.h <<\_ACEOF
44378 #define wxUSE_FONTMAP 1
44379 _ACEOF
44380
44381 fi
44382
44383 if test "$wxUSE_UNICODE" = "yes" ; then
44384 cat >>confdefs.h <<\_ACEOF
44385 #define wxUSE_UNICODE 1
44386 _ACEOF
44387
44388
44389 if test "$USE_WIN32" != 1; then
44390 wxUSE_UNICODE_MSLU=no
44391 fi
44392
44393 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44394 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44395 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44396 if test "${ac_cv_lib_unicows_main+set}" = set; then
44397 echo $ECHO_N "(cached) $ECHO_C" >&6
44398 else
44399 ac_check_lib_save_LIBS=$LIBS
44400 LIBS="-lunicows $LIBS"
44401 cat >conftest.$ac_ext <<_ACEOF
44402 /* confdefs.h. */
44403 _ACEOF
44404 cat confdefs.h >>conftest.$ac_ext
44405 cat >>conftest.$ac_ext <<_ACEOF
44406 /* end confdefs.h. */
44407
44408
44409 int
44410 main ()
44411 {
44412 return main ();
44413 ;
44414 return 0;
44415 }
44416 _ACEOF
44417 rm -f conftest.$ac_objext conftest$ac_exeext
44418 if { (ac_try="$ac_link"
44419 case "(($ac_try" in
44420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44421 *) ac_try_echo=$ac_try;;
44422 esac
44423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44424 (eval "$ac_link") 2>conftest.er1
44425 ac_status=$?
44426 grep -v '^ *+' conftest.er1 >conftest.err
44427 rm -f conftest.er1
44428 cat conftest.err >&5
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); } && {
44431 test -z "$ac_c_werror_flag" ||
44432 test ! -s conftest.err
44433 } && test -s conftest$ac_exeext &&
44434 $as_test_x conftest$ac_exeext; then
44435 ac_cv_lib_unicows_main=yes
44436 else
44437 echo "$as_me: failed program was:" >&5
44438 sed 's/^/| /' conftest.$ac_ext >&5
44439
44440 ac_cv_lib_unicows_main=no
44441 fi
44442
44443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44444 conftest$ac_exeext conftest.$ac_ext
44445 LIBS=$ac_check_lib_save_LIBS
44446 fi
44447 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44448 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44449 if test $ac_cv_lib_unicows_main = yes; then
44450
44451 cat >>confdefs.h <<\_ACEOF
44452 #define wxUSE_UNICODE_MSLU 1
44453 _ACEOF
44454
44455
44456 else
44457
44458 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44459 Applications will only run on Windows NT/2000/XP!" >&5
44460 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44461 Applications will only run on Windows NT/2000/XP!" >&2;}
44462 wxUSE_UNICODE_MSLU=no
44463
44464 fi
44465
44466 fi
44467 fi
44468
44469 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44470 cat >>confdefs.h <<\_ACEOF
44471 #define wxUSE_UNICODE_UTF8 1
44472 _ACEOF
44473
44474
44475 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44476 cat >>confdefs.h <<\_ACEOF
44477 #define wxUSE_UTF8_LOCALE_ONLY 1
44478 _ACEOF
44479
44480 fi
44481 fi
44482
44483
44484 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_CONSTRAINTS 1
44487 _ACEOF
44488
44489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44490 fi
44491
44492 if test "$wxUSE_MDI" = "yes"; then
44493 cat >>confdefs.h <<\_ACEOF
44494 #define wxUSE_MDI 1
44495 _ACEOF
44496
44497
44498 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44499 cat >>confdefs.h <<\_ACEOF
44500 #define wxUSE_MDI_ARCHITECTURE 1
44501 _ACEOF
44502
44503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44504 fi
44505 fi
44506
44507 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44508 cat >>confdefs.h <<\_ACEOF
44509 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44510 _ACEOF
44511
44512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44513 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44515 fi
44516 fi
44517
44518 if test "$wxUSE_HELP" = "yes"; then
44519 cat >>confdefs.h <<\_ACEOF
44520 #define wxUSE_HELP 1
44521 _ACEOF
44522
44523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44524
44525 if test "$wxUSE_MSW" = 1; then
44526 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44527 cat >>confdefs.h <<\_ACEOF
44528 #define wxUSE_MS_HTML_HELP 1
44529 _ACEOF
44530
44531 fi
44532 fi
44533
44534 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44535 if test "$wxUSE_HTML" = "yes"; then
44536 cat >>confdefs.h <<\_ACEOF
44537 #define wxUSE_WXHTML_HELP 1
44538 _ACEOF
44539
44540 else
44541 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44542 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44543 wxUSE_WXHTML_HELP=no
44544 fi
44545 fi
44546 fi
44547
44548 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44549 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44550 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44551 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44552 else
44553 cat >>confdefs.h <<\_ACEOF
44554 #define wxUSE_PRINTING_ARCHITECTURE 1
44555 _ACEOF
44556
44557 fi
44558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44559 fi
44560
44561 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44562 cat >>confdefs.h <<\_ACEOF
44563 #define wxUSE_POSTSCRIPT 1
44564 _ACEOF
44565
44566 fi
44567
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44570 _ACEOF
44571
44572
44573 if test "$wxUSE_SVG" = "yes"; then
44574 cat >>confdefs.h <<\_ACEOF
44575 #define wxUSE_SVG 1
44576 _ACEOF
44577
44578 fi
44579
44580
44581 if test "$wxUSE_METAFILE" = "yes"; then
44582 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44583 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44584 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44585 wxUSE_METAFILE=no
44586 fi
44587 fi
44588
44589
44590 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44591 -o "$wxUSE_CLIPBOARD" = "yes" \
44592 -o "$wxUSE_OLE" = "yes" \
44593 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44594 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44595 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44596 if test "${ac_cv_header_ole2_h+set}" = set; then
44597 echo $ECHO_N "(cached) $ECHO_C" >&6
44598 else
44599 cat >conftest.$ac_ext <<_ACEOF
44600 /* confdefs.h. */
44601 _ACEOF
44602 cat confdefs.h >>conftest.$ac_ext
44603 cat >>conftest.$ac_ext <<_ACEOF
44604 /* end confdefs.h. */
44605
44606
44607 #include <ole2.h>
44608 _ACEOF
44609 rm -f conftest.$ac_objext
44610 if { (ac_try="$ac_compile"
44611 case "(($ac_try" in
44612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44613 *) ac_try_echo=$ac_try;;
44614 esac
44615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44616 (eval "$ac_compile") 2>conftest.er1
44617 ac_status=$?
44618 grep -v '^ *+' conftest.er1 >conftest.err
44619 rm -f conftest.er1
44620 cat conftest.err >&5
44621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44622 (exit $ac_status); } && {
44623 test -z "$ac_c_werror_flag" ||
44624 test ! -s conftest.err
44625 } && test -s conftest.$ac_objext; then
44626 ac_cv_header_ole2_h=yes
44627 else
44628 echo "$as_me: failed program was:" >&5
44629 sed 's/^/| /' conftest.$ac_ext >&5
44630
44631 ac_cv_header_ole2_h=no
44632 fi
44633
44634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44635 fi
44636 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44637 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44638
44639
44640
44641 if test "$ac_cv_header_ole2_h" = "yes" ; then
44642 if test "$GCC" = yes ; then
44643 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44644 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44645 cat >conftest.$ac_ext <<_ACEOF
44646 /* confdefs.h. */
44647 _ACEOF
44648 cat confdefs.h >>conftest.$ac_ext
44649 cat >>conftest.$ac_ext <<_ACEOF
44650 /* end confdefs.h. */
44651 #include <windows.h>
44652 #include <ole2.h>
44653 int
44654 main ()
44655 {
44656
44657 ;
44658 return 0;
44659 }
44660 _ACEOF
44661 rm -f conftest.$ac_objext
44662 if { (ac_try="$ac_compile"
44663 case "(($ac_try" in
44664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44665 *) ac_try_echo=$ac_try;;
44666 esac
44667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44668 (eval "$ac_compile") 2>conftest.er1
44669 ac_status=$?
44670 grep -v '^ *+' conftest.er1 >conftest.err
44671 rm -f conftest.er1
44672 cat conftest.err >&5
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); } && {
44675 test -z "$ac_c_werror_flag" ||
44676 test ! -s conftest.err
44677 } && test -s conftest.$ac_objext; then
44678 { echo "$as_me:$LINENO: result: no" >&5
44679 echo "${ECHO_T}no" >&6; }
44680 else
44681 echo "$as_me: failed program was:" >&5
44682 sed 's/^/| /' conftest.$ac_ext >&5
44683
44684 { echo "$as_me:$LINENO: result: yes" >&5
44685 echo "${ECHO_T}yes" >&6; }
44686 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44687 fi
44688
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44690 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44691 if test "$wxUSE_OLE" = "yes" ; then
44692 cat >>confdefs.h <<\_ACEOF
44693 #define wxUSE_OLE 1
44694 _ACEOF
44695
44696 cat >>confdefs.h <<\_ACEOF
44697 #define wxUSE_OLE_AUTOMATION 1
44698 _ACEOF
44699
44700 cat >>confdefs.h <<\_ACEOF
44701 #define wxUSE_ACTIVEX 1
44702 _ACEOF
44703
44704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44705 fi
44706 fi
44707
44708 if test "$wxUSE_DATAOBJ" = "yes" ; then
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_DATAOBJ 1
44711 _ACEOF
44712
44713 fi
44714 else
44715 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44716 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44717
44718 wxUSE_CLIPBOARD=no
44719 wxUSE_DRAG_AND_DROP=no
44720 wxUSE_DATAOBJ=no
44721 wxUSE_OLE=no
44722 fi
44723
44724 if test "$wxUSE_METAFILE" = "yes"; then
44725 cat >>confdefs.h <<\_ACEOF
44726 #define wxUSE_METAFILE 1
44727 _ACEOF
44728
44729
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_ENH_METAFILE 1
44732 _ACEOF
44733
44734 fi
44735 fi
44736
44737 if test "$wxUSE_IPC" = "yes"; then
44738 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44739 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44740 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44741 wxUSE_IPC=no
44742 fi
44743
44744 if test "$wxUSE_IPC" = "yes"; then
44745 cat >>confdefs.h <<\_ACEOF
44746 #define wxUSE_IPC 1
44747 _ACEOF
44748
44749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44750 fi
44751 fi
44752
44753 if test "$wxUSE_DATAOBJ" = "yes"; then
44754 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44755 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44756 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44757 wxUSE_DATAOBJ=no
44758 else
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_DATAOBJ 1
44761 _ACEOF
44762
44763 fi
44764 else
44765 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44766 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44767 wxUSE_CLIPBOARD=no
44768 wxUSE_DRAG_AND_DROP=no
44769 fi
44770
44771 if test "$wxUSE_CLIPBOARD" = "yes"; then
44772 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44773 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44774 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44775 wxUSE_CLIPBOARD=no
44776 fi
44777
44778 if test "$wxUSE_CLIPBOARD" = "yes"; then
44779 cat >>confdefs.h <<\_ACEOF
44780 #define wxUSE_CLIPBOARD 1
44781 _ACEOF
44782
44783 fi
44784 fi
44785
44786 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44787 if test "$wxUSE_GTK" = 1; then
44788 if test "$WXGTK12" != 1; then
44789 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44790 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44791 wxUSE_DRAG_AND_DROP=no
44792 fi
44793 fi
44794
44795 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44796 "$wxUSE_DFB" = 1; then
44797 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44798 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44799 wxUSE_DRAG_AND_DROP=no
44800 fi
44801
44802 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44803 cat >>confdefs.h <<\_ACEOF
44804 #define wxUSE_DRAG_AND_DROP 1
44805 _ACEOF
44806
44807 fi
44808
44809 fi
44810
44811 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44813 fi
44814
44815 if test "$wxUSE_SPLINES" = "yes" ; then
44816 cat >>confdefs.h <<\_ACEOF
44817 #define wxUSE_SPLINES 1
44818 _ACEOF
44819
44820 fi
44821
44822 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_MOUSEWHEEL 1
44825 _ACEOF
44826
44827 fi
44828
44829
44830 USES_CONTROLS=0
44831 if test "$wxUSE_CONTROLS" = "yes"; then
44832 USES_CONTROLS=1
44833 fi
44834
44835 if test "$wxUSE_ACCEL" = "yes"; then
44836 cat >>confdefs.h <<\_ACEOF
44837 #define wxUSE_ACCEL 1
44838 _ACEOF
44839
44840 USES_CONTROLS=1
44841 fi
44842
44843 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_ANIMATIONCTRL 1
44846 _ACEOF
44847
44848 USES_CONTROLS=1
44849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44850 fi
44851
44852 if test "$wxUSE_BUTTON" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_BUTTON 1
44855 _ACEOF
44856
44857 USES_CONTROLS=1
44858 fi
44859
44860 if test "$wxUSE_BMPBUTTON" = "yes"; then
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_BMPBUTTON 1
44863 _ACEOF
44864
44865 USES_CONTROLS=1
44866 fi
44867
44868 if test "$wxUSE_CALCTRL" = "yes"; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_CALENDARCTRL 1
44871 _ACEOF
44872
44873 USES_CONTROLS=1
44874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44875 fi
44876
44877 if test "$wxUSE_CARET" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_CARET 1
44880 _ACEOF
44881
44882 USES_CONTROLS=1
44883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44884 fi
44885
44886 if test "$wxUSE_COLLPANE" = "yes"; then
44887 cat >>confdefs.h <<\_ACEOF
44888 #define wxUSE_COLLPANE 1
44889 _ACEOF
44890
44891 USES_CONTROLS=1
44892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44893 fi
44894
44895 if test "$wxUSE_COMBOBOX" = "yes"; then
44896 cat >>confdefs.h <<\_ACEOF
44897 #define wxUSE_COMBOBOX 1
44898 _ACEOF
44899
44900 USES_CONTROLS=1
44901 fi
44902
44903 if test "$wxUSE_COMBOCTRL" = "yes"; then
44904 cat >>confdefs.h <<\_ACEOF
44905 #define wxUSE_COMBOCTRL 1
44906 _ACEOF
44907
44908 USES_CONTROLS=1
44909 fi
44910
44911 if test "$wxUSE_CHOICE" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_CHOICE 1
44914 _ACEOF
44915
44916 USES_CONTROLS=1
44917 fi
44918
44919 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44920 cat >>confdefs.h <<\_ACEOF
44921 #define wxUSE_CHOICEBOOK 1
44922 _ACEOF
44923
44924 USES_CONTROLS=1
44925 fi
44926
44927 if test "$wxUSE_CHECKBOX" = "yes"; then
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_CHECKBOX 1
44930 _ACEOF
44931
44932 USES_CONTROLS=1
44933 fi
44934
44935 if test "$wxUSE_CHECKLST" = "yes"; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_CHECKLISTBOX 1
44938 _ACEOF
44939
44940 USES_CONTROLS=1
44941 fi
44942
44943 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44944 cat >>confdefs.h <<\_ACEOF
44945 #define wxUSE_COLOURPICKERCTRL 1
44946 _ACEOF
44947
44948 USES_CONTROLS=1
44949 fi
44950
44951 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_DATEPICKCTRL 1
44954 _ACEOF
44955
44956 USES_CONTROLS=1
44957 fi
44958
44959 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_DIRPICKERCTRL 1
44962 _ACEOF
44963
44964 USES_CONTROLS=1
44965 fi
44966
44967 if test "$wxUSE_FILECTRL" = "yes"; then
44968 cat >>confdefs.h <<\_ACEOF
44969 #define wxUSE_FILECTRL 1
44970 _ACEOF
44971
44972 USES_CONTROLS=1
44973 fi
44974
44975 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_FILEPICKERCTRL 1
44978 _ACEOF
44979
44980 USES_CONTROLS=1
44981 fi
44982
44983 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_FONTPICKERCTRL 1
44986 _ACEOF
44987
44988 USES_CONTROLS=1
44989 fi
44990
44991 if test "$wxUSE_DISPLAY" = "yes"; then
44992 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44993 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44994 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44995 wxUSE_DISPLAY=no
44996 else
44997 cat >>confdefs.h <<\_ACEOF
44998 #define wxUSE_DISPLAY 1
44999 _ACEOF
45000
45001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45002 fi
45003 fi
45004
45005 if test "$wxUSE_DETECT_SM" = "yes"; then
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_DETECT_SM 1
45008 _ACEOF
45009
45010 fi
45011
45012 if test "$wxUSE_GAUGE" = "yes"; then
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_GAUGE 1
45015 _ACEOF
45016
45017 USES_CONTROLS=1
45018 fi
45019
45020 if test "$wxUSE_GRID" = "yes"; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_GRID 1
45023 _ACEOF
45024
45025 USES_CONTROLS=1
45026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45027 fi
45028
45029 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_HYPERLINKCTRL 1
45032 _ACEOF
45033
45034 USES_CONTROLS=1
45035 fi
45036
45037 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_BITMAPCOMBOBOX 1
45040 _ACEOF
45041
45042 USES_CONTROLS=1
45043 fi
45044
45045 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_DATAVIEWCTRL 1
45048 _ACEOF
45049
45050 USES_CONTROLS=1
45051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45052 fi
45053
45054 if test "$wxUSE_IMAGLIST" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_IMAGLIST 1
45057 _ACEOF
45058
45059 fi
45060
45061 if test "$wxUSE_LISTBOOK" = "yes"; then
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_LISTBOOK 1
45064 _ACEOF
45065
45066 USES_CONTROLS=1
45067 fi
45068
45069 if test "$wxUSE_LISTBOX" = "yes"; then
45070 cat >>confdefs.h <<\_ACEOF
45071 #define wxUSE_LISTBOX 1
45072 _ACEOF
45073
45074 USES_CONTROLS=1
45075 fi
45076
45077 if test "$wxUSE_LISTCTRL" = "yes"; then
45078 if test "$wxUSE_IMAGLIST" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_LISTCTRL 1
45081 _ACEOF
45082
45083 USES_CONTROLS=1
45084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45085 else
45086 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45087 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45088 fi
45089 fi
45090
45091 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_EDITABLELISTBOX 1
45094 _ACEOF
45095
45096 USES_CONTROLS=1
45097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45098 fi
45099
45100 if test "$wxUSE_NOTEBOOK" = "yes"; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_NOTEBOOK 1
45103 _ACEOF
45104
45105 USES_CONTROLS=1
45106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45107 fi
45108
45109 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_NOTIFICATION_MESSAGE 1
45112 _ACEOF
45113
45114 fi
45115
45116 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45117 cat >>confdefs.h <<\_ACEOF
45118 #define wxUSE_ODCOMBOBOX 1
45119 _ACEOF
45120
45121 USES_CONTROLS=1
45122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45123 fi
45124
45125 if test "$wxUSE_RADIOBOX" = "yes"; then
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_RADIOBOX 1
45128 _ACEOF
45129
45130 USES_CONTROLS=1
45131 fi
45132
45133 if test "$wxUSE_RADIOBTN" = "yes"; then
45134 cat >>confdefs.h <<\_ACEOF
45135 #define wxUSE_RADIOBTN 1
45136 _ACEOF
45137
45138 USES_CONTROLS=1
45139 fi
45140
45141 if test "$wxUSE_SASH" = "yes"; then
45142 cat >>confdefs.h <<\_ACEOF
45143 #define wxUSE_SASH 1
45144 _ACEOF
45145
45146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45147 fi
45148
45149 if test "$wxUSE_SCROLLBAR" = "yes"; then
45150 cat >>confdefs.h <<\_ACEOF
45151 #define wxUSE_SCROLLBAR 1
45152 _ACEOF
45153
45154 USES_CONTROLS=1
45155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45156 fi
45157
45158 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_SEARCHCTRL 1
45161 _ACEOF
45162
45163 USES_CONTROLS=1
45164 fi
45165
45166 if test "$wxUSE_SLIDER" = "yes"; then
45167 cat >>confdefs.h <<\_ACEOF
45168 #define wxUSE_SLIDER 1
45169 _ACEOF
45170
45171 USES_CONTROLS=1
45172 fi
45173
45174 if test "$wxUSE_SPINBTN" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_SPINBTN 1
45177 _ACEOF
45178
45179 USES_CONTROLS=1
45180 fi
45181
45182 if test "$wxUSE_SPINCTRL" = "yes"; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_SPINCTRL 1
45185 _ACEOF
45186
45187 USES_CONTROLS=1
45188 fi
45189
45190 if test "$wxUSE_SPLITTER" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_SPLITTER 1
45193 _ACEOF
45194
45195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45196 fi
45197
45198 if test "$wxUSE_STATBMP" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_STATBMP 1
45201 _ACEOF
45202
45203 USES_CONTROLS=1
45204 fi
45205
45206 if test "$wxUSE_STATBOX" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_STATBOX 1
45209 _ACEOF
45210
45211 USES_CONTROLS=1
45212 fi
45213
45214 if test "$wxUSE_STATTEXT" = "yes"; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_STATTEXT 1
45217 _ACEOF
45218
45219 USES_CONTROLS=1
45220 fi
45221
45222 if test "$wxUSE_STATLINE" = "yes"; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_STATLINE 1
45225 _ACEOF
45226
45227 USES_CONTROLS=1
45228 fi
45229
45230 if test "$wxUSE_STATUSBAR" = "yes"; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_NATIVE_STATUSBAR 1
45233 _ACEOF
45234
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_STATUSBAR 1
45237 _ACEOF
45238
45239 USES_CONTROLS=1
45240
45241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45242 fi
45243
45244 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_TAB_DIALOG 1
45247 _ACEOF
45248
45249 fi
45250
45251 if test "$wxUSE_TEXTCTRL" = "yes"; then
45252 cat >>confdefs.h <<\_ACEOF
45253 #define wxUSE_TEXTCTRL 1
45254 _ACEOF
45255
45256 USES_CONTROLS=1
45257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45258 fi
45259
45260 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45261 if test "$wxUSE_COCOA" = 1 ; then
45262 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45263 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45264 wxUSE_TOGGLEBTN=no
45265 fi
45266
45267 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45268 cat >>confdefs.h <<\_ACEOF
45269 #define wxUSE_TOGGLEBTN 1
45270 _ACEOF
45271
45272 USES_CONTROLS=1
45273 fi
45274 fi
45275
45276 if test "$wxUSE_TOOLBAR" = "yes"; then
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_TOOLBAR 1
45279 _ACEOF
45280
45281 USES_CONTROLS=1
45282
45283 if test "$wxUSE_UNIVERSAL" = "yes"; then
45284 wxUSE_TOOLBAR_NATIVE="no"
45285 else
45286 wxUSE_TOOLBAR_NATIVE="yes"
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_TOOLBAR_NATIVE 1
45289 _ACEOF
45290
45291 fi
45292
45293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45294 fi
45295
45296 if test "$wxUSE_TOOLTIPS" = "yes"; then
45297 if test "$wxUSE_MOTIF" = 1; then
45298 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45299 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45300 else
45301 if test "$wxUSE_UNIVERSAL" = "yes"; then
45302 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45303 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45304 else
45305 cat >>confdefs.h <<\_ACEOF
45306 #define wxUSE_TOOLTIPS 1
45307 _ACEOF
45308
45309 fi
45310 fi
45311 fi
45312
45313 if test "$wxUSE_TREEBOOK" = "yes"; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_TREEBOOK 1
45316 _ACEOF
45317
45318 USES_CONTROLS=1
45319 fi
45320
45321 if test "$wxUSE_TOOLBOOK" = "yes"; then
45322 cat >>confdefs.h <<\_ACEOF
45323 #define wxUSE_TOOLBOOK 1
45324 _ACEOF
45325
45326 USES_CONTROLS=1
45327 fi
45328
45329 if test "$wxUSE_TREECTRL" = "yes"; then
45330 if test "$wxUSE_IMAGLIST" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_TREECTRL 1
45333 _ACEOF
45334
45335 USES_CONTROLS=1
45336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45337 else
45338 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45339 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45340 fi
45341 fi
45342
45343 if test "$wxUSE_POPUPWIN" = "yes"; then
45344 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45345 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45346 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45347 else
45348 if test "$wxUSE_PM" = 1; then
45349 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45350 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45351 else
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_POPUPWIN 1
45354 _ACEOF
45355
45356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45357
45358 USES_CONTROLS=1
45359 fi
45360 fi
45361 fi
45362
45363 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45364 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45365 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45366 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45367 else
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_DIALUP_MANAGER 1
45370 _ACEOF
45371
45372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45373 fi
45374 fi
45375
45376 if test "$wxUSE_TIPWINDOW" = "yes"; then
45377 if test "$wxUSE_PM" = 1; then
45378 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45379 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45380 else
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_TIPWINDOW 1
45383 _ACEOF
45384
45385 fi
45386 fi
45387
45388 if test "$USES_CONTROLS" = 1; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_CONTROLS 1
45391 _ACEOF
45392
45393 fi
45394
45395
45396 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45397 cat >>confdefs.h <<\_ACEOF
45398 #define wxUSE_ACCESSIBILITY 1
45399 _ACEOF
45400
45401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45402 fi
45403
45404 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_DRAGIMAGE 1
45407 _ACEOF
45408
45409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45410 fi
45411
45412 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45413 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45414 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45415 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45416 else
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_EXCEPTIONS 1
45419 _ACEOF
45420
45421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45422 fi
45423 fi
45424
45425 USE_HTML=0
45426 if test "$wxUSE_HTML" = "yes"; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_HTML 1
45429 _ACEOF
45430
45431 USE_HTML=1
45432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45433 if test "$wxUSE_MAC" = 1; then
45434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45435 fi
45436 fi
45437 if test "$wxUSE_WEBKIT" = "yes"; then
45438 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45439 old_CPPFLAGS="$CPPFLAGS"
45440 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45441 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45442 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45443 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45444 echo $ECHO_N "(cached) $ECHO_C" >&6
45445 else
45446 cat >conftest.$ac_ext <<_ACEOF
45447 /* confdefs.h. */
45448 _ACEOF
45449 cat confdefs.h >>conftest.$ac_ext
45450 cat >>conftest.$ac_ext <<_ACEOF
45451 /* end confdefs.h. */
45452
45453 #include <Carbon/Carbon.h>
45454 #include <WebKit/WebKit.h>
45455
45456
45457 #include <WebKit/HIWebView.h>
45458 _ACEOF
45459 rm -f conftest.$ac_objext
45460 if { (ac_try="$ac_compile"
45461 case "(($ac_try" in
45462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45463 *) ac_try_echo=$ac_try;;
45464 esac
45465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45466 (eval "$ac_compile") 2>conftest.er1
45467 ac_status=$?
45468 grep -v '^ *+' conftest.er1 >conftest.err
45469 rm -f conftest.er1
45470 cat conftest.err >&5
45471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45472 (exit $ac_status); } && {
45473 test -z "$ac_c_werror_flag" ||
45474 test ! -s conftest.err
45475 } && test -s conftest.$ac_objext; then
45476 ac_cv_header_WebKit_HIWebView_h=yes
45477 else
45478 echo "$as_me: failed program was:" >&5
45479 sed 's/^/| /' conftest.$ac_ext >&5
45480
45481 ac_cv_header_WebKit_HIWebView_h=no
45482 fi
45483
45484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45485 fi
45486 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45487 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45488 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45489
45490 cat >>confdefs.h <<\_ACEOF
45491 #define wxUSE_WEBKIT 1
45492 _ACEOF
45493
45494 WEBKIT_LINK="-framework WebKit"
45495
45496 else
45497
45498 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45499 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45500 wxUSE_WEBKIT=no
45501
45502 fi
45503
45504
45505 CPPFLAGS="$old_CPPFLAGS"
45506 elif test "$wxUSE_COCOA" = 1; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_WEBKIT 1
45509 _ACEOF
45510
45511 else
45512 wxUSE_WEBKIT=no
45513 fi
45514 fi
45515
45516 USE_XRC=0
45517 if test "$wxUSE_XRC" = "yes"; then
45518 if test "$wxUSE_XML" != "yes"; then
45519 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45520 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45521 wxUSE_XRC=no
45522 else
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_XRC 1
45525 _ACEOF
45526
45527 USE_XRC=1
45528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45529 fi
45530 fi
45531
45532 USE_AUI=0
45533 if test "$wxUSE_AUI" = "yes"; then
45534 cat >>confdefs.h <<\_ACEOF
45535 #define wxUSE_AUI 1
45536 _ACEOF
45537
45538 USE_AUI=1
45539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45540 fi
45541
45542 USE_STC=0
45543 if test "$wxUSE_STC" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_STC 1
45546 _ACEOF
45547
45548 USE_STC=1
45549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45550 fi
45551
45552 if test "$wxUSE_MENUS" = "yes"; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_MENUS 1
45555 _ACEOF
45556
45557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45558 fi
45559
45560 if test "$wxUSE_METAFILE" = "yes"; then
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_METAFILE 1
45563 _ACEOF
45564
45565 fi
45566
45567 if test "$wxUSE_MIMETYPE" = "yes"; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_MIMETYPE 1
45570 _ACEOF
45571
45572 fi
45573
45574 if test "$wxUSE_MINIFRAME" = "yes"; then
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_MINIFRAME 1
45577 _ACEOF
45578
45579 fi
45580
45581 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45582 cat >>confdefs.h <<\_ACEOF
45583 #define wxUSE_SYSTEM_OPTIONS 1
45584 _ACEOF
45585
45586 fi
45587
45588 if test "$wxUSE_TASKBARICON" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_TASKBARICON 1
45591 _ACEOF
45592
45593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45594 fi
45595
45596
45597 if test "$wxUSE_VALIDATORS" = "yes"; then
45598 cat >>confdefs.h <<\_ACEOF
45599 #define wxUSE_VALIDATORS 1
45600 _ACEOF
45601
45602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45603 fi
45604
45605 if test "$wxUSE_PALETTE" = "yes" ; then
45606 if test "$wxUSE_DFB" = 1; then
45607 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45608 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45609 wxUSE_PALETTE=no
45610 else
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_PALETTE 1
45613 _ACEOF
45614
45615 fi
45616 fi
45617
45618 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45619 LIBS=" -lunicows $LIBS"
45620 fi
45621
45622 USE_RICHTEXT=0
45623 if test "$wxUSE_RICHTEXT" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_RICHTEXT 1
45626 _ACEOF
45627
45628 USE_RICHTEXT=1
45629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45630 fi
45631
45632
45633 if test "$wxUSE_IMAGE" = "yes" ; then
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_IMAGE 1
45636 _ACEOF
45637
45638
45639 if test "$wxUSE_GIF" = "yes" ; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_GIF 1
45642 _ACEOF
45643
45644 fi
45645
45646 if test "$wxUSE_PCX" = "yes" ; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_PCX 1
45649 _ACEOF
45650
45651 fi
45652
45653 if test "$wxUSE_TGA" = "yes" ; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_TGA 1
45656 _ACEOF
45657
45658 fi
45659
45660 if test "$wxUSE_IFF" = "yes" ; then
45661 cat >>confdefs.h <<\_ACEOF
45662 #define wxUSE_IFF 1
45663 _ACEOF
45664
45665 fi
45666
45667 if test "$wxUSE_PNM" = "yes" ; then
45668 cat >>confdefs.h <<\_ACEOF
45669 #define wxUSE_PNM 1
45670 _ACEOF
45671
45672 fi
45673
45674 if test "$wxUSE_XPM" = "yes" ; then
45675 cat >>confdefs.h <<\_ACEOF
45676 #define wxUSE_XPM 1
45677 _ACEOF
45678
45679 fi
45680
45681 if test "$wxUSE_ICO_CUR" = "yes" ; then
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_ICO_CUR 1
45684 _ACEOF
45685
45686 fi
45687 fi
45688
45689
45690 if test "$wxUSE_ABOUTDLG" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_ABOUTDLG 1
45693 _ACEOF
45694
45695 fi
45696
45697 if test "$wxUSE_CHOICEDLG" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_CHOICEDLG 1
45700 _ACEOF
45701
45702 fi
45703
45704 if test "$wxUSE_COLOURDLG" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_COLOURDLG 1
45707 _ACEOF
45708
45709 fi
45710
45711 if test "$wxUSE_FILEDLG" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_FILEDLG 1
45714 _ACEOF
45715
45716 fi
45717
45718 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_FINDREPLDLG 1
45721 _ACEOF
45722
45723 fi
45724
45725 if test "$wxUSE_FONTDLG" = "yes"; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_FONTDLG 1
45728 _ACEOF
45729
45730 fi
45731
45732 if test "$wxUSE_DIRDLG" = "yes"; then
45733 if test "$wxUSE_TREECTRL" != "yes"; then
45734 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45735 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45736 else
45737 cat >>confdefs.h <<\_ACEOF
45738 #define wxUSE_DIRDLG 1
45739 _ACEOF
45740
45741 fi
45742 fi
45743
45744 if test "$wxUSE_MSGDLG" = "yes"; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define wxUSE_MSGDLG 1
45747 _ACEOF
45748
45749 fi
45750
45751 if test "$wxUSE_NUMBERDLG" = "yes"; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_NUMBERDLG 1
45754 _ACEOF
45755
45756 fi
45757
45758 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45759 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45760 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45761 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45762 else
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_PROGRESSDLG 1
45765 _ACEOF
45766
45767 fi
45768 fi
45769
45770 if test "$wxUSE_SPLASH" = "yes"; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_SPLASH 1
45773 _ACEOF
45774
45775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45776 fi
45777
45778 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45779 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45780 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45781 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45782 else
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_STARTUP_TIPS 1
45785 _ACEOF
45786
45787 fi
45788 fi
45789
45790 if test "$wxUSE_TEXTDLG" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_TEXTDLG 1
45793 _ACEOF
45794
45795 fi
45796
45797 if test "$wxUSE_WIZARDDLG" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_WIZARDDLG 1
45800 _ACEOF
45801
45802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45803 fi
45804
45805
45806 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45807 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_OWNER_DRAWN 1
45810 _ACEOF
45811
45812 fi
45813 fi
45814
45815
45816 if test "$wxUSE_MSW" = 1 ; then
45817
45818 if test "$wxUSE_DC_CACHEING" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_DC_CACHEING 1
45821 _ACEOF
45822
45823 fi
45824
45825 if test "$wxUSE_DIB" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_WXDIB 1
45828 _ACEOF
45829
45830 fi
45831
45832 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45833 cat >>confdefs.h <<\_ACEOF
45834 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45835 _ACEOF
45836
45837 fi
45838
45839 if test "$wxUSE_UXTHEME" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_UXTHEME 1
45842 _ACEOF
45843
45844 fi
45845
45846 fi
45847
45848
45849 if test "$USE_WIN32" = 1 ; then
45850 if test "$wxUSE_INICONF" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_INICONF 1
45853 _ACEOF
45854
45855 fi
45856
45857 if test "$wxUSE_REGKEY" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_REGKEY 1
45860 _ACEOF
45861
45862 fi
45863 fi
45864
45865
45866 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45867 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_GRAPHICS_CONTEXT 1
45870 _ACEOF
45871
45872 elif test "$wxUSE_GTK" != 1; then
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_GRAPHICS_CONTEXT 1
45875 _ACEOF
45876
45877 else
45878
45879 pkg_failed=no
45880 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45881 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45882
45883 if test -n "$PKG_CONFIG"; then
45884 if test -n "$CAIRO_CFLAGS"; then
45885 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45886 else
45887 if test -n "$PKG_CONFIG" && \
45888 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45889 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45890 ac_status=$?
45891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45892 (exit $ac_status); }; then
45893 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45894 else
45895 pkg_failed=yes
45896 fi
45897 fi
45898 else
45899 pkg_failed=untried
45900 fi
45901 if test -n "$PKG_CONFIG"; then
45902 if test -n "$CAIRO_LIBS"; then
45903 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45904 else
45905 if test -n "$PKG_CONFIG" && \
45906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45907 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45908 ac_status=$?
45909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45910 (exit $ac_status); }; then
45911 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45912 else
45913 pkg_failed=yes
45914 fi
45915 fi
45916 else
45917 pkg_failed=untried
45918 fi
45919
45920
45921
45922 if test $pkg_failed = yes; then
45923
45924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45925 _pkg_short_errors_supported=yes
45926 else
45927 _pkg_short_errors_supported=no
45928 fi
45929 if test $_pkg_short_errors_supported = yes; then
45930 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45931 else
45932 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45933 fi
45934 # Put the nasty error message in config.log where it belongs
45935 echo "$CAIRO_PKG_ERRORS" >&5
45936
45937 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45938 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45939
45940 elif test $pkg_failed = untried; then
45941 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45942 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45943
45944 else
45945 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45946 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45947 { echo "$as_me:$LINENO: result: yes" >&5
45948 echo "${ECHO_T}yes" >&6; }
45949 cat >>confdefs.h <<\_ACEOF
45950 #define wxUSE_GRAPHICS_CONTEXT 1
45951 _ACEOF
45952
45953 fi
45954 fi
45955 fi
45956
45957
45958 USE_MEDIA=0
45959
45960 if test "$wxUSE_MEDIACTRL" = "yes"; then
45961 USE_MEDIA=1
45962
45963 if test "$wxUSE_GTK" = 1; then
45964 wxUSE_GSTREAMER="no"
45965
45966 GST_VERSION_MAJOR=0
45967 GST_VERSION_MINOR=10
45968 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45969
45970 if test "$wxUSE_GSTREAMER8" = "no"; then
45971
45972 pkg_failed=no
45973 { echo "$as_me:$LINENO: checking for GST" >&5
45974 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45975
45976 if test -n "$PKG_CONFIG"; then
45977 if test -n "$GST_CFLAGS"; then
45978 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45979 else
45980 if test -n "$PKG_CONFIG" && \
45981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45982 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45983 ac_status=$?
45984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45985 (exit $ac_status); }; then
45986 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45987 else
45988 pkg_failed=yes
45989 fi
45990 fi
45991 else
45992 pkg_failed=untried
45993 fi
45994 if test -n "$PKG_CONFIG"; then
45995 if test -n "$GST_LIBS"; then
45996 pkg_cv_GST_LIBS="$GST_LIBS"
45997 else
45998 if test -n "$PKG_CONFIG" && \
45999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46000 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46001 ac_status=$?
46002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46003 (exit $ac_status); }; then
46004 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46005 else
46006 pkg_failed=yes
46007 fi
46008 fi
46009 else
46010 pkg_failed=untried
46011 fi
46012
46013
46014
46015 if test $pkg_failed = yes; then
46016
46017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46018 _pkg_short_errors_supported=yes
46019 else
46020 _pkg_short_errors_supported=no
46021 fi
46022 if test $_pkg_short_errors_supported = yes; then
46023 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46024 else
46025 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46026 fi
46027 # Put the nasty error message in config.log where it belongs
46028 echo "$GST_PKG_ERRORS" >&5
46029
46030
46031 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46032 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46033 GST_VERSION_MINOR=8
46034
46035
46036 elif test $pkg_failed = untried; then
46037
46038 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46039 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46040 GST_VERSION_MINOR=8
46041
46042
46043 else
46044 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46045 GST_LIBS=$pkg_cv_GST_LIBS
46046 { echo "$as_me:$LINENO: result: yes" >&5
46047 echo "${ECHO_T}yes" >&6; }
46048
46049 wxUSE_GSTREAMER="yes"
46050 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46051
46052 fi
46053 else
46054 GST_VERSION_MINOR=8
46055 fi
46056
46057 if test $GST_VERSION_MINOR = "8"; then
46058 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46059
46060 pkg_failed=no
46061 { echo "$as_me:$LINENO: checking for GST" >&5
46062 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46063
46064 if test -n "$PKG_CONFIG"; then
46065 if test -n "$GST_CFLAGS"; then
46066 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46067 else
46068 if test -n "$PKG_CONFIG" && \
46069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46070 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46071 ac_status=$?
46072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46073 (exit $ac_status); }; then
46074 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46075 else
46076 pkg_failed=yes
46077 fi
46078 fi
46079 else
46080 pkg_failed=untried
46081 fi
46082 if test -n "$PKG_CONFIG"; then
46083 if test -n "$GST_LIBS"; then
46084 pkg_cv_GST_LIBS="$GST_LIBS"
46085 else
46086 if test -n "$PKG_CONFIG" && \
46087 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46088 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46089 ac_status=$?
46090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46091 (exit $ac_status); }; then
46092 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46093 else
46094 pkg_failed=yes
46095 fi
46096 fi
46097 else
46098 pkg_failed=untried
46099 fi
46100
46101
46102
46103 if test $pkg_failed = yes; then
46104
46105 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46106 _pkg_short_errors_supported=yes
46107 else
46108 _pkg_short_errors_supported=no
46109 fi
46110 if test $_pkg_short_errors_supported = yes; then
46111 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46112 else
46113 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46114 fi
46115 # Put the nasty error message in config.log where it belongs
46116 echo "$GST_PKG_ERRORS" >&5
46117
46118
46119 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46120 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46121
46122 elif test $pkg_failed = untried; then
46123
46124 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46125 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46126
46127 else
46128 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46129 GST_LIBS=$pkg_cv_GST_LIBS
46130 { echo "$as_me:$LINENO: result: yes" >&5
46131 echo "${ECHO_T}yes" >&6; }
46132 wxUSE_GSTREAMER="yes"
46133 fi
46134 fi
46135
46136
46137 if test "$wxUSE_GSTREAMER" = "yes"; then
46138 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46139 EXTRALIBS_MEDIA="$GST_LIBS"
46140
46141 cat >>confdefs.h <<\_ACEOF
46142 #define wxUSE_GSTREAMER 1
46143 _ACEOF
46144
46145 else
46146 USE_MEDIA=0
46147 fi
46148 fi
46149
46150 if test $USE_MEDIA = 1; then
46151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_MEDIACTRL 1
46154 _ACEOF
46155
46156 fi
46157 fi
46158
46159
46160 if test "$cross_compiling" = "yes"; then
46161 OSINFO="\"$host\""
46162 else
46163 OSINFO=`uname -s -r -m`
46164 OSINFO="\"$OSINFO\""
46165 fi
46166
46167 cat >>confdefs.h <<_ACEOF
46168 #define WXWIN_OS_DESCRIPTION $OSINFO
46169 _ACEOF
46170
46171
46172
46173 if test "x$prefix" != "xNONE"; then
46174 wxPREFIX=$prefix
46175 else
46176 wxPREFIX=$ac_default_prefix
46177 fi
46178
46179 cat >>confdefs.h <<_ACEOF
46180 #define wxINSTALL_PREFIX "$wxPREFIX"
46181 _ACEOF
46182
46183
46184
46185
46186 STD_BASE_LIBS="base"
46187 STD_GUI_LIBS=""
46188 BUILT_WX_LIBS="base"
46189 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46190
46191 if test "$wxUSE_SOCKETS" = "yes" ; then
46192 STD_BASE_LIBS="net $STD_BASE_LIBS"
46193 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46194 fi
46195 if test "$wxUSE_XML" = "yes" ; then
46196 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46197 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46198 fi
46199
46200 if test "$wxUSE_GUI" = "yes"; then
46201 STD_GUI_LIBS="adv core"
46202 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46203
46204 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46205 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46206 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46207 fi
46208 if test "$wxUSE_HTML" = "yes" ; then
46209 STD_GUI_LIBS="html $STD_GUI_LIBS"
46210 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46211 fi
46212 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46213 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46214 fi
46215 if test "$wxUSE_OPENGL" = "yes" ; then
46216 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46217 fi
46218 if test "$wxUSE_AUI" = "yes" ; then
46219 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46220 fi
46221 if test "$wxUSE_STC" = "yes" ; then
46222 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46223 fi
46224 if test "$wxUSE_XRC" = "yes" ; then
46225 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46226 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46227 fi
46228 fi
46229
46230
46231
46232
46233
46234
46235
46236
46237 if test "$wxUSE_MAC" = 1 ; then
46238 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46239 if test "$USE_DARWIN" = 1; then
46240 LDFLAGS="$LDFLAGS -framework QuickTime"
46241 else
46242 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46243 fi
46244 fi
46245 if test "$USE_DARWIN" = 1; then
46246 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46247 else
46248 LDFLAGS="$LDFLAGS -lCarbonLib"
46249 fi
46250 fi
46251 if test "$wxUSE_COCOA" = 1 ; then
46252 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46253 if test "$wxUSE_MEDIACTRL" = "yes"; then
46254 LDFLAGS="$LDFLAGS -framework QuickTime"
46255 fi
46256 fi
46257 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46258 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46259 fi
46260
46261 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46262
46263 if test "$wxUSE_GUI" = "yes"; then
46264
46265
46266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46267 erase event exec font image minimal mobile \
46268 mobile/wxedit mobile/styles render \
46269 shaped svg taborder vscroll widgets"
46270
46271 if test "$wxUSE_MONOLITHIC" != "yes"; then
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46273 fi
46274 if test "$TOOLKIT" = "MSW"; then
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46276 if test "$wxUSE_UNIVERSAL" != "yes"; then
46277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46278 fi
46279 fi
46280 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46282 fi
46283 else
46284 SAMPLES_SUBDIRS="console"
46285 fi
46286
46287
46288 if test "x$INTELCC" = "xyes" ; then
46289 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46290 elif test "$GCC" = yes ; then
46291 CWARNINGS="-Wall -Wundef"
46292 fi
46293
46294 if test "x$INTELCXX" = "xyes" ; then
46295 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46296 elif test "$GXX" = yes ; then
46297 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46298 fi
46299
46300
46301 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46302 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46303
46304
46305 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46306 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46307 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46308 $CPPFLAGS `
46309
46310 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46311 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46312 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46313
46314 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46315
46316
46317 if test "x$MWCC" = "xyes"; then
46318
46319 CC="$CC -cwd source -I-"
46320 CXX="$CXX -cwd source -I-"
46321 fi
46322
46323
46324 LIBS=`echo $LIBS`
46325 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46326 EXTRALIBS_XML="$EXPAT_LINK"
46327 EXTRALIBS_HTML="$MSPACK_LINK"
46328 EXTRALIBS_MEDIA="$GST_LIBS"
46329 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46330 if test "$wxUSE_GUI" = "yes"; then
46331 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46332 fi
46333 if test "$wxUSE_OPENGL" = "yes"; then
46334 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46335 fi
46336
46337 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46338
46339 WXCONFIG_LIBS="$LIBS"
46340
46341 if test "$wxUSE_REGEX" = "builtin" ; then
46342 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46343 fi
46344 if test "$wxUSE_EXPAT" = "builtin" ; then
46345 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46346 fi
46347 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46348 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46349 fi
46350 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46351 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46352 fi
46353 if test "$wxUSE_LIBPNG" = "builtin" ; then
46354 wxconfig_3rdparty="png $wxconfig_3rdparty"
46355 fi
46356 if test "$wxUSE_ZLIB" = "builtin" ; then
46357 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46358 fi
46359
46360 for i in $wxconfig_3rdparty ; do
46361 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46362 done
46363
46364
46365 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46366 WXUNIV=1
46367
46368 case "$wxUNIV_THEMES" in
46369 ''|all)
46370 cat >>confdefs.h <<\_ACEOF
46371 #define wxUSE_ALL_THEMES 1
46372 _ACEOF
46373
46374 ;;
46375
46376 *)
46377 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46378 cat >>confdefs.h <<_ACEOF
46379 #define wxUSE_THEME_$t 1
46380 _ACEOF
46381
46382 done
46383 esac
46384 else
46385 WXUNIV=0
46386 fi
46387
46388
46389
46390
46391
46392
46393
46394
46395 if test $wxUSE_MONOLITHIC = "yes" ; then
46396 MONOLITHIC=1
46397 else
46398 MONOLITHIC=0
46399 fi
46400
46401 if test $wxUSE_PLUGINS = "yes" ; then
46402 USE_PLUGINS=1
46403 else
46404 USE_PLUGINS=0
46405 fi
46406
46407 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46408 USE_QA=1
46409 else
46410 USE_QA=0
46411 fi
46412
46413 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46414 OFFICIAL_BUILD=1
46415 else
46416 OFFICIAL_BUILD=0
46417 fi
46418
46419
46420
46421
46422
46423
46424
46425
46426
46427
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46446
46447
46448
46449
46450
46451
46452
46453
46454 case "$TOOLKIT" in
46455 GTK)
46456 TOOLKIT_DESC="GTK+"
46457 if test "$WXGTK2" = 1; then
46458 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46459 if test "$wxUSE_GTKPRINT" = "yes" ; then
46460 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46461 fi
46462 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46463 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46464 fi
46465 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46466 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46467 fi
46468 if test "$wxUSE_LIBHILDON" = "yes"; then
46469 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46470 fi
46471
46472 if test "$TOOLKIT_EXTRA" != ""; then
46473 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46474 fi
46475 fi
46476 ;;
46477
46478 ?*)
46479 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46480 ;;
46481
46482 *)
46483 TOOLKIT_DESC="base only"
46484 ;;
46485 esac
46486
46487 if test "$wxUSE_WINE" = "yes"; then
46488 BAKEFILE_FORCE_PLATFORM=win32
46489 fi
46490
46491 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46492 then
46493 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46494 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46495 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46496 echo $ECHO_N "(cached) $ECHO_C" >&6
46497 else
46498
46499 echo '#include <stdio.h>
46500 const wchar_t test_var[] = L"awidetest";' > conftest.h
46501
46502 echo '#include "conftest.h"
46503 int main()
46504 {
46505 printf("%ls", test_var);
46506 return 0;
46507 }' > conftest.cpp
46508
46509 wx_cv_gcc_pch_bug="pch not supported"
46510
46511 if $CXX conftest.h >/dev/null 2>&1
46512 then
46513 wx_cv_gcc_pch_bug=
46514
46515 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46516 then
46517 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46518 grep awidetest >/dev/null
46519 then
46520 wx_cv_gcc_pch_bug=no
46521 else
46522 wx_cv_gcc_pch_bug=yes
46523 fi
46524 fi
46525 fi
46526
46527 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46528
46529 fi
46530 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46531 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46532
46533 if test "$wx_cv_gcc_pch_bug" = yes; then
46534 bk_use_pch=no
46535 fi
46536 fi
46537
46538
46539
46540
46541 if test "x$BAKEFILE_HOST" = "x"; then
46542 if test "x${host}" = "x" ; then
46543 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46544 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46545 { (exit 1); exit 1; }; }
46546 fi
46547
46548 BAKEFILE_HOST="${host}"
46549 fi
46550
46551 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46552
46553 if test -n "$ac_tool_prefix"; then
46554 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46555 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46558 if test "${ac_cv_prog_RANLIB+set}" = set; then
46559 echo $ECHO_N "(cached) $ECHO_C" >&6
46560 else
46561 if test -n "$RANLIB"; then
46562 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46563 else
46564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46565 for as_dir in $PATH
46566 do
46567 IFS=$as_save_IFS
46568 test -z "$as_dir" && as_dir=.
46569 for ac_exec_ext in '' $ac_executable_extensions; do
46570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46571 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46573 break 2
46574 fi
46575 done
46576 done
46577 IFS=$as_save_IFS
46578
46579 fi
46580 fi
46581 RANLIB=$ac_cv_prog_RANLIB
46582 if test -n "$RANLIB"; then
46583 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46584 echo "${ECHO_T}$RANLIB" >&6; }
46585 else
46586 { echo "$as_me:$LINENO: result: no" >&5
46587 echo "${ECHO_T}no" >&6; }
46588 fi
46589
46590
46591 fi
46592 if test -z "$ac_cv_prog_RANLIB"; then
46593 ac_ct_RANLIB=$RANLIB
46594 # Extract the first word of "ranlib", so it can be a program name with args.
46595 set dummy ranlib; ac_word=$2
46596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46598 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46599 echo $ECHO_N "(cached) $ECHO_C" >&6
46600 else
46601 if test -n "$ac_ct_RANLIB"; then
46602 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46603 else
46604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46605 for as_dir in $PATH
46606 do
46607 IFS=$as_save_IFS
46608 test -z "$as_dir" && as_dir=.
46609 for ac_exec_ext in '' $ac_executable_extensions; do
46610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46611 ac_cv_prog_ac_ct_RANLIB="ranlib"
46612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46613 break 2
46614 fi
46615 done
46616 done
46617 IFS=$as_save_IFS
46618
46619 fi
46620 fi
46621 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46622 if test -n "$ac_ct_RANLIB"; then
46623 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46624 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46625 else
46626 { echo "$as_me:$LINENO: result: no" >&5
46627 echo "${ECHO_T}no" >&6; }
46628 fi
46629
46630 if test "x$ac_ct_RANLIB" = x; then
46631 RANLIB=":"
46632 else
46633 case $cross_compiling:$ac_tool_warned in
46634 yes:)
46635 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46636 whose name does not start with the host triplet. If you think this
46637 configuration is useful to you, please write to autoconf@gnu.org." >&5
46638 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46639 whose name does not start with the host triplet. If you think this
46640 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46641 ac_tool_warned=yes ;;
46642 esac
46643 RANLIB=$ac_ct_RANLIB
46644 fi
46645 else
46646 RANLIB="$ac_cv_prog_RANLIB"
46647 fi
46648
46649 # Find a good install program. We prefer a C program (faster),
46650 # so one script is as good as another. But avoid the broken or
46651 # incompatible versions:
46652 # SysV /etc/install, /usr/sbin/install
46653 # SunOS /usr/etc/install
46654 # IRIX /sbin/install
46655 # AIX /bin/install
46656 # AmigaOS /C/install, which installs bootblocks on floppy discs
46657 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46658 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46659 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46660 # OS/2's system install, which has a completely different semantic
46661 # ./install, which can be erroneously created by make from ./install.sh.
46662 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46663 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46664 if test -z "$INSTALL"; then
46665 if test "${ac_cv_path_install+set}" = set; then
46666 echo $ECHO_N "(cached) $ECHO_C" >&6
46667 else
46668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46669 for as_dir in $PATH
46670 do
46671 IFS=$as_save_IFS
46672 test -z "$as_dir" && as_dir=.
46673 # Account for people who put trailing slashes in PATH elements.
46674 case $as_dir/ in
46675 ./ | .// | /cC/* | \
46676 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46677 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46678 /usr/ucb/* ) ;;
46679 *)
46680 # OSF1 and SCO ODT 3.0 have their own names for install.
46681 # Don't use installbsd from OSF since it installs stuff as root
46682 # by default.
46683 for ac_prog in ginstall scoinst install; do
46684 for ac_exec_ext in '' $ac_executable_extensions; do
46685 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46686 if test $ac_prog = install &&
46687 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46688 # AIX install. It has an incompatible calling convention.
46689 :
46690 elif test $ac_prog = install &&
46691 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46692 # program-specific install script used by HP pwplus--don't use.
46693 :
46694 else
46695 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46696 break 3
46697 fi
46698 fi
46699 done
46700 done
46701 ;;
46702 esac
46703 done
46704 IFS=$as_save_IFS
46705
46706
46707 fi
46708 if test "${ac_cv_path_install+set}" = set; then
46709 INSTALL=$ac_cv_path_install
46710 else
46711 # As a last resort, use the slow shell script. Don't cache a
46712 # value for INSTALL within a source directory, because that will
46713 # break other packages using the cache if that directory is
46714 # removed, or if the value is a relative name.
46715 INSTALL=$ac_install_sh
46716 fi
46717 fi
46718 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46719 echo "${ECHO_T}$INSTALL" >&6; }
46720
46721 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46722 # It thinks the first close brace ends the variable substitution.
46723 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46724
46725 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46726
46727 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46728
46729 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46730 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46731 LN_S=$as_ln_s
46732 if test "$LN_S" = "ln -s"; then
46733 { echo "$as_me:$LINENO: result: yes" >&5
46734 echo "${ECHO_T}yes" >&6; }
46735 else
46736 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46737 echo "${ECHO_T}no, using $LN_S" >&6; }
46738 fi
46739
46740
46741 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46742 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46743 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46744 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46745 echo $ECHO_N "(cached) $ECHO_C" >&6
46746 else
46747 cat >conftest.make <<\_ACEOF
46748 SHELL = /bin/sh
46749 all:
46750 @echo '@@@%%%=$(MAKE)=@@@%%%'
46751 _ACEOF
46752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46753 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46754 *@@@%%%=?*=@@@%%%*)
46755 eval ac_cv_prog_make_${ac_make}_set=yes;;
46756 *)
46757 eval ac_cv_prog_make_${ac_make}_set=no;;
46758 esac
46759 rm -f conftest.make
46760 fi
46761 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46762 { echo "$as_me:$LINENO: result: yes" >&5
46763 echo "${ECHO_T}yes" >&6; }
46764 SET_MAKE=
46765 else
46766 { echo "$as_me:$LINENO: result: no" >&5
46767 echo "${ECHO_T}no" >&6; }
46768 SET_MAKE="MAKE=${MAKE-make}"
46769 fi
46770
46771
46772
46773 if test "x$SUNCXX" = "xyes"; then
46774 AR=$CXX
46775 AROPTIONS="-xar -o"
46776
46777 elif test "x$SGICC" = "xyes"; then
46778 AR=$CXX
46779 AROPTIONS="-ar -o"
46780
46781 else
46782 if test -n "$ac_tool_prefix"; then
46783 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46784 set dummy ${ac_tool_prefix}ar; ac_word=$2
46785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46787 if test "${ac_cv_prog_AR+set}" = set; then
46788 echo $ECHO_N "(cached) $ECHO_C" >&6
46789 else
46790 if test -n "$AR"; then
46791 ac_cv_prog_AR="$AR" # Let the user override the test.
46792 else
46793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46794 for as_dir in $PATH
46795 do
46796 IFS=$as_save_IFS
46797 test -z "$as_dir" && as_dir=.
46798 for ac_exec_ext in '' $ac_executable_extensions; do
46799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46800 ac_cv_prog_AR="${ac_tool_prefix}ar"
46801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46802 break 2
46803 fi
46804 done
46805 done
46806 IFS=$as_save_IFS
46807
46808 fi
46809 fi
46810 AR=$ac_cv_prog_AR
46811 if test -n "$AR"; then
46812 { echo "$as_me:$LINENO: result: $AR" >&5
46813 echo "${ECHO_T}$AR" >&6; }
46814 else
46815 { echo "$as_me:$LINENO: result: no" >&5
46816 echo "${ECHO_T}no" >&6; }
46817 fi
46818
46819
46820 fi
46821 if test -z "$ac_cv_prog_AR"; then
46822 ac_ct_AR=$AR
46823 # Extract the first word of "ar", so it can be a program name with args.
46824 set dummy ar; ac_word=$2
46825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46827 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46828 echo $ECHO_N "(cached) $ECHO_C" >&6
46829 else
46830 if test -n "$ac_ct_AR"; then
46831 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46832 else
46833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46834 for as_dir in $PATH
46835 do
46836 IFS=$as_save_IFS
46837 test -z "$as_dir" && as_dir=.
46838 for ac_exec_ext in '' $ac_executable_extensions; do
46839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46840 ac_cv_prog_ac_ct_AR="ar"
46841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46842 break 2
46843 fi
46844 done
46845 done
46846 IFS=$as_save_IFS
46847
46848 fi
46849 fi
46850 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46851 if test -n "$ac_ct_AR"; then
46852 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46853 echo "${ECHO_T}$ac_ct_AR" >&6; }
46854 else
46855 { echo "$as_me:$LINENO: result: no" >&5
46856 echo "${ECHO_T}no" >&6; }
46857 fi
46858
46859 if test "x$ac_ct_AR" = x; then
46860 AR="ar"
46861 else
46862 case $cross_compiling:$ac_tool_warned in
46863 yes:)
46864 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46865 whose name does not start with the host triplet. If you think this
46866 configuration is useful to you, please write to autoconf@gnu.org." >&5
46867 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46868 whose name does not start with the host triplet. If you think this
46869 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46870 ac_tool_warned=yes ;;
46871 esac
46872 AR=$ac_ct_AR
46873 fi
46874 else
46875 AR="$ac_cv_prog_AR"
46876 fi
46877
46878 AROPTIONS=rcu
46879 fi
46880
46881
46882 if test -n "$ac_tool_prefix"; then
46883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46884 set dummy ${ac_tool_prefix}strip; ac_word=$2
46885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46887 if test "${ac_cv_prog_STRIP+set}" = set; then
46888 echo $ECHO_N "(cached) $ECHO_C" >&6
46889 else
46890 if test -n "$STRIP"; then
46891 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46892 else
46893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46894 for as_dir in $PATH
46895 do
46896 IFS=$as_save_IFS
46897 test -z "$as_dir" && as_dir=.
46898 for ac_exec_ext in '' $ac_executable_extensions; do
46899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46900 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46902 break 2
46903 fi
46904 done
46905 done
46906 IFS=$as_save_IFS
46907
46908 fi
46909 fi
46910 STRIP=$ac_cv_prog_STRIP
46911 if test -n "$STRIP"; then
46912 { echo "$as_me:$LINENO: result: $STRIP" >&5
46913 echo "${ECHO_T}$STRIP" >&6; }
46914 else
46915 { echo "$as_me:$LINENO: result: no" >&5
46916 echo "${ECHO_T}no" >&6; }
46917 fi
46918
46919
46920 fi
46921 if test -z "$ac_cv_prog_STRIP"; then
46922 ac_ct_STRIP=$STRIP
46923 # Extract the first word of "strip", so it can be a program name with args.
46924 set dummy strip; ac_word=$2
46925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46927 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46928 echo $ECHO_N "(cached) $ECHO_C" >&6
46929 else
46930 if test -n "$ac_ct_STRIP"; then
46931 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46932 else
46933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46934 for as_dir in $PATH
46935 do
46936 IFS=$as_save_IFS
46937 test -z "$as_dir" && as_dir=.
46938 for ac_exec_ext in '' $ac_executable_extensions; do
46939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46940 ac_cv_prog_ac_ct_STRIP="strip"
46941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46942 break 2
46943 fi
46944 done
46945 done
46946 IFS=$as_save_IFS
46947
46948 fi
46949 fi
46950 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46951 if test -n "$ac_ct_STRIP"; then
46952 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46953 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46954 else
46955 { echo "$as_me:$LINENO: result: no" >&5
46956 echo "${ECHO_T}no" >&6; }
46957 fi
46958
46959 if test "x$ac_ct_STRIP" = x; then
46960 STRIP=":"
46961 else
46962 case $cross_compiling:$ac_tool_warned in
46963 yes:)
46964 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46965 whose name does not start with the host triplet. If you think this
46966 configuration is useful to you, please write to autoconf@gnu.org." >&5
46967 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46968 whose name does not start with the host triplet. If you think this
46969 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46970 ac_tool_warned=yes ;;
46971 esac
46972 STRIP=$ac_ct_STRIP
46973 fi
46974 else
46975 STRIP="$ac_cv_prog_STRIP"
46976 fi
46977
46978 if test -n "$ac_tool_prefix"; then
46979 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46980 set dummy ${ac_tool_prefix}nm; ac_word=$2
46981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46983 if test "${ac_cv_prog_NM+set}" = set; then
46984 echo $ECHO_N "(cached) $ECHO_C" >&6
46985 else
46986 if test -n "$NM"; then
46987 ac_cv_prog_NM="$NM" # Let the user override the test.
46988 else
46989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46990 for as_dir in $PATH
46991 do
46992 IFS=$as_save_IFS
46993 test -z "$as_dir" && as_dir=.
46994 for ac_exec_ext in '' $ac_executable_extensions; do
46995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46996 ac_cv_prog_NM="${ac_tool_prefix}nm"
46997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46998 break 2
46999 fi
47000 done
47001 done
47002 IFS=$as_save_IFS
47003
47004 fi
47005 fi
47006 NM=$ac_cv_prog_NM
47007 if test -n "$NM"; then
47008 { echo "$as_me:$LINENO: result: $NM" >&5
47009 echo "${ECHO_T}$NM" >&6; }
47010 else
47011 { echo "$as_me:$LINENO: result: no" >&5
47012 echo "${ECHO_T}no" >&6; }
47013 fi
47014
47015
47016 fi
47017 if test -z "$ac_cv_prog_NM"; then
47018 ac_ct_NM=$NM
47019 # Extract the first word of "nm", so it can be a program name with args.
47020 set dummy nm; ac_word=$2
47021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47023 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47024 echo $ECHO_N "(cached) $ECHO_C" >&6
47025 else
47026 if test -n "$ac_ct_NM"; then
47027 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47028 else
47029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47030 for as_dir in $PATH
47031 do
47032 IFS=$as_save_IFS
47033 test -z "$as_dir" && as_dir=.
47034 for ac_exec_ext in '' $ac_executable_extensions; do
47035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47036 ac_cv_prog_ac_ct_NM="nm"
47037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47038 break 2
47039 fi
47040 done
47041 done
47042 IFS=$as_save_IFS
47043
47044 fi
47045 fi
47046 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47047 if test -n "$ac_ct_NM"; then
47048 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47049 echo "${ECHO_T}$ac_ct_NM" >&6; }
47050 else
47051 { echo "$as_me:$LINENO: result: no" >&5
47052 echo "${ECHO_T}no" >&6; }
47053 fi
47054
47055 if test "x$ac_ct_NM" = x; then
47056 NM=":"
47057 else
47058 case $cross_compiling:$ac_tool_warned in
47059 yes:)
47060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47061 whose name does not start with the host triplet. If you think this
47062 configuration is useful to you, please write to autoconf@gnu.org." >&5
47063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47064 whose name does not start with the host triplet. If you think this
47065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47066 ac_tool_warned=yes ;;
47067 esac
47068 NM=$ac_ct_NM
47069 fi
47070 else
47071 NM="$ac_cv_prog_NM"
47072 fi
47073
47074
47075 case ${BAKEFILE_HOST} in
47076 *-hp-hpux* )
47077 INSTALL_DIR="mkdir -p"
47078 ;;
47079 * )
47080 INSTALL_DIR='$(INSTALL) -d'
47081 ;;
47082 esac
47083
47084
47085 LDFLAGS_GUI=
47086 case ${BAKEFILE_HOST} in
47087 *-*-cygwin* | *-*-mingw32* )
47088 LDFLAGS_GUI="-mwindows"
47089 esac
47090
47091
47092 fi
47093
47094 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47095 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47096 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47097 echo $ECHO_N "(cached) $ECHO_C" >&6
47098 else
47099
47100 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47101 egrep -s GNU > /dev/null); then
47102 bakefile_cv_prog_makeisgnu="yes"
47103 else
47104 bakefile_cv_prog_makeisgnu="no"
47105 fi
47106
47107 fi
47108 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47109 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47110
47111 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47112 IF_GNU_MAKE=""
47113 else
47114 IF_GNU_MAKE="#"
47115 fi
47116
47117
47118
47119 PLATFORM_UNIX=0
47120 PLATFORM_WIN32=0
47121 PLATFORM_MSDOS=0
47122 PLATFORM_MAC=0
47123 PLATFORM_MACOS=0
47124 PLATFORM_MACOSX=0
47125 PLATFORM_OS2=0
47126 PLATFORM_BEOS=0
47127
47128 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47129 case "${BAKEFILE_HOST}" in
47130 *-*-mingw32* )
47131 PLATFORM_WIN32=1
47132 ;;
47133 *-pc-msdosdjgpp )
47134 PLATFORM_MSDOS=1
47135 ;;
47136 *-pc-os2_emx | *-pc-os2-emx )
47137 PLATFORM_OS2=1
47138 ;;
47139 *-*-darwin* )
47140 PLATFORM_MAC=1
47141 PLATFORM_MACOSX=1
47142 ;;
47143 *-*-beos* )
47144 PLATFORM_BEOS=1
47145 ;;
47146 powerpc-apple-macos* )
47147 PLATFORM_MAC=1
47148 PLATFORM_MACOS=1
47149 ;;
47150 * )
47151 PLATFORM_UNIX=1
47152 ;;
47153 esac
47154 else
47155 case "$BAKEFILE_FORCE_PLATFORM" in
47156 win32 )
47157 PLATFORM_WIN32=1
47158 ;;
47159 msdos )
47160 PLATFORM_MSDOS=1
47161 ;;
47162 os2 )
47163 PLATFORM_OS2=1
47164 ;;
47165 darwin )
47166 PLATFORM_MAC=1
47167 PLATFORM_MACOSX=1
47168 ;;
47169 unix )
47170 PLATFORM_UNIX=1
47171 ;;
47172 beos )
47173 PLATFORM_BEOS=1
47174 ;;
47175 * )
47176 ;;
47177 esac
47178 fi
47179
47180
47181
47182
47183
47184
47185
47186
47187
47188
47189
47190 # Check whether --enable-omf was given.
47191 if test "${enable_omf+set}" = set; then
47192 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47193 fi
47194
47195
47196 case "${BAKEFILE_HOST}" in
47197 *-*-darwin* )
47198 if test "x$GCC" = "xyes"; then
47199 CFLAGS="$CFLAGS -fno-common"
47200 CXXFLAGS="$CXXFLAGS -fno-common"
47201 fi
47202 if test "x$XLCC" = "xyes"; then
47203 CFLAGS="$CFLAGS -qnocommon"
47204 CXXFLAGS="$CXXFLAGS -qnocommon"
47205 fi
47206 ;;
47207
47208 *-pc-os2_emx | *-pc-os2-emx )
47209 if test "x$bk_os2_use_omf" = "xyes" ; then
47210 AR=emxomfar
47211 RANLIB=:
47212 LDFLAGS="-Zomf $LDFLAGS"
47213 CFLAGS="-Zomf $CFLAGS"
47214 CXXFLAGS="-Zomf $CXXFLAGS"
47215 OS2_LIBEXT="lib"
47216 else
47217 OS2_LIBEXT="a"
47218 fi
47219 ;;
47220
47221 i*86-*-beos* )
47222 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47223 ;;
47224 esac
47225
47226
47227 SO_SUFFIX="so"
47228 SO_SUFFIX_MODULE="so"
47229 EXEEXT=""
47230 LIBPREFIX="lib"
47231 LIBEXT=".a"
47232 DLLPREFIX="lib"
47233 DLLPREFIX_MODULE=""
47234 DLLIMP_SUFFIX=""
47235 dlldir="$libdir"
47236
47237 case "${BAKEFILE_HOST}" in
47238 *-hp-hpux* )
47239 SO_SUFFIX="sl"
47240 SO_SUFFIX_MODULE="sl"
47241 ;;
47242 *-*-aix* )
47243 SO_SUFFIX="a"
47244 SO_SUFFIX_MODULE="a"
47245 ;;
47246 *-*-cygwin* )
47247 SO_SUFFIX="dll"
47248 SO_SUFFIX_MODULE="dll"
47249 DLLIMP_SUFFIX="dll.a"
47250 EXEEXT=".exe"
47251 DLLPREFIX="cyg"
47252 dlldir="$bindir"
47253 ;;
47254 *-*-mingw32* )
47255 SO_SUFFIX="dll"
47256 SO_SUFFIX_MODULE="dll"
47257 DLLIMP_SUFFIX="dll.a"
47258 EXEEXT=".exe"
47259 DLLPREFIX=""
47260 dlldir="$bindir"
47261 ;;
47262 *-pc-msdosdjgpp )
47263 EXEEXT=".exe"
47264 DLLPREFIX=""
47265 dlldir="$bindir"
47266 ;;
47267 *-pc-os2_emx | *-pc-os2-emx )
47268 SO_SUFFIX="dll"
47269 SO_SUFFIX_MODULE="dll"
47270 DLLIMP_SUFFIX=$OS2_LIBEXT
47271 EXEEXT=".exe"
47272 DLLPREFIX=""
47273 LIBPREFIX=""
47274 LIBEXT=".$OS2_LIBEXT"
47275 dlldir="$bindir"
47276 ;;
47277 *-*-darwin* )
47278 SO_SUFFIX="dylib"
47279 SO_SUFFIX_MODULE="bundle"
47280 ;;
47281 esac
47282
47283 if test "x$DLLIMP_SUFFIX" = "x" ; then
47284 DLLIMP_SUFFIX="$SO_SUFFIX"
47285 fi
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298 PIC_FLAG=""
47299 if test "x$GCC" = "xyes"; then
47300 PIC_FLAG="-fPIC"
47301 fi
47302
47303 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47304 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47305 WINDOWS_IMPLIB=0
47306
47307 case "${BAKEFILE_HOST}" in
47308 *-hp-hpux* )
47309 if test "x$GCC" != "xyes"; then
47310 LDFLAGS="$LDFLAGS -L/usr/lib"
47311
47312 SHARED_LD_CC="${CC} -b -o"
47313 SHARED_LD_CXX="${CXX} -b -o"
47314 PIC_FLAG="+Z"
47315 fi
47316 ;;
47317
47318 *-*-linux* )
47319 if test "$INTELCC" = "yes"; then
47320 PIC_FLAG="-KPIC"
47321 elif test "x$SUNCXX" = "xyes"; then
47322 SHARED_LD_CC="${CC} -G -o"
47323 SHARED_LD_CXX="${CXX} -G -o"
47324 PIC_FLAG="-KPIC"
47325 fi
47326 ;;
47327
47328 *-*-solaris2* )
47329 if test "x$SUNCXX" = xyes ; then
47330 SHARED_LD_CC="${CC} -G -o"
47331 SHARED_LD_CXX="${CXX} -G -o"
47332 PIC_FLAG="-KPIC"
47333 fi
47334 ;;
47335
47336 *-*-darwin* )
47337
47338 D='$'
47339 cat <<EOF >shared-ld-sh
47340 #!/bin/sh
47341 #-----------------------------------------------------------------------------
47342 #-- Name: distrib/mac/shared-ld-sh
47343 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47344 #-- Author: Gilles Depeyrot
47345 #-- Copyright: (c) 2002 Gilles Depeyrot
47346 #-- Licence: any use permitted
47347 #-----------------------------------------------------------------------------
47348
47349 verbose=0
47350 args=""
47351 objects=""
47352 linking_flag="-dynamiclib"
47353 ldargs="-r -keep_private_externs -nostdlib"
47354
47355 while test ${D}# -gt 0; do
47356 case ${D}1 in
47357
47358 -v)
47359 verbose=1
47360 ;;
47361
47362 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47363 # collect these options and values
47364 args="${D}{args} ${D}1 ${D}2"
47365 shift
47366 ;;
47367
47368 -s|-Wl,*)
47369 # collect these load args
47370 ldargs="${D}{ldargs} ${D}1"
47371 ;;
47372
47373 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47374 # collect these options
47375 args="${D}{args} ${D}1"
47376 ;;
47377
47378 -dynamiclib|-bundle)
47379 linking_flag="${D}1"
47380 ;;
47381
47382 -*)
47383 echo "shared-ld: unhandled option '${D}1'"
47384 exit 1
47385 ;;
47386
47387 *.o | *.a | *.dylib)
47388 # collect object files
47389 objects="${D}{objects} ${D}1"
47390 ;;
47391
47392 *)
47393 echo "shared-ld: unhandled argument '${D}1'"
47394 exit 1
47395 ;;
47396
47397 esac
47398 shift
47399 done
47400
47401 status=0
47402
47403 #
47404 # Link one module containing all the others
47405 #
47406 if test ${D}{verbose} = 1; then
47407 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47408 fi
47409 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47410 status=${D}?
47411
47412 #
47413 # Link the shared library from the single module created, but only if the
47414 # previous command didn't fail:
47415 #
47416 if test ${D}{status} = 0; then
47417 if test ${D}{verbose} = 1; then
47418 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47419 fi
47420 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47421 status=${D}?
47422 fi
47423
47424 #
47425 # Remove intermediate module
47426 #
47427 rm -f master.${D}${D}.o
47428
47429 exit ${D}status
47430 EOF
47431
47432 chmod +x shared-ld-sh
47433
47434 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47435 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47436
47437
47438 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47439 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47440 if test "${bakefile_cv_gcc31+set}" = set; then
47441 echo $ECHO_N "(cached) $ECHO_C" >&6
47442 else
47443
47444 cat >conftest.$ac_ext <<_ACEOF
47445 /* confdefs.h. */
47446 _ACEOF
47447 cat confdefs.h >>conftest.$ac_ext
47448 cat >>conftest.$ac_ext <<_ACEOF
47449 /* end confdefs.h. */
47450
47451 int
47452 main ()
47453 {
47454
47455 #if (__GNUC__ < 3) || \
47456 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47457 This is old gcc
47458 #endif
47459
47460 ;
47461 return 0;
47462 }
47463 _ACEOF
47464 rm -f conftest.$ac_objext
47465 if { (ac_try="$ac_compile"
47466 case "(($ac_try" in
47467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47468 *) ac_try_echo=$ac_try;;
47469 esac
47470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47471 (eval "$ac_compile") 2>conftest.er1
47472 ac_status=$?
47473 grep -v '^ *+' conftest.er1 >conftest.err
47474 rm -f conftest.er1
47475 cat conftest.err >&5
47476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47477 (exit $ac_status); } && {
47478 test -z "$ac_c_werror_flag" ||
47479 test ! -s conftest.err
47480 } && test -s conftest.$ac_objext; then
47481
47482 bakefile_cv_gcc31=yes
47483
47484 else
47485 echo "$as_me: failed program was:" >&5
47486 sed 's/^/| /' conftest.$ac_ext >&5
47487
47488
47489 bakefile_cv_gcc31=no
47490
47491
47492 fi
47493
47494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47495
47496 fi
47497 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47498 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47499 if test "$bakefile_cv_gcc31" = "no"; then
47500 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47501 SHARED_LD_CXX="$SHARED_LD_CC"
47502 else
47503 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47504 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47505 fi
47506
47507 if test "x$GCC" == "xyes"; then
47508 PIC_FLAG="-dynamic -fPIC"
47509 fi
47510 if test "x$XLCC" = "xyes"; then
47511 PIC_FLAG="-dynamic -DPIC"
47512 fi
47513 ;;
47514
47515 *-*-aix* )
47516 if test "x$GCC" = "xyes"; then
47517 PIC_FLAG=""
47518
47519 case "${BAKEFILE_HOST}" in
47520 *-*-aix5* )
47521 LD_EXPFULL="-Wl,-bexpfull"
47522 ;;
47523 esac
47524
47525 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47526 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47527 else
47528 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47529 set dummy makeC++SharedLib; ac_word=$2
47530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47532 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47533 echo $ECHO_N "(cached) $ECHO_C" >&6
47534 else
47535 if test -n "$AIX_CXX_LD"; then
47536 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47537 else
47538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47539 for as_dir in $PATH
47540 do
47541 IFS=$as_save_IFS
47542 test -z "$as_dir" && as_dir=.
47543 for ac_exec_ext in '' $ac_executable_extensions; do
47544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47545 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47547 break 2
47548 fi
47549 done
47550 done
47551 IFS=$as_save_IFS
47552
47553 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47554 fi
47555 fi
47556 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47557 if test -n "$AIX_CXX_LD"; then
47558 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47559 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47560 else
47561 { echo "$as_me:$LINENO: result: no" >&5
47562 echo "${ECHO_T}no" >&6; }
47563 fi
47564
47565
47566 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47567 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47568 fi
47569 ;;
47570
47571 *-*-beos* )
47572 SHARED_LD_CC="${LD} -nostart -o"
47573 SHARED_LD_CXX="${LD} -nostart -o"
47574 ;;
47575
47576 *-*-irix* )
47577 if test "x$GCC" != "xyes"; then
47578 PIC_FLAG="-KPIC"
47579 fi
47580 ;;
47581
47582 *-*-cygwin* | *-*-mingw32* )
47583 PIC_FLAG=""
47584 SHARED_LD_CC="\$(CC) -shared -o"
47585 SHARED_LD_CXX="\$(CXX) -shared -o"
47586 WINDOWS_IMPLIB=1
47587 ;;
47588
47589 *-pc-os2_emx | *-pc-os2-emx )
47590 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47591 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47592 PIC_FLAG=""
47593
47594 D='$'
47595 cat <<EOF >dllar.sh
47596 #!/bin/sh
47597 #
47598 # dllar - a tool to build both a .dll and an .a file
47599 # from a set of object (.o) files for EMX/OS2.
47600 #
47601 # Written by Andrew Zabolotny, bit@freya.etu.ru
47602 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47603 #
47604 # This script will accept a set of files on the command line.
47605 # All the public symbols from the .o files will be exported into
47606 # a .DEF file, then linker will be run (through gcc) against them to
47607 # build a shared library consisting of all given .o files. All libraries
47608 # (.a) will be first decompressed into component .o files then act as
47609 # described above. You can optionally give a description (-d "description")
47610 # which will be put into .DLL. To see the list of accepted options (as well
47611 # as command-line format) simply run this program without options. The .DLL
47612 # is built to be imported by name (there is no guarantee that new versions
47613 # of the library you build will have same ordinals for same symbols).
47614 #
47615 # dllar is free software; you can redistribute it and/or modify
47616 # it under the terms of the GNU General Public License as published by
47617 # the Free Software Foundation; either version 2, or (at your option)
47618 # any later version.
47619 #
47620 # dllar is distributed in the hope that it will be useful,
47621 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47622 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47623 # GNU General Public License for more details.
47624 #
47625 # You should have received a copy of the GNU General Public License
47626 # along with dllar; see the file COPYING. If not, write to the Free
47627 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47628 # 02111-1307, USA.
47629
47630 # To successfuly run this program you will need:
47631 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47632 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47633 # - gcc
47634 # (used to build the .dll)
47635 # - emxexp
47636 # (used to create .def file from .o files)
47637 # - emximp
47638 # (used to create .a file from .def file)
47639 # - GNU text utilites (cat, sort, uniq)
47640 # used to process emxexp output
47641 # - GNU file utilities (mv, rm)
47642 # - GNU sed
47643 # - lxlite (optional, see flag below)
47644 # (used for general .dll cleanup)
47645 #
47646
47647 flag_USE_LXLITE=1;
47648
47649 #
47650 # helper functions
47651 # basnam, variant of basename, which does _not_ remove the path, _iff_
47652 # second argument (suffix to remove) is given
47653 basnam(){
47654 case ${D}# in
47655 1)
47656 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47657 ;;
47658 2)
47659 echo ${D}1 | sed 's/'${D}2'${D}//'
47660 ;;
47661 *)
47662 echo "error in basnam ${D}*"
47663 exit 8
47664 ;;
47665 esac
47666 }
47667
47668 # Cleanup temporary files and output
47669 CleanUp() {
47670 cd ${D}curDir
47671 for i in ${D}inputFiles ; do
47672 case ${D}i in
47673 *!)
47674 rm -rf \`basnam ${D}i !\`
47675 ;;
47676 *)
47677 ;;
47678 esac
47679 done
47680
47681 # Kill result in case of failure as there is just to many stupid make/nmake
47682 # things out there which doesn't do this.
47683 if [ ${D}# -eq 0 ]; then
47684 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47685 fi
47686 }
47687
47688 # Print usage and exit script with rc=1.
47689 PrintHelp() {
47690 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47691 echo ' [-name-mangler-script script.sh]'
47692 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47693 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47694 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47695 echo ' [*.o] [*.a]'
47696 echo '*> "output_file" should have no extension.'
47697 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47698 echo ' The import library name is derived from this and is set to "name".a,'
47699 echo ' unless overridden by -import'
47700 echo '*> "importlib_name" should have no extension.'
47701 echo ' If it has the .o, or .a extension, it is automatically removed.'
47702 echo ' This name is used as the import library name and may be longer and'
47703 echo ' more descriptive than the DLL name which has to follow the old '
47704 echo ' 8.3 convention of FAT.'
47705 echo '*> "script.sh may be given to override the output_file name by a'
47706 echo ' different name. It is mainly useful if the regular make process'
47707 echo ' of some package does not take into account OS/2 restriction of'
47708 echo ' DLL name lengths. It takes the importlib name as input and is'
47709 echo ' supposed to procude a shorter name as output. The script should'
47710 echo ' expect to get importlib_name without extension and should produce'
47711 echo ' a (max.) 8 letter name without extension.'
47712 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47713 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47714 echo ' These flags will be put at the start of GCC command line.'
47715 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47716 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47717 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47718 echo ' If the last character of a symbol is "*", all symbols beginning'
47719 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47720 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47721 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47722 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47723 echo ' C runtime DLLs.'
47724 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47725 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47726 echo ' unchanged to GCC at the end of command line.'
47727 echo '*> If you create a DLL from a library and you do not specify -o,'
47728 echo ' the basename for DLL and import library will be set to library name,'
47729 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47730 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47731 echo ' library will be renamed into gcc_s.a.'
47732 echo '--------'
47733 echo 'Example:'
47734 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47735 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47736 CleanUp
47737 exit 1
47738 }
47739
47740 # Execute a command.
47741 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47742 # @Uses Whatever CleanUp() uses.
47743 doCommand() {
47744 echo "${D}*"
47745 eval ${D}*
47746 rcCmd=${D}?
47747
47748 if [ ${D}rcCmd -ne 0 ]; then
47749 echo "command failed, exit code="${D}rcCmd
47750 CleanUp
47751 exit ${D}rcCmd
47752 fi
47753 }
47754
47755 # main routine
47756 # setup globals
47757 cmdLine=${D}*
47758 outFile=""
47759 outimpFile=""
47760 inputFiles=""
47761 renameScript=""
47762 description=""
47763 CC=gcc.exe
47764 CFLAGS="-s -Zcrtdll"
47765 EXTRA_CFLAGS=""
47766 EXPORT_BY_ORDINALS=0
47767 exclude_symbols=""
47768 library_flags=""
47769 curDir=\`pwd\`
47770 curDirS=curDir
47771 case ${D}curDirS in
47772 */)
47773 ;;
47774 *)
47775 curDirS=${D}{curDirS}"/"
47776 ;;
47777 esac
47778 # Parse commandline
47779 libsToLink=0
47780 omfLinking=0
47781 while [ ${D}1 ]; do
47782 case ${D}1 in
47783 -ord*)
47784 EXPORT_BY_ORDINALS=1;
47785 ;;
47786 -o*)
47787 shift
47788 outFile=${D}1
47789 ;;
47790 -i*)
47791 shift
47792 outimpFile=${D}1
47793 ;;
47794 -name-mangler-script)
47795 shift
47796 renameScript=${D}1
47797 ;;
47798 -d*)
47799 shift
47800 description=${D}1
47801 ;;
47802 -f*)
47803 shift
47804 CFLAGS=${D}1
47805 ;;
47806 -c*)
47807 shift
47808 CC=${D}1
47809 ;;
47810 -h*)
47811 PrintHelp
47812 ;;
47813 -ex*)
47814 shift
47815 exclude_symbols=${D}{exclude_symbols}${D}1" "
47816 ;;
47817 -libf*)
47818 shift
47819 library_flags=${D}{library_flags}${D}1" "
47820 ;;
47821 -nocrt*)
47822 CFLAGS="-s"
47823 ;;
47824 -nolxl*)
47825 flag_USE_LXLITE=0
47826 ;;
47827 -* | /*)
47828 case ${D}1 in
47829 -L* | -l*)
47830 libsToLink=1
47831 ;;
47832 -Zomf)
47833 omfLinking=1
47834 ;;
47835 *)
47836 ;;
47837 esac
47838 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47839 ;;
47840 *.dll)
47841 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47842 if [ ${D}omfLinking -eq 1 ]; then
47843 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47844 else
47845 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47846 fi
47847 ;;
47848 *)
47849 found=0;
47850 if [ ${D}libsToLink -ne 0 ]; then
47851 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47852 else
47853 for file in ${D}1 ; do
47854 if [ -f ${D}file ]; then
47855 inputFiles="${D}{inputFiles} ${D}file"
47856 found=1
47857 fi
47858 done
47859 if [ ${D}found -eq 0 ]; then
47860 echo "ERROR: No file(s) found: "${D}1
47861 exit 8
47862 fi
47863 fi
47864 ;;
47865 esac
47866 shift
47867 done # iterate cmdline words
47868
47869 #
47870 if [ -z "${D}inputFiles" ]; then
47871 echo "dllar: no input files"
47872 PrintHelp
47873 fi
47874
47875 # Now extract all .o files from .a files
47876 newInputFiles=""
47877 for file in ${D}inputFiles ; do
47878 case ${D}file in
47879 *.a | *.lib)
47880 case ${D}file in
47881 *.a)
47882 suffix=".a"
47883 AR="ar"
47884 ;;
47885 *.lib)
47886 suffix=".lib"
47887 AR="emxomfar"
47888 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47889 ;;
47890 *)
47891 ;;
47892 esac
47893 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47894 mkdir ${D}dirname
47895 if [ ${D}? -ne 0 ]; then
47896 echo "Failed to create subdirectory ./${D}dirname"
47897 CleanUp
47898 exit 8;
47899 fi
47900 # Append '!' to indicate archive
47901 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47902 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47903 cd ${D}curDir
47904 found=0;
47905 for subfile in ${D}dirname/*.o* ; do
47906 if [ -f ${D}subfile ]; then
47907 found=1
47908 if [ -s ${D}subfile ]; then
47909 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47910 newInputFiles="${D}newInputFiles ${D}subfile"
47911 fi
47912 fi
47913 done
47914 if [ ${D}found -eq 0 ]; then
47915 echo "WARNING: there are no files in archive \\'${D}file\\'"
47916 fi
47917 ;;
47918 *)
47919 newInputFiles="${D}{newInputFiles} ${D}file"
47920 ;;
47921 esac
47922 done
47923 inputFiles="${D}newInputFiles"
47924
47925 # Output filename(s).
47926 do_backup=0;
47927 if [ -z ${D}outFile ]; then
47928 do_backup=1;
47929 set outFile ${D}inputFiles; outFile=${D}2
47930 fi
47931
47932 # If it is an archive, remove the '!' and the '_%' suffixes
47933 case ${D}outFile in
47934 *_%!)
47935 outFile=\`basnam ${D}outFile _%!\`
47936 ;;
47937 *)
47938 ;;
47939 esac
47940 case ${D}outFile in
47941 *.dll)
47942 outFile=\`basnam ${D}outFile .dll\`
47943 ;;
47944 *.DLL)
47945 outFile=\`basnam ${D}outFile .DLL\`
47946 ;;
47947 *.o)
47948 outFile=\`basnam ${D}outFile .o\`
47949 ;;
47950 *.obj)
47951 outFile=\`basnam ${D}outFile .obj\`
47952 ;;
47953 *.a)
47954 outFile=\`basnam ${D}outFile .a\`
47955 ;;
47956 *.lib)
47957 outFile=\`basnam ${D}outFile .lib\`
47958 ;;
47959 *)
47960 ;;
47961 esac
47962 case ${D}outimpFile in
47963 *.a)
47964 outimpFile=\`basnam ${D}outimpFile .a\`
47965 ;;
47966 *.lib)
47967 outimpFile=\`basnam ${D}outimpFile .lib\`
47968 ;;
47969 *)
47970 ;;
47971 esac
47972 if [ -z ${D}outimpFile ]; then
47973 outimpFile=${D}outFile
47974 fi
47975 defFile="${D}{outFile}.def"
47976 arcFile="${D}{outimpFile}.a"
47977 arcFile2="${D}{outimpFile}.lib"
47978
47979 #create ${D}dllFile as something matching 8.3 restrictions,
47980 if [ -z ${D}renameScript ] ; then
47981 dllFile="${D}outFile"
47982 else
47983 dllFile=\`${D}renameScript ${D}outimpFile\`
47984 fi
47985
47986 if [ ${D}do_backup -ne 0 ] ; then
47987 if [ -f ${D}arcFile ] ; then
47988 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47989 fi
47990 if [ -f ${D}arcFile2 ] ; then
47991 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47992 fi
47993 fi
47994
47995 # Extract public symbols from all the object files.
47996 tmpdefFile=${D}{defFile}_%
47997 rm -f ${D}tmpdefFile
47998 for file in ${D}inputFiles ; do
47999 case ${D}file in
48000 *!)
48001 ;;
48002 *)
48003 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48004 ;;
48005 esac
48006 done
48007
48008 # Create the def file.
48009 rm -f ${D}defFile
48010 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48011 dllFile="${D}{dllFile}.dll"
48012 if [ ! -z ${D}description ]; then
48013 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48014 fi
48015 echo "EXPORTS" >> ${D}defFile
48016
48017 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48018 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48019
48020 # Checks if the export is ok or not.
48021 for word in ${D}exclude_symbols; do
48022 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48023 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48024 done
48025
48026
48027 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48028 sed "=" < ${D}tmpdefFile | \\
48029 sed '
48030 N
48031 : loop
48032 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48033 t loop
48034 ' > ${D}{tmpdefFile}%
48035 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48036 else
48037 rm -f ${D}{tmpdefFile}%
48038 fi
48039 cat ${D}tmpdefFile >> ${D}defFile
48040 rm -f ${D}tmpdefFile
48041
48042 # Do linking, create implib, and apply lxlite.
48043 gccCmdl="";
48044 for file in ${D}inputFiles ; do
48045 case ${D}file in
48046 *!)
48047 ;;
48048 *)
48049 gccCmdl="${D}gccCmdl ${D}file"
48050 ;;
48051 esac
48052 done
48053 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48054 touch "${D}{outFile}.dll"
48055
48056 doCommand "emximp -o ${D}arcFile ${D}defFile"
48057 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48058 add_flags="";
48059 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48060 add_flags="-ynd"
48061 fi
48062 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48063 fi
48064 doCommand "emxomf -s -l ${D}arcFile"
48065
48066 # Successful exit.
48067 CleanUp 1
48068 exit 0
48069 EOF
48070
48071 chmod +x dllar.sh
48072 ;;
48073
48074 powerpc-apple-macos* | \
48075 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48076 *-*-mirbsd* | \
48077 *-*-sunos4* | \
48078 *-*-osf* | \
48079 *-*-dgux5* | \
48080 *-*-sysv5* | \
48081 *-pc-msdosdjgpp )
48082 ;;
48083
48084 *)
48085 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48086 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48087 { (exit 1); exit 1; }; }
48088 esac
48089
48090 if test "x$PIC_FLAG" != "x" ; then
48091 PIC_FLAG="$PIC_FLAG -DPIC"
48092 fi
48093
48094 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48095 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48096 fi
48097 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48098 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48099 fi
48100
48101
48102
48103
48104
48105
48106
48107
48108
48109 USE_SOVERSION=0
48110 USE_SOVERLINUX=0
48111 USE_SOVERSOLARIS=0
48112 USE_SOVERCYGWIN=0
48113 USE_SOSYMLINKS=0
48114 USE_MACVERSION=0
48115 SONAME_FLAG=
48116
48117 case "${BAKEFILE_HOST}" in
48118 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48119 if test "x$SUNCXX" = "xyes"; then
48120 SONAME_FLAG="-h "
48121 else
48122 SONAME_FLAG="-Wl,-soname,"
48123 fi
48124 USE_SOVERSION=1
48125 USE_SOVERLINUX=1
48126 USE_SOSYMLINKS=1
48127 ;;
48128
48129 *-*-solaris2* )
48130 SONAME_FLAG="-h "
48131 USE_SOVERSION=1
48132 USE_SOVERSOLARIS=1
48133 USE_SOSYMLINKS=1
48134 ;;
48135
48136 *-*-darwin* )
48137 USE_MACVERSION=1
48138 USE_SOVERSION=1
48139 USE_SOSYMLINKS=1
48140 ;;
48141
48142 *-*-cygwin* )
48143 USE_SOVERSION=1
48144 USE_SOVERCYGWIN=1
48145 ;;
48146 esac
48147
48148
48149
48150
48151
48152
48153
48154
48155
48156
48157 # Check whether --enable-dependency-tracking was given.
48158 if test "${enable_dependency_tracking+set}" = set; then
48159 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48160 fi
48161
48162
48163 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48164 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48165
48166 BK_DEPS=""
48167 if test "x$bk_use_trackdeps" = "xno" ; then
48168 DEPS_TRACKING=0
48169 { echo "$as_me:$LINENO: result: disabled" >&5
48170 echo "${ECHO_T}disabled" >&6; }
48171 else
48172 DEPS_TRACKING=1
48173
48174 if test "x$GCC" = "xyes"; then
48175 DEPSMODE=gcc
48176 case "${BAKEFILE_HOST}" in
48177 *-*-darwin* )
48178 DEPSFLAG="-no-cpp-precomp -MMD"
48179 ;;
48180 * )
48181 DEPSFLAG="-MMD"
48182 ;;
48183 esac
48184 { echo "$as_me:$LINENO: result: gcc" >&5
48185 echo "${ECHO_T}gcc" >&6; }
48186 elif test "x$MWCC" = "xyes"; then
48187 DEPSMODE=mwcc
48188 DEPSFLAG="-MM"
48189 { echo "$as_me:$LINENO: result: mwcc" >&5
48190 echo "${ECHO_T}mwcc" >&6; }
48191 elif test "x$SUNCC" = "xyes"; then
48192 DEPSMODE=unixcc
48193 DEPSFLAG="-xM1"
48194 { echo "$as_me:$LINENO: result: Sun cc" >&5
48195 echo "${ECHO_T}Sun cc" >&6; }
48196 elif test "x$SGICC" = "xyes"; then
48197 DEPSMODE=unixcc
48198 DEPSFLAG="-M"
48199 { echo "$as_me:$LINENO: result: SGI cc" >&5
48200 echo "${ECHO_T}SGI cc" >&6; }
48201 elif test "x$HPCC" = "xyes"; then
48202 DEPSMODE=unixcc
48203 DEPSFLAG="+make"
48204 { echo "$as_me:$LINENO: result: HP cc" >&5
48205 echo "${ECHO_T}HP cc" >&6; }
48206 elif test "x$COMPAQCC" = "xyes"; then
48207 DEPSMODE=gcc
48208 DEPSFLAG="-MD"
48209 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48210 echo "${ECHO_T}Compaq cc" >&6; }
48211 else
48212 DEPS_TRACKING=0
48213 { echo "$as_me:$LINENO: result: none" >&5
48214 echo "${ECHO_T}none" >&6; }
48215 fi
48216
48217 if test $DEPS_TRACKING = 1 ; then
48218
48219 D='$'
48220 cat <<EOF >bk-deps
48221 #!/bin/sh
48222
48223 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48224 # script. It is used to track C/C++ files dependencies in portable way.
48225 #
48226 # Permission is given to use this file in any way.
48227
48228 DEPSMODE=${DEPSMODE}
48229 DEPSDIR=.deps
48230 DEPSFLAG="${DEPSFLAG}"
48231
48232 mkdir -p ${D}DEPSDIR
48233
48234 if test ${D}DEPSMODE = gcc ; then
48235 ${D}* ${D}{DEPSFLAG}
48236 status=${D}?
48237 if test ${D}{status} != 0 ; then
48238 exit ${D}{status}
48239 fi
48240 # move created file to the location we want it in:
48241 while test ${D}# -gt 0; do
48242 case "${D}1" in
48243 -o )
48244 shift
48245 objfile=${D}1
48246 ;;
48247 -* )
48248 ;;
48249 * )
48250 srcfile=${D}1
48251 ;;
48252 esac
48253 shift
48254 done
48255 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48256 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48257 if test -f ${D}depfile ; then
48258 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48259 rm -f ${D}depfile
48260 else
48261 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48262 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48263 if test ! -f ${D}depfile ; then
48264 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48265 depfile="${D}objfile.d"
48266 fi
48267 if test -f ${D}depfile ; then
48268 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48269 rm -f ${D}depfile
48270 fi
48271 fi
48272 exit 0
48273 elif test ${D}DEPSMODE = mwcc ; then
48274 ${D}* || exit ${D}?
48275 # Run mwcc again with -MM and redirect into the dep file we want
48276 # NOTE: We can't use shift here because we need ${D}* to be valid
48277 prevarg=
48278 for arg in ${D}* ; do
48279 if test "${D}prevarg" = "-o"; then
48280 objfile=${D}arg
48281 else
48282 case "${D}arg" in
48283 -* )
48284 ;;
48285 * )
48286 srcfile=${D}arg
48287 ;;
48288 esac
48289 fi
48290 prevarg="${D}arg"
48291 done
48292 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48293 exit 0
48294 elif test ${D}DEPSMODE = unixcc; then
48295 ${D}* || exit ${D}?
48296 # Run compiler again with deps flag and redirect into the dep file.
48297 # It doesn't work if the '-o FILE' option is used, but without it the
48298 # dependency file will contain the wrong name for the object. So it is
48299 # removed from the command line, and the dep file is fixed with sed.
48300 cmd=""
48301 while test ${D}# -gt 0; do
48302 case "${D}1" in
48303 -o )
48304 shift
48305 objfile=${D}1
48306 ;;
48307 * )
48308 eval arg${D}#=\\${D}1
48309 cmd="${D}cmd \\${D}arg${D}#"
48310 ;;
48311 esac
48312 shift
48313 done
48314 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48315 exit 0
48316 else
48317 ${D}*
48318 exit ${D}?
48319 fi
48320 EOF
48321
48322 chmod +x bk-deps
48323 BK_DEPS="`pwd`/bk-deps"
48324 fi
48325 fi
48326
48327
48328
48329
48330
48331 case ${BAKEFILE_HOST} in
48332 *-*-cygwin* | *-*-mingw32* )
48333 if test -n "$ac_tool_prefix"; then
48334 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48335 set dummy ${ac_tool_prefix}windres; ac_word=$2
48336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48338 if test "${ac_cv_prog_WINDRES+set}" = set; then
48339 echo $ECHO_N "(cached) $ECHO_C" >&6
48340 else
48341 if test -n "$WINDRES"; then
48342 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48343 else
48344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48345 for as_dir in $PATH
48346 do
48347 IFS=$as_save_IFS
48348 test -z "$as_dir" && as_dir=.
48349 for ac_exec_ext in '' $ac_executable_extensions; do
48350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48351 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48353 break 2
48354 fi
48355 done
48356 done
48357 IFS=$as_save_IFS
48358
48359 fi
48360 fi
48361 WINDRES=$ac_cv_prog_WINDRES
48362 if test -n "$WINDRES"; then
48363 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48364 echo "${ECHO_T}$WINDRES" >&6; }
48365 else
48366 { echo "$as_me:$LINENO: result: no" >&5
48367 echo "${ECHO_T}no" >&6; }
48368 fi
48369
48370
48371 fi
48372 if test -z "$ac_cv_prog_WINDRES"; then
48373 ac_ct_WINDRES=$WINDRES
48374 # Extract the first word of "windres", so it can be a program name with args.
48375 set dummy windres; ac_word=$2
48376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48378 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48379 echo $ECHO_N "(cached) $ECHO_C" >&6
48380 else
48381 if test -n "$ac_ct_WINDRES"; then
48382 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48383 else
48384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48385 for as_dir in $PATH
48386 do
48387 IFS=$as_save_IFS
48388 test -z "$as_dir" && as_dir=.
48389 for ac_exec_ext in '' $ac_executable_extensions; do
48390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48391 ac_cv_prog_ac_ct_WINDRES="windres"
48392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48393 break 2
48394 fi
48395 done
48396 done
48397 IFS=$as_save_IFS
48398
48399 fi
48400 fi
48401 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48402 if test -n "$ac_ct_WINDRES"; then
48403 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48404 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48405 else
48406 { echo "$as_me:$LINENO: result: no" >&5
48407 echo "${ECHO_T}no" >&6; }
48408 fi
48409
48410 if test "x$ac_ct_WINDRES" = x; then
48411 WINDRES=""
48412 else
48413 case $cross_compiling:$ac_tool_warned in
48414 yes:)
48415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48416 whose name does not start with the host triplet. If you think this
48417 configuration is useful to you, please write to autoconf@gnu.org." >&5
48418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48419 whose name does not start with the host triplet. If you think this
48420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48421 ac_tool_warned=yes ;;
48422 esac
48423 WINDRES=$ac_ct_WINDRES
48424 fi
48425 else
48426 WINDRES="$ac_cv_prog_WINDRES"
48427 fi
48428
48429 ;;
48430
48431 *-*-darwin* | powerpc-apple-macos* )
48432 # Extract the first word of "Rez", so it can be a program name with args.
48433 set dummy Rez; ac_word=$2
48434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48436 if test "${ac_cv_prog_REZ+set}" = set; then
48437 echo $ECHO_N "(cached) $ECHO_C" >&6
48438 else
48439 if test -n "$REZ"; then
48440 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48441 else
48442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48443 for as_dir in $PATH
48444 do
48445 IFS=$as_save_IFS
48446 test -z "$as_dir" && as_dir=.
48447 for ac_exec_ext in '' $ac_executable_extensions; do
48448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48449 ac_cv_prog_REZ="Rez"
48450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48451 break 2
48452 fi
48453 done
48454 done
48455 IFS=$as_save_IFS
48456
48457 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48458 fi
48459 fi
48460 REZ=$ac_cv_prog_REZ
48461 if test -n "$REZ"; then
48462 { echo "$as_me:$LINENO: result: $REZ" >&5
48463 echo "${ECHO_T}$REZ" >&6; }
48464 else
48465 { echo "$as_me:$LINENO: result: no" >&5
48466 echo "${ECHO_T}no" >&6; }
48467 fi
48468
48469
48470 # Extract the first word of "SetFile", so it can be a program name with args.
48471 set dummy SetFile; ac_word=$2
48472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48474 if test "${ac_cv_prog_SETFILE+set}" = set; then
48475 echo $ECHO_N "(cached) $ECHO_C" >&6
48476 else
48477 if test -n "$SETFILE"; then
48478 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48479 else
48480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48481 for as_dir in $PATH
48482 do
48483 IFS=$as_save_IFS
48484 test -z "$as_dir" && as_dir=.
48485 for ac_exec_ext in '' $ac_executable_extensions; do
48486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48487 ac_cv_prog_SETFILE="SetFile"
48488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48489 break 2
48490 fi
48491 done
48492 done
48493 IFS=$as_save_IFS
48494
48495 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48496 fi
48497 fi
48498 SETFILE=$ac_cv_prog_SETFILE
48499 if test -n "$SETFILE"; then
48500 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48501 echo "${ECHO_T}$SETFILE" >&6; }
48502 else
48503 { echo "$as_me:$LINENO: result: no" >&5
48504 echo "${ECHO_T}no" >&6; }
48505 fi
48506
48507
48508 ;;
48509 esac
48510
48511
48512
48513
48514
48515
48516 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48517
48518
48519 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48520
48521
48522
48523 # Check whether --enable-precomp-headers was given.
48524 if test "${enable_precomp_headers+set}" = set; then
48525 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48526 fi
48527
48528
48529 GCC_PCH=0
48530 ICC_PCH=0
48531 USE_PCH=0
48532 BK_MAKE_PCH=""
48533
48534 case ${BAKEFILE_HOST} in
48535 *-*-cygwin* )
48536 bk_use_pch="no"
48537 ;;
48538 esac
48539
48540 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48541 if test "x$GCC" = "xyes"; then
48542 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48543 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48544 cat >conftest.$ac_ext <<_ACEOF
48545 /* confdefs.h. */
48546 _ACEOF
48547 cat confdefs.h >>conftest.$ac_ext
48548 cat >>conftest.$ac_ext <<_ACEOF
48549 /* end confdefs.h. */
48550
48551 int
48552 main ()
48553 {
48554
48555 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48556 There is no PCH support
48557 #endif
48558 #if (__GNUC__ < 3)
48559 There is no PCH support
48560 #endif
48561 #if (__GNUC__ == 3) && \
48562 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48563 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48564 ( defined(__INTEL_COMPILER) )
48565 There is no PCH support
48566 #endif
48567
48568 ;
48569 return 0;
48570 }
48571 _ACEOF
48572 rm -f conftest.$ac_objext
48573 if { (ac_try="$ac_compile"
48574 case "(($ac_try" in
48575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48576 *) ac_try_echo=$ac_try;;
48577 esac
48578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48579 (eval "$ac_compile") 2>conftest.er1
48580 ac_status=$?
48581 grep -v '^ *+' conftest.er1 >conftest.err
48582 rm -f conftest.er1
48583 cat conftest.err >&5
48584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48585 (exit $ac_status); } && {
48586 test -z "$ac_c_werror_flag" ||
48587 test ! -s conftest.err
48588 } && test -s conftest.$ac_objext; then
48589
48590 { echo "$as_me:$LINENO: result: yes" >&5
48591 echo "${ECHO_T}yes" >&6; }
48592 GCC_PCH=1
48593
48594 else
48595 echo "$as_me: failed program was:" >&5
48596 sed 's/^/| /' conftest.$ac_ext >&5
48597
48598
48599 cat >conftest.$ac_ext <<_ACEOF
48600 /* confdefs.h. */
48601 _ACEOF
48602 cat confdefs.h >>conftest.$ac_ext
48603 cat >>conftest.$ac_ext <<_ACEOF
48604 /* end confdefs.h. */
48605
48606 int
48607 main ()
48608 {
48609
48610 #if !defined(__INTEL_COMPILER) || \
48611 (__INTEL_COMPILER < 800)
48612 There is no PCH support
48613 #endif
48614
48615 ;
48616 return 0;
48617 }
48618 _ACEOF
48619 rm -f conftest.$ac_objext
48620 if { (ac_try="$ac_compile"
48621 case "(($ac_try" in
48622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48623 *) ac_try_echo=$ac_try;;
48624 esac
48625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48626 (eval "$ac_compile") 2>conftest.er1
48627 ac_status=$?
48628 grep -v '^ *+' conftest.er1 >conftest.err
48629 rm -f conftest.er1
48630 cat conftest.err >&5
48631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48632 (exit $ac_status); } && {
48633 test -z "$ac_c_werror_flag" ||
48634 test ! -s conftest.err
48635 } && test -s conftest.$ac_objext; then
48636
48637 { echo "$as_me:$LINENO: result: yes" >&5
48638 echo "${ECHO_T}yes" >&6; }
48639 ICC_PCH=1
48640
48641 else
48642 echo "$as_me: failed program was:" >&5
48643 sed 's/^/| /' conftest.$ac_ext >&5
48644
48645
48646 { echo "$as_me:$LINENO: result: no" >&5
48647 echo "${ECHO_T}no" >&6; }
48648
48649 fi
48650
48651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48652
48653 fi
48654
48655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48657 USE_PCH=1
48658
48659 D='$'
48660 cat <<EOF >bk-make-pch
48661 #!/bin/sh
48662
48663 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48664 # script. It is used to generated precompiled headers.
48665 #
48666 # Permission is given to use this file in any way.
48667
48668 outfile="${D}{1}"
48669 header="${D}{2}"
48670 shift
48671 shift
48672
48673 compiler=""
48674 headerfile=""
48675
48676 while test ${D}{#} -gt 0; do
48677 add_to_cmdline=1
48678 case "${D}{1}" in
48679 -I* )
48680 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48681 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48682 headerfile="${D}{incdir}/${D}{header}"
48683 fi
48684 ;;
48685 -use-pch|-use_pch )
48686 shift
48687 add_to_cmdline=0
48688 ;;
48689 esac
48690 if test ${D}add_to_cmdline = 1 ; then
48691 compiler="${D}{compiler} ${D}{1}"
48692 fi
48693 shift
48694 done
48695
48696 if test "x${D}{headerfile}" = "x" ; then
48697 echo "error: can't find header ${D}{header} in include paths" >&2
48698 else
48699 if test -f ${D}{outfile} ; then
48700 rm -f ${D}{outfile}
48701 else
48702 mkdir -p \`dirname ${D}{outfile}\`
48703 fi
48704 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48705 mkdir -p .deps
48706 if test "x${GCC_PCH}" = "x1" ; then
48707 # can do this because gcc is >= 3.4:
48708 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48709 elif test "x${ICC_PCH}" = "x1" ; then
48710 filename=pch_gen-${D}${D}
48711 file=${D}{filename}.c
48712 dfile=${D}{filename}.d
48713 cat > ${D}file <<EOT
48714 #include "${D}header"
48715 EOT
48716 # using -MF icc complains about differing command lines in creation/use
48717 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48718 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48719 rm -f ${D}file ${D}dfile ${D}{filename}.o
48720 fi
48721 exit ${D}{?}
48722 fi
48723 EOF
48724
48725 chmod +x bk-make-pch
48726 BK_MAKE_PCH="`pwd`/bk-make-pch"
48727 fi
48728 fi
48729 fi
48730
48731
48732
48733
48734
48735 COND_BUILD_DEBUG="#"
48736 if test "x$BUILD" = "xdebug" ; then
48737 COND_BUILD_DEBUG=""
48738 fi
48739
48740 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48741 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48742 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48743 fi
48744
48745 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48746 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48747 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48748 fi
48749
48750 COND_BUILD_DEBUG_UNICODE_0="#"
48751 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48752 COND_BUILD_DEBUG_UNICODE_0=""
48753 fi
48754
48755 COND_BUILD_DEBUG_UNICODE_1="#"
48756 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48757 COND_BUILD_DEBUG_UNICODE_1=""
48758 fi
48759
48760 COND_BUILD_RELEASE="#"
48761 if test "x$BUILD" = "xrelease" ; then
48762 COND_BUILD_RELEASE=""
48763 fi
48764
48765 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48766 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48767 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48768 fi
48769
48770 COND_BUILD_RELEASE_UNICODE_0="#"
48771 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48772 COND_BUILD_RELEASE_UNICODE_0=""
48773 fi
48774
48775 COND_BUILD_RELEASE_UNICODE_1="#"
48776 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48777 COND_BUILD_RELEASE_UNICODE_1=""
48778 fi
48779
48780 COND_DEBUG_FLAG_1="#"
48781 if test "x$DEBUG_FLAG" = "x1" ; then
48782 COND_DEBUG_FLAG_1=""
48783 fi
48784
48785 COND_DEBUG_INFO_0="#"
48786 if test "x$DEBUG_INFO" = "x0" ; then
48787 COND_DEBUG_INFO_0=""
48788 fi
48789
48790 COND_DEBUG_INFO_1="#"
48791 if test "x$DEBUG_INFO" = "x1" ; then
48792 COND_DEBUG_INFO_1=""
48793 fi
48794
48795 COND_DEPS_TRACKING_0="#"
48796 if test "x$DEPS_TRACKING" = "x0" ; then
48797 COND_DEPS_TRACKING_0=""
48798 fi
48799
48800 COND_DEPS_TRACKING_1="#"
48801 if test "x$DEPS_TRACKING" = "x1" ; then
48802 COND_DEPS_TRACKING_1=""
48803 fi
48804
48805 COND_GCC_PCH_1="#"
48806 if test "x$GCC_PCH" = "x1" ; then
48807 COND_GCC_PCH_1=""
48808 fi
48809
48810 COND_ICC_PCH_1="#"
48811 if test "x$ICC_PCH" = "x1" ; then
48812 COND_ICC_PCH_1=""
48813 fi
48814
48815 COND_MONOLITHIC_0="#"
48816 if test "x$MONOLITHIC" = "x0" ; then
48817 COND_MONOLITHIC_0=""
48818 fi
48819
48820 COND_MONOLITHIC_0_SHARED_0="#"
48821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48822 COND_MONOLITHIC_0_SHARED_0=""
48823 fi
48824
48825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48827 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48828 fi
48829
48830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48833 fi
48834
48835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48838 fi
48839
48840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48843 fi
48844
48845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48848 fi
48849
48850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48853 fi
48854
48855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48857 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48858 fi
48859
48860 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48862 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48863 fi
48864
48865 COND_MONOLITHIC_0_SHARED_1="#"
48866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48867 COND_MONOLITHIC_0_SHARED_1=""
48868 fi
48869
48870 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48871 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48872 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48873 fi
48874
48875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48878 fi
48879
48880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48883 fi
48884
48885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48888 fi
48889
48890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48893 fi
48894
48895 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48897 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48898 fi
48899
48900 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48902 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48903 fi
48904
48905 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48907 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48908 fi
48909
48910 COND_MONOLITHIC_0_USE_AUI_1="#"
48911 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48912 COND_MONOLITHIC_0_USE_AUI_1=""
48913 fi
48914
48915 COND_MONOLITHIC_0_USE_GUI_1="#"
48916 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48917 COND_MONOLITHIC_0_USE_GUI_1=""
48918 fi
48919
48920 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48921 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48922 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48923 fi
48924
48925 COND_MONOLITHIC_0_USE_HTML_1="#"
48926 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48927 COND_MONOLITHIC_0_USE_HTML_1=""
48928 fi
48929
48930 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48931 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48932 COND_MONOLITHIC_0_USE_MEDIA_1=""
48933 fi
48934
48935 COND_MONOLITHIC_0_USE_QA_1="#"
48936 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48937 COND_MONOLITHIC_0_USE_QA_1=""
48938 fi
48939
48940 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48941 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48942 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48943 fi
48944
48945 COND_MONOLITHIC_0_USE_STC_1="#"
48946 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48947 COND_MONOLITHIC_0_USE_STC_1=""
48948 fi
48949
48950 COND_MONOLITHIC_0_USE_XRC_1="#"
48951 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48952 COND_MONOLITHIC_0_USE_XRC_1=""
48953 fi
48954
48955 COND_MONOLITHIC_1="#"
48956 if test "x$MONOLITHIC" = "x1" ; then
48957 COND_MONOLITHIC_1=""
48958 fi
48959
48960 COND_MONOLITHIC_1_SHARED_0="#"
48961 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48962 COND_MONOLITHIC_1_SHARED_0=""
48963 fi
48964
48965 COND_MONOLITHIC_1_SHARED_1="#"
48966 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48967 COND_MONOLITHIC_1_SHARED_1=""
48968 fi
48969
48970 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48971 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48972 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48973 fi
48974
48975 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48976 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48977 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48978 fi
48979
48980 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48981 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48982 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48983 fi
48984
48985 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48986 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48987 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48988 fi
48989
48990 COND_PLATFORM_MACOSX_1="#"
48991 if test "x$PLATFORM_MACOSX" = "x1" ; then
48992 COND_PLATFORM_MACOSX_1=""
48993 fi
48994
48995 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48996 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48997 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48998 fi
48999
49000 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49001 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49002 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49003 fi
49004
49005 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49006 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49007 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49008 fi
49009
49010 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49011 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49012 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49013 fi
49014
49015 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49016 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49017 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49018 fi
49019
49020 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49021 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49022 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49023 fi
49024
49025 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49026 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49027 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49028 fi
49029
49030 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49031 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49032 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49033 fi
49034
49035 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49036 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49037 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49038 fi
49039
49040 COND_PLATFORM_MACOS_1="#"
49041 if test "x$PLATFORM_MACOS" = "x1" ; then
49042 COND_PLATFORM_MACOS_1=""
49043 fi
49044
49045 COND_PLATFORM_MAC_1="#"
49046 if test "x$PLATFORM_MAC" = "x1" ; then
49047 COND_PLATFORM_MAC_1=""
49048 fi
49049
49050 COND_PLATFORM_MSDOS_1="#"
49051 if test "x$PLATFORM_MSDOS" = "x1" ; then
49052 COND_PLATFORM_MSDOS_1=""
49053 fi
49054
49055 COND_PLATFORM_OS2_1="#"
49056 if test "x$PLATFORM_OS2" = "x1" ; then
49057 COND_PLATFORM_OS2_1=""
49058 fi
49059
49060 COND_PLATFORM_UNIX_0="#"
49061 if test "x$PLATFORM_UNIX" = "x0" ; then
49062 COND_PLATFORM_UNIX_0=""
49063 fi
49064
49065 COND_PLATFORM_UNIX_1="#"
49066 if test "x$PLATFORM_UNIX" = "x1" ; then
49067 COND_PLATFORM_UNIX_1=""
49068 fi
49069
49070 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49071 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49072 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49073 fi
49074
49075 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49076 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49077 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49078 fi
49079
49080 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49081 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49082 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49083 fi
49084
49085 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49086 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49087 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49088 fi
49089
49090 COND_PLATFORM_WIN32_0="#"
49091 if test "x$PLATFORM_WIN32" = "x0" ; then
49092 COND_PLATFORM_WIN32_0=""
49093 fi
49094
49095 COND_PLATFORM_WIN32_1="#"
49096 if test "x$PLATFORM_WIN32" = "x1" ; then
49097 COND_PLATFORM_WIN32_1=""
49098 fi
49099
49100 COND_SHARED_0="#"
49101 if test "x$SHARED" = "x0" ; then
49102 COND_SHARED_0=""
49103 fi
49104
49105 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49106 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49107 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49108 fi
49109
49110 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49111 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49112 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49113 fi
49114
49115 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49116 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49117 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49118 fi
49119
49120 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49121 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49122 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49123 fi
49124
49125 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49126 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49127 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49128 fi
49129
49130 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49131 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49132 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49133 fi
49134
49135 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49136 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49137 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49138 fi
49139
49140 COND_SHARED_0_USE_STC_1="#"
49141 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49142 COND_SHARED_0_USE_STC_1=""
49143 fi
49144
49145 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49146 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49147 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49148 fi
49149
49150 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49151 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49152 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49153 fi
49154
49155 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49156 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49157 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49158 fi
49159
49160 COND_SHARED_1="#"
49161 if test "x$SHARED" = "x1" ; then
49162 COND_SHARED_1=""
49163 fi
49164
49165 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49166 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49167 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49168 fi
49169
49170 COND_TOOLKIT_="#"
49171 if test "x$TOOLKIT" = "x" ; then
49172 COND_TOOLKIT_=""
49173 fi
49174
49175 COND_TOOLKIT_COCOA="#"
49176 if test "x$TOOLKIT" = "xCOCOA" ; then
49177 COND_TOOLKIT_COCOA=""
49178 fi
49179
49180 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49181 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49182 COND_TOOLKIT_COCOA_USE_GUI_1=""
49183 fi
49184
49185 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49186 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49187 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49188 fi
49189
49190 COND_TOOLKIT_DFB="#"
49191 if test "x$TOOLKIT" = "xDFB" ; then
49192 COND_TOOLKIT_DFB=""
49193 fi
49194
49195 COND_TOOLKIT_DFB_USE_GUI_1="#"
49196 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49197 COND_TOOLKIT_DFB_USE_GUI_1=""
49198 fi
49199
49200 COND_TOOLKIT_GTK="#"
49201 if test "x$TOOLKIT" = "xGTK" ; then
49202 COND_TOOLKIT_GTK=""
49203 fi
49204
49205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49206 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49207 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49208 fi
49209
49210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49211 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49212 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49213 fi
49214
49215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49216 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49217 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49218 fi
49219
49220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49221 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49222 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49223 fi
49224
49225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49226 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49227 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49228 fi
49229
49230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49231 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49232 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49233 fi
49234
49235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49236 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49237 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49238 fi
49239
49240 COND_TOOLKIT_GTK_USE_GUI_1="#"
49241 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49242 COND_TOOLKIT_GTK_USE_GUI_1=""
49243 fi
49244
49245 COND_TOOLKIT_MAC="#"
49246 if test "x$TOOLKIT" = "xMAC" ; then
49247 COND_TOOLKIT_MAC=""
49248 fi
49249
49250 COND_TOOLKIT_MAC_USE_GUI_1="#"
49251 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49252 COND_TOOLKIT_MAC_USE_GUI_1=""
49253 fi
49254
49255 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49256 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49257 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49258 fi
49259
49260 COND_TOOLKIT_MGL="#"
49261 if test "x$TOOLKIT" = "xMGL" ; then
49262 COND_TOOLKIT_MGL=""
49263 fi
49264
49265 COND_TOOLKIT_MGL_USE_GUI_1="#"
49266 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49267 COND_TOOLKIT_MGL_USE_GUI_1=""
49268 fi
49269
49270 COND_TOOLKIT_MOTIF="#"
49271 if test "x$TOOLKIT" = "xMOTIF" ; then
49272 COND_TOOLKIT_MOTIF=""
49273 fi
49274
49275 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49276 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49277 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49278 fi
49279
49280 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49281 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49282 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49283 fi
49284
49285 COND_TOOLKIT_MSW="#"
49286 if test "x$TOOLKIT" = "xMSW" ; then
49287 COND_TOOLKIT_MSW=""
49288 fi
49289
49290 COND_TOOLKIT_MSW_USE_GUI_1="#"
49291 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49292 COND_TOOLKIT_MSW_USE_GUI_1=""
49293 fi
49294
49295 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49296 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49297 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49298 fi
49299
49300 COND_TOOLKIT_MSW_WXUNIV_0="#"
49301 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49302 COND_TOOLKIT_MSW_WXUNIV_0=""
49303 fi
49304
49305 COND_TOOLKIT_PM="#"
49306 if test "x$TOOLKIT" = "xPM" ; then
49307 COND_TOOLKIT_PM=""
49308 fi
49309
49310 COND_TOOLKIT_PM_USE_GUI_1="#"
49311 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49312 COND_TOOLKIT_PM_USE_GUI_1=""
49313 fi
49314
49315 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49316 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49317 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49318 fi
49319
49320 COND_TOOLKIT_WINCE="#"
49321 if test "x$TOOLKIT" = "xWINCE" ; then
49322 COND_TOOLKIT_WINCE=""
49323 fi
49324
49325 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49326 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49327 COND_TOOLKIT_WINCE_USE_GUI_1=""
49328 fi
49329
49330 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49331 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49332 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49333 fi
49334
49335 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49336 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49337 COND_TOOLKIT_WINCE_WXUNIV_0=""
49338 fi
49339
49340 COND_TOOLKIT_X11="#"
49341 if test "x$TOOLKIT" = "xX11" ; then
49342 COND_TOOLKIT_X11=""
49343 fi
49344
49345 COND_TOOLKIT_X11_USE_GUI_1="#"
49346 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49347 COND_TOOLKIT_X11_USE_GUI_1=""
49348 fi
49349
49350 COND_UNICODE_1="#"
49351 if test "x$UNICODE" = "x1" ; then
49352 COND_UNICODE_1=""
49353 fi
49354
49355 COND_USE_EXCEPTIONS_0="#"
49356 if test "x$USE_EXCEPTIONS" = "x0" ; then
49357 COND_USE_EXCEPTIONS_0=""
49358 fi
49359
49360 COND_USE_EXCEPTIONS_1="#"
49361 if test "x$USE_EXCEPTIONS" = "x1" ; then
49362 COND_USE_EXCEPTIONS_1=""
49363 fi
49364
49365 COND_USE_GUI_0="#"
49366 if test "x$USE_GUI" = "x0" ; then
49367 COND_USE_GUI_0=""
49368 fi
49369
49370 COND_USE_GUI_1="#"
49371 if test "x$USE_GUI" = "x1" ; then
49372 COND_USE_GUI_1=""
49373 fi
49374
49375 COND_USE_GUI_1_USE_OPENGL_1="#"
49376 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49377 COND_USE_GUI_1_USE_OPENGL_1=""
49378 fi
49379
49380 COND_USE_GUI_1_WXUNIV_0="#"
49381 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49382 COND_USE_GUI_1_WXUNIV_0=""
49383 fi
49384
49385 COND_USE_GUI_1_WXUNIV_1="#"
49386 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49387 COND_USE_GUI_1_WXUNIV_1=""
49388 fi
49389
49390 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49391 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49392 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49393 fi
49394
49395 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49396 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49397 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49398 fi
49399
49400 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49401 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49402 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49403 fi
49404
49405 COND_USE_PCH_1="#"
49406 if test "x$USE_PCH" = "x1" ; then
49407 COND_USE_PCH_1=""
49408 fi
49409
49410 COND_USE_PLUGINS_0="#"
49411 if test "x$USE_PLUGINS" = "x0" ; then
49412 COND_USE_PLUGINS_0=""
49413 fi
49414
49415 COND_USE_RTTI_0="#"
49416 if test "x$USE_RTTI" = "x0" ; then
49417 COND_USE_RTTI_0=""
49418 fi
49419
49420 COND_USE_RTTI_1="#"
49421 if test "x$USE_RTTI" = "x1" ; then
49422 COND_USE_RTTI_1=""
49423 fi
49424
49425 COND_USE_SOSYMLINKS_1="#"
49426 if test "x$USE_SOSYMLINKS" = "x1" ; then
49427 COND_USE_SOSYMLINKS_1=""
49428 fi
49429
49430 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49431 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49432 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49433 fi
49434
49435 COND_USE_SOVERLINUX_1="#"
49436 if test "x$USE_SOVERLINUX" = "x1" ; then
49437 COND_USE_SOVERLINUX_1=""
49438 fi
49439
49440 COND_USE_SOVERSION_0="#"
49441 if test "x$USE_SOVERSION" = "x0" ; then
49442 COND_USE_SOVERSION_0=""
49443 fi
49444
49445 COND_USE_SOVERSOLARIS_1="#"
49446 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49447 COND_USE_SOVERSOLARIS_1=""
49448 fi
49449
49450 COND_USE_STC_1="#"
49451 if test "x$USE_STC" = "x1" ; then
49452 COND_USE_STC_1=""
49453 fi
49454
49455 COND_USE_THREADS_0="#"
49456 if test "x$USE_THREADS" = "x0" ; then
49457 COND_USE_THREADS_0=""
49458 fi
49459
49460 COND_USE_THREADS_1="#"
49461 if test "x$USE_THREADS" = "x1" ; then
49462 COND_USE_THREADS_1=""
49463 fi
49464
49465 COND_USE_XRC_1="#"
49466 if test "x$USE_XRC" = "x1" ; then
49467 COND_USE_XRC_1=""
49468 fi
49469
49470 COND_WINDOWS_IMPLIB_1="#"
49471 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49472 COND_WINDOWS_IMPLIB_1=""
49473 fi
49474
49475 COND_WITH_PLUGIN_SDL_1="#"
49476 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49477 COND_WITH_PLUGIN_SDL_1=""
49478 fi
49479
49480 COND_WXUNIV_0="#"
49481 if test "x$WXUNIV" = "x0" ; then
49482 COND_WXUNIV_0=""
49483 fi
49484
49485 COND_WXUNIV_1="#"
49486 if test "x$WXUNIV" = "x1" ; then
49487 COND_WXUNIV_1=""
49488 fi
49489
49490 COND_WXUSE_EXPAT_BUILTIN="#"
49491 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49492 COND_WXUSE_EXPAT_BUILTIN=""
49493 fi
49494
49495 COND_WXUSE_LIBJPEG_BUILTIN="#"
49496 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49497 COND_WXUSE_LIBJPEG_BUILTIN=""
49498 fi
49499
49500 COND_WXUSE_LIBPNG_BUILTIN="#"
49501 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49502 COND_WXUSE_LIBPNG_BUILTIN=""
49503 fi
49504
49505 COND_WXUSE_LIBTIFF_BUILTIN="#"
49506 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49507 COND_WXUSE_LIBTIFF_BUILTIN=""
49508 fi
49509
49510 COND_WXUSE_REGEX_BUILTIN="#"
49511 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49512 COND_WXUSE_REGEX_BUILTIN=""
49513 fi
49514
49515 COND_WXUSE_ZLIB_BUILTIN="#"
49516 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49517 COND_WXUSE_ZLIB_BUILTIN=""
49518 fi
49519
49520
49521
49522 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49523 { { 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
49524 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;}
49525 { (exit 1); exit 1; }; }
49526 fi
49527
49528 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49529 { { 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
49530 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;}
49531 { (exit 1); exit 1; }; }
49532 fi
49533
49534
49535 case ${INSTALL} in
49536 /* ) # Absolute
49537 ;;
49538 ?:* ) # Drive letter, considered as absolute.
49539 ;;
49540 *)
49541 INSTALL=`pwd`/${INSTALL} ;;
49542 esac
49543
49544 if test "$wxUSE_GUI" = "yes"; then
49545
49546 if test "$wxUSE_MSW" = 1 ; then
49547 if test "x$WINDRES" = "x"; then
49548 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49549 echo "$as_me: error: Required windres program not found" >&2;}
49550 { (exit 1); exit 1; }; }
49551 fi
49552
49553 RESCOMP="$WINDRES"
49554 fi
49555
49556 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49557 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49558 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49559
49560 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49561
49562 # Extract the first word of "DeRez", so it can be a program name with args.
49563 set dummy DeRez; ac_word=$2
49564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49566 if test "${ac_cv_prog_DEREZ+set}" = set; then
49567 echo $ECHO_N "(cached) $ECHO_C" >&6
49568 else
49569 if test -n "$DEREZ"; then
49570 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49571 else
49572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49573 for as_dir in $PATH
49574 do
49575 IFS=$as_save_IFS
49576 test -z "$as_dir" && as_dir=.
49577 for ac_exec_ext in '' $ac_executable_extensions; do
49578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49579 ac_cv_prog_DEREZ="DeRez"
49580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49581 break 2
49582 fi
49583 done
49584 done
49585 IFS=$as_save_IFS
49586
49587 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49588 fi
49589 fi
49590 DEREZ=$ac_cv_prog_DEREZ
49591 if test -n "$DEREZ"; then
49592 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49593 echo "${ECHO_T}$DEREZ" >&6; }
49594 else
49595 { echo "$as_me:$LINENO: result: no" >&5
49596 echo "${ECHO_T}no" >&6; }
49597 fi
49598
49599
49600
49601 MACSETFILE="\$(SETFILE)"
49602
49603 if test "$wxUSE_MAC" = 1; then
49604 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49605 RESCOMP="$REZ"
49606 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49607 else
49608 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49609 RESCOMP="cat /dev/null \| $REZ"
49610 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49611 fi
49612
49613 else
49614 MACSETFILE="@true"
49615
49616 if test "$wxUSE_PM" = 1; then
49617 RESCOMP="emxbind"
49618 WXCONFIG_RESFLAGS="-ep"
49619
49620 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49621 else
49622 POSTLINK_COMMAND="@true"
49623 fi
49624 fi
49625
49626 fi
49627
49628
49629 if test $GCC_PCH = 1
49630 then
49631 if test "$wx_cv_gcc_pch_bug" = yes; then
49632 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49633 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49634 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49635 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49636 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49637 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49638 fi
49639
49640 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49641 fi
49642
49643
49644 if test "$wxUSE_MAC" = 1 ; then
49645 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49646 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49647 mv temp bk-deps
49648 chmod +x bk-deps
49649 fi
49650 fi
49651
49652 if test "$wxUSE_SHARED" = "yes"; then
49653 case "${host}" in
49654 *-pc-os2_emx | *-pc-os2-emx )
49655 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49656 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49657 cp -p ${srcdir}/src/os2/dllnames.sh .
49658 cp -p ${srcdir}/src/os2/dllar.sh .
49659 ;;
49660 esac
49661 fi
49662 if test "$wxUSE_OMF" = "yes"; then
49663 case "${host}" in
49664 *-pc-os2_emx | *-pc-os2-emx )
49665 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49666 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49667 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49668 ;;
49669 esac
49670 fi
49671
49672 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49673
49674
49675 case "${host}" in
49676 *-*-solaris2* )
49677 if test "$GCC" = yes; then
49678 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49679 LIBS=`echo $LIBS | sed 's/-mt//'`
49680 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49681 fi
49682 ;;
49683
49684 *-*-linux* )
49685 if test "x$SUNCXX" = xyes; then
49686 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49687 LIBS=`echo $LIBS | sed 's/-pthread//'`
49688 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49689 fi
49690 ;;
49691 esac
49692
49693 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49694 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49695
49696 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49697
49698
49699
49700
49701
49702
49703
49704
49705
49706
49707
49708
49709
49710
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737
49738
49739
49740
49741
49742
49743
49744
49745
49746
49747
49748
49749
49750
49751
49752
49753
49754
49755
49756
49757 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49758 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49759 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49760 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49761 echo $ECHO_N "(cached) $ECHO_C" >&6
49762 else
49763 cat >conftest.make <<\_ACEOF
49764 SHELL = /bin/sh
49765 all:
49766 @echo '@@@%%%=$(MAKE)=@@@%%%'
49767 _ACEOF
49768 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49769 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49770 *@@@%%%=?*=@@@%%%*)
49771 eval ac_cv_prog_make_${ac_make}_set=yes;;
49772 *)
49773 eval ac_cv_prog_make_${ac_make}_set=no;;
49774 esac
49775 rm -f conftest.make
49776 fi
49777 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49778 { echo "$as_me:$LINENO: result: yes" >&5
49779 echo "${ECHO_T}yes" >&6; }
49780 SET_MAKE=
49781 else
49782 { echo "$as_me:$LINENO: result: no" >&5
49783 echo "${ECHO_T}no" >&6; }
49784 SET_MAKE="MAKE=${MAKE-make}"
49785 fi
49786
49787
49788
49789 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49790
49791
49792 if test "$USE_WIN32" = 1; then
49793 ac_config_commands="$ac_config_commands
49794 rcdefs.h
49795 "
49796
49797 fi
49798
49799 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49800
49801
49802 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49803
49804
49805 if test "$wx_cv_version_script" = "yes"; then
49806 ac_config_files="$ac_config_files version-script"
49807
49808 fi
49809 ac_config_files="$ac_config_files Makefile"
49810
49811
49812 ac_config_commands="$ac_config_commands wx-config"
49813
49814
49815
49816 if test "$wxWITH_SUBDIRS" != "no"; then
49817 if test "$wxUSE_GUI" = "yes"; then
49818 SUBDIRS="samples demos utils"
49819 else
49820 SUBDIRS="samples utils"
49821 fi
49822
49823
49824
49825 # Check whether --with-cppunit-prefix was given.
49826 if test "${with_cppunit_prefix+set}" = set; then
49827 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49828 else
49829 cppunit_config_prefix=""
49830 fi
49831
49832
49833 # Check whether --with-cppunit-exec-prefix was given.
49834 if test "${with_cppunit_exec_prefix+set}" = set; then
49835 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49836 else
49837 cppunit_config_exec_prefix=""
49838 fi
49839
49840
49841 if test x$cppunit_config_exec_prefix != x ; then
49842 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49843 if test x${CPPUNIT_CONFIG+set} != xset ; then
49844 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49845 fi
49846 fi
49847 if test x$cppunit_config_prefix != x ; then
49848 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49849 if test x${CPPUNIT_CONFIG+set} != xset ; then
49850 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49851 fi
49852 fi
49853
49854 # Extract the first word of "cppunit-config", so it can be a program name with args.
49855 set dummy cppunit-config; ac_word=$2
49856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49858 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49859 echo $ECHO_N "(cached) $ECHO_C" >&6
49860 else
49861 case $CPPUNIT_CONFIG in
49862 [\\/]* | ?:[\\/]*)
49863 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49864 ;;
49865 *)
49866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49867 for as_dir in $PATH
49868 do
49869 IFS=$as_save_IFS
49870 test -z "$as_dir" && as_dir=.
49871 for ac_exec_ext in '' $ac_executable_extensions; do
49872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49873 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49875 break 2
49876 fi
49877 done
49878 done
49879 IFS=$as_save_IFS
49880
49881 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49882 ;;
49883 esac
49884 fi
49885 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49886 if test -n "$CPPUNIT_CONFIG"; then
49887 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49888 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49889 else
49890 { echo "$as_me:$LINENO: result: no" >&5
49891 echo "${ECHO_T}no" >&6; }
49892 fi
49893
49894
49895 cppunit_version_min=1.8.0
49896
49897 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49898 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49899 no_cppunit=""
49900 if test "$CPPUNIT_CONFIG" = "no" ; then
49901 { echo "$as_me:$LINENO: result: no" >&5
49902 echo "${ECHO_T}no" >&6; }
49903 no_cppunit=yes
49904 else
49905 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49906 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49907 cppunit_version=`$CPPUNIT_CONFIG --version`
49908
49909 cppunit_major_version=`echo $cppunit_version | \
49910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49911 cppunit_minor_version=`echo $cppunit_version | \
49912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49913 cppunit_micro_version=`echo $cppunit_version | \
49914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49915
49916 cppunit_major_min=`echo $cppunit_version_min | \
49917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49918 cppunit_minor_min=`echo $cppunit_version_min | \
49919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49920 cppunit_micro_min=`echo $cppunit_version_min | \
49921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49922
49923 cppunit_version_proper=`expr \
49924 $cppunit_major_version \> $cppunit_major_min \| \
49925 $cppunit_major_version \= $cppunit_major_min \& \
49926 $cppunit_minor_version \> $cppunit_minor_min \| \
49927 $cppunit_major_version \= $cppunit_major_min \& \
49928 $cppunit_minor_version \= $cppunit_minor_min \& \
49929 $cppunit_micro_version \>= $cppunit_micro_min `
49930
49931 if test "$cppunit_version_proper" = "1" ; then
49932 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49933 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49934 else
49935 { echo "$as_me:$LINENO: result: no" >&5
49936 echo "${ECHO_T}no" >&6; }
49937 no_cppunit=yes
49938 fi
49939 fi
49940
49941 if test "x$no_cppunit" = x ; then
49942 SUBDIRS="$SUBDIRS tests"
49943 else
49944 CPPUNIT_CFLAGS=""
49945 CPPUNIT_LIBS=""
49946 :
49947 fi
49948
49949
49950
49951
49952
49953 for subdir in $SUBDIRS; do
49954 if test -d ${srcdir}/${subdir} ; then
49955 if test "$wxUSE_GUI" = "yes"; then
49956 if test ${subdir} = "samples"; then
49957 makefiles="samples/Makefile.in $makefiles"
49958 for sample in $SAMPLES_SUBDIRS; do
49959 if test -d $srcdir/samples/$sample; then
49960 makefiles="samples/$sample/Makefile.in $makefiles"
49961 fi
49962 done
49963 else
49964 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
49965 eval "disabled=\$$disabled_var"
49966 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49967 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49968 fi
49969 else
49970 if test ${subdir} = "samples"; then
49971 makefiles="samples/Makefile.in samples/console/Makefile.in"
49972 elif test ${subdir} = "utils"; then
49973 makefiles=""
49974 for util in HelpGen tex2rtf ; do
49975 if test -d $srcdir/utils/$util ; then
49976 makefiles="utils/$util/Makefile.in \
49977 utils/$util/src/Makefile.in \
49978 $makefiles"
49979 fi
49980 done
49981 else
49982 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49983 fi
49984 fi
49985
49986 for mkin in $makefiles ; do
49987 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49988 ac_config_files="$ac_config_files $mk"
49989
49990 done
49991 fi
49992 done
49993 fi
49994 cat >confcache <<\_ACEOF
49995 # This file is a shell script that caches the results of configure
49996 # tests run on this system so they can be shared between configure
49997 # scripts and configure runs, see configure's option --config-cache.
49998 # It is not useful on other systems. If it contains results you don't
49999 # want to keep, you may remove or edit it.
50000 #
50001 # config.status only pays attention to the cache file if you give it
50002 # the --recheck option to rerun configure.
50003 #
50004 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50005 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50006 # following values.
50007
50008 _ACEOF
50009
50010 # The following way of writing the cache mishandles newlines in values,
50011 # but we know of no workaround that is simple, portable, and efficient.
50012 # So, we kill variables containing newlines.
50013 # Ultrix sh set writes to stderr and can't be redirected directly,
50014 # and sets the high bit in the cache file unless we assign to the vars.
50015 (
50016 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50017 eval ac_val=\$$ac_var
50018 case $ac_val in #(
50019 *${as_nl}*)
50020 case $ac_var in #(
50021 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50022 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50023 esac
50024 case $ac_var in #(
50025 _ | IFS | as_nl) ;; #(
50026 *) $as_unset $ac_var ;;
50027 esac ;;
50028 esac
50029 done
50030
50031 (set) 2>&1 |
50032 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50033 *${as_nl}ac_space=\ *)
50034 # `set' does not quote correctly, so add quotes (double-quote
50035 # substitution turns \\\\ into \\, and sed turns \\ into \).
50036 sed -n \
50037 "s/'/'\\\\''/g;
50038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50039 ;; #(
50040 *)
50041 # `set' quotes correctly as required by POSIX, so do not add quotes.
50042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50043 ;;
50044 esac |
50045 sort
50046 ) |
50047 sed '
50048 /^ac_cv_env_/b end
50049 t clear
50050 :clear
50051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50052 t end
50053 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50054 :end' >>confcache
50055 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50056 if test -w "$cache_file"; then
50057 test "x$cache_file" != "x/dev/null" &&
50058 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50059 echo "$as_me: updating cache $cache_file" >&6;}
50060 cat confcache >$cache_file
50061 else
50062 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50063 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50064 fi
50065 fi
50066 rm -f confcache
50067
50068 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50069 # Let make expand exec_prefix.
50070 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50071
50072 DEFS=-DHAVE_CONFIG_H
50073
50074 ac_libobjs=
50075 ac_ltlibobjs=
50076 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50077 # 1. Remove the extension, and $U if already installed.
50078 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50079 ac_i=`echo "$ac_i" | sed "$ac_script"`
50080 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50081 # will be set to the directory where LIBOBJS objects are built.
50082 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50083 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50084 done
50085 LIBOBJS=$ac_libobjs
50086
50087 LTLIBOBJS=$ac_ltlibobjs
50088
50089
50090
50091 : ${CONFIG_STATUS=./config.status}
50092 ac_clean_files_save=$ac_clean_files
50093 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50094 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50095 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50096 cat >$CONFIG_STATUS <<_ACEOF
50097 #! $SHELL
50098 # Generated by $as_me.
50099 # Run this file to recreate the current configuration.
50100 # Compiler output produced by configure, useful for debugging
50101 # configure, is in config.log if it exists.
50102
50103 debug=false
50104 ac_cs_recheck=false
50105 ac_cs_silent=false
50106 SHELL=\${CONFIG_SHELL-$SHELL}
50107 _ACEOF
50108
50109 cat >>$CONFIG_STATUS <<\_ACEOF
50110 ## --------------------- ##
50111 ## M4sh Initialization. ##
50112 ## --------------------- ##
50113
50114 # Be more Bourne compatible
50115 DUALCASE=1; export DUALCASE # for MKS sh
50116 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50117 emulate sh
50118 NULLCMD=:
50119 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50120 # is contrary to our usage. Disable this feature.
50121 alias -g '${1+"$@"}'='"$@"'
50122 setopt NO_GLOB_SUBST
50123 else
50124 case `(set -o) 2>/dev/null` in
50125 *posix*) set -o posix ;;
50126 esac
50127
50128 fi
50129
50130
50131
50132
50133 # PATH needs CR
50134 # Avoid depending upon Character Ranges.
50135 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50136 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50137 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50138 as_cr_digits='0123456789'
50139 as_cr_alnum=$as_cr_Letters$as_cr_digits
50140
50141 # The user is always right.
50142 if test "${PATH_SEPARATOR+set}" != set; then
50143 echo "#! /bin/sh" >conf$$.sh
50144 echo "exit 0" >>conf$$.sh
50145 chmod +x conf$$.sh
50146 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50147 PATH_SEPARATOR=';'
50148 else
50149 PATH_SEPARATOR=:
50150 fi
50151 rm -f conf$$.sh
50152 fi
50153
50154 # Support unset when possible.
50155 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50156 as_unset=unset
50157 else
50158 as_unset=false
50159 fi
50160
50161
50162 # IFS
50163 # We need space, tab and new line, in precisely that order. Quoting is
50164 # there to prevent editors from complaining about space-tab.
50165 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50166 # splitting by setting IFS to empty value.)
50167 as_nl='
50168 '
50169 IFS=" "" $as_nl"
50170
50171 # Find who we are. Look in the path if we contain no directory separator.
50172 case $0 in
50173 *[\\/]* ) as_myself=$0 ;;
50174 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50175 for as_dir in $PATH
50176 do
50177 IFS=$as_save_IFS
50178 test -z "$as_dir" && as_dir=.
50179 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50180 done
50181 IFS=$as_save_IFS
50182
50183 ;;
50184 esac
50185 # We did not find ourselves, most probably we were run as `sh COMMAND'
50186 # in which case we are not to be found in the path.
50187 if test "x$as_myself" = x; then
50188 as_myself=$0
50189 fi
50190 if test ! -f "$as_myself"; then
50191 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50192 { (exit 1); exit 1; }
50193 fi
50194
50195 # Work around bugs in pre-3.0 UWIN ksh.
50196 for as_var in ENV MAIL MAILPATH
50197 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50198 done
50199 PS1='$ '
50200 PS2='> '
50201 PS4='+ '
50202
50203 # NLS nuisances.
50204 for as_var in \
50205 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50206 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50207 LC_TELEPHONE LC_TIME
50208 do
50209 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50210 eval $as_var=C; export $as_var
50211 else
50212 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50213 fi
50214 done
50215
50216 # Required to use basename.
50217 if expr a : '\(a\)' >/dev/null 2>&1 &&
50218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50219 as_expr=expr
50220 else
50221 as_expr=false
50222 fi
50223
50224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50225 as_basename=basename
50226 else
50227 as_basename=false
50228 fi
50229
50230
50231 # Name of the executable.
50232 as_me=`$as_basename -- "$0" ||
50233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50234 X"$0" : 'X\(//\)$' \| \
50235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50236 echo X/"$0" |
50237 sed '/^.*\/\([^/][^/]*\)\/*$/{
50238 s//\1/
50239 q
50240 }
50241 /^X\/\(\/\/\)$/{
50242 s//\1/
50243 q
50244 }
50245 /^X\/\(\/\).*/{
50246 s//\1/
50247 q
50248 }
50249 s/.*/./; q'`
50250
50251 # CDPATH.
50252 $as_unset CDPATH
50253
50254
50255
50256 as_lineno_1=$LINENO
50257 as_lineno_2=$LINENO
50258 test "x$as_lineno_1" != "x$as_lineno_2" &&
50259 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50260
50261 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50262 # uniformly replaced by the line number. The first 'sed' inserts a
50263 # line-number line after each line using $LINENO; the second 'sed'
50264 # does the real work. The second script uses 'N' to pair each
50265 # line-number line with the line containing $LINENO, and appends
50266 # trailing '-' during substitution so that $LINENO is not a special
50267 # case at line end.
50268 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50269 # scripts with optimization help from Paolo Bonzini. Blame Lee
50270 # E. McMahon (1931-1989) for sed's syntax. :-)
50271 sed -n '
50272 p
50273 /[$]LINENO/=
50274 ' <$as_myself |
50275 sed '
50276 s/[$]LINENO.*/&-/
50277 t lineno
50278 b
50279 :lineno
50280 N
50281 :loop
50282 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50283 t loop
50284 s/-\n.*//
50285 ' >$as_me.lineno &&
50286 chmod +x "$as_me.lineno" ||
50287 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50288 { (exit 1); exit 1; }; }
50289
50290 # Don't try to exec as it changes $[0], causing all sort of problems
50291 # (the dirname of $[0] is not the place where we might find the
50292 # original and so on. Autoconf is especially sensitive to this).
50293 . "./$as_me.lineno"
50294 # Exit status is that of the last command.
50295 exit
50296 }
50297
50298
50299 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50300 as_dirname=dirname
50301 else
50302 as_dirname=false
50303 fi
50304
50305 ECHO_C= ECHO_N= ECHO_T=
50306 case `echo -n x` in
50307 -n*)
50308 case `echo 'x\c'` in
50309 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50310 *) ECHO_C='\c';;
50311 esac;;
50312 *)
50313 ECHO_N='-n';;
50314 esac
50315
50316 if expr a : '\(a\)' >/dev/null 2>&1 &&
50317 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50318 as_expr=expr
50319 else
50320 as_expr=false
50321 fi
50322
50323 rm -f conf$$ conf$$.exe conf$$.file
50324 if test -d conf$$.dir; then
50325 rm -f conf$$.dir/conf$$.file
50326 else
50327 rm -f conf$$.dir
50328 mkdir conf$$.dir
50329 fi
50330 echo >conf$$.file
50331 if ln -s conf$$.file conf$$ 2>/dev/null; then
50332 as_ln_s='ln -s'
50333 # ... but there are two gotchas:
50334 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50335 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50336 # In both cases, we have to default to `cp -p'.
50337 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50338 as_ln_s='cp -p'
50339 elif ln conf$$.file conf$$ 2>/dev/null; then
50340 as_ln_s=ln
50341 else
50342 as_ln_s='cp -p'
50343 fi
50344 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50345 rmdir conf$$.dir 2>/dev/null
50346
50347 if mkdir -p . 2>/dev/null; then
50348 as_mkdir_p=:
50349 else
50350 test -d ./-p && rmdir ./-p
50351 as_mkdir_p=false
50352 fi
50353
50354 if test -x / >/dev/null 2>&1; then
50355 as_test_x='test -x'
50356 else
50357 if ls -dL / >/dev/null 2>&1; then
50358 as_ls_L_option=L
50359 else
50360 as_ls_L_option=
50361 fi
50362 as_test_x='
50363 eval sh -c '\''
50364 if test -d "$1"; then
50365 test -d "$1/.";
50366 else
50367 case $1 in
50368 -*)set "./$1";;
50369 esac;
50370 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50371 ???[sx]*):;;*)false;;esac;fi
50372 '\'' sh
50373 '
50374 fi
50375 as_executable_p=$as_test_x
50376
50377 # Sed expression to map a string onto a valid CPP name.
50378 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50379
50380 # Sed expression to map a string onto a valid variable name.
50381 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50382
50383
50384 exec 6>&1
50385
50386 # Save the log message, to keep $[0] and so on meaningful, and to
50387 # report actual input values of CONFIG_FILES etc. instead of their
50388 # values after options handling.
50389 ac_log="
50390 This file was extended by wxWidgets $as_me 2.9.0, which was
50391 generated by GNU Autoconf 2.61. Invocation command line was
50392
50393 CONFIG_FILES = $CONFIG_FILES
50394 CONFIG_HEADERS = $CONFIG_HEADERS
50395 CONFIG_LINKS = $CONFIG_LINKS
50396 CONFIG_COMMANDS = $CONFIG_COMMANDS
50397 $ $0 $@
50398
50399 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50400 "
50401
50402 _ACEOF
50403
50404 cat >>$CONFIG_STATUS <<_ACEOF
50405 # Files that config.status was made for.
50406 config_files="$ac_config_files"
50407 config_headers="$ac_config_headers"
50408 config_commands="$ac_config_commands"
50409
50410 _ACEOF
50411
50412 cat >>$CONFIG_STATUS <<\_ACEOF
50413 ac_cs_usage="\
50414 \`$as_me' instantiates files from templates according to the
50415 current configuration.
50416
50417 Usage: $0 [OPTIONS] [FILE]...
50418
50419 -h, --help print this help, then exit
50420 -V, --version print version number and configuration settings, then exit
50421 -q, --quiet do not print progress messages
50422 -d, --debug don't remove temporary files
50423 --recheck update $as_me by reconfiguring in the same conditions
50424 --file=FILE[:TEMPLATE]
50425 instantiate the configuration file FILE
50426 --header=FILE[:TEMPLATE]
50427 instantiate the configuration header FILE
50428
50429 Configuration files:
50430 $config_files
50431
50432 Configuration headers:
50433 $config_headers
50434
50435 Configuration commands:
50436 $config_commands
50437
50438 Report bugs to <bug-autoconf@gnu.org>."
50439
50440 _ACEOF
50441 cat >>$CONFIG_STATUS <<_ACEOF
50442 ac_cs_version="\\
50443 wxWidgets config.status 2.9.0
50444 configured by $0, generated by GNU Autoconf 2.61,
50445 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50446
50447 Copyright (C) 2006 Free Software Foundation, Inc.
50448 This config.status script is free software; the Free Software Foundation
50449 gives unlimited permission to copy, distribute and modify it."
50450
50451 ac_pwd='$ac_pwd'
50452 srcdir='$srcdir'
50453 INSTALL='$INSTALL'
50454 _ACEOF
50455
50456 cat >>$CONFIG_STATUS <<\_ACEOF
50457 # If no file are specified by the user, then we need to provide default
50458 # value. By we need to know if files were specified by the user.
50459 ac_need_defaults=:
50460 while test $# != 0
50461 do
50462 case $1 in
50463 --*=*)
50464 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50466 ac_shift=:
50467 ;;
50468 *)
50469 ac_option=$1
50470 ac_optarg=$2
50471 ac_shift=shift
50472 ;;
50473 esac
50474
50475 case $ac_option in
50476 # Handling of the options.
50477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50478 ac_cs_recheck=: ;;
50479 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50480 echo "$ac_cs_version"; exit ;;
50481 --debug | --debu | --deb | --de | --d | -d )
50482 debug=: ;;
50483 --file | --fil | --fi | --f )
50484 $ac_shift
50485 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50486 ac_need_defaults=false;;
50487 --header | --heade | --head | --hea )
50488 $ac_shift
50489 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50490 ac_need_defaults=false;;
50491 --he | --h)
50492 # Conflict between --help and --header
50493 { echo "$as_me: error: ambiguous option: $1
50494 Try \`$0 --help' for more information." >&2
50495 { (exit 1); exit 1; }; };;
50496 --help | --hel | -h )
50497 echo "$ac_cs_usage"; exit ;;
50498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50499 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50500 ac_cs_silent=: ;;
50501
50502 # This is an error.
50503 -*) { echo "$as_me: error: unrecognized option: $1
50504 Try \`$0 --help' for more information." >&2
50505 { (exit 1); exit 1; }; } ;;
50506
50507 *) ac_config_targets="$ac_config_targets $1"
50508 ac_need_defaults=false ;;
50509
50510 esac
50511 shift
50512 done
50513
50514 ac_configure_extra_args=
50515
50516 if $ac_cs_silent; then
50517 exec 6>/dev/null
50518 ac_configure_extra_args="$ac_configure_extra_args --silent"
50519 fi
50520
50521 _ACEOF
50522 cat >>$CONFIG_STATUS <<_ACEOF
50523 if \$ac_cs_recheck; then
50524 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50525 CONFIG_SHELL=$SHELL
50526 export CONFIG_SHELL
50527 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50528 fi
50529
50530 _ACEOF
50531 cat >>$CONFIG_STATUS <<\_ACEOF
50532 exec 5>>config.log
50533 {
50534 echo
50535 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50536 ## Running $as_me. ##
50537 _ASBOX
50538 echo "$ac_log"
50539 } >&5
50540
50541 _ACEOF
50542 cat >>$CONFIG_STATUS <<_ACEOF
50543 #
50544 # INIT-COMMANDS
50545 #
50546
50547 CPP="$CPP"
50548 infile="$srcdir/include/wx/msw/genrcdefs.h"
50549 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50550
50551
50552 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50553 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50554 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50555 LN_S="${LN_S}"
50556
50557
50558 _ACEOF
50559
50560 cat >>$CONFIG_STATUS <<\_ACEOF
50561
50562 # Handling of arguments.
50563 for ac_config_target in $ac_config_targets
50564 do
50565 case $ac_config_target in
50566 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50567 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50568 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50569 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50570 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50571 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50572 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50573 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50574
50575 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50576 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50577 { (exit 1); exit 1; }; };;
50578 esac
50579 done
50580
50581
50582 # If the user did not use the arguments to specify the items to instantiate,
50583 # then the envvar interface is used. Set only those that are not.
50584 # We use the long form for the default assignment because of an extremely
50585 # bizarre bug on SunOS 4.1.3.
50586 if $ac_need_defaults; then
50587 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50588 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50589 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50590 fi
50591
50592 # Have a temporary directory for convenience. Make it in the build tree
50593 # simply because there is no reason against having it here, and in addition,
50594 # creating and moving files from /tmp can sometimes cause problems.
50595 # Hook for its removal unless debugging.
50596 # Note that there is a small window in which the directory will not be cleaned:
50597 # after its creation but before its name has been assigned to `$tmp'.
50598 $debug ||
50599 {
50600 tmp=
50601 trap 'exit_status=$?
50602 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50603 ' 0
50604 trap '{ (exit 1); exit 1; }' 1 2 13 15
50605 }
50606 # Create a (secure) tmp directory for tmp files.
50607
50608 {
50609 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50610 test -n "$tmp" && test -d "$tmp"
50611 } ||
50612 {
50613 tmp=./conf$$-$RANDOM
50614 (umask 077 && mkdir "$tmp")
50615 } ||
50616 {
50617 echo "$me: cannot create a temporary directory in ." >&2
50618 { (exit 1); exit 1; }
50619 }
50620
50621 #
50622 # Set up the sed scripts for CONFIG_FILES section.
50623 #
50624
50625 # No need to generate the scripts if there are no CONFIG_FILES.
50626 # This happens for instance when ./config.status config.h
50627 if test -n "$CONFIG_FILES"; then
50628
50629 _ACEOF
50630
50631
50632
50633 ac_delim='%!_!# '
50634 for ac_last_try in false false false false false :; do
50635 cat >conf$$subs.sed <<_ACEOF
50636 SHELL!$SHELL$ac_delim
50637 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50638 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50639 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50640 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50641 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50642 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50643 exec_prefix!$exec_prefix$ac_delim
50644 prefix!$prefix$ac_delim
50645 program_transform_name!$program_transform_name$ac_delim
50646 bindir!$bindir$ac_delim
50647 sbindir!$sbindir$ac_delim
50648 libexecdir!$libexecdir$ac_delim
50649 datarootdir!$datarootdir$ac_delim
50650 datadir!$datadir$ac_delim
50651 sysconfdir!$sysconfdir$ac_delim
50652 sharedstatedir!$sharedstatedir$ac_delim
50653 localstatedir!$localstatedir$ac_delim
50654 includedir!$includedir$ac_delim
50655 oldincludedir!$oldincludedir$ac_delim
50656 docdir!$docdir$ac_delim
50657 infodir!$infodir$ac_delim
50658 htmldir!$htmldir$ac_delim
50659 dvidir!$dvidir$ac_delim
50660 pdfdir!$pdfdir$ac_delim
50661 psdir!$psdir$ac_delim
50662 libdir!$libdir$ac_delim
50663 localedir!$localedir$ac_delim
50664 mandir!$mandir$ac_delim
50665 DEFS!$DEFS$ac_delim
50666 ECHO_C!$ECHO_C$ac_delim
50667 ECHO_N!$ECHO_N$ac_delim
50668 ECHO_T!$ECHO_T$ac_delim
50669 LIBS!$LIBS$ac_delim
50670 build_alias!$build_alias$ac_delim
50671 host_alias!$host_alias$ac_delim
50672 target_alias!$target_alias$ac_delim
50673 build!$build$ac_delim
50674 build_cpu!$build_cpu$ac_delim
50675 build_vendor!$build_vendor$ac_delim
50676 build_os!$build_os$ac_delim
50677 host!$host$ac_delim
50678 host_cpu!$host_cpu$ac_delim
50679 host_vendor!$host_vendor$ac_delim
50680 host_os!$host_os$ac_delim
50681 target!$target$ac_delim
50682 target_cpu!$target_cpu$ac_delim
50683 target_vendor!$target_vendor$ac_delim
50684 target_os!$target_os$ac_delim
50685 wx_top_builddir!$wx_top_builddir$ac_delim
50686 CC!$CC$ac_delim
50687 CFLAGS!$CFLAGS$ac_delim
50688 LDFLAGS!$LDFLAGS$ac_delim
50689 CPPFLAGS!$CPPFLAGS$ac_delim
50690 ac_ct_CC!$ac_ct_CC$ac_delim
50691 EXEEXT!$EXEEXT$ac_delim
50692 OBJEXT!$OBJEXT$ac_delim
50693 CPP!$CPP$ac_delim
50694 GREP!$GREP$ac_delim
50695 EGREP!$EGREP$ac_delim
50696 CXX!$CXX$ac_delim
50697 CXXFLAGS!$CXXFLAGS$ac_delim
50698 ac_ct_CXX!$ac_ct_CXX$ac_delim
50699 AR!$AR$ac_delim
50700 subdirs!$subdirs$ac_delim
50701 PKG_CONFIG!$PKG_CONFIG$ac_delim
50702 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50703 GTK_LIBS!$GTK_LIBS$ac_delim
50704 GTK_CONFIG!$GTK_CONFIG$ac_delim
50705 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50706 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50707 XMKMF!$XMKMF$ac_delim
50708 X_CFLAGS!$X_CFLAGS$ac_delim
50709 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50710 X_LIBS!$X_LIBS$ac_delim
50711 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50712 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50713 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50714 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50715 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50716 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50717 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50718 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50719 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50720 LIBICONV!$LIBICONV$ac_delim
50721 SDL_CONFIG!$SDL_CONFIG$ac_delim
50722 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50723 SDL_LIBS!$SDL_LIBS$ac_delim
50724 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50725 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50726 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50727 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50728 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50729 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50730 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50731 HILDON_LIBS!$HILDON_LIBS$ac_delim
50732 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50733 _ACEOF
50734
50735 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50736 break
50737 elif $ac_last_try; then
50738 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50739 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50740 { (exit 1); exit 1; }; }
50741 else
50742 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50743 fi
50744 done
50745
50746 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50747 if test -n "$ac_eof"; then
50748 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50749 ac_eof=`expr $ac_eof + 1`
50750 fi
50751
50752 cat >>$CONFIG_STATUS <<_ACEOF
50753 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50755 _ACEOF
50756 sed '
50757 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50758 s/^/s,@/; s/!/@,|#_!!_#|/
50759 :n
50760 t n
50761 s/'"$ac_delim"'$/,g/; t
50762 s/$/\\/; p
50763 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50764 ' >>$CONFIG_STATUS <conf$$subs.sed
50765 rm -f conf$$subs.sed
50766 cat >>$CONFIG_STATUS <<_ACEOF
50767 CEOF$ac_eof
50768 _ACEOF
50769
50770
50771 ac_delim='%!_!# '
50772 for ac_last_try in false false false false false :; do
50773 cat >conf$$subs.sed <<_ACEOF
50774 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50775 GST_CFLAGS!$GST_CFLAGS$ac_delim
50776 GST_LIBS!$GST_LIBS$ac_delim
50777 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50778 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50779 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50780 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50781 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50782 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50783 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50784 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50785 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50786 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50787 VENDOR!$VENDOR$ac_delim
50788 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50789 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50790 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50791 WXUNIV!$WXUNIV$ac_delim
50792 MONOLITHIC!$MONOLITHIC$ac_delim
50793 USE_PLUGINS!$USE_PLUGINS$ac_delim
50794 CXXWARNINGS!$CXXWARNINGS$ac_delim
50795 EXTRALIBS!$EXTRALIBS$ac_delim
50796 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50797 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50798 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50799 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50800 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50801 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50802 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50803 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50804 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50805 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50806 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50807 UNICODE!$UNICODE$ac_delim
50808 BUILD!$BUILD$ac_delim
50809 DEBUG_INFO!$DEBUG_INFO$ac_delim
50810 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50811 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50812 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50813 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50814 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50815 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50816 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50817 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50818 RANLIB!$RANLIB$ac_delim
50819 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50820 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50821 INSTALL_DATA!$INSTALL_DATA$ac_delim
50822 LN_S!$LN_S$ac_delim
50823 SET_MAKE!$SET_MAKE$ac_delim
50824 MAKE_SET!$MAKE_SET$ac_delim
50825 AROPTIONS!$AROPTIONS$ac_delim
50826 STRIP!$STRIP$ac_delim
50827 NM!$NM$ac_delim
50828 INSTALL_DIR!$INSTALL_DIR$ac_delim
50829 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50830 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50831 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50832 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50833 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50834 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50835 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50836 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50837 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50838 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50839 SO_SUFFIX!$SO_SUFFIX$ac_delim
50840 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50841 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50842 LIBPREFIX!$LIBPREFIX$ac_delim
50843 LIBEXT!$LIBEXT$ac_delim
50844 DLLPREFIX!$DLLPREFIX$ac_delim
50845 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50846 dlldir!$dlldir$ac_delim
50847 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50848 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50849 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50850 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50851 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50852 PIC_FLAG!$PIC_FLAG$ac_delim
50853 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50854 USE_SOVERSION!$USE_SOVERSION$ac_delim
50855 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50856 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50857 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50858 USE_MACVERSION!$USE_MACVERSION$ac_delim
50859 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50860 SONAME_FLAG!$SONAME_FLAG$ac_delim
50861 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50862 BK_DEPS!$BK_DEPS$ac_delim
50863 WINDRES!$WINDRES$ac_delim
50864 REZ!$REZ$ac_delim
50865 SETFILE!$SETFILE$ac_delim
50866 GCC_PCH!$GCC_PCH$ac_delim
50867 ICC_PCH!$ICC_PCH$ac_delim
50868 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50869 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50870 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50871 _ACEOF
50872
50873 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50874 break
50875 elif $ac_last_try; then
50876 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50877 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50878 { (exit 1); exit 1; }; }
50879 else
50880 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50881 fi
50882 done
50883
50884 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50885 if test -n "$ac_eof"; then
50886 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50887 ac_eof=`expr $ac_eof + 1`
50888 fi
50889
50890 cat >>$CONFIG_STATUS <<_ACEOF
50891 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50892 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50893 _ACEOF
50894 sed '
50895 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50896 s/^/s,@/; s/!/@,|#_!!_#|/
50897 :n
50898 t n
50899 s/'"$ac_delim"'$/,g/; t
50900 s/$/\\/; p
50901 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50902 ' >>$CONFIG_STATUS <conf$$subs.sed
50903 rm -f conf$$subs.sed
50904 cat >>$CONFIG_STATUS <<_ACEOF
50905 CEOF$ac_eof
50906 _ACEOF
50907
50908
50909 ac_delim='%!_!# '
50910 for ac_last_try in false false false false false :; do
50911 cat >conf$$subs.sed <<_ACEOF
50912 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50913 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50914 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50915 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50917 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50918 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50919 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50920 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50921 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50922 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50923 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50924 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50925 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50926 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50927 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50928 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50929 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50931 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50933 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50934 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50935 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50936 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50937 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50938 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50942 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50943 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50944 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50945 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50946 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50947 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50948 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50949 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50950 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50951 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50952 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50953 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50954 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50955 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50956 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50957 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50958 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50959 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50960 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50961 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50962 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50963 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50964 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50965 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50966 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50967 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50968 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50969 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50970 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50971 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50972 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50973 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50974 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50975 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50976 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50977 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50978 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50979 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50980 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50981 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50982 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50983 COND_SHARED_0!$COND_SHARED_0$ac_delim
50984 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50985 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50986 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50987 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50988 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50989 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50990 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50991 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50992 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50993 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50994 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50995 COND_SHARED_1!$COND_SHARED_1$ac_delim
50996 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50997 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50998 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50999 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51000 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51001 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51002 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51003 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51004 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51005 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51006 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51007 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51008 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51009 _ACEOF
51010
51011 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51012 break
51013 elif $ac_last_try; then
51014 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51015 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51016 { (exit 1); exit 1; }; }
51017 else
51018 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51019 fi
51020 done
51021
51022 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51023 if test -n "$ac_eof"; then
51024 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51025 ac_eof=`expr $ac_eof + 1`
51026 fi
51027
51028 cat >>$CONFIG_STATUS <<_ACEOF
51029 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51030 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51031 _ACEOF
51032 sed '
51033 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51034 s/^/s,@/; s/!/@,|#_!!_#|/
51035 :n
51036 t n
51037 s/'"$ac_delim"'$/,g/; t
51038 s/$/\\/; p
51039 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51040 ' >>$CONFIG_STATUS <conf$$subs.sed
51041 rm -f conf$$subs.sed
51042 cat >>$CONFIG_STATUS <<_ACEOF
51043 CEOF$ac_eof
51044 _ACEOF
51045
51046
51047 ac_delim='%!_!# '
51048 for ac_last_try in false false false false false :; do
51049 cat >conf$$subs.sed <<_ACEOF
51050 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51051 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51052 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51053 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51054 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51055 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51056 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51057 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51058 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51059 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51060 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51061 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51062 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51063 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51064 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51065 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51066 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51067 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51068 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51069 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51070 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51071 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51072 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51073 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51074 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51075 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51076 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51077 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51078 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51079 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51080 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51081 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51082 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51083 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51084 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51085 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51086 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51087 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51088 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51089 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51090 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51091 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51092 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51093 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51094 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51095 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51096 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51097 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51098 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51099 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51100 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51101 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51102 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51103 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51104 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51105 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51106 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51107 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51108 DEREZ!$DEREZ$ac_delim
51109 SHARED!$SHARED$ac_delim
51110 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51111 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51112 USE_GUI!$USE_GUI$ac_delim
51113 AFMINSTALL!$AFMINSTALL$ac_delim
51114 WIN32INSTALL!$WIN32INSTALL$ac_delim
51115 TOOLKIT!$TOOLKIT$ac_delim
51116 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51117 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51118 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51119 cross_compiling!$cross_compiling$ac_delim
51120 WIDGET_SET!$WIDGET_SET$ac_delim
51121 WX_RELEASE!$WX_RELEASE$ac_delim
51122 WX_VERSION!$WX_VERSION$ac_delim
51123 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51124 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51125 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51126 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51127 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51128 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51129 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51130 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51131 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51132 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51133 GUIDIST!$GUIDIST$ac_delim
51134 DISTDIR!$DISTDIR$ac_delim
51135 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51136 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51137 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51138 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51139 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51140 RESCOMP!$RESCOMP$ac_delim
51141 RESFLAGS!$RESFLAGS$ac_delim
51142 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51143 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51144 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51145 LIBWXMACRES!$LIBWXMACRES$ac_delim
51146 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51147 _ACEOF
51148
51149 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51150 break
51151 elif $ac_last_try; then
51152 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51153 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51154 { (exit 1); exit 1; }; }
51155 else
51156 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51157 fi
51158 done
51159
51160 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51161 if test -n "$ac_eof"; then
51162 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51163 ac_eof=`expr $ac_eof + 1`
51164 fi
51165
51166 cat >>$CONFIG_STATUS <<_ACEOF
51167 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51168 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51169 _ACEOF
51170 sed '
51171 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51172 s/^/s,@/; s/!/@,|#_!!_#|/
51173 :n
51174 t n
51175 s/'"$ac_delim"'$/,g/; t
51176 s/$/\\/; p
51177 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51178 ' >>$CONFIG_STATUS <conf$$subs.sed
51179 rm -f conf$$subs.sed
51180 cat >>$CONFIG_STATUS <<_ACEOF
51181 CEOF$ac_eof
51182 _ACEOF
51183
51184
51185 ac_delim='%!_!# '
51186 for ac_last_try in false false false false false :; do
51187 cat >conf$$subs.sed <<_ACEOF
51188 MACSETFILE!$MACSETFILE$ac_delim
51189 GCC!$GCC$ac_delim
51190 DLLTOOL!$DLLTOOL$ac_delim
51191 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51192 LIBOBJS!$LIBOBJS$ac_delim
51193 LTLIBOBJS!$LTLIBOBJS$ac_delim
51194 _ACEOF
51195
51196 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51197 break
51198 elif $ac_last_try; then
51199 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51200 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51201 { (exit 1); exit 1; }; }
51202 else
51203 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51204 fi
51205 done
51206
51207 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51208 if test -n "$ac_eof"; then
51209 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51210 ac_eof=`expr $ac_eof + 1`
51211 fi
51212
51213 cat >>$CONFIG_STATUS <<_ACEOF
51214 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51215 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51216 _ACEOF
51217 sed '
51218 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51219 s/^/s,@/; s/!/@,|#_!!_#|/
51220 :n
51221 t n
51222 s/'"$ac_delim"'$/,g/; t
51223 s/$/\\/; p
51224 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51225 ' >>$CONFIG_STATUS <conf$$subs.sed
51226 rm -f conf$$subs.sed
51227 cat >>$CONFIG_STATUS <<_ACEOF
51228 :end
51229 s/|#_!!_#|//g
51230 CEOF$ac_eof
51231 _ACEOF
51232
51233
51234 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51235 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51236 # trailing colons and then remove the whole line if VPATH becomes empty
51237 # (actually we leave an empty line to preserve line numbers).
51238 if test "x$srcdir" = x.; then
51239 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51240 s/:*\$(srcdir):*/:/
51241 s/:*\${srcdir}:*/:/
51242 s/:*@srcdir@:*/:/
51243 s/^\([^=]*=[ ]*\):*/\1/
51244 s/:*$//
51245 s/^[^=]*=[ ]*$//
51246 }'
51247 fi
51248
51249 cat >>$CONFIG_STATUS <<\_ACEOF
51250 fi # test -n "$CONFIG_FILES"
51251
51252
51253 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51254 do
51255 case $ac_tag in
51256 :[FHLC]) ac_mode=$ac_tag; continue;;
51257 esac
51258 case $ac_mode$ac_tag in
51259 :[FHL]*:*);;
51260 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51261 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51262 { (exit 1); exit 1; }; };;
51263 :[FH]-) ac_tag=-:-;;
51264 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51265 esac
51266 ac_save_IFS=$IFS
51267 IFS=:
51268 set x $ac_tag
51269 IFS=$ac_save_IFS
51270 shift
51271 ac_file=$1
51272 shift
51273
51274 case $ac_mode in
51275 :L) ac_source=$1;;
51276 :[FH])
51277 ac_file_inputs=
51278 for ac_f
51279 do
51280 case $ac_f in
51281 -) ac_f="$tmp/stdin";;
51282 *) # Look for the file first in the build tree, then in the source tree
51283 # (if the path is not absolute). The absolute path cannot be DOS-style,
51284 # because $ac_f cannot contain `:'.
51285 test -f "$ac_f" ||
51286 case $ac_f in
51287 [\\/$]*) false;;
51288 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51289 esac ||
51290 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51291 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51292 { (exit 1); exit 1; }; };;
51293 esac
51294 ac_file_inputs="$ac_file_inputs $ac_f"
51295 done
51296
51297 # Let's still pretend it is `configure' which instantiates (i.e., don't
51298 # use $as_me), people would be surprised to read:
51299 # /* config.h. Generated by config.status. */
51300 configure_input="Generated from "`IFS=:
51301 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51302 if test x"$ac_file" != x-; then
51303 configure_input="$ac_file. $configure_input"
51304 { echo "$as_me:$LINENO: creating $ac_file" >&5
51305 echo "$as_me: creating $ac_file" >&6;}
51306 fi
51307
51308 case $ac_tag in
51309 *:-:* | *:-) cat >"$tmp/stdin";;
51310 esac
51311 ;;
51312 esac
51313
51314 ac_dir=`$as_dirname -- "$ac_file" ||
51315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51316 X"$ac_file" : 'X\(//\)[^/]' \| \
51317 X"$ac_file" : 'X\(//\)$' \| \
51318 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51319 echo X"$ac_file" |
51320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51321 s//\1/
51322 q
51323 }
51324 /^X\(\/\/\)[^/].*/{
51325 s//\1/
51326 q
51327 }
51328 /^X\(\/\/\)$/{
51329 s//\1/
51330 q
51331 }
51332 /^X\(\/\).*/{
51333 s//\1/
51334 q
51335 }
51336 s/.*/./; q'`
51337 { as_dir="$ac_dir"
51338 case $as_dir in #(
51339 -*) as_dir=./$as_dir;;
51340 esac
51341 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51342 as_dirs=
51343 while :; do
51344 case $as_dir in #(
51345 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51346 *) as_qdir=$as_dir;;
51347 esac
51348 as_dirs="'$as_qdir' $as_dirs"
51349 as_dir=`$as_dirname -- "$as_dir" ||
51350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51351 X"$as_dir" : 'X\(//\)[^/]' \| \
51352 X"$as_dir" : 'X\(//\)$' \| \
51353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51354 echo X"$as_dir" |
51355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51356 s//\1/
51357 q
51358 }
51359 /^X\(\/\/\)[^/].*/{
51360 s//\1/
51361 q
51362 }
51363 /^X\(\/\/\)$/{
51364 s//\1/
51365 q
51366 }
51367 /^X\(\/\).*/{
51368 s//\1/
51369 q
51370 }
51371 s/.*/./; q'`
51372 test -d "$as_dir" && break
51373 done
51374 test -z "$as_dirs" || eval "mkdir $as_dirs"
51375 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51376 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51377 { (exit 1); exit 1; }; }; }
51378 ac_builddir=.
51379
51380 case "$ac_dir" in
51381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51382 *)
51383 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51384 # A ".." for each directory in $ac_dir_suffix.
51385 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51386 case $ac_top_builddir_sub in
51387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51389 esac ;;
51390 esac
51391 ac_abs_top_builddir=$ac_pwd
51392 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51393 # for backward compatibility:
51394 ac_top_builddir=$ac_top_build_prefix
51395
51396 case $srcdir in
51397 .) # We are building in place.
51398 ac_srcdir=.
51399 ac_top_srcdir=$ac_top_builddir_sub
51400 ac_abs_top_srcdir=$ac_pwd ;;
51401 [\\/]* | ?:[\\/]* ) # Absolute name.
51402 ac_srcdir=$srcdir$ac_dir_suffix;
51403 ac_top_srcdir=$srcdir
51404 ac_abs_top_srcdir=$srcdir ;;
51405 *) # Relative name.
51406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51407 ac_top_srcdir=$ac_top_build_prefix$srcdir
51408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51409 esac
51410 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51411
51412
51413 case $ac_mode in
51414 :F)
51415 #
51416 # CONFIG_FILE
51417 #
51418
51419 case $INSTALL in
51420 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51421 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51422 esac
51423 _ACEOF
51424
51425 cat >>$CONFIG_STATUS <<\_ACEOF
51426 # If the template does not know about datarootdir, expand it.
51427 # FIXME: This hack should be removed a few years after 2.60.
51428 ac_datarootdir_hack=; ac_datarootdir_seen=
51429
51430 case `sed -n '/datarootdir/ {
51431 p
51432 q
51433 }
51434 /@datadir@/p
51435 /@docdir@/p
51436 /@infodir@/p
51437 /@localedir@/p
51438 /@mandir@/p
51439 ' $ac_file_inputs` in
51440 *datarootdir*) ac_datarootdir_seen=yes;;
51441 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51442 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51443 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51444 _ACEOF
51445 cat >>$CONFIG_STATUS <<_ACEOF
51446 ac_datarootdir_hack='
51447 s&@datadir@&$datadir&g
51448 s&@docdir@&$docdir&g
51449 s&@infodir@&$infodir&g
51450 s&@localedir@&$localedir&g
51451 s&@mandir@&$mandir&g
51452 s&\\\${datarootdir}&$datarootdir&g' ;;
51453 esac
51454 _ACEOF
51455
51456 # Neutralize VPATH when `$srcdir' = `.'.
51457 # Shell code in configure.ac might set extrasub.
51458 # FIXME: do we really want to maintain this feature?
51459 cat >>$CONFIG_STATUS <<_ACEOF
51460 sed "$ac_vpsub
51461 $extrasub
51462 _ACEOF
51463 cat >>$CONFIG_STATUS <<\_ACEOF
51464 :t
51465 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51466 s&@configure_input@&$configure_input&;t t
51467 s&@top_builddir@&$ac_top_builddir_sub&;t t
51468 s&@srcdir@&$ac_srcdir&;t t
51469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51470 s&@top_srcdir@&$ac_top_srcdir&;t t
51471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51472 s&@builddir@&$ac_builddir&;t t
51473 s&@abs_builddir@&$ac_abs_builddir&;t t
51474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51475 s&@INSTALL@&$ac_INSTALL&;t t
51476 $ac_datarootdir_hack
51477 " $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
51478
51479 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51480 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51481 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51482 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51483 which seems to be undefined. Please make sure it is defined." >&5
51484 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51485 which seems to be undefined. Please make sure it is defined." >&2;}
51486
51487 rm -f "$tmp/stdin"
51488 case $ac_file in
51489 -) cat "$tmp/out"; rm -f "$tmp/out";;
51490 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51491 esac
51492 ;;
51493 :H)
51494 #
51495 # CONFIG_HEADER
51496 #
51497 _ACEOF
51498
51499 # Transform confdefs.h into a sed script `conftest.defines', that
51500 # substitutes the proper values into config.h.in to produce config.h.
51501 rm -f conftest.defines conftest.tail
51502 # First, append a space to every undef/define line, to ease matching.
51503 echo 's/$/ /' >conftest.defines
51504 # Then, protect against being on the right side of a sed subst, or in
51505 # an unquoted here document, in config.status. If some macros were
51506 # called several times there might be several #defines for the same
51507 # symbol, which is useless. But do not sort them, since the last
51508 # AC_DEFINE must be honored.
51509 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51510 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51511 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51512 # PARAMS is the parameter list in the macro definition--in most cases, it's
51513 # just an empty string.
51514 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51515 ac_dB='\\)[ (].*,\\1define\\2'
51516 ac_dC=' '
51517 ac_dD=' ,'
51518
51519 uniq confdefs.h |
51520 sed -n '
51521 t rset
51522 :rset
51523 s/^[ ]*#[ ]*define[ ][ ]*//
51524 t ok
51525 d
51526 :ok
51527 s/[\\&,]/\\&/g
51528 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51529 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51530 ' >>conftest.defines
51531
51532 # Remove the space that was appended to ease matching.
51533 # Then replace #undef with comments. This is necessary, for
51534 # example, in the case of _POSIX_SOURCE, which is predefined and required
51535 # on some systems where configure will not decide to define it.
51536 # (The regexp can be short, since the line contains either #define or #undef.)
51537 echo 's/ $//
51538 s,^[ #]*u.*,/* & */,' >>conftest.defines
51539
51540 # Break up conftest.defines:
51541 ac_max_sed_lines=50
51542
51543 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51544 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51545 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51546 # et cetera.
51547 ac_in='$ac_file_inputs'
51548 ac_out='"$tmp/out1"'
51549 ac_nxt='"$tmp/out2"'
51550
51551 while :
51552 do
51553 # Write a here document:
51554 cat >>$CONFIG_STATUS <<_ACEOF
51555 # First, check the format of the line:
51556 cat >"\$tmp/defines.sed" <<\\CEOF
51557 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51558 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51559 b
51560 :def
51561 _ACEOF
51562 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51563 echo 'CEOF
51564 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51565 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51566 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51567 grep . conftest.tail >/dev/null || break
51568 rm -f conftest.defines
51569 mv conftest.tail conftest.defines
51570 done
51571 rm -f conftest.defines conftest.tail
51572
51573 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51574 cat >>$CONFIG_STATUS <<\_ACEOF
51575 if test x"$ac_file" != x-; then
51576 echo "/* $configure_input */" >"$tmp/config.h"
51577 cat "$ac_result" >>"$tmp/config.h"
51578 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51579 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51580 echo "$as_me: $ac_file is unchanged" >&6;}
51581 else
51582 rm -f $ac_file
51583 mv "$tmp/config.h" $ac_file
51584 fi
51585 else
51586 echo "/* $configure_input */"
51587 cat "$ac_result"
51588 fi
51589 rm -f "$tmp/out12"
51590 ;;
51591
51592 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51593 echo "$as_me: executing $ac_file commands" >&6;}
51594 ;;
51595 esac
51596
51597
51598 case $ac_file$ac_mode in
51599 "rcdefs.h":C)
51600 mkdir -p $outdir &&
51601 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51602 ;;
51603 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51604 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51605 "wx-config":C) rm -f wx-config
51606 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51607 ;;
51608
51609 esac
51610 done # for ac_tag
51611
51612
51613 { (exit 0); exit 0; }
51614 _ACEOF
51615 chmod +x $CONFIG_STATUS
51616 ac_clean_files=$ac_clean_files_save
51617
51618
51619 # configure is writing to config.log, and then calls config.status.
51620 # config.status does its own redirection, appending to config.log.
51621 # Unfortunately, on DOS this fails, as config.log is still kept open
51622 # by configure, so config.status won't be able to write to it; its
51623 # output is simply discarded. So we exec the FD to /dev/null,
51624 # effectively closing config.log, so it can be properly (re)opened and
51625 # appended to by config.status. When coming back to configure, we
51626 # need to make the FD available again.
51627 if test "$no_create" != yes; then
51628 ac_cs_success=:
51629 ac_config_status_args=
51630 test "$silent" = yes &&
51631 ac_config_status_args="$ac_config_status_args --quiet"
51632 exec 5>/dev/null
51633 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51634 exec 5>>config.log
51635 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51636 # would make configure fail if this is the last instruction.
51637 $ac_cs_success || { (exit 1); exit 1; }
51638 fi
51639
51640 #
51641 # CONFIG_SUBDIRS section.
51642 #
51643 if test "$no_recursion" != yes; then
51644
51645 # Remove --cache-file and --srcdir arguments so they do not pile up.
51646 ac_sub_configure_args=
51647 ac_prev=
51648 eval "set x $ac_configure_args"
51649 shift
51650 for ac_arg
51651 do
51652 if test -n "$ac_prev"; then
51653 ac_prev=
51654 continue
51655 fi
51656 case $ac_arg in
51657 -cache-file | --cache-file | --cache-fil | --cache-fi \
51658 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51659 ac_prev=cache_file ;;
51660 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51661 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51662 | --c=*)
51663 ;;
51664 --config-cache | -C)
51665 ;;
51666 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51667 ac_prev=srcdir ;;
51668 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51669 ;;
51670 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51671 ac_prev=prefix ;;
51672 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51673 ;;
51674 *)
51675 case $ac_arg in
51676 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51677 esac
51678 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51679 esac
51680 done
51681
51682 # Always prepend --prefix to ensure using the same prefix
51683 # in subdir configurations.
51684 ac_arg="--prefix=$prefix"
51685 case $ac_arg in
51686 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51687 esac
51688 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51689
51690 # Pass --silent
51691 if test "$silent" = yes; then
51692 ac_sub_configure_args="--silent $ac_sub_configure_args"
51693 fi
51694
51695 ac_popdir=`pwd`
51696 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51697
51698 # Do not complain, so a configure script can configure whichever
51699 # parts of a large source tree are present.
51700 test -d "$srcdir/$ac_dir" || continue
51701
51702 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51703 echo "$as_me:$LINENO: $ac_msg" >&5
51704 echo "$ac_msg" >&6
51705 { as_dir="$ac_dir"
51706 case $as_dir in #(
51707 -*) as_dir=./$as_dir;;
51708 esac
51709 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51710 as_dirs=
51711 while :; do
51712 case $as_dir in #(
51713 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51714 *) as_qdir=$as_dir;;
51715 esac
51716 as_dirs="'$as_qdir' $as_dirs"
51717 as_dir=`$as_dirname -- "$as_dir" ||
51718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51719 X"$as_dir" : 'X\(//\)[^/]' \| \
51720 X"$as_dir" : 'X\(//\)$' \| \
51721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51722 echo X"$as_dir" |
51723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51724 s//\1/
51725 q
51726 }
51727 /^X\(\/\/\)[^/].*/{
51728 s//\1/
51729 q
51730 }
51731 /^X\(\/\/\)$/{
51732 s//\1/
51733 q
51734 }
51735 /^X\(\/\).*/{
51736 s//\1/
51737 q
51738 }
51739 s/.*/./; q'`
51740 test -d "$as_dir" && break
51741 done
51742 test -z "$as_dirs" || eval "mkdir $as_dirs"
51743 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51744 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51745 { (exit 1); exit 1; }; }; }
51746 ac_builddir=.
51747
51748 case "$ac_dir" in
51749 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51750 *)
51751 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51752 # A ".." for each directory in $ac_dir_suffix.
51753 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51754 case $ac_top_builddir_sub in
51755 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51756 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51757 esac ;;
51758 esac
51759 ac_abs_top_builddir=$ac_pwd
51760 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51761 # for backward compatibility:
51762 ac_top_builddir=$ac_top_build_prefix
51763
51764 case $srcdir in
51765 .) # We are building in place.
51766 ac_srcdir=.
51767 ac_top_srcdir=$ac_top_builddir_sub
51768 ac_abs_top_srcdir=$ac_pwd ;;
51769 [\\/]* | ?:[\\/]* ) # Absolute name.
51770 ac_srcdir=$srcdir$ac_dir_suffix;
51771 ac_top_srcdir=$srcdir
51772 ac_abs_top_srcdir=$srcdir ;;
51773 *) # Relative name.
51774 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51775 ac_top_srcdir=$ac_top_build_prefix$srcdir
51776 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51777 esac
51778 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51779
51780
51781 cd "$ac_dir"
51782
51783 # Check for guested configure; otherwise get Cygnus style configure.
51784 if test -f "$ac_srcdir/configure.gnu"; then
51785 ac_sub_configure=$ac_srcdir/configure.gnu
51786 elif test -f "$ac_srcdir/configure"; then
51787 ac_sub_configure=$ac_srcdir/configure
51788 elif test -f "$ac_srcdir/configure.in"; then
51789 # This should be Cygnus configure.
51790 ac_sub_configure=$ac_aux_dir/configure
51791 else
51792 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51793 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51794 ac_sub_configure=
51795 fi
51796
51797 # The recursion is here.
51798 if test -n "$ac_sub_configure"; then
51799 # Make the cache file name correct relative to the subdirectory.
51800 case $cache_file in
51801 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51802 *) # Relative name.
51803 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51804 esac
51805
51806 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51807 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51808 # The eval makes quoting arguments work.
51809 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51810 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51811 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51812 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51813 { (exit 1); exit 1; }; }
51814 fi
51815
51816 cd "$ac_popdir"
51817 done
51818 fi
51819
51820
51821 echo
51822 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51823 echo ""
51824 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51825 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51826
51827 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51828 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51829 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51830 if test "$wxUSE_UNICODE" = "yes"; then
51831 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51832 echo " (using UTF-8)"
51833 else
51834 echo " (using wchar_t)"
51835 fi
51836 else
51837 echo
51838 fi
51839
51840 echo " What level of wxWidgets compatibility should be enabled?"
51841 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51842 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51843
51844 echo " Which libraries should wxWidgets use?"
51845 echo " STL ${wxUSE_STL}"
51846 echo " jpeg ${wxUSE_LIBJPEG-none}"
51847 echo " png ${wxUSE_LIBPNG-none}"
51848 echo " regex ${wxUSE_REGEX}"
51849 echo " tiff ${wxUSE_LIBTIFF-none}"
51850 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51851 echo " xpm ${wxUSE_LIBXPM-none}"
51852 fi
51853 echo " zlib ${wxUSE_ZLIB}"
51854 echo " expat ${wxUSE_EXPAT}"
51855 echo " libmspack ${wxUSE_LIBMSPACK}"
51856 echo " sdl ${wxUSE_LIBSDL}"
51857
51858 echo ""
51859