]> git.saurik.com Git - wxWidgets.git/blob - configure
compilation
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 50226 2007-11-24 19:11:19Z 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 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
24801 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
24817 wx_cv_cc_gcc_atomic_builtins=yes
24818 else
24819 echo "$as_me: failed program was:" >&5
24820 sed 's/^/| /' conftest.$ac_ext >&5
24821
24822 wx_cv_cc_gcc_atomic_builtins=no
24823 fi
24824
24825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24826
24827 fi
24828
24829 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24830 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24831 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24832 cat >>confdefs.h <<\_ACEOF
24833 #define HAVE_GCC_ATOMIC_BUILTINS 1
24834 _ACEOF
24835
24836 fi
24837 fi
24838
24839
24840 ac_ext=c
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24845
24846
24847
24848 SEARCH_INCLUDE="\
24849 /usr/local/include \
24850 \
24851 /usr/Motif-2.1/include \
24852 /usr/Motif-1.2/include \
24853 /usr/include/Motif1.2 \
24854 \
24855 /usr/dt/include \
24856 /usr/openwin/include \
24857 \
24858 /usr/include/Xm \
24859 \
24860 /usr/X11R6/include \
24861 /usr/X11R6.4/include \
24862 /usr/X11R5/include \
24863 /usr/X11R4/include \
24864 \
24865 /usr/include/X11R6 \
24866 /usr/include/X11R5 \
24867 /usr/include/X11R4 \
24868 \
24869 /usr/local/X11R6/include \
24870 /usr/local/X11R5/include \
24871 /usr/local/X11R4/include \
24872 \
24873 /usr/local/include/X11R6 \
24874 /usr/local/include/X11R5 \
24875 /usr/local/include/X11R4 \
24876 \
24877 /usr/X11/include \
24878 /usr/include/X11 \
24879 /usr/local/X11/include \
24880 /usr/local/include/X11 \
24881 \
24882 /usr/XFree86/include/X11 \
24883 /usr/pkg/include \
24884 \
24885 /usr/openwin/share/include"
24886
24887 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24888 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24889
24890 case "${host}" in
24891 *-*-irix6* )
24892 if test "${wx_cv_std_libpath+set}" = set; then
24893 echo $ECHO_N "(cached) $ECHO_C" >&6
24894 else
24895
24896 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24897 for e in a so sl dylib dll.a; do
24898 libc="$d/libc.$e"
24899 if test -f $libc; then
24900 save_LIBS="$LIBS"
24901 LIBS="$libc"
24902 cat >conftest.$ac_ext <<_ACEOF
24903 int main() { return 0; }
24904 _ACEOF
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (ac_try="$ac_link"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24910 esac
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_link") 2>conftest.er1
24913 ac_status=$?
24914 grep -v '^ *+' conftest.er1 >conftest.err
24915 rm -f conftest.er1
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_c_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest$ac_exeext &&
24922 $as_test_x conftest$ac_exeext; then
24923 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928
24929 fi
24930
24931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24932 conftest$ac_exeext conftest.$ac_ext
24933 LIBS="$save_LIBS"
24934 if test "x$wx_cv_std_libpath" != "x"; then
24935 break 2
24936 fi
24937 fi
24938 done
24939 done
24940 if test "x$wx_cv_std_libpath" = "x"; then
24941 wx_cv_std_libpath="lib"
24942 fi
24943
24944
24945 fi
24946
24947 ;;
24948
24949 *-*-solaris2* )
24950 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24951 wx_cv_std_libpath="lib/64"
24952 else
24953 wx_cv_std_libpath="lib"
24954 fi
24955 ;;
24956
24957 *-*-linux* )
24958 if test "$ac_cv_sizeof_void_p" = 8 -a \
24959 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24960 wx_cv_std_libpath="lib64"
24961 else
24962 wx_cv_std_libpath="lib"
24963 fi
24964 ;;
24965
24966 *)
24967 wx_cv_std_libpath="lib";
24968 ;;
24969 esac
24970
24971 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24972 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24973
24974 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24975
24976 if test "$build" != "$host" -a "$GCC" = yes; then
24977 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24978 cross_root=`dirname $cross_root`
24979 cross_root=`dirname $cross_root`
24980
24981 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24982 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24983 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24984
24985 if test -z "$PKG_CONFIG_PATH"; then
24986 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24987 export PKG_CONFIG_PATH
24988 fi
24989
24990 if test -z "$x_includes" -o "$x_includes" = NONE; then
24991
24992 ac_find_includes=
24993 for ac_dir in $SEARCH_INCLUDE /usr/include;
24994 do
24995 if test -f "$ac_dir/X11/Intrinsic.h"; then
24996 ac_find_includes=$ac_dir
24997 break
24998 fi
24999 done
25000
25001 x_includes=$ac_find_includes
25002 fi
25003 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25004
25005 ac_find_libraries=
25006 for ac_dir in $SEARCH_LIB;
25007 do
25008 for ac_extension in a so sl dylib dll.a; do
25009 if test -f "$ac_dir/libXt.$ac_extension"; then
25010 ac_find_libraries=$ac_dir
25011 break 2
25012 fi
25013 done
25014 done
25015
25016 x_libraries=$ac_find_libraries
25017 fi
25018 fi
25019 fi
25020
25021
25022 cat >confcache <<\_ACEOF
25023 # This file is a shell script that caches the results of configure
25024 # tests run on this system so they can be shared between configure
25025 # scripts and configure runs, see configure's option --config-cache.
25026 # It is not useful on other systems. If it contains results you don't
25027 # want to keep, you may remove or edit it.
25028 #
25029 # config.status only pays attention to the cache file if you give it
25030 # the --recheck option to rerun configure.
25031 #
25032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25034 # following values.
25035
25036 _ACEOF
25037
25038 # The following way of writing the cache mishandles newlines in values,
25039 # but we know of no workaround that is simple, portable, and efficient.
25040 # So, we kill variables containing newlines.
25041 # Ultrix sh set writes to stderr and can't be redirected directly,
25042 # and sets the high bit in the cache file unless we assign to the vars.
25043 (
25044 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25045 eval ac_val=\$$ac_var
25046 case $ac_val in #(
25047 *${as_nl}*)
25048 case $ac_var in #(
25049 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25050 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25051 esac
25052 case $ac_var in #(
25053 _ | IFS | as_nl) ;; #(
25054 *) $as_unset $ac_var ;;
25055 esac ;;
25056 esac
25057 done
25058
25059 (set) 2>&1 |
25060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25061 *${as_nl}ac_space=\ *)
25062 # `set' does not quote correctly, so add quotes (double-quote
25063 # substitution turns \\\\ into \\, and sed turns \\ into \).
25064 sed -n \
25065 "s/'/'\\\\''/g;
25066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25067 ;; #(
25068 *)
25069 # `set' quotes correctly as required by POSIX, so do not add quotes.
25070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25071 ;;
25072 esac |
25073 sort
25074 ) |
25075 sed '
25076 /^ac_cv_env_/b end
25077 t clear
25078 :clear
25079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25080 t end
25081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25082 :end' >>confcache
25083 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25084 if test -w "$cache_file"; then
25085 test "x$cache_file" != "x/dev/null" &&
25086 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25087 echo "$as_me: updating cache $cache_file" >&6;}
25088 cat confcache >$cache_file
25089 else
25090 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25091 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25092 fi
25093 fi
25094 rm -f confcache
25095
25096 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25097 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25098 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25099 if test "${wx_cv_lib_glibc21+set}" = set; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 else
25102
25103 cat >conftest.$ac_ext <<_ACEOF
25104 /* confdefs.h. */
25105 _ACEOF
25106 cat confdefs.h >>conftest.$ac_ext
25107 cat >>conftest.$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 #include <features.h>
25110 int
25111 main ()
25112 {
25113
25114 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25115 not glibc 2.1
25116 #endif
25117
25118 ;
25119 return 0;
25120 }
25121 _ACEOF
25122 rm -f conftest.$ac_objext
25123 if { (ac_try="$ac_compile"
25124 case "(($ac_try" in
25125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25126 *) ac_try_echo=$ac_try;;
25127 esac
25128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25129 (eval "$ac_compile") 2>conftest.er1
25130 ac_status=$?
25131 grep -v '^ *+' conftest.er1 >conftest.err
25132 rm -f conftest.er1
25133 cat conftest.err >&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } && {
25136 test -z "$ac_c_werror_flag" ||
25137 test ! -s conftest.err
25138 } && test -s conftest.$ac_objext; then
25139
25140 wx_cv_lib_glibc21=yes
25141
25142 else
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.$ac_ext >&5
25145
25146
25147 wx_cv_lib_glibc21=no
25148
25149
25150 fi
25151
25152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25153
25154 fi
25155 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25156 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25157 if test "$wx_cv_lib_glibc21" = "yes"; then
25158 cat >>confdefs.h <<\_ACEOF
25159 #define wxHAVE_GLIBC2 1
25160 _ACEOF
25161
25162 fi
25163 fi
25164
25165 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25166 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25167 cat >>confdefs.h <<\_ACEOF
25168 #define _GNU_SOURCE 1
25169 _ACEOF
25170
25171 fi
25172 fi
25173
25174 have_cos=0
25175 have_floor=0
25176
25177 for ac_func in cos
25178 do
25179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25182 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 else
25185 cat >conftest.$ac_ext <<_ACEOF
25186 /* confdefs.h. */
25187 _ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25193 #define $ac_func innocuous_$ac_func
25194
25195 /* System header to define __stub macros and hopefully few prototypes,
25196 which can conflict with char $ac_func (); below.
25197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25198 <limits.h> exists even on freestanding compilers. */
25199
25200 #ifdef __STDC__
25201 # include <limits.h>
25202 #else
25203 # include <assert.h>
25204 #endif
25205
25206 #undef $ac_func
25207
25208 /* Override any GCC internal prototype to avoid an error.
25209 Use char because int might match the return type of a GCC
25210 builtin and then its argument prototype would still apply. */
25211 #ifdef __cplusplus
25212 extern "C"
25213 #endif
25214 char $ac_func ();
25215 /* The GNU C library defines this for functions which it implements
25216 to always fail with ENOSYS. Some functions are actually named
25217 something starting with __ and the normal name is an alias. */
25218 #if defined __stub_$ac_func || defined __stub___$ac_func
25219 choke me
25220 #endif
25221
25222 int
25223 main ()
25224 {
25225 return $ac_func ();
25226 ;
25227 return 0;
25228 }
25229 _ACEOF
25230 rm -f conftest.$ac_objext conftest$ac_exeext
25231 if { (ac_try="$ac_link"
25232 case "(($ac_try" in
25233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25234 *) ac_try_echo=$ac_try;;
25235 esac
25236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25237 (eval "$ac_link") 2>conftest.er1
25238 ac_status=$?
25239 grep -v '^ *+' conftest.er1 >conftest.err
25240 rm -f conftest.er1
25241 cat conftest.err >&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); } && {
25244 test -z "$ac_c_werror_flag" ||
25245 test ! -s conftest.err
25246 } && test -s conftest$ac_exeext &&
25247 $as_test_x conftest$ac_exeext; then
25248 eval "$as_ac_var=yes"
25249 else
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25252
25253 eval "$as_ac_var=no"
25254 fi
25255
25256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25257 conftest$ac_exeext conftest.$ac_ext
25258 fi
25259 ac_res=`eval echo '${'$as_ac_var'}'`
25260 { echo "$as_me:$LINENO: result: $ac_res" >&5
25261 echo "${ECHO_T}$ac_res" >&6; }
25262 if test `eval echo '${'$as_ac_var'}'` = yes; then
25263 cat >>confdefs.h <<_ACEOF
25264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25265 _ACEOF
25266 have_cos=1
25267 fi
25268 done
25269
25270
25271 for ac_func in floor
25272 do
25273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25276 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 else
25279 cat >conftest.$ac_ext <<_ACEOF
25280 /* confdefs.h. */
25281 _ACEOF
25282 cat confdefs.h >>conftest.$ac_ext
25283 cat >>conftest.$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define $ac_func innocuous_$ac_func
25288
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char $ac_func (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25293
25294 #ifdef __STDC__
25295 # include <limits.h>
25296 #else
25297 # include <assert.h>
25298 #endif
25299
25300 #undef $ac_func
25301
25302 /* Override any GCC internal prototype to avoid an error.
25303 Use char because int might match the return type of a GCC
25304 builtin and then its argument prototype would still apply. */
25305 #ifdef __cplusplus
25306 extern "C"
25307 #endif
25308 char $ac_func ();
25309 /* The GNU C library defines this for functions which it implements
25310 to always fail with ENOSYS. Some functions are actually named
25311 something starting with __ and the normal name is an alias. */
25312 #if defined __stub_$ac_func || defined __stub___$ac_func
25313 choke me
25314 #endif
25315
25316 int
25317 main ()
25318 {
25319 return $ac_func ();
25320 ;
25321 return 0;
25322 }
25323 _ACEOF
25324 rm -f conftest.$ac_objext conftest$ac_exeext
25325 if { (ac_try="$ac_link"
25326 case "(($ac_try" in
25327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25328 *) ac_try_echo=$ac_try;;
25329 esac
25330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25331 (eval "$ac_link") 2>conftest.er1
25332 ac_status=$?
25333 grep -v '^ *+' conftest.er1 >conftest.err
25334 rm -f conftest.er1
25335 cat conftest.err >&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } && {
25338 test -z "$ac_c_werror_flag" ||
25339 test ! -s conftest.err
25340 } && test -s conftest$ac_exeext &&
25341 $as_test_x conftest$ac_exeext; then
25342 eval "$as_ac_var=yes"
25343 else
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.$ac_ext >&5
25346
25347 eval "$as_ac_var=no"
25348 fi
25349
25350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25351 conftest$ac_exeext conftest.$ac_ext
25352 fi
25353 ac_res=`eval echo '${'$as_ac_var'}'`
25354 { echo "$as_me:$LINENO: result: $ac_res" >&5
25355 echo "${ECHO_T}$ac_res" >&6; }
25356 if test `eval echo '${'$as_ac_var'}'` = yes; then
25357 cat >>confdefs.h <<_ACEOF
25358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25359 _ACEOF
25360 have_floor=1
25361 fi
25362 done
25363
25364 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25365 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25366 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25367 { echo "$as_me:$LINENO: result: yes" >&5
25368 echo "${ECHO_T}yes" >&6; }
25369 else
25370 { echo "$as_me:$LINENO: result: no" >&5
25371 echo "${ECHO_T}no" >&6; }
25372 LIBS="$LIBS -lm"
25373 # use different functions to avoid configure caching
25374 have_sin=0
25375 have_ceil=0
25376
25377 for ac_func in sin
25378 do
25379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25380 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25382 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385 cat >conftest.$ac_ext <<_ACEOF
25386 /* confdefs.h. */
25387 _ACEOF
25388 cat confdefs.h >>conftest.$ac_ext
25389 cat >>conftest.$ac_ext <<_ACEOF
25390 /* end confdefs.h. */
25391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25393 #define $ac_func innocuous_$ac_func
25394
25395 /* System header to define __stub macros and hopefully few prototypes,
25396 which can conflict with char $ac_func (); below.
25397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25398 <limits.h> exists even on freestanding compilers. */
25399
25400 #ifdef __STDC__
25401 # include <limits.h>
25402 #else
25403 # include <assert.h>
25404 #endif
25405
25406 #undef $ac_func
25407
25408 /* Override any GCC internal prototype to avoid an error.
25409 Use char because int might match the return type of a GCC
25410 builtin and then its argument prototype would still apply. */
25411 #ifdef __cplusplus
25412 extern "C"
25413 #endif
25414 char $ac_func ();
25415 /* The GNU C library defines this for functions which it implements
25416 to always fail with ENOSYS. Some functions are actually named
25417 something starting with __ and the normal name is an alias. */
25418 #if defined __stub_$ac_func || defined __stub___$ac_func
25419 choke me
25420 #endif
25421
25422 int
25423 main ()
25424 {
25425 return $ac_func ();
25426 ;
25427 return 0;
25428 }
25429 _ACEOF
25430 rm -f conftest.$ac_objext conftest$ac_exeext
25431 if { (ac_try="$ac_link"
25432 case "(($ac_try" in
25433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25434 *) ac_try_echo=$ac_try;;
25435 esac
25436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25437 (eval "$ac_link") 2>conftest.er1
25438 ac_status=$?
25439 grep -v '^ *+' conftest.er1 >conftest.err
25440 rm -f conftest.er1
25441 cat conftest.err >&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); } && {
25444 test -z "$ac_c_werror_flag" ||
25445 test ! -s conftest.err
25446 } && test -s conftest$ac_exeext &&
25447 $as_test_x conftest$ac_exeext; then
25448 eval "$as_ac_var=yes"
25449 else
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25452
25453 eval "$as_ac_var=no"
25454 fi
25455
25456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25457 conftest$ac_exeext conftest.$ac_ext
25458 fi
25459 ac_res=`eval echo '${'$as_ac_var'}'`
25460 { echo "$as_me:$LINENO: result: $ac_res" >&5
25461 echo "${ECHO_T}$ac_res" >&6; }
25462 if test `eval echo '${'$as_ac_var'}'` = yes; then
25463 cat >>confdefs.h <<_ACEOF
25464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25465 _ACEOF
25466 have_sin=1
25467 fi
25468 done
25469
25470
25471 for ac_func in ceil
25472 do
25473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 else
25479 cat >conftest.$ac_ext <<_ACEOF
25480 /* confdefs.h. */
25481 _ACEOF
25482 cat confdefs.h >>conftest.$ac_ext
25483 cat >>conftest.$ac_ext <<_ACEOF
25484 /* end confdefs.h. */
25485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25487 #define $ac_func innocuous_$ac_func
25488
25489 /* System header to define __stub macros and hopefully few prototypes,
25490 which can conflict with char $ac_func (); below.
25491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25492 <limits.h> exists even on freestanding compilers. */
25493
25494 #ifdef __STDC__
25495 # include <limits.h>
25496 #else
25497 # include <assert.h>
25498 #endif
25499
25500 #undef $ac_func
25501
25502 /* Override any GCC internal prototype to avoid an error.
25503 Use char because int might match the return type of a GCC
25504 builtin and then its argument prototype would still apply. */
25505 #ifdef __cplusplus
25506 extern "C"
25507 #endif
25508 char $ac_func ();
25509 /* The GNU C library defines this for functions which it implements
25510 to always fail with ENOSYS. Some functions are actually named
25511 something starting with __ and the normal name is an alias. */
25512 #if defined __stub_$ac_func || defined __stub___$ac_func
25513 choke me
25514 #endif
25515
25516 int
25517 main ()
25518 {
25519 return $ac_func ();
25520 ;
25521 return 0;
25522 }
25523 _ACEOF
25524 rm -f conftest.$ac_objext conftest$ac_exeext
25525 if { (ac_try="$ac_link"
25526 case "(($ac_try" in
25527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25528 *) ac_try_echo=$ac_try;;
25529 esac
25530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25531 (eval "$ac_link") 2>conftest.er1
25532 ac_status=$?
25533 grep -v '^ *+' conftest.er1 >conftest.err
25534 rm -f conftest.er1
25535 cat conftest.err >&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); } && {
25538 test -z "$ac_c_werror_flag" ||
25539 test ! -s conftest.err
25540 } && test -s conftest$ac_exeext &&
25541 $as_test_x conftest$ac_exeext; then
25542 eval "$as_ac_var=yes"
25543 else
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.$ac_ext >&5
25546
25547 eval "$as_ac_var=no"
25548 fi
25549
25550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25551 conftest$ac_exeext conftest.$ac_ext
25552 fi
25553 ac_res=`eval echo '${'$as_ac_var'}'`
25554 { echo "$as_me:$LINENO: result: $ac_res" >&5
25555 echo "${ECHO_T}$ac_res" >&6; }
25556 if test `eval echo '${'$as_ac_var'}'` = yes; then
25557 cat >>confdefs.h <<_ACEOF
25558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25559 _ACEOF
25560 have_ceil=1
25561 fi
25562 done
25563
25564 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25565 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25566 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25567 { echo "$as_me:$LINENO: result: yes" >&5
25568 echo "${ECHO_T}yes" >&6; }
25569 else
25570 { echo "$as_me:$LINENO: result: no" >&5
25571 echo "${ECHO_T}no" >&6; }
25572 # not sure we should warn the user, crash, etc.
25573 fi
25574 fi
25575
25576 ac_ext=cpp
25577 ac_cpp='$CXXCPP $CPPFLAGS'
25578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25581
25582 if test "wxUSE_UNICODE" = "yes"; then
25583
25584 for wx_func in wcstoull
25585 do
25586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25588 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25590 else
25591
25592 cat >conftest.$ac_ext <<_ACEOF
25593
25594 /* confdefs.h. */
25595 _ACEOF
25596 cat confdefs.h >>conftest.$ac_ext
25597 cat >>conftest.$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25599
25600
25601 $ac_includes_default
25602
25603 int
25604 main ()
25605 {
25606
25607 #ifndef $wx_func
25608 &$wx_func;
25609 #endif
25610
25611
25612 ;
25613 return 0;
25614 }
25615
25616 _ACEOF
25617 rm -f conftest.$ac_objext conftest$ac_exeext
25618 if { (ac_try="$ac_link"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25622 esac
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_link") 2>conftest.er1
25625 ac_status=$?
25626 grep -v '^ *+' conftest.er1 >conftest.err
25627 rm -f conftest.er1
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_cxx_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest$ac_exeext &&
25634 $as_test_x conftest$ac_exeext; then
25635 eval wx_cv_func_$wx_func=yes
25636 else
25637 echo "$as_me: failed program was:" >&5
25638 sed 's/^/| /' conftest.$ac_ext >&5
25639
25640 eval wx_cv_func_$wx_func=no
25641 fi
25642
25643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25644 conftest$ac_exeext conftest.$ac_ext
25645
25646 fi
25647 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25648 { echo "$as_me:$LINENO: result: $ac_res" >&5
25649 echo "${ECHO_T}$ac_res" >&6; }
25650
25651 if eval test \$wx_cv_func_$wx_func = yes
25652 then
25653 cat >>confdefs.h <<_ACEOF
25654 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25655 _ACEOF
25656
25657
25658 else
25659 :
25660
25661 fi
25662 done
25663
25664 else
25665
25666 for wx_func in strtoull
25667 do
25668 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25669 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25670 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25673
25674 cat >conftest.$ac_ext <<_ACEOF
25675
25676 /* confdefs.h. */
25677 _ACEOF
25678 cat confdefs.h >>conftest.$ac_ext
25679 cat >>conftest.$ac_ext <<_ACEOF
25680 /* end confdefs.h. */
25681
25682
25683 $ac_includes_default
25684
25685 int
25686 main ()
25687 {
25688
25689 #ifndef $wx_func
25690 &$wx_func;
25691 #endif
25692
25693
25694 ;
25695 return 0;
25696 }
25697
25698 _ACEOF
25699 rm -f conftest.$ac_objext conftest$ac_exeext
25700 if { (ac_try="$ac_link"
25701 case "(($ac_try" in
25702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25704 esac
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_link") 2>conftest.er1
25707 ac_status=$?
25708 grep -v '^ *+' conftest.er1 >conftest.err
25709 rm -f conftest.er1
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && {
25713 test -z "$ac_cxx_werror_flag" ||
25714 test ! -s conftest.err
25715 } && test -s conftest$ac_exeext &&
25716 $as_test_x conftest$ac_exeext; then
25717 eval wx_cv_func_$wx_func=yes
25718 else
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.$ac_ext >&5
25721
25722 eval wx_cv_func_$wx_func=no
25723 fi
25724
25725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25726 conftest$ac_exeext conftest.$ac_ext
25727
25728 fi
25729 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25730 { echo "$as_me:$LINENO: result: $ac_res" >&5
25731 echo "${ECHO_T}$ac_res" >&6; }
25732
25733 if eval test \$wx_cv_func_$wx_func = yes
25734 then
25735 cat >>confdefs.h <<_ACEOF
25736 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25737 _ACEOF
25738
25739
25740 else
25741 :
25742
25743 fi
25744 done
25745
25746 fi
25747 ac_ext=c
25748 ac_cpp='$CPP $CPPFLAGS'
25749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25752
25753
25754
25755
25756 if test "$wxUSE_REGEX" != "no"; then
25757 cat >>confdefs.h <<\_ACEOF
25758 #define wxUSE_REGEX 1
25759 _ACEOF
25760
25761
25762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25763 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25764 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25765 wxUSE_REGEX=builtin
25766 fi
25767
25768 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25769 { echo "$as_me:$LINENO: checking for regex.h" >&5
25770 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25771 if test "${ac_cv_header_regex_h+set}" = set; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25773 else
25774 cat >conftest.$ac_ext <<_ACEOF
25775 /* confdefs.h. */
25776 _ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25780
25781
25782 #include <regex.h>
25783 _ACEOF
25784 rm -f conftest.$ac_objext
25785 if { (ac_try="$ac_compile"
25786 case "(($ac_try" in
25787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25788 *) ac_try_echo=$ac_try;;
25789 esac
25790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25791 (eval "$ac_compile") 2>conftest.er1
25792 ac_status=$?
25793 grep -v '^ *+' conftest.er1 >conftest.err
25794 rm -f conftest.er1
25795 cat conftest.err >&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); } && {
25798 test -z "$ac_c_werror_flag" ||
25799 test ! -s conftest.err
25800 } && test -s conftest.$ac_objext; then
25801 ac_cv_header_regex_h=yes
25802 else
25803 echo "$as_me: failed program was:" >&5
25804 sed 's/^/| /' conftest.$ac_ext >&5
25805
25806 ac_cv_header_regex_h=no
25807 fi
25808
25809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25810 fi
25811 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25812 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25813 if test $ac_cv_header_regex_h = yes; then
25814
25815
25816 for ac_func in regcomp re_search
25817 do
25818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25824 cat >conftest.$ac_ext <<_ACEOF
25825 /* confdefs.h. */
25826 _ACEOF
25827 cat confdefs.h >>conftest.$ac_ext
25828 cat >>conftest.$ac_ext <<_ACEOF
25829 /* end confdefs.h. */
25830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25832 #define $ac_func innocuous_$ac_func
25833
25834 /* System header to define __stub macros and hopefully few prototypes,
25835 which can conflict with char $ac_func (); below.
25836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25837 <limits.h> exists even on freestanding compilers. */
25838
25839 #ifdef __STDC__
25840 # include <limits.h>
25841 #else
25842 # include <assert.h>
25843 #endif
25844
25845 #undef $ac_func
25846
25847 /* Override any GCC internal prototype to avoid an error.
25848 Use char because int might match the return type of a GCC
25849 builtin and then its argument prototype would still apply. */
25850 #ifdef __cplusplus
25851 extern "C"
25852 #endif
25853 char $ac_func ();
25854 /* The GNU C library defines this for functions which it implements
25855 to always fail with ENOSYS. Some functions are actually named
25856 something starting with __ and the normal name is an alias. */
25857 #if defined __stub_$ac_func || defined __stub___$ac_func
25858 choke me
25859 #endif
25860
25861 int
25862 main ()
25863 {
25864 return $ac_func ();
25865 ;
25866 return 0;
25867 }
25868 _ACEOF
25869 rm -f conftest.$ac_objext conftest$ac_exeext
25870 if { (ac_try="$ac_link"
25871 case "(($ac_try" in
25872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25874 esac
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_link") 2>conftest.er1
25877 ac_status=$?
25878 grep -v '^ *+' conftest.er1 >conftest.err
25879 rm -f conftest.er1
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } && {
25883 test -z "$ac_c_werror_flag" ||
25884 test ! -s conftest.err
25885 } && test -s conftest$ac_exeext &&
25886 $as_test_x conftest$ac_exeext; then
25887 eval "$as_ac_var=yes"
25888 else
25889 echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.$ac_ext >&5
25891
25892 eval "$as_ac_var=no"
25893 fi
25894
25895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25896 conftest$ac_exeext conftest.$ac_ext
25897 fi
25898 ac_res=`eval echo '${'$as_ac_var'}'`
25899 { echo "$as_me:$LINENO: result: $ac_res" >&5
25900 echo "${ECHO_T}$ac_res" >&6; }
25901 if test `eval echo '${'$as_ac_var'}'` = yes; then
25902 cat >>confdefs.h <<_ACEOF
25903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25904 _ACEOF
25905
25906 fi
25907 done
25908
25909 fi
25910
25911
25912
25913 if test "x$ac_cv_func_regcomp" != "xyes"; then
25914 if test "$wxUSE_REGEX" = "sys" ; then
25915 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25916 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25917 { (exit 1); exit 1; }; }
25918 else
25919 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25920 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25921 wxUSE_REGEX=builtin
25922 fi
25923 else
25924 wxUSE_REGEX=sys
25925 cat >>confdefs.h <<\_ACEOF
25926 #define WX_NO_REGEX_ADVANCED 1
25927 _ACEOF
25928
25929 fi
25930 fi
25931 fi
25932
25933
25934 ZLIB_LINK=
25935 if test "$wxUSE_ZLIB" != "no" ; then
25936 cat >>confdefs.h <<\_ACEOF
25937 #define wxUSE_ZLIB 1
25938 _ACEOF
25939
25940
25941 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25942 if test "$USE_DARWIN" = 1; then
25943 system_zlib_h_ok="yes"
25944 else
25945 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25946 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25947 if test "${ac_cv_header_zlib_h+set}" = set; then
25948 echo $ECHO_N "(cached) $ECHO_C" >&6
25949 else
25950 if test "$cross_compiling" = yes; then
25951 unset ac_cv_header_zlib_h
25952
25953 else
25954 cat >conftest.$ac_ext <<_ACEOF
25955 /* confdefs.h. */
25956 _ACEOF
25957 cat confdefs.h >>conftest.$ac_ext
25958 cat >>conftest.$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25960
25961 #include <zlib.h>
25962 #include <stdio.h>
25963
25964 int main()
25965 {
25966 FILE *f=fopen("conftestval", "w");
25967 if (!f) exit(1);
25968 fprintf(f, "%s",
25969 ZLIB_VERSION[0] == '1' &&
25970 (ZLIB_VERSION[2] > '1' ||
25971 (ZLIB_VERSION[2] == '1' &&
25972 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25973 exit(0);
25974 }
25975
25976 _ACEOF
25977 rm -f conftest$ac_exeext
25978 if { (ac_try="$ac_link"
25979 case "(($ac_try" in
25980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25981 *) ac_try_echo=$ac_try;;
25982 esac
25983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25984 (eval "$ac_link") 2>&5
25985 ac_status=$?
25986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25988 { (case "(($ac_try" in
25989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25990 *) ac_try_echo=$ac_try;;
25991 esac
25992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25993 (eval "$ac_try") 2>&5
25994 ac_status=$?
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); }; }; then
25997 ac_cv_header_zlib_h=`cat conftestval`
25998 else
25999 echo "$as_me: program exited with status $ac_status" >&5
26000 echo "$as_me: failed program was:" >&5
26001 sed 's/^/| /' conftest.$ac_ext >&5
26002
26003 ( exit $ac_status )
26004 ac_cv_header_zlib_h=no
26005 fi
26006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26007 fi
26008
26009
26010
26011 fi
26012 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26013 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26014 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26015 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26016 if test "${ac_cv_header_zlib_h+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26018 else
26019 cat >conftest.$ac_ext <<_ACEOF
26020 /* confdefs.h. */
26021 _ACEOF
26022 cat confdefs.h >>conftest.$ac_ext
26023 cat >>conftest.$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26025
26026
26027 #include <zlib.h>
26028 _ACEOF
26029 rm -f conftest.$ac_objext
26030 if { (ac_try="$ac_compile"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26034 esac
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_compile") 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest.$ac_objext; then
26046 ac_cv_header_zlib_h=yes
26047 else
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.$ac_ext >&5
26050
26051 ac_cv_header_zlib_h=no
26052 fi
26053
26054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26055 fi
26056 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26057 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26058
26059
26060
26061 system_zlib_h_ok=$ac_cv_header_zlib_h
26062 fi
26063
26064 if test "$system_zlib_h_ok" = "yes"; then
26065 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26066 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26067 if test "${ac_cv_lib_z_deflate+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26069 else
26070 ac_check_lib_save_LIBS=$LIBS
26071 LIBS="-lz $LIBS"
26072 cat >conftest.$ac_ext <<_ACEOF
26073 /* confdefs.h. */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078
26079 /* Override any GCC internal prototype to avoid an error.
26080 Use char because int might match the return type of a GCC
26081 builtin and then its argument prototype would still apply. */
26082 #ifdef __cplusplus
26083 extern "C"
26084 #endif
26085 char deflate ();
26086 int
26087 main ()
26088 {
26089 return deflate ();
26090 ;
26091 return 0;
26092 }
26093 _ACEOF
26094 rm -f conftest.$ac_objext conftest$ac_exeext
26095 if { (ac_try="$ac_link"
26096 case "(($ac_try" in
26097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26098 *) ac_try_echo=$ac_try;;
26099 esac
26100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101 (eval "$ac_link") 2>conftest.er1
26102 ac_status=$?
26103 grep -v '^ *+' conftest.er1 >conftest.err
26104 rm -f conftest.er1
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } && {
26108 test -z "$ac_c_werror_flag" ||
26109 test ! -s conftest.err
26110 } && test -s conftest$ac_exeext &&
26111 $as_test_x conftest$ac_exeext; then
26112 ac_cv_lib_z_deflate=yes
26113 else
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26116
26117 ac_cv_lib_z_deflate=no
26118 fi
26119
26120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26121 conftest$ac_exeext conftest.$ac_ext
26122 LIBS=$ac_check_lib_save_LIBS
26123 fi
26124 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26125 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26126 if test $ac_cv_lib_z_deflate = yes; then
26127 ZLIB_LINK=" -lz"
26128 fi
26129
26130 fi
26131
26132 if test "x$ZLIB_LINK" = "x" ; then
26133 if test "$wxUSE_ZLIB" = "sys" ; then
26134 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26135 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26136 { (exit 1); exit 1; }; }
26137 else
26138 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26139 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26140 wxUSE_ZLIB=builtin
26141 fi
26142 else
26143 wxUSE_ZLIB=sys
26144 fi
26145 fi
26146 fi
26147
26148
26149 PNG_LINK=
26150 if test "$wxUSE_LIBPNG" != "no" ; then
26151 cat >>confdefs.h <<\_ACEOF
26152 #define wxUSE_LIBPNG 1
26153 _ACEOF
26154
26155
26156 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26157 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26158 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26159 wxUSE_LIBPNG=sys
26160 fi
26161
26162 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26163 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26164 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26165 wxUSE_LIBPNG=builtin
26166 fi
26167
26168 if test "$wxUSE_MGL" != 1 ; then
26169 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26170 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26171 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26172 if test "${ac_cv_header_png_h+set}" = set; then
26173 echo $ECHO_N "(cached) $ECHO_C" >&6
26174 else
26175 if test "$cross_compiling" = yes; then
26176 unset ac_cv_header_png_h
26177
26178 else
26179 cat >conftest.$ac_ext <<_ACEOF
26180 /* confdefs.h. */
26181 _ACEOF
26182 cat confdefs.h >>conftest.$ac_ext
26183 cat >>conftest.$ac_ext <<_ACEOF
26184 /* end confdefs.h. */
26185
26186 #include <png.h>
26187 #include <stdio.h>
26188
26189 int main()
26190 {
26191 FILE *f=fopen("conftestval", "w");
26192 if (!f) exit(1);
26193 fprintf(f, "%s",
26194 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26195 exit(0);
26196 }
26197
26198 _ACEOF
26199 rm -f conftest$ac_exeext
26200 if { (ac_try="$ac_link"
26201 case "(($ac_try" in
26202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26203 *) ac_try_echo=$ac_try;;
26204 esac
26205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26206 (eval "$ac_link") 2>&5
26207 ac_status=$?
26208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26209 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26210 { (case "(($ac_try" in
26211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26212 *) ac_try_echo=$ac_try;;
26213 esac
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_try") 2>&5
26216 ac_status=$?
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 ac_cv_header_png_h=`cat conftestval`
26220 else
26221 echo "$as_me: program exited with status $ac_status" >&5
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.$ac_ext >&5
26224
26225 ( exit $ac_status )
26226 ac_cv_header_png_h=no
26227 fi
26228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26229 fi
26230
26231
26232
26233 fi
26234 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26235 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26236 { echo "$as_me:$LINENO: checking for png.h" >&5
26237 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26238 if test "${ac_cv_header_png_h+set}" = set; then
26239 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 else
26241 cat >conftest.$ac_ext <<_ACEOF
26242 /* confdefs.h. */
26243 _ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26247
26248
26249 #include <png.h>
26250 _ACEOF
26251 rm -f conftest.$ac_objext
26252 if { (ac_try="$ac_compile"
26253 case "(($ac_try" in
26254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26255 *) ac_try_echo=$ac_try;;
26256 esac
26257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26258 (eval "$ac_compile") 2>conftest.er1
26259 ac_status=$?
26260 grep -v '^ *+' conftest.er1 >conftest.err
26261 rm -f conftest.er1
26262 cat conftest.err >&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); } && {
26265 test -z "$ac_c_werror_flag" ||
26266 test ! -s conftest.err
26267 } && test -s conftest.$ac_objext; then
26268 ac_cv_header_png_h=yes
26269 else
26270 echo "$as_me: failed program was:" >&5
26271 sed 's/^/| /' conftest.$ac_ext >&5
26272
26273 ac_cv_header_png_h=no
26274 fi
26275
26276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26277 fi
26278 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26279 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26280
26281
26282
26283 if test "$ac_cv_header_png_h" = "yes"; then
26284 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26285 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26286 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 else
26289 ac_check_lib_save_LIBS=$LIBS
26290 LIBS="-lpng -lz -lm $LIBS"
26291 cat >conftest.$ac_ext <<_ACEOF
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297
26298 /* Override any GCC internal prototype to avoid an error.
26299 Use char because int might match the return type of a GCC
26300 builtin and then its argument prototype would still apply. */
26301 #ifdef __cplusplus
26302 extern "C"
26303 #endif
26304 char png_check_sig ();
26305 int
26306 main ()
26307 {
26308 return png_check_sig ();
26309 ;
26310 return 0;
26311 }
26312 _ACEOF
26313 rm -f conftest.$ac_objext conftest$ac_exeext
26314 if { (ac_try="$ac_link"
26315 case "(($ac_try" in
26316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26317 *) ac_try_echo=$ac_try;;
26318 esac
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_link") 2>conftest.er1
26321 ac_status=$?
26322 grep -v '^ *+' conftest.er1 >conftest.err
26323 rm -f conftest.er1
26324 cat conftest.err >&5
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); } && {
26327 test -z "$ac_c_werror_flag" ||
26328 test ! -s conftest.err
26329 } && test -s conftest$ac_exeext &&
26330 $as_test_x conftest$ac_exeext; then
26331 ac_cv_lib_png_png_check_sig=yes
26332 else
26333 echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.$ac_ext >&5
26335
26336 ac_cv_lib_png_png_check_sig=no
26337 fi
26338
26339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26340 conftest$ac_exeext conftest.$ac_ext
26341 LIBS=$ac_check_lib_save_LIBS
26342 fi
26343 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26344 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26345 if test $ac_cv_lib_png_png_check_sig = yes; then
26346 PNG_LINK=" -lpng -lz"
26347 fi
26348
26349 fi
26350
26351 if test "x$PNG_LINK" = "x" ; then
26352 if test "$wxUSE_LIBPNG" = "sys" ; then
26353 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26354 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26355 { (exit 1); exit 1; }; }
26356 else
26357 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26358 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26359 wxUSE_LIBPNG=builtin
26360 fi
26361 else
26362 wxUSE_LIBPNG=sys
26363 fi
26364 fi
26365 fi
26366 fi
26367
26368
26369 JPEG_LINK=
26370 if test "$wxUSE_LIBJPEG" != "no" ; then
26371 cat >>confdefs.h <<\_ACEOF
26372 #define wxUSE_LIBJPEG 1
26373 _ACEOF
26374
26375
26376 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26377 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26378 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26379 wxUSE_LIBJPEG=sys
26380 fi
26381
26382 if test "$wxUSE_MGL" != 1 ; then
26383 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26384 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26385 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26386 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26387 echo $ECHO_N "(cached) $ECHO_C" >&6
26388 else
26389 cat >conftest.$ac_ext <<_ACEOF
26390 /* confdefs.h. */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395
26396 #undef HAVE_STDLIB_H
26397 #include <stdio.h>
26398 #include <jpeglib.h>
26399
26400 int
26401 main ()
26402 {
26403
26404
26405 ;
26406 return 0;
26407 }
26408 _ACEOF
26409 rm -f conftest.$ac_objext
26410 if { (ac_try="$ac_compile"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26413 *) ac_try_echo=$ac_try;;
26414 esac
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_compile") 2>conftest.er1
26417 ac_status=$?
26418 grep -v '^ *+' conftest.er1 >conftest.err
26419 rm -f conftest.er1
26420 cat conftest.err >&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_c_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest.$ac_objext; then
26426 ac_cv_header_jpeglib_h=yes
26427 else
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26430
26431 ac_cv_header_jpeglib_h=no
26432
26433 fi
26434
26435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26436
26437 fi
26438
26439 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26440 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26441
26442 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26443 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26444 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26445 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26447 else
26448 ac_check_lib_save_LIBS=$LIBS
26449 LIBS="-ljpeg $LIBS"
26450 cat >conftest.$ac_ext <<_ACEOF
26451 /* confdefs.h. */
26452 _ACEOF
26453 cat confdefs.h >>conftest.$ac_ext
26454 cat >>conftest.$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26456
26457 /* Override any GCC internal prototype to avoid an error.
26458 Use char because int might match the return type of a GCC
26459 builtin and then its argument prototype would still apply. */
26460 #ifdef __cplusplus
26461 extern "C"
26462 #endif
26463 char jpeg_read_header ();
26464 int
26465 main ()
26466 {
26467 return jpeg_read_header ();
26468 ;
26469 return 0;
26470 }
26471 _ACEOF
26472 rm -f conftest.$ac_objext conftest$ac_exeext
26473 if { (ac_try="$ac_link"
26474 case "(($ac_try" in
26475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26476 *) ac_try_echo=$ac_try;;
26477 esac
26478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26479 (eval "$ac_link") 2>conftest.er1
26480 ac_status=$?
26481 grep -v '^ *+' conftest.er1 >conftest.err
26482 rm -f conftest.er1
26483 cat conftest.err >&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } && {
26486 test -z "$ac_c_werror_flag" ||
26487 test ! -s conftest.err
26488 } && test -s conftest$ac_exeext &&
26489 $as_test_x conftest$ac_exeext; then
26490 ac_cv_lib_jpeg_jpeg_read_header=yes
26491 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26494
26495 ac_cv_lib_jpeg_jpeg_read_header=no
26496 fi
26497
26498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26499 conftest$ac_exeext conftest.$ac_ext
26500 LIBS=$ac_check_lib_save_LIBS
26501 fi
26502 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26503 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26504 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26505 JPEG_LINK=" -ljpeg"
26506 fi
26507
26508 fi
26509
26510 if test "x$JPEG_LINK" = "x" ; then
26511 if test "$wxUSE_LIBJPEG" = "sys" ; then
26512 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26513 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26514 { (exit 1); exit 1; }; }
26515 else
26516 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26517 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26518 wxUSE_LIBJPEG=builtin
26519 fi
26520 else
26521 wxUSE_LIBJPEG=sys
26522
26523 if test "$wxUSE_MSW" = 1; then
26524 { echo "$as_me:$LINENO: checking for boolean" >&5
26525 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26526 if test "${ac_cv_type_boolean+set}" = set; then
26527 echo $ECHO_N "(cached) $ECHO_C" >&6
26528 else
26529 cat >conftest.$ac_ext <<_ACEOF
26530 /* confdefs.h. */
26531 _ACEOF
26532 cat confdefs.h >>conftest.$ac_ext
26533 cat >>conftest.$ac_ext <<_ACEOF
26534 /* end confdefs.h. */
26535 #include <windows.h>
26536
26537 typedef boolean ac__type_new_;
26538 int
26539 main ()
26540 {
26541 if ((ac__type_new_ *) 0)
26542 return 0;
26543 if (sizeof (ac__type_new_))
26544 return 0;
26545 ;
26546 return 0;
26547 }
26548 _ACEOF
26549 rm -f conftest.$ac_objext
26550 if { (ac_try="$ac_compile"
26551 case "(($ac_try" in
26552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26553 *) ac_try_echo=$ac_try;;
26554 esac
26555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26556 (eval "$ac_compile") 2>conftest.er1
26557 ac_status=$?
26558 grep -v '^ *+' conftest.er1 >conftest.err
26559 rm -f conftest.er1
26560 cat conftest.err >&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } && {
26563 test -z "$ac_c_werror_flag" ||
26564 test ! -s conftest.err
26565 } && test -s conftest.$ac_objext; then
26566 ac_cv_type_boolean=yes
26567 else
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.$ac_ext >&5
26570
26571 ac_cv_type_boolean=no
26572 fi
26573
26574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26575 fi
26576 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26577 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26578 if test $ac_cv_type_boolean = yes; then
26579
26580 cat >>confdefs.h <<_ACEOF
26581 #define HAVE_BOOLEAN 1
26582 _ACEOF
26583
26584
26585 { echo "$as_me:$LINENO: checking for boolean" >&5
26586 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26587 if test "${ac_cv_type_boolean+set}" = set; then
26588 echo $ECHO_N "(cached) $ECHO_C" >&6
26589 else
26590 cat >conftest.$ac_ext <<_ACEOF
26591 /* confdefs.h. */
26592 _ACEOF
26593 cat confdefs.h >>conftest.$ac_ext
26594 cat >>conftest.$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26596
26597 #undef HAVE_BOOLEAN
26598 #include <stdio.h>
26599 #include <jpeglib.h>
26600
26601
26602 typedef boolean ac__type_new_;
26603 int
26604 main ()
26605 {
26606 if ((ac__type_new_ *) 0)
26607 return 0;
26608 if (sizeof (ac__type_new_))
26609 return 0;
26610 ;
26611 return 0;
26612 }
26613 _ACEOF
26614 rm -f conftest.$ac_objext
26615 if { (ac_try="$ac_compile"
26616 case "(($ac_try" in
26617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26619 esac
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_compile") 2>conftest.er1
26622 ac_status=$?
26623 grep -v '^ *+' conftest.er1 >conftest.err
26624 rm -f conftest.er1
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } && {
26628 test -z "$ac_c_werror_flag" ||
26629 test ! -s conftest.err
26630 } && test -s conftest.$ac_objext; then
26631 ac_cv_type_boolean=yes
26632 else
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.$ac_ext >&5
26635
26636 ac_cv_type_boolean=no
26637 fi
26638
26639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26640 fi
26641 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26642 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26643
26644 # The cast to long int works around a bug in the HP C Compiler
26645 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26646 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26647 # This bug is HP SR number 8606223364.
26648 { echo "$as_me:$LINENO: checking size of boolean" >&5
26649 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26650 if test "${ac_cv_sizeof_boolean+set}" = set; then
26651 echo $ECHO_N "(cached) $ECHO_C" >&6
26652 else
26653 if test "$cross_compiling" = yes; then
26654 # Depending upon the size, compute the lo and hi bounds.
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661
26662 #undef HAVE_BOOLEAN
26663 #include <stdio.h>
26664 #include <jpeglib.h>
26665
26666
26667 typedef boolean ac__type_sizeof_;
26668 int
26669 main ()
26670 {
26671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26672 test_array [0] = 0
26673
26674 ;
26675 return 0;
26676 }
26677 _ACEOF
26678 rm -f conftest.$ac_objext
26679 if { (ac_try="$ac_compile"
26680 case "(($ac_try" in
26681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26683 esac
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_compile") 2>conftest.er1
26686 ac_status=$?
26687 grep -v '^ *+' conftest.er1 >conftest.err
26688 rm -f conftest.er1
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } && {
26692 test -z "$ac_c_werror_flag" ||
26693 test ! -s conftest.err
26694 } && test -s conftest.$ac_objext; then
26695 ac_lo=0 ac_mid=0
26696 while :; do
26697 cat >conftest.$ac_ext <<_ACEOF
26698 /* confdefs.h. */
26699 _ACEOF
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26703
26704 #undef HAVE_BOOLEAN
26705 #include <stdio.h>
26706 #include <jpeglib.h>
26707
26708
26709 typedef boolean ac__type_sizeof_;
26710 int
26711 main ()
26712 {
26713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26714 test_array [0] = 0
26715
26716 ;
26717 return 0;
26718 }
26719 _ACEOF
26720 rm -f conftest.$ac_objext
26721 if { (ac_try="$ac_compile"
26722 case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26724 *) ac_try_echo=$ac_try;;
26725 esac
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_compile") 2>conftest.er1
26728 ac_status=$?
26729 grep -v '^ *+' conftest.er1 >conftest.err
26730 rm -f conftest.er1
26731 cat conftest.err >&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); } && {
26734 test -z "$ac_c_werror_flag" ||
26735 test ! -s conftest.err
26736 } && test -s conftest.$ac_objext; then
26737 ac_hi=$ac_mid; break
26738 else
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26741
26742 ac_lo=`expr $ac_mid + 1`
26743 if test $ac_lo -le $ac_mid; then
26744 ac_lo= ac_hi=
26745 break
26746 fi
26747 ac_mid=`expr 2 '*' $ac_mid + 1`
26748 fi
26749
26750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26751 done
26752 else
26753 echo "$as_me: failed program was:" >&5
26754 sed 's/^/| /' conftest.$ac_ext >&5
26755
26756 cat >conftest.$ac_ext <<_ACEOF
26757 /* confdefs.h. */
26758 _ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26762
26763 #undef HAVE_BOOLEAN
26764 #include <stdio.h>
26765 #include <jpeglib.h>
26766
26767
26768 typedef boolean ac__type_sizeof_;
26769 int
26770 main ()
26771 {
26772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26773 test_array [0] = 0
26774
26775 ;
26776 return 0;
26777 }
26778 _ACEOF
26779 rm -f conftest.$ac_objext
26780 if { (ac_try="$ac_compile"
26781 case "(($ac_try" in
26782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26783 *) ac_try_echo=$ac_try;;
26784 esac
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786 (eval "$ac_compile") 2>conftest.er1
26787 ac_status=$?
26788 grep -v '^ *+' conftest.er1 >conftest.err
26789 rm -f conftest.er1
26790 cat conftest.err >&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && {
26793 test -z "$ac_c_werror_flag" ||
26794 test ! -s conftest.err
26795 } && test -s conftest.$ac_objext; then
26796 ac_hi=-1 ac_mid=-1
26797 while :; do
26798 cat >conftest.$ac_ext <<_ACEOF
26799 /* confdefs.h. */
26800 _ACEOF
26801 cat confdefs.h >>conftest.$ac_ext
26802 cat >>conftest.$ac_ext <<_ACEOF
26803 /* end confdefs.h. */
26804
26805 #undef HAVE_BOOLEAN
26806 #include <stdio.h>
26807 #include <jpeglib.h>
26808
26809
26810 typedef boolean ac__type_sizeof_;
26811 int
26812 main ()
26813 {
26814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26815 test_array [0] = 0
26816
26817 ;
26818 return 0;
26819 }
26820 _ACEOF
26821 rm -f conftest.$ac_objext
26822 if { (ac_try="$ac_compile"
26823 case "(($ac_try" in
26824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26825 *) ac_try_echo=$ac_try;;
26826 esac
26827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26828 (eval "$ac_compile") 2>conftest.er1
26829 ac_status=$?
26830 grep -v '^ *+' conftest.er1 >conftest.err
26831 rm -f conftest.er1
26832 cat conftest.err >&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); } && {
26835 test -z "$ac_c_werror_flag" ||
26836 test ! -s conftest.err
26837 } && test -s conftest.$ac_objext; then
26838 ac_lo=$ac_mid; break
26839 else
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.$ac_ext >&5
26842
26843 ac_hi=`expr '(' $ac_mid ')' - 1`
26844 if test $ac_mid -le $ac_hi; then
26845 ac_lo= ac_hi=
26846 break
26847 fi
26848 ac_mid=`expr 2 '*' $ac_mid`
26849 fi
26850
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 done
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 ac_lo= ac_hi=
26858 fi
26859
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26861 fi
26862
26863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26864 # Binary search between lo and hi bounds.
26865 while test "x$ac_lo" != "x$ac_hi"; do
26866 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26867 cat >conftest.$ac_ext <<_ACEOF
26868 /* confdefs.h. */
26869 _ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26873
26874 #undef HAVE_BOOLEAN
26875 #include <stdio.h>
26876 #include <jpeglib.h>
26877
26878
26879 typedef boolean ac__type_sizeof_;
26880 int
26881 main ()
26882 {
26883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26884 test_array [0] = 0
26885
26886 ;
26887 return 0;
26888 }
26889 _ACEOF
26890 rm -f conftest.$ac_objext
26891 if { (ac_try="$ac_compile"
26892 case "(($ac_try" in
26893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26894 *) ac_try_echo=$ac_try;;
26895 esac
26896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26897 (eval "$ac_compile") 2>conftest.er1
26898 ac_status=$?
26899 grep -v '^ *+' conftest.er1 >conftest.err
26900 rm -f conftest.er1
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } && {
26904 test -z "$ac_c_werror_flag" ||
26905 test ! -s conftest.err
26906 } && test -s conftest.$ac_objext; then
26907 ac_hi=$ac_mid
26908 else
26909 echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26911
26912 ac_lo=`expr '(' $ac_mid ')' + 1`
26913 fi
26914
26915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26916 done
26917 case $ac_lo in
26918 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26919 '') if test "$ac_cv_type_boolean" = yes; then
26920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26921 See \`config.log' for more details." >&5
26922 echo "$as_me: error: cannot compute sizeof (boolean)
26923 See \`config.log' for more details." >&2;}
26924 { (exit 77); exit 77; }; }
26925 else
26926 ac_cv_sizeof_boolean=0
26927 fi ;;
26928 esac
26929 else
26930 cat >conftest.$ac_ext <<_ACEOF
26931 /* confdefs.h. */
26932 _ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26936
26937 #undef HAVE_BOOLEAN
26938 #include <stdio.h>
26939 #include <jpeglib.h>
26940
26941
26942 typedef boolean ac__type_sizeof_;
26943 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26944 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26945 #include <stdio.h>
26946 #include <stdlib.h>
26947 int
26948 main ()
26949 {
26950
26951 FILE *f = fopen ("conftest.val", "w");
26952 if (! f)
26953 return 1;
26954 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26955 {
26956 long int i = longval ();
26957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26958 return 1;
26959 fprintf (f, "%ld\n", i);
26960 }
26961 else
26962 {
26963 unsigned long int i = ulongval ();
26964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26965 return 1;
26966 fprintf (f, "%lu\n", i);
26967 }
26968 return ferror (f) || fclose (f) != 0;
26969
26970 ;
26971 return 0;
26972 }
26973 _ACEOF
26974 rm -f conftest$ac_exeext
26975 if { (ac_try="$ac_link"
26976 case "(($ac_try" in
26977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26978 *) ac_try_echo=$ac_try;;
26979 esac
26980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26981 (eval "$ac_link") 2>&5
26982 ac_status=$?
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26985 { (case "(($ac_try" in
26986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26987 *) ac_try_echo=$ac_try;;
26988 esac
26989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26990 (eval "$ac_try") 2>&5
26991 ac_status=$?
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); }; }; then
26994 ac_cv_sizeof_boolean=`cat conftest.val`
26995 else
26996 echo "$as_me: program exited with status $ac_status" >&5
26997 echo "$as_me: failed program was:" >&5
26998 sed 's/^/| /' conftest.$ac_ext >&5
26999
27000 ( exit $ac_status )
27001 if test "$ac_cv_type_boolean" = yes; then
27002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27003 See \`config.log' for more details." >&5
27004 echo "$as_me: error: cannot compute sizeof (boolean)
27005 See \`config.log' for more details." >&2;}
27006 { (exit 77); exit 77; }; }
27007 else
27008 ac_cv_sizeof_boolean=0
27009 fi
27010 fi
27011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27012 fi
27013 rm -f conftest.val
27014 fi
27015 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27016 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27017
27018
27019
27020 cat >>confdefs.h <<_ACEOF
27021 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27022 _ACEOF
27023
27024
27025 cat >>confdefs.h <<_ACEOF
27026 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27027 _ACEOF
27028
27029
27030 fi
27031
27032 fi
27033 fi
27034 fi
27035 fi
27036 fi
27037
27038
27039 TIFF_LINK=
27040 TIFF_PREREQ_LINKS=-lm
27041 if test "$wxUSE_LIBTIFF" != "no" ; then
27042 cat >>confdefs.h <<\_ACEOF
27043 #define wxUSE_LIBTIFF 1
27044 _ACEOF
27045
27046
27047 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27048 if test "$wxUSE_LIBJPEG" = "sys"; then
27049 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27050 fi
27051 if test "$wxUSE_ZLIB" = "sys"; then
27052 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27053 fi
27054 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27055 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27056 if test "${ac_cv_header_tiffio_h+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 else
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065
27066
27067
27068 #include <tiffio.h>
27069 _ACEOF
27070 rm -f conftest.$ac_objext
27071 if { (ac_try="$ac_compile"
27072 case "(($ac_try" in
27073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27074 *) ac_try_echo=$ac_try;;
27075 esac
27076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_compile") 2>conftest.er1
27078 ac_status=$?
27079 grep -v '^ *+' conftest.er1 >conftest.err
27080 rm -f conftest.er1
27081 cat conftest.err >&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } && {
27084 test -z "$ac_c_werror_flag" ||
27085 test ! -s conftest.err
27086 } && test -s conftest.$ac_objext; then
27087 ac_cv_header_tiffio_h=yes
27088 else
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27091
27092 ac_cv_header_tiffio_h=no
27093 fi
27094
27095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27096 fi
27097 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27098 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27099 if test $ac_cv_header_tiffio_h = yes; then
27100
27101 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27102 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27103 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27104 echo $ECHO_N "(cached) $ECHO_C" >&6
27105 else
27106 ac_check_lib_save_LIBS=$LIBS
27107 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27108 cat >conftest.$ac_ext <<_ACEOF
27109 /* confdefs.h. */
27110 _ACEOF
27111 cat confdefs.h >>conftest.$ac_ext
27112 cat >>conftest.$ac_ext <<_ACEOF
27113 /* end confdefs.h. */
27114
27115 /* Override any GCC internal prototype to avoid an error.
27116 Use char because int might match the return type of a GCC
27117 builtin and then its argument prototype would still apply. */
27118 #ifdef __cplusplus
27119 extern "C"
27120 #endif
27121 char TIFFError ();
27122 int
27123 main ()
27124 {
27125 return TIFFError ();
27126 ;
27127 return 0;
27128 }
27129 _ACEOF
27130 rm -f conftest.$ac_objext conftest$ac_exeext
27131 if { (ac_try="$ac_link"
27132 case "(($ac_try" in
27133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27134 *) ac_try_echo=$ac_try;;
27135 esac
27136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27137 (eval "$ac_link") 2>conftest.er1
27138 ac_status=$?
27139 grep -v '^ *+' conftest.er1 >conftest.err
27140 rm -f conftest.er1
27141 cat conftest.err >&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); } && {
27144 test -z "$ac_c_werror_flag" ||
27145 test ! -s conftest.err
27146 } && test -s conftest$ac_exeext &&
27147 $as_test_x conftest$ac_exeext; then
27148 ac_cv_lib_tiff_TIFFError=yes
27149 else
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27152
27153 ac_cv_lib_tiff_TIFFError=no
27154 fi
27155
27156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27157 conftest$ac_exeext conftest.$ac_ext
27158 LIBS=$ac_check_lib_save_LIBS
27159 fi
27160 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27161 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27162 if test $ac_cv_lib_tiff_TIFFError = yes; then
27163 TIFF_LINK=" -ltiff"
27164 fi
27165
27166
27167 fi
27168
27169
27170
27171 if test "x$TIFF_LINK" = "x" ; then
27172 if test "$wxUSE_LIBTIFF" = "sys" ; then
27173 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27174 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27175 { (exit 1); exit 1; }; }
27176 else
27177 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27178 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27179 wxUSE_LIBTIFF=builtin
27180 fi
27181 else
27182 wxUSE_LIBTIFF=sys
27183 fi
27184 fi
27185 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27186 if test "$wxUSE_LIBJPEG" = "no"; then
27187 ac_configure_args="$ac_configure_args --disable-jpeg"
27188 fi
27189 subdirs="$subdirs src/tiff"
27190
27191 fi
27192 fi
27193
27194
27195 if test "$wxUSE_WCHAR_T" != "yes"; then
27196 if test "$wxUSE_EXPAT" != "no"; then
27197 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27198 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27199 wxUSE_EXPAT=no
27200 fi
27201 if test "$wxUSE_XML" != "no"; then
27202 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27203 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27204 wxUSE_XML=no
27205 fi
27206 fi
27207
27208 if test "$wxUSE_EXPAT" != "no"; then
27209 wxUSE_XML=yes
27210 cat >>confdefs.h <<\_ACEOF
27211 #define wxUSE_EXPAT 1
27212 _ACEOF
27213
27214 cat >>confdefs.h <<\_ACEOF
27215 #define wxUSE_XML 1
27216 _ACEOF
27217
27218
27219 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27220 { echo "$as_me:$LINENO: checking for expat.h" >&5
27221 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27222 if test "${ac_cv_header_expat_h+set}" = set; then
27223 echo $ECHO_N "(cached) $ECHO_C" >&6
27224 else
27225 cat >conftest.$ac_ext <<_ACEOF
27226 /* confdefs.h. */
27227 _ACEOF
27228 cat confdefs.h >>conftest.$ac_ext
27229 cat >>conftest.$ac_ext <<_ACEOF
27230 /* end confdefs.h. */
27231
27232
27233 #include <expat.h>
27234 _ACEOF
27235 rm -f conftest.$ac_objext
27236 if { (ac_try="$ac_compile"
27237 case "(($ac_try" in
27238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27239 *) ac_try_echo=$ac_try;;
27240 esac
27241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27242 (eval "$ac_compile") 2>conftest.er1
27243 ac_status=$?
27244 grep -v '^ *+' conftest.er1 >conftest.err
27245 rm -f conftest.er1
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } && {
27249 test -z "$ac_c_werror_flag" ||
27250 test ! -s conftest.err
27251 } && test -s conftest.$ac_objext; then
27252 ac_cv_header_expat_h=yes
27253 else
27254 echo "$as_me: failed program was:" >&5
27255 sed 's/^/| /' conftest.$ac_ext >&5
27256
27257 ac_cv_header_expat_h=no
27258 fi
27259
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 fi
27262 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27263 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27264 if test $ac_cv_header_expat_h = yes; then
27265 found_expat_h=1
27266 fi
27267
27268
27269 if test "x$found_expat_h" = "x1"; then
27270 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27271 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27272 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27273 echo $ECHO_N "(cached) $ECHO_C" >&6
27274 else
27275
27276 ac_ext=cpp
27277 ac_cpp='$CXXCPP $CPPFLAGS'
27278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27281
27282 cat >conftest.$ac_ext <<_ACEOF
27283 /* confdefs.h. */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288 #include <expat.h>
27289 int
27290 main ()
27291 {
27292
27293 ;
27294 return 0;
27295 }
27296 _ACEOF
27297 rm -f conftest.$ac_objext
27298 if { (ac_try="$ac_compile"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27302 esac
27303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_compile") 2>conftest.er1
27305 ac_status=$?
27306 grep -v '^ *+' conftest.er1 >conftest.err
27307 rm -f conftest.er1
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_cxx_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 wx_cv_expat_is_not_broken=yes
27315 else
27316 echo "$as_me: failed program was:" >&5
27317 sed 's/^/| /' conftest.$ac_ext >&5
27318
27319 wx_cv_expat_is_not_broken=no
27320
27321 fi
27322
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 ac_ext=c
27325 ac_cpp='$CPP $CPPFLAGS'
27326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27329
27330
27331
27332 fi
27333 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27334 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27335 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27336 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27337 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27338 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27339 echo $ECHO_N "(cached) $ECHO_C" >&6
27340 else
27341 ac_check_lib_save_LIBS=$LIBS
27342 LIBS="-lexpat $LIBS"
27343 cat >conftest.$ac_ext <<_ACEOF
27344 /* confdefs.h. */
27345 _ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349
27350 /* Override any GCC internal prototype to avoid an error.
27351 Use char because int might match the return type of a GCC
27352 builtin and then its argument prototype would still apply. */
27353 #ifdef __cplusplus
27354 extern "C"
27355 #endif
27356 char XML_ParserCreate ();
27357 int
27358 main ()
27359 {
27360 return XML_ParserCreate ();
27361 ;
27362 return 0;
27363 }
27364 _ACEOF
27365 rm -f conftest.$ac_objext conftest$ac_exeext
27366 if { (ac_try="$ac_link"
27367 case "(($ac_try" in
27368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27369 *) ac_try_echo=$ac_try;;
27370 esac
27371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27372 (eval "$ac_link") 2>conftest.er1
27373 ac_status=$?
27374 grep -v '^ *+' conftest.er1 >conftest.err
27375 rm -f conftest.er1
27376 cat conftest.err >&5
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); } && {
27379 test -z "$ac_c_werror_flag" ||
27380 test ! -s conftest.err
27381 } && test -s conftest$ac_exeext &&
27382 $as_test_x conftest$ac_exeext; then
27383 ac_cv_lib_expat_XML_ParserCreate=yes
27384 else
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27387
27388 ac_cv_lib_expat_XML_ParserCreate=no
27389 fi
27390
27391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27392 conftest$ac_exeext conftest.$ac_ext
27393 LIBS=$ac_check_lib_save_LIBS
27394 fi
27395 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27396 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27397 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27398 EXPAT_LINK=" -lexpat"
27399 fi
27400
27401 fi
27402 fi
27403 if test "x$EXPAT_LINK" = "x" ; then
27404 if test "$wxUSE_EXPAT" = "sys" ; then
27405 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27406 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27407 { (exit 1); exit 1; }; }
27408 else
27409 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27410 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27411 wxUSE_EXPAT=builtin
27412 fi
27413 else
27414 wxUSE_EXPAT=sys
27415 fi
27416 fi
27417 if test "$wxUSE_EXPAT" = "builtin" ; then
27418 subdirs="$subdirs src/expat"
27419
27420 fi
27421 fi
27422
27423
27424
27425 if test "$wxUSE_LIBMSPACK" != "no"; then
27426 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27427 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27428 if test "${ac_cv_header_mspack_h+set}" = set; then
27429 echo $ECHO_N "(cached) $ECHO_C" >&6
27430 else
27431 cat >conftest.$ac_ext <<_ACEOF
27432 /* confdefs.h. */
27433 _ACEOF
27434 cat confdefs.h >>conftest.$ac_ext
27435 cat >>conftest.$ac_ext <<_ACEOF
27436 /* end confdefs.h. */
27437
27438
27439 #include <mspack.h>
27440 _ACEOF
27441 rm -f conftest.$ac_objext
27442 if { (ac_try="$ac_compile"
27443 case "(($ac_try" in
27444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27445 *) ac_try_echo=$ac_try;;
27446 esac
27447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27448 (eval "$ac_compile") 2>conftest.er1
27449 ac_status=$?
27450 grep -v '^ *+' conftest.er1 >conftest.err
27451 rm -f conftest.er1
27452 cat conftest.err >&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } && {
27455 test -z "$ac_c_werror_flag" ||
27456 test ! -s conftest.err
27457 } && test -s conftest.$ac_objext; then
27458 ac_cv_header_mspack_h=yes
27459 else
27460 echo "$as_me: failed program was:" >&5
27461 sed 's/^/| /' conftest.$ac_ext >&5
27462
27463 ac_cv_header_mspack_h=no
27464 fi
27465
27466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27467 fi
27468 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27469 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27470 if test $ac_cv_header_mspack_h = yes; then
27471 found_mspack_h=1
27472 fi
27473
27474
27475 if test "x$found_mspack_h" = "x1"; then
27476 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27477 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27478 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 else
27481 ac_check_lib_save_LIBS=$LIBS
27482 LIBS="-lmspack $LIBS"
27483 cat >conftest.$ac_ext <<_ACEOF
27484 /* confdefs.h. */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489
27490 /* Override any GCC internal prototype to avoid an error.
27491 Use char because int might match the return type of a GCC
27492 builtin and then its argument prototype would still apply. */
27493 #ifdef __cplusplus
27494 extern "C"
27495 #endif
27496 char mspack_create_chm_decompressor ();
27497 int
27498 main ()
27499 {
27500 return mspack_create_chm_decompressor ();
27501 ;
27502 return 0;
27503 }
27504 _ACEOF
27505 rm -f conftest.$ac_objext conftest$ac_exeext
27506 if { (ac_try="$ac_link"
27507 case "(($ac_try" in
27508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27509 *) ac_try_echo=$ac_try;;
27510 esac
27511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27512 (eval "$ac_link") 2>conftest.er1
27513 ac_status=$?
27514 grep -v '^ *+' conftest.er1 >conftest.err
27515 rm -f conftest.er1
27516 cat conftest.err >&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } && {
27519 test -z "$ac_c_werror_flag" ||
27520 test ! -s conftest.err
27521 } && test -s conftest$ac_exeext &&
27522 $as_test_x conftest$ac_exeext; then
27523 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27524 else
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27527
27528 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27529 fi
27530
27531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27532 conftest$ac_exeext conftest.$ac_ext
27533 LIBS=$ac_check_lib_save_LIBS
27534 fi
27535 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27536 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27537 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27538 MSPACK_LINK=" -lmspack"
27539 fi
27540
27541 fi
27542 if test "x$MSPACK_LINK" = "x" ; then
27543 wxUSE_LIBMSPACK=no
27544 fi
27545 fi
27546
27547 if test "$wxUSE_LIBMSPACK" != "no"; then
27548 cat >>confdefs.h <<\_ACEOF
27549 #define wxUSE_LIBMSPACK 1
27550 _ACEOF
27551
27552 fi
27553
27554
27555
27556 AFMINSTALL=
27557 WIN32INSTALL=
27558
27559 TOOLKIT=
27560 TOOLKIT_INCLUDE=
27561 WIDGET_SET=
27562
27563 if test "$USE_WIN32" = 1 ; then
27564
27565 for ac_header in w32api.h
27566 do
27567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27571 echo $ECHO_N "(cached) $ECHO_C" >&6
27572 else
27573 cat >conftest.$ac_ext <<_ACEOF
27574 /* confdefs.h. */
27575 _ACEOF
27576 cat confdefs.h >>conftest.$ac_ext
27577 cat >>conftest.$ac_ext <<_ACEOF
27578 /* end confdefs.h. */
27579
27580
27581 #include <$ac_header>
27582 _ACEOF
27583 rm -f conftest.$ac_objext
27584 if { (ac_try="$ac_compile"
27585 case "(($ac_try" in
27586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27587 *) ac_try_echo=$ac_try;;
27588 esac
27589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27590 (eval "$ac_compile") 2>conftest.er1
27591 ac_status=$?
27592 grep -v '^ *+' conftest.er1 >conftest.err
27593 rm -f conftest.er1
27594 cat conftest.err >&5
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); } && {
27597 test -z "$ac_c_werror_flag" ||
27598 test ! -s conftest.err
27599 } && test -s conftest.$ac_objext; then
27600 eval "$as_ac_Header=yes"
27601 else
27602 echo "$as_me: failed program was:" >&5
27603 sed 's/^/| /' conftest.$ac_ext >&5
27604
27605 eval "$as_ac_Header=no"
27606 fi
27607
27608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27609 fi
27610 ac_res=`eval echo '${'$as_ac_Header'}'`
27611 { echo "$as_me:$LINENO: result: $ac_res" >&5
27612 echo "${ECHO_T}$ac_res" >&6; }
27613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27614 cat >>confdefs.h <<_ACEOF
27615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27616 _ACEOF
27617
27618 fi
27619
27620 done
27621
27622 { echo "$as_me:$LINENO: checking for windows.h" >&5
27623 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27624 if test "${ac_cv_header_windows_h+set}" = set; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 else
27627 cat >conftest.$ac_ext <<_ACEOF
27628 /* confdefs.h. */
27629 _ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h. */
27633
27634
27635 #include <windows.h>
27636 _ACEOF
27637 rm -f conftest.$ac_objext
27638 if { (ac_try="$ac_compile"
27639 case "(($ac_try" in
27640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27641 *) ac_try_echo=$ac_try;;
27642 esac
27643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27644 (eval "$ac_compile") 2>conftest.er1
27645 ac_status=$?
27646 grep -v '^ *+' conftest.er1 >conftest.err
27647 rm -f conftest.er1
27648 cat conftest.err >&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); } && {
27651 test -z "$ac_c_werror_flag" ||
27652 test ! -s conftest.err
27653 } && test -s conftest.$ac_objext; then
27654 ac_cv_header_windows_h=yes
27655 else
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27658
27659 ac_cv_header_windows_h=no
27660 fi
27661
27662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27663 fi
27664 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27665 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27666 if test $ac_cv_header_windows_h = yes; then
27667 :
27668 else
27669
27670 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27671 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27672 { (exit 1); exit 1; }; }
27673
27674 fi
27675
27676
27677
27678 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27679
27680 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27681 LIBS="$LIBS -loleacc"
27682 fi
27683
27684 case "${host}" in
27685 *-*-cygwin* )
27686 LIBS="$LIBS -lkernel32 -luser32"
27687 esac
27688
27689 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27690 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27691
27692 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27693
27694 WIN32INSTALL=win32install
27695
27696 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27697 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27698 if test "${ac_cv_header_pbt_h+set}" = set; then
27699 echo $ECHO_N "(cached) $ECHO_C" >&6
27700 else
27701 cat >conftest.$ac_ext <<_ACEOF
27702 /* confdefs.h. */
27703 _ACEOF
27704 cat confdefs.h >>conftest.$ac_ext
27705 cat >>conftest.$ac_ext <<_ACEOF
27706 /* end confdefs.h. */
27707
27708
27709 #include <pbt.h>
27710 _ACEOF
27711 rm -f conftest.$ac_objext
27712 if { (ac_try="$ac_compile"
27713 case "(($ac_try" in
27714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27715 *) ac_try_echo=$ac_try;;
27716 esac
27717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27718 (eval "$ac_compile") 2>conftest.er1
27719 ac_status=$?
27720 grep -v '^ *+' conftest.er1 >conftest.err
27721 rm -f conftest.er1
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } && {
27725 test -z "$ac_c_werror_flag" ||
27726 test ! -s conftest.err
27727 } && test -s conftest.$ac_objext; then
27728 ac_cv_header_pbt_h=yes
27729 else
27730 echo "$as_me: failed program was:" >&5
27731 sed 's/^/| /' conftest.$ac_ext >&5
27732
27733 ac_cv_header_pbt_h=no
27734 fi
27735
27736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27737 fi
27738 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27739 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27740 if test $ac_cv_header_pbt_h = yes; then
27741 :
27742 else
27743 cat >>confdefs.h <<\_ACEOF
27744 #define NEED_PBT_H 1
27745 _ACEOF
27746
27747 fi
27748
27749
27750 fi
27751
27752 if test "$wxUSE_GUI" = "yes"; then
27753 USE_GUI=1
27754
27755 GUI_TK_LIBRARY=
27756
27757 WXGTK12=
27758 WXGTK127=
27759 WXGTK2=
27760 WXGPE=
27761
27762 if test "$wxUSE_COCOA" = 1 ; then
27763 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27764 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27765 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27766 wxUSE_PRINTING_ARCHITECTURE=no
27767 fi
27768 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27769 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27770 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27771 wxUSE_DRAG_AND_DROP=no
27772 fi
27773 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27774 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27775 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27776 wxUSE_DRAGIMAGE=no
27777 fi
27778 fi
27779
27780 if test "$wxUSE_MSW" = 1 ; then
27781 TOOLKIT=MSW
27782 GUIDIST=MSW_DIST
27783
27784 case "${host}" in
27785 *-*-mingw32* )
27786 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27787 esac
27788 fi
27789
27790 if test "$wxUSE_GTK" = 1; then
27791 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27792 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27793
27794 gtk_version_cached=1
27795 if test "${wx_cv_lib_gtk+set}" = set; then
27796 echo $ECHO_N "(cached) $ECHO_C" >&6
27797 else
27798
27799 gtk_version_cached=0
27800 { echo "$as_me:$LINENO: result: " >&5
27801 echo "${ECHO_T}" >&6; }
27802
27803 GTK_MODULES=
27804 if test "$wxUSE_THREADS" = "yes"; then
27805 GTK_MODULES=gthread
27806 fi
27807
27808 wx_cv_lib_gtk=
27809 if test "x$wxGTK_VERSION" != "x1"
27810 then
27811 case "${host}" in
27812 *-*-solaris2* )
27813 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27814 enable_gtktest=no
27815 fi
27816 esac
27817
27818 # Check whether --enable-gtktest was given.
27819 if test "${enable_gtktest+set}" = set; then
27820 enableval=$enable_gtktest;
27821 else
27822 enable_gtktest=yes
27823 fi
27824
27825
27826 pkg_config_args=gtk+-2.0
27827 for module in . $GTK_MODULES
27828 do
27829 case "$module" in
27830 gthread)
27831 pkg_config_args="$pkg_config_args gthread-2.0"
27832 ;;
27833 esac
27834 done
27835
27836 no_gtk=""
27837
27838 # Extract the first word of "pkg-config", so it can be a program name with args.
27839 set dummy pkg-config; ac_word=$2
27840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27842 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27843 echo $ECHO_N "(cached) $ECHO_C" >&6
27844 else
27845 case $PKG_CONFIG in
27846 [\\/]* | ?:[\\/]*)
27847 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27848 ;;
27849 *)
27850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27851 for as_dir in $PATH
27852 do
27853 IFS=$as_save_IFS
27854 test -z "$as_dir" && as_dir=.
27855 for ac_exec_ext in '' $ac_executable_extensions; do
27856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27857 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27859 break 2
27860 fi
27861 done
27862 done
27863 IFS=$as_save_IFS
27864
27865 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27866 ;;
27867 esac
27868 fi
27869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27870 if test -n "$PKG_CONFIG"; then
27871 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27872 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27873 else
27874 { echo "$as_me:$LINENO: result: no" >&5
27875 echo "${ECHO_T}no" >&6; }
27876 fi
27877
27878
27879
27880 if test x$PKG_CONFIG != xno ; then
27881 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27882 :
27883 else
27884 echo "*** pkg-config too old; version 0.7 or better required."
27885 no_gtk=yes
27886 PKG_CONFIG=no
27887 fi
27888 else
27889 no_gtk=yes
27890 fi
27891
27892 min_gtk_version=2.4.0
27893 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27894 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27895
27896 if test x$PKG_CONFIG != xno ; then
27897 ## don't try to run the test against uninstalled libtool libs
27898 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27899 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27900 enable_gtktest=no
27901 fi
27902
27903 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27904 :
27905 else
27906 no_gtk=yes
27907 fi
27908 fi
27909
27910 if test x"$no_gtk" = x ; then
27911 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27912 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27913 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27915 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27917 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27919 if test "x$enable_gtktest" = "xyes" ; then
27920 ac_save_CFLAGS="$CFLAGS"
27921 ac_save_LIBS="$LIBS"
27922 CFLAGS="$CFLAGS $GTK_CFLAGS"
27923 LIBS="$GTK_LIBS $LIBS"
27924 rm -f conf.gtktest
27925 if test "$cross_compiling" = yes; then
27926 echo $ac_n "cross compiling; assumed OK... $ac_c"
27927 else
27928 cat >conftest.$ac_ext <<_ACEOF
27929 /* confdefs.h. */
27930 _ACEOF
27931 cat confdefs.h >>conftest.$ac_ext
27932 cat >>conftest.$ac_ext <<_ACEOF
27933 /* end confdefs.h. */
27934
27935 #include <gtk/gtk.h>
27936 #include <stdio.h>
27937 #include <stdlib.h>
27938
27939 int
27940 main ()
27941 {
27942 int major, minor, micro;
27943 char *tmp_version;
27944
27945 system ("touch conf.gtktest");
27946
27947 /* HP/UX 9 (%@#!) writes to sscanf strings */
27948 tmp_version = g_strdup("$min_gtk_version");
27949 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27950 printf("%s, bad version string\n", "$min_gtk_version");
27951 exit(1);
27952 }
27953
27954 if ((gtk_major_version != $gtk_config_major_version) ||
27955 (gtk_minor_version != $gtk_config_minor_version) ||
27956 (gtk_micro_version != $gtk_config_micro_version))
27957 {
27958 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27959 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27960 gtk_major_version, gtk_minor_version, gtk_micro_version);
27961 printf ("*** was found! If pkg-config was correct, then it is best\n");
27962 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27963 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27964 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27965 printf("*** required on your system.\n");
27966 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27967 printf("*** to point to the correct configuration files\n");
27968 }
27969 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27970 (gtk_minor_version != GTK_MINOR_VERSION) ||
27971 (gtk_micro_version != GTK_MICRO_VERSION))
27972 {
27973 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27974 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27975 printf("*** library (version %d.%d.%d)\n",
27976 gtk_major_version, gtk_minor_version, gtk_micro_version);
27977 }
27978 else
27979 {
27980 if ((gtk_major_version > major) ||
27981 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27982 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27983 {
27984 return 0;
27985 }
27986 else
27987 {
27988 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27989 gtk_major_version, gtk_minor_version, gtk_micro_version);
27990 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27991 major, minor, micro);
27992 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27993 printf("***\n");
27994 printf("*** If you have already installed a sufficiently new version, this error\n");
27995 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27996 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27997 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27998 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27999 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28000 printf("*** so that the correct libraries are found at run-time))\n");
28001 }
28002 }
28003 return 1;
28004 }
28005
28006 _ACEOF
28007 rm -f conftest$ac_exeext
28008 if { (ac_try="$ac_link"
28009 case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28011 *) ac_try_echo=$ac_try;;
28012 esac
28013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_link") 2>&5
28015 ac_status=$?
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28018 { (case "(($ac_try" in
28019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28020 *) ac_try_echo=$ac_try;;
28021 esac
28022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28023 (eval "$ac_try") 2>&5
28024 ac_status=$?
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); }; }; then
28027 :
28028 else
28029 echo "$as_me: program exited with status $ac_status" >&5
28030 echo "$as_me: failed program was:" >&5
28031 sed 's/^/| /' conftest.$ac_ext >&5
28032
28033 ( exit $ac_status )
28034 no_gtk=yes
28035 fi
28036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28037 fi
28038
28039
28040 CFLAGS="$ac_save_CFLAGS"
28041 LIBS="$ac_save_LIBS"
28042 fi
28043 fi
28044 if test "x$no_gtk" = x ; then
28045 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28046 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28047 wx_cv_lib_gtk=2.0
28048 else
28049 { echo "$as_me:$LINENO: result: no" >&5
28050 echo "${ECHO_T}no" >&6; }
28051 if test "$PKG_CONFIG" = "no" ; then
28052 echo "*** A new enough version of pkg-config was not found."
28053 echo "*** See http://pkgconfig.sourceforge.net"
28054 else
28055 if test -f conf.gtktest ; then
28056 :
28057 else
28058 echo "*** Could not run GTK+ test program, checking why..."
28059 ac_save_CFLAGS="$CFLAGS"
28060 ac_save_LIBS="$LIBS"
28061 CFLAGS="$CFLAGS $GTK_CFLAGS"
28062 LIBS="$LIBS $GTK_LIBS"
28063 cat >conftest.$ac_ext <<_ACEOF
28064 /* confdefs.h. */
28065 _ACEOF
28066 cat confdefs.h >>conftest.$ac_ext
28067 cat >>conftest.$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28069
28070 #include <gtk/gtk.h>
28071 #include <stdio.h>
28072
28073 int
28074 main ()
28075 {
28076 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28077 ;
28078 return 0;
28079 }
28080 _ACEOF
28081 rm -f conftest.$ac_objext conftest$ac_exeext
28082 if { (ac_try="$ac_link"
28083 case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28086 esac
28087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_link") 2>conftest.er1
28089 ac_status=$?
28090 grep -v '^ *+' conftest.er1 >conftest.err
28091 rm -f conftest.er1
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest$ac_exeext &&
28098 $as_test_x conftest$ac_exeext; then
28099 echo "*** The test program compiled, but did not run. This usually means"
28100 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28101 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28102 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28103 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28104 echo "*** is required on your system"
28105 echo "***"
28106 echo "*** If you have an old version installed, it is best to remove it, although"
28107 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28108 else
28109 echo "$as_me: failed program was:" >&5
28110 sed 's/^/| /' conftest.$ac_ext >&5
28111
28112 echo "*** The test program failed to compile or link. See the file config.log for the"
28113 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28114 fi
28115
28116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28117 conftest$ac_exeext conftest.$ac_ext
28118 CFLAGS="$ac_save_CFLAGS"
28119 LIBS="$ac_save_LIBS"
28120 fi
28121 fi
28122 GTK_CFLAGS=""
28123 GTK_LIBS=""
28124 :
28125 fi
28126
28127
28128 rm -f conf.gtktest
28129
28130
28131 case "${host}" in
28132 *-*-solaris2* )
28133 if test "$wxUSE_SHARED" != "yes"; then
28134 GTK_LIBS="$GTK_LIBS -lX11"
28135 fi
28136 esac
28137 fi
28138
28139 if test -z "$wx_cv_lib_gtk"; then
28140 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28141
28142 # Check whether --with-gtk-prefix was given.
28143 if test "${with_gtk_prefix+set}" = set; then
28144 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28145 else
28146 gtk_config_prefix=""
28147 fi
28148
28149
28150 # Check whether --with-gtk-exec-prefix was given.
28151 if test "${with_gtk_exec_prefix+set}" = set; then
28152 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28153 else
28154 gtk_config_exec_prefix=""
28155 fi
28156
28157 # Check whether --enable-gtktest was given.
28158 if test "${enable_gtktest+set}" = set; then
28159 enableval=$enable_gtktest;
28160 else
28161 enable_gtktest=yes
28162 fi
28163
28164
28165 for module in . $GTK_MODULES
28166 do
28167 case "$module" in
28168 gthread)
28169 gtk_config_args="$gtk_config_args gthread"
28170 ;;
28171 esac
28172 done
28173
28174 if test x$gtk_config_exec_prefix != x ; then
28175 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28176 if test x${GTK_CONFIG+set} != xset ; then
28177 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28178 fi
28179 fi
28180 if test x$gtk_config_prefix != x ; then
28181 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28182 if test x${GTK_CONFIG+set} != xset ; then
28183 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28184 fi
28185 fi
28186
28187 # Extract the first word of "gtk-config", so it can be a program name with args.
28188 set dummy gtk-config; ac_word=$2
28189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28191 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28192 echo $ECHO_N "(cached) $ECHO_C" >&6
28193 else
28194 case $GTK_CONFIG in
28195 [\\/]* | ?:[\\/]*)
28196 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28197 ;;
28198 *)
28199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28200 for as_dir in $PATH
28201 do
28202 IFS=$as_save_IFS
28203 test -z "$as_dir" && as_dir=.
28204 for ac_exec_ext in '' $ac_executable_extensions; do
28205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28206 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28208 break 2
28209 fi
28210 done
28211 done
28212 IFS=$as_save_IFS
28213
28214 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28215 ;;
28216 esac
28217 fi
28218 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28219 if test -n "$GTK_CONFIG"; then
28220 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28221 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28222 else
28223 { echo "$as_me:$LINENO: result: no" >&5
28224 echo "${ECHO_T}no" >&6; }
28225 fi
28226
28227
28228 min_gtk_version=1.2.7
28229 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28230 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28231 no_gtk=""
28232 if test "$GTK_CONFIG" = "no" ; then
28233 no_gtk=yes
28234 else
28235 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28236 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28237 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28239 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28241 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28243 if test "x$enable_gtktest" = "xyes" ; then
28244 ac_save_CFLAGS="$CFLAGS"
28245 ac_save_LIBS="$LIBS"
28246 CFLAGS="$CFLAGS $GTK_CFLAGS"
28247 LIBS="$GTK_LIBS $LIBS"
28248 rm -f conf.gtktest
28249 if test "$cross_compiling" = yes; then
28250 echo $ac_n "cross compiling; assumed OK... $ac_c"
28251 else
28252 cat >conftest.$ac_ext <<_ACEOF
28253 /* confdefs.h. */
28254 _ACEOF
28255 cat confdefs.h >>conftest.$ac_ext
28256 cat >>conftest.$ac_ext <<_ACEOF
28257 /* end confdefs.h. */
28258
28259 #include <gtk/gtk.h>
28260 #include <stdio.h>
28261 #include <stdlib.h>
28262
28263 int
28264 main ()
28265 {
28266 int major, minor, micro;
28267 char *tmp_version;
28268
28269 system ("touch conf.gtktest");
28270
28271 /* HP/UX 9 (%@#!) writes to sscanf strings */
28272 tmp_version = g_strdup("$min_gtk_version");
28273 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28274 printf("%s, bad version string\n", "$min_gtk_version");
28275 exit(1);
28276 }
28277
28278 if ((gtk_major_version != $gtk_config_major_version) ||
28279 (gtk_minor_version != $gtk_config_minor_version) ||
28280 (gtk_micro_version != $gtk_config_micro_version))
28281 {
28282 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28283 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28284 gtk_major_version, gtk_minor_version, gtk_micro_version);
28285 printf ("*** was found! If gtk-config was correct, then it is best\n");
28286 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28287 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28288 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28289 printf("*** required on your system.\n");
28290 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28291 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28292 printf("*** before re-running configure\n");
28293 }
28294 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28295 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28296 (gtk_minor_version != GTK_MINOR_VERSION) ||
28297 (gtk_micro_version != GTK_MICRO_VERSION))
28298 {
28299 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28300 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28301 printf("*** library (version %d.%d.%d)\n",
28302 gtk_major_version, gtk_minor_version, gtk_micro_version);
28303 }
28304 #endif /* defined (GTK_MAJOR_VERSION) ... */
28305 else
28306 {
28307 if ((gtk_major_version > major) ||
28308 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28309 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28310 {
28311 return 0;
28312 }
28313 else
28314 {
28315 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28316 gtk_major_version, gtk_minor_version, gtk_micro_version);
28317 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28318 major, minor, micro);
28319 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28320 printf("***\n");
28321 printf("*** If you have already installed a sufficiently new version, this error\n");
28322 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28323 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28324 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28325 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28326 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28327 printf("*** so that the correct libraries are found at run-time))\n");
28328 }
28329 }
28330 return 1;
28331 }
28332
28333 _ACEOF
28334 rm -f conftest$ac_exeext
28335 if { (ac_try="$ac_link"
28336 case "(($ac_try" in
28337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28338 *) ac_try_echo=$ac_try;;
28339 esac
28340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28341 (eval "$ac_link") 2>&5
28342 ac_status=$?
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28345 { (case "(($ac_try" in
28346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28347 *) ac_try_echo=$ac_try;;
28348 esac
28349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28350 (eval "$ac_try") 2>&5
28351 ac_status=$?
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28354 :
28355 else
28356 echo "$as_me: program exited with status $ac_status" >&5
28357 echo "$as_me: failed program was:" >&5
28358 sed 's/^/| /' conftest.$ac_ext >&5
28359
28360 ( exit $ac_status )
28361 no_gtk=yes
28362 fi
28363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28364 fi
28365
28366
28367 CFLAGS="$ac_save_CFLAGS"
28368 LIBS="$ac_save_LIBS"
28369 fi
28370 fi
28371 if test "x$no_gtk" = x ; then
28372 { echo "$as_me:$LINENO: result: yes" >&5
28373 echo "${ECHO_T}yes" >&6; }
28374 wx_cv_lib_gtk=1.2.7
28375 else
28376 { echo "$as_me:$LINENO: result: no" >&5
28377 echo "${ECHO_T}no" >&6; }
28378 if test "$GTK_CONFIG" = "no" ; then
28379 echo "*** The gtk-config script installed by GTK could not be found"
28380 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28381 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28382 echo "*** full path to gtk-config."
28383 else
28384 if test -f conf.gtktest ; then
28385 :
28386 else
28387 echo "*** Could not run GTK test program, checking why..."
28388 CFLAGS="$CFLAGS $GTK_CFLAGS"
28389 LIBS="$LIBS $GTK_LIBS"
28390 cat >conftest.$ac_ext <<_ACEOF
28391 /* confdefs.h. */
28392 _ACEOF
28393 cat confdefs.h >>conftest.$ac_ext
28394 cat >>conftest.$ac_ext <<_ACEOF
28395 /* end confdefs.h. */
28396
28397 #include <gtk/gtk.h>
28398 #include <stdio.h>
28399
28400 int
28401 main ()
28402 {
28403 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28404 ;
28405 return 0;
28406 }
28407 _ACEOF
28408 rm -f conftest.$ac_objext conftest$ac_exeext
28409 if { (ac_try="$ac_link"
28410 case "(($ac_try" in
28411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28412 *) ac_try_echo=$ac_try;;
28413 esac
28414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28415 (eval "$ac_link") 2>conftest.er1
28416 ac_status=$?
28417 grep -v '^ *+' conftest.er1 >conftest.err
28418 rm -f conftest.er1
28419 cat conftest.err >&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); } && {
28422 test -z "$ac_c_werror_flag" ||
28423 test ! -s conftest.err
28424 } && test -s conftest$ac_exeext &&
28425 $as_test_x conftest$ac_exeext; then
28426 echo "*** The test program compiled, but did not run. This usually means"
28427 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28428 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28429 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28430 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28431 echo "*** is required on your system"
28432 echo "***"
28433 echo "*** If you have an old version installed, it is best to remove it, although"
28434 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28435 echo "***"
28436 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28437 echo "*** came with the system with the command"
28438 echo "***"
28439 echo "*** rpm --erase --nodeps gtk gtk-devel"
28440 else
28441 echo "$as_me: failed program was:" >&5
28442 sed 's/^/| /' conftest.$ac_ext >&5
28443
28444 echo "*** The test program failed to compile or link. See the file config.log for the"
28445 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28446 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28447 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28448 fi
28449
28450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28451 conftest$ac_exeext conftest.$ac_ext
28452 CFLAGS="$ac_save_CFLAGS"
28453 LIBS="$ac_save_LIBS"
28454 fi
28455 fi
28456 GTK_CFLAGS=""
28457 GTK_LIBS=""
28458 :
28459 fi
28460
28461
28462 rm -f conf.gtktest
28463
28464
28465 if test -z "$wx_cv_lib_gtk"; then
28466
28467 # Check whether --with-gtk-prefix was given.
28468 if test "${with_gtk_prefix+set}" = set; then
28469 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28470 else
28471 gtk_config_prefix=""
28472 fi
28473
28474
28475 # Check whether --with-gtk-exec-prefix was given.
28476 if test "${with_gtk_exec_prefix+set}" = set; then
28477 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28478 else
28479 gtk_config_exec_prefix=""
28480 fi
28481
28482 # Check whether --enable-gtktest was given.
28483 if test "${enable_gtktest+set}" = set; then
28484 enableval=$enable_gtktest;
28485 else
28486 enable_gtktest=yes
28487 fi
28488
28489
28490 for module in . $GTK_MODULES
28491 do
28492 case "$module" in
28493 gthread)
28494 gtk_config_args="$gtk_config_args gthread"
28495 ;;
28496 esac
28497 done
28498
28499 if test x$gtk_config_exec_prefix != x ; then
28500 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28501 if test x${GTK_CONFIG+set} != xset ; then
28502 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28503 fi
28504 fi
28505 if test x$gtk_config_prefix != x ; then
28506 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28507 if test x${GTK_CONFIG+set} != xset ; then
28508 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28509 fi
28510 fi
28511
28512 # Extract the first word of "gtk-config", so it can be a program name with args.
28513 set dummy gtk-config; ac_word=$2
28514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28516 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28517 echo $ECHO_N "(cached) $ECHO_C" >&6
28518 else
28519 case $GTK_CONFIG in
28520 [\\/]* | ?:[\\/]*)
28521 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28522 ;;
28523 *)
28524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28525 for as_dir in $PATH
28526 do
28527 IFS=$as_save_IFS
28528 test -z "$as_dir" && as_dir=.
28529 for ac_exec_ext in '' $ac_executable_extensions; do
28530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28531 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28533 break 2
28534 fi
28535 done
28536 done
28537 IFS=$as_save_IFS
28538
28539 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28540 ;;
28541 esac
28542 fi
28543 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28544 if test -n "$GTK_CONFIG"; then
28545 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28546 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28547 else
28548 { echo "$as_me:$LINENO: result: no" >&5
28549 echo "${ECHO_T}no" >&6; }
28550 fi
28551
28552
28553 min_gtk_version=1.2.3
28554 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28555 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28556 no_gtk=""
28557 if test "$GTK_CONFIG" = "no" ; then
28558 no_gtk=yes
28559 else
28560 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28561 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28562 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28564 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28566 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28568 if test "x$enable_gtktest" = "xyes" ; then
28569 ac_save_CFLAGS="$CFLAGS"
28570 ac_save_LIBS="$LIBS"
28571 CFLAGS="$CFLAGS $GTK_CFLAGS"
28572 LIBS="$GTK_LIBS $LIBS"
28573 rm -f conf.gtktest
28574 if test "$cross_compiling" = yes; then
28575 echo $ac_n "cross compiling; assumed OK... $ac_c"
28576 else
28577 cat >conftest.$ac_ext <<_ACEOF
28578 /* confdefs.h. */
28579 _ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28583
28584 #include <gtk/gtk.h>
28585 #include <stdio.h>
28586 #include <stdlib.h>
28587
28588 int
28589 main ()
28590 {
28591 int major, minor, micro;
28592 char *tmp_version;
28593
28594 system ("touch conf.gtktest");
28595
28596 /* HP/UX 9 (%@#!) writes to sscanf strings */
28597 tmp_version = g_strdup("$min_gtk_version");
28598 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28599 printf("%s, bad version string\n", "$min_gtk_version");
28600 exit(1);
28601 }
28602
28603 if ((gtk_major_version != $gtk_config_major_version) ||
28604 (gtk_minor_version != $gtk_config_minor_version) ||
28605 (gtk_micro_version != $gtk_config_micro_version))
28606 {
28607 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28608 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28609 gtk_major_version, gtk_minor_version, gtk_micro_version);
28610 printf ("*** was found! If gtk-config was correct, then it is best\n");
28611 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28612 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28613 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28614 printf("*** required on your system.\n");
28615 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28616 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28617 printf("*** before re-running configure\n");
28618 }
28619 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28620 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28621 (gtk_minor_version != GTK_MINOR_VERSION) ||
28622 (gtk_micro_version != GTK_MICRO_VERSION))
28623 {
28624 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28625 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28626 printf("*** library (version %d.%d.%d)\n",
28627 gtk_major_version, gtk_minor_version, gtk_micro_version);
28628 }
28629 #endif /* defined (GTK_MAJOR_VERSION) ... */
28630 else
28631 {
28632 if ((gtk_major_version > major) ||
28633 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28634 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28635 {
28636 return 0;
28637 }
28638 else
28639 {
28640 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28641 gtk_major_version, gtk_minor_version, gtk_micro_version);
28642 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28643 major, minor, micro);
28644 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28645 printf("***\n");
28646 printf("*** If you have already installed a sufficiently new version, this error\n");
28647 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28648 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28649 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28650 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28651 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28652 printf("*** so that the correct libraries are found at run-time))\n");
28653 }
28654 }
28655 return 1;
28656 }
28657
28658 _ACEOF
28659 rm -f conftest$ac_exeext
28660 if { (ac_try="$ac_link"
28661 case "(($ac_try" in
28662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28663 *) ac_try_echo=$ac_try;;
28664 esac
28665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28666 (eval "$ac_link") 2>&5
28667 ac_status=$?
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28670 { (case "(($ac_try" in
28671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28672 *) ac_try_echo=$ac_try;;
28673 esac
28674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28675 (eval "$ac_try") 2>&5
28676 ac_status=$?
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; }; then
28679 :
28680 else
28681 echo "$as_me: program exited with status $ac_status" >&5
28682 echo "$as_me: failed program was:" >&5
28683 sed 's/^/| /' conftest.$ac_ext >&5
28684
28685 ( exit $ac_status )
28686 no_gtk=yes
28687 fi
28688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28689 fi
28690
28691
28692 CFLAGS="$ac_save_CFLAGS"
28693 LIBS="$ac_save_LIBS"
28694 fi
28695 fi
28696 if test "x$no_gtk" = x ; then
28697 { echo "$as_me:$LINENO: result: yes" >&5
28698 echo "${ECHO_T}yes" >&6; }
28699 wx_cv_lib_gtk=1.2.3
28700 else
28701 { echo "$as_me:$LINENO: result: no" >&5
28702 echo "${ECHO_T}no" >&6; }
28703 if test "$GTK_CONFIG" = "no" ; then
28704 echo "*** The gtk-config script installed by GTK could not be found"
28705 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28706 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28707 echo "*** full path to gtk-config."
28708 else
28709 if test -f conf.gtktest ; then
28710 :
28711 else
28712 echo "*** Could not run GTK test program, checking why..."
28713 CFLAGS="$CFLAGS $GTK_CFLAGS"
28714 LIBS="$LIBS $GTK_LIBS"
28715 cat >conftest.$ac_ext <<_ACEOF
28716 /* confdefs.h. */
28717 _ACEOF
28718 cat confdefs.h >>conftest.$ac_ext
28719 cat >>conftest.$ac_ext <<_ACEOF
28720 /* end confdefs.h. */
28721
28722 #include <gtk/gtk.h>
28723 #include <stdio.h>
28724
28725 int
28726 main ()
28727 {
28728 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28729 ;
28730 return 0;
28731 }
28732 _ACEOF
28733 rm -f conftest.$ac_objext conftest$ac_exeext
28734 if { (ac_try="$ac_link"
28735 case "(($ac_try" in
28736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28737 *) ac_try_echo=$ac_try;;
28738 esac
28739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28740 (eval "$ac_link") 2>conftest.er1
28741 ac_status=$?
28742 grep -v '^ *+' conftest.er1 >conftest.err
28743 rm -f conftest.er1
28744 cat conftest.err >&5
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); } && {
28747 test -z "$ac_c_werror_flag" ||
28748 test ! -s conftest.err
28749 } && test -s conftest$ac_exeext &&
28750 $as_test_x conftest$ac_exeext; then
28751 echo "*** The test program compiled, but did not run. This usually means"
28752 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28753 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28754 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28755 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28756 echo "*** is required on your system"
28757 echo "***"
28758 echo "*** If you have an old version installed, it is best to remove it, although"
28759 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28760 echo "***"
28761 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28762 echo "*** came with the system with the command"
28763 echo "***"
28764 echo "*** rpm --erase --nodeps gtk gtk-devel"
28765 else
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.$ac_ext >&5
28768
28769 echo "*** The test program failed to compile or link. See the file config.log for the"
28770 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28771 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28772 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28773 fi
28774
28775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28776 conftest$ac_exeext conftest.$ac_ext
28777 CFLAGS="$ac_save_CFLAGS"
28778 LIBS="$ac_save_LIBS"
28779 fi
28780 fi
28781 GTK_CFLAGS=""
28782 GTK_LIBS=""
28783 :
28784 fi
28785
28786
28787 rm -f conf.gtktest
28788
28789 fi
28790 fi
28791 fi
28792
28793 if test -z "$wx_cv_lib_gtk"; then
28794 wx_cv_lib_gtk=none
28795 else
28796 wx_cv_cflags_gtk=$GTK_CFLAGS
28797 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28798 fi
28799
28800
28801 fi
28802
28803
28804 if test "$gtk_version_cached" = 1; then
28805 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28806 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28807 fi
28808
28809 case "$wx_cv_lib_gtk" in
28810 2.0) WXGTK2=1
28811 TOOLKIT_VERSION=2
28812 ;;
28813 1.2.7) WXGTK127=1
28814 WXGTK12=1
28815 ;;
28816 1.2.3) WXGTK12=1
28817 ;;
28818 *) { { echo "$as_me:$LINENO: error:
28819 The development files for GTK+ were not found. For GTK+ 2, please
28820 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28821 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28822 and that the version is 1.2.3 or above. Also check that the
28823 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28824 --libs' are in the LD_LIBRARY_PATH or equivalent.
28825 " >&5
28826 echo "$as_me: error:
28827 The development files for GTK+ were not found. For GTK+ 2, please
28828 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28829 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28830 and that the version is 1.2.3 or above. Also check that the
28831 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28832 --libs' are in the LD_LIBRARY_PATH or equivalent.
28833 " >&2;}
28834 { (exit 1); exit 1; }; }
28835 ;;
28836 esac
28837
28838 if test "$WXGTK2" = 1; then
28839 save_CFLAGS="$CFLAGS"
28840 save_LIBS="$LIBS"
28841 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28842 LIBS="$LIBS $wx_cv_libs_gtk"
28843
28844 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28845 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28846 cat >conftest.$ac_ext <<_ACEOF
28847 /* confdefs.h. */
28848 _ACEOF
28849 cat confdefs.h >>conftest.$ac_ext
28850 cat >>conftest.$ac_ext <<_ACEOF
28851 /* end confdefs.h. */
28852
28853 #include <gtk/gtk.h>
28854
28855 int
28856 main ()
28857 {
28858
28859 #if !GTK_CHECK_VERSION(2,10,0)
28860 Not GTK+ 2.10
28861 #endif
28862
28863 ;
28864 return 0;
28865 }
28866 _ACEOF
28867 rm -f conftest.$ac_objext
28868 if { (ac_try="$ac_compile"
28869 case "(($ac_try" in
28870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28871 *) ac_try_echo=$ac_try;;
28872 esac
28873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28874 (eval "$ac_compile") 2>conftest.er1
28875 ac_status=$?
28876 grep -v '^ *+' conftest.er1 >conftest.err
28877 rm -f conftest.er1
28878 cat conftest.err >&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); } && {
28881 test -z "$ac_c_werror_flag" ||
28882 test ! -s conftest.err
28883 } && test -s conftest.$ac_objext; then
28884
28885 cat >>confdefs.h <<\_ACEOF
28886 #define __WXGTK210__ 1
28887 _ACEOF
28888
28889 cat >>confdefs.h <<\_ACEOF
28890 #define __WXGTK26__ 1
28891 _ACEOF
28892
28893 { echo "$as_me:$LINENO: result: yes" >&5
28894 echo "${ECHO_T}yes" >&6; }
28895 ac_wxgtk210=1
28896
28897 else
28898 echo "$as_me: failed program was:" >&5
28899 sed 's/^/| /' conftest.$ac_ext >&5
28900
28901
28902 { echo "$as_me:$LINENO: result: no" >&5
28903 echo "${ECHO_T}no" >&6; }
28904 ac_wxgtk210=0
28905
28906 fi
28907
28908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28909
28910 if test "$ac_wxgtk210" = 0; then
28911 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28912 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28913 cat >conftest.$ac_ext <<_ACEOF
28914 /* confdefs.h. */
28915 _ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28919
28920 #include <gtk/gtk.h>
28921
28922 int
28923 main ()
28924 {
28925
28926 #if !GTK_CHECK_VERSION(2,6,0)
28927 Not GTK+ 2.6
28928 #endif
28929
28930 ;
28931 return 0;
28932 }
28933 _ACEOF
28934 rm -f conftest.$ac_objext
28935 if { (ac_try="$ac_compile"
28936 case "(($ac_try" in
28937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28938 *) ac_try_echo=$ac_try;;
28939 esac
28940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28941 (eval "$ac_compile") 2>conftest.er1
28942 ac_status=$?
28943 grep -v '^ *+' conftest.er1 >conftest.err
28944 rm -f conftest.er1
28945 cat conftest.err >&5
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); } && {
28948 test -z "$ac_c_werror_flag" ||
28949 test ! -s conftest.err
28950 } && test -s conftest.$ac_objext; then
28951
28952 cat >>confdefs.h <<\_ACEOF
28953 #define __WXGTK26__ 1
28954 _ACEOF
28955
28956 { echo "$as_me:$LINENO: result: yes" >&5
28957 echo "${ECHO_T}yes" >&6; }
28958 ac_wxgtk26=1
28959
28960 else
28961 echo "$as_me: failed program was:" >&5
28962 sed 's/^/| /' conftest.$ac_ext >&5
28963
28964
28965 { echo "$as_me:$LINENO: result: no" >&5
28966 echo "${ECHO_T}no" >&6; }
28967 ac_wxgtk26=0
28968
28969 fi
28970
28971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28972 fi
28973
28974 CFLAGS="$save_CFLAGS"
28975 LIBS="$save_LIBS"
28976 else
28977 if test "$wxUSE_UNICODE" = "yes"; then
28978 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28979 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28980 wxUSE_UNICODE=no
28981 fi
28982
28983 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28984 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28985 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28986 echo $ECHO_N "(cached) $ECHO_C" >&6
28987 else
28988 ac_check_lib_save_LIBS=$LIBS
28989 LIBS="-lgdk $LIBS"
28990 cat >conftest.$ac_ext <<_ACEOF
28991 /* confdefs.h. */
28992 _ACEOF
28993 cat confdefs.h >>conftest.$ac_ext
28994 cat >>conftest.$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
28996
28997 /* Override any GCC internal prototype to avoid an error.
28998 Use char because int might match the return type of a GCC
28999 builtin and then its argument prototype would still apply. */
29000 #ifdef __cplusplus
29001 extern "C"
29002 #endif
29003 char gdk_im_open ();
29004 int
29005 main ()
29006 {
29007 return gdk_im_open ();
29008 ;
29009 return 0;
29010 }
29011 _ACEOF
29012 rm -f conftest.$ac_objext conftest$ac_exeext
29013 if { (ac_try="$ac_link"
29014 case "(($ac_try" in
29015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29016 *) ac_try_echo=$ac_try;;
29017 esac
29018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29019 (eval "$ac_link") 2>conftest.er1
29020 ac_status=$?
29021 grep -v '^ *+' conftest.er1 >conftest.err
29022 rm -f conftest.er1
29023 cat conftest.err >&5
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); } && {
29026 test -z "$ac_c_werror_flag" ||
29027 test ! -s conftest.err
29028 } && test -s conftest$ac_exeext &&
29029 $as_test_x conftest$ac_exeext; then
29030 ac_cv_lib_gdk_gdk_im_open=yes
29031 else
29032 echo "$as_me: failed program was:" >&5
29033 sed 's/^/| /' conftest.$ac_ext >&5
29034
29035 ac_cv_lib_gdk_gdk_im_open=no
29036 fi
29037
29038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29039 conftest$ac_exeext conftest.$ac_ext
29040 LIBS=$ac_check_lib_save_LIBS
29041 fi
29042 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29043 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29044 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29045 cat >>confdefs.h <<\_ACEOF
29046 #define HAVE_XIM 1
29047 _ACEOF
29048
29049 fi
29050
29051
29052 if test "$USE_DARWIN" != 1; then
29053
29054 for ac_func in poll
29055 do
29056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29057 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29059 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29060 echo $ECHO_N "(cached) $ECHO_C" >&6
29061 else
29062 cat >conftest.$ac_ext <<_ACEOF
29063 /* confdefs.h. */
29064 _ACEOF
29065 cat confdefs.h >>conftest.$ac_ext
29066 cat >>conftest.$ac_ext <<_ACEOF
29067 /* end confdefs.h. */
29068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29070 #define $ac_func innocuous_$ac_func
29071
29072 /* System header to define __stub macros and hopefully few prototypes,
29073 which can conflict with char $ac_func (); below.
29074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29075 <limits.h> exists even on freestanding compilers. */
29076
29077 #ifdef __STDC__
29078 # include <limits.h>
29079 #else
29080 # include <assert.h>
29081 #endif
29082
29083 #undef $ac_func
29084
29085 /* Override any GCC internal prototype to avoid an error.
29086 Use char because int might match the return type of a GCC
29087 builtin and then its argument prototype would still apply. */
29088 #ifdef __cplusplus
29089 extern "C"
29090 #endif
29091 char $ac_func ();
29092 /* The GNU C library defines this for functions which it implements
29093 to always fail with ENOSYS. Some functions are actually named
29094 something starting with __ and the normal name is an alias. */
29095 #if defined __stub_$ac_func || defined __stub___$ac_func
29096 choke me
29097 #endif
29098
29099 int
29100 main ()
29101 {
29102 return $ac_func ();
29103 ;
29104 return 0;
29105 }
29106 _ACEOF
29107 rm -f conftest.$ac_objext conftest$ac_exeext
29108 if { (ac_try="$ac_link"
29109 case "(($ac_try" in
29110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29111 *) ac_try_echo=$ac_try;;
29112 esac
29113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29114 (eval "$ac_link") 2>conftest.er1
29115 ac_status=$?
29116 grep -v '^ *+' conftest.er1 >conftest.err
29117 rm -f conftest.er1
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } && {
29121 test -z "$ac_c_werror_flag" ||
29122 test ! -s conftest.err
29123 } && test -s conftest$ac_exeext &&
29124 $as_test_x conftest$ac_exeext; then
29125 eval "$as_ac_var=yes"
29126 else
29127 echo "$as_me: failed program was:" >&5
29128 sed 's/^/| /' conftest.$ac_ext >&5
29129
29130 eval "$as_ac_var=no"
29131 fi
29132
29133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29134 conftest$ac_exeext conftest.$ac_ext
29135 fi
29136 ac_res=`eval echo '${'$as_ac_var'}'`
29137 { echo "$as_me:$LINENO: result: $ac_res" >&5
29138 echo "${ECHO_T}$ac_res" >&6; }
29139 if test `eval echo '${'$as_ac_var'}'` = yes; then
29140 cat >>confdefs.h <<_ACEOF
29141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29142 _ACEOF
29143
29144 fi
29145 done
29146
29147 fi
29148 fi
29149
29150 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29151 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29152
29153 AFMINSTALL=afminstall
29154 TOOLKIT=GTK
29155 GUIDIST=GTK_DIST
29156
29157 if test "$wxUSE_GPE" = "yes"; then
29158 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29159 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29160
29161 ac_find_libraries=
29162 for ac_dir in $SEARCH_LIB;
29163 do
29164 for ac_extension in a so sl dylib dll.a; do
29165 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29166 ac_find_libraries=$ac_dir
29167 break 2
29168 fi
29169 done
29170 done
29171
29172 if test "$ac_find_libraries" != "" ; then
29173
29174 if test "$ac_find_libraries" = "default location"; then
29175 ac_path_to_link=""
29176 else
29177 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29178 result=$?
29179 if test $result = 0; then
29180 ac_path_to_link=""
29181 else
29182 ac_path_to_link=" -L$ac_find_libraries"
29183 fi
29184 fi
29185
29186 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29187 WXGPE=1
29188 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29189 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29190 else
29191 { echo "$as_me:$LINENO: result: not found" >&5
29192 echo "${ECHO_T}not found" >&6; }
29193 fi
29194
29195 fi
29196 fi
29197
29198 if test "$wxUSE_MGL" = 1; then
29199 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29200 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29201 if test "x$MGL_ROOT" = x ; then
29202 { echo "$as_me:$LINENO: result: not found" >&5
29203 echo "${ECHO_T}not found" >&6; }
29204 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29205 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29206 { (exit 1); exit 1; }; }
29207 else
29208 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29209 echo "${ECHO_T}$MGL_ROOT" >&6; }
29210 fi
29211
29212 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29213 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29214 case "${host}" in
29215 *-*-linux* )
29216 if test "x$wxUSE_SHARED" = xyes ; then
29217 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29218 else
29219 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29220 fi
29221 ;;
29222 *-pc-msdosdjgpp )
29223 mgl_os_candidates="dos32/dj2"
29224 ;;
29225 *)
29226 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29227 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29228 { (exit 1); exit 1; }; }
29229 esac
29230
29231 mgl_lib_type=""
29232 mgl_os=""
29233
29234 for mgl_os_i in $mgl_os_candidates ; do
29235 if test "x$mgl_os" = x ; then
29236 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29237 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29238 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29239 mgl_lib_type=debug
29240 mgl_os=$mgl_os_i
29241 fi
29242 fi
29243 if test "x$mgl_lib_type" = x ; then
29244 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29245 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29246 mgl_lib_type=release
29247 mgl_os=$mgl_os_i
29248 fi
29249 fi
29250 fi
29251 done
29252
29253 if test "x$mgl_os" = x ; then
29254 { echo "$as_me:$LINENO: result: not found" >&5
29255 echo "${ECHO_T}not found" >&6; }
29256 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29257 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29258 { (exit 1); exit 1; }; }
29259 fi
29260 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29261 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29262
29263 wxUSE_UNIVERSAL="yes"
29264
29265 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29266 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29267
29268 AFMINSTALL=afminstall
29269 TOOLKIT=MGL
29270 GUIDIST=MGL_DIST
29271 fi
29272
29273 if test "$wxUSE_DFB" = 1; then
29274
29275
29276 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29277 if test -n "$ac_tool_prefix"; then
29278 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29279 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29283 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 else
29285 case $PKG_CONFIG in
29286 [\\/]* | ?:[\\/]*)
29287 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29288 ;;
29289 *)
29290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29291 for as_dir in $PATH
29292 do
29293 IFS=$as_save_IFS
29294 test -z "$as_dir" && as_dir=.
29295 for ac_exec_ext in '' $ac_executable_extensions; do
29296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29297 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29299 break 2
29300 fi
29301 done
29302 done
29303 IFS=$as_save_IFS
29304
29305 ;;
29306 esac
29307 fi
29308 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29309 if test -n "$PKG_CONFIG"; then
29310 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29311 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29312 else
29313 { echo "$as_me:$LINENO: result: no" >&5
29314 echo "${ECHO_T}no" >&6; }
29315 fi
29316
29317
29318 fi
29319 if test -z "$ac_cv_path_PKG_CONFIG"; then
29320 ac_pt_PKG_CONFIG=$PKG_CONFIG
29321 # Extract the first word of "pkg-config", so it can be a program name with args.
29322 set dummy pkg-config; ac_word=$2
29323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29325 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29327 else
29328 case $ac_pt_PKG_CONFIG in
29329 [\\/]* | ?:[\\/]*)
29330 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29331 ;;
29332 *)
29333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29334 for as_dir in $PATH
29335 do
29336 IFS=$as_save_IFS
29337 test -z "$as_dir" && as_dir=.
29338 for ac_exec_ext in '' $ac_executable_extensions; do
29339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29340 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29342 break 2
29343 fi
29344 done
29345 done
29346 IFS=$as_save_IFS
29347
29348 ;;
29349 esac
29350 fi
29351 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29352 if test -n "$ac_pt_PKG_CONFIG"; then
29353 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29354 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29355 else
29356 { echo "$as_me:$LINENO: result: no" >&5
29357 echo "${ECHO_T}no" >&6; }
29358 fi
29359
29360 if test "x$ac_pt_PKG_CONFIG" = x; then
29361 PKG_CONFIG=""
29362 else
29363 case $cross_compiling:$ac_tool_warned in
29364 yes:)
29365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29366 whose name does not start with the host triplet. If you think this
29367 configuration is useful to you, please write to autoconf@gnu.org." >&5
29368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29369 whose name does not start with the host triplet. If you think this
29370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29371 ac_tool_warned=yes ;;
29372 esac
29373 PKG_CONFIG=$ac_pt_PKG_CONFIG
29374 fi
29375 else
29376 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29377 fi
29378
29379 fi
29380 if test -n "$PKG_CONFIG"; then
29381 _pkg_min_version=0.9.0
29382 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29383 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29384 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29385 { echo "$as_me:$LINENO: result: yes" >&5
29386 echo "${ECHO_T}yes" >&6; }
29387 else
29388 { echo "$as_me:$LINENO: result: no" >&5
29389 echo "${ECHO_T}no" >&6; }
29390 PKG_CONFIG=""
29391 fi
29392
29393 fi
29394
29395
29396 pkg_failed=no
29397 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29398 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29399
29400 if test -n "$PKG_CONFIG"; then
29401 if test -n "$DIRECTFB_CFLAGS"; then
29402 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29403 else
29404 if test -n "$PKG_CONFIG" && \
29405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29406 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29407 ac_status=$?
29408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409 (exit $ac_status); }; then
29410 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29411 else
29412 pkg_failed=yes
29413 fi
29414 fi
29415 else
29416 pkg_failed=untried
29417 fi
29418 if test -n "$PKG_CONFIG"; then
29419 if test -n "$DIRECTFB_LIBS"; then
29420 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29421 else
29422 if test -n "$PKG_CONFIG" && \
29423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29424 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29425 ac_status=$?
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); }; then
29428 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29429 else
29430 pkg_failed=yes
29431 fi
29432 fi
29433 else
29434 pkg_failed=untried
29435 fi
29436
29437
29438
29439 if test $pkg_failed = yes; then
29440
29441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29442 _pkg_short_errors_supported=yes
29443 else
29444 _pkg_short_errors_supported=no
29445 fi
29446 if test $_pkg_short_errors_supported = yes; then
29447 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29448 else
29449 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29450 fi
29451 # Put the nasty error message in config.log where it belongs
29452 echo "$DIRECTFB_PKG_ERRORS" >&5
29453
29454
29455 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29456 echo "$as_me: error: DirectFB not found." >&2;}
29457 { (exit 1); exit 1; }; }
29458
29459
29460 elif test $pkg_failed = untried; then
29461
29462 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29463 echo "$as_me: error: DirectFB not found." >&2;}
29464 { (exit 1); exit 1; }; }
29465
29466
29467 else
29468 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29469 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29470 { echo "$as_me:$LINENO: result: yes" >&5
29471 echo "${ECHO_T}yes" >&6; }
29472
29473 wxUSE_UNIVERSAL="yes"
29474 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29475 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29476 TOOLKIT=DFB
29477 GUIDIST=DFB_DIST
29478
29479 fi
29480 fi
29481
29482 if test "$wxUSE_MICROWIN" = 1; then
29483 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29484 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29485 if test "x$MICROWINDOWS" = x ; then
29486 { echo "$as_me:$LINENO: result: not found" >&5
29487 echo "${ECHO_T}not found" >&6; }
29488 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29489 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29490 { (exit 1); exit 1; }; }
29491 else
29492 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29493 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29494 fi
29495
29496 if test -f $MICROWINDOWS/lib/libmwin.a; then
29497 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29498 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29499 else
29500 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29501 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29502 { (exit 1); exit 1; }; }
29503 fi
29504
29505 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29506 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29507
29508 wxUSE_UNIVERSAL="yes"
29509
29510 AFMINSTALL=afminstall
29511 TOOLKIT=MICROWIN
29512 GUIDIST=MICROWIN_DIST
29513
29514 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29515 fi
29516
29517 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29518 { echo "$as_me:$LINENO: checking for X" >&5
29519 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29520
29521
29522 # Check whether --with-x was given.
29523 if test "${with_x+set}" = set; then
29524 withval=$with_x;
29525 fi
29526
29527 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29528 if test "x$with_x" = xno; then
29529 # The user explicitly disabled X.
29530 have_x=disabled
29531 else
29532 case $x_includes,$x_libraries in #(
29533 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29534 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29535 { (exit 1); exit 1; }; };; #(
29536 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29537 echo $ECHO_N "(cached) $ECHO_C" >&6
29538 else
29539 # One or both of the vars are not set, and there is no cached value.
29540 ac_x_includes=no ac_x_libraries=no
29541 rm -f -r conftest.dir
29542 if mkdir conftest.dir; then
29543 cd conftest.dir
29544 cat >Imakefile <<'_ACEOF'
29545 incroot:
29546 @echo incroot='${INCROOT}'
29547 usrlibdir:
29548 @echo usrlibdir='${USRLIBDIR}'
29549 libdir:
29550 @echo libdir='${LIBDIR}'
29551 _ACEOF
29552 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29553 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29554 for ac_var in incroot usrlibdir libdir; do
29555 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29556 done
29557 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29558 for ac_extension in a so sl; do
29559 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29560 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29561 ac_im_usrlibdir=$ac_im_libdir; break
29562 fi
29563 done
29564 # Screen out bogus values from the imake configuration. They are
29565 # bogus both because they are the default anyway, and because
29566 # using them would break gcc on systems where it needs fixed includes.
29567 case $ac_im_incroot in
29568 /usr/include) ac_x_includes= ;;
29569 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29570 esac
29571 case $ac_im_usrlibdir in
29572 /usr/lib | /lib) ;;
29573 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29574 esac
29575 fi
29576 cd ..
29577 rm -f -r conftest.dir
29578 fi
29579
29580 # Standard set of common directories for X headers.
29581 # Check X11 before X11Rn because it is often a symlink to the current release.
29582 ac_x_header_dirs='
29583 /usr/X11/include
29584 /usr/X11R6/include
29585 /usr/X11R5/include
29586 /usr/X11R4/include
29587
29588 /usr/include/X11
29589 /usr/include/X11R6
29590 /usr/include/X11R5
29591 /usr/include/X11R4
29592
29593 /usr/local/X11/include
29594 /usr/local/X11R6/include
29595 /usr/local/X11R5/include
29596 /usr/local/X11R4/include
29597
29598 /usr/local/include/X11
29599 /usr/local/include/X11R6
29600 /usr/local/include/X11R5
29601 /usr/local/include/X11R4
29602
29603 /usr/X386/include
29604 /usr/x386/include
29605 /usr/XFree86/include/X11
29606
29607 /usr/include
29608 /usr/local/include
29609 /usr/unsupported/include
29610 /usr/athena/include
29611 /usr/local/x11r5/include
29612 /usr/lpp/Xamples/include
29613
29614 /usr/openwin/include
29615 /usr/openwin/share/include'
29616
29617 if test "$ac_x_includes" = no; then
29618 # Guess where to find include files, by looking for Xlib.h.
29619 # First, try using that file with no special directory specified.
29620 cat >conftest.$ac_ext <<_ACEOF
29621 /* confdefs.h. */
29622 _ACEOF
29623 cat confdefs.h >>conftest.$ac_ext
29624 cat >>conftest.$ac_ext <<_ACEOF
29625 /* end confdefs.h. */
29626 #include <X11/Xlib.h>
29627 _ACEOF
29628 if { (ac_try="$ac_cpp conftest.$ac_ext"
29629 case "(($ac_try" in
29630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29631 *) ac_try_echo=$ac_try;;
29632 esac
29633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29635 ac_status=$?
29636 grep -v '^ *+' conftest.er1 >conftest.err
29637 rm -f conftest.er1
29638 cat conftest.err >&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } >/dev/null && {
29641 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29642 test ! -s conftest.err
29643 }; then
29644 # We can compile using X headers with no special include directory.
29645 ac_x_includes=
29646 else
29647 echo "$as_me: failed program was:" >&5
29648 sed 's/^/| /' conftest.$ac_ext >&5
29649
29650 for ac_dir in $ac_x_header_dirs; do
29651 if test -r "$ac_dir/X11/Xlib.h"; then
29652 ac_x_includes=$ac_dir
29653 break
29654 fi
29655 done
29656 fi
29657
29658 rm -f conftest.err conftest.$ac_ext
29659 fi # $ac_x_includes = no
29660
29661 if test "$ac_x_libraries" = no; then
29662 # Check for the libraries.
29663 # See if we find them without any special options.
29664 # Don't add to $LIBS permanently.
29665 ac_save_LIBS=$LIBS
29666 LIBS="-lX11 $LIBS"
29667 cat >conftest.$ac_ext <<_ACEOF
29668 /* confdefs.h. */
29669 _ACEOF
29670 cat confdefs.h >>conftest.$ac_ext
29671 cat >>conftest.$ac_ext <<_ACEOF
29672 /* end confdefs.h. */
29673 #include <X11/Xlib.h>
29674 int
29675 main ()
29676 {
29677 XrmInitialize ()
29678 ;
29679 return 0;
29680 }
29681 _ACEOF
29682 rm -f conftest.$ac_objext conftest$ac_exeext
29683 if { (ac_try="$ac_link"
29684 case "(($ac_try" in
29685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29686 *) ac_try_echo=$ac_try;;
29687 esac
29688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29689 (eval "$ac_link") 2>conftest.er1
29690 ac_status=$?
29691 grep -v '^ *+' conftest.er1 >conftest.err
29692 rm -f conftest.er1
29693 cat conftest.err >&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } && {
29696 test -z "$ac_c_werror_flag" ||
29697 test ! -s conftest.err
29698 } && test -s conftest$ac_exeext &&
29699 $as_test_x conftest$ac_exeext; then
29700 LIBS=$ac_save_LIBS
29701 # We can link X programs with no special library path.
29702 ac_x_libraries=
29703 else
29704 echo "$as_me: failed program was:" >&5
29705 sed 's/^/| /' conftest.$ac_ext >&5
29706
29707 LIBS=$ac_save_LIBS
29708 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29709 do
29710 # Don't even attempt the hair of trying to link an X program!
29711 for ac_extension in a so sl; do
29712 if test -r "$ac_dir/libX11.$ac_extension"; then
29713 ac_x_libraries=$ac_dir
29714 break 2
29715 fi
29716 done
29717 done
29718 fi
29719
29720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29721 conftest$ac_exeext conftest.$ac_ext
29722 fi # $ac_x_libraries = no
29723
29724 case $ac_x_includes,$ac_x_libraries in #(
29725 no,* | *,no | *\'*)
29726 # Didn't find X, or a directory has "'" in its name.
29727 ac_cv_have_x="have_x=no";; #(
29728 *)
29729 # Record where we found X for the cache.
29730 ac_cv_have_x="have_x=yes\
29731 ac_x_includes='$ac_x_includes'\
29732 ac_x_libraries='$ac_x_libraries'"
29733 esac
29734 fi
29735 ;; #(
29736 *) have_x=yes;;
29737 esac
29738 eval "$ac_cv_have_x"
29739 fi # $with_x != no
29740
29741 if test "$have_x" != yes; then
29742 { echo "$as_me:$LINENO: result: $have_x" >&5
29743 echo "${ECHO_T}$have_x" >&6; }
29744 no_x=yes
29745 else
29746 # If each of the values was on the command line, it overrides each guess.
29747 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29748 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29749 # Update the cache value to reflect the command line values.
29750 ac_cv_have_x="have_x=yes\
29751 ac_x_includes='$x_includes'\
29752 ac_x_libraries='$x_libraries'"
29753 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29754 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29755 fi
29756
29757 if test "$no_x" = yes; then
29758 # Not all programs may use this symbol, but it does not hurt to define it.
29759
29760 cat >>confdefs.h <<\_ACEOF
29761 #define X_DISPLAY_MISSING 1
29762 _ACEOF
29763
29764 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29765 else
29766 if test -n "$x_includes"; then
29767 X_CFLAGS="$X_CFLAGS -I$x_includes"
29768 fi
29769
29770 # It would also be nice to do this for all -L options, not just this one.
29771 if test -n "$x_libraries"; then
29772 X_LIBS="$X_LIBS -L$x_libraries"
29773 # For Solaris; some versions of Sun CC require a space after -R and
29774 # others require no space. Words are not sufficient . . . .
29775 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29776 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29777 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29778 ac_xsave_c_werror_flag=$ac_c_werror_flag
29779 ac_c_werror_flag=yes
29780 cat >conftest.$ac_ext <<_ACEOF
29781 /* confdefs.h. */
29782 _ACEOF
29783 cat confdefs.h >>conftest.$ac_ext
29784 cat >>conftest.$ac_ext <<_ACEOF
29785 /* end confdefs.h. */
29786
29787 int
29788 main ()
29789 {
29790
29791 ;
29792 return 0;
29793 }
29794 _ACEOF
29795 rm -f conftest.$ac_objext conftest$ac_exeext
29796 if { (ac_try="$ac_link"
29797 case "(($ac_try" in
29798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29799 *) ac_try_echo=$ac_try;;
29800 esac
29801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29802 (eval "$ac_link") 2>conftest.er1
29803 ac_status=$?
29804 grep -v '^ *+' conftest.er1 >conftest.err
29805 rm -f conftest.er1
29806 cat conftest.err >&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } && {
29809 test -z "$ac_c_werror_flag" ||
29810 test ! -s conftest.err
29811 } && test -s conftest$ac_exeext &&
29812 $as_test_x conftest$ac_exeext; then
29813 { echo "$as_me:$LINENO: result: no" >&5
29814 echo "${ECHO_T}no" >&6; }
29815 X_LIBS="$X_LIBS -R$x_libraries"
29816 else
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.$ac_ext >&5
29819
29820 LIBS="$ac_xsave_LIBS -R $x_libraries"
29821 cat >conftest.$ac_ext <<_ACEOF
29822 /* confdefs.h. */
29823 _ACEOF
29824 cat confdefs.h >>conftest.$ac_ext
29825 cat >>conftest.$ac_ext <<_ACEOF
29826 /* end confdefs.h. */
29827
29828 int
29829 main ()
29830 {
29831
29832 ;
29833 return 0;
29834 }
29835 _ACEOF
29836 rm -f conftest.$ac_objext conftest$ac_exeext
29837 if { (ac_try="$ac_link"
29838 case "(($ac_try" in
29839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29840 *) ac_try_echo=$ac_try;;
29841 esac
29842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29843 (eval "$ac_link") 2>conftest.er1
29844 ac_status=$?
29845 grep -v '^ *+' conftest.er1 >conftest.err
29846 rm -f conftest.er1
29847 cat conftest.err >&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); } && {
29850 test -z "$ac_c_werror_flag" ||
29851 test ! -s conftest.err
29852 } && test -s conftest$ac_exeext &&
29853 $as_test_x conftest$ac_exeext; then
29854 { echo "$as_me:$LINENO: result: yes" >&5
29855 echo "${ECHO_T}yes" >&6; }
29856 X_LIBS="$X_LIBS -R $x_libraries"
29857 else
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29860
29861 { echo "$as_me:$LINENO: result: neither works" >&5
29862 echo "${ECHO_T}neither works" >&6; }
29863 fi
29864
29865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29866 conftest$ac_exeext conftest.$ac_ext
29867 fi
29868
29869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29870 conftest$ac_exeext conftest.$ac_ext
29871 ac_c_werror_flag=$ac_xsave_c_werror_flag
29872 LIBS=$ac_xsave_LIBS
29873 fi
29874
29875 # Check for system-dependent libraries X programs must link with.
29876 # Do this before checking for the system-independent R6 libraries
29877 # (-lICE), since we may need -lsocket or whatever for X linking.
29878
29879 if test "$ISC" = yes; then
29880 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29881 else
29882 # Martyn Johnson says this is needed for Ultrix, if the X
29883 # libraries were built with DECnet support. And Karl Berry says
29884 # the Alpha needs dnet_stub (dnet does not exist).
29885 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29886 cat >conftest.$ac_ext <<_ACEOF
29887 /* confdefs.h. */
29888 _ACEOF
29889 cat confdefs.h >>conftest.$ac_ext
29890 cat >>conftest.$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29892
29893 /* Override any GCC internal prototype to avoid an error.
29894 Use char because int might match the return type of a GCC
29895 builtin and then its argument prototype would still apply. */
29896 #ifdef __cplusplus
29897 extern "C"
29898 #endif
29899 char XOpenDisplay ();
29900 int
29901 main ()
29902 {
29903 return XOpenDisplay ();
29904 ;
29905 return 0;
29906 }
29907 _ACEOF
29908 rm -f conftest.$ac_objext conftest$ac_exeext
29909 if { (ac_try="$ac_link"
29910 case "(($ac_try" in
29911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29912 *) ac_try_echo=$ac_try;;
29913 esac
29914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29915 (eval "$ac_link") 2>conftest.er1
29916 ac_status=$?
29917 grep -v '^ *+' conftest.er1 >conftest.err
29918 rm -f conftest.er1
29919 cat conftest.err >&5
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); } && {
29922 test -z "$ac_c_werror_flag" ||
29923 test ! -s conftest.err
29924 } && test -s conftest$ac_exeext &&
29925 $as_test_x conftest$ac_exeext; then
29926 :
29927 else
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.$ac_ext >&5
29930
29931 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29932 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29933 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29934 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 else
29936 ac_check_lib_save_LIBS=$LIBS
29937 LIBS="-ldnet $LIBS"
29938 cat >conftest.$ac_ext <<_ACEOF
29939 /* confdefs.h. */
29940 _ACEOF
29941 cat confdefs.h >>conftest.$ac_ext
29942 cat >>conftest.$ac_ext <<_ACEOF
29943 /* end confdefs.h. */
29944
29945 /* Override any GCC internal prototype to avoid an error.
29946 Use char because int might match the return type of a GCC
29947 builtin and then its argument prototype would still apply. */
29948 #ifdef __cplusplus
29949 extern "C"
29950 #endif
29951 char dnet_ntoa ();
29952 int
29953 main ()
29954 {
29955 return dnet_ntoa ();
29956 ;
29957 return 0;
29958 }
29959 _ACEOF
29960 rm -f conftest.$ac_objext conftest$ac_exeext
29961 if { (ac_try="$ac_link"
29962 case "(($ac_try" in
29963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29964 *) ac_try_echo=$ac_try;;
29965 esac
29966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29967 (eval "$ac_link") 2>conftest.er1
29968 ac_status=$?
29969 grep -v '^ *+' conftest.er1 >conftest.err
29970 rm -f conftest.er1
29971 cat conftest.err >&5
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); } && {
29974 test -z "$ac_c_werror_flag" ||
29975 test ! -s conftest.err
29976 } && test -s conftest$ac_exeext &&
29977 $as_test_x conftest$ac_exeext; then
29978 ac_cv_lib_dnet_dnet_ntoa=yes
29979 else
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.$ac_ext >&5
29982
29983 ac_cv_lib_dnet_dnet_ntoa=no
29984 fi
29985
29986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29987 conftest$ac_exeext conftest.$ac_ext
29988 LIBS=$ac_check_lib_save_LIBS
29989 fi
29990 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29991 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29992 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29993 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29994 fi
29995
29996 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29997 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29998 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29999 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30000 echo $ECHO_N "(cached) $ECHO_C" >&6
30001 else
30002 ac_check_lib_save_LIBS=$LIBS
30003 LIBS="-ldnet_stub $LIBS"
30004 cat >conftest.$ac_ext <<_ACEOF
30005 /* confdefs.h. */
30006 _ACEOF
30007 cat confdefs.h >>conftest.$ac_ext
30008 cat >>conftest.$ac_ext <<_ACEOF
30009 /* end confdefs.h. */
30010
30011 /* Override any GCC internal prototype to avoid an error.
30012 Use char because int might match the return type of a GCC
30013 builtin and then its argument prototype would still apply. */
30014 #ifdef __cplusplus
30015 extern "C"
30016 #endif
30017 char dnet_ntoa ();
30018 int
30019 main ()
30020 {
30021 return dnet_ntoa ();
30022 ;
30023 return 0;
30024 }
30025 _ACEOF
30026 rm -f conftest.$ac_objext conftest$ac_exeext
30027 if { (ac_try="$ac_link"
30028 case "(($ac_try" in
30029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30030 *) ac_try_echo=$ac_try;;
30031 esac
30032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30033 (eval "$ac_link") 2>conftest.er1
30034 ac_status=$?
30035 grep -v '^ *+' conftest.er1 >conftest.err
30036 rm -f conftest.er1
30037 cat conftest.err >&5
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); } && {
30040 test -z "$ac_c_werror_flag" ||
30041 test ! -s conftest.err
30042 } && test -s conftest$ac_exeext &&
30043 $as_test_x conftest$ac_exeext; then
30044 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30045 else
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.$ac_ext >&5
30048
30049 ac_cv_lib_dnet_stub_dnet_ntoa=no
30050 fi
30051
30052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30053 conftest$ac_exeext conftest.$ac_ext
30054 LIBS=$ac_check_lib_save_LIBS
30055 fi
30056 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30057 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30058 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30059 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30060 fi
30061
30062 fi
30063 fi
30064
30065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30066 conftest$ac_exeext conftest.$ac_ext
30067 LIBS="$ac_xsave_LIBS"
30068
30069 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30070 # to get the SysV transport functions.
30071 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30072 # needs -lnsl.
30073 # The nsl library prevents programs from opening the X display
30074 # on Irix 5.2, according to T.E. Dickey.
30075 # The functions gethostbyname, getservbyname, and inet_addr are
30076 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30077 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30078 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30079 if test "${ac_cv_func_gethostbyname+set}" = set; then
30080 echo $ECHO_N "(cached) $ECHO_C" >&6
30081 else
30082 cat >conftest.$ac_ext <<_ACEOF
30083 /* confdefs.h. */
30084 _ACEOF
30085 cat confdefs.h >>conftest.$ac_ext
30086 cat >>conftest.$ac_ext <<_ACEOF
30087 /* end confdefs.h. */
30088 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30090 #define gethostbyname innocuous_gethostbyname
30091
30092 /* System header to define __stub macros and hopefully few prototypes,
30093 which can conflict with char gethostbyname (); below.
30094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30095 <limits.h> exists even on freestanding compilers. */
30096
30097 #ifdef __STDC__
30098 # include <limits.h>
30099 #else
30100 # include <assert.h>
30101 #endif
30102
30103 #undef gethostbyname
30104
30105 /* Override any GCC internal prototype to avoid an error.
30106 Use char because int might match the return type of a GCC
30107 builtin and then its argument prototype would still apply. */
30108 #ifdef __cplusplus
30109 extern "C"
30110 #endif
30111 char gethostbyname ();
30112 /* The GNU C library defines this for functions which it implements
30113 to always fail with ENOSYS. Some functions are actually named
30114 something starting with __ and the normal name is an alias. */
30115 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30116 choke me
30117 #endif
30118
30119 int
30120 main ()
30121 {
30122 return gethostbyname ();
30123 ;
30124 return 0;
30125 }
30126 _ACEOF
30127 rm -f conftest.$ac_objext conftest$ac_exeext
30128 if { (ac_try="$ac_link"
30129 case "(($ac_try" in
30130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30131 *) ac_try_echo=$ac_try;;
30132 esac
30133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30134 (eval "$ac_link") 2>conftest.er1
30135 ac_status=$?
30136 grep -v '^ *+' conftest.er1 >conftest.err
30137 rm -f conftest.er1
30138 cat conftest.err >&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); } && {
30141 test -z "$ac_c_werror_flag" ||
30142 test ! -s conftest.err
30143 } && test -s conftest$ac_exeext &&
30144 $as_test_x conftest$ac_exeext; then
30145 ac_cv_func_gethostbyname=yes
30146 else
30147 echo "$as_me: failed program was:" >&5
30148 sed 's/^/| /' conftest.$ac_ext >&5
30149
30150 ac_cv_func_gethostbyname=no
30151 fi
30152
30153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30154 conftest$ac_exeext conftest.$ac_ext
30155 fi
30156 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30157 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30158
30159 if test $ac_cv_func_gethostbyname = no; then
30160 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30161 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30162 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30163 echo $ECHO_N "(cached) $ECHO_C" >&6
30164 else
30165 ac_check_lib_save_LIBS=$LIBS
30166 LIBS="-lnsl $LIBS"
30167 cat >conftest.$ac_ext <<_ACEOF
30168 /* confdefs.h. */
30169 _ACEOF
30170 cat confdefs.h >>conftest.$ac_ext
30171 cat >>conftest.$ac_ext <<_ACEOF
30172 /* end confdefs.h. */
30173
30174 /* Override any GCC internal prototype to avoid an error.
30175 Use char because int might match the return type of a GCC
30176 builtin and then its argument prototype would still apply. */
30177 #ifdef __cplusplus
30178 extern "C"
30179 #endif
30180 char gethostbyname ();
30181 int
30182 main ()
30183 {
30184 return gethostbyname ();
30185 ;
30186 return 0;
30187 }
30188 _ACEOF
30189 rm -f conftest.$ac_objext conftest$ac_exeext
30190 if { (ac_try="$ac_link"
30191 case "(($ac_try" in
30192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30193 *) ac_try_echo=$ac_try;;
30194 esac
30195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30196 (eval "$ac_link") 2>conftest.er1
30197 ac_status=$?
30198 grep -v '^ *+' conftest.er1 >conftest.err
30199 rm -f conftest.er1
30200 cat conftest.err >&5
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); } && {
30203 test -z "$ac_c_werror_flag" ||
30204 test ! -s conftest.err
30205 } && test -s conftest$ac_exeext &&
30206 $as_test_x conftest$ac_exeext; then
30207 ac_cv_lib_nsl_gethostbyname=yes
30208 else
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.$ac_ext >&5
30211
30212 ac_cv_lib_nsl_gethostbyname=no
30213 fi
30214
30215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30216 conftest$ac_exeext conftest.$ac_ext
30217 LIBS=$ac_check_lib_save_LIBS
30218 fi
30219 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30220 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30221 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30223 fi
30224
30225 if test $ac_cv_lib_nsl_gethostbyname = no; then
30226 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30227 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30228 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30229 echo $ECHO_N "(cached) $ECHO_C" >&6
30230 else
30231 ac_check_lib_save_LIBS=$LIBS
30232 LIBS="-lbsd $LIBS"
30233 cat >conftest.$ac_ext <<_ACEOF
30234 /* confdefs.h. */
30235 _ACEOF
30236 cat confdefs.h >>conftest.$ac_ext
30237 cat >>conftest.$ac_ext <<_ACEOF
30238 /* end confdefs.h. */
30239
30240 /* Override any GCC internal prototype to avoid an error.
30241 Use char because int might match the return type of a GCC
30242 builtin and then its argument prototype would still apply. */
30243 #ifdef __cplusplus
30244 extern "C"
30245 #endif
30246 char gethostbyname ();
30247 int
30248 main ()
30249 {
30250 return gethostbyname ();
30251 ;
30252 return 0;
30253 }
30254 _ACEOF
30255 rm -f conftest.$ac_objext conftest$ac_exeext
30256 if { (ac_try="$ac_link"
30257 case "(($ac_try" in
30258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30259 *) ac_try_echo=$ac_try;;
30260 esac
30261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30262 (eval "$ac_link") 2>conftest.er1
30263 ac_status=$?
30264 grep -v '^ *+' conftest.er1 >conftest.err
30265 rm -f conftest.er1
30266 cat conftest.err >&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); } && {
30269 test -z "$ac_c_werror_flag" ||
30270 test ! -s conftest.err
30271 } && test -s conftest$ac_exeext &&
30272 $as_test_x conftest$ac_exeext; then
30273 ac_cv_lib_bsd_gethostbyname=yes
30274 else
30275 echo "$as_me: failed program was:" >&5
30276 sed 's/^/| /' conftest.$ac_ext >&5
30277
30278 ac_cv_lib_bsd_gethostbyname=no
30279 fi
30280
30281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30282 conftest$ac_exeext conftest.$ac_ext
30283 LIBS=$ac_check_lib_save_LIBS
30284 fi
30285 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30286 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30287 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30289 fi
30290
30291 fi
30292 fi
30293
30294 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30295 # socket/setsockopt and other routines are undefined under SCO ODT
30296 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30297 # on later versions), says Simon Leinen: it contains gethostby*
30298 # variants that don't use the name server (or something). -lsocket
30299 # must be given before -lnsl if both are needed. We assume that
30300 # if connect needs -lnsl, so does gethostbyname.
30301 { echo "$as_me:$LINENO: checking for connect" >&5
30302 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30303 if test "${ac_cv_func_connect+set}" = set; then
30304 echo $ECHO_N "(cached) $ECHO_C" >&6
30305 else
30306 cat >conftest.$ac_ext <<_ACEOF
30307 /* confdefs.h. */
30308 _ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30312 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30314 #define connect innocuous_connect
30315
30316 /* System header to define __stub macros and hopefully few prototypes,
30317 which can conflict with char connect (); below.
30318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30319 <limits.h> exists even on freestanding compilers. */
30320
30321 #ifdef __STDC__
30322 # include <limits.h>
30323 #else
30324 # include <assert.h>
30325 #endif
30326
30327 #undef connect
30328
30329 /* Override any GCC internal prototype to avoid an error.
30330 Use char because int might match the return type of a GCC
30331 builtin and then its argument prototype would still apply. */
30332 #ifdef __cplusplus
30333 extern "C"
30334 #endif
30335 char connect ();
30336 /* The GNU C library defines this for functions which it implements
30337 to always fail with ENOSYS. Some functions are actually named
30338 something starting with __ and the normal name is an alias. */
30339 #if defined __stub_connect || defined __stub___connect
30340 choke me
30341 #endif
30342
30343 int
30344 main ()
30345 {
30346 return connect ();
30347 ;
30348 return 0;
30349 }
30350 _ACEOF
30351 rm -f conftest.$ac_objext conftest$ac_exeext
30352 if { (ac_try="$ac_link"
30353 case "(($ac_try" in
30354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30355 *) ac_try_echo=$ac_try;;
30356 esac
30357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30358 (eval "$ac_link") 2>conftest.er1
30359 ac_status=$?
30360 grep -v '^ *+' conftest.er1 >conftest.err
30361 rm -f conftest.er1
30362 cat conftest.err >&5
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); } && {
30365 test -z "$ac_c_werror_flag" ||
30366 test ! -s conftest.err
30367 } && test -s conftest$ac_exeext &&
30368 $as_test_x conftest$ac_exeext; then
30369 ac_cv_func_connect=yes
30370 else
30371 echo "$as_me: failed program was:" >&5
30372 sed 's/^/| /' conftest.$ac_ext >&5
30373
30374 ac_cv_func_connect=no
30375 fi
30376
30377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30378 conftest$ac_exeext conftest.$ac_ext
30379 fi
30380 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30381 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30382
30383 if test $ac_cv_func_connect = no; then
30384 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30385 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30386 if test "${ac_cv_lib_socket_connect+set}" = set; then
30387 echo $ECHO_N "(cached) $ECHO_C" >&6
30388 else
30389 ac_check_lib_save_LIBS=$LIBS
30390 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30391 cat >conftest.$ac_ext <<_ACEOF
30392 /* confdefs.h. */
30393 _ACEOF
30394 cat confdefs.h >>conftest.$ac_ext
30395 cat >>conftest.$ac_ext <<_ACEOF
30396 /* end confdefs.h. */
30397
30398 /* Override any GCC internal prototype to avoid an error.
30399 Use char because int might match the return type of a GCC
30400 builtin and then its argument prototype would still apply. */
30401 #ifdef __cplusplus
30402 extern "C"
30403 #endif
30404 char connect ();
30405 int
30406 main ()
30407 {
30408 return connect ();
30409 ;
30410 return 0;
30411 }
30412 _ACEOF
30413 rm -f conftest.$ac_objext conftest$ac_exeext
30414 if { (ac_try="$ac_link"
30415 case "(($ac_try" in
30416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30417 *) ac_try_echo=$ac_try;;
30418 esac
30419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30420 (eval "$ac_link") 2>conftest.er1
30421 ac_status=$?
30422 grep -v '^ *+' conftest.er1 >conftest.err
30423 rm -f conftest.er1
30424 cat conftest.err >&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } && {
30427 test -z "$ac_c_werror_flag" ||
30428 test ! -s conftest.err
30429 } && test -s conftest$ac_exeext &&
30430 $as_test_x conftest$ac_exeext; then
30431 ac_cv_lib_socket_connect=yes
30432 else
30433 echo "$as_me: failed program was:" >&5
30434 sed 's/^/| /' conftest.$ac_ext >&5
30435
30436 ac_cv_lib_socket_connect=no
30437 fi
30438
30439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30440 conftest$ac_exeext conftest.$ac_ext
30441 LIBS=$ac_check_lib_save_LIBS
30442 fi
30443 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30444 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30445 if test $ac_cv_lib_socket_connect = yes; then
30446 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30447 fi
30448
30449 fi
30450
30451 # Guillermo Gomez says -lposix is necessary on A/UX.
30452 { echo "$as_me:$LINENO: checking for remove" >&5
30453 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30454 if test "${ac_cv_func_remove+set}" = set; then
30455 echo $ECHO_N "(cached) $ECHO_C" >&6
30456 else
30457 cat >conftest.$ac_ext <<_ACEOF
30458 /* confdefs.h. */
30459 _ACEOF
30460 cat confdefs.h >>conftest.$ac_ext
30461 cat >>conftest.$ac_ext <<_ACEOF
30462 /* end confdefs.h. */
30463 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30465 #define remove innocuous_remove
30466
30467 /* System header to define __stub macros and hopefully few prototypes,
30468 which can conflict with char remove (); below.
30469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30470 <limits.h> exists even on freestanding compilers. */
30471
30472 #ifdef __STDC__
30473 # include <limits.h>
30474 #else
30475 # include <assert.h>
30476 #endif
30477
30478 #undef remove
30479
30480 /* Override any GCC internal prototype to avoid an error.
30481 Use char because int might match the return type of a GCC
30482 builtin and then its argument prototype would still apply. */
30483 #ifdef __cplusplus
30484 extern "C"
30485 #endif
30486 char remove ();
30487 /* The GNU C library defines this for functions which it implements
30488 to always fail with ENOSYS. Some functions are actually named
30489 something starting with __ and the normal name is an alias. */
30490 #if defined __stub_remove || defined __stub___remove
30491 choke me
30492 #endif
30493
30494 int
30495 main ()
30496 {
30497 return remove ();
30498 ;
30499 return 0;
30500 }
30501 _ACEOF
30502 rm -f conftest.$ac_objext conftest$ac_exeext
30503 if { (ac_try="$ac_link"
30504 case "(($ac_try" in
30505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30506 *) ac_try_echo=$ac_try;;
30507 esac
30508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30509 (eval "$ac_link") 2>conftest.er1
30510 ac_status=$?
30511 grep -v '^ *+' conftest.er1 >conftest.err
30512 rm -f conftest.er1
30513 cat conftest.err >&5
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); } && {
30516 test -z "$ac_c_werror_flag" ||
30517 test ! -s conftest.err
30518 } && test -s conftest$ac_exeext &&
30519 $as_test_x conftest$ac_exeext; then
30520 ac_cv_func_remove=yes
30521 else
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30524
30525 ac_cv_func_remove=no
30526 fi
30527
30528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30529 conftest$ac_exeext conftest.$ac_ext
30530 fi
30531 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30532 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30533
30534 if test $ac_cv_func_remove = no; then
30535 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30536 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30537 if test "${ac_cv_lib_posix_remove+set}" = set; then
30538 echo $ECHO_N "(cached) $ECHO_C" >&6
30539 else
30540 ac_check_lib_save_LIBS=$LIBS
30541 LIBS="-lposix $LIBS"
30542 cat >conftest.$ac_ext <<_ACEOF
30543 /* confdefs.h. */
30544 _ACEOF
30545 cat confdefs.h >>conftest.$ac_ext
30546 cat >>conftest.$ac_ext <<_ACEOF
30547 /* end confdefs.h. */
30548
30549 /* Override any GCC internal prototype to avoid an error.
30550 Use char because int might match the return type of a GCC
30551 builtin and then its argument prototype would still apply. */
30552 #ifdef __cplusplus
30553 extern "C"
30554 #endif
30555 char remove ();
30556 int
30557 main ()
30558 {
30559 return remove ();
30560 ;
30561 return 0;
30562 }
30563 _ACEOF
30564 rm -f conftest.$ac_objext conftest$ac_exeext
30565 if { (ac_try="$ac_link"
30566 case "(($ac_try" in
30567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30568 *) ac_try_echo=$ac_try;;
30569 esac
30570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_link") 2>conftest.er1
30572 ac_status=$?
30573 grep -v '^ *+' conftest.er1 >conftest.err
30574 rm -f conftest.er1
30575 cat conftest.err >&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } && {
30578 test -z "$ac_c_werror_flag" ||
30579 test ! -s conftest.err
30580 } && test -s conftest$ac_exeext &&
30581 $as_test_x conftest$ac_exeext; then
30582 ac_cv_lib_posix_remove=yes
30583 else
30584 echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.$ac_ext >&5
30586
30587 ac_cv_lib_posix_remove=no
30588 fi
30589
30590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30591 conftest$ac_exeext conftest.$ac_ext
30592 LIBS=$ac_check_lib_save_LIBS
30593 fi
30594 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30595 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30596 if test $ac_cv_lib_posix_remove = yes; then
30597 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30598 fi
30599
30600 fi
30601
30602 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30603 { echo "$as_me:$LINENO: checking for shmat" >&5
30604 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30605 if test "${ac_cv_func_shmat+set}" = set; then
30606 echo $ECHO_N "(cached) $ECHO_C" >&6
30607 else
30608 cat >conftest.$ac_ext <<_ACEOF
30609 /* confdefs.h. */
30610 _ACEOF
30611 cat confdefs.h >>conftest.$ac_ext
30612 cat >>conftest.$ac_ext <<_ACEOF
30613 /* end confdefs.h. */
30614 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30616 #define shmat innocuous_shmat
30617
30618 /* System header to define __stub macros and hopefully few prototypes,
30619 which can conflict with char shmat (); below.
30620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30621 <limits.h> exists even on freestanding compilers. */
30622
30623 #ifdef __STDC__
30624 # include <limits.h>
30625 #else
30626 # include <assert.h>
30627 #endif
30628
30629 #undef shmat
30630
30631 /* Override any GCC internal prototype to avoid an error.
30632 Use char because int might match the return type of a GCC
30633 builtin and then its argument prototype would still apply. */
30634 #ifdef __cplusplus
30635 extern "C"
30636 #endif
30637 char shmat ();
30638 /* The GNU C library defines this for functions which it implements
30639 to always fail with ENOSYS. Some functions are actually named
30640 something starting with __ and the normal name is an alias. */
30641 #if defined __stub_shmat || defined __stub___shmat
30642 choke me
30643 #endif
30644
30645 int
30646 main ()
30647 {
30648 return shmat ();
30649 ;
30650 return 0;
30651 }
30652 _ACEOF
30653 rm -f conftest.$ac_objext conftest$ac_exeext
30654 if { (ac_try="$ac_link"
30655 case "(($ac_try" in
30656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30657 *) ac_try_echo=$ac_try;;
30658 esac
30659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30660 (eval "$ac_link") 2>conftest.er1
30661 ac_status=$?
30662 grep -v '^ *+' conftest.er1 >conftest.err
30663 rm -f conftest.er1
30664 cat conftest.err >&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); } && {
30667 test -z "$ac_c_werror_flag" ||
30668 test ! -s conftest.err
30669 } && test -s conftest$ac_exeext &&
30670 $as_test_x conftest$ac_exeext; then
30671 ac_cv_func_shmat=yes
30672 else
30673 echo "$as_me: failed program was:" >&5
30674 sed 's/^/| /' conftest.$ac_ext >&5
30675
30676 ac_cv_func_shmat=no
30677 fi
30678
30679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30680 conftest$ac_exeext conftest.$ac_ext
30681 fi
30682 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30683 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30684
30685 if test $ac_cv_func_shmat = no; then
30686 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30687 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30688 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 else
30691 ac_check_lib_save_LIBS=$LIBS
30692 LIBS="-lipc $LIBS"
30693 cat >conftest.$ac_ext <<_ACEOF
30694 /* confdefs.h. */
30695 _ACEOF
30696 cat confdefs.h >>conftest.$ac_ext
30697 cat >>conftest.$ac_ext <<_ACEOF
30698 /* end confdefs.h. */
30699
30700 /* Override any GCC internal prototype to avoid an error.
30701 Use char because int might match the return type of a GCC
30702 builtin and then its argument prototype would still apply. */
30703 #ifdef __cplusplus
30704 extern "C"
30705 #endif
30706 char shmat ();
30707 int
30708 main ()
30709 {
30710 return shmat ();
30711 ;
30712 return 0;
30713 }
30714 _ACEOF
30715 rm -f conftest.$ac_objext conftest$ac_exeext
30716 if { (ac_try="$ac_link"
30717 case "(($ac_try" in
30718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30719 *) ac_try_echo=$ac_try;;
30720 esac
30721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30722 (eval "$ac_link") 2>conftest.er1
30723 ac_status=$?
30724 grep -v '^ *+' conftest.er1 >conftest.err
30725 rm -f conftest.er1
30726 cat conftest.err >&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } && {
30729 test -z "$ac_c_werror_flag" ||
30730 test ! -s conftest.err
30731 } && test -s conftest$ac_exeext &&
30732 $as_test_x conftest$ac_exeext; then
30733 ac_cv_lib_ipc_shmat=yes
30734 else
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.$ac_ext >&5
30737
30738 ac_cv_lib_ipc_shmat=no
30739 fi
30740
30741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30742 conftest$ac_exeext conftest.$ac_ext
30743 LIBS=$ac_check_lib_save_LIBS
30744 fi
30745 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30746 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30747 if test $ac_cv_lib_ipc_shmat = yes; then
30748 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30749 fi
30750
30751 fi
30752 fi
30753
30754 # Check for libraries that X11R6 Xt/Xaw programs need.
30755 ac_save_LDFLAGS=$LDFLAGS
30756 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30757 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30758 # check for ICE first), but we must link in the order -lSM -lICE or
30759 # we get undefined symbols. So assume we have SM if we have ICE.
30760 # These have to be linked with before -lX11, unlike the other
30761 # libraries we check for below, so use a different variable.
30762 # John Interrante, Karl Berry
30763 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30764 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30765 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30766 echo $ECHO_N "(cached) $ECHO_C" >&6
30767 else
30768 ac_check_lib_save_LIBS=$LIBS
30769 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30770 cat >conftest.$ac_ext <<_ACEOF
30771 /* confdefs.h. */
30772 _ACEOF
30773 cat confdefs.h >>conftest.$ac_ext
30774 cat >>conftest.$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30776
30777 /* Override any GCC internal prototype to avoid an error.
30778 Use char because int might match the return type of a GCC
30779 builtin and then its argument prototype would still apply. */
30780 #ifdef __cplusplus
30781 extern "C"
30782 #endif
30783 char IceConnectionNumber ();
30784 int
30785 main ()
30786 {
30787 return IceConnectionNumber ();
30788 ;
30789 return 0;
30790 }
30791 _ACEOF
30792 rm -f conftest.$ac_objext conftest$ac_exeext
30793 if { (ac_try="$ac_link"
30794 case "(($ac_try" in
30795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30796 *) ac_try_echo=$ac_try;;
30797 esac
30798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30799 (eval "$ac_link") 2>conftest.er1
30800 ac_status=$?
30801 grep -v '^ *+' conftest.er1 >conftest.err
30802 rm -f conftest.er1
30803 cat conftest.err >&5
30804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30805 (exit $ac_status); } && {
30806 test -z "$ac_c_werror_flag" ||
30807 test ! -s conftest.err
30808 } && test -s conftest$ac_exeext &&
30809 $as_test_x conftest$ac_exeext; then
30810 ac_cv_lib_ICE_IceConnectionNumber=yes
30811 else
30812 echo "$as_me: failed program was:" >&5
30813 sed 's/^/| /' conftest.$ac_ext >&5
30814
30815 ac_cv_lib_ICE_IceConnectionNumber=no
30816 fi
30817
30818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30819 conftest$ac_exeext conftest.$ac_ext
30820 LIBS=$ac_check_lib_save_LIBS
30821 fi
30822 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30823 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30824 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30825 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30826 fi
30827
30828 LDFLAGS=$ac_save_LDFLAGS
30829
30830 fi
30831
30832
30833 if test "$no_x" = "yes"; then
30834 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30835 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30836 { (exit 1); exit 1; }; }
30837 fi
30838
30839 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30840 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30841 AFMINSTALL=afminstall
30842 COMPILED_X_PROGRAM=0
30843
30844 fi
30845
30846 if test "$wxUSE_X11" = 1; then
30847 if test "$wxUSE_NANOX" = "yes"; then
30848 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30849 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30850 if test "x$MICROWIN" = x ; then
30851 { echo "$as_me:$LINENO: result: not found" >&5
30852 echo "${ECHO_T}not found" >&6; }
30853 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30854 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30855 { (exit 1); exit 1; }; }
30856 else
30857 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30858 echo "${ECHO_T}$MICROWIN" >&6; }
30859 cat >>confdefs.h <<\_ACEOF
30860 #define wxUSE_NANOX 1
30861 _ACEOF
30862
30863 fi
30864 fi
30865
30866 if test "$wxUSE_UNICODE" = "yes"; then
30867
30868
30869 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30870 if test -n "$ac_tool_prefix"; then
30871 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30872 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30875 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30876 echo $ECHO_N "(cached) $ECHO_C" >&6
30877 else
30878 case $PKG_CONFIG in
30879 [\\/]* | ?:[\\/]*)
30880 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30881 ;;
30882 *)
30883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30884 for as_dir in $PATH
30885 do
30886 IFS=$as_save_IFS
30887 test -z "$as_dir" && as_dir=.
30888 for ac_exec_ext in '' $ac_executable_extensions; do
30889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30890 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30892 break 2
30893 fi
30894 done
30895 done
30896 IFS=$as_save_IFS
30897
30898 ;;
30899 esac
30900 fi
30901 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30902 if test -n "$PKG_CONFIG"; then
30903 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30904 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30905 else
30906 { echo "$as_me:$LINENO: result: no" >&5
30907 echo "${ECHO_T}no" >&6; }
30908 fi
30909
30910
30911 fi
30912 if test -z "$ac_cv_path_PKG_CONFIG"; then
30913 ac_pt_PKG_CONFIG=$PKG_CONFIG
30914 # Extract the first word of "pkg-config", so it can be a program name with args.
30915 set dummy pkg-config; ac_word=$2
30916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30918 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30919 echo $ECHO_N "(cached) $ECHO_C" >&6
30920 else
30921 case $ac_pt_PKG_CONFIG in
30922 [\\/]* | ?:[\\/]*)
30923 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30924 ;;
30925 *)
30926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30927 for as_dir in $PATH
30928 do
30929 IFS=$as_save_IFS
30930 test -z "$as_dir" && as_dir=.
30931 for ac_exec_ext in '' $ac_executable_extensions; do
30932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30933 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30935 break 2
30936 fi
30937 done
30938 done
30939 IFS=$as_save_IFS
30940
30941 ;;
30942 esac
30943 fi
30944 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30945 if test -n "$ac_pt_PKG_CONFIG"; then
30946 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30947 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30948 else
30949 { echo "$as_me:$LINENO: result: no" >&5
30950 echo "${ECHO_T}no" >&6; }
30951 fi
30952
30953 if test "x$ac_pt_PKG_CONFIG" = x; then
30954 PKG_CONFIG=""
30955 else
30956 case $cross_compiling:$ac_tool_warned in
30957 yes:)
30958 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30959 whose name does not start with the host triplet. If you think this
30960 configuration is useful to you, please write to autoconf@gnu.org." >&5
30961 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30962 whose name does not start with the host triplet. If you think this
30963 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30964 ac_tool_warned=yes ;;
30965 esac
30966 PKG_CONFIG=$ac_pt_PKG_CONFIG
30967 fi
30968 else
30969 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30970 fi
30971
30972 fi
30973 if test -n "$PKG_CONFIG"; then
30974 _pkg_min_version=0.9.0
30975 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30976 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30977 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30978 { echo "$as_me:$LINENO: result: yes" >&5
30979 echo "${ECHO_T}yes" >&6; }
30980 else
30981 { echo "$as_me:$LINENO: result: no" >&5
30982 echo "${ECHO_T}no" >&6; }
30983 PKG_CONFIG=""
30984 fi
30985
30986 fi
30987
30988
30989 pkg_failed=no
30990 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30991 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30992
30993 if test -n "$PKG_CONFIG"; then
30994 if test -n "$PANGOX_CFLAGS"; then
30995 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30996 else
30997 if test -n "$PKG_CONFIG" && \
30998 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30999 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31000 ac_status=$?
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; then
31003 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31004 else
31005 pkg_failed=yes
31006 fi
31007 fi
31008 else
31009 pkg_failed=untried
31010 fi
31011 if test -n "$PKG_CONFIG"; then
31012 if test -n "$PANGOX_LIBS"; then
31013 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31014 else
31015 if test -n "$PKG_CONFIG" && \
31016 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31017 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31018 ac_status=$?
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); }; then
31021 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31022 else
31023 pkg_failed=yes
31024 fi
31025 fi
31026 else
31027 pkg_failed=untried
31028 fi
31029
31030
31031
31032 if test $pkg_failed = yes; then
31033
31034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31035 _pkg_short_errors_supported=yes
31036 else
31037 _pkg_short_errors_supported=no
31038 fi
31039 if test $_pkg_short_errors_supported = yes; then
31040 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31041 else
31042 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31043 fi
31044 # Put the nasty error message in config.log where it belongs
31045 echo "$PANGOX_PKG_ERRORS" >&5
31046
31047
31048 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31049 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31050 { (exit 1); exit 1; }; }
31051
31052
31053 elif test $pkg_failed = untried; then
31054
31055 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31056 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31057 { (exit 1); exit 1; }; }
31058
31059
31060 else
31061 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31062 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31063 { echo "$as_me:$LINENO: result: yes" >&5
31064 echo "${ECHO_T}yes" >&6; }
31065
31066 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31067 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31068 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31069
31070 fi
31071
31072 pkg_failed=no
31073 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31074 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31075
31076 if test -n "$PKG_CONFIG"; then
31077 if test -n "$PANGOFT2_CFLAGS"; then
31078 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31079 else
31080 if test -n "$PKG_CONFIG" && \
31081 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31082 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31083 ac_status=$?
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); }; then
31086 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31087 else
31088 pkg_failed=yes
31089 fi
31090 fi
31091 else
31092 pkg_failed=untried
31093 fi
31094 if test -n "$PKG_CONFIG"; then
31095 if test -n "$PANGOFT2_LIBS"; then
31096 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31097 else
31098 if test -n "$PKG_CONFIG" && \
31099 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31100 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31101 ac_status=$?
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); }; then
31104 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31105 else
31106 pkg_failed=yes
31107 fi
31108 fi
31109 else
31110 pkg_failed=untried
31111 fi
31112
31113
31114
31115 if test $pkg_failed = yes; then
31116
31117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31118 _pkg_short_errors_supported=yes
31119 else
31120 _pkg_short_errors_supported=no
31121 fi
31122 if test $_pkg_short_errors_supported = yes; then
31123 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31124 else
31125 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31126 fi
31127 # Put the nasty error message in config.log where it belongs
31128 echo "$PANGOFT2_PKG_ERRORS" >&5
31129
31130
31131 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31132 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31133 wxUSE_PRINTING_ARCHITECTURE="no"
31134
31135
31136 elif test $pkg_failed = untried; then
31137
31138 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31139 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31140 wxUSE_PRINTING_ARCHITECTURE="no"
31141
31142
31143 else
31144 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31145 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31146 { echo "$as_me:$LINENO: result: yes" >&5
31147 echo "${ECHO_T}yes" >&6; }
31148
31149 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31150 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31151 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31152
31153 fi
31154
31155 pkg_failed=no
31156 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31157 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31158
31159 if test -n "$PKG_CONFIG"; then
31160 if test -n "$PANGOXFT_CFLAGS"; then
31161 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31162 else
31163 if test -n "$PKG_CONFIG" && \
31164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31165 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31166 ac_status=$?
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); }; then
31169 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31170 else
31171 pkg_failed=yes
31172 fi
31173 fi
31174 else
31175 pkg_failed=untried
31176 fi
31177 if test -n "$PKG_CONFIG"; then
31178 if test -n "$PANGOXFT_LIBS"; then
31179 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31180 else
31181 if test -n "$PKG_CONFIG" && \
31182 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31183 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31184 ac_status=$?
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); }; then
31187 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31188 else
31189 pkg_failed=yes
31190 fi
31191 fi
31192 else
31193 pkg_failed=untried
31194 fi
31195
31196
31197
31198 if test $pkg_failed = yes; then
31199
31200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31201 _pkg_short_errors_supported=yes
31202 else
31203 _pkg_short_errors_supported=no
31204 fi
31205 if test $_pkg_short_errors_supported = yes; then
31206 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31207 else
31208 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31209 fi
31210 # Put the nasty error message in config.log where it belongs
31211 echo "$PANGOXFT_PKG_ERRORS" >&5
31212
31213
31214 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31215 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31216
31217
31218 elif test $pkg_failed = untried; then
31219
31220 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31221 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31222
31223
31224 else
31225 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31226 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31227 { echo "$as_me:$LINENO: result: yes" >&5
31228 echo "${ECHO_T}yes" >&6; }
31229
31230 cat >>confdefs.h <<\_ACEOF
31231 #define HAVE_PANGO_XFT 1
31232 _ACEOF
31233
31234 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31235 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31236 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31237
31238 fi
31239 save_LIBS="$LIBS"
31240 LIBS="$LIBS $PANGOX_LIBS"
31241
31242 for ac_func in pango_font_family_is_monospace
31243 do
31244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31245 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31247 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31249 else
31250 cat >conftest.$ac_ext <<_ACEOF
31251 /* confdefs.h. */
31252 _ACEOF
31253 cat confdefs.h >>conftest.$ac_ext
31254 cat >>conftest.$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31258 #define $ac_func innocuous_$ac_func
31259
31260 /* System header to define __stub macros and hopefully few prototypes,
31261 which can conflict with char $ac_func (); below.
31262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31263 <limits.h> exists even on freestanding compilers. */
31264
31265 #ifdef __STDC__
31266 # include <limits.h>
31267 #else
31268 # include <assert.h>
31269 #endif
31270
31271 #undef $ac_func
31272
31273 /* Override any GCC internal prototype to avoid an error.
31274 Use char because int might match the return type of a GCC
31275 builtin and then its argument prototype would still apply. */
31276 #ifdef __cplusplus
31277 extern "C"
31278 #endif
31279 char $ac_func ();
31280 /* The GNU C library defines this for functions which it implements
31281 to always fail with ENOSYS. Some functions are actually named
31282 something starting with __ and the normal name is an alias. */
31283 #if defined __stub_$ac_func || defined __stub___$ac_func
31284 choke me
31285 #endif
31286
31287 int
31288 main ()
31289 {
31290 return $ac_func ();
31291 ;
31292 return 0;
31293 }
31294 _ACEOF
31295 rm -f conftest.$ac_objext conftest$ac_exeext
31296 if { (ac_try="$ac_link"
31297 case "(($ac_try" in
31298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31299 *) ac_try_echo=$ac_try;;
31300 esac
31301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31302 (eval "$ac_link") 2>conftest.er1
31303 ac_status=$?
31304 grep -v '^ *+' conftest.er1 >conftest.err
31305 rm -f conftest.er1
31306 cat conftest.err >&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } && {
31309 test -z "$ac_c_werror_flag" ||
31310 test ! -s conftest.err
31311 } && test -s conftest$ac_exeext &&
31312 $as_test_x conftest$ac_exeext; then
31313 eval "$as_ac_var=yes"
31314 else
31315 echo "$as_me: failed program was:" >&5
31316 sed 's/^/| /' conftest.$ac_ext >&5
31317
31318 eval "$as_ac_var=no"
31319 fi
31320
31321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31322 conftest$ac_exeext conftest.$ac_ext
31323 fi
31324 ac_res=`eval echo '${'$as_ac_var'}'`
31325 { echo "$as_me:$LINENO: result: $ac_res" >&5
31326 echo "${ECHO_T}$ac_res" >&6; }
31327 if test `eval echo '${'$as_ac_var'}'` = yes; then
31328 cat >>confdefs.h <<_ACEOF
31329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31330 _ACEOF
31331
31332 fi
31333 done
31334
31335 LIBS="$save_LIBS"
31336 fi
31337
31338 wxUSE_UNIVERSAL="yes"
31339
31340 if test "$wxUSE_NANOX" = "yes"; then
31341 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31342 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"
31343 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31344 else
31345 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31346 fi
31347
31348 TOOLKIT=X11
31349 GUIDIST=X11_DIST
31350 fi
31351
31352 if test "$wxUSE_MOTIF" = 1; then
31353 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31354 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31355
31356 ac_find_includes=
31357 for ac_dir in $SEARCH_INCLUDE /usr/include;
31358 do
31359 if test -f "$ac_dir/Xm/Xm.h"; then
31360 ac_find_includes=$ac_dir
31361 break
31362 fi
31363 done
31364
31365 if test "$ac_find_includes" != "" ; then
31366 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31367 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31368
31369 if test "x$ac_find_includes" = "x/usr/include"; then
31370 ac_path_to_include=""
31371 else
31372 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31373 result=$?
31374 if test $result = 0; then
31375 ac_path_to_include=""
31376 else
31377 ac_path_to_include=" -I$ac_find_includes"
31378 fi
31379 fi
31380
31381 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31382 else
31383 save_CFLAGS=$CFLAGS
31384 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31385
31386 cat >conftest.$ac_ext <<_ACEOF
31387 /* confdefs.h. */
31388 _ACEOF
31389 cat confdefs.h >>conftest.$ac_ext
31390 cat >>conftest.$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31392
31393 #include <Xm/Xm.h>
31394
31395 int
31396 main ()
31397 {
31398
31399 int version;
31400 version = xmUseVersion;
31401
31402 ;
31403 return 0;
31404 }
31405 _ACEOF
31406 rm -f conftest.$ac_objext
31407 if { (ac_try="$ac_compile"
31408 case "(($ac_try" in
31409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31410 *) ac_try_echo=$ac_try;;
31411 esac
31412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31413 (eval "$ac_compile") 2>conftest.er1
31414 ac_status=$?
31415 grep -v '^ *+' conftest.er1 >conftest.err
31416 rm -f conftest.er1
31417 cat conftest.err >&5
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); } && {
31420 test -z "$ac_c_werror_flag" ||
31421 test ! -s conftest.err
31422 } && test -s conftest.$ac_objext; then
31423
31424 { echo "$as_me:$LINENO: result: found in default search path" >&5
31425 echo "${ECHO_T}found in default search path" >&6; }
31426 COMPILED_X_PROGRAM=1
31427
31428 else
31429 echo "$as_me: failed program was:" >&5
31430 sed 's/^/| /' conftest.$ac_ext >&5
31431
31432
31433 { echo "$as_me:$LINENO: result: no" >&5
31434 echo "${ECHO_T}no" >&6; }
31435 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31436 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31437 { (exit 1); exit 1; }; }
31438
31439
31440 fi
31441
31442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31443
31444 CFLAGS=$save_CFLAGS
31445 fi
31446
31447
31448 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31449 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31450
31451 ac_find_libraries=
31452 for ac_dir in $SEARCH_LIB;
31453 do
31454 for ac_extension in a so sl dylib dll.a; do
31455 if test -f "$ac_dir/libXm.$ac_extension"; then
31456 ac_find_libraries=$ac_dir
31457 break 2
31458 fi
31459 done
31460 done
31461
31462
31463 if test "x$ac_find_libraries" != "x" ; then
31464 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31465 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31466
31467
31468 if test "$ac_find_libraries" = "default location"; then
31469 ac_path_to_link=""
31470 else
31471 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31472 result=$?
31473 if test $result = 0; then
31474 ac_path_to_link=""
31475 else
31476 ac_path_to_link=" -L$ac_find_libraries"
31477 fi
31478 fi
31479
31480 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31481 else
31482 save_CFLAGS=$CFLAGS
31483 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31484 save_LIBS="$LIBS"
31485 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31486
31487 cat >conftest.$ac_ext <<_ACEOF
31488 /* confdefs.h. */
31489 _ACEOF
31490 cat confdefs.h >>conftest.$ac_ext
31491 cat >>conftest.$ac_ext <<_ACEOF
31492 /* end confdefs.h. */
31493
31494 #include <Xm/Xm.h>
31495
31496 int
31497 main ()
31498 {
31499
31500 int version;
31501 version = xmUseVersion;
31502
31503 ;
31504 return 0;
31505 }
31506 _ACEOF
31507 rm -f conftest.$ac_objext conftest$ac_exeext
31508 if { (ac_try="$ac_link"
31509 case "(($ac_try" in
31510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31511 *) ac_try_echo=$ac_try;;
31512 esac
31513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31514 (eval "$ac_link") 2>conftest.er1
31515 ac_status=$?
31516 grep -v '^ *+' conftest.er1 >conftest.err
31517 rm -f conftest.er1
31518 cat conftest.err >&5
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); } && {
31521 test -z "$ac_c_werror_flag" ||
31522 test ! -s conftest.err
31523 } && test -s conftest$ac_exeext &&
31524 $as_test_x conftest$ac_exeext; then
31525
31526 { echo "$as_me:$LINENO: result: found in default search path" >&5
31527 echo "${ECHO_T}found in default search path" >&6; }
31528 COMPILED_X_PROGRAM=1
31529
31530 else
31531 echo "$as_me: failed program was:" >&5
31532 sed 's/^/| /' conftest.$ac_ext >&5
31533
31534
31535 { echo "$as_me:$LINENO: result: no" >&5
31536 echo "${ECHO_T}no" >&6; }
31537 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31538 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31539 { (exit 1); exit 1; }; }
31540
31541
31542 fi
31543
31544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31545 conftest$ac_exeext conftest.$ac_ext
31546
31547 CFLAGS=$save_CFLAGS
31548 LIBS="$save_LIBS"
31549 fi
31550
31551 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31552 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31553 libp_link=""
31554 libsm_ice_link=""
31555 libs_found=0
31556 for libp in "" " -lXp"; do
31557 if test "$libs_found" = 0; then
31558 for libsm_ice in "" " -lSM -lICE"; do
31559 if test "$libs_found" = 0; then
31560 save_LIBS="$LIBS"
31561 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31562 save_CFLAGS=$CFLAGS
31563 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31564
31565 cat >conftest.$ac_ext <<_ACEOF
31566 /* confdefs.h. */
31567 _ACEOF
31568 cat confdefs.h >>conftest.$ac_ext
31569 cat >>conftest.$ac_ext <<_ACEOF
31570 /* end confdefs.h. */
31571
31572 #include <Xm/Xm.h>
31573 #include <Xm/List.h>
31574
31575 int
31576 main ()
31577 {
31578
31579 XmString string = NULL;
31580 Widget w = NULL;
31581 int position = 0;
31582 XmListAddItem(w, string, position);
31583
31584 ;
31585 return 0;
31586 }
31587 _ACEOF
31588 rm -f conftest.$ac_objext conftest$ac_exeext
31589 if { (ac_try="$ac_link"
31590 case "(($ac_try" in
31591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31592 *) ac_try_echo=$ac_try;;
31593 esac
31594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31595 (eval "$ac_link") 2>conftest.er1
31596 ac_status=$?
31597 grep -v '^ *+' conftest.er1 >conftest.err
31598 rm -f conftest.er1
31599 cat conftest.err >&5
31600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31601 (exit $ac_status); } && {
31602 test -z "$ac_c_werror_flag" ||
31603 test ! -s conftest.err
31604 } && test -s conftest$ac_exeext &&
31605 $as_test_x conftest$ac_exeext; then
31606
31607 libp_link="$libp"
31608 libsm_ice_link="$libsm_ice"
31609 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31610 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31611 libs_found=1
31612
31613 else
31614 echo "$as_me: failed program was:" >&5
31615 sed 's/^/| /' conftest.$ac_ext >&5
31616
31617
31618
31619 fi
31620
31621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31622 conftest$ac_exeext conftest.$ac_ext
31623
31624 LIBS="$save_LIBS"
31625 CFLAGS=$save_CFLAGS
31626 fi
31627 done
31628 fi
31629 done
31630
31631 if test "$libs_found" = 0; then
31632 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31633 echo "${ECHO_T}can't find the right libraries" >&6; }
31634 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31635 echo "$as_me: error: can't link a simple motif program" >&2;}
31636 { (exit 1); exit 1; }; }
31637 fi
31638
31639 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31640 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31641 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31642 echo $ECHO_N "(cached) $ECHO_C" >&6
31643 else
31644 ac_check_lib_save_LIBS=$LIBS
31645 LIBS="-lSgm $LIBS"
31646 cat >conftest.$ac_ext <<_ACEOF
31647 /* confdefs.h. */
31648 _ACEOF
31649 cat confdefs.h >>conftest.$ac_ext
31650 cat >>conftest.$ac_ext <<_ACEOF
31651 /* end confdefs.h. */
31652
31653 /* Override any GCC internal prototype to avoid an error.
31654 Use char because int might match the return type of a GCC
31655 builtin and then its argument prototype would still apply. */
31656 #ifdef __cplusplus
31657 extern "C"
31658 #endif
31659 char SgCreateList ();
31660 int
31661 main ()
31662 {
31663 return SgCreateList ();
31664 ;
31665 return 0;
31666 }
31667 _ACEOF
31668 rm -f conftest.$ac_objext conftest$ac_exeext
31669 if { (ac_try="$ac_link"
31670 case "(($ac_try" in
31671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31672 *) ac_try_echo=$ac_try;;
31673 esac
31674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31675 (eval "$ac_link") 2>conftest.er1
31676 ac_status=$?
31677 grep -v '^ *+' conftest.er1 >conftest.err
31678 rm -f conftest.er1
31679 cat conftest.err >&5
31680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31681 (exit $ac_status); } && {
31682 test -z "$ac_c_werror_flag" ||
31683 test ! -s conftest.err
31684 } && test -s conftest$ac_exeext &&
31685 $as_test_x conftest$ac_exeext; then
31686 ac_cv_lib_Sgm_SgCreateList=yes
31687 else
31688 echo "$as_me: failed program was:" >&5
31689 sed 's/^/| /' conftest.$ac_ext >&5
31690
31691 ac_cv_lib_Sgm_SgCreateList=no
31692 fi
31693
31694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31695 conftest$ac_exeext conftest.$ac_ext
31696 LIBS=$ac_check_lib_save_LIBS
31697 fi
31698 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31699 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31700 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31701 libsgm_link=" -lSgm"
31702 fi
31703
31704
31705 save_CFLAGS=$CFLAGS
31706 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31707
31708 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31709 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31710 if test "${wx_cv_lib_motif2+set}" = set; then
31711 echo $ECHO_N "(cached) $ECHO_C" >&6
31712 else
31713 cat >conftest.$ac_ext <<_ACEOF
31714 /* confdefs.h. */
31715 _ACEOF
31716 cat confdefs.h >>conftest.$ac_ext
31717 cat >>conftest.$ac_ext <<_ACEOF
31718 /* end confdefs.h. */
31719
31720 #include <Xm/Xm.h>
31721
31722 int
31723 main ()
31724 {
31725
31726 #if XmVersion < 2000
31727 Not Motif 2
31728 #endif
31729
31730 ;
31731 return 0;
31732 }
31733 _ACEOF
31734 rm -f conftest.$ac_objext
31735 if { (ac_try="$ac_compile"
31736 case "(($ac_try" in
31737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31738 *) ac_try_echo=$ac_try;;
31739 esac
31740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31741 (eval "$ac_compile") 2>conftest.er1
31742 ac_status=$?
31743 grep -v '^ *+' conftest.er1 >conftest.err
31744 rm -f conftest.er1
31745 cat conftest.err >&5
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); } && {
31748 test -z "$ac_c_werror_flag" ||
31749 test ! -s conftest.err
31750 } && test -s conftest.$ac_objext; then
31751 wx_cv_lib_motif2="yes"
31752 else
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.$ac_ext >&5
31755
31756 wx_cv_lib_motif2="no"
31757 fi
31758
31759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31760 fi
31761 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31762 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31763 if test "$wx_cv_lib_motif2" = "yes"; then
31764 cat >>confdefs.h <<\_ACEOF
31765 #define __WXMOTIF20__ 1
31766 _ACEOF
31767
31768 else
31769 cat >>confdefs.h <<\_ACEOF
31770 #define __WXMOTIF20__ 0
31771 _ACEOF
31772
31773 fi
31774
31775 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31776 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31777 if test "${wx_cv_lib_lesstif+set}" = set; then
31778 echo $ECHO_N "(cached) $ECHO_C" >&6
31779 else
31780 cat >conftest.$ac_ext <<_ACEOF
31781 /* confdefs.h. */
31782 _ACEOF
31783 cat confdefs.h >>conftest.$ac_ext
31784 cat >>conftest.$ac_ext <<_ACEOF
31785 /* end confdefs.h. */
31786
31787 #include <Xm/Xm.h>
31788
31789 int
31790 main ()
31791 {
31792
31793 #if !defined(LesstifVersion) || LesstifVersion <= 0
31794 Not Lesstif
31795 #endif
31796
31797 ;
31798 return 0;
31799 }
31800 _ACEOF
31801 rm -f conftest.$ac_objext
31802 if { (ac_try="$ac_compile"
31803 case "(($ac_try" in
31804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31805 *) ac_try_echo=$ac_try;;
31806 esac
31807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31808 (eval "$ac_compile") 2>conftest.er1
31809 ac_status=$?
31810 grep -v '^ *+' conftest.er1 >conftest.err
31811 rm -f conftest.er1
31812 cat conftest.err >&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } && {
31815 test -z "$ac_c_werror_flag" ||
31816 test ! -s conftest.err
31817 } && test -s conftest.$ac_objext; then
31818 wx_cv_lib_lesstif="yes"
31819 else
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31822
31823 wx_cv_lib_lesstif="no"
31824 fi
31825
31826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31827
31828 fi
31829 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31830 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31831 if test "$wx_cv_lib_lesstif" = "yes"; then
31832 cat >>confdefs.h <<\_ACEOF
31833 #define __WXLESSTIF__ 1
31834 _ACEOF
31835
31836 else
31837 cat >>confdefs.h <<\_ACEOF
31838 #define __WXLESSTIF__ 0
31839 _ACEOF
31840
31841 fi
31842
31843 CFLAGS=$save_CFLAGS
31844
31845 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31846 TOOLKIT=MOTIF
31847 GUIDIST=MOTIF_DIST
31848 fi
31849
31850 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31851 if test "$wxUSE_LIBXPM" = "sys"; then
31852 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31853 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31854
31855 ac_find_libraries=
31856 for ac_dir in $SEARCH_LIB;
31857 do
31858 for ac_extension in a so sl dylib dll.a; do
31859 if test -f "$ac_dir/libXpm.$ac_extension"; then
31860 ac_find_libraries=$ac_dir
31861 break 2
31862 fi
31863 done
31864 done
31865
31866 if test "$ac_find_libraries" != "" ; then
31867
31868 if test "$ac_find_libraries" = "default location"; then
31869 ac_path_to_link=""
31870 else
31871 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31872 result=$?
31873 if test $result = 0; then
31874 ac_path_to_link=""
31875 else
31876 ac_path_to_link=" -L$ac_find_libraries"
31877 fi
31878 fi
31879
31880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31881 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31882 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31883
31884 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31885 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31886 if test "${wx_cv_x11_xpm_h+set}" = set; then
31887 echo $ECHO_N "(cached) $ECHO_C" >&6
31888 else
31889
31890 save_CFLAGS=$CFLAGS
31891 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31892
31893 cat >conftest.$ac_ext <<_ACEOF
31894 /* confdefs.h. */
31895 _ACEOF
31896 cat confdefs.h >>conftest.$ac_ext
31897 cat >>conftest.$ac_ext <<_ACEOF
31898 /* end confdefs.h. */
31899
31900 #include <X11/xpm.h>
31901
31902 int
31903 main ()
31904 {
31905
31906 int version;
31907 version = XpmLibraryVersion();
31908
31909 ;
31910 return 0;
31911 }
31912 _ACEOF
31913 rm -f conftest.$ac_objext
31914 if { (ac_try="$ac_compile"
31915 case "(($ac_try" in
31916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31917 *) ac_try_echo=$ac_try;;
31918 esac
31919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31920 (eval "$ac_compile") 2>conftest.er1
31921 ac_status=$?
31922 grep -v '^ *+' conftest.er1 >conftest.err
31923 rm -f conftest.er1
31924 cat conftest.err >&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); } && {
31927 test -z "$ac_c_werror_flag" ||
31928 test ! -s conftest.err
31929 } && test -s conftest.$ac_objext; then
31930 wx_cv_x11_xpm_h=yes
31931 else
31932 echo "$as_me: failed program was:" >&5
31933 sed 's/^/| /' conftest.$ac_ext >&5
31934
31935 wx_cv_x11_xpm_h=no
31936
31937 fi
31938
31939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31940
31941 CFLAGS=$save_CFLAGS
31942
31943
31944 fi
31945 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31946 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31947
31948 if test $wx_cv_x11_xpm_h = "yes"; then
31949 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31950 cat >>confdefs.h <<\_ACEOF
31951 #define wxHAVE_LIB_XPM 1
31952 _ACEOF
31953
31954 else
31955 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31956 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31957 fi
31958 fi
31959
31960 fi
31961
31962 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31963 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31964 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31965 echo $ECHO_N "(cached) $ECHO_C" >&6
31966 else
31967 ac_check_lib_save_LIBS=$LIBS
31968 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31969 cat >conftest.$ac_ext <<_ACEOF
31970 /* confdefs.h. */
31971 _ACEOF
31972 cat confdefs.h >>conftest.$ac_ext
31973 cat >>conftest.$ac_ext <<_ACEOF
31974 /* end confdefs.h. */
31975
31976 /* Override any GCC internal prototype to avoid an error.
31977 Use char because int might match the return type of a GCC
31978 builtin and then its argument prototype would still apply. */
31979 #ifdef __cplusplus
31980 extern "C"
31981 #endif
31982 char XShapeQueryExtension ();
31983 int
31984 main ()
31985 {
31986 return XShapeQueryExtension ();
31987 ;
31988 return 0;
31989 }
31990 _ACEOF
31991 rm -f conftest.$ac_objext conftest$ac_exeext
31992 if { (ac_try="$ac_link"
31993 case "(($ac_try" in
31994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31995 *) ac_try_echo=$ac_try;;
31996 esac
31997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31998 (eval "$ac_link") 2>conftest.er1
31999 ac_status=$?
32000 grep -v '^ *+' conftest.er1 >conftest.err
32001 rm -f conftest.er1
32002 cat conftest.err >&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } && {
32005 test -z "$ac_c_werror_flag" ||
32006 test ! -s conftest.err
32007 } && test -s conftest$ac_exeext &&
32008 $as_test_x conftest$ac_exeext; then
32009 ac_cv_lib_Xext_XShapeQueryExtension=yes
32010 else
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32013
32014 ac_cv_lib_Xext_XShapeQueryExtension=no
32015 fi
32016
32017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32018 conftest$ac_exeext conftest.$ac_ext
32019 LIBS=$ac_check_lib_save_LIBS
32020 fi
32021 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32022 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32023 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32024
32025 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32026 wxHAVE_XEXT_LIB=1
32027
32028 fi
32029
32030
32031 if test "$wxHAVE_XEXT_LIB" = 1; then
32032 save_CFLAGS="$CFLAGS"
32033 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32034
32035 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32036 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32037 cat >conftest.$ac_ext <<_ACEOF
32038 /* confdefs.h. */
32039 _ACEOF
32040 cat confdefs.h >>conftest.$ac_ext
32041 cat >>conftest.$ac_ext <<_ACEOF
32042 /* end confdefs.h. */
32043
32044 #include <X11/Xlib.h>
32045 #include <X11/extensions/shape.h>
32046
32047 int
32048 main ()
32049 {
32050
32051 int dummy1, dummy2;
32052 XShapeQueryExtension((Display*)NULL,
32053 (int*)NULL, (int*)NULL);
32054
32055 ;
32056 return 0;
32057 }
32058 _ACEOF
32059 rm -f conftest.$ac_objext
32060 if { (ac_try="$ac_compile"
32061 case "(($ac_try" in
32062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32063 *) ac_try_echo=$ac_try;;
32064 esac
32065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32066 (eval "$ac_compile") 2>conftest.er1
32067 ac_status=$?
32068 grep -v '^ *+' conftest.er1 >conftest.err
32069 rm -f conftest.er1
32070 cat conftest.err >&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); } && {
32073 test -z "$ac_c_werror_flag" ||
32074 test ! -s conftest.err
32075 } && test -s conftest.$ac_objext; then
32076
32077 cat >>confdefs.h <<\_ACEOF
32078 #define HAVE_XSHAPE 1
32079 _ACEOF
32080
32081 { echo "$as_me:$LINENO: result: found" >&5
32082 echo "${ECHO_T}found" >&6; }
32083
32084 else
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.$ac_ext >&5
32087
32088
32089 { echo "$as_me:$LINENO: result: not found" >&5
32090 echo "${ECHO_T}not found" >&6; }
32091
32092 fi
32093
32094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32095 CFLAGS="$save_CFLAGS"
32096
32097 fi
32098 fi
32099
32100 if test "$wxUSE_MAC" = 1; then
32101 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32102 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32103 if test "$GCC" = yes; then
32104 { echo "$as_me:$LINENO: result: gcc" >&5
32105 echo "${ECHO_T}gcc" >&6; }
32106 CPPFLAGS_PASCAL="-fpascal-strings"
32107 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32108 { echo "$as_me:$LINENO: result: xlc" >&5
32109 echo "${ECHO_T}xlc" >&6; }
32110 CPPFLAGS_PASCAL="-qmacpstr"
32111 else
32112 { echo "$as_me:$LINENO: result: none" >&5
32113 echo "${ECHO_T}none" >&6; }
32114 fi
32115
32116 if test "x$wxUSE_UNIX" = "xyes"; then
32117 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32118 else
32119 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32120 fi
32121
32122 TOOLKIT=MAC
32123 GUIDIST=MACX_DIST
32124 WXBASEPORT="_carbon"
32125 fi
32126
32127 if test "$wxUSE_COCOA" = 1; then
32128 TOOLKIT=COCOA
32129 GUIDIST=COCOA_DIST
32130 fi
32131
32132 if test "$wxUSE_PM" = 1; then
32133 TOOLKIT=PM
32134 GUIDIST=PM_DIST
32135 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32136 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32137 if test "${wx_cv_spbcdata+set}" = set; then
32138 echo $ECHO_N "(cached) $ECHO_C" >&6
32139 else
32140
32141 cat >conftest.$ac_ext <<_ACEOF
32142 /* confdefs.h. */
32143 _ACEOF
32144 cat confdefs.h >>conftest.$ac_ext
32145 cat >>conftest.$ac_ext <<_ACEOF
32146 /* end confdefs.h. */
32147
32148 #define INCL_PM
32149 #include <os2.h>
32150
32151 int
32152 main ()
32153 {
32154
32155 SPBCDATA test;
32156
32157 ;
32158 return 0;
32159 }
32160 _ACEOF
32161 rm -f conftest.$ac_objext
32162 if { (ac_try="$ac_compile"
32163 case "(($ac_try" in
32164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32165 *) ac_try_echo=$ac_try;;
32166 esac
32167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32168 (eval "$ac_compile") 2>conftest.er1
32169 ac_status=$?
32170 grep -v '^ *+' conftest.er1 >conftest.err
32171 rm -f conftest.er1
32172 cat conftest.err >&5
32173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32174 (exit $ac_status); } && {
32175 test -z "$ac_c_werror_flag" ||
32176 test ! -s conftest.err
32177 } && test -s conftest.$ac_objext; then
32178 wx_cv_spbcdata=yes
32179 else
32180 echo "$as_me: failed program was:" >&5
32181 sed 's/^/| /' conftest.$ac_ext >&5
32182
32183 wx_cv_spbcdata=no
32184
32185 fi
32186
32187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32188
32189
32190 fi
32191 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32192 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32193
32194 if test $wx_cv_spbcdata = "yes"; then
32195 cat >>confdefs.h <<\_ACEOF
32196 #define HAVE_SPBCDATA 1
32197 _ACEOF
32198
32199 fi
32200 fi
32201
32202 if test "$TOOLKIT" = "PM" ; then
32203 TOOLKIT_DIR="os2"
32204 else
32205 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32206 fi
32207
32208 if test "$wxUSE_UNIVERSAL" = "yes"; then
32209 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32210 WIDGET_SET=univ
32211 fi
32212
32213 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32214 DISTDIR="wx\$(TOOLKIT)"
32215 else
32216 USE_GUI=0
32217
32218 TOOLKIT_DIR="base"
32219
32220 if test "$USE_WIN32" = 1 ; then
32221 TOOLKIT="MSW"
32222 fi
32223
32224 GUIDIST="BASE_DIST"
32225 DISTDIR="wxBase"
32226 fi
32227
32228
32229
32230 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32231 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32232 wxUSE_UNICODE_UTF8=yes
32233 elif test "$USE_OS2" = 1 ; then
32234 wxUSE_UNICODE_UTF8=yes
32235 else
32236 wxUSE_UNICODE_UTF8=no
32237 fi
32238 fi
32239
32240
32241 if test "$wxUSE_GUI" = "yes"; then
32242 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32243
32244 for ac_header in X11/Xlib.h
32245 do
32246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32250 echo $ECHO_N "(cached) $ECHO_C" >&6
32251 else
32252 cat >conftest.$ac_ext <<_ACEOF
32253 /* confdefs.h. */
32254 _ACEOF
32255 cat confdefs.h >>conftest.$ac_ext
32256 cat >>conftest.$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32258
32259
32260 #include <$ac_header>
32261 _ACEOF
32262 rm -f conftest.$ac_objext
32263 if { (ac_try="$ac_compile"
32264 case "(($ac_try" in
32265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32266 *) ac_try_echo=$ac_try;;
32267 esac
32268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32269 (eval "$ac_compile") 2>conftest.er1
32270 ac_status=$?
32271 grep -v '^ *+' conftest.er1 >conftest.err
32272 rm -f conftest.er1
32273 cat conftest.err >&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); } && {
32276 test -z "$ac_c_werror_flag" ||
32277 test ! -s conftest.err
32278 } && test -s conftest.$ac_objext; then
32279 eval "$as_ac_Header=yes"
32280 else
32281 echo "$as_me: failed program was:" >&5
32282 sed 's/^/| /' conftest.$ac_ext >&5
32283
32284 eval "$as_ac_Header=no"
32285 fi
32286
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288 fi
32289 ac_res=`eval echo '${'$as_ac_Header'}'`
32290 { echo "$as_me:$LINENO: result: $ac_res" >&5
32291 echo "${ECHO_T}$ac_res" >&6; }
32292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32293 cat >>confdefs.h <<_ACEOF
32294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32295 _ACEOF
32296
32297 fi
32298
32299 done
32300
32301
32302 for ac_header in X11/XKBlib.h
32303 do
32304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32305 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32308 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 else
32310 cat >conftest.$ac_ext <<_ACEOF
32311 /* confdefs.h. */
32312 _ACEOF
32313 cat confdefs.h >>conftest.$ac_ext
32314 cat >>conftest.$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32316
32317 #if HAVE_X11_XLIB_H
32318 #include <X11/Xlib.h>
32319 #endif
32320
32321
32322 #include <$ac_header>
32323 _ACEOF
32324 rm -f conftest.$ac_objext
32325 if { (ac_try="$ac_compile"
32326 case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32329 esac
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_compile") 2>conftest.er1
32332 ac_status=$?
32333 grep -v '^ *+' conftest.er1 >conftest.err
32334 rm -f conftest.er1
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest.$ac_objext; then
32341 eval "$as_ac_Header=yes"
32342 else
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32345
32346 eval "$as_ac_Header=no"
32347 fi
32348
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350 fi
32351 ac_res=`eval echo '${'$as_ac_Header'}'`
32352 { echo "$as_me:$LINENO: result: $ac_res" >&5
32353 echo "${ECHO_T}$ac_res" >&6; }
32354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32355 cat >>confdefs.h <<_ACEOF
32356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32357 _ACEOF
32358
32359 fi
32360
32361 done
32362
32363 fi
32364 fi
32365
32366
32367
32368 if test "$wxUSE_DISPLAY" = "yes"; then
32369 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32370 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32371 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32372
32373 ac_find_libraries=
32374 for ac_dir in $SEARCH_LIB;
32375 do
32376 for ac_extension in a so sl dylib dll.a; do
32377 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32378 ac_find_libraries=$ac_dir
32379 break 2
32380 fi
32381 done
32382 done
32383
32384 if test "$ac_find_libraries" != "" ; then
32385
32386 if test "$ac_find_libraries" = "default location"; then
32387 ac_path_to_link=""
32388 else
32389 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32390 result=$?
32391 if test $result = 0; then
32392 ac_path_to_link=""
32393 else
32394 ac_path_to_link=" -L$ac_find_libraries"
32395 fi
32396 fi
32397
32398 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32399 LDFLAGS="$LDFLAGS $ac_path_to_link"
32400 fi
32401 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32402 { echo "$as_me:$LINENO: result: yes" >&5
32403 echo "${ECHO_T}yes" >&6; }
32404
32405 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32406 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32407
32408 ac_find_libraries=
32409 for ac_dir in $SEARCH_LIB;
32410 do
32411 for ac_extension in a so sl dylib dll.a; do
32412 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32413 ac_find_libraries=$ac_dir
32414 break 2
32415 fi
32416 done
32417 done
32418
32419 if test "$ac_find_libraries" != "" ; then
32420 { echo "$as_me:$LINENO: result: yes" >&5
32421 echo "${ECHO_T}yes" >&6; }
32422
32423 for ac_header in X11/extensions/xf86vmode.h
32424 do
32425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32429 echo $ECHO_N "(cached) $ECHO_C" >&6
32430 else
32431 cat >conftest.$ac_ext <<_ACEOF
32432 /* confdefs.h. */
32433 _ACEOF
32434 cat confdefs.h >>conftest.$ac_ext
32435 cat >>conftest.$ac_ext <<_ACEOF
32436 /* end confdefs.h. */
32437
32438 #if HAVE_X11_XLIB_H
32439 #include <X11/Xlib.h>
32440 #endif
32441
32442
32443 #include <$ac_header>
32444 _ACEOF
32445 rm -f conftest.$ac_objext
32446 if { (ac_try="$ac_compile"
32447 case "(($ac_try" in
32448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32449 *) ac_try_echo=$ac_try;;
32450 esac
32451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32452 (eval "$ac_compile") 2>conftest.er1
32453 ac_status=$?
32454 grep -v '^ *+' conftest.er1 >conftest.err
32455 rm -f conftest.er1
32456 cat conftest.err >&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); } && {
32459 test -z "$ac_c_werror_flag" ||
32460 test ! -s conftest.err
32461 } && test -s conftest.$ac_objext; then
32462 eval "$as_ac_Header=yes"
32463 else
32464 echo "$as_me: failed program was:" >&5
32465 sed 's/^/| /' conftest.$ac_ext >&5
32466
32467 eval "$as_ac_Header=no"
32468 fi
32469
32470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32471 fi
32472 ac_res=`eval echo '${'$as_ac_Header'}'`
32473 { echo "$as_me:$LINENO: result: $ac_res" >&5
32474 echo "${ECHO_T}$ac_res" >&6; }
32475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32476 cat >>confdefs.h <<_ACEOF
32477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32478 _ACEOF
32479
32480 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32481
32482 fi
32483
32484 done
32485
32486 else
32487 { echo "$as_me:$LINENO: result: no" >&5
32488 echo "${ECHO_T}no" >&6; }
32489 fi
32490
32491 else
32492 { echo "$as_me:$LINENO: result: no" >&5
32493 echo "${ECHO_T}no" >&6; }
32494 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32495 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32496 wxUSE_DISPLAY="no"
32497 fi
32498 elif test "$wxUSE_MSW" = 1; then
32499 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32500 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32501 if test "${ac_cv_header_ddraw_h+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 else
32504 cat >conftest.$ac_ext <<_ACEOF
32505 /* confdefs.h. */
32506 _ACEOF
32507 cat confdefs.h >>conftest.$ac_ext
32508 cat >>conftest.$ac_ext <<_ACEOF
32509 /* end confdefs.h. */
32510 #include <windows.h>
32511
32512 #include <ddraw.h>
32513 _ACEOF
32514 rm -f conftest.$ac_objext
32515 if { (ac_try="$ac_compile"
32516 case "(($ac_try" in
32517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32518 *) ac_try_echo=$ac_try;;
32519 esac
32520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32521 (eval "$ac_compile") 2>conftest.er1
32522 ac_status=$?
32523 grep -v '^ *+' conftest.er1 >conftest.err
32524 rm -f conftest.er1
32525 cat conftest.err >&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); } && {
32528 test -z "$ac_c_werror_flag" ||
32529 test ! -s conftest.err
32530 } && test -s conftest.$ac_objext; then
32531 ac_cv_header_ddraw_h=yes
32532 else
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.$ac_ext >&5
32535
32536 ac_cv_header_ddraw_h=no
32537 fi
32538
32539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32540 fi
32541 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32542 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32543
32544
32545 fi
32546 fi
32547
32548 if test "$wxUSE_DETECT_SM" = "yes"; then
32549 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32550 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32551 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32552
32553 ac_find_libraries=
32554 for ac_dir in $SEARCH_LIB;
32555 do
32556 for ac_extension in a so sl dylib dll.a; do
32557 if test -f "$ac_dir/libSM.$ac_extension"; then
32558 ac_find_libraries=$ac_dir
32559 break 2
32560 fi
32561 done
32562 done
32563
32564 if test "$ac_find_libraries" != "" ; then
32565
32566 if test "$ac_find_libraries" = "default location"; then
32567 ac_path_to_link=""
32568 else
32569 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32570 result=$?
32571 if test $result = 0; then
32572 ac_path_to_link=""
32573 else
32574 ac_path_to_link=" -L$ac_find_libraries"
32575 fi
32576 fi
32577
32578 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32579 LDFLAGS="$LDFLAGS $ac_path_to_link"
32580 fi
32581 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32582 { echo "$as_me:$LINENO: result: yes" >&5
32583 echo "${ECHO_T}yes" >&6; }
32584 else
32585 { echo "$as_me:$LINENO: result: no" >&5
32586 echo "${ECHO_T}no" >&6; }
32587 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32588 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32589 wxUSE_DETECT_SM="no"
32590 fi
32591 else
32592 wxUSE_DETECT_SM="no"
32593 fi
32594 fi
32595
32596
32597
32598 USE_OPENGL=0
32599 if test "$wxUSE_OPENGL" = "yes"; then
32600 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32601 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32602 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32603 wxUSE_OPENGL="no"
32604 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32605 OPENGL_LIBS="-framework OpenGL -framework AGL"
32606 elif test "$wxUSE_MSW" = 1; then
32607 OPENGL_LIBS="-lopengl32 -lglu32"
32608 else
32609 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32610 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32611
32612 ac_find_includes=
32613 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32614 do
32615 if test -f "$ac_dir/GL/gl.h"; then
32616 ac_find_includes=$ac_dir
32617 break
32618 fi
32619 done
32620
32621 if test "$ac_find_includes" != "" ; then
32622 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32623 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32624
32625 if test "x$ac_find_includes" = "x/usr/include"; then
32626 ac_path_to_include=""
32627 else
32628 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32629 result=$?
32630 if test $result = 0; then
32631 ac_path_to_include=""
32632 else
32633 ac_path_to_include=" -I$ac_find_includes"
32634 fi
32635 fi
32636
32637 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32638 else
32639 { echo "$as_me:$LINENO: result: not found" >&5
32640 echo "${ECHO_T}not found" >&6; }
32641 fi
32642
32643 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32644 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32645 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32646 echo $ECHO_N "(cached) $ECHO_C" >&6
32647 else
32648 cat >conftest.$ac_ext <<_ACEOF
32649 /* confdefs.h. */
32650 _ACEOF
32651 cat confdefs.h >>conftest.$ac_ext
32652 cat >>conftest.$ac_ext <<_ACEOF
32653 /* end confdefs.h. */
32654
32655
32656 #include <GL/gl.h>
32657 _ACEOF
32658 rm -f conftest.$ac_objext
32659 if { (ac_try="$ac_compile"
32660 case "(($ac_try" in
32661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32662 *) ac_try_echo=$ac_try;;
32663 esac
32664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32665 (eval "$ac_compile") 2>conftest.er1
32666 ac_status=$?
32667 grep -v '^ *+' conftest.er1 >conftest.err
32668 rm -f conftest.er1
32669 cat conftest.err >&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); } && {
32672 test -z "$ac_c_werror_flag" ||
32673 test ! -s conftest.err
32674 } && test -s conftest.$ac_objext; then
32675 ac_cv_header_GL_gl_h=yes
32676 else
32677 echo "$as_me: failed program was:" >&5
32678 sed 's/^/| /' conftest.$ac_ext >&5
32679
32680 ac_cv_header_GL_gl_h=no
32681 fi
32682
32683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32684 fi
32685 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32686 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32687 if test $ac_cv_header_GL_gl_h = yes; then
32688
32689 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32690 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32691 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32692 echo $ECHO_N "(cached) $ECHO_C" >&6
32693 else
32694 cat >conftest.$ac_ext <<_ACEOF
32695 /* confdefs.h. */
32696 _ACEOF
32697 cat confdefs.h >>conftest.$ac_ext
32698 cat >>conftest.$ac_ext <<_ACEOF
32699 /* end confdefs.h. */
32700
32701
32702 #include <GL/glu.h>
32703 _ACEOF
32704 rm -f conftest.$ac_objext
32705 if { (ac_try="$ac_compile"
32706 case "(($ac_try" in
32707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32708 *) ac_try_echo=$ac_try;;
32709 esac
32710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32711 (eval "$ac_compile") 2>conftest.er1
32712 ac_status=$?
32713 grep -v '^ *+' conftest.er1 >conftest.err
32714 rm -f conftest.er1
32715 cat conftest.err >&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } && {
32718 test -z "$ac_c_werror_flag" ||
32719 test ! -s conftest.err
32720 } && test -s conftest.$ac_objext; then
32721 ac_cv_header_GL_glu_h=yes
32722 else
32723 echo "$as_me: failed program was:" >&5
32724 sed 's/^/| /' conftest.$ac_ext >&5
32725
32726 ac_cv_header_GL_glu_h=no
32727 fi
32728
32729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32730 fi
32731 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32732 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32733 if test $ac_cv_header_GL_glu_h = yes; then
32734
32735 found_gl=0
32736
32737 { echo "$as_me:$LINENO: checking for -lGL" >&5
32738 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32739
32740 ac_find_libraries=
32741 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32742 do
32743 for ac_extension in a so sl dylib dll.a; do
32744 if test -f "$ac_dir/libGL.$ac_extension"; then
32745 ac_find_libraries=$ac_dir
32746 break 2
32747 fi
32748 done
32749 done
32750
32751 if test "$ac_find_libraries" != "" ; then
32752 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32753 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32754
32755
32756 if test "$ac_find_libraries" = "default location"; then
32757 ac_path_to_link=""
32758 else
32759 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32760 result=$?
32761 if test $result = 0; then
32762 ac_path_to_link=""
32763 else
32764 ac_path_to_link=" -L$ac_find_libraries"
32765 fi
32766 fi
32767
32768 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32769 LDFLAGS_GL="$ac_path_to_link"
32770 fi
32771
32772 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32773 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32774
32775 ac_find_libraries=
32776 for ac_dir in $SEARCH_LIB;
32777 do
32778 for ac_extension in a so sl dylib dll.a; do
32779 if test -f "$ac_dir/libGLU.$ac_extension"; then
32780 ac_find_libraries=$ac_dir
32781 break 2
32782 fi
32783 done
32784 done
32785
32786 if test "$ac_find_libraries" != "" ; then
32787
32788 if test "$ac_find_libraries" = "default location"; then
32789 ac_path_to_link=""
32790 else
32791 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32792 result=$?
32793 if test $result = 0; then
32794 ac_path_to_link=""
32795 else
32796 ac_path_to_link=" -L$ac_find_libraries"
32797 fi
32798 fi
32799
32800 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32801 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32802 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32803 fi
32804
32805 found_gl=1
32806 OPENGL_LIBS="-lGL -lGLU"
32807 { echo "$as_me:$LINENO: result: yes" >&5
32808 echo "${ECHO_T}yes" >&6; }
32809 else
32810 { echo "$as_me:$LINENO: result: no" >&5
32811 echo "${ECHO_T}no" >&6; }
32812 fi
32813 else
32814 { echo "$as_me:$LINENO: result: no" >&5
32815 echo "${ECHO_T}no" >&6; }
32816 fi
32817
32818 if test "$found_gl" != 1; then
32819 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32820 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32821
32822 ac_find_libraries=
32823 for ac_dir in $SEARCH_LIB;
32824 do
32825 for ac_extension in a so sl dylib dll.a; do
32826 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32827 ac_find_libraries=$ac_dir
32828 break 2
32829 fi
32830 done
32831 done
32832
32833 if test "$ac_find_libraries" != "" ; then
32834
32835 if test "$ac_find_libraries" = "default location"; then
32836 ac_path_to_link=""
32837 else
32838 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32839 result=$?
32840 if test $result = 0; then
32841 ac_path_to_link=""
32842 else
32843 ac_path_to_link=" -L$ac_find_libraries"
32844 fi
32845 fi
32846
32847 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32848 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32849 { echo "$as_me:$LINENO: result: yes" >&5
32850 echo "${ECHO_T}yes" >&6; }
32851 else
32852 { echo "$as_me:$LINENO: result: no" >&5
32853 echo "${ECHO_T}no" >&6; }
32854 fi
32855 fi
32856
32857 fi
32858
32859
32860
32861 fi
32862
32863
32864
32865 if test "x$OPENGL_LIBS" = "x"; then
32866 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32867 echo "$as_me: error: OpenGL libraries not available" >&2;}
32868 { (exit 1); exit 1; }; }
32869 fi
32870 fi
32871
32872 if test "$wxUSE_OPENGL" = "yes"; then
32873 USE_OPENGL=1
32874 cat >>confdefs.h <<\_ACEOF
32875 #define wxUSE_OPENGL 1
32876 _ACEOF
32877
32878 cat >>confdefs.h <<\_ACEOF
32879 #define wxUSE_GLCANVAS 1
32880 _ACEOF
32881
32882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32883 fi
32884 fi
32885
32886
32887 if test -n "$TOOLKIT" ; then
32888 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32889 fi
32890
32891
32892
32893 if test "$wxUSE_SHARED" = "yes"; then
32894 case "${host}" in
32895 *-pc-msdosdjgpp )
32896 wxUSE_SHARED=no
32897 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32898 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32899 ;;
32900 esac
32901 fi
32902
32903 if test "$wxUSE_SHARED" = "yes"; then
32904
32905
32906 case "${host}" in
32907 *-*-cygwin* | *-*-mingw* )
32908 wx_cv_version_script=no
32909 ;;
32910
32911 *)
32912 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32913 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32914 if test "${wx_cv_version_script+set}" = set; then
32915 echo $ECHO_N "(cached) $ECHO_C" >&6
32916 else
32917
32918 echo "VER_1 { *; };" >conftest.sym
32919 echo "int main() { return 0; }" >conftest.cpp
32920
32921 if { ac_try='
32922 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32923 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32925 (eval $ac_try) 2>&5
32926 ac_status=$?
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); }; } ; then
32929 if test -s conftest.stderr ; then
32930 wx_cv_version_script=no
32931 else
32932 wx_cv_version_script=yes
32933 fi
32934 else
32935 wx_cv_version_script=no
32936 fi
32937
32938 if test $wx_cv_version_script = yes
32939 then
32940 echo "struct B { virtual ~B() { } }; \
32941 struct D : public B { }; \
32942 void F() { D d; }" > conftest.cpp
32943
32944 if { ac_try='
32945 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32946 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32949 ac_status=$?
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; } &&
32952 { ac_try='
32953 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32954 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32956 (eval $ac_try) 2>&5
32957 ac_status=$?
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); }; }
32960 then
32961 if { ac_try='
32962 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32963 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32965 (eval $ac_try) 2>&5
32966 ac_status=$?
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); }; }
32969 then
32970 wx_cv_version_script=yes
32971 else
32972 wx_cv_version_script=no
32973 fi
32974 fi
32975 fi
32976
32977 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32978 rm -f conftest1.output conftest2.output conftest3.output
32979
32980 fi
32981 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32982 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32983
32984 if test $wx_cv_version_script = yes ; then
32985 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32986 fi
32987 ;;
32988 esac
32989
32990
32991 if test "$wxUSE_VISIBILITY" != "no"; then
32992
32993
32994 if test -n "$GCC"; then
32995 CFLAGS_VISIBILITY="-fvisibility=hidden"
32996 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
32997 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
32998 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
32999 if test "${wx_cv_cc_visibility+set}" = set; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33001 else
33002
33003 wx_save_CXXFLAGS="$CXXFLAGS"
33004 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33005 ac_ext=cpp
33006 ac_cpp='$CXXCPP $CPPFLAGS'
33007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33010
33011 cat >conftest.$ac_ext <<_ACEOF
33012 /* confdefs.h. */
33013 _ACEOF
33014 cat confdefs.h >>conftest.$ac_ext
33015 cat >>conftest.$ac_ext <<_ACEOF
33016 /* end confdefs.h. */
33017
33018 /* we need gcc >= 4.0, older versions with visibility support
33019 didn't have class visibility: */
33020 #if defined(__GNUC__) && __GNUC__ < 4
33021 error this gcc is too old;
33022 #endif
33023
33024 /* visibility only makes sense for ELF shared libs: */
33025 #if !defined(__ELF__) && !defined(__APPLE__)
33026 error this platform has no visibility;
33027 #endif
33028
33029 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33030 extern __attribute__((__visibility__("default"))) int exportedvar;
33031 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33032 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33033 class __attribute__((__visibility__("default"))) Foo {
33034 Foo() {}
33035 };
33036
33037 int
33038 main ()
33039 {
33040
33041 ;
33042 return 0;
33043 }
33044 _ACEOF
33045 rm -f conftest.$ac_objext
33046 if { (ac_try="$ac_compile"
33047 case "(($ac_try" in
33048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33049 *) ac_try_echo=$ac_try;;
33050 esac
33051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33052 (eval "$ac_compile") 2>conftest.er1
33053 ac_status=$?
33054 grep -v '^ *+' conftest.er1 >conftest.err
33055 rm -f conftest.er1
33056 cat conftest.err >&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } && {
33059 test -z "$ac_cxx_werror_flag" ||
33060 test ! -s conftest.err
33061 } && test -s conftest.$ac_objext; then
33062 wx_cv_cc_visibility=yes
33063 else
33064 echo "$as_me: failed program was:" >&5
33065 sed 's/^/| /' conftest.$ac_ext >&5
33066
33067 wx_cv_cc_visibility=no
33068 fi
33069
33070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33071 ac_ext=c
33072 ac_cpp='$CPP $CPPFLAGS'
33073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33076
33077 CXXFLAGS="$wx_save_CXXFLAGS"
33078 fi
33079
33080 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33081 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33082 if test $wx_cv_cc_visibility = yes; then
33083 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33084 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33085 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33086 echo $ECHO_N "(cached) $ECHO_C" >&6
33087 else
33088
33089 wx_save_CXXFLAGS="$CXXFLAGS"
33090 wx_save_LDFLAGS="$LDFLAGS"
33091 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33092 LDFLAGS="$LDFLAGS -shared -fPIC"
33093 ac_ext=cpp
33094 ac_cpp='$CXXCPP $CPPFLAGS'
33095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33098
33099 cat >conftest.$ac_ext <<_ACEOF
33100 /* confdefs.h. */
33101 _ACEOF
33102 cat confdefs.h >>conftest.$ac_ext
33103 cat >>conftest.$ac_ext <<_ACEOF
33104 /* end confdefs.h. */
33105
33106 #include <string>
33107
33108 int
33109 main ()
33110 {
33111
33112 std::string s("hello");
33113 return s.length();
33114
33115 ;
33116 return 0;
33117 }
33118 _ACEOF
33119 rm -f conftest.$ac_objext conftest$ac_exeext
33120 if { (ac_try="$ac_link"
33121 case "(($ac_try" in
33122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33123 *) ac_try_echo=$ac_try;;
33124 esac
33125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33126 (eval "$ac_link") 2>conftest.er1
33127 ac_status=$?
33128 grep -v '^ *+' conftest.er1 >conftest.err
33129 rm -f conftest.er1
33130 cat conftest.err >&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } && {
33133 test -z "$ac_cxx_werror_flag" ||
33134 test ! -s conftest.err
33135 } && test -s conftest$ac_exeext &&
33136 $as_test_x conftest$ac_exeext; then
33137 wx_cv_cc_broken_libstdcxx_visibility=no
33138 else
33139 echo "$as_me: failed program was:" >&5
33140 sed 's/^/| /' conftest.$ac_ext >&5
33141
33142 wx_cv_cc_broken_libstdcxx_visibility=yes
33143 fi
33144
33145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33146 conftest$ac_exeext conftest.$ac_ext
33147 ac_ext=c
33148 ac_cpp='$CPP $CPPFLAGS'
33149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33152
33153 CXXFLAGS="$wx_save_CXXFLAGS"
33154 LDFLAGS="$wx_save_LDFLAGS"
33155 fi
33156
33157 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33158 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33159
33160 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33161 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33162 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33163 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33164 echo $ECHO_N "(cached) $ECHO_C" >&6
33165 else
33166
33167 ac_ext=cpp
33168 ac_cpp='$CXXCPP $CPPFLAGS'
33169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33172
33173 cat >conftest.$ac_ext <<_ACEOF
33174 /* confdefs.h. */
33175 _ACEOF
33176 cat confdefs.h >>conftest.$ac_ext
33177 cat >>conftest.$ac_ext <<_ACEOF
33178 /* end confdefs.h. */
33179
33180 #pragma GCC visibility push(default)
33181 #include <string>
33182 #pragma GCC visibility pop
33183
33184 int
33185 main ()
33186 {
33187
33188 std::string s("hello");
33189 return s.length();
33190
33191 ;
33192 return 0;
33193 }
33194 _ACEOF
33195 rm -f conftest.$ac_objext conftest$ac_exeext
33196 if { (ac_try="$ac_link"
33197 case "(($ac_try" in
33198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33199 *) ac_try_echo=$ac_try;;
33200 esac
33201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33202 (eval "$ac_link") 2>conftest.er1
33203 ac_status=$?
33204 grep -v '^ *+' conftest.er1 >conftest.err
33205 rm -f conftest.er1
33206 cat conftest.err >&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } && {
33209 test -z "$ac_cxx_werror_flag" ||
33210 test ! -s conftest.err
33211 } && test -s conftest$ac_exeext &&
33212 $as_test_x conftest$ac_exeext; then
33213 wx_cv_cc_visibility_workaround=no
33214 else
33215 echo "$as_me: failed program was:" >&5
33216 sed 's/^/| /' conftest.$ac_ext >&5
33217
33218 wx_cv_cc_visibility_workaround=yes
33219 fi
33220
33221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33222 conftest$ac_exeext conftest.$ac_ext
33223 ac_ext=c
33224 ac_cpp='$CPP $CPPFLAGS'
33225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33228
33229
33230 fi
33231
33232 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33233 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33234
33235 if test $wx_cv_cc_visibility_workaround = no; then
33236 wx_cv_cc_visibility=no
33237 fi
33238 fi
33239 fi
33240
33241 if test $wx_cv_cc_visibility = yes; then
33242 cat >>confdefs.h <<\_ACEOF
33243 #define HAVE_VISIBILITY 1
33244 _ACEOF
33245
33246 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33247 cat >>confdefs.h <<\_ACEOF
33248 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33249 _ACEOF
33250
33251 fi
33252 else
33253 CFLAGS_VISIBILITY=""
33254 CXXFLAGS_VISIBILITY=""
33255 fi
33256
33257
33258 fi
33259
33260 fi
33261
33262 if test "x$SUNCXX" = xyes; then
33263 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33264 WXCONFIG_RPATH="-R\$libdir"
33265 else
33266 case "${host}" in
33267 *-*-linux* | *-*-gnu* )
33268 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33269 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33270 ;;
33271
33272 *-*-solaris2* )
33273
33274 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33275
33276 saveLdflags="$LDFLAGS"
33277 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33278 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33279 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33280 cat >conftest.$ac_ext <<_ACEOF
33281 /* confdefs.h. */
33282 _ACEOF
33283 cat confdefs.h >>conftest.$ac_ext
33284 cat >>conftest.$ac_ext <<_ACEOF
33285 /* end confdefs.h. */
33286
33287 int
33288 main ()
33289 {
33290
33291 ;
33292 return 0;
33293 }
33294 _ACEOF
33295 rm -f conftest.$ac_objext conftest$ac_exeext
33296 if { (ac_try="$ac_link"
33297 case "(($ac_try" in
33298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33299 *) ac_try_echo=$ac_try;;
33300 esac
33301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33302 (eval "$ac_link") 2>conftest.er1
33303 ac_status=$?
33304 grep -v '^ *+' conftest.er1 >conftest.err
33305 rm -f conftest.er1
33306 cat conftest.err >&5
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); } && {
33309 test -z "$ac_c_werror_flag" ||
33310 test ! -s conftest.err
33311 } && test -s conftest$ac_exeext &&
33312 $as_test_x conftest$ac_exeext; then
33313
33314 { echo "$as_me:$LINENO: result: yes" >&5
33315 echo "${ECHO_T}yes" >&6; }
33316 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33317 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33318
33319 else
33320 echo "$as_me: failed program was:" >&5
33321 sed 's/^/| /' conftest.$ac_ext >&5
33322
33323
33324 { echo "$as_me:$LINENO: result: no" >&5
33325 echo "${ECHO_T}no" >&6; }
33326 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33327 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33328 LDFLAGS="$saveLdflags -Wl,-R,/"
33329 cat >conftest.$ac_ext <<_ACEOF
33330 /* confdefs.h. */
33331 _ACEOF
33332 cat confdefs.h >>conftest.$ac_ext
33333 cat >>conftest.$ac_ext <<_ACEOF
33334 /* end confdefs.h. */
33335
33336 int
33337 main ()
33338 {
33339
33340 ;
33341 return 0;
33342 }
33343 _ACEOF
33344 rm -f conftest.$ac_objext conftest$ac_exeext
33345 if { (ac_try="$ac_link"
33346 case "(($ac_try" in
33347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33348 *) ac_try_echo=$ac_try;;
33349 esac
33350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33351 (eval "$ac_link") 2>conftest.er1
33352 ac_status=$?
33353 grep -v '^ *+' conftest.er1 >conftest.err
33354 rm -f conftest.er1
33355 cat conftest.err >&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); } && {
33358 test -z "$ac_c_werror_flag" ||
33359 test ! -s conftest.err
33360 } && test -s conftest$ac_exeext &&
33361 $as_test_x conftest$ac_exeext; then
33362
33363 { echo "$as_me:$LINENO: result: yes" >&5
33364 echo "${ECHO_T}yes" >&6; }
33365 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33366 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33367
33368 else
33369 echo "$as_me: failed program was:" >&5
33370 sed 's/^/| /' conftest.$ac_ext >&5
33371
33372
33373 { echo "$as_me:$LINENO: result: no" >&5
33374 echo "${ECHO_T}no" >&6; }
33375
33376 fi
33377
33378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33379 conftest$ac_exeext conftest.$ac_ext
33380
33381 fi
33382
33383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33384 conftest$ac_exeext conftest.$ac_ext
33385 LDFLAGS="$saveLdflags"
33386 ;;
33387
33388 *-*-darwin* )
33389 install_name_tool=`which install_name_tool`
33390 if test "$install_name_tool" -a -x "$install_name_tool"; then
33391 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33392 cat <<EOF >change-install-names
33393 #!/bin/sh
33394 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33395 inst_cmd="install_name_tool "
33396 for i in \${libnames} ; do
33397 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33398 done
33399 \${inst_cmd} \${3}
33400 EOF
33401 chmod +x change-install-names
33402 fi
33403 ;;
33404
33405 *-*-cygwin* | *-*-mingw32* )
33406 ;;
33407
33408 *-*-hpux* )
33409 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33410 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33411 ;;
33412
33413 esac
33414 fi
33415
33416 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33417
33418 if test $wxUSE_RPATH = "no"; then
33419 SAMPLES_RPATH_FLAG=''
33420 SAMPLES_RPATH_POSTLINK=''
33421 WXCONFIG_RPATH=''
33422 fi
33423
33424 SHARED=1
33425
33426 else
33427
33428 config_linkage_component="-static"
33429 SHARED=0
33430
33431 fi
33432
33433
33434 UNICODE=0
33435 lib_unicode_suffix=
33436 WX_CHARTYPE="ansi"
33437 if test "$wxUSE_UNICODE" = "yes"; then
33438 lib_unicode_suffix=u
33439 WX_CHARTYPE="unicode"
33440 UNICODE=1
33441 fi
33442
33443 lib_debug_suffix=
33444 WX_DEBUGTYPE="release"
33445 DEBUG_FLAG=0
33446 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33447 lib_debug_suffix=d
33448 WX_DEBUGTYPE="debug"
33449 DEBUG_FLAG=1
33450 fi
33451
33452 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33453 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33454
33455 DEBUG_INFO=0
33456 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33457 DEBUG_INFO=1
33458 fi
33459
33460 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33461
33462 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33463
33464 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33465
33466 if test "$cross_compiling" = "yes"; then
33467 HOST_SUFFIX="-$host_alias"
33468 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33469 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33470 fi
33471
33472 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33473 if test "${TOOLKIT_DIR}" = "os2"; then
33474 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33475 else
33476 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33477 fi
33478
33479
33480
33481 if test "$wxUSE_COCOA" = 1; then
33482
33483 ac_ext=c
33484 ac_cpp='$CPP $CPPFLAGS'
33485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33488
33489 ac_ext=m
33490
33491 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33492 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33493 cat >conftest.$ac_ext <<_ACEOF
33494 /* confdefs.h. */
33495 _ACEOF
33496 cat confdefs.h >>conftest.$ac_ext
33497 cat >>conftest.$ac_ext <<_ACEOF
33498 /* end confdefs.h. */
33499 #include <AppKit/NSEvent.h>
33500 #include <CoreFoundation/CoreFoundation.h>
33501
33502 int
33503 main ()
33504 {
33505
33506 ;
33507 return 0;
33508 }
33509 _ACEOF
33510 rm -f conftest.$ac_objext
33511 if { (ac_try="$ac_compile"
33512 case "(($ac_try" in
33513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33514 *) ac_try_echo=$ac_try;;
33515 esac
33516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33517 (eval "$ac_compile") 2>conftest.er1
33518 ac_status=$?
33519 grep -v '^ *+' conftest.er1 >conftest.err
33520 rm -f conftest.er1
33521 cat conftest.err >&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } && {
33524 test -z "$ac_c_werror_flag" ||
33525 test ! -s conftest.err
33526 } && test -s conftest.$ac_objext; then
33527 { echo "$as_me:$LINENO: result: no" >&5
33528 echo "${ECHO_T}no" >&6; }
33529 else
33530 echo "$as_me: failed program was:" >&5
33531 sed 's/^/| /' conftest.$ac_ext >&5
33532
33533 { echo "$as_me:$LINENO: result: yes" >&5
33534 echo "${ECHO_T}yes" >&6; }
33535 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33536 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33537 cat >conftest.$ac_ext <<_ACEOF
33538 /* confdefs.h. */
33539 _ACEOF
33540 cat confdefs.h >>conftest.$ac_ext
33541 cat >>conftest.$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33543 #define __Point__ 1
33544 #include <AppKit/NSEvent.h>
33545 #include <CoreFoundation/CoreFoundation.h>
33546
33547 int
33548 main ()
33549 {
33550
33551 ;
33552 return 0;
33553 }
33554 _ACEOF
33555 rm -f conftest.$ac_objext
33556 if { (ac_try="$ac_compile"
33557 case "(($ac_try" in
33558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33559 *) ac_try_echo=$ac_try;;
33560 esac
33561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33562 (eval "$ac_compile") 2>conftest.er1
33563 ac_status=$?
33564 grep -v '^ *+' conftest.er1 >conftest.err
33565 rm -f conftest.er1
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } && {
33569 test -z "$ac_c_werror_flag" ||
33570 test ! -s conftest.err
33571 } && test -s conftest.$ac_objext; then
33572 { echo "$as_me:$LINENO: result: yes" >&5
33573 echo "${ECHO_T}yes" >&6; }
33574 cat >>confdefs.h <<\_ACEOF
33575 #define __Point__ 1
33576 _ACEOF
33577
33578
33579 else
33580 echo "$as_me: failed program was:" >&5
33581 sed 's/^/| /' conftest.$ac_ext >&5
33582
33583 { { echo "$as_me:$LINENO: error: no
33584 See \`config.log' for more details." >&5
33585 echo "$as_me: error: no
33586 See \`config.log' for more details." >&2;}
33587 { (exit 1); exit 1; }; }
33588
33589 fi
33590
33591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33592
33593 fi
33594
33595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33596 ac_ext=c
33597 ac_cpp='$CPP $CPPFLAGS'
33598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33601
33602 fi
33603
33604
33605 { echo "$as_me:$LINENO: checking for mode_t" >&5
33606 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33607 if test "${ac_cv_type_mode_t+set}" = set; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33609 else
33610 cat >conftest.$ac_ext <<_ACEOF
33611 /* confdefs.h. */
33612 _ACEOF
33613 cat confdefs.h >>conftest.$ac_ext
33614 cat >>conftest.$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 $ac_includes_default
33617 typedef mode_t ac__type_new_;
33618 int
33619 main ()
33620 {
33621 if ((ac__type_new_ *) 0)
33622 return 0;
33623 if (sizeof (ac__type_new_))
33624 return 0;
33625 ;
33626 return 0;
33627 }
33628 _ACEOF
33629 rm -f conftest.$ac_objext
33630 if { (ac_try="$ac_compile"
33631 case "(($ac_try" in
33632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33633 *) ac_try_echo=$ac_try;;
33634 esac
33635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33636 (eval "$ac_compile") 2>conftest.er1
33637 ac_status=$?
33638 grep -v '^ *+' conftest.er1 >conftest.err
33639 rm -f conftest.er1
33640 cat conftest.err >&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } && {
33643 test -z "$ac_c_werror_flag" ||
33644 test ! -s conftest.err
33645 } && test -s conftest.$ac_objext; then
33646 ac_cv_type_mode_t=yes
33647 else
33648 echo "$as_me: failed program was:" >&5
33649 sed 's/^/| /' conftest.$ac_ext >&5
33650
33651 ac_cv_type_mode_t=no
33652 fi
33653
33654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33655 fi
33656 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33657 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33658 if test $ac_cv_type_mode_t = yes; then
33659 :
33660 else
33661
33662 cat >>confdefs.h <<_ACEOF
33663 #define mode_t int
33664 _ACEOF
33665
33666 fi
33667
33668 { echo "$as_me:$LINENO: checking for off_t" >&5
33669 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33670 if test "${ac_cv_type_off_t+set}" = set; then
33671 echo $ECHO_N "(cached) $ECHO_C" >&6
33672 else
33673 cat >conftest.$ac_ext <<_ACEOF
33674 /* confdefs.h. */
33675 _ACEOF
33676 cat confdefs.h >>conftest.$ac_ext
33677 cat >>conftest.$ac_ext <<_ACEOF
33678 /* end confdefs.h. */
33679 $ac_includes_default
33680 typedef off_t ac__type_new_;
33681 int
33682 main ()
33683 {
33684 if ((ac__type_new_ *) 0)
33685 return 0;
33686 if (sizeof (ac__type_new_))
33687 return 0;
33688 ;
33689 return 0;
33690 }
33691 _ACEOF
33692 rm -f conftest.$ac_objext
33693 if { (ac_try="$ac_compile"
33694 case "(($ac_try" in
33695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33696 *) ac_try_echo=$ac_try;;
33697 esac
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_compile") 2>conftest.er1
33700 ac_status=$?
33701 grep -v '^ *+' conftest.er1 >conftest.err
33702 rm -f conftest.er1
33703 cat conftest.err >&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_c_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest.$ac_objext; then
33709 ac_cv_type_off_t=yes
33710 else
33711 echo "$as_me: failed program was:" >&5
33712 sed 's/^/| /' conftest.$ac_ext >&5
33713
33714 ac_cv_type_off_t=no
33715 fi
33716
33717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33718 fi
33719 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33720 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33721 if test $ac_cv_type_off_t = yes; then
33722 :
33723 else
33724
33725 cat >>confdefs.h <<_ACEOF
33726 #define off_t long int
33727 _ACEOF
33728
33729 fi
33730
33731 { echo "$as_me:$LINENO: checking for pid_t" >&5
33732 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33733 if test "${ac_cv_type_pid_t+set}" = set; then
33734 echo $ECHO_N "(cached) $ECHO_C" >&6
33735 else
33736 cat >conftest.$ac_ext <<_ACEOF
33737 /* confdefs.h. */
33738 _ACEOF
33739 cat confdefs.h >>conftest.$ac_ext
33740 cat >>conftest.$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33742 $ac_includes_default
33743 typedef pid_t ac__type_new_;
33744 int
33745 main ()
33746 {
33747 if ((ac__type_new_ *) 0)
33748 return 0;
33749 if (sizeof (ac__type_new_))
33750 return 0;
33751 ;
33752 return 0;
33753 }
33754 _ACEOF
33755 rm -f conftest.$ac_objext
33756 if { (ac_try="$ac_compile"
33757 case "(($ac_try" in
33758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33759 *) ac_try_echo=$ac_try;;
33760 esac
33761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33762 (eval "$ac_compile") 2>conftest.er1
33763 ac_status=$?
33764 grep -v '^ *+' conftest.er1 >conftest.err
33765 rm -f conftest.er1
33766 cat conftest.err >&5
33767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33768 (exit $ac_status); } && {
33769 test -z "$ac_c_werror_flag" ||
33770 test ! -s conftest.err
33771 } && test -s conftest.$ac_objext; then
33772 ac_cv_type_pid_t=yes
33773 else
33774 echo "$as_me: failed program was:" >&5
33775 sed 's/^/| /' conftest.$ac_ext >&5
33776
33777 ac_cv_type_pid_t=no
33778 fi
33779
33780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33781 fi
33782 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33783 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33784 if test $ac_cv_type_pid_t = yes; then
33785 :
33786 else
33787
33788 cat >>confdefs.h <<_ACEOF
33789 #define pid_t int
33790 _ACEOF
33791
33792 fi
33793
33794 { echo "$as_me:$LINENO: checking for size_t" >&5
33795 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33796 if test "${ac_cv_type_size_t+set}" = set; then
33797 echo $ECHO_N "(cached) $ECHO_C" >&6
33798 else
33799 cat >conftest.$ac_ext <<_ACEOF
33800 /* confdefs.h. */
33801 _ACEOF
33802 cat confdefs.h >>conftest.$ac_ext
33803 cat >>conftest.$ac_ext <<_ACEOF
33804 /* end confdefs.h. */
33805 $ac_includes_default
33806 typedef size_t ac__type_new_;
33807 int
33808 main ()
33809 {
33810 if ((ac__type_new_ *) 0)
33811 return 0;
33812 if (sizeof (ac__type_new_))
33813 return 0;
33814 ;
33815 return 0;
33816 }
33817 _ACEOF
33818 rm -f conftest.$ac_objext
33819 if { (ac_try="$ac_compile"
33820 case "(($ac_try" in
33821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33822 *) ac_try_echo=$ac_try;;
33823 esac
33824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33825 (eval "$ac_compile") 2>conftest.er1
33826 ac_status=$?
33827 grep -v '^ *+' conftest.er1 >conftest.err
33828 rm -f conftest.er1
33829 cat conftest.err >&5
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); } && {
33832 test -z "$ac_c_werror_flag" ||
33833 test ! -s conftest.err
33834 } && test -s conftest.$ac_objext; then
33835 ac_cv_type_size_t=yes
33836 else
33837 echo "$as_me: failed program was:" >&5
33838 sed 's/^/| /' conftest.$ac_ext >&5
33839
33840 ac_cv_type_size_t=no
33841 fi
33842
33843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33844 fi
33845 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33846 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33847 if test $ac_cv_type_size_t = yes; then
33848 :
33849 else
33850
33851 cat >>confdefs.h <<_ACEOF
33852 #define size_t unsigned int
33853 _ACEOF
33854
33855 fi
33856
33857
33858 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33859 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33860 if test "${ac_cv_type_ssize_t+set}" = set; then
33861 echo $ECHO_N "(cached) $ECHO_C" >&6
33862 else
33863 cat >conftest.$ac_ext <<_ACEOF
33864 /* confdefs.h. */
33865 _ACEOF
33866 cat confdefs.h >>conftest.$ac_ext
33867 cat >>conftest.$ac_ext <<_ACEOF
33868 /* end confdefs.h. */
33869 $ac_includes_default
33870 typedef ssize_t ac__type_new_;
33871 int
33872 main ()
33873 {
33874 if ((ac__type_new_ *) 0)
33875 return 0;
33876 if (sizeof (ac__type_new_))
33877 return 0;
33878 ;
33879 return 0;
33880 }
33881 _ACEOF
33882 rm -f conftest.$ac_objext
33883 if { (ac_try="$ac_compile"
33884 case "(($ac_try" in
33885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33886 *) ac_try_echo=$ac_try;;
33887 esac
33888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33889 (eval "$ac_compile") 2>conftest.er1
33890 ac_status=$?
33891 grep -v '^ *+' conftest.er1 >conftest.err
33892 rm -f conftest.er1
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } && {
33896 test -z "$ac_c_werror_flag" ||
33897 test ! -s conftest.err
33898 } && test -s conftest.$ac_objext; then
33899 ac_cv_type_ssize_t=yes
33900 else
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33903
33904 ac_cv_type_ssize_t=no
33905 fi
33906
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33908 fi
33909 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33910 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33911 if test $ac_cv_type_ssize_t = yes; then
33912
33913 cat >>confdefs.h <<_ACEOF
33914 #define HAVE_SSIZE_T 1
33915 _ACEOF
33916
33917
33918 fi
33919
33920
33921 ac_ext=cpp
33922 ac_cpp='$CXXCPP $CPPFLAGS'
33923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33926 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33927 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33928 if test "${wx_cv_size_t_is_uint+set}" = set; then
33929 echo $ECHO_N "(cached) $ECHO_C" >&6
33930 else
33931
33932 cat >conftest.$ac_ext <<_ACEOF
33933 /* confdefs.h. */
33934 _ACEOF
33935 cat confdefs.h >>conftest.$ac_ext
33936 cat >>conftest.$ac_ext <<_ACEOF
33937 /* end confdefs.h. */
33938 #include <stddef.h>
33939 int
33940 main ()
33941 {
33942
33943 return 0; }
33944
33945 struct Foo { void foo(size_t); void foo(unsigned int); };
33946
33947 int bar() {
33948
33949 ;
33950 return 0;
33951 }
33952 _ACEOF
33953 rm -f conftest.$ac_objext
33954 if { (ac_try="$ac_compile"
33955 case "(($ac_try" in
33956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33957 *) ac_try_echo=$ac_try;;
33958 esac
33959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33960 (eval "$ac_compile") 2>conftest.er1
33961 ac_status=$?
33962 grep -v '^ *+' conftest.er1 >conftest.err
33963 rm -f conftest.er1
33964 cat conftest.err >&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); } && {
33967 test -z "$ac_cxx_werror_flag" ||
33968 test ! -s conftest.err
33969 } && test -s conftest.$ac_objext; then
33970 wx_cv_size_t_is_uint=no
33971 else
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.$ac_ext >&5
33974
33975 wx_cv_size_t_is_uint=yes
33976
33977 fi
33978
33979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33980
33981
33982 fi
33983 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33984 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33985
33986 if test "$wx_cv_size_t_is_uint" = "yes"; then
33987 cat >>confdefs.h <<\_ACEOF
33988 #define wxSIZE_T_IS_UINT 1
33989 _ACEOF
33990
33991 else
33992 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33993 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33994 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33996 else
33997 cat >conftest.$ac_ext <<_ACEOF
33998 /* confdefs.h. */
33999 _ACEOF
34000 cat confdefs.h >>conftest.$ac_ext
34001 cat >>conftest.$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 #include <stddef.h>
34004 int
34005 main ()
34006 {
34007
34008 return 0; }
34009
34010 struct Foo { void foo(size_t); void foo(unsigned long); };
34011
34012 int bar() {
34013
34014 ;
34015 return 0;
34016 }
34017 _ACEOF
34018 rm -f conftest.$ac_objext
34019 if { (ac_try="$ac_compile"
34020 case "(($ac_try" in
34021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34022 *) ac_try_echo=$ac_try;;
34023 esac
34024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34025 (eval "$ac_compile") 2>conftest.er1
34026 ac_status=$?
34027 grep -v '^ *+' conftest.er1 >conftest.err
34028 rm -f conftest.er1
34029 cat conftest.err >&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); } && {
34032 test -z "$ac_cxx_werror_flag" ||
34033 test ! -s conftest.err
34034 } && test -s conftest.$ac_objext; then
34035 wx_cv_size_t_is_ulong=no
34036 else
34037 echo "$as_me: failed program was:" >&5
34038 sed 's/^/| /' conftest.$ac_ext >&5
34039
34040 wx_cv_size_t_is_ulong=yes
34041
34042 fi
34043
34044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34045
34046 fi
34047 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34048 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34049
34050 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34051 cat >>confdefs.h <<\_ACEOF
34052 #define wxSIZE_T_IS_ULONG 1
34053 _ACEOF
34054
34055 fi
34056 fi
34057
34058 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34059 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34060 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34062 else
34063 cat >conftest.$ac_ext <<_ACEOF
34064 /* confdefs.h. */
34065 _ACEOF
34066 cat confdefs.h >>conftest.$ac_ext
34067 cat >>conftest.$ac_ext <<_ACEOF
34068 /* end confdefs.h. */
34069 #include <wchar.h>
34070 int
34071 main ()
34072 {
34073
34074 return 0; }
34075
34076 struct Foo { void foo(wchar_t);
34077 void foo(unsigned short);
34078 void foo(unsigned int);
34079 void foo(unsigned long); };
34080
34081 int bar() {
34082
34083 ;
34084 return 0;
34085 }
34086 _ACEOF
34087 rm -f conftest.$ac_objext
34088 if { (ac_try="$ac_compile"
34089 case "(($ac_try" in
34090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34091 *) ac_try_echo=$ac_try;;
34092 esac
34093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34094 (eval "$ac_compile") 2>conftest.er1
34095 ac_status=$?
34096 grep -v '^ *+' conftest.er1 >conftest.err
34097 rm -f conftest.er1
34098 cat conftest.err >&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); } && {
34101 test -z "$ac_cxx_werror_flag" ||
34102 test ! -s conftest.err
34103 } && test -s conftest.$ac_objext; then
34104 wx_cv_wchar_t_is_separate_type=yes
34105 else
34106 echo "$as_me: failed program was:" >&5
34107 sed 's/^/| /' conftest.$ac_ext >&5
34108
34109 wx_cv_wchar_t_is_separate_type=no
34110
34111 fi
34112
34113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34114
34115 fi
34116 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34117 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34118
34119 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34120 cat >>confdefs.h <<\_ACEOF
34121 #define wxWCHAR_T_IS_REAL_TYPE 1
34122 _ACEOF
34123
34124 else
34125 cat >>confdefs.h <<\_ACEOF
34126 #define wxWCHAR_T_IS_REAL_TYPE 0
34127 _ACEOF
34128
34129 fi
34130
34131 ac_ext=c
34132 ac_cpp='$CPP $CPPFLAGS'
34133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34136
34137
34138 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34139 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34140 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34141 echo $ECHO_N "(cached) $ECHO_C" >&6
34142 else
34143
34144 cat >conftest.$ac_ext <<_ACEOF
34145 /* confdefs.h. */
34146 _ACEOF
34147 cat confdefs.h >>conftest.$ac_ext
34148 cat >>conftest.$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34150 #include <pwd.h>
34151 int
34152 main ()
34153 {
34154
34155 char *p;
34156 struct passwd *pw;
34157 p = pw->pw_gecos;
34158
34159 ;
34160 return 0;
34161 }
34162 _ACEOF
34163 rm -f conftest.$ac_objext
34164 if { (ac_try="$ac_compile"
34165 case "(($ac_try" in
34166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34167 *) ac_try_echo=$ac_try;;
34168 esac
34169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34170 (eval "$ac_compile") 2>conftest.er1
34171 ac_status=$?
34172 grep -v '^ *+' conftest.er1 >conftest.err
34173 rm -f conftest.er1
34174 cat conftest.err >&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); } && {
34177 test -z "$ac_c_werror_flag" ||
34178 test ! -s conftest.err
34179 } && test -s conftest.$ac_objext; then
34180
34181 wx_cv_struct_pw_gecos=yes
34182
34183 else
34184 echo "$as_me: failed program was:" >&5
34185 sed 's/^/| /' conftest.$ac_ext >&5
34186
34187
34188 wx_cv_struct_pw_gecos=no
34189
34190
34191 fi
34192
34193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34194
34195
34196 fi
34197 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34198 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34199
34200 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34201 cat >>confdefs.h <<\_ACEOF
34202 #define HAVE_PW_GECOS 1
34203 _ACEOF
34204
34205 fi
34206
34207
34208 if test "$wxUSE_WCHAR_T" = "yes"; then
34209 cat >>confdefs.h <<\_ACEOF
34210 #define wxUSE_WCHAR_T 1
34211 _ACEOF
34212
34213
34214 WCSLEN_FOUND=0
34215 WCHAR_LINK=
34216
34217 for ac_func in wcslen
34218 do
34219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34220 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34222 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34224 else
34225 cat >conftest.$ac_ext <<_ACEOF
34226 /* confdefs.h. */
34227 _ACEOF
34228 cat confdefs.h >>conftest.$ac_ext
34229 cat >>conftest.$ac_ext <<_ACEOF
34230 /* end confdefs.h. */
34231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34233 #define $ac_func innocuous_$ac_func
34234
34235 /* System header to define __stub macros and hopefully few prototypes,
34236 which can conflict with char $ac_func (); below.
34237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34238 <limits.h> exists even on freestanding compilers. */
34239
34240 #ifdef __STDC__
34241 # include <limits.h>
34242 #else
34243 # include <assert.h>
34244 #endif
34245
34246 #undef $ac_func
34247
34248 /* Override any GCC internal prototype to avoid an error.
34249 Use char because int might match the return type of a GCC
34250 builtin and then its argument prototype would still apply. */
34251 #ifdef __cplusplus
34252 extern "C"
34253 #endif
34254 char $ac_func ();
34255 /* The GNU C library defines this for functions which it implements
34256 to always fail with ENOSYS. Some functions are actually named
34257 something starting with __ and the normal name is an alias. */
34258 #if defined __stub_$ac_func || defined __stub___$ac_func
34259 choke me
34260 #endif
34261
34262 int
34263 main ()
34264 {
34265 return $ac_func ();
34266 ;
34267 return 0;
34268 }
34269 _ACEOF
34270 rm -f conftest.$ac_objext conftest$ac_exeext
34271 if { (ac_try="$ac_link"
34272 case "(($ac_try" in
34273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34274 *) ac_try_echo=$ac_try;;
34275 esac
34276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34277 (eval "$ac_link") 2>conftest.er1
34278 ac_status=$?
34279 grep -v '^ *+' conftest.er1 >conftest.err
34280 rm -f conftest.er1
34281 cat conftest.err >&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); } && {
34284 test -z "$ac_c_werror_flag" ||
34285 test ! -s conftest.err
34286 } && test -s conftest$ac_exeext &&
34287 $as_test_x conftest$ac_exeext; then
34288 eval "$as_ac_var=yes"
34289 else
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.$ac_ext >&5
34292
34293 eval "$as_ac_var=no"
34294 fi
34295
34296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34297 conftest$ac_exeext conftest.$ac_ext
34298 fi
34299 ac_res=`eval echo '${'$as_ac_var'}'`
34300 { echo "$as_me:$LINENO: result: $ac_res" >&5
34301 echo "${ECHO_T}$ac_res" >&6; }
34302 if test `eval echo '${'$as_ac_var'}'` = yes; then
34303 cat >>confdefs.h <<_ACEOF
34304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34305 _ACEOF
34306 WCSLEN_FOUND=1
34307 fi
34308 done
34309
34310
34311 if test "$WCSLEN_FOUND" = 0; then
34312 if test "$TOOLKIT" = "MSW"; then
34313 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34314 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34315 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34316 echo $ECHO_N "(cached) $ECHO_C" >&6
34317 else
34318 ac_check_lib_save_LIBS=$LIBS
34319 LIBS="-lmsvcrt $LIBS"
34320 cat >conftest.$ac_ext <<_ACEOF
34321 /* confdefs.h. */
34322 _ACEOF
34323 cat confdefs.h >>conftest.$ac_ext
34324 cat >>conftest.$ac_ext <<_ACEOF
34325 /* end confdefs.h. */
34326
34327 /* Override any GCC internal prototype to avoid an error.
34328 Use char because int might match the return type of a GCC
34329 builtin and then its argument prototype would still apply. */
34330 #ifdef __cplusplus
34331 extern "C"
34332 #endif
34333 char wcslen ();
34334 int
34335 main ()
34336 {
34337 return wcslen ();
34338 ;
34339 return 0;
34340 }
34341 _ACEOF
34342 rm -f conftest.$ac_objext conftest$ac_exeext
34343 if { (ac_try="$ac_link"
34344 case "(($ac_try" in
34345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34346 *) ac_try_echo=$ac_try;;
34347 esac
34348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34349 (eval "$ac_link") 2>conftest.er1
34350 ac_status=$?
34351 grep -v '^ *+' conftest.er1 >conftest.err
34352 rm -f conftest.er1
34353 cat conftest.err >&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } && {
34356 test -z "$ac_c_werror_flag" ||
34357 test ! -s conftest.err
34358 } && test -s conftest$ac_exeext &&
34359 $as_test_x conftest$ac_exeext; then
34360 ac_cv_lib_msvcrt_wcslen=yes
34361 else
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.$ac_ext >&5
34364
34365 ac_cv_lib_msvcrt_wcslen=no
34366 fi
34367
34368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34369 conftest$ac_exeext conftest.$ac_ext
34370 LIBS=$ac_check_lib_save_LIBS
34371 fi
34372 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34373 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34374 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34375 WCHAR_OK=1
34376 fi
34377
34378 else
34379 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34380 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34381 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34382 echo $ECHO_N "(cached) $ECHO_C" >&6
34383 else
34384 ac_check_lib_save_LIBS=$LIBS
34385 LIBS="-lw $LIBS"
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h. */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392
34393 /* Override any GCC internal prototype to avoid an error.
34394 Use char because int might match the return type of a GCC
34395 builtin and then its argument prototype would still apply. */
34396 #ifdef __cplusplus
34397 extern "C"
34398 #endif
34399 char wcslen ();
34400 int
34401 main ()
34402 {
34403 return wcslen ();
34404 ;
34405 return 0;
34406 }
34407 _ACEOF
34408 rm -f conftest.$ac_objext conftest$ac_exeext
34409 if { (ac_try="$ac_link"
34410 case "(($ac_try" in
34411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34412 *) ac_try_echo=$ac_try;;
34413 esac
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_link") 2>conftest.er1
34416 ac_status=$?
34417 grep -v '^ *+' conftest.er1 >conftest.err
34418 rm -f conftest.er1
34419 cat conftest.err >&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); } && {
34422 test -z "$ac_c_werror_flag" ||
34423 test ! -s conftest.err
34424 } && test -s conftest$ac_exeext &&
34425 $as_test_x conftest$ac_exeext; then
34426 ac_cv_lib_w_wcslen=yes
34427 else
34428 echo "$as_me: failed program was:" >&5
34429 sed 's/^/| /' conftest.$ac_ext >&5
34430
34431 ac_cv_lib_w_wcslen=no
34432 fi
34433
34434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34435 conftest$ac_exeext conftest.$ac_ext
34436 LIBS=$ac_check_lib_save_LIBS
34437 fi
34438 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34439 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34440 if test $ac_cv_lib_w_wcslen = yes; then
34441
34442 WCHAR_LINK=" -lw"
34443 WCSLEN_FOUND=1
34444
34445 fi
34446
34447 fi
34448 fi
34449
34450 if test "$WCSLEN_FOUND" = 1; then
34451 cat >>confdefs.h <<\_ACEOF
34452 #define HAVE_WCSLEN 1
34453 _ACEOF
34454
34455 fi
34456
34457
34458 for ac_func in wcsdup
34459 do
34460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34463 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34464 echo $ECHO_N "(cached) $ECHO_C" >&6
34465 else
34466 cat >conftest.$ac_ext <<_ACEOF
34467 /* confdefs.h. */
34468 _ACEOF
34469 cat confdefs.h >>conftest.$ac_ext
34470 cat >>conftest.$ac_ext <<_ACEOF
34471 /* end confdefs.h. */
34472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34474 #define $ac_func innocuous_$ac_func
34475
34476 /* System header to define __stub macros and hopefully few prototypes,
34477 which can conflict with char $ac_func (); below.
34478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34479 <limits.h> exists even on freestanding compilers. */
34480
34481 #ifdef __STDC__
34482 # include <limits.h>
34483 #else
34484 # include <assert.h>
34485 #endif
34486
34487 #undef $ac_func
34488
34489 /* Override any GCC internal prototype to avoid an error.
34490 Use char because int might match the return type of a GCC
34491 builtin and then its argument prototype would still apply. */
34492 #ifdef __cplusplus
34493 extern "C"
34494 #endif
34495 char $ac_func ();
34496 /* The GNU C library defines this for functions which it implements
34497 to always fail with ENOSYS. Some functions are actually named
34498 something starting with __ and the normal name is an alias. */
34499 #if defined __stub_$ac_func || defined __stub___$ac_func
34500 choke me
34501 #endif
34502
34503 int
34504 main ()
34505 {
34506 return $ac_func ();
34507 ;
34508 return 0;
34509 }
34510 _ACEOF
34511 rm -f conftest.$ac_objext conftest$ac_exeext
34512 if { (ac_try="$ac_link"
34513 case "(($ac_try" in
34514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34515 *) ac_try_echo=$ac_try;;
34516 esac
34517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34518 (eval "$ac_link") 2>conftest.er1
34519 ac_status=$?
34520 grep -v '^ *+' conftest.er1 >conftest.err
34521 rm -f conftest.er1
34522 cat conftest.err >&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); } && {
34525 test -z "$ac_c_werror_flag" ||
34526 test ! -s conftest.err
34527 } && test -s conftest$ac_exeext &&
34528 $as_test_x conftest$ac_exeext; then
34529 eval "$as_ac_var=yes"
34530 else
34531 echo "$as_me: failed program was:" >&5
34532 sed 's/^/| /' conftest.$ac_ext >&5
34533
34534 eval "$as_ac_var=no"
34535 fi
34536
34537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34538 conftest$ac_exeext conftest.$ac_ext
34539 fi
34540 ac_res=`eval echo '${'$as_ac_var'}'`
34541 { echo "$as_me:$LINENO: result: $ac_res" >&5
34542 echo "${ECHO_T}$ac_res" >&6; }
34543 if test `eval echo '${'$as_ac_var'}'` = yes; then
34544 cat >>confdefs.h <<_ACEOF
34545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34546 _ACEOF
34547
34548 fi
34549 done
34550
34551
34552 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34553 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34554 fi
34555
34556 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34557 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34558 if test "${ac_cv_type_mbstate_t+set}" = set; then
34559 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 else
34561 cat >conftest.$ac_ext <<_ACEOF
34562 /* confdefs.h. */
34563 _ACEOF
34564 cat confdefs.h >>conftest.$ac_ext
34565 cat >>conftest.$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34567 #include <wchar.h>
34568
34569 typedef mbstate_t ac__type_new_;
34570 int
34571 main ()
34572 {
34573 if ((ac__type_new_ *) 0)
34574 return 0;
34575 if (sizeof (ac__type_new_))
34576 return 0;
34577 ;
34578 return 0;
34579 }
34580 _ACEOF
34581 rm -f conftest.$ac_objext
34582 if { (ac_try="$ac_compile"
34583 case "(($ac_try" in
34584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34585 *) ac_try_echo=$ac_try;;
34586 esac
34587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34588 (eval "$ac_compile") 2>conftest.er1
34589 ac_status=$?
34590 grep -v '^ *+' conftest.er1 >conftest.err
34591 rm -f conftest.er1
34592 cat conftest.err >&5
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); } && {
34595 test -z "$ac_c_werror_flag" ||
34596 test ! -s conftest.err
34597 } && test -s conftest.$ac_objext; then
34598 ac_cv_type_mbstate_t=yes
34599 else
34600 echo "$as_me: failed program was:" >&5
34601 sed 's/^/| /' conftest.$ac_ext >&5
34602
34603 ac_cv_type_mbstate_t=no
34604 fi
34605
34606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34607 fi
34608 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34609 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34610 if test $ac_cv_type_mbstate_t = yes; then
34611
34612 cat >>confdefs.h <<_ACEOF
34613 #define HAVE_MBSTATE_T 1
34614 _ACEOF
34615
34616
34617 for ac_func in wcsrtombs
34618 do
34619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34622 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34623 echo $ECHO_N "(cached) $ECHO_C" >&6
34624 else
34625 cat >conftest.$ac_ext <<_ACEOF
34626 /* confdefs.h. */
34627 _ACEOF
34628 cat confdefs.h >>conftest.$ac_ext
34629 cat >>conftest.$ac_ext <<_ACEOF
34630 /* end confdefs.h. */
34631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34633 #define $ac_func innocuous_$ac_func
34634
34635 /* System header to define __stub macros and hopefully few prototypes,
34636 which can conflict with char $ac_func (); below.
34637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34638 <limits.h> exists even on freestanding compilers. */
34639
34640 #ifdef __STDC__
34641 # include <limits.h>
34642 #else
34643 # include <assert.h>
34644 #endif
34645
34646 #undef $ac_func
34647
34648 /* Override any GCC internal prototype to avoid an error.
34649 Use char because int might match the return type of a GCC
34650 builtin and then its argument prototype would still apply. */
34651 #ifdef __cplusplus
34652 extern "C"
34653 #endif
34654 char $ac_func ();
34655 /* The GNU C library defines this for functions which it implements
34656 to always fail with ENOSYS. Some functions are actually named
34657 something starting with __ and the normal name is an alias. */
34658 #if defined __stub_$ac_func || defined __stub___$ac_func
34659 choke me
34660 #endif
34661
34662 int
34663 main ()
34664 {
34665 return $ac_func ();
34666 ;
34667 return 0;
34668 }
34669 _ACEOF
34670 rm -f conftest.$ac_objext conftest$ac_exeext
34671 if { (ac_try="$ac_link"
34672 case "(($ac_try" in
34673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34674 *) ac_try_echo=$ac_try;;
34675 esac
34676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34677 (eval "$ac_link") 2>conftest.er1
34678 ac_status=$?
34679 grep -v '^ *+' conftest.er1 >conftest.err
34680 rm -f conftest.er1
34681 cat conftest.err >&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } && {
34684 test -z "$ac_c_werror_flag" ||
34685 test ! -s conftest.err
34686 } && test -s conftest$ac_exeext &&
34687 $as_test_x conftest$ac_exeext; then
34688 eval "$as_ac_var=yes"
34689 else
34690 echo "$as_me: failed program was:" >&5
34691 sed 's/^/| /' conftest.$ac_ext >&5
34692
34693 eval "$as_ac_var=no"
34694 fi
34695
34696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34697 conftest$ac_exeext conftest.$ac_ext
34698 fi
34699 ac_res=`eval echo '${'$as_ac_var'}'`
34700 { echo "$as_me:$LINENO: result: $ac_res" >&5
34701 echo "${ECHO_T}$ac_res" >&6; }
34702 if test `eval echo '${'$as_ac_var'}'` = yes; then
34703 cat >>confdefs.h <<_ACEOF
34704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34705 _ACEOF
34706
34707 fi
34708 done
34709
34710 fi
34711
34712 else
34713 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34714 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34715 fi
34716
34717
34718
34719 for ac_func in snprintf vsnprintf
34720 do
34721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 else
34727 cat >conftest.$ac_ext <<_ACEOF
34728 /* confdefs.h. */
34729 _ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34735 #define $ac_func innocuous_$ac_func
34736
34737 /* System header to define __stub macros and hopefully few prototypes,
34738 which can conflict with char $ac_func (); below.
34739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34740 <limits.h> exists even on freestanding compilers. */
34741
34742 #ifdef __STDC__
34743 # include <limits.h>
34744 #else
34745 # include <assert.h>
34746 #endif
34747
34748 #undef $ac_func
34749
34750 /* Override any GCC internal prototype to avoid an error.
34751 Use char because int might match the return type of a GCC
34752 builtin and then its argument prototype would still apply. */
34753 #ifdef __cplusplus
34754 extern "C"
34755 #endif
34756 char $ac_func ();
34757 /* The GNU C library defines this for functions which it implements
34758 to always fail with ENOSYS. Some functions are actually named
34759 something starting with __ and the normal name is an alias. */
34760 #if defined __stub_$ac_func || defined __stub___$ac_func
34761 choke me
34762 #endif
34763
34764 int
34765 main ()
34766 {
34767 return $ac_func ();
34768 ;
34769 return 0;
34770 }
34771 _ACEOF
34772 rm -f conftest.$ac_objext conftest$ac_exeext
34773 if { (ac_try="$ac_link"
34774 case "(($ac_try" in
34775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34776 *) ac_try_echo=$ac_try;;
34777 esac
34778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34779 (eval "$ac_link") 2>conftest.er1
34780 ac_status=$?
34781 grep -v '^ *+' conftest.er1 >conftest.err
34782 rm -f conftest.er1
34783 cat conftest.err >&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } && {
34786 test -z "$ac_c_werror_flag" ||
34787 test ! -s conftest.err
34788 } && test -s conftest$ac_exeext &&
34789 $as_test_x conftest$ac_exeext; then
34790 eval "$as_ac_var=yes"
34791 else
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.$ac_ext >&5
34794
34795 eval "$as_ac_var=no"
34796 fi
34797
34798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34799 conftest$ac_exeext conftest.$ac_ext
34800 fi
34801 ac_res=`eval echo '${'$as_ac_var'}'`
34802 { echo "$as_me:$LINENO: result: $ac_res" >&5
34803 echo "${ECHO_T}$ac_res" >&6; }
34804 if test `eval echo '${'$as_ac_var'}'` = yes; then
34805 cat >>confdefs.h <<_ACEOF
34806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34807 _ACEOF
34808
34809 fi
34810 done
34811
34812
34813 if test "$ac_cv_func_vsnprintf" = "yes"; then
34814 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34815 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34816 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 else
34819
34820 cat >conftest.$ac_ext <<_ACEOF
34821 /* confdefs.h. */
34822 _ACEOF
34823 cat confdefs.h >>conftest.$ac_ext
34824 cat >>conftest.$ac_ext <<_ACEOF
34825 /* end confdefs.h. */
34826
34827 #include <stdio.h>
34828 #include <stdarg.h>
34829 #ifdef __MSL__
34830 #if __MSL__ >= 0x6000
34831 namespace std {}
34832 using namespace std;
34833 #endif
34834 #endif
34835
34836 int
34837 main ()
34838 {
34839
34840 char *buf;
34841 va_list ap;
34842 vsnprintf(buf, 10u, "%s", ap);
34843
34844 ;
34845 return 0;
34846 }
34847 _ACEOF
34848 rm -f conftest.$ac_objext
34849 if { (ac_try="$ac_compile"
34850 case "(($ac_try" in
34851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34852 *) ac_try_echo=$ac_try;;
34853 esac
34854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34855 (eval "$ac_compile") 2>conftest.er1
34856 ac_status=$?
34857 grep -v '^ *+' conftest.er1 >conftest.err
34858 rm -f conftest.er1
34859 cat conftest.err >&5
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); } && {
34862 test -z "$ac_c_werror_flag" ||
34863 test ! -s conftest.err
34864 } && test -s conftest.$ac_objext; then
34865 wx_cv_func_vsnprintf_decl=yes
34866 else
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.$ac_ext >&5
34869
34870 wx_cv_func_vsnprintf_decl=no
34871
34872 fi
34873
34874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34875
34876
34877 fi
34878 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34879 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34880
34881 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34882 cat >>confdefs.h <<\_ACEOF
34883 #define HAVE_VSNPRINTF_DECL 1
34884 _ACEOF
34885
34886
34887 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34888 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34889 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34890 echo $ECHO_N "(cached) $ECHO_C" >&6
34891 else
34892
34893 cat >conftest.$ac_ext <<_ACEOF
34894 /* confdefs.h. */
34895 _ACEOF
34896 cat confdefs.h >>conftest.$ac_ext
34897 cat >>conftest.$ac_ext <<_ACEOF
34898 /* end confdefs.h. */
34899
34900 #include <stdio.h>
34901 #include <stdarg.h>
34902 #ifdef __MSL__
34903 #if __MSL__ >= 0x6000
34904 namespace std {}
34905 using namespace std;
34906 #endif
34907 #endif
34908
34909 int
34910 main ()
34911 {
34912
34913 char *buf;
34914 va_list ap;
34915 const char *fmt = "%s";
34916 vsnprintf(buf, 10u, fmt, ap);
34917
34918 ;
34919 return 0;
34920 }
34921 _ACEOF
34922 rm -f conftest.$ac_objext
34923 if { (ac_try="$ac_compile"
34924 case "(($ac_try" in
34925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34926 *) ac_try_echo=$ac_try;;
34927 esac
34928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 (eval "$ac_compile") 2>conftest.er1
34930 ac_status=$?
34931 grep -v '^ *+' conftest.er1 >conftest.err
34932 rm -f conftest.er1
34933 cat conftest.err >&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } && {
34936 test -z "$ac_c_werror_flag" ||
34937 test ! -s conftest.err
34938 } && test -s conftest.$ac_objext; then
34939 wx_cv_func_broken_vsnprintf_decl=no
34940 else
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.$ac_ext >&5
34943
34944 wx_cv_func_broken_vsnprintf_decl=yes
34945
34946 fi
34947
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34949
34950
34951 fi
34952 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34953 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34954
34955 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34956 cat >>confdefs.h <<\_ACEOF
34957 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34958 _ACEOF
34959
34960 fi
34961 fi
34962 fi
34963
34964 if test "$ac_cv_func_snprintf" = "yes"; then
34965 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34966 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34967 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34968 echo $ECHO_N "(cached) $ECHO_C" >&6
34969 else
34970
34971 cat >conftest.$ac_ext <<_ACEOF
34972 /* confdefs.h. */
34973 _ACEOF
34974 cat confdefs.h >>conftest.$ac_ext
34975 cat >>conftest.$ac_ext <<_ACEOF
34976 /* end confdefs.h. */
34977
34978 #include <stdio.h>
34979 #include <stdarg.h>
34980 #ifdef __MSL__
34981 #if __MSL__ >= 0x6000
34982 namespace std {}
34983 using namespace std;
34984 #endif
34985 #endif
34986
34987 int
34988 main ()
34989 {
34990
34991 char *buf;
34992 snprintf(buf, 10u, "%s", "wx");
34993
34994 ;
34995 return 0;
34996 }
34997 _ACEOF
34998 rm -f conftest.$ac_objext
34999 if { (ac_try="$ac_compile"
35000 case "(($ac_try" in
35001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35002 *) ac_try_echo=$ac_try;;
35003 esac
35004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35005 (eval "$ac_compile") 2>conftest.er1
35006 ac_status=$?
35007 grep -v '^ *+' conftest.er1 >conftest.err
35008 rm -f conftest.er1
35009 cat conftest.err >&5
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); } && {
35012 test -z "$ac_c_werror_flag" ||
35013 test ! -s conftest.err
35014 } && test -s conftest.$ac_objext; then
35015 wx_cv_func_snprintf_decl=yes
35016 else
35017 echo "$as_me: failed program was:" >&5
35018 sed 's/^/| /' conftest.$ac_ext >&5
35019
35020 wx_cv_func_snprintf_decl=no
35021
35022 fi
35023
35024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35025
35026
35027 fi
35028 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35029 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35030
35031 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35032 cat >>confdefs.h <<\_ACEOF
35033 #define HAVE_SNPRINTF_DECL 1
35034 _ACEOF
35035
35036 fi
35037
35038 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35039
35040 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35041 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35042 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35044 else
35045
35046 if test "$cross_compiling" = yes; then
35047
35048 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35049 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35050 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35051 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35052 wx_cv_func_snprintf_pos_params=no
35053
35054
35055 else
35056 cat >conftest.$ac_ext <<_ACEOF
35057 /* confdefs.h. */
35058 _ACEOF
35059 cat confdefs.h >>conftest.$ac_ext
35060 cat >>conftest.$ac_ext <<_ACEOF
35061 /* end confdefs.h. */
35062
35063 #include <stdio.h>
35064
35065 int main (void)
35066 {
35067 char buffer[128];
35068 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35069 if (strcmp ("2 3 1", buffer) == 0)
35070 exit (0);
35071 exit (1);
35072 }
35073
35074 _ACEOF
35075 rm -f conftest$ac_exeext
35076 if { (ac_try="$ac_link"
35077 case "(($ac_try" in
35078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35079 *) ac_try_echo=$ac_try;;
35080 esac
35081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35082 (eval "$ac_link") 2>&5
35083 ac_status=$?
35084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35086 { (case "(($ac_try" in
35087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35088 *) ac_try_echo=$ac_try;;
35089 esac
35090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35091 (eval "$ac_try") 2>&5
35092 ac_status=$?
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; }; then
35095 wx_cv_func_snprintf_pos_params=no
35096 else
35097 echo "$as_me: program exited with status $ac_status" >&5
35098 echo "$as_me: failed program was:" >&5
35099 sed 's/^/| /' conftest.$ac_ext >&5
35100
35101 ( exit $ac_status )
35102 wx_cv_func_snprintf_pos_params=yes
35103 fi
35104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35105 fi
35106
35107
35108
35109
35110 fi
35111 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35112 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35113
35114 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35115 cat >>confdefs.h <<\_ACEOF
35116 #define HAVE_UNIX98_PRINTF 1
35117 _ACEOF
35118
35119 fi
35120 fi
35121 fi
35122
35123 if test "$wxUSE_UNICODE" = yes; then
35124
35125 wchar_headers="#include <stdio.h>
35126 #include <wchar.h>"
35127 case "${host}" in
35128 *-*-solaris2* )
35129
35130 for ac_header in widec.h
35131 do
35132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35136 echo $ECHO_N "(cached) $ECHO_C" >&6
35137 else
35138 cat >conftest.$ac_ext <<_ACEOF
35139 /* confdefs.h. */
35140 _ACEOF
35141 cat confdefs.h >>conftest.$ac_ext
35142 cat >>conftest.$ac_ext <<_ACEOF
35143 /* end confdefs.h. */
35144 $ac_includes_default
35145
35146 #include <$ac_header>
35147 _ACEOF
35148 rm -f conftest.$ac_objext
35149 if { (ac_try="$ac_compile"
35150 case "(($ac_try" in
35151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35152 *) ac_try_echo=$ac_try;;
35153 esac
35154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35155 (eval "$ac_compile") 2>conftest.er1
35156 ac_status=$?
35157 grep -v '^ *+' conftest.er1 >conftest.err
35158 rm -f conftest.er1
35159 cat conftest.err >&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); } && {
35162 test -z "$ac_c_werror_flag" ||
35163 test ! -s conftest.err
35164 } && test -s conftest.$ac_objext; then
35165 eval "$as_ac_Header=yes"
35166 else
35167 echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.$ac_ext >&5
35169
35170 eval "$as_ac_Header=no"
35171 fi
35172
35173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35174 fi
35175 ac_res=`eval echo '${'$as_ac_Header'}'`
35176 { echo "$as_me:$LINENO: result: $ac_res" >&5
35177 echo "${ECHO_T}$ac_res" >&6; }
35178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35179 cat >>confdefs.h <<_ACEOF
35180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35181 _ACEOF
35182
35183 fi
35184
35185 done
35186
35187 if test "$ac_cv_header_widec_h" = "yes"; then
35188 wchar_headers="$wchar_headers
35189 #include <widec.h>"
35190 fi
35191 esac
35192
35193
35194 for wx_func in putws fputws wprintf vswprintf
35195 do
35196 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35197 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35198 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35199 echo $ECHO_N "(cached) $ECHO_C" >&6
35200 else
35201
35202 cat >conftest.$ac_ext <<_ACEOF
35203
35204 /* confdefs.h. */
35205 _ACEOF
35206 cat confdefs.h >>conftest.$ac_ext
35207 cat >>conftest.$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35209
35210 $wchar_headers
35211 $ac_includes_default
35212
35213 int
35214 main ()
35215 {
35216
35217 #ifndef $wx_func
35218 &$wx_func;
35219 #endif
35220
35221
35222 ;
35223 return 0;
35224 }
35225
35226 _ACEOF
35227 rm -f conftest.$ac_objext conftest$ac_exeext
35228 if { (ac_try="$ac_link"
35229 case "(($ac_try" in
35230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35231 *) ac_try_echo=$ac_try;;
35232 esac
35233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35234 (eval "$ac_link") 2>conftest.er1
35235 ac_status=$?
35236 grep -v '^ *+' conftest.er1 >conftest.err
35237 rm -f conftest.er1
35238 cat conftest.err >&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); } && {
35241 test -z "$ac_c_werror_flag" ||
35242 test ! -s conftest.err
35243 } && test -s conftest$ac_exeext &&
35244 $as_test_x conftest$ac_exeext; then
35245 eval wx_cv_func_$wx_func=yes
35246 else
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.$ac_ext >&5
35249
35250 eval wx_cv_func_$wx_func=no
35251 fi
35252
35253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35254 conftest$ac_exeext conftest.$ac_ext
35255
35256 fi
35257 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35258 { echo "$as_me:$LINENO: result: $ac_res" >&5
35259 echo "${ECHO_T}$ac_res" >&6; }
35260
35261 if eval test \$wx_cv_func_$wx_func = yes
35262 then
35263 cat >>confdefs.h <<_ACEOF
35264 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35265 _ACEOF
35266
35267
35268 else
35269 :
35270
35271 fi
35272 done
35273
35274
35275 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35276 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35277 cat >conftest.$ac_ext <<_ACEOF
35278 /* confdefs.h. */
35279 _ACEOF
35280 cat confdefs.h >>conftest.$ac_ext
35281 cat >>conftest.$ac_ext <<_ACEOF
35282 /* end confdefs.h. */
35283 #include <wchar.h>
35284 int
35285 main ()
35286 {
35287 &_vsnwprintf;
35288 ;
35289 return 0;
35290 }
35291 _ACEOF
35292 rm -f conftest.$ac_objext
35293 if { (ac_try="$ac_compile"
35294 case "(($ac_try" in
35295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35296 *) ac_try_echo=$ac_try;;
35297 esac
35298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35299 (eval "$ac_compile") 2>conftest.er1
35300 ac_status=$?
35301 grep -v '^ *+' conftest.er1 >conftest.err
35302 rm -f conftest.er1
35303 cat conftest.err >&5
35304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35305 (exit $ac_status); } && {
35306 test -z "$ac_c_werror_flag" ||
35307 test ! -s conftest.err
35308 } && test -s conftest.$ac_objext; then
35309 { echo "$as_me:$LINENO: result: yes" >&5
35310 echo "${ECHO_T}yes" >&6; }
35311 cat >>confdefs.h <<\_ACEOF
35312 #define HAVE__VSNWPRINTF 1
35313 _ACEOF
35314
35315 else
35316 echo "$as_me: failed program was:" >&5
35317 sed 's/^/| /' conftest.$ac_ext >&5
35318
35319 { echo "$as_me:$LINENO: result: no" >&5
35320 echo "${ECHO_T}no" >&6; }
35321 fi
35322
35323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35324 fi
35325
35326 if test "$wxUSE_FILE" = "yes"; then
35327
35328 for wx_func in fsync
35329 do
35330 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35331 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35332 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 else
35335
35336 cat >conftest.$ac_ext <<_ACEOF
35337
35338 /* confdefs.h. */
35339 _ACEOF
35340 cat confdefs.h >>conftest.$ac_ext
35341 cat >>conftest.$ac_ext <<_ACEOF
35342 /* end confdefs.h. */
35343
35344
35345 $ac_includes_default
35346
35347 int
35348 main ()
35349 {
35350
35351 #ifndef $wx_func
35352 &$wx_func;
35353 #endif
35354
35355
35356 ;
35357 return 0;
35358 }
35359
35360 _ACEOF
35361 rm -f conftest.$ac_objext conftest$ac_exeext
35362 if { (ac_try="$ac_link"
35363 case "(($ac_try" in
35364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35365 *) ac_try_echo=$ac_try;;
35366 esac
35367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35368 (eval "$ac_link") 2>conftest.er1
35369 ac_status=$?
35370 grep -v '^ *+' conftest.er1 >conftest.err
35371 rm -f conftest.er1
35372 cat conftest.err >&5
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); } && {
35375 test -z "$ac_c_werror_flag" ||
35376 test ! -s conftest.err
35377 } && test -s conftest$ac_exeext &&
35378 $as_test_x conftest$ac_exeext; then
35379 eval wx_cv_func_$wx_func=yes
35380 else
35381 echo "$as_me: failed program was:" >&5
35382 sed 's/^/| /' conftest.$ac_ext >&5
35383
35384 eval wx_cv_func_$wx_func=no
35385 fi
35386
35387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35388 conftest$ac_exeext conftest.$ac_ext
35389
35390 fi
35391 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35392 { echo "$as_me:$LINENO: result: $ac_res" >&5
35393 echo "${ECHO_T}$ac_res" >&6; }
35394
35395 if eval test \$wx_cv_func_$wx_func = yes
35396 then
35397 cat >>confdefs.h <<_ACEOF
35398 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35399 _ACEOF
35400
35401
35402 else
35403 :
35404
35405 fi
35406 done
35407
35408 fi
35409
35410 ac_ext=cpp
35411 ac_cpp='$CXXCPP $CPPFLAGS'
35412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35415
35416
35417 for wx_func in round
35418 do
35419 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35420 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35421 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35422 echo $ECHO_N "(cached) $ECHO_C" >&6
35423 else
35424
35425 cat >conftest.$ac_ext <<_ACEOF
35426
35427 /* confdefs.h. */
35428 _ACEOF
35429 cat confdefs.h >>conftest.$ac_ext
35430 cat >>conftest.$ac_ext <<_ACEOF
35431 /* end confdefs.h. */
35432
35433 #include <math.h>
35434 $ac_includes_default
35435
35436 int
35437 main ()
35438 {
35439
35440 #ifndef $wx_func
35441 &$wx_func;
35442 #endif
35443
35444
35445 ;
35446 return 0;
35447 }
35448
35449 _ACEOF
35450 rm -f conftest.$ac_objext conftest$ac_exeext
35451 if { (ac_try="$ac_link"
35452 case "(($ac_try" in
35453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35454 *) ac_try_echo=$ac_try;;
35455 esac
35456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35457 (eval "$ac_link") 2>conftest.er1
35458 ac_status=$?
35459 grep -v '^ *+' conftest.er1 >conftest.err
35460 rm -f conftest.er1
35461 cat conftest.err >&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } && {
35464 test -z "$ac_cxx_werror_flag" ||
35465 test ! -s conftest.err
35466 } && test -s conftest$ac_exeext &&
35467 $as_test_x conftest$ac_exeext; then
35468 eval wx_cv_func_$wx_func=yes
35469 else
35470 echo "$as_me: failed program was:" >&5
35471 sed 's/^/| /' conftest.$ac_ext >&5
35472
35473 eval wx_cv_func_$wx_func=no
35474 fi
35475
35476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35477 conftest$ac_exeext conftest.$ac_ext
35478
35479 fi
35480 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35481 { echo "$as_me:$LINENO: result: $ac_res" >&5
35482 echo "${ECHO_T}$ac_res" >&6; }
35483
35484 if eval test \$wx_cv_func_$wx_func = yes
35485 then
35486 cat >>confdefs.h <<_ACEOF
35487 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35488 _ACEOF
35489
35490
35491 else
35492 :
35493
35494 fi
35495 done
35496
35497 ac_ext=c
35498 ac_cpp='$CPP $CPPFLAGS'
35499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35502
35503
35504 if test "$TOOLKIT" != "MSW"; then
35505
35506
35507
35508
35509
35510 # Check whether --with-libiconv-prefix was given.
35511 if test "${with_libiconv_prefix+set}" = set; then
35512 withval=$with_libiconv_prefix;
35513 for dir in `echo "$withval" | tr : ' '`; do
35514 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35515 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35516 done
35517
35518 fi
35519
35520
35521 { echo "$as_me:$LINENO: checking for iconv" >&5
35522 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35523 if test "${am_cv_func_iconv+set}" = set; then
35524 echo $ECHO_N "(cached) $ECHO_C" >&6
35525 else
35526
35527 am_cv_func_iconv="no, consider installing GNU libiconv"
35528 am_cv_lib_iconv=no
35529 cat >conftest.$ac_ext <<_ACEOF
35530 /* confdefs.h. */
35531 _ACEOF
35532 cat confdefs.h >>conftest.$ac_ext
35533 cat >>conftest.$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35535 #include <stdlib.h>
35536 #include <iconv.h>
35537 int
35538 main ()
35539 {
35540 iconv_t cd = iconv_open("","");
35541 iconv(cd,NULL,NULL,NULL,NULL);
35542 iconv_close(cd);
35543 ;
35544 return 0;
35545 }
35546 _ACEOF
35547 rm -f conftest.$ac_objext conftest$ac_exeext
35548 if { (ac_try="$ac_link"
35549 case "(($ac_try" in
35550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35551 *) ac_try_echo=$ac_try;;
35552 esac
35553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35554 (eval "$ac_link") 2>conftest.er1
35555 ac_status=$?
35556 grep -v '^ *+' conftest.er1 >conftest.err
35557 rm -f conftest.er1
35558 cat conftest.err >&5
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); } && {
35561 test -z "$ac_c_werror_flag" ||
35562 test ! -s conftest.err
35563 } && test -s conftest$ac_exeext &&
35564 $as_test_x conftest$ac_exeext; then
35565 am_cv_func_iconv=yes
35566 else
35567 echo "$as_me: failed program was:" >&5
35568 sed 's/^/| /' conftest.$ac_ext >&5
35569
35570
35571 fi
35572
35573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35574 conftest$ac_exeext conftest.$ac_ext
35575 if test "$am_cv_func_iconv" != yes; then
35576 am_save_LIBS="$LIBS"
35577 LIBS="$LIBS -liconv"
35578 cat >conftest.$ac_ext <<_ACEOF
35579 /* confdefs.h. */
35580 _ACEOF
35581 cat confdefs.h >>conftest.$ac_ext
35582 cat >>conftest.$ac_ext <<_ACEOF
35583 /* end confdefs.h. */
35584 #include <stdlib.h>
35585 #include <iconv.h>
35586 int
35587 main ()
35588 {
35589 iconv_t cd = iconv_open("","");
35590 iconv(cd,NULL,NULL,NULL,NULL);
35591 iconv_close(cd);
35592 ;
35593 return 0;
35594 }
35595 _ACEOF
35596 rm -f conftest.$ac_objext conftest$ac_exeext
35597 if { (ac_try="$ac_link"
35598 case "(($ac_try" in
35599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35600 *) ac_try_echo=$ac_try;;
35601 esac
35602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35603 (eval "$ac_link") 2>conftest.er1
35604 ac_status=$?
35605 grep -v '^ *+' conftest.er1 >conftest.err
35606 rm -f conftest.er1
35607 cat conftest.err >&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); } && {
35610 test -z "$ac_c_werror_flag" ||
35611 test ! -s conftest.err
35612 } && test -s conftest$ac_exeext &&
35613 $as_test_x conftest$ac_exeext; then
35614 am_cv_lib_iconv=yes
35615 am_cv_func_iconv=yes
35616 else
35617 echo "$as_me: failed program was:" >&5
35618 sed 's/^/| /' conftest.$ac_ext >&5
35619
35620
35621 fi
35622
35623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35624 conftest$ac_exeext conftest.$ac_ext
35625 LIBS="$am_save_LIBS"
35626 fi
35627
35628 fi
35629 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35630 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35631 if test "$am_cv_func_iconv" = yes; then
35632
35633 cat >>confdefs.h <<\_ACEOF
35634 #define HAVE_ICONV 1
35635 _ACEOF
35636
35637 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35638 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35639 if test "${wx_cv_func_iconv_const+set}" = set; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 else
35642 cat >conftest.$ac_ext <<_ACEOF
35643 /* confdefs.h. */
35644 _ACEOF
35645 cat confdefs.h >>conftest.$ac_ext
35646 cat >>conftest.$ac_ext <<_ACEOF
35647 /* end confdefs.h. */
35648
35649 #include <stdlib.h>
35650 #include <iconv.h>
35651 extern
35652 #ifdef __cplusplus
35653 "C"
35654 #endif
35655 #if defined(__STDC__) || defined(__cplusplus)
35656 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35657 #else
35658 size_t iconv();
35659 #endif
35660
35661 int
35662 main ()
35663 {
35664
35665 ;
35666 return 0;
35667 }
35668 _ACEOF
35669 rm -f conftest.$ac_objext
35670 if { (ac_try="$ac_compile"
35671 case "(($ac_try" in
35672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35673 *) ac_try_echo=$ac_try;;
35674 esac
35675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35676 (eval "$ac_compile") 2>conftest.er1
35677 ac_status=$?
35678 grep -v '^ *+' conftest.er1 >conftest.err
35679 rm -f conftest.er1
35680 cat conftest.err >&5
35681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35682 (exit $ac_status); } && {
35683 test -z "$ac_c_werror_flag" ||
35684 test ! -s conftest.err
35685 } && test -s conftest.$ac_objext; then
35686 wx_cv_func_iconv_const="no"
35687 else
35688 echo "$as_me: failed program was:" >&5
35689 sed 's/^/| /' conftest.$ac_ext >&5
35690
35691 wx_cv_func_iconv_const="yes"
35692
35693 fi
35694
35695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35696
35697 fi
35698 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35699 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35700
35701 iconv_const=
35702 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35703 iconv_const="const"
35704 fi
35705
35706
35707 cat >>confdefs.h <<_ACEOF
35708 #define ICONV_CONST $iconv_const
35709 _ACEOF
35710
35711 fi
35712 LIBICONV=
35713 if test "$am_cv_lib_iconv" = yes; then
35714 LIBICONV="-liconv"
35715 fi
35716
35717
35718 LIBS="$LIBICONV $LIBS"
35719
35720 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35721
35722 for ac_func in sigaction
35723 do
35724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 else
35730 cat >conftest.$ac_ext <<_ACEOF
35731 /* confdefs.h. */
35732 _ACEOF
35733 cat confdefs.h >>conftest.$ac_ext
35734 cat >>conftest.$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35738 #define $ac_func innocuous_$ac_func
35739
35740 /* System header to define __stub macros and hopefully few prototypes,
35741 which can conflict with char $ac_func (); below.
35742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35743 <limits.h> exists even on freestanding compilers. */
35744
35745 #ifdef __STDC__
35746 # include <limits.h>
35747 #else
35748 # include <assert.h>
35749 #endif
35750
35751 #undef $ac_func
35752
35753 /* Override any GCC internal prototype to avoid an error.
35754 Use char because int might match the return type of a GCC
35755 builtin and then its argument prototype would still apply. */
35756 #ifdef __cplusplus
35757 extern "C"
35758 #endif
35759 char $ac_func ();
35760 /* The GNU C library defines this for functions which it implements
35761 to always fail with ENOSYS. Some functions are actually named
35762 something starting with __ and the normal name is an alias. */
35763 #if defined __stub_$ac_func || defined __stub___$ac_func
35764 choke me
35765 #endif
35766
35767 int
35768 main ()
35769 {
35770 return $ac_func ();
35771 ;
35772 return 0;
35773 }
35774 _ACEOF
35775 rm -f conftest.$ac_objext conftest$ac_exeext
35776 if { (ac_try="$ac_link"
35777 case "(($ac_try" in
35778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35779 *) ac_try_echo=$ac_try;;
35780 esac
35781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35782 (eval "$ac_link") 2>conftest.er1
35783 ac_status=$?
35784 grep -v '^ *+' conftest.er1 >conftest.err
35785 rm -f conftest.er1
35786 cat conftest.err >&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } && {
35789 test -z "$ac_c_werror_flag" ||
35790 test ! -s conftest.err
35791 } && test -s conftest$ac_exeext &&
35792 $as_test_x conftest$ac_exeext; then
35793 eval "$as_ac_var=yes"
35794 else
35795 echo "$as_me: failed program was:" >&5
35796 sed 's/^/| /' conftest.$ac_ext >&5
35797
35798 eval "$as_ac_var=no"
35799 fi
35800
35801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35802 conftest$ac_exeext conftest.$ac_ext
35803 fi
35804 ac_res=`eval echo '${'$as_ac_var'}'`
35805 { echo "$as_me:$LINENO: result: $ac_res" >&5
35806 echo "${ECHO_T}$ac_res" >&6; }
35807 if test `eval echo '${'$as_ac_var'}'` = yes; then
35808 cat >>confdefs.h <<_ACEOF
35809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35810 _ACEOF
35811
35812 fi
35813 done
35814
35815
35816 if test "$ac_cv_func_sigaction" = "no"; then
35817 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35818 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35819 wxUSE_ON_FATAL_EXCEPTION=no
35820 fi
35821
35822 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35823 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35824 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35825 if test "${wx_cv_type_sa_handler+set}" = set; then
35826 echo $ECHO_N "(cached) $ECHO_C" >&6
35827 else
35828
35829 ac_ext=cpp
35830 ac_cpp='$CXXCPP $CPPFLAGS'
35831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35834
35835 cat >conftest.$ac_ext <<_ACEOF
35836 /* confdefs.h. */
35837 _ACEOF
35838 cat confdefs.h >>conftest.$ac_ext
35839 cat >>conftest.$ac_ext <<_ACEOF
35840 /* end confdefs.h. */
35841 #include <signal.h>
35842 int
35843 main ()
35844 {
35845
35846 extern void testSigHandler(int);
35847
35848 struct sigaction sa;
35849 sa.sa_handler = testSigHandler;
35850
35851 ;
35852 return 0;
35853 }
35854 _ACEOF
35855 rm -f conftest.$ac_objext
35856 if { (ac_try="$ac_compile"
35857 case "(($ac_try" in
35858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35859 *) ac_try_echo=$ac_try;;
35860 esac
35861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35862 (eval "$ac_compile") 2>conftest.er1
35863 ac_status=$?
35864 grep -v '^ *+' conftest.er1 >conftest.err
35865 rm -f conftest.er1
35866 cat conftest.err >&5
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); } && {
35869 test -z "$ac_cxx_werror_flag" ||
35870 test ! -s conftest.err
35871 } && test -s conftest.$ac_objext; then
35872
35873 wx_cv_type_sa_handler=int
35874
35875 else
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.$ac_ext >&5
35878
35879
35880 wx_cv_type_sa_handler=void
35881
35882 fi
35883
35884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35885 ac_ext=c
35886 ac_cpp='$CPP $CPPFLAGS'
35887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35890
35891
35892 fi
35893 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35894 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35895
35896 cat >>confdefs.h <<_ACEOF
35897 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35898 _ACEOF
35899
35900 fi
35901 fi
35902
35903 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35904 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35905 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35906 if test "${wx_cv_func_backtrace+set}" = set; then
35907 echo $ECHO_N "(cached) $ECHO_C" >&6
35908 else
35909
35910 ac_ext=cpp
35911 ac_cpp='$CXXCPP $CPPFLAGS'
35912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35915
35916 cat >conftest.$ac_ext <<_ACEOF
35917 /* confdefs.h. */
35918 _ACEOF
35919 cat confdefs.h >>conftest.$ac_ext
35920 cat >>conftest.$ac_ext <<_ACEOF
35921 /* end confdefs.h. */
35922 #include <execinfo.h>
35923 int
35924 main ()
35925 {
35926
35927 void *trace[1];
35928 char **messages;
35929
35930 backtrace(trace, 1);
35931 messages = backtrace_symbols(trace, 1);
35932
35933 ;
35934 return 0;
35935 }
35936 _ACEOF
35937 rm -f conftest.$ac_objext
35938 if { (ac_try="$ac_compile"
35939 case "(($ac_try" in
35940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35941 *) ac_try_echo=$ac_try;;
35942 esac
35943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35944 (eval "$ac_compile") 2>conftest.er1
35945 ac_status=$?
35946 grep -v '^ *+' conftest.er1 >conftest.err
35947 rm -f conftest.er1
35948 cat conftest.err >&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); } && {
35951 test -z "$ac_cxx_werror_flag" ||
35952 test ! -s conftest.err
35953 } && test -s conftest.$ac_objext; then
35954 wx_cv_func_backtrace=yes
35955 else
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.$ac_ext >&5
35958
35959 wx_cv_func_backtrace=no
35960
35961 fi
35962
35963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35964 ac_ext=c
35965 ac_cpp='$CPP $CPPFLAGS'
35966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35969
35970
35971
35972 fi
35973 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35974 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35975
35976
35977 if test "$wx_cv_func_backtrace" = "no"; then
35978 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35979 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35980 wxUSE_STACKWALKER=no
35981 else
35982 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35983 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35984 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35985 echo $ECHO_N "(cached) $ECHO_C" >&6
35986 else
35987
35988 ac_ext=cpp
35989 ac_cpp='$CXXCPP $CPPFLAGS'
35990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35993
35994 cat >conftest.$ac_ext <<_ACEOF
35995 /* confdefs.h. */
35996 _ACEOF
35997 cat confdefs.h >>conftest.$ac_ext
35998 cat >>conftest.$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000 #include <cxxabi.h>
36001 int
36002 main ()
36003 {
36004
36005 int rc;
36006 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36007
36008 ;
36009 return 0;
36010 }
36011 _ACEOF
36012 rm -f conftest.$ac_objext conftest$ac_exeext
36013 if { (ac_try="$ac_link"
36014 case "(($ac_try" in
36015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36016 *) ac_try_echo=$ac_try;;
36017 esac
36018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36019 (eval "$ac_link") 2>conftest.er1
36020 ac_status=$?
36021 grep -v '^ *+' conftest.er1 >conftest.err
36022 rm -f conftest.er1
36023 cat conftest.err >&5
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); } && {
36026 test -z "$ac_cxx_werror_flag" ||
36027 test ! -s conftest.err
36028 } && test -s conftest$ac_exeext &&
36029 $as_test_x conftest$ac_exeext; then
36030 wx_cv_func_cxa_demangle=yes
36031 else
36032 echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.$ac_ext >&5
36034
36035 wx_cv_func_cxa_demangle=no
36036
36037 fi
36038
36039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36040 conftest$ac_exeext conftest.$ac_ext
36041 ac_ext=c
36042 ac_cpp='$CPP $CPPFLAGS'
36043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36046
36047
36048
36049 fi
36050 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36051 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36052
36053 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36054 cat >>confdefs.h <<\_ACEOF
36055 #define HAVE_CXA_DEMANGLE 1
36056 _ACEOF
36057
36058 fi
36059 fi
36060 fi
36061
36062 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36063 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36064 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36065 wxUSE_STACKWALKER=no
36066 fi
36067
36068
36069
36070
36071 for ac_func in mkstemp mktemp
36072 do
36073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36077 echo $ECHO_N "(cached) $ECHO_C" >&6
36078 else
36079 cat >conftest.$ac_ext <<_ACEOF
36080 /* confdefs.h. */
36081 _ACEOF
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h. */
36085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36087 #define $ac_func innocuous_$ac_func
36088
36089 /* System header to define __stub macros and hopefully few prototypes,
36090 which can conflict with char $ac_func (); below.
36091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36092 <limits.h> exists even on freestanding compilers. */
36093
36094 #ifdef __STDC__
36095 # include <limits.h>
36096 #else
36097 # include <assert.h>
36098 #endif
36099
36100 #undef $ac_func
36101
36102 /* Override any GCC internal prototype to avoid an error.
36103 Use char because int might match the return type of a GCC
36104 builtin and then its argument prototype would still apply. */
36105 #ifdef __cplusplus
36106 extern "C"
36107 #endif
36108 char $ac_func ();
36109 /* The GNU C library defines this for functions which it implements
36110 to always fail with ENOSYS. Some functions are actually named
36111 something starting with __ and the normal name is an alias. */
36112 #if defined __stub_$ac_func || defined __stub___$ac_func
36113 choke me
36114 #endif
36115
36116 int
36117 main ()
36118 {
36119 return $ac_func ();
36120 ;
36121 return 0;
36122 }
36123 _ACEOF
36124 rm -f conftest.$ac_objext conftest$ac_exeext
36125 if { (ac_try="$ac_link"
36126 case "(($ac_try" in
36127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36128 *) ac_try_echo=$ac_try;;
36129 esac
36130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36131 (eval "$ac_link") 2>conftest.er1
36132 ac_status=$?
36133 grep -v '^ *+' conftest.er1 >conftest.err
36134 rm -f conftest.er1
36135 cat conftest.err >&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } && {
36138 test -z "$ac_c_werror_flag" ||
36139 test ! -s conftest.err
36140 } && test -s conftest$ac_exeext &&
36141 $as_test_x conftest$ac_exeext; then
36142 eval "$as_ac_var=yes"
36143 else
36144 echo "$as_me: failed program was:" >&5
36145 sed 's/^/| /' conftest.$ac_ext >&5
36146
36147 eval "$as_ac_var=no"
36148 fi
36149
36150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36151 conftest$ac_exeext conftest.$ac_ext
36152 fi
36153 ac_res=`eval echo '${'$as_ac_var'}'`
36154 { echo "$as_me:$LINENO: result: $ac_res" >&5
36155 echo "${ECHO_T}$ac_res" >&6; }
36156 if test `eval echo '${'$as_ac_var'}'` = yes; then
36157 cat >>confdefs.h <<_ACEOF
36158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36159 _ACEOF
36160 break
36161 fi
36162 done
36163
36164
36165 { echo "$as_me:$LINENO: checking for statfs" >&5
36166 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36167 if test "${wx_cv_func_statfs+set}" = set; then
36168 echo $ECHO_N "(cached) $ECHO_C" >&6
36169 else
36170 cat >conftest.$ac_ext <<_ACEOF
36171 /* confdefs.h. */
36172 _ACEOF
36173 cat confdefs.h >>conftest.$ac_ext
36174 cat >>conftest.$ac_ext <<_ACEOF
36175 /* end confdefs.h. */
36176
36177 #if defined(__BSD__)
36178 #include <sys/param.h>
36179 #include <sys/mount.h>
36180 #else
36181 #include <sys/vfs.h>
36182 #endif
36183
36184 int
36185 main ()
36186 {
36187
36188 long l;
36189 struct statfs fs;
36190 statfs("/", &fs);
36191 l = fs.f_bsize;
36192 l += fs.f_blocks;
36193 l += fs.f_bavail;
36194
36195 ;
36196 return 0;
36197 }
36198 _ACEOF
36199 rm -f conftest.$ac_objext
36200 if { (ac_try="$ac_compile"
36201 case "(($ac_try" in
36202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36203 *) ac_try_echo=$ac_try;;
36204 esac
36205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36206 (eval "$ac_compile") 2>conftest.er1
36207 ac_status=$?
36208 grep -v '^ *+' conftest.er1 >conftest.err
36209 rm -f conftest.er1
36210 cat conftest.err >&5
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); } && {
36213 test -z "$ac_c_werror_flag" ||
36214 test ! -s conftest.err
36215 } && test -s conftest.$ac_objext; then
36216 wx_cv_func_statfs=yes
36217 else
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36220
36221 wx_cv_func_statfs=no
36222
36223 fi
36224
36225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36226
36227 fi
36228 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36229 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36230
36231 if test "$wx_cv_func_statfs" = "yes"; then
36232 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36233 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36234 if test "${wx_cv_func_statfs_decl+set}" = set; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 else
36237 ac_ext=cpp
36238 ac_cpp='$CXXCPP $CPPFLAGS'
36239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36242
36243 cat >conftest.$ac_ext <<_ACEOF
36244 /* confdefs.h. */
36245 _ACEOF
36246 cat confdefs.h >>conftest.$ac_ext
36247 cat >>conftest.$ac_ext <<_ACEOF
36248 /* end confdefs.h. */
36249
36250 #if defined(__BSD__)
36251 #include <sys/param.h>
36252 #include <sys/mount.h>
36253 #else
36254 #include <sys/vfs.h>
36255 #endif
36256
36257 int
36258 main ()
36259 {
36260
36261 struct statfs fs;
36262 statfs("", &fs);
36263
36264 ;
36265 return 0;
36266 }
36267 _ACEOF
36268 rm -f conftest.$ac_objext
36269 if { (ac_try="$ac_compile"
36270 case "(($ac_try" in
36271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36272 *) ac_try_echo=$ac_try;;
36273 esac
36274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36275 (eval "$ac_compile") 2>conftest.er1
36276 ac_status=$?
36277 grep -v '^ *+' conftest.er1 >conftest.err
36278 rm -f conftest.er1
36279 cat conftest.err >&5
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); } && {
36282 test -z "$ac_cxx_werror_flag" ||
36283 test ! -s conftest.err
36284 } && test -s conftest.$ac_objext; then
36285 wx_cv_func_statfs_decl=yes
36286 else
36287 echo "$as_me: failed program was:" >&5
36288 sed 's/^/| /' conftest.$ac_ext >&5
36289
36290 wx_cv_func_statfs_decl=no
36291
36292 fi
36293
36294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36295 ac_ext=c
36296 ac_cpp='$CPP $CPPFLAGS'
36297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36300
36301
36302 fi
36303 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36304 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36305
36306 if test "$wx_cv_func_statfs_decl" = "yes"; then
36307 cat >>confdefs.h <<\_ACEOF
36308 #define HAVE_STATFS_DECL 1
36309 _ACEOF
36310
36311 fi
36312
36313 wx_cv_type_statvfs_t="struct statfs"
36314 cat >>confdefs.h <<\_ACEOF
36315 #define HAVE_STATFS 1
36316 _ACEOF
36317
36318 else
36319 { echo "$as_me:$LINENO: checking for statvfs" >&5
36320 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36321 if test "${wx_cv_func_statvfs+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36323 else
36324 cat >conftest.$ac_ext <<_ACEOF
36325 /* confdefs.h. */
36326 _ACEOF
36327 cat confdefs.h >>conftest.$ac_ext
36328 cat >>conftest.$ac_ext <<_ACEOF
36329 /* end confdefs.h. */
36330
36331 #include <stddef.h>
36332 #include <sys/statvfs.h>
36333
36334 int
36335 main ()
36336 {
36337
36338 statvfs("/", NULL);
36339
36340 ;
36341 return 0;
36342 }
36343 _ACEOF
36344 rm -f conftest.$ac_objext
36345 if { (ac_try="$ac_compile"
36346 case "(($ac_try" in
36347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36348 *) ac_try_echo=$ac_try;;
36349 esac
36350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36351 (eval "$ac_compile") 2>conftest.er1
36352 ac_status=$?
36353 grep -v '^ *+' conftest.er1 >conftest.err
36354 rm -f conftest.er1
36355 cat conftest.err >&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); } && {
36358 test -z "$ac_c_werror_flag" ||
36359 test ! -s conftest.err
36360 } && test -s conftest.$ac_objext; then
36361 wx_cv_func_statvfs=yes
36362 else
36363 echo "$as_me: failed program was:" >&5
36364 sed 's/^/| /' conftest.$ac_ext >&5
36365
36366 wx_cv_func_statvfs=no
36367
36368 fi
36369
36370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36371
36372 fi
36373 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36374 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36375
36376 if test "$wx_cv_func_statvfs" = "yes"; then
36377 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36378 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36379 if test "${wx_cv_type_statvfs_t+set}" = set; then
36380 echo $ECHO_N "(cached) $ECHO_C" >&6
36381 else
36382 ac_ext=cpp
36383 ac_cpp='$CXXCPP $CPPFLAGS'
36384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36387
36388 cat >conftest.$ac_ext <<_ACEOF
36389 /* confdefs.h. */
36390 _ACEOF
36391 cat confdefs.h >>conftest.$ac_ext
36392 cat >>conftest.$ac_ext <<_ACEOF
36393 /* end confdefs.h. */
36394
36395 #include <sys/statvfs.h>
36396
36397 int
36398 main ()
36399 {
36400
36401 long l;
36402 statvfs_t fs;
36403 statvfs("/", &fs);
36404 l = fs.f_bsize;
36405 l += fs.f_blocks;
36406 l += fs.f_bavail;
36407
36408 ;
36409 return 0;
36410 }
36411 _ACEOF
36412 rm -f conftest.$ac_objext
36413 if { (ac_try="$ac_compile"
36414 case "(($ac_try" in
36415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36416 *) ac_try_echo=$ac_try;;
36417 esac
36418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36419 (eval "$ac_compile") 2>conftest.er1
36420 ac_status=$?
36421 grep -v '^ *+' conftest.er1 >conftest.err
36422 rm -f conftest.er1
36423 cat conftest.err >&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); } && {
36426 test -z "$ac_cxx_werror_flag" ||
36427 test ! -s conftest.err
36428 } && test -s conftest.$ac_objext; then
36429 wx_cv_type_statvfs_t=statvfs_t
36430 else
36431 echo "$as_me: failed program was:" >&5
36432 sed 's/^/| /' conftest.$ac_ext >&5
36433
36434
36435 cat >conftest.$ac_ext <<_ACEOF
36436 /* confdefs.h. */
36437 _ACEOF
36438 cat confdefs.h >>conftest.$ac_ext
36439 cat >>conftest.$ac_ext <<_ACEOF
36440 /* end confdefs.h. */
36441
36442 #include <sys/statvfs.h>
36443
36444 int
36445 main ()
36446 {
36447
36448 long l;
36449 struct statvfs fs;
36450 statvfs("/", &fs);
36451 l = fs.f_bsize;
36452 l += fs.f_blocks;
36453 l += fs.f_bavail;
36454
36455 ;
36456 return 0;
36457 }
36458 _ACEOF
36459 rm -f conftest.$ac_objext
36460 if { (ac_try="$ac_compile"
36461 case "(($ac_try" in
36462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36463 *) ac_try_echo=$ac_try;;
36464 esac
36465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36466 (eval "$ac_compile") 2>conftest.er1
36467 ac_status=$?
36468 grep -v '^ *+' conftest.er1 >conftest.err
36469 rm -f conftest.er1
36470 cat conftest.err >&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); } && {
36473 test -z "$ac_cxx_werror_flag" ||
36474 test ! -s conftest.err
36475 } && test -s conftest.$ac_objext; then
36476 wx_cv_type_statvfs_t="struct statvfs"
36477 else
36478 echo "$as_me: failed program was:" >&5
36479 sed 's/^/| /' conftest.$ac_ext >&5
36480
36481 wx_cv_type_statvfs_t="unknown"
36482
36483 fi
36484
36485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36486
36487
36488 fi
36489
36490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36491 ac_ext=c
36492 ac_cpp='$CPP $CPPFLAGS'
36493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36496
36497
36498 fi
36499 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36500 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36501
36502 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36503 cat >>confdefs.h <<\_ACEOF
36504 #define HAVE_STATVFS 1
36505 _ACEOF
36506
36507 fi
36508 else
36509 wx_cv_type_statvfs_t="unknown"
36510 fi
36511 fi
36512
36513 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36514 cat >>confdefs.h <<_ACEOF
36515 #define WX_STATFS_T $wx_cv_type_statvfs_t
36516 _ACEOF
36517
36518 else
36519 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36520 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36521 fi
36522
36523 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36524
36525
36526 for ac_func in fcntl flock
36527 do
36528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36529 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36531 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36532 echo $ECHO_N "(cached) $ECHO_C" >&6
36533 else
36534 cat >conftest.$ac_ext <<_ACEOF
36535 /* confdefs.h. */
36536 _ACEOF
36537 cat confdefs.h >>conftest.$ac_ext
36538 cat >>conftest.$ac_ext <<_ACEOF
36539 /* end confdefs.h. */
36540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36542 #define $ac_func innocuous_$ac_func
36543
36544 /* System header to define __stub macros and hopefully few prototypes,
36545 which can conflict with char $ac_func (); below.
36546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36547 <limits.h> exists even on freestanding compilers. */
36548
36549 #ifdef __STDC__
36550 # include <limits.h>
36551 #else
36552 # include <assert.h>
36553 #endif
36554
36555 #undef $ac_func
36556
36557 /* Override any GCC internal prototype to avoid an error.
36558 Use char because int might match the return type of a GCC
36559 builtin and then its argument prototype would still apply. */
36560 #ifdef __cplusplus
36561 extern "C"
36562 #endif
36563 char $ac_func ();
36564 /* The GNU C library defines this for functions which it implements
36565 to always fail with ENOSYS. Some functions are actually named
36566 something starting with __ and the normal name is an alias. */
36567 #if defined __stub_$ac_func || defined __stub___$ac_func
36568 choke me
36569 #endif
36570
36571 int
36572 main ()
36573 {
36574 return $ac_func ();
36575 ;
36576 return 0;
36577 }
36578 _ACEOF
36579 rm -f conftest.$ac_objext conftest$ac_exeext
36580 if { (ac_try="$ac_link"
36581 case "(($ac_try" in
36582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36583 *) ac_try_echo=$ac_try;;
36584 esac
36585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36586 (eval "$ac_link") 2>conftest.er1
36587 ac_status=$?
36588 grep -v '^ *+' conftest.er1 >conftest.err
36589 rm -f conftest.er1
36590 cat conftest.err >&5
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); } && {
36593 test -z "$ac_c_werror_flag" ||
36594 test ! -s conftest.err
36595 } && test -s conftest$ac_exeext &&
36596 $as_test_x conftest$ac_exeext; then
36597 eval "$as_ac_var=yes"
36598 else
36599 echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.$ac_ext >&5
36601
36602 eval "$as_ac_var=no"
36603 fi
36604
36605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36606 conftest$ac_exeext conftest.$ac_ext
36607 fi
36608 ac_res=`eval echo '${'$as_ac_var'}'`
36609 { echo "$as_me:$LINENO: result: $ac_res" >&5
36610 echo "${ECHO_T}$ac_res" >&6; }
36611 if test `eval echo '${'$as_ac_var'}'` = yes; then
36612 cat >>confdefs.h <<_ACEOF
36613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36614 _ACEOF
36615 break
36616 fi
36617 done
36618
36619
36620 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36621 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36622 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36623 wxUSE_SNGLINST_CHECKER=no
36624 fi
36625 fi
36626
36627
36628
36629 for ac_func in setenv putenv
36630 do
36631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36632 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36634 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36635 echo $ECHO_N "(cached) $ECHO_C" >&6
36636 else
36637 cat >conftest.$ac_ext <<_ACEOF
36638 /* confdefs.h. */
36639 _ACEOF
36640 cat confdefs.h >>conftest.$ac_ext
36641 cat >>conftest.$ac_ext <<_ACEOF
36642 /* end confdefs.h. */
36643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36645 #define $ac_func innocuous_$ac_func
36646
36647 /* System header to define __stub macros and hopefully few prototypes,
36648 which can conflict with char $ac_func (); below.
36649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36650 <limits.h> exists even on freestanding compilers. */
36651
36652 #ifdef __STDC__
36653 # include <limits.h>
36654 #else
36655 # include <assert.h>
36656 #endif
36657
36658 #undef $ac_func
36659
36660 /* Override any GCC internal prototype to avoid an error.
36661 Use char because int might match the return type of a GCC
36662 builtin and then its argument prototype would still apply. */
36663 #ifdef __cplusplus
36664 extern "C"
36665 #endif
36666 char $ac_func ();
36667 /* The GNU C library defines this for functions which it implements
36668 to always fail with ENOSYS. Some functions are actually named
36669 something starting with __ and the normal name is an alias. */
36670 #if defined __stub_$ac_func || defined __stub___$ac_func
36671 choke me
36672 #endif
36673
36674 int
36675 main ()
36676 {
36677 return $ac_func ();
36678 ;
36679 return 0;
36680 }
36681 _ACEOF
36682 rm -f conftest.$ac_objext conftest$ac_exeext
36683 if { (ac_try="$ac_link"
36684 case "(($ac_try" in
36685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36686 *) ac_try_echo=$ac_try;;
36687 esac
36688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36689 (eval "$ac_link") 2>conftest.er1
36690 ac_status=$?
36691 grep -v '^ *+' conftest.er1 >conftest.err
36692 rm -f conftest.er1
36693 cat conftest.err >&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); } && {
36696 test -z "$ac_c_werror_flag" ||
36697 test ! -s conftest.err
36698 } && test -s conftest$ac_exeext &&
36699 $as_test_x conftest$ac_exeext; then
36700 eval "$as_ac_var=yes"
36701 else
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36704
36705 eval "$as_ac_var=no"
36706 fi
36707
36708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36709 conftest$ac_exeext conftest.$ac_ext
36710 fi
36711 ac_res=`eval echo '${'$as_ac_var'}'`
36712 { echo "$as_me:$LINENO: result: $ac_res" >&5
36713 echo "${ECHO_T}$ac_res" >&6; }
36714 if test `eval echo '${'$as_ac_var'}'` = yes; then
36715 cat >>confdefs.h <<_ACEOF
36716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36717 _ACEOF
36718 break
36719 fi
36720 done
36721
36722 if test "$ac_cv_func_setenv" = "yes"; then
36723
36724 for ac_func in unsetenv
36725 do
36726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36730 echo $ECHO_N "(cached) $ECHO_C" >&6
36731 else
36732 cat >conftest.$ac_ext <<_ACEOF
36733 /* confdefs.h. */
36734 _ACEOF
36735 cat confdefs.h >>conftest.$ac_ext
36736 cat >>conftest.$ac_ext <<_ACEOF
36737 /* end confdefs.h. */
36738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36740 #define $ac_func innocuous_$ac_func
36741
36742 /* System header to define __stub macros and hopefully few prototypes,
36743 which can conflict with char $ac_func (); below.
36744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36745 <limits.h> exists even on freestanding compilers. */
36746
36747 #ifdef __STDC__
36748 # include <limits.h>
36749 #else
36750 # include <assert.h>
36751 #endif
36752
36753 #undef $ac_func
36754
36755 /* Override any GCC internal prototype to avoid an error.
36756 Use char because int might match the return type of a GCC
36757 builtin and then its argument prototype would still apply. */
36758 #ifdef __cplusplus
36759 extern "C"
36760 #endif
36761 char $ac_func ();
36762 /* The GNU C library defines this for functions which it implements
36763 to always fail with ENOSYS. Some functions are actually named
36764 something starting with __ and the normal name is an alias. */
36765 #if defined __stub_$ac_func || defined __stub___$ac_func
36766 choke me
36767 #endif
36768
36769 int
36770 main ()
36771 {
36772 return $ac_func ();
36773 ;
36774 return 0;
36775 }
36776 _ACEOF
36777 rm -f conftest.$ac_objext conftest$ac_exeext
36778 if { (ac_try="$ac_link"
36779 case "(($ac_try" in
36780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36781 *) ac_try_echo=$ac_try;;
36782 esac
36783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36784 (eval "$ac_link") 2>conftest.er1
36785 ac_status=$?
36786 grep -v '^ *+' conftest.er1 >conftest.err
36787 rm -f conftest.er1
36788 cat conftest.err >&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); } && {
36791 test -z "$ac_c_werror_flag" ||
36792 test ! -s conftest.err
36793 } && test -s conftest$ac_exeext &&
36794 $as_test_x conftest$ac_exeext; then
36795 eval "$as_ac_var=yes"
36796 else
36797 echo "$as_me: failed program was:" >&5
36798 sed 's/^/| /' conftest.$ac_ext >&5
36799
36800 eval "$as_ac_var=no"
36801 fi
36802
36803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36804 conftest$ac_exeext conftest.$ac_ext
36805 fi
36806 ac_res=`eval echo '${'$as_ac_var'}'`
36807 { echo "$as_me:$LINENO: result: $ac_res" >&5
36808 echo "${ECHO_T}$ac_res" >&6; }
36809 if test `eval echo '${'$as_ac_var'}'` = yes; then
36810 cat >>confdefs.h <<_ACEOF
36811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36812 _ACEOF
36813
36814 fi
36815 done
36816
36817 fi
36818
36819 HAVE_SOME_SLEEP_FUNC=0
36820 if test "$USE_BEOS" = 1; then
36821 cat >>confdefs.h <<\_ACEOF
36822 #define HAVE_SLEEP 1
36823 _ACEOF
36824
36825 HAVE_SOME_SLEEP_FUNC=1
36826 fi
36827
36828 if test "$USE_DARWIN" = 1; then
36829 cat >>confdefs.h <<\_ACEOF
36830 #define HAVE_USLEEP 1
36831 _ACEOF
36832
36833 HAVE_SOME_SLEEP_FUNC=1
36834 fi
36835
36836 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36837 POSIX4_LINK=
36838
36839 for ac_func in nanosleep
36840 do
36841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36845 echo $ECHO_N "(cached) $ECHO_C" >&6
36846 else
36847 cat >conftest.$ac_ext <<_ACEOF
36848 /* confdefs.h. */
36849 _ACEOF
36850 cat confdefs.h >>conftest.$ac_ext
36851 cat >>conftest.$ac_ext <<_ACEOF
36852 /* end confdefs.h. */
36853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36855 #define $ac_func innocuous_$ac_func
36856
36857 /* System header to define __stub macros and hopefully few prototypes,
36858 which can conflict with char $ac_func (); below.
36859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36860 <limits.h> exists even on freestanding compilers. */
36861
36862 #ifdef __STDC__
36863 # include <limits.h>
36864 #else
36865 # include <assert.h>
36866 #endif
36867
36868 #undef $ac_func
36869
36870 /* Override any GCC internal prototype to avoid an error.
36871 Use char because int might match the return type of a GCC
36872 builtin and then its argument prototype would still apply. */
36873 #ifdef __cplusplus
36874 extern "C"
36875 #endif
36876 char $ac_func ();
36877 /* The GNU C library defines this for functions which it implements
36878 to always fail with ENOSYS. Some functions are actually named
36879 something starting with __ and the normal name is an alias. */
36880 #if defined __stub_$ac_func || defined __stub___$ac_func
36881 choke me
36882 #endif
36883
36884 int
36885 main ()
36886 {
36887 return $ac_func ();
36888 ;
36889 return 0;
36890 }
36891 _ACEOF
36892 rm -f conftest.$ac_objext conftest$ac_exeext
36893 if { (ac_try="$ac_link"
36894 case "(($ac_try" in
36895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36896 *) ac_try_echo=$ac_try;;
36897 esac
36898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36899 (eval "$ac_link") 2>conftest.er1
36900 ac_status=$?
36901 grep -v '^ *+' conftest.er1 >conftest.err
36902 rm -f conftest.er1
36903 cat conftest.err >&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); } && {
36906 test -z "$ac_c_werror_flag" ||
36907 test ! -s conftest.err
36908 } && test -s conftest$ac_exeext &&
36909 $as_test_x conftest$ac_exeext; then
36910 eval "$as_ac_var=yes"
36911 else
36912 echo "$as_me: failed program was:" >&5
36913 sed 's/^/| /' conftest.$ac_ext >&5
36914
36915 eval "$as_ac_var=no"
36916 fi
36917
36918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36919 conftest$ac_exeext conftest.$ac_ext
36920 fi
36921 ac_res=`eval echo '${'$as_ac_var'}'`
36922 { echo "$as_me:$LINENO: result: $ac_res" >&5
36923 echo "${ECHO_T}$ac_res" >&6; }
36924 if test `eval echo '${'$as_ac_var'}'` = yes; then
36925 cat >>confdefs.h <<_ACEOF
36926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36927 _ACEOF
36928 cat >>confdefs.h <<\_ACEOF
36929 #define HAVE_NANOSLEEP 1
36930 _ACEOF
36931
36932 else
36933
36934 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36935 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36936 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36938 else
36939 ac_check_lib_save_LIBS=$LIBS
36940 LIBS="-lposix4 $LIBS"
36941 cat >conftest.$ac_ext <<_ACEOF
36942 /* confdefs.h. */
36943 _ACEOF
36944 cat confdefs.h >>conftest.$ac_ext
36945 cat >>conftest.$ac_ext <<_ACEOF
36946 /* end confdefs.h. */
36947
36948 /* Override any GCC internal prototype to avoid an error.
36949 Use char because int might match the return type of a GCC
36950 builtin and then its argument prototype would still apply. */
36951 #ifdef __cplusplus
36952 extern "C"
36953 #endif
36954 char nanosleep ();
36955 int
36956 main ()
36957 {
36958 return nanosleep ();
36959 ;
36960 return 0;
36961 }
36962 _ACEOF
36963 rm -f conftest.$ac_objext conftest$ac_exeext
36964 if { (ac_try="$ac_link"
36965 case "(($ac_try" in
36966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36967 *) ac_try_echo=$ac_try;;
36968 esac
36969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36970 (eval "$ac_link") 2>conftest.er1
36971 ac_status=$?
36972 grep -v '^ *+' conftest.er1 >conftest.err
36973 rm -f conftest.er1
36974 cat conftest.err >&5
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); } && {
36977 test -z "$ac_c_werror_flag" ||
36978 test ! -s conftest.err
36979 } && test -s conftest$ac_exeext &&
36980 $as_test_x conftest$ac_exeext; then
36981 ac_cv_lib_posix4_nanosleep=yes
36982 else
36983 echo "$as_me: failed program was:" >&5
36984 sed 's/^/| /' conftest.$ac_ext >&5
36985
36986 ac_cv_lib_posix4_nanosleep=no
36987 fi
36988
36989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36990 conftest$ac_exeext conftest.$ac_ext
36991 LIBS=$ac_check_lib_save_LIBS
36992 fi
36993 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36994 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36995 if test $ac_cv_lib_posix4_nanosleep = yes; then
36996
36997 cat >>confdefs.h <<\_ACEOF
36998 #define HAVE_NANOSLEEP 1
36999 _ACEOF
37000
37001 POSIX4_LINK=" -lposix4"
37002
37003 else
37004
37005
37006 for wx_func in usleep
37007 do
37008 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37009 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37010 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37011 echo $ECHO_N "(cached) $ECHO_C" >&6
37012 else
37013
37014 cat >conftest.$ac_ext <<_ACEOF
37015
37016 /* confdefs.h. */
37017 _ACEOF
37018 cat confdefs.h >>conftest.$ac_ext
37019 cat >>conftest.$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37021
37022
37023 $ac_includes_default
37024
37025 int
37026 main ()
37027 {
37028
37029 #ifndef $wx_func
37030 &$wx_func;
37031 #endif
37032
37033
37034 ;
37035 return 0;
37036 }
37037
37038 _ACEOF
37039 rm -f conftest.$ac_objext conftest$ac_exeext
37040 if { (ac_try="$ac_link"
37041 case "(($ac_try" in
37042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37043 *) ac_try_echo=$ac_try;;
37044 esac
37045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37046 (eval "$ac_link") 2>conftest.er1
37047 ac_status=$?
37048 grep -v '^ *+' conftest.er1 >conftest.err
37049 rm -f conftest.er1
37050 cat conftest.err >&5
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); } && {
37053 test -z "$ac_c_werror_flag" ||
37054 test ! -s conftest.err
37055 } && test -s conftest$ac_exeext &&
37056 $as_test_x conftest$ac_exeext; then
37057 eval wx_cv_func_$wx_func=yes
37058 else
37059 echo "$as_me: failed program was:" >&5
37060 sed 's/^/| /' conftest.$ac_ext >&5
37061
37062 eval wx_cv_func_$wx_func=no
37063 fi
37064
37065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37066 conftest$ac_exeext conftest.$ac_ext
37067
37068 fi
37069 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37070 { echo "$as_me:$LINENO: result: $ac_res" >&5
37071 echo "${ECHO_T}$ac_res" >&6; }
37072
37073 if eval test \$wx_cv_func_$wx_func = yes
37074 then
37075 cat >>confdefs.h <<_ACEOF
37076 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37077 _ACEOF
37078
37079
37080 else
37081 :
37082 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37083 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37084
37085 fi
37086 done
37087
37088
37089
37090 fi
37091
37092
37093
37094 fi
37095 done
37096
37097 fi
37098
37099
37100 for wx_func in uname
37101 do
37102 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37103 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37104 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37105 echo $ECHO_N "(cached) $ECHO_C" >&6
37106 else
37107
37108 cat >conftest.$ac_ext <<_ACEOF
37109
37110 /* confdefs.h. */
37111 _ACEOF
37112 cat confdefs.h >>conftest.$ac_ext
37113 cat >>conftest.$ac_ext <<_ACEOF
37114 /* end confdefs.h. */
37115
37116 #include <sys/utsname.h>
37117 $ac_includes_default
37118
37119 int
37120 main ()
37121 {
37122
37123 #ifndef $wx_func
37124 &$wx_func;
37125 #endif
37126
37127
37128 ;
37129 return 0;
37130 }
37131
37132 _ACEOF
37133 rm -f conftest.$ac_objext conftest$ac_exeext
37134 if { (ac_try="$ac_link"
37135 case "(($ac_try" in
37136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37137 *) ac_try_echo=$ac_try;;
37138 esac
37139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37140 (eval "$ac_link") 2>conftest.er1
37141 ac_status=$?
37142 grep -v '^ *+' conftest.er1 >conftest.err
37143 rm -f conftest.er1
37144 cat conftest.err >&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); } && {
37147 test -z "$ac_c_werror_flag" ||
37148 test ! -s conftest.err
37149 } && test -s conftest$ac_exeext &&
37150 $as_test_x conftest$ac_exeext; then
37151 eval wx_cv_func_$wx_func=yes
37152 else
37153 echo "$as_me: failed program was:" >&5
37154 sed 's/^/| /' conftest.$ac_ext >&5
37155
37156 eval wx_cv_func_$wx_func=no
37157 fi
37158
37159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37160 conftest$ac_exeext conftest.$ac_ext
37161
37162 fi
37163 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37164 { echo "$as_me:$LINENO: result: $ac_res" >&5
37165 echo "${ECHO_T}$ac_res" >&6; }
37166
37167 if eval test \$wx_cv_func_$wx_func = yes
37168 then
37169 cat >>confdefs.h <<_ACEOF
37170 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37171 _ACEOF
37172
37173
37174 else
37175 :
37176
37177 fi
37178 done
37179
37180 if test "$wx_cv_func_uname" != yes; then
37181
37182 for wx_func in gethostname
37183 do
37184 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37185 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37186 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37187 echo $ECHO_N "(cached) $ECHO_C" >&6
37188 else
37189
37190 cat >conftest.$ac_ext <<_ACEOF
37191
37192 /* confdefs.h. */
37193 _ACEOF
37194 cat confdefs.h >>conftest.$ac_ext
37195 cat >>conftest.$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197
37198
37199 $ac_includes_default
37200
37201 int
37202 main ()
37203 {
37204
37205 #ifndef $wx_func
37206 &$wx_func;
37207 #endif
37208
37209
37210 ;
37211 return 0;
37212 }
37213
37214 _ACEOF
37215 rm -f conftest.$ac_objext conftest$ac_exeext
37216 if { (ac_try="$ac_link"
37217 case "(($ac_try" in
37218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37219 *) ac_try_echo=$ac_try;;
37220 esac
37221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37222 (eval "$ac_link") 2>conftest.er1
37223 ac_status=$?
37224 grep -v '^ *+' conftest.er1 >conftest.err
37225 rm -f conftest.er1
37226 cat conftest.err >&5
37227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37228 (exit $ac_status); } && {
37229 test -z "$ac_c_werror_flag" ||
37230 test ! -s conftest.err
37231 } && test -s conftest$ac_exeext &&
37232 $as_test_x conftest$ac_exeext; then
37233 eval wx_cv_func_$wx_func=yes
37234 else
37235 echo "$as_me: failed program was:" >&5
37236 sed 's/^/| /' conftest.$ac_ext >&5
37237
37238 eval wx_cv_func_$wx_func=no
37239 fi
37240
37241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37242 conftest$ac_exeext conftest.$ac_ext
37243
37244 fi
37245 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37246 { echo "$as_me:$LINENO: result: $ac_res" >&5
37247 echo "${ECHO_T}$ac_res" >&6; }
37248
37249 if eval test \$wx_cv_func_$wx_func = yes
37250 then
37251 cat >>confdefs.h <<_ACEOF
37252 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37253 _ACEOF
37254
37255
37256 else
37257 :
37258
37259 fi
37260 done
37261
37262 fi
37263
37264
37265 for wx_func in strtok_r
37266 do
37267 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37268 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37269 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37270 echo $ECHO_N "(cached) $ECHO_C" >&6
37271 else
37272
37273 cat >conftest.$ac_ext <<_ACEOF
37274
37275 /* confdefs.h. */
37276 _ACEOF
37277 cat confdefs.h >>conftest.$ac_ext
37278 cat >>conftest.$ac_ext <<_ACEOF
37279 /* end confdefs.h. */
37280
37281 #define _REENTRANT
37282 $ac_includes_default
37283
37284 int
37285 main ()
37286 {
37287
37288 #ifndef $wx_func
37289 &$wx_func;
37290 #endif
37291
37292
37293 ;
37294 return 0;
37295 }
37296
37297 _ACEOF
37298 rm -f conftest.$ac_objext conftest$ac_exeext
37299 if { (ac_try="$ac_link"
37300 case "(($ac_try" in
37301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37302 *) ac_try_echo=$ac_try;;
37303 esac
37304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37305 (eval "$ac_link") 2>conftest.er1
37306 ac_status=$?
37307 grep -v '^ *+' conftest.er1 >conftest.err
37308 rm -f conftest.er1
37309 cat conftest.err >&5
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); } && {
37312 test -z "$ac_c_werror_flag" ||
37313 test ! -s conftest.err
37314 } && test -s conftest$ac_exeext &&
37315 $as_test_x conftest$ac_exeext; then
37316 eval wx_cv_func_$wx_func=yes
37317 else
37318 echo "$as_me: failed program was:" >&5
37319 sed 's/^/| /' conftest.$ac_ext >&5
37320
37321 eval wx_cv_func_$wx_func=no
37322 fi
37323
37324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37325 conftest$ac_exeext conftest.$ac_ext
37326
37327 fi
37328 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37329 { echo "$as_me:$LINENO: result: $ac_res" >&5
37330 echo "${ECHO_T}$ac_res" >&6; }
37331
37332 if eval test \$wx_cv_func_$wx_func = yes
37333 then
37334 cat >>confdefs.h <<_ACEOF
37335 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37336 _ACEOF
37337
37338
37339 else
37340 :
37341
37342 fi
37343 done
37344
37345
37346 INET_LINK=
37347
37348 for ac_func in inet_addr
37349 do
37350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37351 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37353 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37354 echo $ECHO_N "(cached) $ECHO_C" >&6
37355 else
37356 cat >conftest.$ac_ext <<_ACEOF
37357 /* confdefs.h. */
37358 _ACEOF
37359 cat confdefs.h >>conftest.$ac_ext
37360 cat >>conftest.$ac_ext <<_ACEOF
37361 /* end confdefs.h. */
37362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37364 #define $ac_func innocuous_$ac_func
37365
37366 /* System header to define __stub macros and hopefully few prototypes,
37367 which can conflict with char $ac_func (); below.
37368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37369 <limits.h> exists even on freestanding compilers. */
37370
37371 #ifdef __STDC__
37372 # include <limits.h>
37373 #else
37374 # include <assert.h>
37375 #endif
37376
37377 #undef $ac_func
37378
37379 /* Override any GCC internal prototype to avoid an error.
37380 Use char because int might match the return type of a GCC
37381 builtin and then its argument prototype would still apply. */
37382 #ifdef __cplusplus
37383 extern "C"
37384 #endif
37385 char $ac_func ();
37386 /* The GNU C library defines this for functions which it implements
37387 to always fail with ENOSYS. Some functions are actually named
37388 something starting with __ and the normal name is an alias. */
37389 #if defined __stub_$ac_func || defined __stub___$ac_func
37390 choke me
37391 #endif
37392
37393 int
37394 main ()
37395 {
37396 return $ac_func ();
37397 ;
37398 return 0;
37399 }
37400 _ACEOF
37401 rm -f conftest.$ac_objext conftest$ac_exeext
37402 if { (ac_try="$ac_link"
37403 case "(($ac_try" in
37404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37405 *) ac_try_echo=$ac_try;;
37406 esac
37407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37408 (eval "$ac_link") 2>conftest.er1
37409 ac_status=$?
37410 grep -v '^ *+' conftest.er1 >conftest.err
37411 rm -f conftest.er1
37412 cat conftest.err >&5
37413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37414 (exit $ac_status); } && {
37415 test -z "$ac_c_werror_flag" ||
37416 test ! -s conftest.err
37417 } && test -s conftest$ac_exeext &&
37418 $as_test_x conftest$ac_exeext; then
37419 eval "$as_ac_var=yes"
37420 else
37421 echo "$as_me: failed program was:" >&5
37422 sed 's/^/| /' conftest.$ac_ext >&5
37423
37424 eval "$as_ac_var=no"
37425 fi
37426
37427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37428 conftest$ac_exeext conftest.$ac_ext
37429 fi
37430 ac_res=`eval echo '${'$as_ac_var'}'`
37431 { echo "$as_me:$LINENO: result: $ac_res" >&5
37432 echo "${ECHO_T}$ac_res" >&6; }
37433 if test `eval echo '${'$as_ac_var'}'` = yes; then
37434 cat >>confdefs.h <<_ACEOF
37435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37436 _ACEOF
37437 cat >>confdefs.h <<\_ACEOF
37438 #define HAVE_INET_ADDR 1
37439 _ACEOF
37440
37441 else
37442
37443 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37444 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37445 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37446 echo $ECHO_N "(cached) $ECHO_C" >&6
37447 else
37448 ac_check_lib_save_LIBS=$LIBS
37449 LIBS="-lnsl $LIBS"
37450 cat >conftest.$ac_ext <<_ACEOF
37451 /* confdefs.h. */
37452 _ACEOF
37453 cat confdefs.h >>conftest.$ac_ext
37454 cat >>conftest.$ac_ext <<_ACEOF
37455 /* end confdefs.h. */
37456
37457 /* Override any GCC internal prototype to avoid an error.
37458 Use char because int might match the return type of a GCC
37459 builtin and then its argument prototype would still apply. */
37460 #ifdef __cplusplus
37461 extern "C"
37462 #endif
37463 char inet_addr ();
37464 int
37465 main ()
37466 {
37467 return inet_addr ();
37468 ;
37469 return 0;
37470 }
37471 _ACEOF
37472 rm -f conftest.$ac_objext conftest$ac_exeext
37473 if { (ac_try="$ac_link"
37474 case "(($ac_try" in
37475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37476 *) ac_try_echo=$ac_try;;
37477 esac
37478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37479 (eval "$ac_link") 2>conftest.er1
37480 ac_status=$?
37481 grep -v '^ *+' conftest.er1 >conftest.err
37482 rm -f conftest.er1
37483 cat conftest.err >&5
37484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37485 (exit $ac_status); } && {
37486 test -z "$ac_c_werror_flag" ||
37487 test ! -s conftest.err
37488 } && test -s conftest$ac_exeext &&
37489 $as_test_x conftest$ac_exeext; then
37490 ac_cv_lib_nsl_inet_addr=yes
37491 else
37492 echo "$as_me: failed program was:" >&5
37493 sed 's/^/| /' conftest.$ac_ext >&5
37494
37495 ac_cv_lib_nsl_inet_addr=no
37496 fi
37497
37498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37499 conftest$ac_exeext conftest.$ac_ext
37500 LIBS=$ac_check_lib_save_LIBS
37501 fi
37502 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37503 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37504 if test $ac_cv_lib_nsl_inet_addr = yes; then
37505 INET_LINK="nsl"
37506 else
37507
37508 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37509 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37510 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37511 echo $ECHO_N "(cached) $ECHO_C" >&6
37512 else
37513 ac_check_lib_save_LIBS=$LIBS
37514 LIBS="-lresolv $LIBS"
37515 cat >conftest.$ac_ext <<_ACEOF
37516 /* confdefs.h. */
37517 _ACEOF
37518 cat confdefs.h >>conftest.$ac_ext
37519 cat >>conftest.$ac_ext <<_ACEOF
37520 /* end confdefs.h. */
37521
37522 /* Override any GCC internal prototype to avoid an error.
37523 Use char because int might match the return type of a GCC
37524 builtin and then its argument prototype would still apply. */
37525 #ifdef __cplusplus
37526 extern "C"
37527 #endif
37528 char inet_addr ();
37529 int
37530 main ()
37531 {
37532 return inet_addr ();
37533 ;
37534 return 0;
37535 }
37536 _ACEOF
37537 rm -f conftest.$ac_objext conftest$ac_exeext
37538 if { (ac_try="$ac_link"
37539 case "(($ac_try" in
37540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37541 *) ac_try_echo=$ac_try;;
37542 esac
37543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37544 (eval "$ac_link") 2>conftest.er1
37545 ac_status=$?
37546 grep -v '^ *+' conftest.er1 >conftest.err
37547 rm -f conftest.er1
37548 cat conftest.err >&5
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); } && {
37551 test -z "$ac_c_werror_flag" ||
37552 test ! -s conftest.err
37553 } && test -s conftest$ac_exeext &&
37554 $as_test_x conftest$ac_exeext; then
37555 ac_cv_lib_resolv_inet_addr=yes
37556 else
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.$ac_ext >&5
37559
37560 ac_cv_lib_resolv_inet_addr=no
37561 fi
37562
37563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37564 conftest$ac_exeext conftest.$ac_ext
37565 LIBS=$ac_check_lib_save_LIBS
37566 fi
37567 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37568 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37569 if test $ac_cv_lib_resolv_inet_addr = yes; then
37570 INET_LINK="resolv"
37571 else
37572
37573 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37574 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37575 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37577 else
37578 ac_check_lib_save_LIBS=$LIBS
37579 LIBS="-lsocket $LIBS"
37580 cat >conftest.$ac_ext <<_ACEOF
37581 /* confdefs.h. */
37582 _ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h. */
37586
37587 /* Override any GCC internal prototype to avoid an error.
37588 Use char because int might match the return type of a GCC
37589 builtin and then its argument prototype would still apply. */
37590 #ifdef __cplusplus
37591 extern "C"
37592 #endif
37593 char inet_addr ();
37594 int
37595 main ()
37596 {
37597 return inet_addr ();
37598 ;
37599 return 0;
37600 }
37601 _ACEOF
37602 rm -f conftest.$ac_objext conftest$ac_exeext
37603 if { (ac_try="$ac_link"
37604 case "(($ac_try" in
37605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37606 *) ac_try_echo=$ac_try;;
37607 esac
37608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37609 (eval "$ac_link") 2>conftest.er1
37610 ac_status=$?
37611 grep -v '^ *+' conftest.er1 >conftest.err
37612 rm -f conftest.er1
37613 cat conftest.err >&5
37614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37615 (exit $ac_status); } && {
37616 test -z "$ac_c_werror_flag" ||
37617 test ! -s conftest.err
37618 } && test -s conftest$ac_exeext &&
37619 $as_test_x conftest$ac_exeext; then
37620 ac_cv_lib_socket_inet_addr=yes
37621 else
37622 echo "$as_me: failed program was:" >&5
37623 sed 's/^/| /' conftest.$ac_ext >&5
37624
37625 ac_cv_lib_socket_inet_addr=no
37626 fi
37627
37628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37629 conftest$ac_exeext conftest.$ac_ext
37630 LIBS=$ac_check_lib_save_LIBS
37631 fi
37632 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37633 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37634 if test $ac_cv_lib_socket_inet_addr = yes; then
37635 INET_LINK="socket"
37636
37637 fi
37638
37639
37640
37641 fi
37642
37643
37644
37645 fi
37646
37647
37648
37649 fi
37650 done
37651
37652
37653
37654 for ac_func in inet_aton
37655 do
37656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37657 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37659 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37660 echo $ECHO_N "(cached) $ECHO_C" >&6
37661 else
37662 cat >conftest.$ac_ext <<_ACEOF
37663 /* confdefs.h. */
37664 _ACEOF
37665 cat confdefs.h >>conftest.$ac_ext
37666 cat >>conftest.$ac_ext <<_ACEOF
37667 /* end confdefs.h. */
37668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37670 #define $ac_func innocuous_$ac_func
37671
37672 /* System header to define __stub macros and hopefully few prototypes,
37673 which can conflict with char $ac_func (); below.
37674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37675 <limits.h> exists even on freestanding compilers. */
37676
37677 #ifdef __STDC__
37678 # include <limits.h>
37679 #else
37680 # include <assert.h>
37681 #endif
37682
37683 #undef $ac_func
37684
37685 /* Override any GCC internal prototype to avoid an error.
37686 Use char because int might match the return type of a GCC
37687 builtin and then its argument prototype would still apply. */
37688 #ifdef __cplusplus
37689 extern "C"
37690 #endif
37691 char $ac_func ();
37692 /* The GNU C library defines this for functions which it implements
37693 to always fail with ENOSYS. Some functions are actually named
37694 something starting with __ and the normal name is an alias. */
37695 #if defined __stub_$ac_func || defined __stub___$ac_func
37696 choke me
37697 #endif
37698
37699 int
37700 main ()
37701 {
37702 return $ac_func ();
37703 ;
37704 return 0;
37705 }
37706 _ACEOF
37707 rm -f conftest.$ac_objext conftest$ac_exeext
37708 if { (ac_try="$ac_link"
37709 case "(($ac_try" in
37710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37711 *) ac_try_echo=$ac_try;;
37712 esac
37713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37714 (eval "$ac_link") 2>conftest.er1
37715 ac_status=$?
37716 grep -v '^ *+' conftest.er1 >conftest.err
37717 rm -f conftest.er1
37718 cat conftest.err >&5
37719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720 (exit $ac_status); } && {
37721 test -z "$ac_c_werror_flag" ||
37722 test ! -s conftest.err
37723 } && test -s conftest$ac_exeext &&
37724 $as_test_x conftest$ac_exeext; then
37725 eval "$as_ac_var=yes"
37726 else
37727 echo "$as_me: failed program was:" >&5
37728 sed 's/^/| /' conftest.$ac_ext >&5
37729
37730 eval "$as_ac_var=no"
37731 fi
37732
37733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37734 conftest$ac_exeext conftest.$ac_ext
37735 fi
37736 ac_res=`eval echo '${'$as_ac_var'}'`
37737 { echo "$as_me:$LINENO: result: $ac_res" >&5
37738 echo "${ECHO_T}$ac_res" >&6; }
37739 if test `eval echo '${'$as_ac_var'}'` = yes; then
37740 cat >>confdefs.h <<_ACEOF
37741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37742 _ACEOF
37743 cat >>confdefs.h <<\_ACEOF
37744 #define HAVE_INET_ATON 1
37745 _ACEOF
37746
37747 else
37748
37749 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37750 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37751 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37752 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37753 echo $ECHO_N "(cached) $ECHO_C" >&6
37754 else
37755 ac_check_lib_save_LIBS=$LIBS
37756 LIBS="-l$INET_LINK $LIBS"
37757 cat >conftest.$ac_ext <<_ACEOF
37758 /* confdefs.h. */
37759 _ACEOF
37760 cat confdefs.h >>conftest.$ac_ext
37761 cat >>conftest.$ac_ext <<_ACEOF
37762 /* end confdefs.h. */
37763
37764 /* Override any GCC internal prototype to avoid an error.
37765 Use char because int might match the return type of a GCC
37766 builtin and then its argument prototype would still apply. */
37767 #ifdef __cplusplus
37768 extern "C"
37769 #endif
37770 char inet_aton ();
37771 int
37772 main ()
37773 {
37774 return inet_aton ();
37775 ;
37776 return 0;
37777 }
37778 _ACEOF
37779 rm -f conftest.$ac_objext conftest$ac_exeext
37780 if { (ac_try="$ac_link"
37781 case "(($ac_try" in
37782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37783 *) ac_try_echo=$ac_try;;
37784 esac
37785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37786 (eval "$ac_link") 2>conftest.er1
37787 ac_status=$?
37788 grep -v '^ *+' conftest.er1 >conftest.err
37789 rm -f conftest.er1
37790 cat conftest.err >&5
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); } && {
37793 test -z "$ac_c_werror_flag" ||
37794 test ! -s conftest.err
37795 } && test -s conftest$ac_exeext &&
37796 $as_test_x conftest$ac_exeext; then
37797 eval "$as_ac_Lib=yes"
37798 else
37799 echo "$as_me: failed program was:" >&5
37800 sed 's/^/| /' conftest.$ac_ext >&5
37801
37802 eval "$as_ac_Lib=no"
37803 fi
37804
37805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37806 conftest$ac_exeext conftest.$ac_ext
37807 LIBS=$ac_check_lib_save_LIBS
37808 fi
37809 ac_res=`eval echo '${'$as_ac_Lib'}'`
37810 { echo "$as_me:$LINENO: result: $ac_res" >&5
37811 echo "${ECHO_T}$ac_res" >&6; }
37812 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37813 cat >>confdefs.h <<\_ACEOF
37814 #define HAVE_INET_ATON 1
37815 _ACEOF
37816
37817 fi
37818
37819
37820 fi
37821 done
37822
37823
37824 if test "x$INET_LINK" != "x"; then
37825 cat >>confdefs.h <<\_ACEOF
37826 #define HAVE_INET_ADDR 1
37827 _ACEOF
37828
37829 INET_LINK=" -l$INET_LINK"
37830 fi
37831
37832
37833 for wx_func in fdopen
37834 do
37835 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37836 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37837 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37838 echo $ECHO_N "(cached) $ECHO_C" >&6
37839 else
37840
37841 cat >conftest.$ac_ext <<_ACEOF
37842
37843 /* confdefs.h. */
37844 _ACEOF
37845 cat confdefs.h >>conftest.$ac_ext
37846 cat >>conftest.$ac_ext <<_ACEOF
37847 /* end confdefs.h. */
37848
37849
37850 $ac_includes_default
37851
37852 int
37853 main ()
37854 {
37855
37856 #ifndef $wx_func
37857 &$wx_func;
37858 #endif
37859
37860
37861 ;
37862 return 0;
37863 }
37864
37865 _ACEOF
37866 rm -f conftest.$ac_objext conftest$ac_exeext
37867 if { (ac_try="$ac_link"
37868 case "(($ac_try" in
37869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37870 *) ac_try_echo=$ac_try;;
37871 esac
37872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37873 (eval "$ac_link") 2>conftest.er1
37874 ac_status=$?
37875 grep -v '^ *+' conftest.er1 >conftest.err
37876 rm -f conftest.er1
37877 cat conftest.err >&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } && {
37880 test -z "$ac_c_werror_flag" ||
37881 test ! -s conftest.err
37882 } && test -s conftest$ac_exeext &&
37883 $as_test_x conftest$ac_exeext; then
37884 eval wx_cv_func_$wx_func=yes
37885 else
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.$ac_ext >&5
37888
37889 eval wx_cv_func_$wx_func=no
37890 fi
37891
37892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37893 conftest$ac_exeext conftest.$ac_ext
37894
37895 fi
37896 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37897 { echo "$as_me:$LINENO: result: $ac_res" >&5
37898 echo "${ECHO_T}$ac_res" >&6; }
37899
37900 if eval test \$wx_cv_func_$wx_func = yes
37901 then
37902 cat >>confdefs.h <<_ACEOF
37903 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37904 _ACEOF
37905
37906
37907 else
37908 :
37909
37910 fi
37911 done
37912
37913
37914 if test "$wxUSE_TARSTREAM" = "yes"; then
37915
37916 for wx_func in sysconf
37917 do
37918 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37919 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37920 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37921 echo $ECHO_N "(cached) $ECHO_C" >&6
37922 else
37923
37924 cat >conftest.$ac_ext <<_ACEOF
37925
37926 /* confdefs.h. */
37927 _ACEOF
37928 cat confdefs.h >>conftest.$ac_ext
37929 cat >>conftest.$ac_ext <<_ACEOF
37930 /* end confdefs.h. */
37931
37932
37933 $ac_includes_default
37934
37935 int
37936 main ()
37937 {
37938
37939 #ifndef $wx_func
37940 &$wx_func;
37941 #endif
37942
37943
37944 ;
37945 return 0;
37946 }
37947
37948 _ACEOF
37949 rm -f conftest.$ac_objext conftest$ac_exeext
37950 if { (ac_try="$ac_link"
37951 case "(($ac_try" in
37952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37953 *) ac_try_echo=$ac_try;;
37954 esac
37955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37956 (eval "$ac_link") 2>conftest.er1
37957 ac_status=$?
37958 grep -v '^ *+' conftest.er1 >conftest.err
37959 rm -f conftest.er1
37960 cat conftest.err >&5
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); } && {
37963 test -z "$ac_c_werror_flag" ||
37964 test ! -s conftest.err
37965 } && test -s conftest$ac_exeext &&
37966 $as_test_x conftest$ac_exeext; then
37967 eval wx_cv_func_$wx_func=yes
37968 else
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.$ac_ext >&5
37971
37972 eval wx_cv_func_$wx_func=no
37973 fi
37974
37975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37976 conftest$ac_exeext conftest.$ac_ext
37977
37978 fi
37979 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37980 { echo "$as_me:$LINENO: result: $ac_res" >&5
37981 echo "${ECHO_T}$ac_res" >&6; }
37982
37983 if eval test \$wx_cv_func_$wx_func = yes
37984 then
37985 cat >>confdefs.h <<_ACEOF
37986 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37987 _ACEOF
37988
37989
37990 else
37991 :
37992
37993 fi
37994 done
37995
37996
37997
37998 for wx_func in getpwuid_r
37999 do
38000 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38001 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38002 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38003 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 else
38005
38006 cat >conftest.$ac_ext <<_ACEOF
38007
38008 /* confdefs.h. */
38009 _ACEOF
38010 cat confdefs.h >>conftest.$ac_ext
38011 cat >>conftest.$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38013
38014
38015 #define _REENTRANT
38016 #include <pwd.h>
38017
38018 $ac_includes_default
38019
38020 int
38021 main ()
38022 {
38023
38024 #ifndef $wx_func
38025 &$wx_func;
38026 #endif
38027
38028 struct passwd pw, *ppw;
38029 char buf[1024];
38030 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38031
38032
38033 ;
38034 return 0;
38035 }
38036
38037 _ACEOF
38038 rm -f conftest.$ac_objext conftest$ac_exeext
38039 if { (ac_try="$ac_link"
38040 case "(($ac_try" in
38041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38042 *) ac_try_echo=$ac_try;;
38043 esac
38044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38045 (eval "$ac_link") 2>conftest.er1
38046 ac_status=$?
38047 grep -v '^ *+' conftest.er1 >conftest.err
38048 rm -f conftest.er1
38049 cat conftest.err >&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); } && {
38052 test -z "$ac_c_werror_flag" ||
38053 test ! -s conftest.err
38054 } && test -s conftest$ac_exeext &&
38055 $as_test_x conftest$ac_exeext; then
38056 eval wx_cv_func_$wx_func=yes
38057 else
38058 echo "$as_me: failed program was:" >&5
38059 sed 's/^/| /' conftest.$ac_ext >&5
38060
38061 eval wx_cv_func_$wx_func=no
38062 fi
38063
38064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38065 conftest$ac_exeext conftest.$ac_ext
38066
38067 fi
38068 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38069 { echo "$as_me:$LINENO: result: $ac_res" >&5
38070 echo "${ECHO_T}$ac_res" >&6; }
38071
38072 if eval test \$wx_cv_func_$wx_func = yes
38073 then
38074 cat >>confdefs.h <<_ACEOF
38075 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38076 _ACEOF
38077
38078
38079 else
38080 :
38081
38082 fi
38083 done
38084
38085
38086
38087 for wx_func in getgrgid_r
38088 do
38089 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38090 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38091 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38093 else
38094
38095 cat >conftest.$ac_ext <<_ACEOF
38096
38097 /* confdefs.h. */
38098 _ACEOF
38099 cat confdefs.h >>conftest.$ac_ext
38100 cat >>conftest.$ac_ext <<_ACEOF
38101 /* end confdefs.h. */
38102
38103
38104 #define _REENTRANT
38105 #include <grp.h>
38106
38107 $ac_includes_default
38108
38109 int
38110 main ()
38111 {
38112
38113 #ifndef $wx_func
38114 &$wx_func;
38115 #endif
38116
38117 struct group grp, *pgrp;
38118 char buf[1024];
38119 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38120
38121
38122 ;
38123 return 0;
38124 }
38125
38126 _ACEOF
38127 rm -f conftest.$ac_objext conftest$ac_exeext
38128 if { (ac_try="$ac_link"
38129 case "(($ac_try" in
38130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38131 *) ac_try_echo=$ac_try;;
38132 esac
38133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38134 (eval "$ac_link") 2>conftest.er1
38135 ac_status=$?
38136 grep -v '^ *+' conftest.er1 >conftest.err
38137 rm -f conftest.er1
38138 cat conftest.err >&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); } && {
38141 test -z "$ac_c_werror_flag" ||
38142 test ! -s conftest.err
38143 } && test -s conftest$ac_exeext &&
38144 $as_test_x conftest$ac_exeext; then
38145 eval wx_cv_func_$wx_func=yes
38146 else
38147 echo "$as_me: failed program was:" >&5
38148 sed 's/^/| /' conftest.$ac_ext >&5
38149
38150 eval wx_cv_func_$wx_func=no
38151 fi
38152
38153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38154 conftest$ac_exeext conftest.$ac_ext
38155
38156 fi
38157 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38158 { echo "$as_me:$LINENO: result: $ac_res" >&5
38159 echo "${ECHO_T}$ac_res" >&6; }
38160
38161 if eval test \$wx_cv_func_$wx_func = yes
38162 then
38163 cat >>confdefs.h <<_ACEOF
38164 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38165 _ACEOF
38166
38167
38168 else
38169 :
38170
38171 fi
38172 done
38173
38174 fi
38175
38176 fi
38177
38178
38179
38180 cat >confcache <<\_ACEOF
38181 # This file is a shell script that caches the results of configure
38182 # tests run on this system so they can be shared between configure
38183 # scripts and configure runs, see configure's option --config-cache.
38184 # It is not useful on other systems. If it contains results you don't
38185 # want to keep, you may remove or edit it.
38186 #
38187 # config.status only pays attention to the cache file if you give it
38188 # the --recheck option to rerun configure.
38189 #
38190 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38191 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38192 # following values.
38193
38194 _ACEOF
38195
38196 # The following way of writing the cache mishandles newlines in values,
38197 # but we know of no workaround that is simple, portable, and efficient.
38198 # So, we kill variables containing newlines.
38199 # Ultrix sh set writes to stderr and can't be redirected directly,
38200 # and sets the high bit in the cache file unless we assign to the vars.
38201 (
38202 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38203 eval ac_val=\$$ac_var
38204 case $ac_val in #(
38205 *${as_nl}*)
38206 case $ac_var in #(
38207 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38208 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38209 esac
38210 case $ac_var in #(
38211 _ | IFS | as_nl) ;; #(
38212 *) $as_unset $ac_var ;;
38213 esac ;;
38214 esac
38215 done
38216
38217 (set) 2>&1 |
38218 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38219 *${as_nl}ac_space=\ *)
38220 # `set' does not quote correctly, so add quotes (double-quote
38221 # substitution turns \\\\ into \\, and sed turns \\ into \).
38222 sed -n \
38223 "s/'/'\\\\''/g;
38224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38225 ;; #(
38226 *)
38227 # `set' quotes correctly as required by POSIX, so do not add quotes.
38228 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38229 ;;
38230 esac |
38231 sort
38232 ) |
38233 sed '
38234 /^ac_cv_env_/b end
38235 t clear
38236 :clear
38237 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38238 t end
38239 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38240 :end' >>confcache
38241 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38242 if test -w "$cache_file"; then
38243 test "x$cache_file" != "x/dev/null" &&
38244 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38245 echo "$as_me: updating cache $cache_file" >&6;}
38246 cat confcache >$cache_file
38247 else
38248 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38249 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38250 fi
38251 fi
38252 rm -f confcache
38253
38254
38255 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38256
38257
38258 THREADS_LINK=
38259 THREADS_CFLAGS=
38260
38261 if test "$wxUSE_THREADS" = "yes" ; then
38262 if test "$USE_BEOS" = 1; then
38263 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38264 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38265 wxUSE_THREADS="no"
38266 fi
38267 fi
38268
38269 if test "$wxUSE_THREADS" = "yes" ; then
38270
38271
38272 THREAD_OPTS="-pthread"
38273 if test "x$SUNCXX" = xyes; then
38274 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38275 fi
38276
38277 case "${host}" in
38278 *-*-solaris2* | *-*-sunos4* )
38279 if test "x$GCC" = "xyes"; then
38280 THREAD_OPTS="-pthreads $THREAD_OPTS"
38281 fi
38282 ;;
38283 *-*-freebsd*)
38284 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38285 ;;
38286 *-*-darwin* | *-*-cygwin* )
38287 THREAD_OPTS=""
38288 ;;
38289 *-*-aix*)
38290 THREAD_OPTS="pthreads"
38291 ;;
38292 *-hp-hpux* )
38293 if test "x$GCC" = "xyes"; then
38294 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38295 THREAD_OPTS=""
38296 else
38297 THREAD_OPTS="-mt"
38298 fi
38299 ;;
38300
38301 *-*-irix* )
38302 if test "x$GCC" = "xyes"; then
38303 THREAD_OPTS=""
38304 fi
38305 ;;
38306
38307 *-*-*UnixWare*)
38308 if test "x$GCC" != "xyes"; then
38309 THREAD_OPTS="-Ethread"
38310 fi
38311 ;;
38312 esac
38313
38314 THREAD_OPTS="$THREAD_OPTS pthread none"
38315
38316 THREADS_OK=no
38317 for flag in $THREAD_OPTS; do
38318 case $flag in
38319 none)
38320 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38321 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38322 ;;
38323
38324 -*)
38325 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38326 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38327 THREADS_CFLAGS="$flag"
38328 ;;
38329
38330 *)
38331 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38332 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38333 THREADS_LINK="-l$flag"
38334 ;;
38335 esac
38336
38337 save_LIBS="$LIBS"
38338 save_CFLAGS="$CFLAGS"
38339 LIBS="$THREADS_LINK $LIBS"
38340 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38341
38342 cat >conftest.$ac_ext <<_ACEOF
38343 /* confdefs.h. */
38344 _ACEOF
38345 cat confdefs.h >>conftest.$ac_ext
38346 cat >>conftest.$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38348 #include <pthread.h>
38349 int
38350 main ()
38351 {
38352 pthread_create(0,0,0,0);
38353 ;
38354 return 0;
38355 }
38356 _ACEOF
38357 rm -f conftest.$ac_objext conftest$ac_exeext
38358 if { (ac_try="$ac_link"
38359 case "(($ac_try" in
38360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38361 *) ac_try_echo=$ac_try;;
38362 esac
38363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_link") 2>conftest.er1
38365 ac_status=$?
38366 grep -v '^ *+' conftest.er1 >conftest.err
38367 rm -f conftest.er1
38368 cat conftest.err >&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); } && {
38371 test -z "$ac_c_werror_flag" ||
38372 test ! -s conftest.err
38373 } && test -s conftest$ac_exeext &&
38374 $as_test_x conftest$ac_exeext; then
38375 THREADS_OK=yes
38376 else
38377 echo "$as_me: failed program was:" >&5
38378 sed 's/^/| /' conftest.$ac_ext >&5
38379
38380
38381 fi
38382
38383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38384 conftest$ac_exeext conftest.$ac_ext
38385
38386 LIBS="$save_LIBS"
38387 CFLAGS="$save_CFLAGS"
38388
38389 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38390 echo "${ECHO_T}$THREADS_OK" >&6; }
38391 if test "x$THREADS_OK" = "xyes"; then
38392 break;
38393 fi
38394
38395 THREADS_LINK=""
38396 THREADS_CFLAGS=""
38397 done
38398
38399 if test "x$THREADS_OK" != "xyes"; then
38400 wxUSE_THREADS=no
38401 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38402 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38403 else
38404 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38405 LIBS="$THREADS_LINK $LIBS"
38406
38407 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38408 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38409 flag=no
38410 case "${host}" in
38411 *-aix*)
38412 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38413 flag="-D_THREAD_SAFE"
38414 ;;
38415 *-freebsd*)
38416 flag="-D_THREAD_SAFE"
38417 ;;
38418 *-hp-hpux* )
38419 flag="-D_REENTRANT"
38420 if test "x$GCC" != "xyes"; then
38421 flag="$flag -D_RWSTD_MULTI_THREAD"
38422 fi
38423 ;;
38424 *solaris* | alpha*-osf*)
38425 flag="-D_REENTRANT"
38426 ;;
38427 esac
38428 { echo "$as_me:$LINENO: result: ${flag}" >&5
38429 echo "${ECHO_T}${flag}" >&6; }
38430 if test "x$flag" != xno; then
38431 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38432 fi
38433
38434 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38435 fi
38436 fi
38437
38438 if test "$wxUSE_THREADS" = "yes" ; then
38439
38440 for ac_func in thr_setconcurrency
38441 do
38442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38443 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38445 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 else
38448 cat >conftest.$ac_ext <<_ACEOF
38449 /* confdefs.h. */
38450 _ACEOF
38451 cat confdefs.h >>conftest.$ac_ext
38452 cat >>conftest.$ac_ext <<_ACEOF
38453 /* end confdefs.h. */
38454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38456 #define $ac_func innocuous_$ac_func
38457
38458 /* System header to define __stub macros and hopefully few prototypes,
38459 which can conflict with char $ac_func (); below.
38460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38461 <limits.h> exists even on freestanding compilers. */
38462
38463 #ifdef __STDC__
38464 # include <limits.h>
38465 #else
38466 # include <assert.h>
38467 #endif
38468
38469 #undef $ac_func
38470
38471 /* Override any GCC internal prototype to avoid an error.
38472 Use char because int might match the return type of a GCC
38473 builtin and then its argument prototype would still apply. */
38474 #ifdef __cplusplus
38475 extern "C"
38476 #endif
38477 char $ac_func ();
38478 /* The GNU C library defines this for functions which it implements
38479 to always fail with ENOSYS. Some functions are actually named
38480 something starting with __ and the normal name is an alias. */
38481 #if defined __stub_$ac_func || defined __stub___$ac_func
38482 choke me
38483 #endif
38484
38485 int
38486 main ()
38487 {
38488 return $ac_func ();
38489 ;
38490 return 0;
38491 }
38492 _ACEOF
38493 rm -f conftest.$ac_objext conftest$ac_exeext
38494 if { (ac_try="$ac_link"
38495 case "(($ac_try" in
38496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38497 *) ac_try_echo=$ac_try;;
38498 esac
38499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38500 (eval "$ac_link") 2>conftest.er1
38501 ac_status=$?
38502 grep -v '^ *+' conftest.er1 >conftest.err
38503 rm -f conftest.er1
38504 cat conftest.err >&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); } && {
38507 test -z "$ac_c_werror_flag" ||
38508 test ! -s conftest.err
38509 } && test -s conftest$ac_exeext &&
38510 $as_test_x conftest$ac_exeext; then
38511 eval "$as_ac_var=yes"
38512 else
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38515
38516 eval "$as_ac_var=no"
38517 fi
38518
38519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38520 conftest$ac_exeext conftest.$ac_ext
38521 fi
38522 ac_res=`eval echo '${'$as_ac_var'}'`
38523 { echo "$as_me:$LINENO: result: $ac_res" >&5
38524 echo "${ECHO_T}$ac_res" >&6; }
38525 if test `eval echo '${'$as_ac_var'}'` = yes; then
38526 cat >>confdefs.h <<_ACEOF
38527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38528 _ACEOF
38529
38530 fi
38531 done
38532
38533
38534 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38535 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38536 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38537 echo $ECHO_N "(cached) $ECHO_C" >&6
38538 else
38539
38540 ac_ext=cpp
38541 ac_cpp='$CXXCPP $CPPFLAGS'
38542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38545
38546 cat >conftest.$ac_ext <<_ACEOF
38547 /* confdefs.h. */
38548 _ACEOF
38549 cat confdefs.h >>conftest.$ac_ext
38550 cat >>conftest.$ac_ext <<_ACEOF
38551 /* end confdefs.h. */
38552 #include <pthread.h>
38553 void ThreadCleanupFunc(void *p);
38554
38555 int
38556 main ()
38557 {
38558
38559 void *p;
38560 pthread_cleanup_push(ThreadCleanupFunc, p);
38561 pthread_cleanup_pop(0);
38562
38563 ;
38564 return 0;
38565 }
38566 _ACEOF
38567 rm -f conftest.$ac_objext
38568 if { (ac_try="$ac_compile"
38569 case "(($ac_try" in
38570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38571 *) ac_try_echo=$ac_try;;
38572 esac
38573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38574 (eval "$ac_compile") 2>conftest.er1
38575 ac_status=$?
38576 grep -v '^ *+' conftest.er1 >conftest.err
38577 rm -f conftest.er1
38578 cat conftest.err >&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } && {
38581 test -z "$ac_cxx_werror_flag" ||
38582 test ! -s conftest.err
38583 } && test -s conftest.$ac_objext; then
38584
38585 wx_cv_func_pthread_cleanup=yes
38586
38587 else
38588 echo "$as_me: failed program was:" >&5
38589 sed 's/^/| /' conftest.$ac_ext >&5
38590
38591
38592 wx_cv_func_pthread_cleanup=no
38593
38594
38595 fi
38596
38597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38598 ac_ext=c
38599 ac_cpp='$CPP $CPPFLAGS'
38600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38603
38604
38605 fi
38606 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38607 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38608 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38609 cat >>confdefs.h <<\_ACEOF
38610 #define wxHAVE_PTHREAD_CLEANUP 1
38611 _ACEOF
38612
38613 fi
38614
38615
38616 for ac_header in sched.h
38617 do
38618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38619 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38622 echo $ECHO_N "(cached) $ECHO_C" >&6
38623 else
38624 cat >conftest.$ac_ext <<_ACEOF
38625 /* confdefs.h. */
38626 _ACEOF
38627 cat confdefs.h >>conftest.$ac_ext
38628 cat >>conftest.$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630 $ac_includes_default
38631
38632 #include <$ac_header>
38633 _ACEOF
38634 rm -f conftest.$ac_objext
38635 if { (ac_try="$ac_compile"
38636 case "(($ac_try" in
38637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38638 *) ac_try_echo=$ac_try;;
38639 esac
38640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38641 (eval "$ac_compile") 2>conftest.er1
38642 ac_status=$?
38643 grep -v '^ *+' conftest.er1 >conftest.err
38644 rm -f conftest.er1
38645 cat conftest.err >&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } && {
38648 test -z "$ac_c_werror_flag" ||
38649 test ! -s conftest.err
38650 } && test -s conftest.$ac_objext; then
38651 eval "$as_ac_Header=yes"
38652 else
38653 echo "$as_me: failed program was:" >&5
38654 sed 's/^/| /' conftest.$ac_ext >&5
38655
38656 eval "$as_ac_Header=no"
38657 fi
38658
38659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38660 fi
38661 ac_res=`eval echo '${'$as_ac_Header'}'`
38662 { echo "$as_me:$LINENO: result: $ac_res" >&5
38663 echo "${ECHO_T}$ac_res" >&6; }
38664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38665 cat >>confdefs.h <<_ACEOF
38666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38667 _ACEOF
38668
38669 fi
38670
38671 done
38672
38673 if test "$ac_cv_header_sched_h" = "yes"; then
38674 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38675 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38676 if test "${ac_cv_func_sched_yield+set}" = set; then
38677 echo $ECHO_N "(cached) $ECHO_C" >&6
38678 else
38679 cat >conftest.$ac_ext <<_ACEOF
38680 /* confdefs.h. */
38681 _ACEOF
38682 cat confdefs.h >>conftest.$ac_ext
38683 cat >>conftest.$ac_ext <<_ACEOF
38684 /* end confdefs.h. */
38685 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38687 #define sched_yield innocuous_sched_yield
38688
38689 /* System header to define __stub macros and hopefully few prototypes,
38690 which can conflict with char sched_yield (); below.
38691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38692 <limits.h> exists even on freestanding compilers. */
38693
38694 #ifdef __STDC__
38695 # include <limits.h>
38696 #else
38697 # include <assert.h>
38698 #endif
38699
38700 #undef sched_yield
38701
38702 /* Override any GCC internal prototype to avoid an error.
38703 Use char because int might match the return type of a GCC
38704 builtin and then its argument prototype would still apply. */
38705 #ifdef __cplusplus
38706 extern "C"
38707 #endif
38708 char sched_yield ();
38709 /* The GNU C library defines this for functions which it implements
38710 to always fail with ENOSYS. Some functions are actually named
38711 something starting with __ and the normal name is an alias. */
38712 #if defined __stub_sched_yield || defined __stub___sched_yield
38713 choke me
38714 #endif
38715
38716 int
38717 main ()
38718 {
38719 return sched_yield ();
38720 ;
38721 return 0;
38722 }
38723 _ACEOF
38724 rm -f conftest.$ac_objext conftest$ac_exeext
38725 if { (ac_try="$ac_link"
38726 case "(($ac_try" in
38727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38728 *) ac_try_echo=$ac_try;;
38729 esac
38730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38731 (eval "$ac_link") 2>conftest.er1
38732 ac_status=$?
38733 grep -v '^ *+' conftest.er1 >conftest.err
38734 rm -f conftest.er1
38735 cat conftest.err >&5
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); } && {
38738 test -z "$ac_c_werror_flag" ||
38739 test ! -s conftest.err
38740 } && test -s conftest$ac_exeext &&
38741 $as_test_x conftest$ac_exeext; then
38742 ac_cv_func_sched_yield=yes
38743 else
38744 echo "$as_me: failed program was:" >&5
38745 sed 's/^/| /' conftest.$ac_ext >&5
38746
38747 ac_cv_func_sched_yield=no
38748 fi
38749
38750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38751 conftest$ac_exeext conftest.$ac_ext
38752 fi
38753 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38754 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38755 if test $ac_cv_func_sched_yield = yes; then
38756 cat >>confdefs.h <<\_ACEOF
38757 #define HAVE_SCHED_YIELD 1
38758 _ACEOF
38759
38760 else
38761
38762 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38763 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38764 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38766 else
38767 ac_check_lib_save_LIBS=$LIBS
38768 LIBS="-lposix4 $LIBS"
38769 cat >conftest.$ac_ext <<_ACEOF
38770 /* confdefs.h. */
38771 _ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38775
38776 /* Override any GCC internal prototype to avoid an error.
38777 Use char because int might match the return type of a GCC
38778 builtin and then its argument prototype would still apply. */
38779 #ifdef __cplusplus
38780 extern "C"
38781 #endif
38782 char sched_yield ();
38783 int
38784 main ()
38785 {
38786 return sched_yield ();
38787 ;
38788 return 0;
38789 }
38790 _ACEOF
38791 rm -f conftest.$ac_objext conftest$ac_exeext
38792 if { (ac_try="$ac_link"
38793 case "(($ac_try" in
38794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38795 *) ac_try_echo=$ac_try;;
38796 esac
38797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38798 (eval "$ac_link") 2>conftest.er1
38799 ac_status=$?
38800 grep -v '^ *+' conftest.er1 >conftest.err
38801 rm -f conftest.er1
38802 cat conftest.err >&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } && {
38805 test -z "$ac_c_werror_flag" ||
38806 test ! -s conftest.err
38807 } && test -s conftest$ac_exeext &&
38808 $as_test_x conftest$ac_exeext; then
38809 ac_cv_lib_posix4_sched_yield=yes
38810 else
38811 echo "$as_me: failed program was:" >&5
38812 sed 's/^/| /' conftest.$ac_ext >&5
38813
38814 ac_cv_lib_posix4_sched_yield=no
38815 fi
38816
38817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38818 conftest$ac_exeext conftest.$ac_ext
38819 LIBS=$ac_check_lib_save_LIBS
38820 fi
38821 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38822 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38823 if test $ac_cv_lib_posix4_sched_yield = yes; then
38824 cat >>confdefs.h <<\_ACEOF
38825 #define HAVE_SCHED_YIELD 1
38826 _ACEOF
38827 POSIX4_LINK=" -lposix4"
38828 else
38829 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38830 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38831
38832 fi
38833
38834
38835
38836 fi
38837
38838 fi
38839
38840 HAVE_PRIOR_FUNCS=0
38841 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38842 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38843 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38845 else
38846 cat >conftest.$ac_ext <<_ACEOF
38847 /* confdefs.h. */
38848 _ACEOF
38849 cat confdefs.h >>conftest.$ac_ext
38850 cat >>conftest.$ac_ext <<_ACEOF
38851 /* end confdefs.h. */
38852 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38854 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38855
38856 /* System header to define __stub macros and hopefully few prototypes,
38857 which can conflict with char pthread_attr_getschedpolicy (); below.
38858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38859 <limits.h> exists even on freestanding compilers. */
38860
38861 #ifdef __STDC__
38862 # include <limits.h>
38863 #else
38864 # include <assert.h>
38865 #endif
38866
38867 #undef pthread_attr_getschedpolicy
38868
38869 /* Override any GCC internal prototype to avoid an error.
38870 Use char because int might match the return type of a GCC
38871 builtin and then its argument prototype would still apply. */
38872 #ifdef __cplusplus
38873 extern "C"
38874 #endif
38875 char pthread_attr_getschedpolicy ();
38876 /* The GNU C library defines this for functions which it implements
38877 to always fail with ENOSYS. Some functions are actually named
38878 something starting with __ and the normal name is an alias. */
38879 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38880 choke me
38881 #endif
38882
38883 int
38884 main ()
38885 {
38886 return pthread_attr_getschedpolicy ();
38887 ;
38888 return 0;
38889 }
38890 _ACEOF
38891 rm -f conftest.$ac_objext conftest$ac_exeext
38892 if { (ac_try="$ac_link"
38893 case "(($ac_try" in
38894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38895 *) ac_try_echo=$ac_try;;
38896 esac
38897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38898 (eval "$ac_link") 2>conftest.er1
38899 ac_status=$?
38900 grep -v '^ *+' conftest.er1 >conftest.err
38901 rm -f conftest.er1
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } && {
38905 test -z "$ac_c_werror_flag" ||
38906 test ! -s conftest.err
38907 } && test -s conftest$ac_exeext &&
38908 $as_test_x conftest$ac_exeext; then
38909 ac_cv_func_pthread_attr_getschedpolicy=yes
38910 else
38911 echo "$as_me: failed program was:" >&5
38912 sed 's/^/| /' conftest.$ac_ext >&5
38913
38914 ac_cv_func_pthread_attr_getschedpolicy=no
38915 fi
38916
38917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38918 conftest$ac_exeext conftest.$ac_ext
38919 fi
38920 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38921 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38922 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38923 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38924 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38925 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38926 echo $ECHO_N "(cached) $ECHO_C" >&6
38927 else
38928 cat >conftest.$ac_ext <<_ACEOF
38929 /* confdefs.h. */
38930 _ACEOF
38931 cat confdefs.h >>conftest.$ac_ext
38932 cat >>conftest.$ac_ext <<_ACEOF
38933 /* end confdefs.h. */
38934 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38936 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38937
38938 /* System header to define __stub macros and hopefully few prototypes,
38939 which can conflict with char pthread_attr_setschedparam (); below.
38940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38941 <limits.h> exists even on freestanding compilers. */
38942
38943 #ifdef __STDC__
38944 # include <limits.h>
38945 #else
38946 # include <assert.h>
38947 #endif
38948
38949 #undef pthread_attr_setschedparam
38950
38951 /* Override any GCC internal prototype to avoid an error.
38952 Use char because int might match the return type of a GCC
38953 builtin and then its argument prototype would still apply. */
38954 #ifdef __cplusplus
38955 extern "C"
38956 #endif
38957 char pthread_attr_setschedparam ();
38958 /* The GNU C library defines this for functions which it implements
38959 to always fail with ENOSYS. Some functions are actually named
38960 something starting with __ and the normal name is an alias. */
38961 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38962 choke me
38963 #endif
38964
38965 int
38966 main ()
38967 {
38968 return pthread_attr_setschedparam ();
38969 ;
38970 return 0;
38971 }
38972 _ACEOF
38973 rm -f conftest.$ac_objext conftest$ac_exeext
38974 if { (ac_try="$ac_link"
38975 case "(($ac_try" in
38976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38977 *) ac_try_echo=$ac_try;;
38978 esac
38979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38980 (eval "$ac_link") 2>conftest.er1
38981 ac_status=$?
38982 grep -v '^ *+' conftest.er1 >conftest.err
38983 rm -f conftest.er1
38984 cat conftest.err >&5
38985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38986 (exit $ac_status); } && {
38987 test -z "$ac_c_werror_flag" ||
38988 test ! -s conftest.err
38989 } && test -s conftest$ac_exeext &&
38990 $as_test_x conftest$ac_exeext; then
38991 ac_cv_func_pthread_attr_setschedparam=yes
38992 else
38993 echo "$as_me: failed program was:" >&5
38994 sed 's/^/| /' conftest.$ac_ext >&5
38995
38996 ac_cv_func_pthread_attr_setschedparam=no
38997 fi
38998
38999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39000 conftest$ac_exeext conftest.$ac_ext
39001 fi
39002 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39003 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39004 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39005 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39006 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39007 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39008 echo $ECHO_N "(cached) $ECHO_C" >&6
39009 else
39010 cat >conftest.$ac_ext <<_ACEOF
39011 /* confdefs.h. */
39012 _ACEOF
39013 cat confdefs.h >>conftest.$ac_ext
39014 cat >>conftest.$ac_ext <<_ACEOF
39015 /* end confdefs.h. */
39016 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39018 #define sched_get_priority_max innocuous_sched_get_priority_max
39019
39020 /* System header to define __stub macros and hopefully few prototypes,
39021 which can conflict with char sched_get_priority_max (); below.
39022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39023 <limits.h> exists even on freestanding compilers. */
39024
39025 #ifdef __STDC__
39026 # include <limits.h>
39027 #else
39028 # include <assert.h>
39029 #endif
39030
39031 #undef sched_get_priority_max
39032
39033 /* Override any GCC internal prototype to avoid an error.
39034 Use char because int might match the return type of a GCC
39035 builtin and then its argument prototype would still apply. */
39036 #ifdef __cplusplus
39037 extern "C"
39038 #endif
39039 char sched_get_priority_max ();
39040 /* The GNU C library defines this for functions which it implements
39041 to always fail with ENOSYS. Some functions are actually named
39042 something starting with __ and the normal name is an alias. */
39043 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39044 choke me
39045 #endif
39046
39047 int
39048 main ()
39049 {
39050 return sched_get_priority_max ();
39051 ;
39052 return 0;
39053 }
39054 _ACEOF
39055 rm -f conftest.$ac_objext conftest$ac_exeext
39056 if { (ac_try="$ac_link"
39057 case "(($ac_try" in
39058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39059 *) ac_try_echo=$ac_try;;
39060 esac
39061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39062 (eval "$ac_link") 2>conftest.er1
39063 ac_status=$?
39064 grep -v '^ *+' conftest.er1 >conftest.err
39065 rm -f conftest.er1
39066 cat conftest.err >&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); } && {
39069 test -z "$ac_c_werror_flag" ||
39070 test ! -s conftest.err
39071 } && test -s conftest$ac_exeext &&
39072 $as_test_x conftest$ac_exeext; then
39073 ac_cv_func_sched_get_priority_max=yes
39074 else
39075 echo "$as_me: failed program was:" >&5
39076 sed 's/^/| /' conftest.$ac_ext >&5
39077
39078 ac_cv_func_sched_get_priority_max=no
39079 fi
39080
39081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39082 conftest$ac_exeext conftest.$ac_ext
39083 fi
39084 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39085 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39086 if test $ac_cv_func_sched_get_priority_max = yes; then
39087 HAVE_PRIOR_FUNCS=1
39088 else
39089 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39090 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39091 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39092 echo $ECHO_N "(cached) $ECHO_C" >&6
39093 else
39094 ac_check_lib_save_LIBS=$LIBS
39095 LIBS="-lposix4 $LIBS"
39096 cat >conftest.$ac_ext <<_ACEOF
39097 /* confdefs.h. */
39098 _ACEOF
39099 cat confdefs.h >>conftest.$ac_ext
39100 cat >>conftest.$ac_ext <<_ACEOF
39101 /* end confdefs.h. */
39102
39103 /* Override any GCC internal prototype to avoid an error.
39104 Use char because int might match the return type of a GCC
39105 builtin and then its argument prototype would still apply. */
39106 #ifdef __cplusplus
39107 extern "C"
39108 #endif
39109 char sched_get_priority_max ();
39110 int
39111 main ()
39112 {
39113 return sched_get_priority_max ();
39114 ;
39115 return 0;
39116 }
39117 _ACEOF
39118 rm -f conftest.$ac_objext conftest$ac_exeext
39119 if { (ac_try="$ac_link"
39120 case "(($ac_try" in
39121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39122 *) ac_try_echo=$ac_try;;
39123 esac
39124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39125 (eval "$ac_link") 2>conftest.er1
39126 ac_status=$?
39127 grep -v '^ *+' conftest.er1 >conftest.err
39128 rm -f conftest.er1
39129 cat conftest.err >&5
39130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39131 (exit $ac_status); } && {
39132 test -z "$ac_c_werror_flag" ||
39133 test ! -s conftest.err
39134 } && test -s conftest$ac_exeext &&
39135 $as_test_x conftest$ac_exeext; then
39136 ac_cv_lib_posix4_sched_get_priority_max=yes
39137 else
39138 echo "$as_me: failed program was:" >&5
39139 sed 's/^/| /' conftest.$ac_ext >&5
39140
39141 ac_cv_lib_posix4_sched_get_priority_max=no
39142 fi
39143
39144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39145 conftest$ac_exeext conftest.$ac_ext
39146 LIBS=$ac_check_lib_save_LIBS
39147 fi
39148 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39149 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39150 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39151
39152 HAVE_PRIOR_FUNCS=1
39153 POSIX4_LINK=" -lposix4"
39154
39155 fi
39156
39157
39158 fi
39159
39160
39161 fi
39162
39163
39164 fi
39165
39166
39167 if test "$HAVE_PRIOR_FUNCS" = 1; then
39168 cat >>confdefs.h <<\_ACEOF
39169 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39170 _ACEOF
39171
39172 else
39173 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39174 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39175 fi
39176
39177 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39178 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39179 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39180 echo $ECHO_N "(cached) $ECHO_C" >&6
39181 else
39182 cat >conftest.$ac_ext <<_ACEOF
39183 /* confdefs.h. */
39184 _ACEOF
39185 cat confdefs.h >>conftest.$ac_ext
39186 cat >>conftest.$ac_ext <<_ACEOF
39187 /* end confdefs.h. */
39188 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39190 #define pthread_cancel innocuous_pthread_cancel
39191
39192 /* System header to define __stub macros and hopefully few prototypes,
39193 which can conflict with char pthread_cancel (); below.
39194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39195 <limits.h> exists even on freestanding compilers. */
39196
39197 #ifdef __STDC__
39198 # include <limits.h>
39199 #else
39200 # include <assert.h>
39201 #endif
39202
39203 #undef pthread_cancel
39204
39205 /* Override any GCC internal prototype to avoid an error.
39206 Use char because int might match the return type of a GCC
39207 builtin and then its argument prototype would still apply. */
39208 #ifdef __cplusplus
39209 extern "C"
39210 #endif
39211 char pthread_cancel ();
39212 /* The GNU C library defines this for functions which it implements
39213 to always fail with ENOSYS. Some functions are actually named
39214 something starting with __ and the normal name is an alias. */
39215 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39216 choke me
39217 #endif
39218
39219 int
39220 main ()
39221 {
39222 return pthread_cancel ();
39223 ;
39224 return 0;
39225 }
39226 _ACEOF
39227 rm -f conftest.$ac_objext conftest$ac_exeext
39228 if { (ac_try="$ac_link"
39229 case "(($ac_try" in
39230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39231 *) ac_try_echo=$ac_try;;
39232 esac
39233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39234 (eval "$ac_link") 2>conftest.er1
39235 ac_status=$?
39236 grep -v '^ *+' conftest.er1 >conftest.err
39237 rm -f conftest.er1
39238 cat conftest.err >&5
39239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39240 (exit $ac_status); } && {
39241 test -z "$ac_c_werror_flag" ||
39242 test ! -s conftest.err
39243 } && test -s conftest$ac_exeext &&
39244 $as_test_x conftest$ac_exeext; then
39245 ac_cv_func_pthread_cancel=yes
39246 else
39247 echo "$as_me: failed program was:" >&5
39248 sed 's/^/| /' conftest.$ac_ext >&5
39249
39250 ac_cv_func_pthread_cancel=no
39251 fi
39252
39253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39254 conftest$ac_exeext conftest.$ac_ext
39255 fi
39256 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39257 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39258 if test $ac_cv_func_pthread_cancel = yes; then
39259 cat >>confdefs.h <<\_ACEOF
39260 #define HAVE_PTHREAD_CANCEL 1
39261 _ACEOF
39262
39263 else
39264 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39265 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39266 fi
39267
39268
39269 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39270 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39271 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 else
39274 cat >conftest.$ac_ext <<_ACEOF
39275 /* confdefs.h. */
39276 _ACEOF
39277 cat confdefs.h >>conftest.$ac_ext
39278 cat >>conftest.$ac_ext <<_ACEOF
39279 /* end confdefs.h. */
39280 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39282 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39283
39284 /* System header to define __stub macros and hopefully few prototypes,
39285 which can conflict with char pthread_mutex_timedlock (); below.
39286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39287 <limits.h> exists even on freestanding compilers. */
39288
39289 #ifdef __STDC__
39290 # include <limits.h>
39291 #else
39292 # include <assert.h>
39293 #endif
39294
39295 #undef pthread_mutex_timedlock
39296
39297 /* Override any GCC internal prototype to avoid an error.
39298 Use char because int might match the return type of a GCC
39299 builtin and then its argument prototype would still apply. */
39300 #ifdef __cplusplus
39301 extern "C"
39302 #endif
39303 char pthread_mutex_timedlock ();
39304 /* The GNU C library defines this for functions which it implements
39305 to always fail with ENOSYS. Some functions are actually named
39306 something starting with __ and the normal name is an alias. */
39307 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39308 choke me
39309 #endif
39310
39311 int
39312 main ()
39313 {
39314 return pthread_mutex_timedlock ();
39315 ;
39316 return 0;
39317 }
39318 _ACEOF
39319 rm -f conftest.$ac_objext conftest$ac_exeext
39320 if { (ac_try="$ac_link"
39321 case "(($ac_try" in
39322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39323 *) ac_try_echo=$ac_try;;
39324 esac
39325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39326 (eval "$ac_link") 2>conftest.er1
39327 ac_status=$?
39328 grep -v '^ *+' conftest.er1 >conftest.err
39329 rm -f conftest.er1
39330 cat conftest.err >&5
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); } && {
39333 test -z "$ac_c_werror_flag" ||
39334 test ! -s conftest.err
39335 } && test -s conftest$ac_exeext &&
39336 $as_test_x conftest$ac_exeext; then
39337 ac_cv_func_pthread_mutex_timedlock=yes
39338 else
39339 echo "$as_me: failed program was:" >&5
39340 sed 's/^/| /' conftest.$ac_ext >&5
39341
39342 ac_cv_func_pthread_mutex_timedlock=no
39343 fi
39344
39345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39346 conftest$ac_exeext conftest.$ac_ext
39347 fi
39348 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39349 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39350 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39351 cat >>confdefs.h <<\_ACEOF
39352 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39353 _ACEOF
39354
39355 else
39356 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39357 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39358 fi
39359
39360
39361 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39362 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39363 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39364 echo $ECHO_N "(cached) $ECHO_C" >&6
39365 else
39366 cat >conftest.$ac_ext <<_ACEOF
39367 /* confdefs.h. */
39368 _ACEOF
39369 cat confdefs.h >>conftest.$ac_ext
39370 cat >>conftest.$ac_ext <<_ACEOF
39371 /* end confdefs.h. */
39372 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39374 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39375
39376 /* System header to define __stub macros and hopefully few prototypes,
39377 which can conflict with char pthread_attr_setstacksize (); below.
39378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39379 <limits.h> exists even on freestanding compilers. */
39380
39381 #ifdef __STDC__
39382 # include <limits.h>
39383 #else
39384 # include <assert.h>
39385 #endif
39386
39387 #undef pthread_attr_setstacksize
39388
39389 /* Override any GCC internal prototype to avoid an error.
39390 Use char because int might match the return type of a GCC
39391 builtin and then its argument prototype would still apply. */
39392 #ifdef __cplusplus
39393 extern "C"
39394 #endif
39395 char pthread_attr_setstacksize ();
39396 /* The GNU C library defines this for functions which it implements
39397 to always fail with ENOSYS. Some functions are actually named
39398 something starting with __ and the normal name is an alias. */
39399 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39400 choke me
39401 #endif
39402
39403 int
39404 main ()
39405 {
39406 return pthread_attr_setstacksize ();
39407 ;
39408 return 0;
39409 }
39410 _ACEOF
39411 rm -f conftest.$ac_objext conftest$ac_exeext
39412 if { (ac_try="$ac_link"
39413 case "(($ac_try" in
39414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39415 *) ac_try_echo=$ac_try;;
39416 esac
39417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39418 (eval "$ac_link") 2>conftest.er1
39419 ac_status=$?
39420 grep -v '^ *+' conftest.er1 >conftest.err
39421 rm -f conftest.er1
39422 cat conftest.err >&5
39423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39424 (exit $ac_status); } && {
39425 test -z "$ac_c_werror_flag" ||
39426 test ! -s conftest.err
39427 } && test -s conftest$ac_exeext &&
39428 $as_test_x conftest$ac_exeext; then
39429 ac_cv_func_pthread_attr_setstacksize=yes
39430 else
39431 echo "$as_me: failed program was:" >&5
39432 sed 's/^/| /' conftest.$ac_ext >&5
39433
39434 ac_cv_func_pthread_attr_setstacksize=no
39435 fi
39436
39437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39438 conftest$ac_exeext conftest.$ac_ext
39439 fi
39440 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39441 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39442 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39443 cat >>confdefs.h <<\_ACEOF
39444 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39445 _ACEOF
39446
39447 fi
39448
39449
39450
39451 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39452 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39453 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39454 echo $ECHO_N "(cached) $ECHO_C" >&6
39455 else
39456
39457 cat >conftest.$ac_ext <<_ACEOF
39458 /* confdefs.h. */
39459 _ACEOF
39460 cat confdefs.h >>conftest.$ac_ext
39461 cat >>conftest.$ac_ext <<_ACEOF
39462 /* end confdefs.h. */
39463 #include <pthread.h>
39464 int
39465 main ()
39466 {
39467
39468 pthread_mutexattr_t attr;
39469 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39470
39471 ;
39472 return 0;
39473 }
39474 _ACEOF
39475 rm -f conftest.$ac_objext
39476 if { (ac_try="$ac_compile"
39477 case "(($ac_try" in
39478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39479 *) ac_try_echo=$ac_try;;
39480 esac
39481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39482 (eval "$ac_compile") 2>conftest.er1
39483 ac_status=$?
39484 grep -v '^ *+' conftest.er1 >conftest.err
39485 rm -f conftest.er1
39486 cat conftest.err >&5
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); } && {
39489 test -z "$ac_c_werror_flag" ||
39490 test ! -s conftest.err
39491 } && test -s conftest.$ac_objext; then
39492 wx_cv_type_pthread_mutexattr_t=yes
39493 else
39494 echo "$as_me: failed program was:" >&5
39495 sed 's/^/| /' conftest.$ac_ext >&5
39496
39497 wx_cv_type_pthread_mutexattr_t=no
39498
39499 fi
39500
39501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39502
39503 fi
39504 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39505 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39506
39507 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39508 cat >>confdefs.h <<\_ACEOF
39509 #define HAVE_PTHREAD_MUTEXATTR_T 1
39510 _ACEOF
39511
39512
39513 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39514 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39515 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39516 echo $ECHO_N "(cached) $ECHO_C" >&6
39517 else
39518
39519 cat >conftest.$ac_ext <<_ACEOF
39520 /* confdefs.h. */
39521 _ACEOF
39522 cat confdefs.h >>conftest.$ac_ext
39523 cat >>conftest.$ac_ext <<_ACEOF
39524 /* end confdefs.h. */
39525 #include <pthread.h>
39526 int
39527 main ()
39528 {
39529
39530 pthread_mutexattr_t attr;
39531 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39532
39533 ;
39534 return 0;
39535 }
39536 _ACEOF
39537 rm -f conftest.$ac_objext
39538 if { (ac_try="$ac_compile"
39539 case "(($ac_try" in
39540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39541 *) ac_try_echo=$ac_try;;
39542 esac
39543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39544 (eval "$ac_compile") 2>conftest.er1
39545 ac_status=$?
39546 grep -v '^ *+' conftest.er1 >conftest.err
39547 rm -f conftest.er1
39548 cat conftest.err >&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); } && {
39551 test -z "$ac_c_werror_flag" ||
39552 test ! -s conftest.err
39553 } && test -s conftest.$ac_objext; then
39554 wx_cv_func_pthread_mutexattr_settype_decl=yes
39555 else
39556 echo "$as_me: failed program was:" >&5
39557 sed 's/^/| /' conftest.$ac_ext >&5
39558
39559 wx_cv_func_pthread_mutexattr_settype_decl=no
39560
39561 fi
39562
39563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39564
39565 fi
39566 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39567 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39568 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39569 cat >>confdefs.h <<\_ACEOF
39570 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39571 _ACEOF
39572
39573 fi
39574 else
39575 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39576 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39577 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39578 echo $ECHO_N "(cached) $ECHO_C" >&6
39579 else
39580
39581 cat >conftest.$ac_ext <<_ACEOF
39582 /* confdefs.h. */
39583 _ACEOF
39584 cat confdefs.h >>conftest.$ac_ext
39585 cat >>conftest.$ac_ext <<_ACEOF
39586 /* end confdefs.h. */
39587 #include <pthread.h>
39588 int
39589 main ()
39590 {
39591
39592 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39593
39594 ;
39595 return 0;
39596 }
39597 _ACEOF
39598 rm -f conftest.$ac_objext
39599 if { (ac_try="$ac_compile"
39600 case "(($ac_try" in
39601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39602 *) ac_try_echo=$ac_try;;
39603 esac
39604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39605 (eval "$ac_compile") 2>conftest.er1
39606 ac_status=$?
39607 grep -v '^ *+' conftest.er1 >conftest.err
39608 rm -f conftest.er1
39609 cat conftest.err >&5
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); } && {
39612 test -z "$ac_c_werror_flag" ||
39613 test ! -s conftest.err
39614 } && test -s conftest.$ac_objext; then
39615
39616 wx_cv_type_pthread_rec_mutex_init=yes
39617
39618 else
39619 echo "$as_me: failed program was:" >&5
39620 sed 's/^/| /' conftest.$ac_ext >&5
39621
39622
39623 wx_cv_type_pthread_rec_mutex_init=no
39624
39625
39626 fi
39627
39628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39629
39630 fi
39631 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39632 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39633 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39634 cat >>confdefs.h <<\_ACEOF
39635 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39636 _ACEOF
39637
39638 else
39639 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39640 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39641 fi
39642 fi
39643 fi
39644
39645 else
39646 if test "$wxUSE_THREADS" = "yes" ; then
39647 case "${host}" in
39648 *-*-mingw32* )
39649 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39650 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39651 if test "${wx_cv_cflags_mthread+set}" = set; then
39652 echo $ECHO_N "(cached) $ECHO_C" >&6
39653 else
39654
39655 CFLAGS_OLD="$CFLAGS"
39656 CFLAGS="-mthreads $CFLAGS"
39657 cat >conftest.$ac_ext <<_ACEOF
39658 /* confdefs.h. */
39659 _ACEOF
39660 cat confdefs.h >>conftest.$ac_ext
39661 cat >>conftest.$ac_ext <<_ACEOF
39662 /* end confdefs.h. */
39663
39664 int
39665 main ()
39666 {
39667
39668 ;
39669 return 0;
39670 }
39671 _ACEOF
39672 rm -f conftest.$ac_objext
39673 if { (ac_try="$ac_compile"
39674 case "(($ac_try" in
39675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39676 *) ac_try_echo=$ac_try;;
39677 esac
39678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39679 (eval "$ac_compile") 2>conftest.er1
39680 ac_status=$?
39681 grep -v '^ *+' conftest.er1 >conftest.err
39682 rm -f conftest.er1
39683 cat conftest.err >&5
39684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685 (exit $ac_status); } && {
39686 test -z "$ac_c_werror_flag" ||
39687 test ! -s conftest.err
39688 } && test -s conftest.$ac_objext; then
39689 wx_cv_cflags_mthread=yes
39690 else
39691 echo "$as_me: failed program was:" >&5
39692 sed 's/^/| /' conftest.$ac_ext >&5
39693
39694 wx_cv_cflags_mthread=no
39695
39696 fi
39697
39698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39699
39700
39701 fi
39702 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39703 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39704
39705 if test "$wx_cv_cflags_mthread" = "yes"; then
39706 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39707 LDFLAGS="$LDFLAGS -mthreads"
39708 else
39709 CFLAGS="$CFLAGS_OLD"
39710 fi
39711 ;;
39712 *-pc-os2*emx )
39713 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39714 LDFLAGS="$LDFLAGS -Zmt"
39715 ;;
39716 esac
39717 fi
39718 fi
39719
39720 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39721 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39722 if test "${ac_cv_func_localtime_r+set}" = set; then
39723 echo $ECHO_N "(cached) $ECHO_C" >&6
39724 else
39725 cat >conftest.$ac_ext <<_ACEOF
39726 /* confdefs.h. */
39727 _ACEOF
39728 cat confdefs.h >>conftest.$ac_ext
39729 cat >>conftest.$ac_ext <<_ACEOF
39730 /* end confdefs.h. */
39731 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39733 #define localtime_r innocuous_localtime_r
39734
39735 /* System header to define __stub macros and hopefully few prototypes,
39736 which can conflict with char localtime_r (); below.
39737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39738 <limits.h> exists even on freestanding compilers. */
39739
39740 #ifdef __STDC__
39741 # include <limits.h>
39742 #else
39743 # include <assert.h>
39744 #endif
39745
39746 #undef localtime_r
39747
39748 /* Override any GCC internal prototype to avoid an error.
39749 Use char because int might match the return type of a GCC
39750 builtin and then its argument prototype would still apply. */
39751 #ifdef __cplusplus
39752 extern "C"
39753 #endif
39754 char localtime_r ();
39755 /* The GNU C library defines this for functions which it implements
39756 to always fail with ENOSYS. Some functions are actually named
39757 something starting with __ and the normal name is an alias. */
39758 #if defined __stub_localtime_r || defined __stub___localtime_r
39759 choke me
39760 #endif
39761
39762 int
39763 main ()
39764 {
39765 return localtime_r ();
39766 ;
39767 return 0;
39768 }
39769 _ACEOF
39770 rm -f conftest.$ac_objext conftest$ac_exeext
39771 if { (ac_try="$ac_link"
39772 case "(($ac_try" in
39773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39774 *) ac_try_echo=$ac_try;;
39775 esac
39776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39777 (eval "$ac_link") 2>conftest.er1
39778 ac_status=$?
39779 grep -v '^ *+' conftest.er1 >conftest.err
39780 rm -f conftest.er1
39781 cat conftest.err >&5
39782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 (exit $ac_status); } && {
39784 test -z "$ac_c_werror_flag" ||
39785 test ! -s conftest.err
39786 } && test -s conftest$ac_exeext &&
39787 $as_test_x conftest$ac_exeext; then
39788 ac_cv_func_localtime_r=yes
39789 else
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39792
39793 ac_cv_func_localtime_r=no
39794 fi
39795
39796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39797 conftest$ac_exeext conftest.$ac_ext
39798 fi
39799 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39800 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39801 if test $ac_cv_func_localtime_r = yes; then
39802 cat >>confdefs.h <<\_ACEOF
39803 #define HAVE_LOCALTIME_R 1
39804 _ACEOF
39805
39806 fi
39807
39808 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39809 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39810 if test "${ac_cv_func_gmtime_r+set}" = set; then
39811 echo $ECHO_N "(cached) $ECHO_C" >&6
39812 else
39813 cat >conftest.$ac_ext <<_ACEOF
39814 /* confdefs.h. */
39815 _ACEOF
39816 cat confdefs.h >>conftest.$ac_ext
39817 cat >>conftest.$ac_ext <<_ACEOF
39818 /* end confdefs.h. */
39819 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39821 #define gmtime_r innocuous_gmtime_r
39822
39823 /* System header to define __stub macros and hopefully few prototypes,
39824 which can conflict with char gmtime_r (); below.
39825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39826 <limits.h> exists even on freestanding compilers. */
39827
39828 #ifdef __STDC__
39829 # include <limits.h>
39830 #else
39831 # include <assert.h>
39832 #endif
39833
39834 #undef gmtime_r
39835
39836 /* Override any GCC internal prototype to avoid an error.
39837 Use char because int might match the return type of a GCC
39838 builtin and then its argument prototype would still apply. */
39839 #ifdef __cplusplus
39840 extern "C"
39841 #endif
39842 char gmtime_r ();
39843 /* The GNU C library defines this for functions which it implements
39844 to always fail with ENOSYS. Some functions are actually named
39845 something starting with __ and the normal name is an alias. */
39846 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39847 choke me
39848 #endif
39849
39850 int
39851 main ()
39852 {
39853 return gmtime_r ();
39854 ;
39855 return 0;
39856 }
39857 _ACEOF
39858 rm -f conftest.$ac_objext conftest$ac_exeext
39859 if { (ac_try="$ac_link"
39860 case "(($ac_try" in
39861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39862 *) ac_try_echo=$ac_try;;
39863 esac
39864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39865 (eval "$ac_link") 2>conftest.er1
39866 ac_status=$?
39867 grep -v '^ *+' conftest.er1 >conftest.err
39868 rm -f conftest.er1
39869 cat conftest.err >&5
39870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39871 (exit $ac_status); } && {
39872 test -z "$ac_c_werror_flag" ||
39873 test ! -s conftest.err
39874 } && test -s conftest$ac_exeext &&
39875 $as_test_x conftest$ac_exeext; then
39876 ac_cv_func_gmtime_r=yes
39877 else
39878 echo "$as_me: failed program was:" >&5
39879 sed 's/^/| /' conftest.$ac_ext >&5
39880
39881 ac_cv_func_gmtime_r=no
39882 fi
39883
39884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39885 conftest$ac_exeext conftest.$ac_ext
39886 fi
39887 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39888 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39889 if test $ac_cv_func_gmtime_r = yes; then
39890 cat >>confdefs.h <<\_ACEOF
39891 #define HAVE_GMTIME_R 1
39892 _ACEOF
39893
39894 fi
39895
39896
39897
39898
39899 ac_ext=c
39900 ac_cpp='$CPP $CPPFLAGS'
39901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39904
39905 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39906 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39907
39908 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39909 echo $ECHO_N "(cached) $ECHO_C" >&6
39910 else
39911
39912
39913 ################################################################
39914
39915 ac_cv_func_which_gethostbyname_r=unknown
39916
39917 #
39918 # ONE ARGUMENT (sanity check)
39919 #
39920
39921 # This should fail, as there is no variant of gethostbyname_r() that takes
39922 # a single argument. If it actually compiles, then we can assume that
39923 # netdb.h is not declaring the function, and the compiler is thereby
39924 # assuming an implicit prototype. In which case, we're out of luck.
39925 #
39926 cat >conftest.$ac_ext <<_ACEOF
39927 /* confdefs.h. */
39928 _ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39932 #include <netdb.h>
39933 int
39934 main ()
39935 {
39936
39937 char *name = "www.gnu.org";
39938 (void)gethostbyname_r(name) /* ; */
39939
39940 ;
39941 return 0;
39942 }
39943 _ACEOF
39944 rm -f conftest.$ac_objext
39945 if { (ac_try="$ac_compile"
39946 case "(($ac_try" in
39947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39948 *) ac_try_echo=$ac_try;;
39949 esac
39950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39951 (eval "$ac_compile") 2>conftest.er1
39952 ac_status=$?
39953 grep -v '^ *+' conftest.er1 >conftest.err
39954 rm -f conftest.er1
39955 cat conftest.err >&5
39956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39957 (exit $ac_status); } && {
39958 test -z "$ac_c_werror_flag" ||
39959 test ! -s conftest.err
39960 } && test -s conftest.$ac_objext; then
39961 ac_cv_func_which_gethostbyname_r=no
39962 else
39963 echo "$as_me: failed program was:" >&5
39964 sed 's/^/| /' conftest.$ac_ext >&5
39965
39966
39967 fi
39968
39969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39970
39971 #
39972 # SIX ARGUMENTS
39973 # (e.g. Linux)
39974 #
39975
39976 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39977
39978 cat >conftest.$ac_ext <<_ACEOF
39979 /* confdefs.h. */
39980 _ACEOF
39981 cat confdefs.h >>conftest.$ac_ext
39982 cat >>conftest.$ac_ext <<_ACEOF
39983 /* end confdefs.h. */
39984 #include <netdb.h>
39985 int
39986 main ()
39987 {
39988
39989 char *name = "www.gnu.org";
39990 struct hostent ret, *retp;
39991 char buf[1024];
39992 int buflen = 1024;
39993 int my_h_errno;
39994 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39995
39996 ;
39997 return 0;
39998 }
39999 _ACEOF
40000 rm -f conftest.$ac_objext
40001 if { (ac_try="$ac_compile"
40002 case "(($ac_try" in
40003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40004 *) ac_try_echo=$ac_try;;
40005 esac
40006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40007 (eval "$ac_compile") 2>conftest.er1
40008 ac_status=$?
40009 grep -v '^ *+' conftest.er1 >conftest.err
40010 rm -f conftest.er1
40011 cat conftest.err >&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } && {
40014 test -z "$ac_c_werror_flag" ||
40015 test ! -s conftest.err
40016 } && test -s conftest.$ac_objext; then
40017 ac_cv_func_which_gethostbyname_r=six
40018 else
40019 echo "$as_me: failed program was:" >&5
40020 sed 's/^/| /' conftest.$ac_ext >&5
40021
40022
40023 fi
40024
40025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40026
40027 fi
40028
40029 #
40030 # FIVE ARGUMENTS
40031 # (e.g. Solaris)
40032 #
40033
40034 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40035
40036 cat >conftest.$ac_ext <<_ACEOF
40037 /* confdefs.h. */
40038 _ACEOF
40039 cat confdefs.h >>conftest.$ac_ext
40040 cat >>conftest.$ac_ext <<_ACEOF
40041 /* end confdefs.h. */
40042 #include <netdb.h>
40043 int
40044 main ()
40045 {
40046
40047 char *name = "www.gnu.org";
40048 struct hostent ret;
40049 char buf[1024];
40050 int buflen = 1024;
40051 int my_h_errno;
40052 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40053
40054 ;
40055 return 0;
40056 }
40057 _ACEOF
40058 rm -f conftest.$ac_objext
40059 if { (ac_try="$ac_compile"
40060 case "(($ac_try" in
40061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40062 *) ac_try_echo=$ac_try;;
40063 esac
40064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40065 (eval "$ac_compile") 2>conftest.er1
40066 ac_status=$?
40067 grep -v '^ *+' conftest.er1 >conftest.err
40068 rm -f conftest.er1
40069 cat conftest.err >&5
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); } && {
40072 test -z "$ac_c_werror_flag" ||
40073 test ! -s conftest.err
40074 } && test -s conftest.$ac_objext; then
40075 ac_cv_func_which_gethostbyname_r=five
40076 else
40077 echo "$as_me: failed program was:" >&5
40078 sed 's/^/| /' conftest.$ac_ext >&5
40079
40080
40081 fi
40082
40083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40084
40085 fi
40086
40087 #
40088 # THREE ARGUMENTS
40089 # (e.g. AIX, HP-UX, Tru64)
40090 #
40091
40092 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40093
40094 cat >conftest.$ac_ext <<_ACEOF
40095 /* confdefs.h. */
40096 _ACEOF
40097 cat confdefs.h >>conftest.$ac_ext
40098 cat >>conftest.$ac_ext <<_ACEOF
40099 /* end confdefs.h. */
40100 #include <netdb.h>
40101 int
40102 main ()
40103 {
40104
40105 char *name = "www.gnu.org";
40106 struct hostent ret;
40107 struct hostent_data data;
40108 (void)gethostbyname_r(name, &ret, &data) /* ; */
40109
40110 ;
40111 return 0;
40112 }
40113 _ACEOF
40114 rm -f conftest.$ac_objext
40115 if { (ac_try="$ac_compile"
40116 case "(($ac_try" in
40117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40118 *) ac_try_echo=$ac_try;;
40119 esac
40120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40121 (eval "$ac_compile") 2>conftest.er1
40122 ac_status=$?
40123 grep -v '^ *+' conftest.er1 >conftest.err
40124 rm -f conftest.er1
40125 cat conftest.err >&5
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); } && {
40128 test -z "$ac_c_werror_flag" ||
40129 test ! -s conftest.err
40130 } && test -s conftest.$ac_objext; then
40131 ac_cv_func_which_gethostbyname_r=three
40132 else
40133 echo "$as_me: failed program was:" >&5
40134 sed 's/^/| /' conftest.$ac_ext >&5
40135
40136
40137 fi
40138
40139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40140
40141 fi
40142
40143 ################################################################
40144
40145
40146 fi
40147
40148 case "$ac_cv_func_which_gethostbyname_r" in
40149 three)
40150 { echo "$as_me:$LINENO: result: three" >&5
40151 echo "${ECHO_T}three" >&6; }
40152 cat >>confdefs.h <<\_ACEOF
40153 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40154 _ACEOF
40155
40156 ;;
40157
40158 five)
40159 { echo "$as_me:$LINENO: result: five" >&5
40160 echo "${ECHO_T}five" >&6; }
40161 cat >>confdefs.h <<\_ACEOF
40162 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40163 _ACEOF
40164
40165 ;;
40166
40167 six)
40168 { echo "$as_me:$LINENO: result: six" >&5
40169 echo "${ECHO_T}six" >&6; }
40170 cat >>confdefs.h <<\_ACEOF
40171 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40172 _ACEOF
40173
40174 ;;
40175
40176 no)
40177 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40178 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40179 ;;
40180
40181 unknown)
40182 { echo "$as_me:$LINENO: result: can't tell" >&5
40183 echo "${ECHO_T}can't tell" >&6; }
40184 ;;
40185
40186 *)
40187 { { echo "$as_me:$LINENO: error: internal error" >&5
40188 echo "$as_me: error: internal error" >&2;}
40189 { (exit 1); exit 1; }; }
40190 ;;
40191 esac
40192
40193 ac_ext=c
40194 ac_cpp='$CPP $CPPFLAGS'
40195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40198
40199
40200
40201 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40202 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40203 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40204 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40205 if test "${ac_cv_func_gethostbyname+set}" = set; then
40206 echo $ECHO_N "(cached) $ECHO_C" >&6
40207 else
40208 cat >conftest.$ac_ext <<_ACEOF
40209 /* confdefs.h. */
40210 _ACEOF
40211 cat confdefs.h >>conftest.$ac_ext
40212 cat >>conftest.$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40214 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40216 #define gethostbyname innocuous_gethostbyname
40217
40218 /* System header to define __stub macros and hopefully few prototypes,
40219 which can conflict with char gethostbyname (); below.
40220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40221 <limits.h> exists even on freestanding compilers. */
40222
40223 #ifdef __STDC__
40224 # include <limits.h>
40225 #else
40226 # include <assert.h>
40227 #endif
40228
40229 #undef gethostbyname
40230
40231 /* Override any GCC internal prototype to avoid an error.
40232 Use char because int might match the return type of a GCC
40233 builtin and then its argument prototype would still apply. */
40234 #ifdef __cplusplus
40235 extern "C"
40236 #endif
40237 char gethostbyname ();
40238 /* The GNU C library defines this for functions which it implements
40239 to always fail with ENOSYS. Some functions are actually named
40240 something starting with __ and the normal name is an alias. */
40241 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40242 choke me
40243 #endif
40244
40245 int
40246 main ()
40247 {
40248 return gethostbyname ();
40249 ;
40250 return 0;
40251 }
40252 _ACEOF
40253 rm -f conftest.$ac_objext conftest$ac_exeext
40254 if { (ac_try="$ac_link"
40255 case "(($ac_try" in
40256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40257 *) ac_try_echo=$ac_try;;
40258 esac
40259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40260 (eval "$ac_link") 2>conftest.er1
40261 ac_status=$?
40262 grep -v '^ *+' conftest.er1 >conftest.err
40263 rm -f conftest.er1
40264 cat conftest.err >&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); } && {
40267 test -z "$ac_c_werror_flag" ||
40268 test ! -s conftest.err
40269 } && test -s conftest$ac_exeext &&
40270 $as_test_x conftest$ac_exeext; then
40271 ac_cv_func_gethostbyname=yes
40272 else
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.$ac_ext >&5
40275
40276 ac_cv_func_gethostbyname=no
40277 fi
40278
40279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40280 conftest$ac_exeext conftest.$ac_ext
40281 fi
40282 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40283 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40284 if test $ac_cv_func_gethostbyname = yes; then
40285 cat >>confdefs.h <<\_ACEOF
40286 #define HAVE_GETHOSTBYNAME 1
40287 _ACEOF
40288
40289 fi
40290
40291 fi
40292
40293 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40294 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40295 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40296 echo $ECHO_N "(cached) $ECHO_C" >&6
40297 else
40298
40299 ac_ext=cpp
40300 ac_cpp='$CXXCPP $CPPFLAGS'
40301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40304
40305
40306 cat >conftest.$ac_ext <<_ACEOF
40307 /* confdefs.h. */
40308 _ACEOF
40309 cat confdefs.h >>conftest.$ac_ext
40310 cat >>conftest.$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312 #include <netdb.h>
40313 int
40314 main ()
40315 {
40316
40317 char *name;
40318 char *proto;
40319 struct servent *se, *res;
40320 char buffer[2048];
40321 int buflen = 2048;
40322 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40323
40324 ;
40325 return 0;
40326 }
40327 _ACEOF
40328 rm -f conftest.$ac_objext
40329 if { (ac_try="$ac_compile"
40330 case "(($ac_try" in
40331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40332 *) ac_try_echo=$ac_try;;
40333 esac
40334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40335 (eval "$ac_compile") 2>conftest.er1
40336 ac_status=$?
40337 grep -v '^ *+' conftest.er1 >conftest.err
40338 rm -f conftest.er1
40339 cat conftest.err >&5
40340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341 (exit $ac_status); } && {
40342 test -z "$ac_cxx_werror_flag" ||
40343 test ! -s conftest.err
40344 } && test -s conftest.$ac_objext; then
40345 ac_cv_func_which_getservbyname_r=six
40346 else
40347 echo "$as_me: failed program was:" >&5
40348 sed 's/^/| /' conftest.$ac_ext >&5
40349
40350
40351 cat >conftest.$ac_ext <<_ACEOF
40352 /* confdefs.h. */
40353 _ACEOF
40354 cat confdefs.h >>conftest.$ac_ext
40355 cat >>conftest.$ac_ext <<_ACEOF
40356 /* end confdefs.h. */
40357 #include <netdb.h>
40358 int
40359 main ()
40360 {
40361
40362 char *name;
40363 char *proto;
40364 struct servent *se;
40365 char buffer[2048];
40366 int buflen = 2048;
40367 (void) getservbyname_r(name, proto, se, buffer, buflen)
40368
40369 ;
40370 return 0;
40371 }
40372 _ACEOF
40373 rm -f conftest.$ac_objext
40374 if { (ac_try="$ac_compile"
40375 case "(($ac_try" in
40376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40377 *) ac_try_echo=$ac_try;;
40378 esac
40379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40380 (eval "$ac_compile") 2>conftest.er1
40381 ac_status=$?
40382 grep -v '^ *+' conftest.er1 >conftest.err
40383 rm -f conftest.er1
40384 cat conftest.err >&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); } && {
40387 test -z "$ac_cxx_werror_flag" ||
40388 test ! -s conftest.err
40389 } && test -s conftest.$ac_objext; then
40390 ac_cv_func_which_getservbyname_r=five
40391 else
40392 echo "$as_me: failed program was:" >&5
40393 sed 's/^/| /' conftest.$ac_ext >&5
40394
40395
40396 cat >conftest.$ac_ext <<_ACEOF
40397 /* confdefs.h. */
40398 _ACEOF
40399 cat confdefs.h >>conftest.$ac_ext
40400 cat >>conftest.$ac_ext <<_ACEOF
40401 /* end confdefs.h. */
40402 #include <netdb.h>
40403 int
40404 main ()
40405 {
40406
40407 char *name;
40408 char *proto;
40409 struct servent *se;
40410 struct servent_data data;
40411 (void) getservbyname_r(name, proto, se, &data);
40412
40413 ;
40414 return 0;
40415 }
40416 _ACEOF
40417 rm -f conftest.$ac_objext
40418 if { (ac_try="$ac_compile"
40419 case "(($ac_try" in
40420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40421 *) ac_try_echo=$ac_try;;
40422 esac
40423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40424 (eval "$ac_compile") 2>conftest.er1
40425 ac_status=$?
40426 grep -v '^ *+' conftest.er1 >conftest.err
40427 rm -f conftest.er1
40428 cat conftest.err >&5
40429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430 (exit $ac_status); } && {
40431 test -z "$ac_cxx_werror_flag" ||
40432 test ! -s conftest.err
40433 } && test -s conftest.$ac_objext; then
40434 ac_cv_func_which_getservbyname_r=four
40435 else
40436 echo "$as_me: failed program was:" >&5
40437 sed 's/^/| /' conftest.$ac_ext >&5
40438
40439 ac_cv_func_which_getservbyname_r=no
40440
40441 fi
40442
40443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40444
40445
40446 fi
40447
40448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40449
40450
40451 fi
40452
40453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40454 ac_ext=c
40455 ac_cpp='$CPP $CPPFLAGS'
40456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40459
40460
40461
40462 fi
40463 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40464 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40465
40466 if test $ac_cv_func_which_getservbyname_r = six; then
40467 cat >>confdefs.h <<\_ACEOF
40468 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40469 _ACEOF
40470
40471 elif test $ac_cv_func_which_getservbyname_r = five; then
40472 cat >>confdefs.h <<\_ACEOF
40473 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40474 _ACEOF
40475
40476 elif test $ac_cv_func_which_getservbyname_r = four; then
40477 cat >>confdefs.h <<\_ACEOF
40478 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40479 _ACEOF
40480
40481 fi
40482
40483
40484 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40485 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40486
40487 for ac_func in getservbyname
40488 do
40489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40490 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40492 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40493 echo $ECHO_N "(cached) $ECHO_C" >&6
40494 else
40495 cat >conftest.$ac_ext <<_ACEOF
40496 /* confdefs.h. */
40497 _ACEOF
40498 cat confdefs.h >>conftest.$ac_ext
40499 cat >>conftest.$ac_ext <<_ACEOF
40500 /* end confdefs.h. */
40501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40503 #define $ac_func innocuous_$ac_func
40504
40505 /* System header to define __stub macros and hopefully few prototypes,
40506 which can conflict with char $ac_func (); below.
40507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40508 <limits.h> exists even on freestanding compilers. */
40509
40510 #ifdef __STDC__
40511 # include <limits.h>
40512 #else
40513 # include <assert.h>
40514 #endif
40515
40516 #undef $ac_func
40517
40518 /* Override any GCC internal prototype to avoid an error.
40519 Use char because int might match the return type of a GCC
40520 builtin and then its argument prototype would still apply. */
40521 #ifdef __cplusplus
40522 extern "C"
40523 #endif
40524 char $ac_func ();
40525 /* The GNU C library defines this for functions which it implements
40526 to always fail with ENOSYS. Some functions are actually named
40527 something starting with __ and the normal name is an alias. */
40528 #if defined __stub_$ac_func || defined __stub___$ac_func
40529 choke me
40530 #endif
40531
40532 int
40533 main ()
40534 {
40535 return $ac_func ();
40536 ;
40537 return 0;
40538 }
40539 _ACEOF
40540 rm -f conftest.$ac_objext conftest$ac_exeext
40541 if { (ac_try="$ac_link"
40542 case "(($ac_try" in
40543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40544 *) ac_try_echo=$ac_try;;
40545 esac
40546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40547 (eval "$ac_link") 2>conftest.er1
40548 ac_status=$?
40549 grep -v '^ *+' conftest.er1 >conftest.err
40550 rm -f conftest.er1
40551 cat conftest.err >&5
40552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40553 (exit $ac_status); } && {
40554 test -z "$ac_c_werror_flag" ||
40555 test ! -s conftest.err
40556 } && test -s conftest$ac_exeext &&
40557 $as_test_x conftest$ac_exeext; then
40558 eval "$as_ac_var=yes"
40559 else
40560 echo "$as_me: failed program was:" >&5
40561 sed 's/^/| /' conftest.$ac_ext >&5
40562
40563 eval "$as_ac_var=no"
40564 fi
40565
40566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40567 conftest$ac_exeext conftest.$ac_ext
40568 fi
40569 ac_res=`eval echo '${'$as_ac_var'}'`
40570 { echo "$as_me:$LINENO: result: $ac_res" >&5
40571 echo "${ECHO_T}$ac_res" >&6; }
40572 if test `eval echo '${'$as_ac_var'}'` = yes; then
40573 cat >>confdefs.h <<_ACEOF
40574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40575 _ACEOF
40576 cat >>confdefs.h <<\_ACEOF
40577 #define HAVE_GETSERVBYNAME 1
40578 _ACEOF
40579
40580 fi
40581 done
40582
40583 fi
40584
40585 if test "$wxUSE_THREADS" = "yes"; then
40586 cat >>confdefs.h <<\_ACEOF
40587 #define wxUSE_THREADS 1
40588 _ACEOF
40589
40590
40591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40592 else
40593 if test "$wx_cv_func_strtok_r" = "yes"; then
40594 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40595 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40596 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40597 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40598 { echo "$as_me:$LINENO: result: yes" >&5
40599 echo "${ECHO_T}yes" >&6; }
40600 else
40601 { echo "$as_me:$LINENO: result: no" >&5
40602 echo "${ECHO_T}no" >&6; }
40603 fi
40604 fi
40605 fi
40606
40607 if test "$WXGTK2" = 1 ; then
40608 cat >>confdefs.h <<_ACEOF
40609 #define __WXGTK20__ $WXGTK2
40610 _ACEOF
40611
40612 WXGTK12=1
40613 fi
40614
40615 if test "$WXGTK12" = 1 ; then
40616 cat >>confdefs.h <<_ACEOF
40617 #define __WXGTK12__ $WXGTK12
40618 _ACEOF
40619
40620 fi
40621
40622 if test "$WXGTK127" = 1 ; then
40623 cat >>confdefs.h <<_ACEOF
40624 #define __WXGTK127__ $WXGTK127
40625 _ACEOF
40626
40627 fi
40628
40629 if test "$WXGPE" = 1 ; then
40630 cat >>confdefs.h <<_ACEOF
40631 #define __WXGPE__ $WXGPE
40632 _ACEOF
40633
40634 fi
40635
40636 DEBUG_CFLAGS=
40637 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40638 DEBUG_CFLAGS="-g"
40639 wxUSE_OPTIMISE=no
40640 fi
40641
40642 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40643 wxUSE_DEBUG_INFO=yes
40644 if test "$GCC" = yes; then
40645 DEBUG_CFLAGS="-ggdb"
40646 fi
40647 fi
40648
40649 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40650 cat >>confdefs.h <<\_ACEOF
40651 #define WXDEBUG 1
40652 _ACEOF
40653
40654 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40655 else
40656 if test "$wxUSE_GTK" = 1 ; then
40657 if test "x$wxGTK_VERSION" = "x1" ; then
40658 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40659 fi
40660 fi
40661 fi
40662
40663 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40664 cat >>confdefs.h <<\_ACEOF
40665 #define wxUSE_MEMORY_TRACING 1
40666 _ACEOF
40667
40668 cat >>confdefs.h <<\_ACEOF
40669 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40670 _ACEOF
40671
40672 cat >>confdefs.h <<\_ACEOF
40673 #define wxUSE_DEBUG_NEW_ALWAYS 1
40674 _ACEOF
40675
40676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40677 fi
40678
40679 if test "$wxUSE_DMALLOC" = "yes" ; then
40680 DMALLOC_LIBS="-ldmallocthcxx"
40681 fi
40682
40683 PROFILE_FLAGS=
40684 if test "$wxUSE_PROFILE" = "yes" ; then
40685 PROFILE_FLAGS=" -pg"
40686 fi
40687
40688 if test "$GCC" = "yes" ; then
40689 if test "$wxUSE_NO_RTTI" = "yes" ; then
40690 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40691 fi
40692 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40693 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40694 fi
40695 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40696 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40697 fi
40698
40699 case "${host}" in
40700 powerpc*-*-aix* )
40701 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40702 ;;
40703 *-hppa* )
40704 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40705 ;;
40706 esac
40707 fi
40708
40709 OPTIMISE_CFLAGS=
40710 if test "$wxUSE_OPTIMISE" = "no" ; then
40711 if test "$GCC" = yes ; then
40712 OPTIMISE_CFLAGS="-O0"
40713 fi
40714 else
40715 if test "$GCC" = yes ; then
40716 case "${host}" in
40717 *-pc-os2_emx | *-pc-os2-emx )
40718 OPTIMISE_CFLAGS="-O2"
40719 ;;
40720 *)
40721 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40722 ;;
40723 esac
40724 else
40725 OPTIMISE_CFLAGS="-O"
40726 fi
40727 fi
40728
40729
40730 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40731 cat >>confdefs.h <<\_ACEOF
40732 #define WXWIN_COMPATIBILITY_2_6 1
40733 _ACEOF
40734
40735
40736 WXWIN_COMPATIBILITY_2_8="yes"
40737 fi
40738
40739 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40740 cat >>confdefs.h <<\_ACEOF
40741 #define WXWIN_COMPATIBILITY_2_8 1
40742 _ACEOF
40743
40744 fi
40745
40746
40747 if test "$wxUSE_GUI" = "yes"; then
40748 cat >>confdefs.h <<\_ACEOF
40749 #define wxUSE_GUI 1
40750 _ACEOF
40751
40752
40753 fi
40754
40755
40756 if test "$wxUSE_UNIX" = "yes"; then
40757 cat >>confdefs.h <<\_ACEOF
40758 #define wxUSE_UNIX 1
40759 _ACEOF
40760
40761 fi
40762
40763
40764 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40765
40766 HAVE_DL_FUNCS=0
40767 HAVE_SHL_FUNCS=0
40768 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40769 if test "$USE_DARWIN" = 1; then
40770 HAVE_DL_FUNCS=1
40771 elif test "$USE_DOS" = 1; then
40772 HAVE_DL_FUNCS=0
40773 else
40774
40775 for ac_func in dlopen
40776 do
40777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40778 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40780 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40781 echo $ECHO_N "(cached) $ECHO_C" >&6
40782 else
40783 cat >conftest.$ac_ext <<_ACEOF
40784 /* confdefs.h. */
40785 _ACEOF
40786 cat confdefs.h >>conftest.$ac_ext
40787 cat >>conftest.$ac_ext <<_ACEOF
40788 /* end confdefs.h. */
40789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40791 #define $ac_func innocuous_$ac_func
40792
40793 /* System header to define __stub macros and hopefully few prototypes,
40794 which can conflict with char $ac_func (); below.
40795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40796 <limits.h> exists even on freestanding compilers. */
40797
40798 #ifdef __STDC__
40799 # include <limits.h>
40800 #else
40801 # include <assert.h>
40802 #endif
40803
40804 #undef $ac_func
40805
40806 /* Override any GCC internal prototype to avoid an error.
40807 Use char because int might match the return type of a GCC
40808 builtin and then its argument prototype would still apply. */
40809 #ifdef __cplusplus
40810 extern "C"
40811 #endif
40812 char $ac_func ();
40813 /* The GNU C library defines this for functions which it implements
40814 to always fail with ENOSYS. Some functions are actually named
40815 something starting with __ and the normal name is an alias. */
40816 #if defined __stub_$ac_func || defined __stub___$ac_func
40817 choke me
40818 #endif
40819
40820 int
40821 main ()
40822 {
40823 return $ac_func ();
40824 ;
40825 return 0;
40826 }
40827 _ACEOF
40828 rm -f conftest.$ac_objext conftest$ac_exeext
40829 if { (ac_try="$ac_link"
40830 case "(($ac_try" in
40831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40832 *) ac_try_echo=$ac_try;;
40833 esac
40834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40835 (eval "$ac_link") 2>conftest.er1
40836 ac_status=$?
40837 grep -v '^ *+' conftest.er1 >conftest.err
40838 rm -f conftest.er1
40839 cat conftest.err >&5
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); } && {
40842 test -z "$ac_c_werror_flag" ||
40843 test ! -s conftest.err
40844 } && test -s conftest$ac_exeext &&
40845 $as_test_x conftest$ac_exeext; then
40846 eval "$as_ac_var=yes"
40847 else
40848 echo "$as_me: failed program was:" >&5
40849 sed 's/^/| /' conftest.$ac_ext >&5
40850
40851 eval "$as_ac_var=no"
40852 fi
40853
40854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40855 conftest$ac_exeext conftest.$ac_ext
40856 fi
40857 ac_res=`eval echo '${'$as_ac_var'}'`
40858 { echo "$as_me:$LINENO: result: $ac_res" >&5
40859 echo "${ECHO_T}$ac_res" >&6; }
40860 if test `eval echo '${'$as_ac_var'}'` = yes; then
40861 cat >>confdefs.h <<_ACEOF
40862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40863 _ACEOF
40864
40865 cat >>confdefs.h <<\_ACEOF
40866 #define HAVE_DLOPEN 1
40867 _ACEOF
40868
40869 HAVE_DL_FUNCS=1
40870
40871 else
40872
40873 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40874 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40875 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40876 echo $ECHO_N "(cached) $ECHO_C" >&6
40877 else
40878 ac_check_lib_save_LIBS=$LIBS
40879 LIBS="-ldl $LIBS"
40880 cat >conftest.$ac_ext <<_ACEOF
40881 /* confdefs.h. */
40882 _ACEOF
40883 cat confdefs.h >>conftest.$ac_ext
40884 cat >>conftest.$ac_ext <<_ACEOF
40885 /* end confdefs.h. */
40886
40887 /* Override any GCC internal prototype to avoid an error.
40888 Use char because int might match the return type of a GCC
40889 builtin and then its argument prototype would still apply. */
40890 #ifdef __cplusplus
40891 extern "C"
40892 #endif
40893 char dlopen ();
40894 int
40895 main ()
40896 {
40897 return dlopen ();
40898 ;
40899 return 0;
40900 }
40901 _ACEOF
40902 rm -f conftest.$ac_objext conftest$ac_exeext
40903 if { (ac_try="$ac_link"
40904 case "(($ac_try" in
40905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40906 *) ac_try_echo=$ac_try;;
40907 esac
40908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40909 (eval "$ac_link") 2>conftest.er1
40910 ac_status=$?
40911 grep -v '^ *+' conftest.er1 >conftest.err
40912 rm -f conftest.er1
40913 cat conftest.err >&5
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); } && {
40916 test -z "$ac_c_werror_flag" ||
40917 test ! -s conftest.err
40918 } && test -s conftest$ac_exeext &&
40919 $as_test_x conftest$ac_exeext; then
40920 ac_cv_lib_dl_dlopen=yes
40921 else
40922 echo "$as_me: failed program was:" >&5
40923 sed 's/^/| /' conftest.$ac_ext >&5
40924
40925 ac_cv_lib_dl_dlopen=no
40926 fi
40927
40928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40929 conftest$ac_exeext conftest.$ac_ext
40930 LIBS=$ac_check_lib_save_LIBS
40931 fi
40932 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40933 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40934 if test $ac_cv_lib_dl_dlopen = yes; then
40935
40936 cat >>confdefs.h <<\_ACEOF
40937 #define HAVE_DLOPEN 1
40938 _ACEOF
40939
40940 HAVE_DL_FUNCS=1
40941 DL_LINK=" -ldl$DL_LINK"
40942
40943 else
40944
40945
40946 for ac_func in shl_load
40947 do
40948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40952 echo $ECHO_N "(cached) $ECHO_C" >&6
40953 else
40954 cat >conftest.$ac_ext <<_ACEOF
40955 /* confdefs.h. */
40956 _ACEOF
40957 cat confdefs.h >>conftest.$ac_ext
40958 cat >>conftest.$ac_ext <<_ACEOF
40959 /* end confdefs.h. */
40960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40962 #define $ac_func innocuous_$ac_func
40963
40964 /* System header to define __stub macros and hopefully few prototypes,
40965 which can conflict with char $ac_func (); below.
40966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40967 <limits.h> exists even on freestanding compilers. */
40968
40969 #ifdef __STDC__
40970 # include <limits.h>
40971 #else
40972 # include <assert.h>
40973 #endif
40974
40975 #undef $ac_func
40976
40977 /* Override any GCC internal prototype to avoid an error.
40978 Use char because int might match the return type of a GCC
40979 builtin and then its argument prototype would still apply. */
40980 #ifdef __cplusplus
40981 extern "C"
40982 #endif
40983 char $ac_func ();
40984 /* The GNU C library defines this for functions which it implements
40985 to always fail with ENOSYS. Some functions are actually named
40986 something starting with __ and the normal name is an alias. */
40987 #if defined __stub_$ac_func || defined __stub___$ac_func
40988 choke me
40989 #endif
40990
40991 int
40992 main ()
40993 {
40994 return $ac_func ();
40995 ;
40996 return 0;
40997 }
40998 _ACEOF
40999 rm -f conftest.$ac_objext conftest$ac_exeext
41000 if { (ac_try="$ac_link"
41001 case "(($ac_try" in
41002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41003 *) ac_try_echo=$ac_try;;
41004 esac
41005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41006 (eval "$ac_link") 2>conftest.er1
41007 ac_status=$?
41008 grep -v '^ *+' conftest.er1 >conftest.err
41009 rm -f conftest.er1
41010 cat conftest.err >&5
41011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012 (exit $ac_status); } && {
41013 test -z "$ac_c_werror_flag" ||
41014 test ! -s conftest.err
41015 } && test -s conftest$ac_exeext &&
41016 $as_test_x conftest$ac_exeext; then
41017 eval "$as_ac_var=yes"
41018 else
41019 echo "$as_me: failed program was:" >&5
41020 sed 's/^/| /' conftest.$ac_ext >&5
41021
41022 eval "$as_ac_var=no"
41023 fi
41024
41025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41026 conftest$ac_exeext conftest.$ac_ext
41027 fi
41028 ac_res=`eval echo '${'$as_ac_var'}'`
41029 { echo "$as_me:$LINENO: result: $ac_res" >&5
41030 echo "${ECHO_T}$ac_res" >&6; }
41031 if test `eval echo '${'$as_ac_var'}'` = yes; then
41032 cat >>confdefs.h <<_ACEOF
41033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41034 _ACEOF
41035
41036 cat >>confdefs.h <<\_ACEOF
41037 #define HAVE_SHL_LOAD 1
41038 _ACEOF
41039
41040 HAVE_SHL_FUNCS=1
41041
41042 else
41043
41044 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41045 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41046 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41047 echo $ECHO_N "(cached) $ECHO_C" >&6
41048 else
41049 ac_check_lib_save_LIBS=$LIBS
41050 LIBS="-lshl_load $LIBS"
41051 cat >conftest.$ac_ext <<_ACEOF
41052 /* confdefs.h. */
41053 _ACEOF
41054 cat confdefs.h >>conftest.$ac_ext
41055 cat >>conftest.$ac_ext <<_ACEOF
41056 /* end confdefs.h. */
41057
41058 /* Override any GCC internal prototype to avoid an error.
41059 Use char because int might match the return type of a GCC
41060 builtin and then its argument prototype would still apply. */
41061 #ifdef __cplusplus
41062 extern "C"
41063 #endif
41064 char dld ();
41065 int
41066 main ()
41067 {
41068 return dld ();
41069 ;
41070 return 0;
41071 }
41072 _ACEOF
41073 rm -f conftest.$ac_objext conftest$ac_exeext
41074 if { (ac_try="$ac_link"
41075 case "(($ac_try" in
41076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41077 *) ac_try_echo=$ac_try;;
41078 esac
41079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41080 (eval "$ac_link") 2>conftest.er1
41081 ac_status=$?
41082 grep -v '^ *+' conftest.er1 >conftest.err
41083 rm -f conftest.er1
41084 cat conftest.err >&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); } && {
41087 test -z "$ac_c_werror_flag" ||
41088 test ! -s conftest.err
41089 } && test -s conftest$ac_exeext &&
41090 $as_test_x conftest$ac_exeext; then
41091 ac_cv_lib_shl_load_dld=yes
41092 else
41093 echo "$as_me: failed program was:" >&5
41094 sed 's/^/| /' conftest.$ac_ext >&5
41095
41096 ac_cv_lib_shl_load_dld=no
41097 fi
41098
41099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41100 conftest$ac_exeext conftest.$ac_ext
41101 LIBS=$ac_check_lib_save_LIBS
41102 fi
41103 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41104 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41105 if test $ac_cv_lib_shl_load_dld = yes; then
41106
41107 HAVE_SHL_FUNCS=1
41108 DL_LINK=" -ldld$DL_LINK"
41109
41110 fi
41111
41112
41113 fi
41114 done
41115
41116
41117 fi
41118
41119
41120 fi
41121 done
41122
41123
41124 if test "$HAVE_DL_FUNCS" = 1; then
41125
41126 for ac_func in dlerror
41127 do
41128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41132 echo $ECHO_N "(cached) $ECHO_C" >&6
41133 else
41134 cat >conftest.$ac_ext <<_ACEOF
41135 /* confdefs.h. */
41136 _ACEOF
41137 cat confdefs.h >>conftest.$ac_ext
41138 cat >>conftest.$ac_ext <<_ACEOF
41139 /* end confdefs.h. */
41140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41142 #define $ac_func innocuous_$ac_func
41143
41144 /* System header to define __stub macros and hopefully few prototypes,
41145 which can conflict with char $ac_func (); below.
41146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41147 <limits.h> exists even on freestanding compilers. */
41148
41149 #ifdef __STDC__
41150 # include <limits.h>
41151 #else
41152 # include <assert.h>
41153 #endif
41154
41155 #undef $ac_func
41156
41157 /* Override any GCC internal prototype to avoid an error.
41158 Use char because int might match the return type of a GCC
41159 builtin and then its argument prototype would still apply. */
41160 #ifdef __cplusplus
41161 extern "C"
41162 #endif
41163 char $ac_func ();
41164 /* The GNU C library defines this for functions which it implements
41165 to always fail with ENOSYS. Some functions are actually named
41166 something starting with __ and the normal name is an alias. */
41167 #if defined __stub_$ac_func || defined __stub___$ac_func
41168 choke me
41169 #endif
41170
41171 int
41172 main ()
41173 {
41174 return $ac_func ();
41175 ;
41176 return 0;
41177 }
41178 _ACEOF
41179 rm -f conftest.$ac_objext conftest$ac_exeext
41180 if { (ac_try="$ac_link"
41181 case "(($ac_try" in
41182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41183 *) ac_try_echo=$ac_try;;
41184 esac
41185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41186 (eval "$ac_link") 2>conftest.er1
41187 ac_status=$?
41188 grep -v '^ *+' conftest.er1 >conftest.err
41189 rm -f conftest.er1
41190 cat conftest.err >&5
41191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); } && {
41193 test -z "$ac_c_werror_flag" ||
41194 test ! -s conftest.err
41195 } && test -s conftest$ac_exeext &&
41196 $as_test_x conftest$ac_exeext; then
41197 eval "$as_ac_var=yes"
41198 else
41199 echo "$as_me: failed program was:" >&5
41200 sed 's/^/| /' conftest.$ac_ext >&5
41201
41202 eval "$as_ac_var=no"
41203 fi
41204
41205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41206 conftest$ac_exeext conftest.$ac_ext
41207 fi
41208 ac_res=`eval echo '${'$as_ac_var'}'`
41209 { echo "$as_me:$LINENO: result: $ac_res" >&5
41210 echo "${ECHO_T}$ac_res" >&6; }
41211 if test `eval echo '${'$as_ac_var'}'` = yes; then
41212 cat >>confdefs.h <<_ACEOF
41213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41214 _ACEOF
41215 cat >>confdefs.h <<\_ACEOF
41216 #define HAVE_DLERROR 1
41217 _ACEOF
41218
41219 else
41220
41221 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41222 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41223 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41224 echo $ECHO_N "(cached) $ECHO_C" >&6
41225 else
41226 ac_check_lib_save_LIBS=$LIBS
41227 LIBS="-ldl $LIBS"
41228 cat >conftest.$ac_ext <<_ACEOF
41229 /* confdefs.h. */
41230 _ACEOF
41231 cat confdefs.h >>conftest.$ac_ext
41232 cat >>conftest.$ac_ext <<_ACEOF
41233 /* end confdefs.h. */
41234
41235 /* Override any GCC internal prototype to avoid an error.
41236 Use char because int might match the return type of a GCC
41237 builtin and then its argument prototype would still apply. */
41238 #ifdef __cplusplus
41239 extern "C"
41240 #endif
41241 char dlerror ();
41242 int
41243 main ()
41244 {
41245 return dlerror ();
41246 ;
41247 return 0;
41248 }
41249 _ACEOF
41250 rm -f conftest.$ac_objext conftest$ac_exeext
41251 if { (ac_try="$ac_link"
41252 case "(($ac_try" in
41253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41254 *) ac_try_echo=$ac_try;;
41255 esac
41256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41257 (eval "$ac_link") 2>conftest.er1
41258 ac_status=$?
41259 grep -v '^ *+' conftest.er1 >conftest.err
41260 rm -f conftest.er1
41261 cat conftest.err >&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); } && {
41264 test -z "$ac_c_werror_flag" ||
41265 test ! -s conftest.err
41266 } && test -s conftest$ac_exeext &&
41267 $as_test_x conftest$ac_exeext; then
41268 ac_cv_lib_dl_dlerror=yes
41269 else
41270 echo "$as_me: failed program was:" >&5
41271 sed 's/^/| /' conftest.$ac_ext >&5
41272
41273 ac_cv_lib_dl_dlerror=no
41274 fi
41275
41276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41277 conftest$ac_exeext conftest.$ac_ext
41278 LIBS=$ac_check_lib_save_LIBS
41279 fi
41280 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41281 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41282 if test $ac_cv_lib_dl_dlerror = yes; then
41283 cat >>confdefs.h <<\_ACEOF
41284 #define HAVE_DLERROR 1
41285 _ACEOF
41286
41287 fi
41288
41289
41290
41291 fi
41292 done
41293
41294 fi
41295 fi
41296
41297 if test "$HAVE_DL_FUNCS" = 0; then
41298 if test "$HAVE_SHL_FUNCS" = 0; then
41299 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41300 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41301 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41302 wxUSE_DYNAMIC_LOADER=no
41303 wxUSE_DYNLIB_CLASS=no
41304 else
41305 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41306 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41307 fi
41308 fi
41309 fi
41310 fi
41311 fi
41312
41313 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41314 cat >>confdefs.h <<\_ACEOF
41315 #define wxUSE_DYNAMIC_LOADER 1
41316 _ACEOF
41317
41318 fi
41319 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41320 cat >>confdefs.h <<\_ACEOF
41321 #define wxUSE_DYNLIB_CLASS 1
41322 _ACEOF
41323
41324 fi
41325
41326
41327
41328 if test "$wxUSE_PLUGINS" = "yes" ; then
41329 if test "$wxUSE_SHARED" = "no" ; then
41330 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41331 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41332 wxUSE_PLUGINS=no
41333 fi
41334 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41335 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41336 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41337 wxUSE_PLUGINS=no
41338 fi
41339 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41340 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41341 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41342 wxUSE_PLUGINS=no
41343 fi
41344 if test "$wxUSE_PLUGINS" = "yes" ; then
41345 cat >>confdefs.h <<\_ACEOF
41346 #define wxUSE_PLUGINS 1
41347 _ACEOF
41348
41349 fi
41350 fi
41351
41352
41353 if test "$wxUSE_STL" = "yes"; then
41354 cat >>confdefs.h <<\_ACEOF
41355 #define wxUSE_STL 1
41356 _ACEOF
41357
41358 fi
41359
41360 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41361 cat >>confdefs.h <<\_ACEOF
41362 #define wxUSE_EXTENDED_RTTI 1
41363 _ACEOF
41364
41365 fi
41366
41367 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41368 cat >>confdefs.h <<\_ACEOF
41369 #define wxUSE_APPLE_IEEE 1
41370 _ACEOF
41371
41372 fi
41373
41374 if test "$wxUSE_TIMER" = "yes"; then
41375 cat >>confdefs.h <<\_ACEOF
41376 #define wxUSE_TIMER 1
41377 _ACEOF
41378
41379 fi
41380
41381 if test "$USE_UNIX" = 1 ; then
41382 if test "$wxUSE_MGL" != 1; then
41383 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41384 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41385 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41386 echo $ECHO_N "(cached) $ECHO_C" >&6
41387 else
41388
41389 cat >conftest.$ac_ext <<_ACEOF
41390 /* confdefs.h. */
41391 _ACEOF
41392 cat confdefs.h >>conftest.$ac_ext
41393 cat >>conftest.$ac_ext <<_ACEOF
41394 /* end confdefs.h. */
41395
41396 #include <sys/ioctl.h>
41397 #include <sys/soundcard.h>
41398
41399 int
41400 main ()
41401 {
41402
41403 ioctl(0, SNDCTL_DSP_SPEED, 0);
41404
41405 ;
41406 return 0;
41407 }
41408 _ACEOF
41409 rm -f conftest.$ac_objext conftest$ac_exeext
41410 if { (ac_try="$ac_link"
41411 case "(($ac_try" in
41412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41413 *) ac_try_echo=$ac_try;;
41414 esac
41415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41416 (eval "$ac_link") 2>conftest.er1
41417 ac_status=$?
41418 grep -v '^ *+' conftest.er1 >conftest.err
41419 rm -f conftest.er1
41420 cat conftest.err >&5
41421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422 (exit $ac_status); } && {
41423 test -z "$ac_c_werror_flag" ||
41424 test ! -s conftest.err
41425 } && test -s conftest$ac_exeext &&
41426 $as_test_x conftest$ac_exeext; then
41427 ac_cv_header_sys_soundcard=yes
41428 else
41429 echo "$as_me: failed program was:" >&5
41430 sed 's/^/| /' conftest.$ac_ext >&5
41431
41432
41433 saveLibs="$LIBS"
41434 LIBS="$saveLibs -lossaudio"
41435 cat >conftest.$ac_ext <<_ACEOF
41436 /* confdefs.h. */
41437 _ACEOF
41438 cat confdefs.h >>conftest.$ac_ext
41439 cat >>conftest.$ac_ext <<_ACEOF
41440 /* end confdefs.h. */
41441
41442 #include <sys/ioctl.h>
41443 #include <sys/soundcard.h>
41444
41445 int
41446 main ()
41447 {
41448
41449 ioctl(0, SNDCTL_DSP_SPEED, 0);
41450
41451 ;
41452 return 0;
41453 }
41454 _ACEOF
41455 rm -f conftest.$ac_objext conftest$ac_exeext
41456 if { (ac_try="$ac_link"
41457 case "(($ac_try" in
41458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41459 *) ac_try_echo=$ac_try;;
41460 esac
41461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41462 (eval "$ac_link") 2>conftest.er1
41463 ac_status=$?
41464 grep -v '^ *+' conftest.er1 >conftest.err
41465 rm -f conftest.er1
41466 cat conftest.err >&5
41467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41468 (exit $ac_status); } && {
41469 test -z "$ac_c_werror_flag" ||
41470 test ! -s conftest.err
41471 } && test -s conftest$ac_exeext &&
41472 $as_test_x conftest$ac_exeext; then
41473 ac_cv_header_sys_soundcard=yes
41474 else
41475 echo "$as_me: failed program was:" >&5
41476 sed 's/^/| /' conftest.$ac_ext >&5
41477
41478
41479 LIBS="$saveLibs"
41480 ac_cv_header_sys_soundcard=no
41481
41482
41483 fi
41484
41485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41486 conftest$ac_exeext conftest.$ac_ext
41487
41488
41489 fi
41490
41491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41492 conftest$ac_exeext conftest.$ac_ext
41493
41494 fi
41495 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41496 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41497 fi
41498
41499 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41500 cat >>confdefs.h <<\_ACEOF
41501 #define HAVE_SYS_SOUNDCARD_H 1
41502 _ACEOF
41503
41504 fi
41505 fi
41506
41507 WITH_PLUGIN_SDL=0
41508 if test "$wxUSE_SOUND" = "yes"; then
41509 if test "$USE_UNIX" = 1 ; then
41510 if test "$wxUSE_LIBSDL" != "no"; then
41511
41512 # Check whether --with-sdl-prefix was given.
41513 if test "${with_sdl_prefix+set}" = set; then
41514 withval=$with_sdl_prefix; sdl_prefix="$withval"
41515 else
41516 sdl_prefix=""
41517 fi
41518
41519
41520 # Check whether --with-sdl-exec-prefix was given.
41521 if test "${with_sdl_exec_prefix+set}" = set; then
41522 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41523 else
41524 sdl_exec_prefix=""
41525 fi
41526
41527 # Check whether --enable-sdltest was given.
41528 if test "${enable_sdltest+set}" = set; then
41529 enableval=$enable_sdltest;
41530 else
41531 enable_sdltest=yes
41532 fi
41533
41534
41535 if test x$sdl_exec_prefix != x ; then
41536 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41537 if test x${SDL_CONFIG+set} != xset ; then
41538 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41539 fi
41540 fi
41541 if test x$sdl_prefix != x ; then
41542 sdl_args="$sdl_args --prefix=$sdl_prefix"
41543 if test x${SDL_CONFIG+set} != xset ; then
41544 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41545 fi
41546 fi
41547
41548 if test "x$prefix" != xNONE; then
41549 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41550 fi
41551 # Extract the first word of "sdl-config", so it can be a program name with args.
41552 set dummy sdl-config; ac_word=$2
41553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41555 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41556 echo $ECHO_N "(cached) $ECHO_C" >&6
41557 else
41558 case $SDL_CONFIG in
41559 [\\/]* | ?:[\\/]*)
41560 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41561 ;;
41562 *)
41563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41564 for as_dir in $PATH
41565 do
41566 IFS=$as_save_IFS
41567 test -z "$as_dir" && as_dir=.
41568 for ac_exec_ext in '' $ac_executable_extensions; do
41569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41570 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41572 break 2
41573 fi
41574 done
41575 done
41576 IFS=$as_save_IFS
41577
41578 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41579 ;;
41580 esac
41581 fi
41582 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41583 if test -n "$SDL_CONFIG"; then
41584 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41585 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41586 else
41587 { echo "$as_me:$LINENO: result: no" >&5
41588 echo "${ECHO_T}no" >&6; }
41589 fi
41590
41591
41592 min_sdl_version=1.2.0
41593 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41594 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41595 no_sdl=""
41596 if test "$SDL_CONFIG" = "no" ; then
41597 no_sdl=yes
41598 else
41599 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41600 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41601
41602 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41603 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41604 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41605 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41606 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41608 if test "x$enable_sdltest" = "xyes" ; then
41609 ac_save_CFLAGS="$CFLAGS"
41610 ac_save_CXXFLAGS="$CXXFLAGS"
41611 ac_save_LIBS="$LIBS"
41612 CFLAGS="$CFLAGS $SDL_CFLAGS"
41613 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41614 LIBS="$LIBS $SDL_LIBS"
41615 rm -f conf.sdltest
41616 if test "$cross_compiling" = yes; then
41617 echo $ac_n "cross compiling; assumed OK... $ac_c"
41618 else
41619 cat >conftest.$ac_ext <<_ACEOF
41620 /* confdefs.h. */
41621 _ACEOF
41622 cat confdefs.h >>conftest.$ac_ext
41623 cat >>conftest.$ac_ext <<_ACEOF
41624 /* end confdefs.h. */
41625
41626 #include <stdio.h>
41627 #include <stdlib.h>
41628 #include <string.h>
41629 #include "SDL.h"
41630
41631 char*
41632 my_strdup (char *str)
41633 {
41634 char *new_str;
41635
41636 if (str)
41637 {
41638 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41639 strcpy (new_str, str);
41640 }
41641 else
41642 new_str = NULL;
41643
41644 return new_str;
41645 }
41646
41647 int main (int argc, char *argv[])
41648 {
41649 int major, minor, micro;
41650 char *tmp_version;
41651
41652 /* This hangs on some systems (?)
41653 system ("touch conf.sdltest");
41654 */
41655 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41656
41657 /* HP/UX 9 (%@#!) writes to sscanf strings */
41658 tmp_version = my_strdup("$min_sdl_version");
41659 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41660 printf("%s, bad version string\n", "$min_sdl_version");
41661 exit(1);
41662 }
41663
41664 if (($sdl_major_version > major) ||
41665 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41666 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41667 {
41668 return 0;
41669 }
41670 else
41671 {
41672 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41673 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41674 printf("*** best to upgrade to the required version.\n");
41675 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41676 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41677 printf("*** config.cache before re-running configure\n");
41678 return 1;
41679 }
41680 }
41681
41682
41683 _ACEOF
41684 rm -f conftest$ac_exeext
41685 if { (ac_try="$ac_link"
41686 case "(($ac_try" in
41687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41688 *) ac_try_echo=$ac_try;;
41689 esac
41690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41691 (eval "$ac_link") 2>&5
41692 ac_status=$?
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41695 { (case "(($ac_try" in
41696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41697 *) ac_try_echo=$ac_try;;
41698 esac
41699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41700 (eval "$ac_try") 2>&5
41701 ac_status=$?
41702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41703 (exit $ac_status); }; }; then
41704 :
41705 else
41706 echo "$as_me: program exited with status $ac_status" >&5
41707 echo "$as_me: failed program was:" >&5
41708 sed 's/^/| /' conftest.$ac_ext >&5
41709
41710 ( exit $ac_status )
41711 no_sdl=yes
41712 fi
41713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41714 fi
41715
41716
41717 CFLAGS="$ac_save_CFLAGS"
41718 CXXFLAGS="$ac_save_CXXFLAGS"
41719 LIBS="$ac_save_LIBS"
41720 fi
41721 fi
41722 if test "x$no_sdl" = x ; then
41723 { echo "$as_me:$LINENO: result: yes" >&5
41724 echo "${ECHO_T}yes" >&6; }
41725
41726 EXTRALIBS_SDL="$SDL_LIBS"
41727 CFLAGS="$SDL_CFLAGS $CFLAGS"
41728 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41729 cat >>confdefs.h <<\_ACEOF
41730 #define wxUSE_LIBSDL 1
41731 _ACEOF
41732
41733
41734 else
41735 { echo "$as_me:$LINENO: result: no" >&5
41736 echo "${ECHO_T}no" >&6; }
41737 if test "$SDL_CONFIG" = "no" ; then
41738 echo "*** The sdl-config script installed by SDL could not be found"
41739 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41740 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41741 echo "*** full path to sdl-config."
41742 else
41743 if test -f conf.sdltest ; then
41744 :
41745 else
41746 echo "*** Could not run SDL test program, checking why..."
41747 CFLAGS="$CFLAGS $SDL_CFLAGS"
41748 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41749 LIBS="$LIBS $SDL_LIBS"
41750 cat >conftest.$ac_ext <<_ACEOF
41751 /* confdefs.h. */
41752 _ACEOF
41753 cat confdefs.h >>conftest.$ac_ext
41754 cat >>conftest.$ac_ext <<_ACEOF
41755 /* end confdefs.h. */
41756
41757 #include <stdio.h>
41758 #include "SDL.h"
41759
41760 int main(int argc, char *argv[])
41761 { return 0; }
41762 #undef main
41763 #define main K_and_R_C_main
41764
41765 int
41766 main ()
41767 {
41768 return 0;
41769 ;
41770 return 0;
41771 }
41772 _ACEOF
41773 rm -f conftest.$ac_objext conftest$ac_exeext
41774 if { (ac_try="$ac_link"
41775 case "(($ac_try" in
41776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41777 *) ac_try_echo=$ac_try;;
41778 esac
41779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41780 (eval "$ac_link") 2>conftest.er1
41781 ac_status=$?
41782 grep -v '^ *+' conftest.er1 >conftest.err
41783 rm -f conftest.er1
41784 cat conftest.err >&5
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); } && {
41787 test -z "$ac_c_werror_flag" ||
41788 test ! -s conftest.err
41789 } && test -s conftest$ac_exeext &&
41790 $as_test_x conftest$ac_exeext; then
41791 echo "*** The test program compiled, but did not run. This usually means"
41792 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41793 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41794 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41795 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41796 echo "*** is required on your system"
41797 echo "***"
41798 echo "*** If you have an old version installed, it is best to remove it, although"
41799 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41800 else
41801 echo "$as_me: failed program was:" >&5
41802 sed 's/^/| /' conftest.$ac_ext >&5
41803
41804 echo "*** The test program failed to compile or link. See the file config.log for the"
41805 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41806 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41807 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41808 fi
41809
41810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41811 conftest$ac_exeext conftest.$ac_ext
41812 CFLAGS="$ac_save_CFLAGS"
41813 CXXFLAGS="$ac_save_CXXFLAGS"
41814 LIBS="$ac_save_LIBS"
41815 fi
41816 fi
41817 SDL_CFLAGS=""
41818 SDL_LIBS=""
41819 wxUSE_LIBSDL="no"
41820 fi
41821
41822
41823 rm -f conf.sdltest
41824
41825 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41826 WITH_PLUGIN_SDL=1
41827 fi
41828 fi
41829 else
41830 if test "$wxUSE_MGL" = 1; then
41831 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41832 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41833 wxUSE_SOUND="no"
41834 fi
41835 fi
41836 fi
41837
41838 if test "$wxUSE_SOUND" = "yes"; then
41839 cat >>confdefs.h <<\_ACEOF
41840 #define wxUSE_SOUND 1
41841 _ACEOF
41842
41843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41844 fi
41845
41846 if test "$WXGTK2" = 1; then
41847
41848
41849 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41850 if test -n "$ac_tool_prefix"; then
41851 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41852 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41855 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41856 echo $ECHO_N "(cached) $ECHO_C" >&6
41857 else
41858 case $PKG_CONFIG in
41859 [\\/]* | ?:[\\/]*)
41860 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41861 ;;
41862 *)
41863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41864 for as_dir in $PATH
41865 do
41866 IFS=$as_save_IFS
41867 test -z "$as_dir" && as_dir=.
41868 for ac_exec_ext in '' $ac_executable_extensions; do
41869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41870 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41872 break 2
41873 fi
41874 done
41875 done
41876 IFS=$as_save_IFS
41877
41878 ;;
41879 esac
41880 fi
41881 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41882 if test -n "$PKG_CONFIG"; then
41883 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41884 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41885 else
41886 { echo "$as_me:$LINENO: result: no" >&5
41887 echo "${ECHO_T}no" >&6; }
41888 fi
41889
41890
41891 fi
41892 if test -z "$ac_cv_path_PKG_CONFIG"; then
41893 ac_pt_PKG_CONFIG=$PKG_CONFIG
41894 # Extract the first word of "pkg-config", so it can be a program name with args.
41895 set dummy pkg-config; ac_word=$2
41896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41898 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41899 echo $ECHO_N "(cached) $ECHO_C" >&6
41900 else
41901 case $ac_pt_PKG_CONFIG in
41902 [\\/]* | ?:[\\/]*)
41903 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41904 ;;
41905 *)
41906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41907 for as_dir in $PATH
41908 do
41909 IFS=$as_save_IFS
41910 test -z "$as_dir" && as_dir=.
41911 for ac_exec_ext in '' $ac_executable_extensions; do
41912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41913 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41915 break 2
41916 fi
41917 done
41918 done
41919 IFS=$as_save_IFS
41920
41921 ;;
41922 esac
41923 fi
41924 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41925 if test -n "$ac_pt_PKG_CONFIG"; then
41926 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41927 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41928 else
41929 { echo "$as_me:$LINENO: result: no" >&5
41930 echo "${ECHO_T}no" >&6; }
41931 fi
41932
41933 if test "x$ac_pt_PKG_CONFIG" = x; then
41934 PKG_CONFIG=""
41935 else
41936 case $cross_compiling:$ac_tool_warned in
41937 yes:)
41938 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41939 whose name does not start with the host triplet. If you think this
41940 configuration is useful to you, please write to autoconf@gnu.org." >&5
41941 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41942 whose name does not start with the host triplet. If you think this
41943 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41944 ac_tool_warned=yes ;;
41945 esac
41946 PKG_CONFIG=$ac_pt_PKG_CONFIG
41947 fi
41948 else
41949 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41950 fi
41951
41952 fi
41953 if test -n "$PKG_CONFIG"; then
41954 _pkg_min_version=0.9.0
41955 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41956 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41957 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41958 { echo "$as_me:$LINENO: result: yes" >&5
41959 echo "${ECHO_T}yes" >&6; }
41960 else
41961 { echo "$as_me:$LINENO: result: no" >&5
41962 echo "${ECHO_T}no" >&6; }
41963 PKG_CONFIG=""
41964 fi
41965
41966 fi
41967
41968 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41969
41970 if test "$wxUSE_GTKPRINT" = "yes" ; then
41971
41972
41973 pkg_failed=no
41974 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41975 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41976
41977 if test -n "$PKG_CONFIG"; then
41978 if test -n "$GTKPRINT_CFLAGS"; then
41979 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41980 else
41981 if test -n "$PKG_CONFIG" && \
41982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41983 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41984 ac_status=$?
41985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41986 (exit $ac_status); }; then
41987 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
41988 else
41989 pkg_failed=yes
41990 fi
41991 fi
41992 else
41993 pkg_failed=untried
41994 fi
41995 if test -n "$PKG_CONFIG"; then
41996 if test -n "$GTKPRINT_LIBS"; then
41997 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
41998 else
41999 if test -n "$PKG_CONFIG" && \
42000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42001 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42002 ac_status=$?
42003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004 (exit $ac_status); }; then
42005 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42006 else
42007 pkg_failed=yes
42008 fi
42009 fi
42010 else
42011 pkg_failed=untried
42012 fi
42013
42014
42015
42016 if test $pkg_failed = yes; then
42017
42018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42019 _pkg_short_errors_supported=yes
42020 else
42021 _pkg_short_errors_supported=no
42022 fi
42023 if test $_pkg_short_errors_supported = yes; then
42024 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42025 else
42026 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42027 fi
42028 # Put the nasty error message in config.log where it belongs
42029 echo "$GTKPRINT_PKG_ERRORS" >&5
42030
42031
42032 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42033 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42034 wxUSE_GTKPRINT="no"
42035
42036
42037 elif test $pkg_failed = untried; then
42038
42039 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42040 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42041 wxUSE_GTKPRINT="no"
42042
42043
42044 else
42045 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42046 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42047 { echo "$as_me:$LINENO: result: yes" >&5
42048 echo "${ECHO_T}yes" >&6; }
42049
42050 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42051 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42052 cat >>confdefs.h <<\_ACEOF
42053 #define wxUSE_GTKPRINT 1
42054 _ACEOF
42055
42056
42057 fi
42058 fi
42059
42060 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42061
42062
42063 pkg_failed=no
42064 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42065 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42066
42067 if test -n "$PKG_CONFIG"; then
42068 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42069 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42070 else
42071 if test -n "$PKG_CONFIG" && \
42072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42073 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42074 ac_status=$?
42075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42076 (exit $ac_status); }; then
42077 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42078 else
42079 pkg_failed=yes
42080 fi
42081 fi
42082 else
42083 pkg_failed=untried
42084 fi
42085 if test -n "$PKG_CONFIG"; then
42086 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42087 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42088 else
42089 if test -n "$PKG_CONFIG" && \
42090 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42091 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42092 ac_status=$?
42093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42094 (exit $ac_status); }; then
42095 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42096 else
42097 pkg_failed=yes
42098 fi
42099 fi
42100 else
42101 pkg_failed=untried
42102 fi
42103
42104
42105
42106 if test $pkg_failed = yes; then
42107
42108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42109 _pkg_short_errors_supported=yes
42110 else
42111 _pkg_short_errors_supported=no
42112 fi
42113 if test $_pkg_short_errors_supported = yes; then
42114 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42115 else
42116 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42117 fi
42118 # Put the nasty error message in config.log where it belongs
42119 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42120
42121
42122 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42123 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42124 wxUSE_LIBGNOMEPRINT="no"
42125
42126
42127 elif test $pkg_failed = untried; then
42128
42129 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42130 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42131 wxUSE_LIBGNOMEPRINT="no"
42132
42133
42134 else
42135 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42136 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42137 { echo "$as_me:$LINENO: result: yes" >&5
42138 echo "${ECHO_T}yes" >&6; }
42139
42140 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42141 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42142 cat >>confdefs.h <<\_ACEOF
42143 #define wxUSE_LIBGNOMEPRINT 1
42144 _ACEOF
42145
42146
42147 fi
42148 fi
42149 fi
42150
42151 if test "$wxUSE_MIMETYPE" = "yes" ; then
42152 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42153
42154
42155 pkg_failed=no
42156 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42157 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42158
42159 if test -n "$PKG_CONFIG"; then
42160 if test -n "$GNOMEVFS_CFLAGS"; then
42161 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42162 else
42163 if test -n "$PKG_CONFIG" && \
42164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42165 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42166 ac_status=$?
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); }; then
42169 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42170 else
42171 pkg_failed=yes
42172 fi
42173 fi
42174 else
42175 pkg_failed=untried
42176 fi
42177 if test -n "$PKG_CONFIG"; then
42178 if test -n "$GNOMEVFS_LIBS"; then
42179 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42180 else
42181 if test -n "$PKG_CONFIG" && \
42182 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42183 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42184 ac_status=$?
42185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42186 (exit $ac_status); }; then
42187 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42188 else
42189 pkg_failed=yes
42190 fi
42191 fi
42192 else
42193 pkg_failed=untried
42194 fi
42195
42196
42197
42198 if test $pkg_failed = yes; then
42199
42200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42201 _pkg_short_errors_supported=yes
42202 else
42203 _pkg_short_errors_supported=no
42204 fi
42205 if test $_pkg_short_errors_supported = yes; then
42206 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42207 else
42208 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42209 fi
42210 # Put the nasty error message in config.log where it belongs
42211 echo "$GNOMEVFS_PKG_ERRORS" >&5
42212
42213
42214 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42215 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42216 wxUSE_LIBGNOMEVFS="no"
42217
42218
42219 elif test $pkg_failed = untried; then
42220
42221 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42222 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42223 wxUSE_LIBGNOMEVFS="no"
42224
42225
42226 else
42227 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42228 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42229 { echo "$as_me:$LINENO: result: yes" >&5
42230 echo "${ECHO_T}yes" >&6; }
42231
42232 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42233 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42234 cat >>confdefs.h <<\_ACEOF
42235 #define wxUSE_LIBGNOMEVFS 1
42236 _ACEOF
42237
42238
42239 fi
42240 fi
42241 fi
42242
42243 if test "$wxUSE_LIBHILDON" = "yes" ; then
42244
42245 pkg_failed=no
42246 { echo "$as_me:$LINENO: checking for HILDON" >&5
42247 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42248
42249 if test -n "$PKG_CONFIG"; then
42250 if test -n "$HILDON_CFLAGS"; then
42251 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42252 else
42253 if test -n "$PKG_CONFIG" && \
42254 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42255 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42256 ac_status=$?
42257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42258 (exit $ac_status); }; then
42259 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42260 else
42261 pkg_failed=yes
42262 fi
42263 fi
42264 else
42265 pkg_failed=untried
42266 fi
42267 if test -n "$PKG_CONFIG"; then
42268 if test -n "$HILDON_LIBS"; then
42269 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42270 else
42271 if test -n "$PKG_CONFIG" && \
42272 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42273 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42274 ac_status=$?
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); }; then
42277 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42278 else
42279 pkg_failed=yes
42280 fi
42281 fi
42282 else
42283 pkg_failed=untried
42284 fi
42285
42286
42287
42288 if test $pkg_failed = yes; then
42289
42290 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42291 _pkg_short_errors_supported=yes
42292 else
42293 _pkg_short_errors_supported=no
42294 fi
42295 if test $_pkg_short_errors_supported = yes; then
42296 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42297 else
42298 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42299 fi
42300 # Put the nasty error message in config.log where it belongs
42301 echo "$HILDON_PKG_ERRORS" >&5
42302
42303
42304 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42305 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42306 wxUSE_LIBHILDON="no"
42307
42308
42309 elif test $pkg_failed = untried; then
42310
42311 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42312 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42313 wxUSE_LIBHILDON="no"
42314
42315
42316 else
42317 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42318 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42319 { echo "$as_me:$LINENO: result: yes" >&5
42320 echo "${ECHO_T}yes" >&6; }
42321
42322 EXTRALIBS_HILDON="$HILDON_LIBS"
42323 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42324 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42325 cat >>confdefs.h <<\_ACEOF
42326 #define wxUSE_LIBHILDON 1
42327 _ACEOF
42328
42329
42330 fi
42331 fi
42332 fi
42333
42334 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42335 cat >>confdefs.h <<\_ACEOF
42336 #define wxUSE_CMDLINE_PARSER 1
42337 _ACEOF
42338
42339 fi
42340
42341 if test "$wxUSE_STOPWATCH" = "yes"; then
42342 cat >>confdefs.h <<\_ACEOF
42343 #define wxUSE_STOPWATCH 1
42344 _ACEOF
42345
42346 fi
42347
42348 if test "$wxUSE_DATETIME" = "yes"; then
42349 cat >>confdefs.h <<\_ACEOF
42350 #define wxUSE_DATETIME 1
42351 _ACEOF
42352
42353 fi
42354
42355 if test "$wxUSE_FILE" = "yes"; then
42356 cat >>confdefs.h <<\_ACEOF
42357 #define wxUSE_FILE 1
42358 _ACEOF
42359
42360 fi
42361
42362 if test "$wxUSE_FFILE" = "yes"; then
42363 cat >>confdefs.h <<\_ACEOF
42364 #define wxUSE_FFILE 1
42365 _ACEOF
42366
42367 fi
42368
42369 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42370 if test "$wxUSE_STREAMS" != yes; then
42371 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42372 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42373 wxUSE_ARCHIVE_STREAMS=no
42374 else
42375 cat >>confdefs.h <<\_ACEOF
42376 #define wxUSE_ARCHIVE_STREAMS 1
42377 _ACEOF
42378
42379 fi
42380 fi
42381
42382 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42383 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42384 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42385 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42386 elif test "$wxUSE_ZLIB" = "no"; then
42387 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42388 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42389 else
42390 cat >>confdefs.h <<\_ACEOF
42391 #define wxUSE_ZIPSTREAM 1
42392 _ACEOF
42393
42394 fi
42395 fi
42396
42397 if test "$wxUSE_TARSTREAM" = "yes"; then
42398 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42399 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42400 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42401 else
42402 cat >>confdefs.h <<\_ACEOF
42403 #define wxUSE_TARSTREAM 1
42404 _ACEOF
42405
42406 fi
42407 fi
42408
42409 if test "$wxUSE_FILESYSTEM" = "yes"; then
42410 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42411 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42412 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42413 wxUSE_FILESYSTEM=no
42414 else
42415 cat >>confdefs.h <<\_ACEOF
42416 #define wxUSE_FILESYSTEM 1
42417 _ACEOF
42418
42419 fi
42420 fi
42421
42422 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42423 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42424 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42425 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42426 else
42427 cat >>confdefs.h <<\_ACEOF
42428 #define wxUSE_FS_ARCHIVE 1
42429 _ACEOF
42430
42431 fi
42432 fi
42433
42434 if test "$wxUSE_FS_ZIP" = "yes"; then
42435 if test "$wxUSE_FS_ARCHIVE" != yes; then
42436 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42437 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42438 else
42439 cat >>confdefs.h <<\_ACEOF
42440 #define wxUSE_FS_ZIP 1
42441 _ACEOF
42442
42443 fi
42444 fi
42445
42446 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42447 if test "$USE_UNIX" != 1; then
42448 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42449 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42450 wxUSE_ON_FATAL_EXCEPTION=no
42451 else
42452 cat >>confdefs.h <<\_ACEOF
42453 #define wxUSE_ON_FATAL_EXCEPTION 1
42454 _ACEOF
42455
42456 fi
42457 fi
42458
42459 if test "$wxUSE_STACKWALKER" = "yes"; then
42460 cat >>confdefs.h <<\_ACEOF
42461 #define wxUSE_STACKWALKER 1
42462 _ACEOF
42463
42464 fi
42465
42466 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42467 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42468 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42469 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42470 wxUSE_DEBUGREPORT=no
42471 else
42472 cat >>confdefs.h <<\_ACEOF
42473 #define wxUSE_DEBUGREPORT 1
42474 _ACEOF
42475
42476 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42478 fi
42479 fi
42480 fi
42481
42482 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42483 cat >>confdefs.h <<\_ACEOF
42484 #define wxUSE_SNGLINST_CHECKER 1
42485 _ACEOF
42486
42487 fi
42488
42489 if test "$wxUSE_BUSYINFO" = "yes"; then
42490 cat >>confdefs.h <<\_ACEOF
42491 #define wxUSE_BUSYINFO 1
42492 _ACEOF
42493
42494 fi
42495
42496 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42497 cat >>confdefs.h <<\_ACEOF
42498 #define wxUSE_STD_IOSTREAM 1
42499 _ACEOF
42500
42501 fi
42502
42503 if test "$wxUSE_STD_STRING" = "yes"; then
42504 cat >>confdefs.h <<\_ACEOF
42505 #define wxUSE_STD_STRING 1
42506 _ACEOF
42507
42508 fi
42509
42510 if test "$wxUSE_STDPATHS" = "yes"; then
42511 cat >>confdefs.h <<\_ACEOF
42512 #define wxUSE_STDPATHS 1
42513 _ACEOF
42514
42515 fi
42516
42517 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42518 cat >>confdefs.h <<\_ACEOF
42519 #define wxUSE_TEXTBUFFER 1
42520 _ACEOF
42521
42522 fi
42523
42524 if test "$wxUSE_TEXTFILE" = "yes"; then
42525 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42526 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42527 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42528 else
42529 cat >>confdefs.h <<\_ACEOF
42530 #define wxUSE_TEXTFILE 1
42531 _ACEOF
42532
42533 fi
42534 fi
42535
42536 if test "$wxUSE_CONFIG" = "yes" ; then
42537 if test "$wxUSE_TEXTFILE" != "yes"; then
42538 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42539 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42540 else
42541 cat >>confdefs.h <<\_ACEOF
42542 #define wxUSE_CONFIG 1
42543 _ACEOF
42544
42545 cat >>confdefs.h <<\_ACEOF
42546 #define wxUSE_CONFIG_NATIVE 1
42547 _ACEOF
42548
42549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42550 fi
42551 fi
42552
42553 if test "$wxUSE_INTL" = "yes" ; then
42554 if test "$wxUSE_FILE" != "yes"; then
42555 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42556 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42557 else
42558 cat >>confdefs.h <<\_ACEOF
42559 #define wxUSE_INTL 1
42560 _ACEOF
42561
42562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42563 GUIDIST="$GUIDIST INTL_DIST"
42564 fi
42565 fi
42566
42567 if test "$wxUSE_LOG" = "yes"; then
42568 cat >>confdefs.h <<\_ACEOF
42569 #define wxUSE_LOG 1
42570 _ACEOF
42571
42572
42573 if test "$wxUSE_LOGGUI" = "yes"; then
42574 cat >>confdefs.h <<\_ACEOF
42575 #define wxUSE_LOGGUI 1
42576 _ACEOF
42577
42578 fi
42579
42580 if test "$wxUSE_LOGWINDOW" = "yes"; then
42581 cat >>confdefs.h <<\_ACEOF
42582 #define wxUSE_LOGWINDOW 1
42583 _ACEOF
42584
42585 fi
42586
42587 if test "$wxUSE_LOGDIALOG" = "yes"; then
42588 cat >>confdefs.h <<\_ACEOF
42589 #define wxUSE_LOG_DIALOG 1
42590 _ACEOF
42591
42592 fi
42593
42594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42595 fi
42596
42597 if test "$wxUSE_LONGLONG" = "yes"; then
42598 cat >>confdefs.h <<\_ACEOF
42599 #define wxUSE_LONGLONG 1
42600 _ACEOF
42601
42602 fi
42603
42604 if test "$wxUSE_GEOMETRY" = "yes"; then
42605 cat >>confdefs.h <<\_ACEOF
42606 #define wxUSE_GEOMETRY 1
42607 _ACEOF
42608
42609 fi
42610
42611 if test "$wxUSE_BASE64" = "yes"; then
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_BASE64 1
42614 _ACEOF
42615
42616 fi
42617
42618 if test "$wxUSE_STREAMS" = "yes" ; then
42619 cat >>confdefs.h <<\_ACEOF
42620 #define wxUSE_STREAMS 1
42621 _ACEOF
42622
42623 fi
42624
42625 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42626 cat >>confdefs.h <<\_ACEOF
42627 #define wxUSE_PRINTF_POS_PARAMS 1
42628 _ACEOF
42629
42630 fi
42631
42632 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42633 cat >>confdefs.h <<\_ACEOF
42634 #define wxUSE_OBJC_UNIQUIFYING 1
42635 _ACEOF
42636
42637 fi
42638
42639
42640 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_CONSOLE_EVENTLOOP 1
42643 _ACEOF
42644
42645
42646 if test "$wxUSE_UNIX" = "yes"; then
42647 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_SELECT_DISPATCHER 1
42650 _ACEOF
42651
42652 fi
42653
42654 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42655
42656 for ac_header in sys/epoll.h
42657 do
42658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42662 echo $ECHO_N "(cached) $ECHO_C" >&6
42663 else
42664 cat >conftest.$ac_ext <<_ACEOF
42665 /* confdefs.h. */
42666 _ACEOF
42667 cat confdefs.h >>conftest.$ac_ext
42668 cat >>conftest.$ac_ext <<_ACEOF
42669 /* end confdefs.h. */
42670 $ac_includes_default
42671
42672 #include <$ac_header>
42673 _ACEOF
42674 rm -f conftest.$ac_objext
42675 if { (ac_try="$ac_compile"
42676 case "(($ac_try" in
42677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42678 *) ac_try_echo=$ac_try;;
42679 esac
42680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42681 (eval "$ac_compile") 2>conftest.er1
42682 ac_status=$?
42683 grep -v '^ *+' conftest.er1 >conftest.err
42684 rm -f conftest.er1
42685 cat conftest.err >&5
42686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42687 (exit $ac_status); } && {
42688 test -z "$ac_c_werror_flag" ||
42689 test ! -s conftest.err
42690 } && test -s conftest.$ac_objext; then
42691 eval "$as_ac_Header=yes"
42692 else
42693 echo "$as_me: failed program was:" >&5
42694 sed 's/^/| /' conftest.$ac_ext >&5
42695
42696 eval "$as_ac_Header=no"
42697 fi
42698
42699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42700 fi
42701 ac_res=`eval echo '${'$as_ac_Header'}'`
42702 { echo "$as_me:$LINENO: result: $ac_res" >&5
42703 echo "${ECHO_T}$ac_res" >&6; }
42704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42705 cat >>confdefs.h <<_ACEOF
42706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42707 _ACEOF
42708
42709 fi
42710
42711 done
42712
42713 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42714 cat >>confdefs.h <<\_ACEOF
42715 #define wxUSE_EPOLL_DISPATCHER 1
42716 _ACEOF
42717
42718 else
42719 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42720 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42721 fi
42722 fi
42723 fi
42724 fi
42725
42726
42727
42728
42729 for ac_func in gettimeofday ftime
42730 do
42731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42735 echo $ECHO_N "(cached) $ECHO_C" >&6
42736 else
42737 cat >conftest.$ac_ext <<_ACEOF
42738 /* confdefs.h. */
42739 _ACEOF
42740 cat confdefs.h >>conftest.$ac_ext
42741 cat >>conftest.$ac_ext <<_ACEOF
42742 /* end confdefs.h. */
42743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42745 #define $ac_func innocuous_$ac_func
42746
42747 /* System header to define __stub macros and hopefully few prototypes,
42748 which can conflict with char $ac_func (); below.
42749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42750 <limits.h> exists even on freestanding compilers. */
42751
42752 #ifdef __STDC__
42753 # include <limits.h>
42754 #else
42755 # include <assert.h>
42756 #endif
42757
42758 #undef $ac_func
42759
42760 /* Override any GCC internal prototype to avoid an error.
42761 Use char because int might match the return type of a GCC
42762 builtin and then its argument prototype would still apply. */
42763 #ifdef __cplusplus
42764 extern "C"
42765 #endif
42766 char $ac_func ();
42767 /* The GNU C library defines this for functions which it implements
42768 to always fail with ENOSYS. Some functions are actually named
42769 something starting with __ and the normal name is an alias. */
42770 #if defined __stub_$ac_func || defined __stub___$ac_func
42771 choke me
42772 #endif
42773
42774 int
42775 main ()
42776 {
42777 return $ac_func ();
42778 ;
42779 return 0;
42780 }
42781 _ACEOF
42782 rm -f conftest.$ac_objext conftest$ac_exeext
42783 if { (ac_try="$ac_link"
42784 case "(($ac_try" in
42785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42786 *) ac_try_echo=$ac_try;;
42787 esac
42788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42789 (eval "$ac_link") 2>conftest.er1
42790 ac_status=$?
42791 grep -v '^ *+' conftest.er1 >conftest.err
42792 rm -f conftest.er1
42793 cat conftest.err >&5
42794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42795 (exit $ac_status); } && {
42796 test -z "$ac_c_werror_flag" ||
42797 test ! -s conftest.err
42798 } && test -s conftest$ac_exeext &&
42799 $as_test_x conftest$ac_exeext; then
42800 eval "$as_ac_var=yes"
42801 else
42802 echo "$as_me: failed program was:" >&5
42803 sed 's/^/| /' conftest.$ac_ext >&5
42804
42805 eval "$as_ac_var=no"
42806 fi
42807
42808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42809 conftest$ac_exeext conftest.$ac_ext
42810 fi
42811 ac_res=`eval echo '${'$as_ac_var'}'`
42812 { echo "$as_me:$LINENO: result: $ac_res" >&5
42813 echo "${ECHO_T}$ac_res" >&6; }
42814 if test `eval echo '${'$as_ac_var'}'` = yes; then
42815 cat >>confdefs.h <<_ACEOF
42816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42817 _ACEOF
42818 break
42819 fi
42820 done
42821
42822
42823 if test "$ac_cv_func_gettimeofday" = "yes"; then
42824 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42825 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42826 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42827 echo $ECHO_N "(cached) $ECHO_C" >&6
42828 else
42829
42830 cat >conftest.$ac_ext <<_ACEOF
42831 /* confdefs.h. */
42832 _ACEOF
42833 cat confdefs.h >>conftest.$ac_ext
42834 cat >>conftest.$ac_ext <<_ACEOF
42835 /* end confdefs.h. */
42836
42837 #include <sys/time.h>
42838 #include <unistd.h>
42839
42840 int
42841 main ()
42842 {
42843
42844 struct timeval tv;
42845 gettimeofday(&tv, NULL);
42846
42847 ;
42848 return 0;
42849 }
42850 _ACEOF
42851 rm -f conftest.$ac_objext
42852 if { (ac_try="$ac_compile"
42853 case "(($ac_try" in
42854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42855 *) ac_try_echo=$ac_try;;
42856 esac
42857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42858 (eval "$ac_compile") 2>conftest.er1
42859 ac_status=$?
42860 grep -v '^ *+' conftest.er1 >conftest.err
42861 rm -f conftest.er1
42862 cat conftest.err >&5
42863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42864 (exit $ac_status); } && {
42865 test -z "$ac_c_werror_flag" ||
42866 test ! -s conftest.err
42867 } && test -s conftest.$ac_objext; then
42868 wx_cv_func_gettimeofday_has_2_args=yes
42869 else
42870 echo "$as_me: failed program was:" >&5
42871 sed 's/^/| /' conftest.$ac_ext >&5
42872
42873 cat >conftest.$ac_ext <<_ACEOF
42874 /* confdefs.h. */
42875 _ACEOF
42876 cat confdefs.h >>conftest.$ac_ext
42877 cat >>conftest.$ac_ext <<_ACEOF
42878 /* end confdefs.h. */
42879
42880 #include <sys/time.h>
42881 #include <unistd.h>
42882
42883 int
42884 main ()
42885 {
42886
42887 struct timeval tv;
42888 gettimeofday(&tv);
42889
42890 ;
42891 return 0;
42892 }
42893 _ACEOF
42894 rm -f conftest.$ac_objext
42895 if { (ac_try="$ac_compile"
42896 case "(($ac_try" in
42897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42898 *) ac_try_echo=$ac_try;;
42899 esac
42900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42901 (eval "$ac_compile") 2>conftest.er1
42902 ac_status=$?
42903 grep -v '^ *+' conftest.er1 >conftest.err
42904 rm -f conftest.er1
42905 cat conftest.err >&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } && {
42908 test -z "$ac_c_werror_flag" ||
42909 test ! -s conftest.err
42910 } && test -s conftest.$ac_objext; then
42911 wx_cv_func_gettimeofday_has_2_args=no
42912 else
42913 echo "$as_me: failed program was:" >&5
42914 sed 's/^/| /' conftest.$ac_ext >&5
42915
42916
42917 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42918 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42919 wx_cv_func_gettimeofday_has_2_args=unknown
42920
42921
42922 fi
42923
42924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42925
42926 fi
42927
42928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42929
42930 fi
42931 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42932 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42933
42934 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42935 cat >>confdefs.h <<\_ACEOF
42936 #define WX_GETTIMEOFDAY_NO_TZ 1
42937 _ACEOF
42938
42939 fi
42940 fi
42941
42942 if test "$wxUSE_DATETIME" = "yes"; then
42943 { echo "$as_me:$LINENO: checking for strptime" >&5
42944 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42945 if test "${ac_cv_func_strptime+set}" = set; then
42946 echo $ECHO_N "(cached) $ECHO_C" >&6
42947 else
42948 cat >conftest.$ac_ext <<_ACEOF
42949 /* confdefs.h. */
42950 _ACEOF
42951 cat confdefs.h >>conftest.$ac_ext
42952 cat >>conftest.$ac_ext <<_ACEOF
42953 /* end confdefs.h. */
42954 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42956 #define strptime innocuous_strptime
42957
42958 /* System header to define __stub macros and hopefully few prototypes,
42959 which can conflict with char strptime (); below.
42960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42961 <limits.h> exists even on freestanding compilers. */
42962
42963 #ifdef __STDC__
42964 # include <limits.h>
42965 #else
42966 # include <assert.h>
42967 #endif
42968
42969 #undef strptime
42970
42971 /* Override any GCC internal prototype to avoid an error.
42972 Use char because int might match the return type of a GCC
42973 builtin and then its argument prototype would still apply. */
42974 #ifdef __cplusplus
42975 extern "C"
42976 #endif
42977 char strptime ();
42978 /* The GNU C library defines this for functions which it implements
42979 to always fail with ENOSYS. Some functions are actually named
42980 something starting with __ and the normal name is an alias. */
42981 #if defined __stub_strptime || defined __stub___strptime
42982 choke me
42983 #endif
42984
42985 int
42986 main ()
42987 {
42988 return strptime ();
42989 ;
42990 return 0;
42991 }
42992 _ACEOF
42993 rm -f conftest.$ac_objext conftest$ac_exeext
42994 if { (ac_try="$ac_link"
42995 case "(($ac_try" in
42996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42997 *) ac_try_echo=$ac_try;;
42998 esac
42999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43000 (eval "$ac_link") 2>conftest.er1
43001 ac_status=$?
43002 grep -v '^ *+' conftest.er1 >conftest.err
43003 rm -f conftest.er1
43004 cat conftest.err >&5
43005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43006 (exit $ac_status); } && {
43007 test -z "$ac_c_werror_flag" ||
43008 test ! -s conftest.err
43009 } && test -s conftest$ac_exeext &&
43010 $as_test_x conftest$ac_exeext; then
43011 ac_cv_func_strptime=yes
43012 else
43013 echo "$as_me: failed program was:" >&5
43014 sed 's/^/| /' conftest.$ac_ext >&5
43015
43016 ac_cv_func_strptime=no
43017 fi
43018
43019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43020 conftest$ac_exeext conftest.$ac_ext
43021 fi
43022 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43023 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43024
43025 if test "$ac_cv_func_strptime" = "yes"; then
43026 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43027 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43028 if test "${wx_cv_func_strptime_decl+set}" = set; then
43029 echo $ECHO_N "(cached) $ECHO_C" >&6
43030 else
43031
43032 ac_ext=cpp
43033 ac_cpp='$CXXCPP $CPPFLAGS'
43034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43037
43038 cat >conftest.$ac_ext <<_ACEOF
43039 /* confdefs.h. */
43040 _ACEOF
43041 cat confdefs.h >>conftest.$ac_ext
43042 cat >>conftest.$ac_ext <<_ACEOF
43043 /* end confdefs.h. */
43044
43045 #include <time.h>
43046
43047 int
43048 main ()
43049 {
43050
43051 struct tm t;
43052 strptime("foo", "bar", &t);
43053
43054 ;
43055 return 0;
43056 }
43057 _ACEOF
43058 rm -f conftest.$ac_objext
43059 if { (ac_try="$ac_compile"
43060 case "(($ac_try" in
43061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43062 *) ac_try_echo=$ac_try;;
43063 esac
43064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43065 (eval "$ac_compile") 2>conftest.er1
43066 ac_status=$?
43067 grep -v '^ *+' conftest.er1 >conftest.err
43068 rm -f conftest.er1
43069 cat conftest.err >&5
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); } && {
43072 test -z "$ac_cxx_werror_flag" ||
43073 test ! -s conftest.err
43074 } && test -s conftest.$ac_objext; then
43075 wx_cv_func_strptime_decl=yes
43076 else
43077 echo "$as_me: failed program was:" >&5
43078 sed 's/^/| /' conftest.$ac_ext >&5
43079
43080 wx_cv_func_strptime_decl=no
43081
43082 fi
43083
43084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43085 ac_ext=c
43086 ac_cpp='$CPP $CPPFLAGS'
43087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43090
43091
43092
43093 fi
43094 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43095 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43096 fi
43097 if test "$wx_cv_func_strptime_decl" = "yes"; then
43098 cat >>confdefs.h <<\_ACEOF
43099 #define HAVE_STRPTIME_DECL 1
43100 _ACEOF
43101
43102 else
43103 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43104 fi
43105 if test "$ac_cv_func_strptime" = "yes"; then
43106 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43107 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43108 if test "${wx_cv_func_strptime_ok+set}" = set; then
43109 echo $ECHO_N "(cached) $ECHO_C" >&6
43110 else
43111 if test "$cross_compiling" = yes; then
43112 wx_cv_func_strptime_ok=no
43113
43114 else
43115 cat >conftest.$ac_ext <<_ACEOF
43116
43117 #include <stdlib.h>
43118 #include <time.h>
43119 #include "confdefs.h"
43120
43121 $wx_strptime_decl
43122
43123 int main()
43124 {
43125 struct tm t;
43126 return !!strptime("", "%x", &t);
43127 }
43128
43129 _ACEOF
43130 rm -f conftest$ac_exeext
43131 if { (ac_try="$ac_link"
43132 case "(($ac_try" in
43133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43134 *) ac_try_echo=$ac_try;;
43135 esac
43136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43137 (eval "$ac_link") 2>&5
43138 ac_status=$?
43139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43141 { (case "(($ac_try" in
43142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43143 *) ac_try_echo=$ac_try;;
43144 esac
43145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43146 (eval "$ac_try") 2>&5
43147 ac_status=$?
43148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43149 (exit $ac_status); }; }; then
43150 wx_cv_func_strptime_ok=yes
43151 else
43152 echo "$as_me: program exited with status $ac_status" >&5
43153 echo "$as_me: failed program was:" >&5
43154 sed 's/^/| /' conftest.$ac_ext >&5
43155
43156 ( exit $ac_status )
43157 wx_cv_func_strptime_ok=no
43158 fi
43159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43160 fi
43161
43162
43163
43164 fi
43165 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43166 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43167
43168 if test "$wx_cv_func_strptime_ok" = "yes"; then
43169 cat >>confdefs.h <<\_ACEOF
43170 #define HAVE_STRPTIME 1
43171 _ACEOF
43172
43173 fi
43174 fi
43175
43176 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43177 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43178 if test "${wx_cv_var_timezone+set}" = set; then
43179 echo $ECHO_N "(cached) $ECHO_C" >&6
43180 else
43181
43182 ac_ext=cpp
43183 ac_cpp='$CXXCPP $CPPFLAGS'
43184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43187
43188 cat >conftest.$ac_ext <<_ACEOF
43189 /* confdefs.h. */
43190 _ACEOF
43191 cat confdefs.h >>conftest.$ac_ext
43192 cat >>conftest.$ac_ext <<_ACEOF
43193 /* end confdefs.h. */
43194
43195 #include <time.h>
43196
43197 int
43198 main ()
43199 {
43200
43201 int tz;
43202 tz = timezone;
43203
43204 ;
43205 return 0;
43206 }
43207 _ACEOF
43208 rm -f conftest.$ac_objext
43209 if { (ac_try="$ac_compile"
43210 case "(($ac_try" in
43211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43212 *) ac_try_echo=$ac_try;;
43213 esac
43214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43215 (eval "$ac_compile") 2>conftest.er1
43216 ac_status=$?
43217 grep -v '^ *+' conftest.er1 >conftest.err
43218 rm -f conftest.er1
43219 cat conftest.err >&5
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); } && {
43222 test -z "$ac_cxx_werror_flag" ||
43223 test ! -s conftest.err
43224 } && test -s conftest.$ac_objext; then
43225
43226 wx_cv_var_timezone=timezone
43227
43228 else
43229 echo "$as_me: failed program was:" >&5
43230 sed 's/^/| /' conftest.$ac_ext >&5
43231
43232
43233 cat >conftest.$ac_ext <<_ACEOF
43234 /* confdefs.h. */
43235 _ACEOF
43236 cat confdefs.h >>conftest.$ac_ext
43237 cat >>conftest.$ac_ext <<_ACEOF
43238 /* end confdefs.h. */
43239
43240 #include <time.h>
43241
43242 int
43243 main ()
43244 {
43245
43246 int tz;
43247 tz = _timezone;
43248
43249 ;
43250 return 0;
43251 }
43252 _ACEOF
43253 rm -f conftest.$ac_objext
43254 if { (ac_try="$ac_compile"
43255 case "(($ac_try" in
43256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43257 *) ac_try_echo=$ac_try;;
43258 esac
43259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43260 (eval "$ac_compile") 2>conftest.er1
43261 ac_status=$?
43262 grep -v '^ *+' conftest.er1 >conftest.err
43263 rm -f conftest.er1
43264 cat conftest.err >&5
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); } && {
43267 test -z "$ac_cxx_werror_flag" ||
43268 test ! -s conftest.err
43269 } && test -s conftest.$ac_objext; then
43270
43271 wx_cv_var_timezone=_timezone
43272
43273 else
43274 echo "$as_me: failed program was:" >&5
43275 sed 's/^/| /' conftest.$ac_ext >&5
43276
43277
43278 cat >conftest.$ac_ext <<_ACEOF
43279 /* confdefs.h. */
43280 _ACEOF
43281 cat confdefs.h >>conftest.$ac_ext
43282 cat >>conftest.$ac_ext <<_ACEOF
43283 /* end confdefs.h. */
43284
43285 #include <time.h>
43286
43287 int
43288 main ()
43289 {
43290
43291 int tz;
43292 tz = __timezone;
43293
43294 ;
43295 return 0;
43296 }
43297 _ACEOF
43298 rm -f conftest.$ac_objext
43299 if { (ac_try="$ac_compile"
43300 case "(($ac_try" in
43301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43302 *) ac_try_echo=$ac_try;;
43303 esac
43304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43305 (eval "$ac_compile") 2>conftest.er1
43306 ac_status=$?
43307 grep -v '^ *+' conftest.er1 >conftest.err
43308 rm -f conftest.er1
43309 cat conftest.err >&5
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); } && {
43312 test -z "$ac_cxx_werror_flag" ||
43313 test ! -s conftest.err
43314 } && test -s conftest.$ac_objext; then
43315
43316 wx_cv_var_timezone=__timezone
43317
43318 else
43319 echo "$as_me: failed program was:" >&5
43320 sed 's/^/| /' conftest.$ac_ext >&5
43321
43322
43323 if test "$USE_DOS" = 0 ; then
43324 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43325 echo "$as_me: WARNING: no timezone variable" >&2;}
43326 fi
43327
43328
43329 fi
43330
43331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43332
43333
43334 fi
43335
43336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43337
43338
43339 fi
43340
43341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342 ac_ext=c
43343 ac_cpp='$CPP $CPPFLAGS'
43344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43347
43348
43349
43350 fi
43351 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43352 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43353
43354 if test "x$wx_cv_var_timezone" != x ; then
43355 cat >>confdefs.h <<_ACEOF
43356 #define WX_TIMEZONE $wx_cv_var_timezone
43357 _ACEOF
43358
43359 fi
43360
43361
43362 for ac_func in localtime
43363 do
43364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43368 echo $ECHO_N "(cached) $ECHO_C" >&6
43369 else
43370 cat >conftest.$ac_ext <<_ACEOF
43371 /* confdefs.h. */
43372 _ACEOF
43373 cat confdefs.h >>conftest.$ac_ext
43374 cat >>conftest.$ac_ext <<_ACEOF
43375 /* end confdefs.h. */
43376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43378 #define $ac_func innocuous_$ac_func
43379
43380 /* System header to define __stub macros and hopefully few prototypes,
43381 which can conflict with char $ac_func (); below.
43382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43383 <limits.h> exists even on freestanding compilers. */
43384
43385 #ifdef __STDC__
43386 # include <limits.h>
43387 #else
43388 # include <assert.h>
43389 #endif
43390
43391 #undef $ac_func
43392
43393 /* Override any GCC internal prototype to avoid an error.
43394 Use char because int might match the return type of a GCC
43395 builtin and then its argument prototype would still apply. */
43396 #ifdef __cplusplus
43397 extern "C"
43398 #endif
43399 char $ac_func ();
43400 /* The GNU C library defines this for functions which it implements
43401 to always fail with ENOSYS. Some functions are actually named
43402 something starting with __ and the normal name is an alias. */
43403 #if defined __stub_$ac_func || defined __stub___$ac_func
43404 choke me
43405 #endif
43406
43407 int
43408 main ()
43409 {
43410 return $ac_func ();
43411 ;
43412 return 0;
43413 }
43414 _ACEOF
43415 rm -f conftest.$ac_objext conftest$ac_exeext
43416 if { (ac_try="$ac_link"
43417 case "(($ac_try" in
43418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43419 *) ac_try_echo=$ac_try;;
43420 esac
43421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43422 (eval "$ac_link") 2>conftest.er1
43423 ac_status=$?
43424 grep -v '^ *+' conftest.er1 >conftest.err
43425 rm -f conftest.er1
43426 cat conftest.err >&5
43427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43428 (exit $ac_status); } && {
43429 test -z "$ac_c_werror_flag" ||
43430 test ! -s conftest.err
43431 } && test -s conftest$ac_exeext &&
43432 $as_test_x conftest$ac_exeext; then
43433 eval "$as_ac_var=yes"
43434 else
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43437
43438 eval "$as_ac_var=no"
43439 fi
43440
43441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43442 conftest$ac_exeext conftest.$ac_ext
43443 fi
43444 ac_res=`eval echo '${'$as_ac_var'}'`
43445 { echo "$as_me:$LINENO: result: $ac_res" >&5
43446 echo "${ECHO_T}$ac_res" >&6; }
43447 if test `eval echo '${'$as_ac_var'}'` = yes; then
43448 cat >>confdefs.h <<_ACEOF
43449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43450 _ACEOF
43451
43452 fi
43453 done
43454
43455
43456 if test "$ac_cv_func_localtime" = "yes"; then
43457 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43458 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43459 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43460 echo $ECHO_N "(cached) $ECHO_C" >&6
43461 else
43462
43463 cat >conftest.$ac_ext <<_ACEOF
43464 /* confdefs.h. */
43465 _ACEOF
43466 cat confdefs.h >>conftest.$ac_ext
43467 cat >>conftest.$ac_ext <<_ACEOF
43468 /* end confdefs.h. */
43469
43470 #include <time.h>
43471
43472 int
43473 main ()
43474 {
43475
43476 struct tm tm;
43477 tm.tm_gmtoff++;
43478
43479 ;
43480 return 0;
43481 }
43482 _ACEOF
43483 rm -f conftest.$ac_objext
43484 if { (ac_try="$ac_compile"
43485 case "(($ac_try" in
43486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43487 *) ac_try_echo=$ac_try;;
43488 esac
43489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43490 (eval "$ac_compile") 2>conftest.er1
43491 ac_status=$?
43492 grep -v '^ *+' conftest.er1 >conftest.err
43493 rm -f conftest.er1
43494 cat conftest.err >&5
43495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496 (exit $ac_status); } && {
43497 test -z "$ac_c_werror_flag" ||
43498 test ! -s conftest.err
43499 } && test -s conftest.$ac_objext; then
43500
43501 wx_cv_struct_tm_has_gmtoff=yes
43502
43503 else
43504 echo "$as_me: failed program was:" >&5
43505 sed 's/^/| /' conftest.$ac_ext >&5
43506
43507 wx_cv_struct_tm_has_gmtoff=no
43508
43509 fi
43510
43511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43512
43513 fi
43514 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43515 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43516 fi
43517
43518 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43519 cat >>confdefs.h <<\_ACEOF
43520 #define WX_GMTOFF_IN_TM 1
43521 _ACEOF
43522
43523 fi
43524
43525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43526 fi
43527
43528
43529 if test "$wxUSE_SOCKETS" = "yes"; then
43530 if test "$wxUSE_MGL" = 1; then
43531 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43532 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43533 wxUSE_SOCKETS="no"
43534 fi
43535 fi
43536
43537 if test "$wxUSE_SOCKETS" = "yes"; then
43538 if test "$TOOLKIT" != "MSW"; then
43539 { echo "$as_me:$LINENO: checking for socket" >&5
43540 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43541 if test "${ac_cv_func_socket+set}" = set; then
43542 echo $ECHO_N "(cached) $ECHO_C" >&6
43543 else
43544 cat >conftest.$ac_ext <<_ACEOF
43545 /* confdefs.h. */
43546 _ACEOF
43547 cat confdefs.h >>conftest.$ac_ext
43548 cat >>conftest.$ac_ext <<_ACEOF
43549 /* end confdefs.h. */
43550 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43552 #define socket innocuous_socket
43553
43554 /* System header to define __stub macros and hopefully few prototypes,
43555 which can conflict with char socket (); below.
43556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43557 <limits.h> exists even on freestanding compilers. */
43558
43559 #ifdef __STDC__
43560 # include <limits.h>
43561 #else
43562 # include <assert.h>
43563 #endif
43564
43565 #undef socket
43566
43567 /* Override any GCC internal prototype to avoid an error.
43568 Use char because int might match the return type of a GCC
43569 builtin and then its argument prototype would still apply. */
43570 #ifdef __cplusplus
43571 extern "C"
43572 #endif
43573 char socket ();
43574 /* The GNU C library defines this for functions which it implements
43575 to always fail with ENOSYS. Some functions are actually named
43576 something starting with __ and the normal name is an alias. */
43577 #if defined __stub_socket || defined __stub___socket
43578 choke me
43579 #endif
43580
43581 int
43582 main ()
43583 {
43584 return socket ();
43585 ;
43586 return 0;
43587 }
43588 _ACEOF
43589 rm -f conftest.$ac_objext conftest$ac_exeext
43590 if { (ac_try="$ac_link"
43591 case "(($ac_try" in
43592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43593 *) ac_try_echo=$ac_try;;
43594 esac
43595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43596 (eval "$ac_link") 2>conftest.er1
43597 ac_status=$?
43598 grep -v '^ *+' conftest.er1 >conftest.err
43599 rm -f conftest.er1
43600 cat conftest.err >&5
43601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43602 (exit $ac_status); } && {
43603 test -z "$ac_c_werror_flag" ||
43604 test ! -s conftest.err
43605 } && test -s conftest$ac_exeext &&
43606 $as_test_x conftest$ac_exeext; then
43607 ac_cv_func_socket=yes
43608 else
43609 echo "$as_me: failed program was:" >&5
43610 sed 's/^/| /' conftest.$ac_ext >&5
43611
43612 ac_cv_func_socket=no
43613 fi
43614
43615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43616 conftest$ac_exeext conftest.$ac_ext
43617 fi
43618 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43619 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43620 if test $ac_cv_func_socket = yes; then
43621 :
43622 else
43623
43624 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43625 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43626 if test "${ac_cv_lib_socket_socket+set}" = set; then
43627 echo $ECHO_N "(cached) $ECHO_C" >&6
43628 else
43629 ac_check_lib_save_LIBS=$LIBS
43630 LIBS="-lsocket $LIBS"
43631 cat >conftest.$ac_ext <<_ACEOF
43632 /* confdefs.h. */
43633 _ACEOF
43634 cat confdefs.h >>conftest.$ac_ext
43635 cat >>conftest.$ac_ext <<_ACEOF
43636 /* end confdefs.h. */
43637
43638 /* Override any GCC internal prototype to avoid an error.
43639 Use char because int might match the return type of a GCC
43640 builtin and then its argument prototype would still apply. */
43641 #ifdef __cplusplus
43642 extern "C"
43643 #endif
43644 char socket ();
43645 int
43646 main ()
43647 {
43648 return socket ();
43649 ;
43650 return 0;
43651 }
43652 _ACEOF
43653 rm -f conftest.$ac_objext conftest$ac_exeext
43654 if { (ac_try="$ac_link"
43655 case "(($ac_try" in
43656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43657 *) ac_try_echo=$ac_try;;
43658 esac
43659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43660 (eval "$ac_link") 2>conftest.er1
43661 ac_status=$?
43662 grep -v '^ *+' conftest.er1 >conftest.err
43663 rm -f conftest.er1
43664 cat conftest.err >&5
43665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43666 (exit $ac_status); } && {
43667 test -z "$ac_c_werror_flag" ||
43668 test ! -s conftest.err
43669 } && test -s conftest$ac_exeext &&
43670 $as_test_x conftest$ac_exeext; then
43671 ac_cv_lib_socket_socket=yes
43672 else
43673 echo "$as_me: failed program was:" >&5
43674 sed 's/^/| /' conftest.$ac_ext >&5
43675
43676 ac_cv_lib_socket_socket=no
43677 fi
43678
43679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43680 conftest$ac_exeext conftest.$ac_ext
43681 LIBS=$ac_check_lib_save_LIBS
43682 fi
43683 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43684 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43685 if test $ac_cv_lib_socket_socket = yes; then
43686 if test "$INET_LINK" != " -lsocket"; then
43687 INET_LINK="$INET_LINK -lsocket"
43688 fi
43689 else
43690
43691 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43692 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43693 wxUSE_SOCKETS=no
43694
43695
43696 fi
43697
43698
43699
43700 fi
43701
43702 fi
43703 fi
43704
43705 if test "$wxUSE_SOCKETS" = "yes" ; then
43706 if test "$TOOLKIT" != "MSW"; then
43707 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43708 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43709 if test "${wx_cv_type_getsockname3+set}" = set; then
43710 echo $ECHO_N "(cached) $ECHO_C" >&6
43711 else
43712
43713 ac_ext=cpp
43714 ac_cpp='$CXXCPP $CPPFLAGS'
43715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43718
43719 cat >conftest.$ac_ext <<_ACEOF
43720 /* confdefs.h. */
43721 _ACEOF
43722 cat confdefs.h >>conftest.$ac_ext
43723 cat >>conftest.$ac_ext <<_ACEOF
43724 /* end confdefs.h. */
43725
43726 #include <sys/types.h>
43727 #include <sys/socket.h>
43728
43729 int
43730 main ()
43731 {
43732
43733 socklen_t len;
43734 getsockname(0, 0, &len);
43735
43736 ;
43737 return 0;
43738 }
43739 _ACEOF
43740 rm -f conftest.$ac_objext
43741 if { (ac_try="$ac_compile"
43742 case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43744 *) ac_try_echo=$ac_try;;
43745 esac
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_compile") 2>conftest.er1
43748 ac_status=$?
43749 grep -v '^ *+' conftest.er1 >conftest.err
43750 rm -f conftest.er1
43751 cat conftest.err >&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } && {
43754 test -z "$ac_cxx_werror_flag" ||
43755 test ! -s conftest.err
43756 } && test -s conftest.$ac_objext; then
43757 wx_cv_type_getsockname3=socklen_t
43758 else
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.$ac_ext >&5
43761
43762
43763 CFLAGS_OLD="$CFLAGS"
43764 if test "$GCC" = yes ; then
43765 CFLAGS="-Werror $CFLAGS"
43766 fi
43767
43768 cat >conftest.$ac_ext <<_ACEOF
43769 /* confdefs.h. */
43770 _ACEOF
43771 cat confdefs.h >>conftest.$ac_ext
43772 cat >>conftest.$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43774
43775 #include <sys/types.h>
43776 #include <sys/socket.h>
43777
43778 int
43779 main ()
43780 {
43781
43782 size_t len;
43783 getsockname(0, 0, &len);
43784
43785 ;
43786 return 0;
43787 }
43788 _ACEOF
43789 rm -f conftest.$ac_objext
43790 if { (ac_try="$ac_compile"
43791 case "(($ac_try" in
43792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43793 *) ac_try_echo=$ac_try;;
43794 esac
43795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43796 (eval "$ac_compile") 2>conftest.er1
43797 ac_status=$?
43798 grep -v '^ *+' conftest.er1 >conftest.err
43799 rm -f conftest.er1
43800 cat conftest.err >&5
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); } && {
43803 test -z "$ac_cxx_werror_flag" ||
43804 test ! -s conftest.err
43805 } && test -s conftest.$ac_objext; then
43806 wx_cv_type_getsockname3=size_t
43807 else
43808 echo "$as_me: failed program was:" >&5
43809 sed 's/^/| /' conftest.$ac_ext >&5
43810
43811 cat >conftest.$ac_ext <<_ACEOF
43812 /* confdefs.h. */
43813 _ACEOF
43814 cat confdefs.h >>conftest.$ac_ext
43815 cat >>conftest.$ac_ext <<_ACEOF
43816 /* end confdefs.h. */
43817
43818 #include <sys/types.h>
43819 #include <sys/socket.h>
43820
43821 int
43822 main ()
43823 {
43824
43825 int len;
43826 getsockname(0, 0, &len);
43827
43828 ;
43829 return 0;
43830 }
43831 _ACEOF
43832 rm -f conftest.$ac_objext
43833 if { (ac_try="$ac_compile"
43834 case "(($ac_try" in
43835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43836 *) ac_try_echo=$ac_try;;
43837 esac
43838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43839 (eval "$ac_compile") 2>conftest.er1
43840 ac_status=$?
43841 grep -v '^ *+' conftest.er1 >conftest.err
43842 rm -f conftest.er1
43843 cat conftest.err >&5
43844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845 (exit $ac_status); } && {
43846 test -z "$ac_cxx_werror_flag" ||
43847 test ! -s conftest.err
43848 } && test -s conftest.$ac_objext; then
43849 wx_cv_type_getsockname3=int
43850 else
43851 echo "$as_me: failed program was:" >&5
43852 sed 's/^/| /' conftest.$ac_ext >&5
43853
43854 wx_cv_type_getsockname3=unknown
43855
43856 fi
43857
43858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43859
43860 fi
43861
43862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43863
43864 CFLAGS="$CFLAGS_OLD"
43865
43866
43867 fi
43868
43869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43870 ac_ext=c
43871 ac_cpp='$CPP $CPPFLAGS'
43872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43875
43876
43877 fi
43878 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43879 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43880
43881 if test "$wx_cv_type_getsockname3" = "unknown"; then
43882 wxUSE_SOCKETS=no
43883 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43884 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43885 else
43886 cat >>confdefs.h <<_ACEOF
43887 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43888 _ACEOF
43889
43890 fi
43891 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43892 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43893 if test "${wx_cv_type_getsockopt5+set}" = set; then
43894 echo $ECHO_N "(cached) $ECHO_C" >&6
43895 else
43896
43897 ac_ext=cpp
43898 ac_cpp='$CXXCPP $CPPFLAGS'
43899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43902
43903 cat >conftest.$ac_ext <<_ACEOF
43904 /* confdefs.h. */
43905 _ACEOF
43906 cat confdefs.h >>conftest.$ac_ext
43907 cat >>conftest.$ac_ext <<_ACEOF
43908 /* end confdefs.h. */
43909
43910 #include <sys/types.h>
43911 #include <sys/socket.h>
43912
43913 int
43914 main ()
43915 {
43916
43917 socklen_t len;
43918 getsockopt(0, 0, 0, 0, &len);
43919
43920 ;
43921 return 0;
43922 }
43923 _ACEOF
43924 rm -f conftest.$ac_objext
43925 if { (ac_try="$ac_compile"
43926 case "(($ac_try" in
43927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43928 *) ac_try_echo=$ac_try;;
43929 esac
43930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43931 (eval "$ac_compile") 2>conftest.er1
43932 ac_status=$?
43933 grep -v '^ *+' conftest.er1 >conftest.err
43934 rm -f conftest.er1
43935 cat conftest.err >&5
43936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43937 (exit $ac_status); } && {
43938 test -z "$ac_cxx_werror_flag" ||
43939 test ! -s conftest.err
43940 } && test -s conftest.$ac_objext; then
43941 wx_cv_type_getsockopt5=socklen_t
43942 else
43943 echo "$as_me: failed program was:" >&5
43944 sed 's/^/| /' conftest.$ac_ext >&5
43945
43946
43947 cat >conftest.$ac_ext <<_ACEOF
43948 /* confdefs.h. */
43949 _ACEOF
43950 cat confdefs.h >>conftest.$ac_ext
43951 cat >>conftest.$ac_ext <<_ACEOF
43952 /* end confdefs.h. */
43953
43954 #include <sys/types.h>
43955 #include <sys/socket.h>
43956
43957 int
43958 main ()
43959 {
43960
43961 size_t len;
43962 getsockopt(0, 0, 0, 0, &len);
43963
43964 ;
43965 return 0;
43966 }
43967 _ACEOF
43968 rm -f conftest.$ac_objext
43969 if { (ac_try="$ac_compile"
43970 case "(($ac_try" in
43971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43972 *) ac_try_echo=$ac_try;;
43973 esac
43974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43975 (eval "$ac_compile") 2>conftest.er1
43976 ac_status=$?
43977 grep -v '^ *+' conftest.er1 >conftest.err
43978 rm -f conftest.er1
43979 cat conftest.err >&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } && {
43982 test -z "$ac_cxx_werror_flag" ||
43983 test ! -s conftest.err
43984 } && test -s conftest.$ac_objext; then
43985 wx_cv_type_getsockopt5=size_t
43986 else
43987 echo "$as_me: failed program was:" >&5
43988 sed 's/^/| /' conftest.$ac_ext >&5
43989
43990 cat >conftest.$ac_ext <<_ACEOF
43991 /* confdefs.h. */
43992 _ACEOF
43993 cat confdefs.h >>conftest.$ac_ext
43994 cat >>conftest.$ac_ext <<_ACEOF
43995 /* end confdefs.h. */
43996
43997 #include <sys/types.h>
43998 #include <sys/socket.h>
43999
44000 int
44001 main ()
44002 {
44003
44004 int len;
44005 getsockopt(0, 0, 0, 0, &len);
44006
44007 ;
44008 return 0;
44009 }
44010 _ACEOF
44011 rm -f conftest.$ac_objext
44012 if { (ac_try="$ac_compile"
44013 case "(($ac_try" in
44014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44015 *) ac_try_echo=$ac_try;;
44016 esac
44017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44018 (eval "$ac_compile") 2>conftest.er1
44019 ac_status=$?
44020 grep -v '^ *+' conftest.er1 >conftest.err
44021 rm -f conftest.er1
44022 cat conftest.err >&5
44023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024 (exit $ac_status); } && {
44025 test -z "$ac_cxx_werror_flag" ||
44026 test ! -s conftest.err
44027 } && test -s conftest.$ac_objext; then
44028 wx_cv_type_getsockopt5=int
44029 else
44030 echo "$as_me: failed program was:" >&5
44031 sed 's/^/| /' conftest.$ac_ext >&5
44032
44033 wx_cv_type_getsockopt5=unknown
44034
44035 fi
44036
44037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44038
44039 fi
44040
44041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44042
44043
44044 fi
44045
44046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44047 ac_ext=c
44048 ac_cpp='$CPP $CPPFLAGS'
44049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44052
44053
44054 fi
44055 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44056 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44057
44058 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44059 wxUSE_SOCKETS=no
44060 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44061 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44062 else
44063 cat >>confdefs.h <<_ACEOF
44064 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44065 _ACEOF
44066
44067 fi
44068 fi
44069 fi
44070
44071 if test "$wxUSE_SOCKETS" = "yes" ; then
44072 if test "$wxUSE_IPV6" = "yes"; then
44073 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44074 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44075 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44076 echo $ECHO_N "(cached) $ECHO_C" >&6
44077 else
44078
44079 cat >conftest.$ac_ext <<_ACEOF
44080 /* confdefs.h. */
44081 _ACEOF
44082 cat confdefs.h >>conftest.$ac_ext
44083 cat >>conftest.$ac_ext <<_ACEOF
44084 /* end confdefs.h. */
44085
44086 #include <sys/types.h>
44087 #include <sys/socket.h>
44088 #include <netinet/in.h>
44089
44090 int
44091 main ()
44092 {
44093
44094 struct sockaddr_in6 sa6;
44095
44096 ;
44097 return 0;
44098 }
44099 _ACEOF
44100 rm -f conftest.$ac_objext
44101 if { (ac_try="$ac_compile"
44102 case "(($ac_try" in
44103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44104 *) ac_try_echo=$ac_try;;
44105 esac
44106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44107 (eval "$ac_compile") 2>conftest.er1
44108 ac_status=$?
44109 grep -v '^ *+' conftest.er1 >conftest.err
44110 rm -f conftest.er1
44111 cat conftest.err >&5
44112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44113 (exit $ac_status); } && {
44114 test -z "$ac_c_werror_flag" ||
44115 test ! -s conftest.err
44116 } && test -s conftest.$ac_objext; then
44117 wx_cv_type_sockaddr_in6=yes
44118 else
44119 echo "$as_me: failed program was:" >&5
44120 sed 's/^/| /' conftest.$ac_ext >&5
44121
44122 wx_cv_type_sockaddr_in6=no
44123
44124 fi
44125
44126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44127
44128
44129 fi
44130 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44131 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44132
44133 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define wxUSE_IPV6 1
44136 _ACEOF
44137
44138 else
44139 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44140 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44141 fi
44142 fi
44143
44144 cat >>confdefs.h <<\_ACEOF
44145 #define wxUSE_SOCKETS 1
44146 _ACEOF
44147
44148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44149 fi
44150
44151 if test "$wxUSE_PROTOCOL" = "yes"; then
44152 if test "$wxUSE_SOCKETS" != "yes"; then
44153 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44154 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44155 wxUSE_PROTOCOL=no
44156 fi
44157 fi
44158
44159 if test "$wxUSE_PROTOCOL" = "yes"; then
44160 cat >>confdefs.h <<\_ACEOF
44161 #define wxUSE_PROTOCOL 1
44162 _ACEOF
44163
44164
44165 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44166 cat >>confdefs.h <<\_ACEOF
44167 #define wxUSE_PROTOCOL_HTTP 1
44168 _ACEOF
44169
44170 fi
44171 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_PROTOCOL_FTP 1
44174 _ACEOF
44175
44176 fi
44177 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_PROTOCOL_FILE 1
44180 _ACEOF
44181
44182 fi
44183 else
44184 if test "$wxUSE_FS_INET" = "yes"; then
44185 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44186 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44187 wxUSE_FS_INET="no"
44188 fi
44189 fi
44190
44191 if test "$wxUSE_URL" = "yes"; then
44192 if test "$wxUSE_PROTOCOL" != "yes"; then
44193 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44194 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44195 wxUSE_URL=no
44196 fi
44197 if test "$wxUSE_URL" = "yes"; then
44198 cat >>confdefs.h <<\_ACEOF
44199 #define wxUSE_URL 1
44200 _ACEOF
44201
44202 fi
44203 fi
44204
44205 if test "$wxUSE_VARIANT" = "yes"; then
44206 cat >>confdefs.h <<\_ACEOF
44207 #define wxUSE_VARIANT 1
44208 _ACEOF
44209
44210 fi
44211
44212 if test "$wxUSE_FS_INET" = "yes"; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_FS_INET 1
44215 _ACEOF
44216
44217 fi
44218
44219
44220 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44221 wxUSE_JOYSTICK=no
44222
44223 if test "$TOOLKIT" = "MSW"; then
44224 wxUSE_JOYSTICK=yes
44225
44226 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44227 if test "$USE_DARWIN" = 1; then
44228 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44229 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44230 ac_ext=cpp
44231 ac_cpp='$CXXCPP $CPPFLAGS'
44232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44235
44236 cat >conftest.$ac_ext <<_ACEOF
44237 /* confdefs.h. */
44238 _ACEOF
44239 cat confdefs.h >>conftest.$ac_ext
44240 cat >>conftest.$ac_ext <<_ACEOF
44241 /* end confdefs.h. */
44242 #include <IOKit/hid/IOHIDLib.h>
44243 int
44244 main ()
44245 {
44246 IOHIDQueueInterface *qi = NULL;
44247 IOHIDCallbackFunction cb = NULL;
44248 qi->setEventCallout(NULL, cb, NULL, NULL);
44249 ;
44250 return 0;
44251 }
44252 _ACEOF
44253 rm -f conftest.$ac_objext
44254 if { (ac_try="$ac_compile"
44255 case "(($ac_try" in
44256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44257 *) ac_try_echo=$ac_try;;
44258 esac
44259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44260 (eval "$ac_compile") 2>conftest.er1
44261 ac_status=$?
44262 grep -v '^ *+' conftest.er1 >conftest.err
44263 rm -f conftest.er1
44264 cat conftest.err >&5
44265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44266 (exit $ac_status); } && {
44267 test -z "$ac_cxx_werror_flag" ||
44268 test ! -s conftest.err
44269 } && test -s conftest.$ac_objext; then
44270 wxUSE_JOYSTICK=yes
44271
44272 else
44273 echo "$as_me: failed program was:" >&5
44274 sed 's/^/| /' conftest.$ac_ext >&5
44275
44276
44277 fi
44278
44279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44280 ac_ext=c
44281 ac_cpp='$CPP $CPPFLAGS'
44282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44285
44286 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44287 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44288 fi
44289
44290 else
44291 if test "$wxUSE_MGL" != 1; then
44292
44293 for ac_header in linux/joystick.h
44294 do
44295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44299 echo $ECHO_N "(cached) $ECHO_C" >&6
44300 else
44301 cat >conftest.$ac_ext <<_ACEOF
44302 /* confdefs.h. */
44303 _ACEOF
44304 cat confdefs.h >>conftest.$ac_ext
44305 cat >>conftest.$ac_ext <<_ACEOF
44306 /* end confdefs.h. */
44307 $ac_includes_default
44308
44309 #include <$ac_header>
44310 _ACEOF
44311 rm -f conftest.$ac_objext
44312 if { (ac_try="$ac_compile"
44313 case "(($ac_try" in
44314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44315 *) ac_try_echo=$ac_try;;
44316 esac
44317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44318 (eval "$ac_compile") 2>conftest.er1
44319 ac_status=$?
44320 grep -v '^ *+' conftest.er1 >conftest.err
44321 rm -f conftest.er1
44322 cat conftest.err >&5
44323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44324 (exit $ac_status); } && {
44325 test -z "$ac_c_werror_flag" ||
44326 test ! -s conftest.err
44327 } && test -s conftest.$ac_objext; then
44328 eval "$as_ac_Header=yes"
44329 else
44330 echo "$as_me: failed program was:" >&5
44331 sed 's/^/| /' conftest.$ac_ext >&5
44332
44333 eval "$as_ac_Header=no"
44334 fi
44335
44336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44337 fi
44338 ac_res=`eval echo '${'$as_ac_Header'}'`
44339 { echo "$as_me:$LINENO: result: $ac_res" >&5
44340 echo "${ECHO_T}$ac_res" >&6; }
44341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44342 cat >>confdefs.h <<_ACEOF
44343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44344 _ACEOF
44345 wxUSE_JOYSTICK=yes
44346 fi
44347
44348 done
44349
44350 fi
44351 fi
44352
44353 if test "$wxUSE_JOYSTICK" = "yes"; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define wxUSE_JOYSTICK 1
44356 _ACEOF
44357
44358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44359 else
44360 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44361 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44362 fi
44363 fi
44364
44365
44366
44367 if test "$wxUSE_FONTENUM" = "yes" ; then
44368 cat >>confdefs.h <<\_ACEOF
44369 #define wxUSE_FONTENUM 1
44370 _ACEOF
44371
44372 fi
44373
44374 if test "$wxUSE_FONTMAP" = "yes" ; then
44375 cat >>confdefs.h <<\_ACEOF
44376 #define wxUSE_FONTMAP 1
44377 _ACEOF
44378
44379 fi
44380
44381 if test "$wxUSE_UNICODE" = "yes" ; then
44382 cat >>confdefs.h <<\_ACEOF
44383 #define wxUSE_UNICODE 1
44384 _ACEOF
44385
44386
44387 if test "$USE_WIN32" != 1; then
44388 wxUSE_UNICODE_MSLU=no
44389 fi
44390
44391 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44392 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44393 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44394 if test "${ac_cv_lib_unicows_main+set}" = set; then
44395 echo $ECHO_N "(cached) $ECHO_C" >&6
44396 else
44397 ac_check_lib_save_LIBS=$LIBS
44398 LIBS="-lunicows $LIBS"
44399 cat >conftest.$ac_ext <<_ACEOF
44400 /* confdefs.h. */
44401 _ACEOF
44402 cat confdefs.h >>conftest.$ac_ext
44403 cat >>conftest.$ac_ext <<_ACEOF
44404 /* end confdefs.h. */
44405
44406
44407 int
44408 main ()
44409 {
44410 return main ();
44411 ;
44412 return 0;
44413 }
44414 _ACEOF
44415 rm -f conftest.$ac_objext conftest$ac_exeext
44416 if { (ac_try="$ac_link"
44417 case "(($ac_try" in
44418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44419 *) ac_try_echo=$ac_try;;
44420 esac
44421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44422 (eval "$ac_link") 2>conftest.er1
44423 ac_status=$?
44424 grep -v '^ *+' conftest.er1 >conftest.err
44425 rm -f conftest.er1
44426 cat conftest.err >&5
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); } && {
44429 test -z "$ac_c_werror_flag" ||
44430 test ! -s conftest.err
44431 } && test -s conftest$ac_exeext &&
44432 $as_test_x conftest$ac_exeext; then
44433 ac_cv_lib_unicows_main=yes
44434 else
44435 echo "$as_me: failed program was:" >&5
44436 sed 's/^/| /' conftest.$ac_ext >&5
44437
44438 ac_cv_lib_unicows_main=no
44439 fi
44440
44441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44442 conftest$ac_exeext conftest.$ac_ext
44443 LIBS=$ac_check_lib_save_LIBS
44444 fi
44445 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44446 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44447 if test $ac_cv_lib_unicows_main = yes; then
44448
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_UNICODE_MSLU 1
44451 _ACEOF
44452
44453
44454 else
44455
44456 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44457 Applications will only run on Windows NT/2000/XP!" >&5
44458 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44459 Applications will only run on Windows NT/2000/XP!" >&2;}
44460 wxUSE_UNICODE_MSLU=no
44461
44462 fi
44463
44464 fi
44465 fi
44466
44467 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44468 cat >>confdefs.h <<\_ACEOF
44469 #define wxUSE_UNICODE_UTF8 1
44470 _ACEOF
44471
44472
44473 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44474 cat >>confdefs.h <<\_ACEOF
44475 #define wxUSE_UTF8_LOCALE_ONLY 1
44476 _ACEOF
44477
44478 fi
44479 fi
44480
44481
44482 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44483 cat >>confdefs.h <<\_ACEOF
44484 #define wxUSE_CONSTRAINTS 1
44485 _ACEOF
44486
44487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44488 fi
44489
44490 if test "$wxUSE_MDI" = "yes"; then
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_MDI 1
44493 _ACEOF
44494
44495
44496 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_MDI_ARCHITECTURE 1
44499 _ACEOF
44500
44501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44502 fi
44503 fi
44504
44505 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44506 cat >>confdefs.h <<\_ACEOF
44507 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44508 _ACEOF
44509
44510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44511 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44513 fi
44514 fi
44515
44516 if test "$wxUSE_HELP" = "yes"; then
44517 cat >>confdefs.h <<\_ACEOF
44518 #define wxUSE_HELP 1
44519 _ACEOF
44520
44521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44522
44523 if test "$wxUSE_MSW" = 1; then
44524 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44525 cat >>confdefs.h <<\_ACEOF
44526 #define wxUSE_MS_HTML_HELP 1
44527 _ACEOF
44528
44529 fi
44530 fi
44531
44532 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44533 if test "$wxUSE_HTML" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define wxUSE_WXHTML_HELP 1
44536 _ACEOF
44537
44538 else
44539 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44540 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44541 wxUSE_WXHTML_HELP=no
44542 fi
44543 fi
44544 fi
44545
44546 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44547 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44548 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44549 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44550 else
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_PRINTING_ARCHITECTURE 1
44553 _ACEOF
44554
44555 fi
44556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44557 fi
44558
44559 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44560 cat >>confdefs.h <<\_ACEOF
44561 #define wxUSE_POSTSCRIPT 1
44562 _ACEOF
44563
44564 fi
44565
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44568 _ACEOF
44569
44570
44571 if test "$wxUSE_SVG" = "yes"; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_SVG 1
44574 _ACEOF
44575
44576 fi
44577
44578
44579 if test "$wxUSE_METAFILE" = "yes"; then
44580 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44581 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44582 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44583 wxUSE_METAFILE=no
44584 fi
44585 fi
44586
44587
44588 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44589 -o "$wxUSE_CLIPBOARD" = "yes" \
44590 -o "$wxUSE_OLE" = "yes" \
44591 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44592 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44593 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44594 if test "${ac_cv_header_ole2_h+set}" = set; then
44595 echo $ECHO_N "(cached) $ECHO_C" >&6
44596 else
44597 cat >conftest.$ac_ext <<_ACEOF
44598 /* confdefs.h. */
44599 _ACEOF
44600 cat confdefs.h >>conftest.$ac_ext
44601 cat >>conftest.$ac_ext <<_ACEOF
44602 /* end confdefs.h. */
44603
44604
44605 #include <ole2.h>
44606 _ACEOF
44607 rm -f conftest.$ac_objext
44608 if { (ac_try="$ac_compile"
44609 case "(($ac_try" in
44610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44611 *) ac_try_echo=$ac_try;;
44612 esac
44613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44614 (eval "$ac_compile") 2>conftest.er1
44615 ac_status=$?
44616 grep -v '^ *+' conftest.er1 >conftest.err
44617 rm -f conftest.er1
44618 cat conftest.err >&5
44619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44620 (exit $ac_status); } && {
44621 test -z "$ac_c_werror_flag" ||
44622 test ! -s conftest.err
44623 } && test -s conftest.$ac_objext; then
44624 ac_cv_header_ole2_h=yes
44625 else
44626 echo "$as_me: failed program was:" >&5
44627 sed 's/^/| /' conftest.$ac_ext >&5
44628
44629 ac_cv_header_ole2_h=no
44630 fi
44631
44632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44633 fi
44634 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44635 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44636
44637
44638
44639 if test "$ac_cv_header_ole2_h" = "yes" ; then
44640 if test "$GCC" = yes ; then
44641 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44642 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44643 cat >conftest.$ac_ext <<_ACEOF
44644 /* confdefs.h. */
44645 _ACEOF
44646 cat confdefs.h >>conftest.$ac_ext
44647 cat >>conftest.$ac_ext <<_ACEOF
44648 /* end confdefs.h. */
44649 #include <windows.h>
44650 #include <ole2.h>
44651 int
44652 main ()
44653 {
44654
44655 ;
44656 return 0;
44657 }
44658 _ACEOF
44659 rm -f conftest.$ac_objext
44660 if { (ac_try="$ac_compile"
44661 case "(($ac_try" in
44662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44663 *) ac_try_echo=$ac_try;;
44664 esac
44665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44666 (eval "$ac_compile") 2>conftest.er1
44667 ac_status=$?
44668 grep -v '^ *+' conftest.er1 >conftest.err
44669 rm -f conftest.er1
44670 cat conftest.err >&5
44671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44672 (exit $ac_status); } && {
44673 test -z "$ac_c_werror_flag" ||
44674 test ! -s conftest.err
44675 } && test -s conftest.$ac_objext; then
44676 { echo "$as_me:$LINENO: result: no" >&5
44677 echo "${ECHO_T}no" >&6; }
44678 else
44679 echo "$as_me: failed program was:" >&5
44680 sed 's/^/| /' conftest.$ac_ext >&5
44681
44682 { echo "$as_me:$LINENO: result: yes" >&5
44683 echo "${ECHO_T}yes" >&6; }
44684 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44685 fi
44686
44687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44688 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44689 if test "$wxUSE_OLE" = "yes" ; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_OLE 1
44692 _ACEOF
44693
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_OLE_AUTOMATION 1
44696 _ACEOF
44697
44698 cat >>confdefs.h <<\_ACEOF
44699 #define wxUSE_ACTIVEX 1
44700 _ACEOF
44701
44702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44703 fi
44704 fi
44705
44706 if test "$wxUSE_DATAOBJ" = "yes" ; then
44707 cat >>confdefs.h <<\_ACEOF
44708 #define wxUSE_DATAOBJ 1
44709 _ACEOF
44710
44711 fi
44712 else
44713 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44714 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44715
44716 wxUSE_CLIPBOARD=no
44717 wxUSE_DRAG_AND_DROP=no
44718 wxUSE_DATAOBJ=no
44719 wxUSE_OLE=no
44720 fi
44721
44722 if test "$wxUSE_METAFILE" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_METAFILE 1
44725 _ACEOF
44726
44727
44728 cat >>confdefs.h <<\_ACEOF
44729 #define wxUSE_ENH_METAFILE 1
44730 _ACEOF
44731
44732 fi
44733 fi
44734
44735 if test "$wxUSE_IPC" = "yes"; then
44736 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44737 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44738 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44739 wxUSE_IPC=no
44740 fi
44741
44742 if test "$wxUSE_IPC" = "yes"; then
44743 cat >>confdefs.h <<\_ACEOF
44744 #define wxUSE_IPC 1
44745 _ACEOF
44746
44747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44748 fi
44749 fi
44750
44751 if test "$wxUSE_DATAOBJ" = "yes"; then
44752 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44753 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44754 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44755 wxUSE_DATAOBJ=no
44756 else
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_DATAOBJ 1
44759 _ACEOF
44760
44761 fi
44762 else
44763 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44764 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44765 wxUSE_CLIPBOARD=no
44766 wxUSE_DRAG_AND_DROP=no
44767 fi
44768
44769 if test "$wxUSE_CLIPBOARD" = "yes"; then
44770 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44771 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44772 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44773 wxUSE_CLIPBOARD=no
44774 fi
44775
44776 if test "$wxUSE_CLIPBOARD" = "yes"; then
44777 cat >>confdefs.h <<\_ACEOF
44778 #define wxUSE_CLIPBOARD 1
44779 _ACEOF
44780
44781 fi
44782 fi
44783
44784 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44785 if test "$wxUSE_GTK" = 1; then
44786 if test "$WXGTK12" != 1; then
44787 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44788 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44789 wxUSE_DRAG_AND_DROP=no
44790 fi
44791 fi
44792
44793 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44794 "$wxUSE_DFB" = 1; then
44795 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44796 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44797 wxUSE_DRAG_AND_DROP=no
44798 fi
44799
44800 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_DRAG_AND_DROP 1
44803 _ACEOF
44804
44805 fi
44806
44807 fi
44808
44809 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44811 fi
44812
44813 if test "$wxUSE_SPLINES" = "yes" ; then
44814 cat >>confdefs.h <<\_ACEOF
44815 #define wxUSE_SPLINES 1
44816 _ACEOF
44817
44818 fi
44819
44820 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44821 cat >>confdefs.h <<\_ACEOF
44822 #define wxUSE_MOUSEWHEEL 1
44823 _ACEOF
44824
44825 fi
44826
44827
44828 USES_CONTROLS=0
44829 if test "$wxUSE_CONTROLS" = "yes"; then
44830 USES_CONTROLS=1
44831 fi
44832
44833 if test "$wxUSE_ACCEL" = "yes"; then
44834 cat >>confdefs.h <<\_ACEOF
44835 #define wxUSE_ACCEL 1
44836 _ACEOF
44837
44838 USES_CONTROLS=1
44839 fi
44840
44841 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44842 cat >>confdefs.h <<\_ACEOF
44843 #define wxUSE_ANIMATIONCTRL 1
44844 _ACEOF
44845
44846 USES_CONTROLS=1
44847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44848 fi
44849
44850 if test "$wxUSE_BUTTON" = "yes"; then
44851 cat >>confdefs.h <<\_ACEOF
44852 #define wxUSE_BUTTON 1
44853 _ACEOF
44854
44855 USES_CONTROLS=1
44856 fi
44857
44858 if test "$wxUSE_BMPBUTTON" = "yes"; then
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_BMPBUTTON 1
44861 _ACEOF
44862
44863 USES_CONTROLS=1
44864 fi
44865
44866 if test "$wxUSE_CALCTRL" = "yes"; then
44867 cat >>confdefs.h <<\_ACEOF
44868 #define wxUSE_CALENDARCTRL 1
44869 _ACEOF
44870
44871 USES_CONTROLS=1
44872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44873 fi
44874
44875 if test "$wxUSE_CARET" = "yes"; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_CARET 1
44878 _ACEOF
44879
44880 USES_CONTROLS=1
44881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44882 fi
44883
44884 if test "$wxUSE_COLLPANE" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_COLLPANE 1
44887 _ACEOF
44888
44889 USES_CONTROLS=1
44890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44891 fi
44892
44893 if test "$wxUSE_COMBOBOX" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_COMBOBOX 1
44896 _ACEOF
44897
44898 USES_CONTROLS=1
44899 fi
44900
44901 if test "$wxUSE_COMBOCTRL" = "yes"; then
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_COMBOCTRL 1
44904 _ACEOF
44905
44906 USES_CONTROLS=1
44907 fi
44908
44909 if test "$wxUSE_CHOICE" = "yes"; then
44910 cat >>confdefs.h <<\_ACEOF
44911 #define wxUSE_CHOICE 1
44912 _ACEOF
44913
44914 USES_CONTROLS=1
44915 fi
44916
44917 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_CHOICEBOOK 1
44920 _ACEOF
44921
44922 USES_CONTROLS=1
44923 fi
44924
44925 if test "$wxUSE_CHECKBOX" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_CHECKBOX 1
44928 _ACEOF
44929
44930 USES_CONTROLS=1
44931 fi
44932
44933 if test "$wxUSE_CHECKLST" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_CHECKLISTBOX 1
44936 _ACEOF
44937
44938 USES_CONTROLS=1
44939 fi
44940
44941 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44942 cat >>confdefs.h <<\_ACEOF
44943 #define wxUSE_COLOURPICKERCTRL 1
44944 _ACEOF
44945
44946 USES_CONTROLS=1
44947 fi
44948
44949 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44950 cat >>confdefs.h <<\_ACEOF
44951 #define wxUSE_DATEPICKCTRL 1
44952 _ACEOF
44953
44954 USES_CONTROLS=1
44955 fi
44956
44957 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44958 cat >>confdefs.h <<\_ACEOF
44959 #define wxUSE_DIRPICKERCTRL 1
44960 _ACEOF
44961
44962 USES_CONTROLS=1
44963 fi
44964
44965 if test "$wxUSE_FILECTRL" = "yes"; then
44966 cat >>confdefs.h <<\_ACEOF
44967 #define wxUSE_FILECTRL 1
44968 _ACEOF
44969
44970 USES_CONTROLS=1
44971 fi
44972
44973 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define wxUSE_FILEPICKERCTRL 1
44976 _ACEOF
44977
44978 USES_CONTROLS=1
44979 fi
44980
44981 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44982 cat >>confdefs.h <<\_ACEOF
44983 #define wxUSE_FONTPICKERCTRL 1
44984 _ACEOF
44985
44986 USES_CONTROLS=1
44987 fi
44988
44989 if test "$wxUSE_DISPLAY" = "yes"; then
44990 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44991 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44992 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44993 wxUSE_DISPLAY=no
44994 else
44995 cat >>confdefs.h <<\_ACEOF
44996 #define wxUSE_DISPLAY 1
44997 _ACEOF
44998
44999 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45000 fi
45001 fi
45002
45003 if test "$wxUSE_DETECT_SM" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_DETECT_SM 1
45006 _ACEOF
45007
45008 fi
45009
45010 if test "$wxUSE_GAUGE" = "yes"; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_GAUGE 1
45013 _ACEOF
45014
45015 USES_CONTROLS=1
45016 fi
45017
45018 if test "$wxUSE_GRID" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_GRID 1
45021 _ACEOF
45022
45023 USES_CONTROLS=1
45024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45025 fi
45026
45027 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45028 cat >>confdefs.h <<\_ACEOF
45029 #define wxUSE_HYPERLINKCTRL 1
45030 _ACEOF
45031
45032 USES_CONTROLS=1
45033 fi
45034
45035 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_BITMAPCOMBOBOX 1
45038 _ACEOF
45039
45040 USES_CONTROLS=1
45041 fi
45042
45043 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_DATAVIEWCTRL 1
45046 _ACEOF
45047
45048 USES_CONTROLS=1
45049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45050 fi
45051
45052 if test "$wxUSE_IMAGLIST" = "yes"; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_IMAGLIST 1
45055 _ACEOF
45056
45057 fi
45058
45059 if test "$wxUSE_LISTBOOK" = "yes"; then
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_LISTBOOK 1
45062 _ACEOF
45063
45064 USES_CONTROLS=1
45065 fi
45066
45067 if test "$wxUSE_LISTBOX" = "yes"; then
45068 cat >>confdefs.h <<\_ACEOF
45069 #define wxUSE_LISTBOX 1
45070 _ACEOF
45071
45072 USES_CONTROLS=1
45073 fi
45074
45075 if test "$wxUSE_LISTCTRL" = "yes"; then
45076 if test "$wxUSE_IMAGLIST" = "yes"; then
45077 cat >>confdefs.h <<\_ACEOF
45078 #define wxUSE_LISTCTRL 1
45079 _ACEOF
45080
45081 USES_CONTROLS=1
45082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45083 else
45084 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45085 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45086 fi
45087 fi
45088
45089 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45090 cat >>confdefs.h <<\_ACEOF
45091 #define wxUSE_EDITABLELISTBOX 1
45092 _ACEOF
45093
45094 USES_CONTROLS=1
45095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45096 fi
45097
45098 if test "$wxUSE_NOTEBOOK" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_NOTEBOOK 1
45101 _ACEOF
45102
45103 USES_CONTROLS=1
45104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45105 fi
45106
45107 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45108 cat >>confdefs.h <<\_ACEOF
45109 #define wxUSE_NOTIFICATION_MESSAGE 1
45110 _ACEOF
45111
45112 fi
45113
45114 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_ODCOMBOBOX 1
45117 _ACEOF
45118
45119 USES_CONTROLS=1
45120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45121 fi
45122
45123 if test "$wxUSE_RADIOBOX" = "yes"; then
45124 cat >>confdefs.h <<\_ACEOF
45125 #define wxUSE_RADIOBOX 1
45126 _ACEOF
45127
45128 USES_CONTROLS=1
45129 fi
45130
45131 if test "$wxUSE_RADIOBTN" = "yes"; then
45132 cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_RADIOBTN 1
45134 _ACEOF
45135
45136 USES_CONTROLS=1
45137 fi
45138
45139 if test "$wxUSE_SASH" = "yes"; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_SASH 1
45142 _ACEOF
45143
45144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45145 fi
45146
45147 if test "$wxUSE_SCROLLBAR" = "yes"; then
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_SCROLLBAR 1
45150 _ACEOF
45151
45152 USES_CONTROLS=1
45153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45154 fi
45155
45156 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45157 cat >>confdefs.h <<\_ACEOF
45158 #define wxUSE_SEARCHCTRL 1
45159 _ACEOF
45160
45161 USES_CONTROLS=1
45162 fi
45163
45164 if test "$wxUSE_SLIDER" = "yes"; then
45165 cat >>confdefs.h <<\_ACEOF
45166 #define wxUSE_SLIDER 1
45167 _ACEOF
45168
45169 USES_CONTROLS=1
45170 fi
45171
45172 if test "$wxUSE_SPINBTN" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_SPINBTN 1
45175 _ACEOF
45176
45177 USES_CONTROLS=1
45178 fi
45179
45180 if test "$wxUSE_SPINCTRL" = "yes"; then
45181 cat >>confdefs.h <<\_ACEOF
45182 #define wxUSE_SPINCTRL 1
45183 _ACEOF
45184
45185 USES_CONTROLS=1
45186 fi
45187
45188 if test "$wxUSE_SPLITTER" = "yes"; then
45189 cat >>confdefs.h <<\_ACEOF
45190 #define wxUSE_SPLITTER 1
45191 _ACEOF
45192
45193 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45194 fi
45195
45196 if test "$wxUSE_STATBMP" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_STATBMP 1
45199 _ACEOF
45200
45201 USES_CONTROLS=1
45202 fi
45203
45204 if test "$wxUSE_STATBOX" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_STATBOX 1
45207 _ACEOF
45208
45209 USES_CONTROLS=1
45210 fi
45211
45212 if test "$wxUSE_STATTEXT" = "yes"; then
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_STATTEXT 1
45215 _ACEOF
45216
45217 USES_CONTROLS=1
45218 fi
45219
45220 if test "$wxUSE_STATLINE" = "yes"; then
45221 cat >>confdefs.h <<\_ACEOF
45222 #define wxUSE_STATLINE 1
45223 _ACEOF
45224
45225 USES_CONTROLS=1
45226 fi
45227
45228 if test "$wxUSE_STATUSBAR" = "yes"; then
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_NATIVE_STATUSBAR 1
45231 _ACEOF
45232
45233 cat >>confdefs.h <<\_ACEOF
45234 #define wxUSE_STATUSBAR 1
45235 _ACEOF
45236
45237 USES_CONTROLS=1
45238
45239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45240 fi
45241
45242 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_TAB_DIALOG 1
45245 _ACEOF
45246
45247 fi
45248
45249 if test "$wxUSE_TEXTCTRL" = "yes"; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_TEXTCTRL 1
45252 _ACEOF
45253
45254 USES_CONTROLS=1
45255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45256 fi
45257
45258 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45259 if test "$wxUSE_COCOA" = 1 ; then
45260 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45261 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45262 wxUSE_TOGGLEBTN=no
45263 fi
45264
45265 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45266 cat >>confdefs.h <<\_ACEOF
45267 #define wxUSE_TOGGLEBTN 1
45268 _ACEOF
45269
45270 USES_CONTROLS=1
45271 fi
45272 fi
45273
45274 if test "$wxUSE_TOOLBAR" = "yes"; then
45275 cat >>confdefs.h <<\_ACEOF
45276 #define wxUSE_TOOLBAR 1
45277 _ACEOF
45278
45279 USES_CONTROLS=1
45280
45281 if test "$wxUSE_UNIVERSAL" = "yes"; then
45282 wxUSE_TOOLBAR_NATIVE="no"
45283 else
45284 wxUSE_TOOLBAR_NATIVE="yes"
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_TOOLBAR_NATIVE 1
45287 _ACEOF
45288
45289 fi
45290
45291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45292 fi
45293
45294 if test "$wxUSE_TOOLTIPS" = "yes"; then
45295 if test "$wxUSE_MOTIF" = 1; then
45296 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45297 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45298 else
45299 if test "$wxUSE_UNIVERSAL" = "yes"; then
45300 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45301 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45302 else
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_TOOLTIPS 1
45305 _ACEOF
45306
45307 fi
45308 fi
45309 fi
45310
45311 if test "$wxUSE_TREEBOOK" = "yes"; then
45312 cat >>confdefs.h <<\_ACEOF
45313 #define wxUSE_TREEBOOK 1
45314 _ACEOF
45315
45316 USES_CONTROLS=1
45317 fi
45318
45319 if test "$wxUSE_TOOLBOOK" = "yes"; then
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_TOOLBOOK 1
45322 _ACEOF
45323
45324 USES_CONTROLS=1
45325 fi
45326
45327 if test "$wxUSE_TREECTRL" = "yes"; then
45328 if test "$wxUSE_IMAGLIST" = "yes"; then
45329 cat >>confdefs.h <<\_ACEOF
45330 #define wxUSE_TREECTRL 1
45331 _ACEOF
45332
45333 USES_CONTROLS=1
45334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45335 else
45336 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45337 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45338 fi
45339 fi
45340
45341 if test "$wxUSE_POPUPWIN" = "yes"; then
45342 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45343 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45344 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45345 else
45346 if test "$wxUSE_PM" = 1; then
45347 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45348 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45349 else
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_POPUPWIN 1
45352 _ACEOF
45353
45354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45355
45356 USES_CONTROLS=1
45357 fi
45358 fi
45359 fi
45360
45361 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45362 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45363 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45364 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45365 else
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_DIALUP_MANAGER 1
45368 _ACEOF
45369
45370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45371 fi
45372 fi
45373
45374 if test "$wxUSE_TIPWINDOW" = "yes"; then
45375 if test "$wxUSE_PM" = 1; then
45376 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45377 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45378 else
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_TIPWINDOW 1
45381 _ACEOF
45382
45383 fi
45384 fi
45385
45386 if test "$USES_CONTROLS" = 1; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_CONTROLS 1
45389 _ACEOF
45390
45391 fi
45392
45393
45394 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45395 cat >>confdefs.h <<\_ACEOF
45396 #define wxUSE_ACCESSIBILITY 1
45397 _ACEOF
45398
45399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45400 fi
45401
45402 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_DRAGIMAGE 1
45405 _ACEOF
45406
45407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45408 fi
45409
45410 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45411 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45412 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45413 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45414 else
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_EXCEPTIONS 1
45417 _ACEOF
45418
45419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45420 fi
45421 fi
45422
45423 USE_HTML=0
45424 if test "$wxUSE_HTML" = "yes"; then
45425 cat >>confdefs.h <<\_ACEOF
45426 #define wxUSE_HTML 1
45427 _ACEOF
45428
45429 USE_HTML=1
45430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45431 if test "$wxUSE_MAC" = 1; then
45432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45433 fi
45434 fi
45435 if test "$wxUSE_WEBKIT" = "yes"; then
45436 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45437 old_CPPFLAGS="$CPPFLAGS"
45438 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45439 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45440 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45441 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45443 else
45444 cat >conftest.$ac_ext <<_ACEOF
45445 /* confdefs.h. */
45446 _ACEOF
45447 cat confdefs.h >>conftest.$ac_ext
45448 cat >>conftest.$ac_ext <<_ACEOF
45449 /* end confdefs.h. */
45450
45451 #include <Carbon/Carbon.h>
45452 #include <WebKit/WebKit.h>
45453
45454
45455 #include <WebKit/HIWebView.h>
45456 _ACEOF
45457 rm -f conftest.$ac_objext
45458 if { (ac_try="$ac_compile"
45459 case "(($ac_try" in
45460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45461 *) ac_try_echo=$ac_try;;
45462 esac
45463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45464 (eval "$ac_compile") 2>conftest.er1
45465 ac_status=$?
45466 grep -v '^ *+' conftest.er1 >conftest.err
45467 rm -f conftest.er1
45468 cat conftest.err >&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } && {
45471 test -z "$ac_c_werror_flag" ||
45472 test ! -s conftest.err
45473 } && test -s conftest.$ac_objext; then
45474 ac_cv_header_WebKit_HIWebView_h=yes
45475 else
45476 echo "$as_me: failed program was:" >&5
45477 sed 's/^/| /' conftest.$ac_ext >&5
45478
45479 ac_cv_header_WebKit_HIWebView_h=no
45480 fi
45481
45482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45483 fi
45484 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45485 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45486 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45487
45488 cat >>confdefs.h <<\_ACEOF
45489 #define wxUSE_WEBKIT 1
45490 _ACEOF
45491
45492 WEBKIT_LINK="-framework WebKit"
45493
45494 else
45495
45496 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45497 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45498 wxUSE_WEBKIT=no
45499
45500 fi
45501
45502
45503 CPPFLAGS="$old_CPPFLAGS"
45504 elif test "$wxUSE_COCOA" = 1; then
45505 cat >>confdefs.h <<\_ACEOF
45506 #define wxUSE_WEBKIT 1
45507 _ACEOF
45508
45509 else
45510 wxUSE_WEBKIT=no
45511 fi
45512 fi
45513
45514 USE_XRC=0
45515 if test "$wxUSE_XRC" = "yes"; then
45516 if test "$wxUSE_XML" != "yes"; then
45517 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45518 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45519 wxUSE_XRC=no
45520 else
45521 cat >>confdefs.h <<\_ACEOF
45522 #define wxUSE_XRC 1
45523 _ACEOF
45524
45525 USE_XRC=1
45526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45527 fi
45528 fi
45529
45530 USE_AUI=0
45531 if test "$wxUSE_AUI" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_AUI 1
45534 _ACEOF
45535
45536 USE_AUI=1
45537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45538 fi
45539
45540 USE_STC=0
45541 if test "$wxUSE_STC" = "yes"; then
45542 cat >>confdefs.h <<\_ACEOF
45543 #define wxUSE_STC 1
45544 _ACEOF
45545
45546 USE_STC=1
45547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45548 fi
45549
45550 if test "$wxUSE_MENUS" = "yes"; then
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_MENUS 1
45553 _ACEOF
45554
45555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45556 fi
45557
45558 if test "$wxUSE_METAFILE" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_METAFILE 1
45561 _ACEOF
45562
45563 fi
45564
45565 if test "$wxUSE_MIMETYPE" = "yes"; then
45566 cat >>confdefs.h <<\_ACEOF
45567 #define wxUSE_MIMETYPE 1
45568 _ACEOF
45569
45570 fi
45571
45572 if test "$wxUSE_MINIFRAME" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_MINIFRAME 1
45575 _ACEOF
45576
45577 fi
45578
45579 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_SYSTEM_OPTIONS 1
45582 _ACEOF
45583
45584 fi
45585
45586 if test "$wxUSE_TASKBARICON" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_TASKBARICON 1
45589 _ACEOF
45590
45591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45592 fi
45593
45594
45595 if test "$wxUSE_VALIDATORS" = "yes"; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_VALIDATORS 1
45598 _ACEOF
45599
45600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45601 fi
45602
45603 if test "$wxUSE_PALETTE" = "yes" ; then
45604 if test "$wxUSE_DFB" = 1; then
45605 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45606 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45607 wxUSE_PALETTE=no
45608 else
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_PALETTE 1
45611 _ACEOF
45612
45613 fi
45614 fi
45615
45616 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45617 LIBS=" -lunicows $LIBS"
45618 fi
45619
45620 USE_RICHTEXT=0
45621 if test "$wxUSE_RICHTEXT" = "yes"; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define wxUSE_RICHTEXT 1
45624 _ACEOF
45625
45626 USE_RICHTEXT=1
45627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45628 fi
45629
45630
45631 if test "$wxUSE_IMAGE" = "yes" ; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_IMAGE 1
45634 _ACEOF
45635
45636
45637 if test "$wxUSE_GIF" = "yes" ; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_GIF 1
45640 _ACEOF
45641
45642 fi
45643
45644 if test "$wxUSE_PCX" = "yes" ; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_PCX 1
45647 _ACEOF
45648
45649 fi
45650
45651 if test "$wxUSE_TGA" = "yes" ; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_TGA 1
45654 _ACEOF
45655
45656 fi
45657
45658 if test "$wxUSE_IFF" = "yes" ; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_IFF 1
45661 _ACEOF
45662
45663 fi
45664
45665 if test "$wxUSE_PNM" = "yes" ; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_PNM 1
45668 _ACEOF
45669
45670 fi
45671
45672 if test "$wxUSE_XPM" = "yes" ; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_XPM 1
45675 _ACEOF
45676
45677 fi
45678
45679 if test "$wxUSE_ICO_CUR" = "yes" ; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_ICO_CUR 1
45682 _ACEOF
45683
45684 fi
45685 fi
45686
45687
45688 if test "$wxUSE_ABOUTDLG" = "yes"; then
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_ABOUTDLG 1
45691 _ACEOF
45692
45693 fi
45694
45695 if test "$wxUSE_CHOICEDLG" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_CHOICEDLG 1
45698 _ACEOF
45699
45700 fi
45701
45702 if test "$wxUSE_COLOURDLG" = "yes"; then
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_COLOURDLG 1
45705 _ACEOF
45706
45707 fi
45708
45709 if test "$wxUSE_FILEDLG" = "yes"; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_FILEDLG 1
45712 _ACEOF
45713
45714 fi
45715
45716 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45717 cat >>confdefs.h <<\_ACEOF
45718 #define wxUSE_FINDREPLDLG 1
45719 _ACEOF
45720
45721 fi
45722
45723 if test "$wxUSE_FONTDLG" = "yes"; then
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_FONTDLG 1
45726 _ACEOF
45727
45728 fi
45729
45730 if test "$wxUSE_DIRDLG" = "yes"; then
45731 if test "$wxUSE_TREECTRL" != "yes"; then
45732 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45733 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45734 else
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_DIRDLG 1
45737 _ACEOF
45738
45739 fi
45740 fi
45741
45742 if test "$wxUSE_MSGDLG" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_MSGDLG 1
45745 _ACEOF
45746
45747 fi
45748
45749 if test "$wxUSE_NUMBERDLG" = "yes"; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_NUMBERDLG 1
45752 _ACEOF
45753
45754 fi
45755
45756 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45757 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45758 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45759 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45760 else
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_PROGRESSDLG 1
45763 _ACEOF
45764
45765 fi
45766 fi
45767
45768 if test "$wxUSE_SPLASH" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_SPLASH 1
45771 _ACEOF
45772
45773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45774 fi
45775
45776 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45777 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45778 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45779 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45780 else
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_STARTUP_TIPS 1
45783 _ACEOF
45784
45785 fi
45786 fi
45787
45788 if test "$wxUSE_TEXTDLG" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_TEXTDLG 1
45791 _ACEOF
45792
45793 fi
45794
45795 if test "$wxUSE_WIZARDDLG" = "yes"; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_WIZARDDLG 1
45798 _ACEOF
45799
45800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45801 fi
45802
45803
45804 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45805 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_OWNER_DRAWN 1
45808 _ACEOF
45809
45810 fi
45811 fi
45812
45813
45814 if test "$wxUSE_MSW" = 1 ; then
45815
45816 if test "$wxUSE_DC_CACHEING" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_DC_CACHEING 1
45819 _ACEOF
45820
45821 fi
45822
45823 if test "$wxUSE_DIB" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_WXDIB 1
45826 _ACEOF
45827
45828 fi
45829
45830 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45833 _ACEOF
45834
45835 fi
45836
45837 if test "$wxUSE_UXTHEME" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_UXTHEME 1
45840 _ACEOF
45841
45842 fi
45843
45844 fi
45845
45846
45847 if test "$USE_WIN32" = 1 ; then
45848 if test "$wxUSE_INICONF" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_INICONF 1
45851 _ACEOF
45852
45853 fi
45854
45855 if test "$wxUSE_REGKEY" = "yes"; then
45856 cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_REGKEY 1
45858 _ACEOF
45859
45860 fi
45861 fi
45862
45863
45864 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45865 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45866 cat >>confdefs.h <<\_ACEOF
45867 #define wxUSE_GRAPHICS_CONTEXT 1
45868 _ACEOF
45869
45870 elif test "$wxUSE_GTK" != 1; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_GRAPHICS_CONTEXT 1
45873 _ACEOF
45874
45875 else
45876
45877 pkg_failed=no
45878 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45879 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45880
45881 if test -n "$PKG_CONFIG"; then
45882 if test -n "$CAIRO_CFLAGS"; then
45883 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45884 else
45885 if test -n "$PKG_CONFIG" && \
45886 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45887 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45888 ac_status=$?
45889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45890 (exit $ac_status); }; then
45891 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45892 else
45893 pkg_failed=yes
45894 fi
45895 fi
45896 else
45897 pkg_failed=untried
45898 fi
45899 if test -n "$PKG_CONFIG"; then
45900 if test -n "$CAIRO_LIBS"; then
45901 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45902 else
45903 if test -n "$PKG_CONFIG" && \
45904 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45905 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45906 ac_status=$?
45907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45908 (exit $ac_status); }; then
45909 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45910 else
45911 pkg_failed=yes
45912 fi
45913 fi
45914 else
45915 pkg_failed=untried
45916 fi
45917
45918
45919
45920 if test $pkg_failed = yes; then
45921
45922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45923 _pkg_short_errors_supported=yes
45924 else
45925 _pkg_short_errors_supported=no
45926 fi
45927 if test $_pkg_short_errors_supported = yes; then
45928 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45929 else
45930 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45931 fi
45932 # Put the nasty error message in config.log where it belongs
45933 echo "$CAIRO_PKG_ERRORS" >&5
45934
45935 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45936 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45937
45938 elif test $pkg_failed = untried; then
45939 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45940 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45941
45942 else
45943 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45944 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45945 { echo "$as_me:$LINENO: result: yes" >&5
45946 echo "${ECHO_T}yes" >&6; }
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_GRAPHICS_CONTEXT 1
45949 _ACEOF
45950
45951 fi
45952 fi
45953 fi
45954
45955
45956 USE_MEDIA=0
45957
45958 if test "$wxUSE_MEDIACTRL" = "yes"; then
45959 USE_MEDIA=1
45960
45961 if test "$wxUSE_GTK" = 1; then
45962 wxUSE_GSTREAMER="no"
45963
45964 GST_VERSION_MAJOR=0
45965 GST_VERSION_MINOR=10
45966 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45967
45968 if test "$wxUSE_GSTREAMER8" = "no"; then
45969
45970 pkg_failed=no
45971 { echo "$as_me:$LINENO: checking for GST" >&5
45972 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45973
45974 if test -n "$PKG_CONFIG"; then
45975 if test -n "$GST_CFLAGS"; then
45976 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45977 else
45978 if test -n "$PKG_CONFIG" && \
45979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45980 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45981 ac_status=$?
45982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45983 (exit $ac_status); }; then
45984 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45985 else
45986 pkg_failed=yes
45987 fi
45988 fi
45989 else
45990 pkg_failed=untried
45991 fi
45992 if test -n "$PKG_CONFIG"; then
45993 if test -n "$GST_LIBS"; then
45994 pkg_cv_GST_LIBS="$GST_LIBS"
45995 else
45996 if test -n "$PKG_CONFIG" && \
45997 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45998 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45999 ac_status=$?
46000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001 (exit $ac_status); }; then
46002 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46003 else
46004 pkg_failed=yes
46005 fi
46006 fi
46007 else
46008 pkg_failed=untried
46009 fi
46010
46011
46012
46013 if test $pkg_failed = yes; then
46014
46015 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46016 _pkg_short_errors_supported=yes
46017 else
46018 _pkg_short_errors_supported=no
46019 fi
46020 if test $_pkg_short_errors_supported = yes; then
46021 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46022 else
46023 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46024 fi
46025 # Put the nasty error message in config.log where it belongs
46026 echo "$GST_PKG_ERRORS" >&5
46027
46028
46029 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46030 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46031 GST_VERSION_MINOR=8
46032
46033
46034 elif test $pkg_failed = untried; then
46035
46036 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46037 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46038 GST_VERSION_MINOR=8
46039
46040
46041 else
46042 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46043 GST_LIBS=$pkg_cv_GST_LIBS
46044 { echo "$as_me:$LINENO: result: yes" >&5
46045 echo "${ECHO_T}yes" >&6; }
46046
46047 wxUSE_GSTREAMER="yes"
46048 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46049
46050 fi
46051 else
46052 GST_VERSION_MINOR=8
46053 fi
46054
46055 if test $GST_VERSION_MINOR = "8"; then
46056 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46057
46058 pkg_failed=no
46059 { echo "$as_me:$LINENO: checking for GST" >&5
46060 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46061
46062 if test -n "$PKG_CONFIG"; then
46063 if test -n "$GST_CFLAGS"; then
46064 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46065 else
46066 if test -n "$PKG_CONFIG" && \
46067 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46068 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46069 ac_status=$?
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); }; then
46072 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46073 else
46074 pkg_failed=yes
46075 fi
46076 fi
46077 else
46078 pkg_failed=untried
46079 fi
46080 if test -n "$PKG_CONFIG"; then
46081 if test -n "$GST_LIBS"; then
46082 pkg_cv_GST_LIBS="$GST_LIBS"
46083 else
46084 if test -n "$PKG_CONFIG" && \
46085 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46086 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46087 ac_status=$?
46088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46089 (exit $ac_status); }; then
46090 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46091 else
46092 pkg_failed=yes
46093 fi
46094 fi
46095 else
46096 pkg_failed=untried
46097 fi
46098
46099
46100
46101 if test $pkg_failed = yes; then
46102
46103 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46104 _pkg_short_errors_supported=yes
46105 else
46106 _pkg_short_errors_supported=no
46107 fi
46108 if test $_pkg_short_errors_supported = yes; then
46109 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46110 else
46111 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46112 fi
46113 # Put the nasty error message in config.log where it belongs
46114 echo "$GST_PKG_ERRORS" >&5
46115
46116
46117 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46118 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46119
46120 elif test $pkg_failed = untried; then
46121
46122 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46123 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46124
46125 else
46126 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46127 GST_LIBS=$pkg_cv_GST_LIBS
46128 { echo "$as_me:$LINENO: result: yes" >&5
46129 echo "${ECHO_T}yes" >&6; }
46130 wxUSE_GSTREAMER="yes"
46131 fi
46132 fi
46133
46134
46135 if test "$wxUSE_GSTREAMER" = "yes"; then
46136 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46137 EXTRALIBS_MEDIA="$GST_LIBS"
46138
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_GSTREAMER 1
46141 _ACEOF
46142
46143 else
46144 USE_MEDIA=0
46145 fi
46146 fi
46147
46148 if test $USE_MEDIA = 1; then
46149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46150 cat >>confdefs.h <<\_ACEOF
46151 #define wxUSE_MEDIACTRL 1
46152 _ACEOF
46153
46154 fi
46155 fi
46156
46157
46158 if test "$cross_compiling" = "yes"; then
46159 OSINFO="\"$host\""
46160 else
46161 OSINFO=`uname -s -r -m`
46162 OSINFO="\"$OSINFO\""
46163 fi
46164
46165 cat >>confdefs.h <<_ACEOF
46166 #define WXWIN_OS_DESCRIPTION $OSINFO
46167 _ACEOF
46168
46169
46170
46171 if test "x$prefix" != "xNONE"; then
46172 wxPREFIX=$prefix
46173 else
46174 wxPREFIX=$ac_default_prefix
46175 fi
46176
46177 cat >>confdefs.h <<_ACEOF
46178 #define wxINSTALL_PREFIX "$wxPREFIX"
46179 _ACEOF
46180
46181
46182
46183
46184 STD_BASE_LIBS="base"
46185 STD_GUI_LIBS=""
46186 BUILT_WX_LIBS="base"
46187 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46188
46189 if test "$wxUSE_SOCKETS" = "yes" ; then
46190 STD_BASE_LIBS="net $STD_BASE_LIBS"
46191 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46192 fi
46193 if test "$wxUSE_XML" = "yes" ; then
46194 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46195 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46196 fi
46197
46198 if test "$wxUSE_GUI" = "yes"; then
46199 STD_GUI_LIBS="adv core"
46200 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46201
46202 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46203 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46204 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46205 fi
46206 if test "$wxUSE_HTML" = "yes" ; then
46207 STD_GUI_LIBS="html $STD_GUI_LIBS"
46208 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46209 fi
46210 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46211 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46212 fi
46213 if test "$wxUSE_OPENGL" = "yes" ; then
46214 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46215 fi
46216 if test "$wxUSE_AUI" = "yes" ; then
46217 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46218 fi
46219 if test "$wxUSE_STC" = "yes" ; then
46220 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46221 fi
46222 if test "$wxUSE_XRC" = "yes" ; then
46223 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46224 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46225 fi
46226 fi
46227
46228
46229
46230
46231
46232
46233
46234
46235 if test "$wxUSE_MAC" = 1 ; then
46236 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46237 if test "$USE_DARWIN" = 1; then
46238 LDFLAGS="$LDFLAGS -framework QuickTime"
46239 else
46240 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46241 fi
46242 fi
46243 if test "$USE_DARWIN" = 1; then
46244 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46245 else
46246 LDFLAGS="$LDFLAGS -lCarbonLib"
46247 fi
46248 fi
46249 if test "$wxUSE_COCOA" = 1 ; then
46250 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46251 if test "$wxUSE_MEDIACTRL" = "yes"; then
46252 LDFLAGS="$LDFLAGS -framework QuickTime"
46253 fi
46254 fi
46255 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46256 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46257 fi
46258
46259 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46260
46261 if test "$wxUSE_GUI" = "yes"; then
46262
46263
46264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46265 erase event exec font image minimal mobile \
46266 mobile/wxedit mobile/styles render \
46267 shaped svg taborder vscroll widgets"
46268
46269 if test "$wxUSE_MONOLITHIC" != "yes"; then
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46271 fi
46272 if test "$TOOLKIT" = "MSW"; then
46273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46274 if test "$wxUSE_UNIVERSAL" != "yes"; then
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46276 fi
46277 fi
46278 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46280 fi
46281 else
46282 SAMPLES_SUBDIRS="console"
46283 fi
46284
46285
46286 if test "x$INTELCC" = "xyes" ; then
46287 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46288 elif test "$GCC" = yes ; then
46289 CWARNINGS="-Wall -Wundef"
46290 fi
46291
46292 if test "x$INTELCXX" = "xyes" ; then
46293 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46294 elif test "$GXX" = yes ; then
46295 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46296 fi
46297
46298
46299 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46300 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46301
46302
46303 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46304 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46305 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46306 $CPPFLAGS `
46307
46308 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46309 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46310 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46311
46312 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46313
46314
46315 if test "x$MWCC" = "xyes"; then
46316
46317 CC="$CC -cwd source -I-"
46318 CXX="$CXX -cwd source -I-"
46319 fi
46320
46321
46322 LIBS=`echo $LIBS`
46323 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46324 EXTRALIBS_XML="$EXPAT_LINK"
46325 EXTRALIBS_HTML="$MSPACK_LINK"
46326 EXTRALIBS_MEDIA="$GST_LIBS"
46327 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46328 if test "$wxUSE_GUI" = "yes"; then
46329 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46330 fi
46331 if test "$wxUSE_OPENGL" = "yes"; then
46332 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46333 fi
46334
46335 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46336
46337 WXCONFIG_LIBS="$LIBS"
46338
46339 if test "$wxUSE_REGEX" = "builtin" ; then
46340 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46341 fi
46342 if test "$wxUSE_EXPAT" = "builtin" ; then
46343 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46344 fi
46345 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46346 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46347 fi
46348 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46349 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46350 fi
46351 if test "$wxUSE_LIBPNG" = "builtin" ; then
46352 wxconfig_3rdparty="png $wxconfig_3rdparty"
46353 fi
46354 if test "$wxUSE_ZLIB" = "builtin" ; then
46355 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46356 fi
46357
46358 for i in $wxconfig_3rdparty ; do
46359 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46360 done
46361
46362
46363 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46364 WXUNIV=1
46365
46366 case "$wxUNIV_THEMES" in
46367 ''|all)
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_ALL_THEMES 1
46370 _ACEOF
46371
46372 ;;
46373
46374 *)
46375 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46376 cat >>confdefs.h <<_ACEOF
46377 #define wxUSE_THEME_$t 1
46378 _ACEOF
46379
46380 done
46381 esac
46382 else
46383 WXUNIV=0
46384 fi
46385
46386
46387
46388
46389
46390
46391
46392
46393 if test $wxUSE_MONOLITHIC = "yes" ; then
46394 MONOLITHIC=1
46395 else
46396 MONOLITHIC=0
46397 fi
46398
46399 if test $wxUSE_PLUGINS = "yes" ; then
46400 USE_PLUGINS=1
46401 else
46402 USE_PLUGINS=0
46403 fi
46404
46405 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46406 USE_QA=1
46407 else
46408 USE_QA=0
46409 fi
46410
46411 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46412 OFFICIAL_BUILD=1
46413 else
46414 OFFICIAL_BUILD=0
46415 fi
46416
46417
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 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46444
46445
46446
46447
46448
46449
46450
46451
46452 case "$TOOLKIT" in
46453 GTK)
46454 TOOLKIT_DESC="GTK+"
46455 if test "$WXGTK2" = 1; then
46456 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46457 if test "$wxUSE_GTKPRINT" = "yes" ; then
46458 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46459 fi
46460 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46461 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46462 fi
46463 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46464 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46465 fi
46466 if test "$wxUSE_LIBHILDON" = "yes"; then
46467 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46468 fi
46469
46470 if test "$TOOLKIT_EXTRA" != ""; then
46471 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46472 fi
46473 fi
46474 ;;
46475
46476 ?*)
46477 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46478 ;;
46479
46480 *)
46481 TOOLKIT_DESC="base only"
46482 ;;
46483 esac
46484
46485 if test "$wxUSE_WINE" = "yes"; then
46486 BAKEFILE_FORCE_PLATFORM=win32
46487 fi
46488
46489 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46490 then
46491 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46492 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46493 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46494 echo $ECHO_N "(cached) $ECHO_C" >&6
46495 else
46496
46497 echo '#include <stdio.h>
46498 const wchar_t test_var[] = L"awidetest";' > conftest.h
46499
46500 echo '#include "conftest.h"
46501 int main()
46502 {
46503 printf("%ls", test_var);
46504 return 0;
46505 }' > conftest.cpp
46506
46507 wx_cv_gcc_pch_bug="pch not supported"
46508
46509 if $CXX conftest.h >/dev/null 2>&1
46510 then
46511 wx_cv_gcc_pch_bug=
46512
46513 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46514 then
46515 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46516 grep awidetest >/dev/null
46517 then
46518 wx_cv_gcc_pch_bug=no
46519 else
46520 wx_cv_gcc_pch_bug=yes
46521 fi
46522 fi
46523 fi
46524
46525 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46526
46527 fi
46528 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46529 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46530
46531 if test "$wx_cv_gcc_pch_bug" = yes; then
46532 bk_use_pch=no
46533 fi
46534 fi
46535
46536
46537
46538
46539 if test "x$BAKEFILE_HOST" = "x"; then
46540 if test "x${host}" = "x" ; then
46541 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46542 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46543 { (exit 1); exit 1; }; }
46544 fi
46545
46546 BAKEFILE_HOST="${host}"
46547 fi
46548
46549 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46550
46551 if test -n "$ac_tool_prefix"; then
46552 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46553 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46556 if test "${ac_cv_prog_RANLIB+set}" = set; then
46557 echo $ECHO_N "(cached) $ECHO_C" >&6
46558 else
46559 if test -n "$RANLIB"; then
46560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46561 else
46562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46563 for as_dir in $PATH
46564 do
46565 IFS=$as_save_IFS
46566 test -z "$as_dir" && as_dir=.
46567 for ac_exec_ext in '' $ac_executable_extensions; do
46568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46569 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46571 break 2
46572 fi
46573 done
46574 done
46575 IFS=$as_save_IFS
46576
46577 fi
46578 fi
46579 RANLIB=$ac_cv_prog_RANLIB
46580 if test -n "$RANLIB"; then
46581 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46582 echo "${ECHO_T}$RANLIB" >&6; }
46583 else
46584 { echo "$as_me:$LINENO: result: no" >&5
46585 echo "${ECHO_T}no" >&6; }
46586 fi
46587
46588
46589 fi
46590 if test -z "$ac_cv_prog_RANLIB"; then
46591 ac_ct_RANLIB=$RANLIB
46592 # Extract the first word of "ranlib", so it can be a program name with args.
46593 set dummy ranlib; ac_word=$2
46594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46596 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46597 echo $ECHO_N "(cached) $ECHO_C" >&6
46598 else
46599 if test -n "$ac_ct_RANLIB"; then
46600 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46601 else
46602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46603 for as_dir in $PATH
46604 do
46605 IFS=$as_save_IFS
46606 test -z "$as_dir" && as_dir=.
46607 for ac_exec_ext in '' $ac_executable_extensions; do
46608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46609 ac_cv_prog_ac_ct_RANLIB="ranlib"
46610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46611 break 2
46612 fi
46613 done
46614 done
46615 IFS=$as_save_IFS
46616
46617 fi
46618 fi
46619 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46620 if test -n "$ac_ct_RANLIB"; then
46621 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46622 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46623 else
46624 { echo "$as_me:$LINENO: result: no" >&5
46625 echo "${ECHO_T}no" >&6; }
46626 fi
46627
46628 if test "x$ac_ct_RANLIB" = x; then
46629 RANLIB=":"
46630 else
46631 case $cross_compiling:$ac_tool_warned in
46632 yes:)
46633 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46634 whose name does not start with the host triplet. If you think this
46635 configuration is useful to you, please write to autoconf@gnu.org." >&5
46636 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46637 whose name does not start with the host triplet. If you think this
46638 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46639 ac_tool_warned=yes ;;
46640 esac
46641 RANLIB=$ac_ct_RANLIB
46642 fi
46643 else
46644 RANLIB="$ac_cv_prog_RANLIB"
46645 fi
46646
46647 # Find a good install program. We prefer a C program (faster),
46648 # so one script is as good as another. But avoid the broken or
46649 # incompatible versions:
46650 # SysV /etc/install, /usr/sbin/install
46651 # SunOS /usr/etc/install
46652 # IRIX /sbin/install
46653 # AIX /bin/install
46654 # AmigaOS /C/install, which installs bootblocks on floppy discs
46655 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46657 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46658 # OS/2's system install, which has a completely different semantic
46659 # ./install, which can be erroneously created by make from ./install.sh.
46660 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46661 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46662 if test -z "$INSTALL"; then
46663 if test "${ac_cv_path_install+set}" = set; then
46664 echo $ECHO_N "(cached) $ECHO_C" >&6
46665 else
46666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46667 for as_dir in $PATH
46668 do
46669 IFS=$as_save_IFS
46670 test -z "$as_dir" && as_dir=.
46671 # Account for people who put trailing slashes in PATH elements.
46672 case $as_dir/ in
46673 ./ | .// | /cC/* | \
46674 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46675 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46676 /usr/ucb/* ) ;;
46677 *)
46678 # OSF1 and SCO ODT 3.0 have their own names for install.
46679 # Don't use installbsd from OSF since it installs stuff as root
46680 # by default.
46681 for ac_prog in ginstall scoinst install; do
46682 for ac_exec_ext in '' $ac_executable_extensions; do
46683 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46684 if test $ac_prog = install &&
46685 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46686 # AIX install. It has an incompatible calling convention.
46687 :
46688 elif test $ac_prog = install &&
46689 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46690 # program-specific install script used by HP pwplus--don't use.
46691 :
46692 else
46693 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46694 break 3
46695 fi
46696 fi
46697 done
46698 done
46699 ;;
46700 esac
46701 done
46702 IFS=$as_save_IFS
46703
46704
46705 fi
46706 if test "${ac_cv_path_install+set}" = set; then
46707 INSTALL=$ac_cv_path_install
46708 else
46709 # As a last resort, use the slow shell script. Don't cache a
46710 # value for INSTALL within a source directory, because that will
46711 # break other packages using the cache if that directory is
46712 # removed, or if the value is a relative name.
46713 INSTALL=$ac_install_sh
46714 fi
46715 fi
46716 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46717 echo "${ECHO_T}$INSTALL" >&6; }
46718
46719 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46720 # It thinks the first close brace ends the variable substitution.
46721 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46722
46723 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46724
46725 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46726
46727 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46728 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46729 LN_S=$as_ln_s
46730 if test "$LN_S" = "ln -s"; then
46731 { echo "$as_me:$LINENO: result: yes" >&5
46732 echo "${ECHO_T}yes" >&6; }
46733 else
46734 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46735 echo "${ECHO_T}no, using $LN_S" >&6; }
46736 fi
46737
46738
46739 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46740 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46741 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46742 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46743 echo $ECHO_N "(cached) $ECHO_C" >&6
46744 else
46745 cat >conftest.make <<\_ACEOF
46746 SHELL = /bin/sh
46747 all:
46748 @echo '@@@%%%=$(MAKE)=@@@%%%'
46749 _ACEOF
46750 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46751 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46752 *@@@%%%=?*=@@@%%%*)
46753 eval ac_cv_prog_make_${ac_make}_set=yes;;
46754 *)
46755 eval ac_cv_prog_make_${ac_make}_set=no;;
46756 esac
46757 rm -f conftest.make
46758 fi
46759 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46760 { echo "$as_me:$LINENO: result: yes" >&5
46761 echo "${ECHO_T}yes" >&6; }
46762 SET_MAKE=
46763 else
46764 { echo "$as_me:$LINENO: result: no" >&5
46765 echo "${ECHO_T}no" >&6; }
46766 SET_MAKE="MAKE=${MAKE-make}"
46767 fi
46768
46769
46770
46771 if test "x$SUNCXX" = "xyes"; then
46772 AR=$CXX
46773 AROPTIONS="-xar -o"
46774
46775 elif test "x$SGICC" = "xyes"; then
46776 AR=$CXX
46777 AROPTIONS="-ar -o"
46778
46779 else
46780 if test -n "$ac_tool_prefix"; then
46781 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46782 set dummy ${ac_tool_prefix}ar; ac_word=$2
46783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46785 if test "${ac_cv_prog_AR+set}" = set; then
46786 echo $ECHO_N "(cached) $ECHO_C" >&6
46787 else
46788 if test -n "$AR"; then
46789 ac_cv_prog_AR="$AR" # Let the user override the test.
46790 else
46791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46792 for as_dir in $PATH
46793 do
46794 IFS=$as_save_IFS
46795 test -z "$as_dir" && as_dir=.
46796 for ac_exec_ext in '' $ac_executable_extensions; do
46797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46798 ac_cv_prog_AR="${ac_tool_prefix}ar"
46799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46800 break 2
46801 fi
46802 done
46803 done
46804 IFS=$as_save_IFS
46805
46806 fi
46807 fi
46808 AR=$ac_cv_prog_AR
46809 if test -n "$AR"; then
46810 { echo "$as_me:$LINENO: result: $AR" >&5
46811 echo "${ECHO_T}$AR" >&6; }
46812 else
46813 { echo "$as_me:$LINENO: result: no" >&5
46814 echo "${ECHO_T}no" >&6; }
46815 fi
46816
46817
46818 fi
46819 if test -z "$ac_cv_prog_AR"; then
46820 ac_ct_AR=$AR
46821 # Extract the first word of "ar", so it can be a program name with args.
46822 set dummy ar; ac_word=$2
46823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46825 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46826 echo $ECHO_N "(cached) $ECHO_C" >&6
46827 else
46828 if test -n "$ac_ct_AR"; then
46829 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46830 else
46831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46832 for as_dir in $PATH
46833 do
46834 IFS=$as_save_IFS
46835 test -z "$as_dir" && as_dir=.
46836 for ac_exec_ext in '' $ac_executable_extensions; do
46837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46838 ac_cv_prog_ac_ct_AR="ar"
46839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46840 break 2
46841 fi
46842 done
46843 done
46844 IFS=$as_save_IFS
46845
46846 fi
46847 fi
46848 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46849 if test -n "$ac_ct_AR"; then
46850 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46851 echo "${ECHO_T}$ac_ct_AR" >&6; }
46852 else
46853 { echo "$as_me:$LINENO: result: no" >&5
46854 echo "${ECHO_T}no" >&6; }
46855 fi
46856
46857 if test "x$ac_ct_AR" = x; then
46858 AR="ar"
46859 else
46860 case $cross_compiling:$ac_tool_warned in
46861 yes:)
46862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46863 whose name does not start with the host triplet. If you think this
46864 configuration is useful to you, please write to autoconf@gnu.org." >&5
46865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46866 whose name does not start with the host triplet. If you think this
46867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46868 ac_tool_warned=yes ;;
46869 esac
46870 AR=$ac_ct_AR
46871 fi
46872 else
46873 AR="$ac_cv_prog_AR"
46874 fi
46875
46876 AROPTIONS=rcu
46877 fi
46878
46879
46880 if test -n "$ac_tool_prefix"; then
46881 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46882 set dummy ${ac_tool_prefix}strip; ac_word=$2
46883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46885 if test "${ac_cv_prog_STRIP+set}" = set; then
46886 echo $ECHO_N "(cached) $ECHO_C" >&6
46887 else
46888 if test -n "$STRIP"; then
46889 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46890 else
46891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46892 for as_dir in $PATH
46893 do
46894 IFS=$as_save_IFS
46895 test -z "$as_dir" && as_dir=.
46896 for ac_exec_ext in '' $ac_executable_extensions; do
46897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46898 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46900 break 2
46901 fi
46902 done
46903 done
46904 IFS=$as_save_IFS
46905
46906 fi
46907 fi
46908 STRIP=$ac_cv_prog_STRIP
46909 if test -n "$STRIP"; then
46910 { echo "$as_me:$LINENO: result: $STRIP" >&5
46911 echo "${ECHO_T}$STRIP" >&6; }
46912 else
46913 { echo "$as_me:$LINENO: result: no" >&5
46914 echo "${ECHO_T}no" >&6; }
46915 fi
46916
46917
46918 fi
46919 if test -z "$ac_cv_prog_STRIP"; then
46920 ac_ct_STRIP=$STRIP
46921 # Extract the first word of "strip", so it can be a program name with args.
46922 set dummy strip; ac_word=$2
46923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46925 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46926 echo $ECHO_N "(cached) $ECHO_C" >&6
46927 else
46928 if test -n "$ac_ct_STRIP"; then
46929 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46930 else
46931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46932 for as_dir in $PATH
46933 do
46934 IFS=$as_save_IFS
46935 test -z "$as_dir" && as_dir=.
46936 for ac_exec_ext in '' $ac_executable_extensions; do
46937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46938 ac_cv_prog_ac_ct_STRIP="strip"
46939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46940 break 2
46941 fi
46942 done
46943 done
46944 IFS=$as_save_IFS
46945
46946 fi
46947 fi
46948 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46949 if test -n "$ac_ct_STRIP"; then
46950 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46951 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46952 else
46953 { echo "$as_me:$LINENO: result: no" >&5
46954 echo "${ECHO_T}no" >&6; }
46955 fi
46956
46957 if test "x$ac_ct_STRIP" = x; then
46958 STRIP=":"
46959 else
46960 case $cross_compiling:$ac_tool_warned in
46961 yes:)
46962 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46963 whose name does not start with the host triplet. If you think this
46964 configuration is useful to you, please write to autoconf@gnu.org." >&5
46965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46966 whose name does not start with the host triplet. If you think this
46967 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46968 ac_tool_warned=yes ;;
46969 esac
46970 STRIP=$ac_ct_STRIP
46971 fi
46972 else
46973 STRIP="$ac_cv_prog_STRIP"
46974 fi
46975
46976 if test -n "$ac_tool_prefix"; then
46977 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46978 set dummy ${ac_tool_prefix}nm; ac_word=$2
46979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46981 if test "${ac_cv_prog_NM+set}" = set; then
46982 echo $ECHO_N "(cached) $ECHO_C" >&6
46983 else
46984 if test -n "$NM"; then
46985 ac_cv_prog_NM="$NM" # Let the user override the test.
46986 else
46987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46988 for as_dir in $PATH
46989 do
46990 IFS=$as_save_IFS
46991 test -z "$as_dir" && as_dir=.
46992 for ac_exec_ext in '' $ac_executable_extensions; do
46993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46994 ac_cv_prog_NM="${ac_tool_prefix}nm"
46995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46996 break 2
46997 fi
46998 done
46999 done
47000 IFS=$as_save_IFS
47001
47002 fi
47003 fi
47004 NM=$ac_cv_prog_NM
47005 if test -n "$NM"; then
47006 { echo "$as_me:$LINENO: result: $NM" >&5
47007 echo "${ECHO_T}$NM" >&6; }
47008 else
47009 { echo "$as_me:$LINENO: result: no" >&5
47010 echo "${ECHO_T}no" >&6; }
47011 fi
47012
47013
47014 fi
47015 if test -z "$ac_cv_prog_NM"; then
47016 ac_ct_NM=$NM
47017 # Extract the first word of "nm", so it can be a program name with args.
47018 set dummy nm; ac_word=$2
47019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47021 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47022 echo $ECHO_N "(cached) $ECHO_C" >&6
47023 else
47024 if test -n "$ac_ct_NM"; then
47025 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47026 else
47027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47028 for as_dir in $PATH
47029 do
47030 IFS=$as_save_IFS
47031 test -z "$as_dir" && as_dir=.
47032 for ac_exec_ext in '' $ac_executable_extensions; do
47033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47034 ac_cv_prog_ac_ct_NM="nm"
47035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47036 break 2
47037 fi
47038 done
47039 done
47040 IFS=$as_save_IFS
47041
47042 fi
47043 fi
47044 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47045 if test -n "$ac_ct_NM"; then
47046 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47047 echo "${ECHO_T}$ac_ct_NM" >&6; }
47048 else
47049 { echo "$as_me:$LINENO: result: no" >&5
47050 echo "${ECHO_T}no" >&6; }
47051 fi
47052
47053 if test "x$ac_ct_NM" = x; then
47054 NM=":"
47055 else
47056 case $cross_compiling:$ac_tool_warned in
47057 yes:)
47058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47059 whose name does not start with the host triplet. If you think this
47060 configuration is useful to you, please write to autoconf@gnu.org." >&5
47061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47062 whose name does not start with the host triplet. If you think this
47063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47064 ac_tool_warned=yes ;;
47065 esac
47066 NM=$ac_ct_NM
47067 fi
47068 else
47069 NM="$ac_cv_prog_NM"
47070 fi
47071
47072
47073 case ${BAKEFILE_HOST} in
47074 *-hp-hpux* )
47075 INSTALL_DIR="mkdir -p"
47076 ;;
47077 * )
47078 INSTALL_DIR='$(INSTALL) -d'
47079 ;;
47080 esac
47081
47082
47083 LDFLAGS_GUI=
47084 case ${BAKEFILE_HOST} in
47085 *-*-cygwin* | *-*-mingw32* )
47086 LDFLAGS_GUI="-mwindows"
47087 esac
47088
47089
47090 fi
47091
47092 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47093 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47094 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47095 echo $ECHO_N "(cached) $ECHO_C" >&6
47096 else
47097
47098 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47099 egrep -s GNU > /dev/null); then
47100 bakefile_cv_prog_makeisgnu="yes"
47101 else
47102 bakefile_cv_prog_makeisgnu="no"
47103 fi
47104
47105 fi
47106 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47107 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47108
47109 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47110 IF_GNU_MAKE=""
47111 else
47112 IF_GNU_MAKE="#"
47113 fi
47114
47115
47116
47117 PLATFORM_UNIX=0
47118 PLATFORM_WIN32=0
47119 PLATFORM_MSDOS=0
47120 PLATFORM_MAC=0
47121 PLATFORM_MACOS=0
47122 PLATFORM_MACOSX=0
47123 PLATFORM_OS2=0
47124 PLATFORM_BEOS=0
47125
47126 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47127 case "${BAKEFILE_HOST}" in
47128 *-*-mingw32* )
47129 PLATFORM_WIN32=1
47130 ;;
47131 *-pc-msdosdjgpp )
47132 PLATFORM_MSDOS=1
47133 ;;
47134 *-pc-os2_emx | *-pc-os2-emx )
47135 PLATFORM_OS2=1
47136 ;;
47137 *-*-darwin* )
47138 PLATFORM_MAC=1
47139 PLATFORM_MACOSX=1
47140 ;;
47141 *-*-beos* )
47142 PLATFORM_BEOS=1
47143 ;;
47144 powerpc-apple-macos* )
47145 PLATFORM_MAC=1
47146 PLATFORM_MACOS=1
47147 ;;
47148 * )
47149 PLATFORM_UNIX=1
47150 ;;
47151 esac
47152 else
47153 case "$BAKEFILE_FORCE_PLATFORM" in
47154 win32 )
47155 PLATFORM_WIN32=1
47156 ;;
47157 msdos )
47158 PLATFORM_MSDOS=1
47159 ;;
47160 os2 )
47161 PLATFORM_OS2=1
47162 ;;
47163 darwin )
47164 PLATFORM_MAC=1
47165 PLATFORM_MACOSX=1
47166 ;;
47167 unix )
47168 PLATFORM_UNIX=1
47169 ;;
47170 beos )
47171 PLATFORM_BEOS=1
47172 ;;
47173 * )
47174 ;;
47175 esac
47176 fi
47177
47178
47179
47180
47181
47182
47183
47184
47185
47186
47187
47188 # Check whether --enable-omf was given.
47189 if test "${enable_omf+set}" = set; then
47190 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47191 fi
47192
47193
47194 case "${BAKEFILE_HOST}" in
47195 *-*-darwin* )
47196 if test "x$GCC" = "xyes"; then
47197 CFLAGS="$CFLAGS -fno-common"
47198 CXXFLAGS="$CXXFLAGS -fno-common"
47199 fi
47200 if test "x$XLCC" = "xyes"; then
47201 CFLAGS="$CFLAGS -qnocommon"
47202 CXXFLAGS="$CXXFLAGS -qnocommon"
47203 fi
47204 ;;
47205
47206 *-pc-os2_emx | *-pc-os2-emx )
47207 if test "x$bk_os2_use_omf" = "xyes" ; then
47208 AR=emxomfar
47209 RANLIB=:
47210 LDFLAGS="-Zomf $LDFLAGS"
47211 CFLAGS="-Zomf $CFLAGS"
47212 CXXFLAGS="-Zomf $CXXFLAGS"
47213 OS2_LIBEXT="lib"
47214 else
47215 OS2_LIBEXT="a"
47216 fi
47217 ;;
47218
47219 i*86-*-beos* )
47220 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47221 ;;
47222 esac
47223
47224
47225 SO_SUFFIX="so"
47226 SO_SUFFIX_MODULE="so"
47227 EXEEXT=""
47228 LIBPREFIX="lib"
47229 LIBEXT=".a"
47230 DLLPREFIX="lib"
47231 DLLPREFIX_MODULE=""
47232 DLLIMP_SUFFIX=""
47233 dlldir="$libdir"
47234
47235 case "${BAKEFILE_HOST}" in
47236 *-hp-hpux* )
47237 SO_SUFFIX="sl"
47238 SO_SUFFIX_MODULE="sl"
47239 ;;
47240 *-*-aix* )
47241 SO_SUFFIX="a"
47242 SO_SUFFIX_MODULE="a"
47243 ;;
47244 *-*-cygwin* )
47245 SO_SUFFIX="dll"
47246 SO_SUFFIX_MODULE="dll"
47247 DLLIMP_SUFFIX="dll.a"
47248 EXEEXT=".exe"
47249 DLLPREFIX="cyg"
47250 dlldir="$bindir"
47251 ;;
47252 *-*-mingw32* )
47253 SO_SUFFIX="dll"
47254 SO_SUFFIX_MODULE="dll"
47255 DLLIMP_SUFFIX="dll.a"
47256 EXEEXT=".exe"
47257 DLLPREFIX=""
47258 dlldir="$bindir"
47259 ;;
47260 *-pc-msdosdjgpp )
47261 EXEEXT=".exe"
47262 DLLPREFIX=""
47263 dlldir="$bindir"
47264 ;;
47265 *-pc-os2_emx | *-pc-os2-emx )
47266 SO_SUFFIX="dll"
47267 SO_SUFFIX_MODULE="dll"
47268 DLLIMP_SUFFIX=$OS2_LIBEXT
47269 EXEEXT=".exe"
47270 DLLPREFIX=""
47271 LIBPREFIX=""
47272 LIBEXT=".$OS2_LIBEXT"
47273 dlldir="$bindir"
47274 ;;
47275 *-*-darwin* )
47276 SO_SUFFIX="dylib"
47277 SO_SUFFIX_MODULE="bundle"
47278 ;;
47279 esac
47280
47281 if test "x$DLLIMP_SUFFIX" = "x" ; then
47282 DLLIMP_SUFFIX="$SO_SUFFIX"
47283 fi
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296 PIC_FLAG=""
47297 if test "x$GCC" = "xyes"; then
47298 PIC_FLAG="-fPIC"
47299 fi
47300
47301 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47302 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47303 WINDOWS_IMPLIB=0
47304
47305 case "${BAKEFILE_HOST}" in
47306 *-hp-hpux* )
47307 if test "x$GCC" != "xyes"; then
47308 LDFLAGS="$LDFLAGS -L/usr/lib"
47309
47310 SHARED_LD_CC="${CC} -b -o"
47311 SHARED_LD_CXX="${CXX} -b -o"
47312 PIC_FLAG="+Z"
47313 fi
47314 ;;
47315
47316 *-*-linux* )
47317 if test "$INTELCC" = "yes"; then
47318 PIC_FLAG="-KPIC"
47319 elif test "x$SUNCXX" = "xyes"; then
47320 SHARED_LD_CC="${CC} -G -o"
47321 SHARED_LD_CXX="${CXX} -G -o"
47322 PIC_FLAG="-KPIC"
47323 fi
47324 ;;
47325
47326 *-*-solaris2* )
47327 if test "x$SUNCXX" = xyes ; then
47328 SHARED_LD_CC="${CC} -G -o"
47329 SHARED_LD_CXX="${CXX} -G -o"
47330 PIC_FLAG="-KPIC"
47331 fi
47332 ;;
47333
47334 *-*-darwin* )
47335
47336 D='$'
47337 cat <<EOF >shared-ld-sh
47338 #!/bin/sh
47339 #-----------------------------------------------------------------------------
47340 #-- Name: distrib/mac/shared-ld-sh
47341 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47342 #-- Author: Gilles Depeyrot
47343 #-- Copyright: (c) 2002 Gilles Depeyrot
47344 #-- Licence: any use permitted
47345 #-----------------------------------------------------------------------------
47346
47347 verbose=0
47348 args=""
47349 objects=""
47350 linking_flag="-dynamiclib"
47351 ldargs="-r -keep_private_externs -nostdlib"
47352
47353 while test ${D}# -gt 0; do
47354 case ${D}1 in
47355
47356 -v)
47357 verbose=1
47358 ;;
47359
47360 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47361 # collect these options and values
47362 args="${D}{args} ${D}1 ${D}2"
47363 shift
47364 ;;
47365
47366 -s|-Wl,*)
47367 # collect these load args
47368 ldargs="${D}{ldargs} ${D}1"
47369 ;;
47370
47371 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47372 # collect these options
47373 args="${D}{args} ${D}1"
47374 ;;
47375
47376 -dynamiclib|-bundle)
47377 linking_flag="${D}1"
47378 ;;
47379
47380 -*)
47381 echo "shared-ld: unhandled option '${D}1'"
47382 exit 1
47383 ;;
47384
47385 *.o | *.a | *.dylib)
47386 # collect object files
47387 objects="${D}{objects} ${D}1"
47388 ;;
47389
47390 *)
47391 echo "shared-ld: unhandled argument '${D}1'"
47392 exit 1
47393 ;;
47394
47395 esac
47396 shift
47397 done
47398
47399 status=0
47400
47401 #
47402 # Link one module containing all the others
47403 #
47404 if test ${D}{verbose} = 1; then
47405 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47406 fi
47407 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47408 status=${D}?
47409
47410 #
47411 # Link the shared library from the single module created, but only if the
47412 # previous command didn't fail:
47413 #
47414 if test ${D}{status} = 0; then
47415 if test ${D}{verbose} = 1; then
47416 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47417 fi
47418 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47419 status=${D}?
47420 fi
47421
47422 #
47423 # Remove intermediate module
47424 #
47425 rm -f master.${D}${D}.o
47426
47427 exit ${D}status
47428 EOF
47429
47430 chmod +x shared-ld-sh
47431
47432 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47433 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47434
47435
47436 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47437 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47438 if test "${bakefile_cv_gcc31+set}" = set; then
47439 echo $ECHO_N "(cached) $ECHO_C" >&6
47440 else
47441
47442 cat >conftest.$ac_ext <<_ACEOF
47443 /* confdefs.h. */
47444 _ACEOF
47445 cat confdefs.h >>conftest.$ac_ext
47446 cat >>conftest.$ac_ext <<_ACEOF
47447 /* end confdefs.h. */
47448
47449 int
47450 main ()
47451 {
47452
47453 #if (__GNUC__ < 3) || \
47454 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47455 This is old gcc
47456 #endif
47457
47458 ;
47459 return 0;
47460 }
47461 _ACEOF
47462 rm -f conftest.$ac_objext
47463 if { (ac_try="$ac_compile"
47464 case "(($ac_try" in
47465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47466 *) ac_try_echo=$ac_try;;
47467 esac
47468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47469 (eval "$ac_compile") 2>conftest.er1
47470 ac_status=$?
47471 grep -v '^ *+' conftest.er1 >conftest.err
47472 rm -f conftest.er1
47473 cat conftest.err >&5
47474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47475 (exit $ac_status); } && {
47476 test -z "$ac_c_werror_flag" ||
47477 test ! -s conftest.err
47478 } && test -s conftest.$ac_objext; then
47479
47480 bakefile_cv_gcc31=yes
47481
47482 else
47483 echo "$as_me: failed program was:" >&5
47484 sed 's/^/| /' conftest.$ac_ext >&5
47485
47486
47487 bakefile_cv_gcc31=no
47488
47489
47490 fi
47491
47492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47493
47494 fi
47495 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47496 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47497 if test "$bakefile_cv_gcc31" = "no"; then
47498 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47499 SHARED_LD_CXX="$SHARED_LD_CC"
47500 else
47501 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47502 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47503 fi
47504
47505 if test "x$GCC" == "xyes"; then
47506 PIC_FLAG="-dynamic -fPIC"
47507 fi
47508 if test "x$XLCC" = "xyes"; then
47509 PIC_FLAG="-dynamic -DPIC"
47510 fi
47511 ;;
47512
47513 *-*-aix* )
47514 if test "x$GCC" = "xyes"; then
47515 PIC_FLAG=""
47516
47517 case "${BAKEFILE_HOST}" in
47518 *-*-aix5* )
47519 LD_EXPFULL="-Wl,-bexpfull"
47520 ;;
47521 esac
47522
47523 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47524 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47525 else
47526 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47527 set dummy makeC++SharedLib; ac_word=$2
47528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47530 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47531 echo $ECHO_N "(cached) $ECHO_C" >&6
47532 else
47533 if test -n "$AIX_CXX_LD"; then
47534 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47535 else
47536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47537 for as_dir in $PATH
47538 do
47539 IFS=$as_save_IFS
47540 test -z "$as_dir" && as_dir=.
47541 for ac_exec_ext in '' $ac_executable_extensions; do
47542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47543 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47545 break 2
47546 fi
47547 done
47548 done
47549 IFS=$as_save_IFS
47550
47551 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47552 fi
47553 fi
47554 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47555 if test -n "$AIX_CXX_LD"; then
47556 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47557 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47558 else
47559 { echo "$as_me:$LINENO: result: no" >&5
47560 echo "${ECHO_T}no" >&6; }
47561 fi
47562
47563
47564 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47565 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47566 fi
47567 ;;
47568
47569 *-*-beos* )
47570 SHARED_LD_CC="${LD} -nostart -o"
47571 SHARED_LD_CXX="${LD} -nostart -o"
47572 ;;
47573
47574 *-*-irix* )
47575 if test "x$GCC" != "xyes"; then
47576 PIC_FLAG="-KPIC"
47577 fi
47578 ;;
47579
47580 *-*-cygwin* | *-*-mingw32* )
47581 PIC_FLAG=""
47582 SHARED_LD_CC="\$(CC) -shared -o"
47583 SHARED_LD_CXX="\$(CXX) -shared -o"
47584 WINDOWS_IMPLIB=1
47585 ;;
47586
47587 *-pc-os2_emx | *-pc-os2-emx )
47588 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47589 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47590 PIC_FLAG=""
47591
47592 D='$'
47593 cat <<EOF >dllar.sh
47594 #!/bin/sh
47595 #
47596 # dllar - a tool to build both a .dll and an .a file
47597 # from a set of object (.o) files for EMX/OS2.
47598 #
47599 # Written by Andrew Zabolotny, bit@freya.etu.ru
47600 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47601 #
47602 # This script will accept a set of files on the command line.
47603 # All the public symbols from the .o files will be exported into
47604 # a .DEF file, then linker will be run (through gcc) against them to
47605 # build a shared library consisting of all given .o files. All libraries
47606 # (.a) will be first decompressed into component .o files then act as
47607 # described above. You can optionally give a description (-d "description")
47608 # which will be put into .DLL. To see the list of accepted options (as well
47609 # as command-line format) simply run this program without options. The .DLL
47610 # is built to be imported by name (there is no guarantee that new versions
47611 # of the library you build will have same ordinals for same symbols).
47612 #
47613 # dllar is free software; you can redistribute it and/or modify
47614 # it under the terms of the GNU General Public License as published by
47615 # the Free Software Foundation; either version 2, or (at your option)
47616 # any later version.
47617 #
47618 # dllar is distributed in the hope that it will be useful,
47619 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47620 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47621 # GNU General Public License for more details.
47622 #
47623 # You should have received a copy of the GNU General Public License
47624 # along with dllar; see the file COPYING. If not, write to the Free
47625 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47626 # 02111-1307, USA.
47627
47628 # To successfuly run this program you will need:
47629 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47630 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47631 # - gcc
47632 # (used to build the .dll)
47633 # - emxexp
47634 # (used to create .def file from .o files)
47635 # - emximp
47636 # (used to create .a file from .def file)
47637 # - GNU text utilites (cat, sort, uniq)
47638 # used to process emxexp output
47639 # - GNU file utilities (mv, rm)
47640 # - GNU sed
47641 # - lxlite (optional, see flag below)
47642 # (used for general .dll cleanup)
47643 #
47644
47645 flag_USE_LXLITE=1;
47646
47647 #
47648 # helper functions
47649 # basnam, variant of basename, which does _not_ remove the path, _iff_
47650 # second argument (suffix to remove) is given
47651 basnam(){
47652 case ${D}# in
47653 1)
47654 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47655 ;;
47656 2)
47657 echo ${D}1 | sed 's/'${D}2'${D}//'
47658 ;;
47659 *)
47660 echo "error in basnam ${D}*"
47661 exit 8
47662 ;;
47663 esac
47664 }
47665
47666 # Cleanup temporary files and output
47667 CleanUp() {
47668 cd ${D}curDir
47669 for i in ${D}inputFiles ; do
47670 case ${D}i in
47671 *!)
47672 rm -rf \`basnam ${D}i !\`
47673 ;;
47674 *)
47675 ;;
47676 esac
47677 done
47678
47679 # Kill result in case of failure as there is just to many stupid make/nmake
47680 # things out there which doesn't do this.
47681 if [ ${D}# -eq 0 ]; then
47682 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47683 fi
47684 }
47685
47686 # Print usage and exit script with rc=1.
47687 PrintHelp() {
47688 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47689 echo ' [-name-mangler-script script.sh]'
47690 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47691 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47692 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47693 echo ' [*.o] [*.a]'
47694 echo '*> "output_file" should have no extension.'
47695 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47696 echo ' The import library name is derived from this and is set to "name".a,'
47697 echo ' unless overridden by -import'
47698 echo '*> "importlib_name" should have no extension.'
47699 echo ' If it has the .o, or .a extension, it is automatically removed.'
47700 echo ' This name is used as the import library name and may be longer and'
47701 echo ' more descriptive than the DLL name which has to follow the old '
47702 echo ' 8.3 convention of FAT.'
47703 echo '*> "script.sh may be given to override the output_file name by a'
47704 echo ' different name. It is mainly useful if the regular make process'
47705 echo ' of some package does not take into account OS/2 restriction of'
47706 echo ' DLL name lengths. It takes the importlib name as input and is'
47707 echo ' supposed to procude a shorter name as output. The script should'
47708 echo ' expect to get importlib_name without extension and should produce'
47709 echo ' a (max.) 8 letter name without extension.'
47710 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47711 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47712 echo ' These flags will be put at the start of GCC command line.'
47713 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47714 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47715 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47716 echo ' If the last character of a symbol is "*", all symbols beginning'
47717 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47718 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47719 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47720 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47721 echo ' C runtime DLLs.'
47722 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47723 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47724 echo ' unchanged to GCC at the end of command line.'
47725 echo '*> If you create a DLL from a library and you do not specify -o,'
47726 echo ' the basename for DLL and import library will be set to library name,'
47727 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47728 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47729 echo ' library will be renamed into gcc_s.a.'
47730 echo '--------'
47731 echo 'Example:'
47732 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47733 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47734 CleanUp
47735 exit 1
47736 }
47737
47738 # Execute a command.
47739 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47740 # @Uses Whatever CleanUp() uses.
47741 doCommand() {
47742 echo "${D}*"
47743 eval ${D}*
47744 rcCmd=${D}?
47745
47746 if [ ${D}rcCmd -ne 0 ]; then
47747 echo "command failed, exit code="${D}rcCmd
47748 CleanUp
47749 exit ${D}rcCmd
47750 fi
47751 }
47752
47753 # main routine
47754 # setup globals
47755 cmdLine=${D}*
47756 outFile=""
47757 outimpFile=""
47758 inputFiles=""
47759 renameScript=""
47760 description=""
47761 CC=gcc.exe
47762 CFLAGS="-s -Zcrtdll"
47763 EXTRA_CFLAGS=""
47764 EXPORT_BY_ORDINALS=0
47765 exclude_symbols=""
47766 library_flags=""
47767 curDir=\`pwd\`
47768 curDirS=curDir
47769 case ${D}curDirS in
47770 */)
47771 ;;
47772 *)
47773 curDirS=${D}{curDirS}"/"
47774 ;;
47775 esac
47776 # Parse commandline
47777 libsToLink=0
47778 omfLinking=0
47779 while [ ${D}1 ]; do
47780 case ${D}1 in
47781 -ord*)
47782 EXPORT_BY_ORDINALS=1;
47783 ;;
47784 -o*)
47785 shift
47786 outFile=${D}1
47787 ;;
47788 -i*)
47789 shift
47790 outimpFile=${D}1
47791 ;;
47792 -name-mangler-script)
47793 shift
47794 renameScript=${D}1
47795 ;;
47796 -d*)
47797 shift
47798 description=${D}1
47799 ;;
47800 -f*)
47801 shift
47802 CFLAGS=${D}1
47803 ;;
47804 -c*)
47805 shift
47806 CC=${D}1
47807 ;;
47808 -h*)
47809 PrintHelp
47810 ;;
47811 -ex*)
47812 shift
47813 exclude_symbols=${D}{exclude_symbols}${D}1" "
47814 ;;
47815 -libf*)
47816 shift
47817 library_flags=${D}{library_flags}${D}1" "
47818 ;;
47819 -nocrt*)
47820 CFLAGS="-s"
47821 ;;
47822 -nolxl*)
47823 flag_USE_LXLITE=0
47824 ;;
47825 -* | /*)
47826 case ${D}1 in
47827 -L* | -l*)
47828 libsToLink=1
47829 ;;
47830 -Zomf)
47831 omfLinking=1
47832 ;;
47833 *)
47834 ;;
47835 esac
47836 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47837 ;;
47838 *.dll)
47839 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47840 if [ ${D}omfLinking -eq 1 ]; then
47841 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47842 else
47843 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47844 fi
47845 ;;
47846 *)
47847 found=0;
47848 if [ ${D}libsToLink -ne 0 ]; then
47849 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47850 else
47851 for file in ${D}1 ; do
47852 if [ -f ${D}file ]; then
47853 inputFiles="${D}{inputFiles} ${D}file"
47854 found=1
47855 fi
47856 done
47857 if [ ${D}found -eq 0 ]; then
47858 echo "ERROR: No file(s) found: "${D}1
47859 exit 8
47860 fi
47861 fi
47862 ;;
47863 esac
47864 shift
47865 done # iterate cmdline words
47866
47867 #
47868 if [ -z "${D}inputFiles" ]; then
47869 echo "dllar: no input files"
47870 PrintHelp
47871 fi
47872
47873 # Now extract all .o files from .a files
47874 newInputFiles=""
47875 for file in ${D}inputFiles ; do
47876 case ${D}file in
47877 *.a | *.lib)
47878 case ${D}file in
47879 *.a)
47880 suffix=".a"
47881 AR="ar"
47882 ;;
47883 *.lib)
47884 suffix=".lib"
47885 AR="emxomfar"
47886 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47887 ;;
47888 *)
47889 ;;
47890 esac
47891 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47892 mkdir ${D}dirname
47893 if [ ${D}? -ne 0 ]; then
47894 echo "Failed to create subdirectory ./${D}dirname"
47895 CleanUp
47896 exit 8;
47897 fi
47898 # Append '!' to indicate archive
47899 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47900 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47901 cd ${D}curDir
47902 found=0;
47903 for subfile in ${D}dirname/*.o* ; do
47904 if [ -f ${D}subfile ]; then
47905 found=1
47906 if [ -s ${D}subfile ]; then
47907 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47908 newInputFiles="${D}newInputFiles ${D}subfile"
47909 fi
47910 fi
47911 done
47912 if [ ${D}found -eq 0 ]; then
47913 echo "WARNING: there are no files in archive \\'${D}file\\'"
47914 fi
47915 ;;
47916 *)
47917 newInputFiles="${D}{newInputFiles} ${D}file"
47918 ;;
47919 esac
47920 done
47921 inputFiles="${D}newInputFiles"
47922
47923 # Output filename(s).
47924 do_backup=0;
47925 if [ -z ${D}outFile ]; then
47926 do_backup=1;
47927 set outFile ${D}inputFiles; outFile=${D}2
47928 fi
47929
47930 # If it is an archive, remove the '!' and the '_%' suffixes
47931 case ${D}outFile in
47932 *_%!)
47933 outFile=\`basnam ${D}outFile _%!\`
47934 ;;
47935 *)
47936 ;;
47937 esac
47938 case ${D}outFile in
47939 *.dll)
47940 outFile=\`basnam ${D}outFile .dll\`
47941 ;;
47942 *.DLL)
47943 outFile=\`basnam ${D}outFile .DLL\`
47944 ;;
47945 *.o)
47946 outFile=\`basnam ${D}outFile .o\`
47947 ;;
47948 *.obj)
47949 outFile=\`basnam ${D}outFile .obj\`
47950 ;;
47951 *.a)
47952 outFile=\`basnam ${D}outFile .a\`
47953 ;;
47954 *.lib)
47955 outFile=\`basnam ${D}outFile .lib\`
47956 ;;
47957 *)
47958 ;;
47959 esac
47960 case ${D}outimpFile in
47961 *.a)
47962 outimpFile=\`basnam ${D}outimpFile .a\`
47963 ;;
47964 *.lib)
47965 outimpFile=\`basnam ${D}outimpFile .lib\`
47966 ;;
47967 *)
47968 ;;
47969 esac
47970 if [ -z ${D}outimpFile ]; then
47971 outimpFile=${D}outFile
47972 fi
47973 defFile="${D}{outFile}.def"
47974 arcFile="${D}{outimpFile}.a"
47975 arcFile2="${D}{outimpFile}.lib"
47976
47977 #create ${D}dllFile as something matching 8.3 restrictions,
47978 if [ -z ${D}renameScript ] ; then
47979 dllFile="${D}outFile"
47980 else
47981 dllFile=\`${D}renameScript ${D}outimpFile\`
47982 fi
47983
47984 if [ ${D}do_backup -ne 0 ] ; then
47985 if [ -f ${D}arcFile ] ; then
47986 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47987 fi
47988 if [ -f ${D}arcFile2 ] ; then
47989 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47990 fi
47991 fi
47992
47993 # Extract public symbols from all the object files.
47994 tmpdefFile=${D}{defFile}_%
47995 rm -f ${D}tmpdefFile
47996 for file in ${D}inputFiles ; do
47997 case ${D}file in
47998 *!)
47999 ;;
48000 *)
48001 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48002 ;;
48003 esac
48004 done
48005
48006 # Create the def file.
48007 rm -f ${D}defFile
48008 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48009 dllFile="${D}{dllFile}.dll"
48010 if [ ! -z ${D}description ]; then
48011 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48012 fi
48013 echo "EXPORTS" >> ${D}defFile
48014
48015 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48016 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48017
48018 # Checks if the export is ok or not.
48019 for word in ${D}exclude_symbols; do
48020 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48021 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48022 done
48023
48024
48025 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48026 sed "=" < ${D}tmpdefFile | \\
48027 sed '
48028 N
48029 : loop
48030 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48031 t loop
48032 ' > ${D}{tmpdefFile}%
48033 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48034 else
48035 rm -f ${D}{tmpdefFile}%
48036 fi
48037 cat ${D}tmpdefFile >> ${D}defFile
48038 rm -f ${D}tmpdefFile
48039
48040 # Do linking, create implib, and apply lxlite.
48041 gccCmdl="";
48042 for file in ${D}inputFiles ; do
48043 case ${D}file in
48044 *!)
48045 ;;
48046 *)
48047 gccCmdl="${D}gccCmdl ${D}file"
48048 ;;
48049 esac
48050 done
48051 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48052 touch "${D}{outFile}.dll"
48053
48054 doCommand "emximp -o ${D}arcFile ${D}defFile"
48055 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48056 add_flags="";
48057 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48058 add_flags="-ynd"
48059 fi
48060 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48061 fi
48062 doCommand "emxomf -s -l ${D}arcFile"
48063
48064 # Successful exit.
48065 CleanUp 1
48066 exit 0
48067 EOF
48068
48069 chmod +x dllar.sh
48070 ;;
48071
48072 powerpc-apple-macos* | \
48073 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48074 *-*-mirbsd* | \
48075 *-*-sunos4* | \
48076 *-*-osf* | \
48077 *-*-dgux5* | \
48078 *-*-sysv5* | \
48079 *-pc-msdosdjgpp )
48080 ;;
48081
48082 *)
48083 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48084 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48085 { (exit 1); exit 1; }; }
48086 esac
48087
48088 if test "x$PIC_FLAG" != "x" ; then
48089 PIC_FLAG="$PIC_FLAG -DPIC"
48090 fi
48091
48092 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48093 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48094 fi
48095 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48096 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48097 fi
48098
48099
48100
48101
48102
48103
48104
48105
48106
48107 USE_SOVERSION=0
48108 USE_SOVERLINUX=0
48109 USE_SOVERSOLARIS=0
48110 USE_SOVERCYGWIN=0
48111 USE_SOSYMLINKS=0
48112 USE_MACVERSION=0
48113 SONAME_FLAG=
48114
48115 case "${BAKEFILE_HOST}" in
48116 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48117 if test "x$SUNCXX" = "xyes"; then
48118 SONAME_FLAG="-h "
48119 else
48120 SONAME_FLAG="-Wl,-soname,"
48121 fi
48122 USE_SOVERSION=1
48123 USE_SOVERLINUX=1
48124 USE_SOSYMLINKS=1
48125 ;;
48126
48127 *-*-solaris2* )
48128 SONAME_FLAG="-h "
48129 USE_SOVERSION=1
48130 USE_SOVERSOLARIS=1
48131 USE_SOSYMLINKS=1
48132 ;;
48133
48134 *-*-darwin* )
48135 USE_MACVERSION=1
48136 USE_SOVERSION=1
48137 USE_SOSYMLINKS=1
48138 ;;
48139
48140 *-*-cygwin* )
48141 USE_SOVERSION=1
48142 USE_SOVERCYGWIN=1
48143 ;;
48144 esac
48145
48146
48147
48148
48149
48150
48151
48152
48153
48154
48155 # Check whether --enable-dependency-tracking was given.
48156 if test "${enable_dependency_tracking+set}" = set; then
48157 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48158 fi
48159
48160
48161 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48162 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48163
48164 BK_DEPS=""
48165 if test "x$bk_use_trackdeps" = "xno" ; then
48166 DEPS_TRACKING=0
48167 { echo "$as_me:$LINENO: result: disabled" >&5
48168 echo "${ECHO_T}disabled" >&6; }
48169 else
48170 DEPS_TRACKING=1
48171
48172 if test "x$GCC" = "xyes"; then
48173 DEPSMODE=gcc
48174 case "${BAKEFILE_HOST}" in
48175 *-*-darwin* )
48176 DEPSFLAG="-no-cpp-precomp -MMD"
48177 ;;
48178 * )
48179 DEPSFLAG="-MMD"
48180 ;;
48181 esac
48182 { echo "$as_me:$LINENO: result: gcc" >&5
48183 echo "${ECHO_T}gcc" >&6; }
48184 elif test "x$MWCC" = "xyes"; then
48185 DEPSMODE=mwcc
48186 DEPSFLAG="-MM"
48187 { echo "$as_me:$LINENO: result: mwcc" >&5
48188 echo "${ECHO_T}mwcc" >&6; }
48189 elif test "x$SUNCC" = "xyes"; then
48190 DEPSMODE=unixcc
48191 DEPSFLAG="-xM1"
48192 { echo "$as_me:$LINENO: result: Sun cc" >&5
48193 echo "${ECHO_T}Sun cc" >&6; }
48194 elif test "x$SGICC" = "xyes"; then
48195 DEPSMODE=unixcc
48196 DEPSFLAG="-M"
48197 { echo "$as_me:$LINENO: result: SGI cc" >&5
48198 echo "${ECHO_T}SGI cc" >&6; }
48199 elif test "x$HPCC" = "xyes"; then
48200 DEPSMODE=unixcc
48201 DEPSFLAG="+make"
48202 { echo "$as_me:$LINENO: result: HP cc" >&5
48203 echo "${ECHO_T}HP cc" >&6; }
48204 elif test "x$COMPAQCC" = "xyes"; then
48205 DEPSMODE=gcc
48206 DEPSFLAG="-MD"
48207 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48208 echo "${ECHO_T}Compaq cc" >&6; }
48209 else
48210 DEPS_TRACKING=0
48211 { echo "$as_me:$LINENO: result: none" >&5
48212 echo "${ECHO_T}none" >&6; }
48213 fi
48214
48215 if test $DEPS_TRACKING = 1 ; then
48216
48217 D='$'
48218 cat <<EOF >bk-deps
48219 #!/bin/sh
48220
48221 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48222 # script. It is used to track C/C++ files dependencies in portable way.
48223 #
48224 # Permission is given to use this file in any way.
48225
48226 DEPSMODE=${DEPSMODE}
48227 DEPSDIR=.deps
48228 DEPSFLAG="${DEPSFLAG}"
48229
48230 mkdir -p ${D}DEPSDIR
48231
48232 if test ${D}DEPSMODE = gcc ; then
48233 ${D}* ${D}{DEPSFLAG}
48234 status=${D}?
48235 if test ${D}{status} != 0 ; then
48236 exit ${D}{status}
48237 fi
48238 # move created file to the location we want it in:
48239 while test ${D}# -gt 0; do
48240 case "${D}1" in
48241 -o )
48242 shift
48243 objfile=${D}1
48244 ;;
48245 -* )
48246 ;;
48247 * )
48248 srcfile=${D}1
48249 ;;
48250 esac
48251 shift
48252 done
48253 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48254 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48255 if test -f ${D}depfile ; then
48256 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48257 rm -f ${D}depfile
48258 else
48259 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48260 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48261 if test ! -f ${D}depfile ; then
48262 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48263 depfile="${D}objfile.d"
48264 fi
48265 if test -f ${D}depfile ; then
48266 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48267 rm -f ${D}depfile
48268 fi
48269 fi
48270 exit 0
48271 elif test ${D}DEPSMODE = mwcc ; then
48272 ${D}* || exit ${D}?
48273 # Run mwcc again with -MM and redirect into the dep file we want
48274 # NOTE: We can't use shift here because we need ${D}* to be valid
48275 prevarg=
48276 for arg in ${D}* ; do
48277 if test "${D}prevarg" = "-o"; then
48278 objfile=${D}arg
48279 else
48280 case "${D}arg" in
48281 -* )
48282 ;;
48283 * )
48284 srcfile=${D}arg
48285 ;;
48286 esac
48287 fi
48288 prevarg="${D}arg"
48289 done
48290 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48291 exit 0
48292 elif test ${D}DEPSMODE = unixcc; then
48293 ${D}* || exit ${D}?
48294 # Run compiler again with deps flag and redirect into the dep file.
48295 # It doesn't work if the '-o FILE' option is used, but without it the
48296 # dependency file will contain the wrong name for the object. So it is
48297 # removed from the command line, and the dep file is fixed with sed.
48298 cmd=""
48299 while test ${D}# -gt 0; do
48300 case "${D}1" in
48301 -o )
48302 shift
48303 objfile=${D}1
48304 ;;
48305 * )
48306 eval arg${D}#=\\${D}1
48307 cmd="${D}cmd \\${D}arg${D}#"
48308 ;;
48309 esac
48310 shift
48311 done
48312 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48313 exit 0
48314 else
48315 ${D}*
48316 exit ${D}?
48317 fi
48318 EOF
48319
48320 chmod +x bk-deps
48321 BK_DEPS="`pwd`/bk-deps"
48322 fi
48323 fi
48324
48325
48326
48327
48328
48329 case ${BAKEFILE_HOST} in
48330 *-*-cygwin* | *-*-mingw32* )
48331 if test -n "$ac_tool_prefix"; then
48332 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48333 set dummy ${ac_tool_prefix}windres; ac_word=$2
48334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48336 if test "${ac_cv_prog_WINDRES+set}" = set; then
48337 echo $ECHO_N "(cached) $ECHO_C" >&6
48338 else
48339 if test -n "$WINDRES"; then
48340 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48341 else
48342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48343 for as_dir in $PATH
48344 do
48345 IFS=$as_save_IFS
48346 test -z "$as_dir" && as_dir=.
48347 for ac_exec_ext in '' $ac_executable_extensions; do
48348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48349 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48351 break 2
48352 fi
48353 done
48354 done
48355 IFS=$as_save_IFS
48356
48357 fi
48358 fi
48359 WINDRES=$ac_cv_prog_WINDRES
48360 if test -n "$WINDRES"; then
48361 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48362 echo "${ECHO_T}$WINDRES" >&6; }
48363 else
48364 { echo "$as_me:$LINENO: result: no" >&5
48365 echo "${ECHO_T}no" >&6; }
48366 fi
48367
48368
48369 fi
48370 if test -z "$ac_cv_prog_WINDRES"; then
48371 ac_ct_WINDRES=$WINDRES
48372 # Extract the first word of "windres", so it can be a program name with args.
48373 set dummy windres; ac_word=$2
48374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48376 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48377 echo $ECHO_N "(cached) $ECHO_C" >&6
48378 else
48379 if test -n "$ac_ct_WINDRES"; then
48380 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48381 else
48382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48383 for as_dir in $PATH
48384 do
48385 IFS=$as_save_IFS
48386 test -z "$as_dir" && as_dir=.
48387 for ac_exec_ext in '' $ac_executable_extensions; do
48388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48389 ac_cv_prog_ac_ct_WINDRES="windres"
48390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48391 break 2
48392 fi
48393 done
48394 done
48395 IFS=$as_save_IFS
48396
48397 fi
48398 fi
48399 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48400 if test -n "$ac_ct_WINDRES"; then
48401 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48402 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48403 else
48404 { echo "$as_me:$LINENO: result: no" >&5
48405 echo "${ECHO_T}no" >&6; }
48406 fi
48407
48408 if test "x$ac_ct_WINDRES" = x; then
48409 WINDRES=""
48410 else
48411 case $cross_compiling:$ac_tool_warned in
48412 yes:)
48413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48414 whose name does not start with the host triplet. If you think this
48415 configuration is useful to you, please write to autoconf@gnu.org." >&5
48416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48417 whose name does not start with the host triplet. If you think this
48418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48419 ac_tool_warned=yes ;;
48420 esac
48421 WINDRES=$ac_ct_WINDRES
48422 fi
48423 else
48424 WINDRES="$ac_cv_prog_WINDRES"
48425 fi
48426
48427 ;;
48428
48429 *-*-darwin* | powerpc-apple-macos* )
48430 # Extract the first word of "Rez", so it can be a program name with args.
48431 set dummy Rez; ac_word=$2
48432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48434 if test "${ac_cv_prog_REZ+set}" = set; then
48435 echo $ECHO_N "(cached) $ECHO_C" >&6
48436 else
48437 if test -n "$REZ"; then
48438 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48439 else
48440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48441 for as_dir in $PATH
48442 do
48443 IFS=$as_save_IFS
48444 test -z "$as_dir" && as_dir=.
48445 for ac_exec_ext in '' $ac_executable_extensions; do
48446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48447 ac_cv_prog_REZ="Rez"
48448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48449 break 2
48450 fi
48451 done
48452 done
48453 IFS=$as_save_IFS
48454
48455 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48456 fi
48457 fi
48458 REZ=$ac_cv_prog_REZ
48459 if test -n "$REZ"; then
48460 { echo "$as_me:$LINENO: result: $REZ" >&5
48461 echo "${ECHO_T}$REZ" >&6; }
48462 else
48463 { echo "$as_me:$LINENO: result: no" >&5
48464 echo "${ECHO_T}no" >&6; }
48465 fi
48466
48467
48468 # Extract the first word of "SetFile", so it can be a program name with args.
48469 set dummy SetFile; ac_word=$2
48470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48472 if test "${ac_cv_prog_SETFILE+set}" = set; then
48473 echo $ECHO_N "(cached) $ECHO_C" >&6
48474 else
48475 if test -n "$SETFILE"; then
48476 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48477 else
48478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48479 for as_dir in $PATH
48480 do
48481 IFS=$as_save_IFS
48482 test -z "$as_dir" && as_dir=.
48483 for ac_exec_ext in '' $ac_executable_extensions; do
48484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48485 ac_cv_prog_SETFILE="SetFile"
48486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48487 break 2
48488 fi
48489 done
48490 done
48491 IFS=$as_save_IFS
48492
48493 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48494 fi
48495 fi
48496 SETFILE=$ac_cv_prog_SETFILE
48497 if test -n "$SETFILE"; then
48498 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48499 echo "${ECHO_T}$SETFILE" >&6; }
48500 else
48501 { echo "$as_me:$LINENO: result: no" >&5
48502 echo "${ECHO_T}no" >&6; }
48503 fi
48504
48505
48506 ;;
48507 esac
48508
48509
48510
48511
48512
48513
48514 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48515
48516
48517 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48518
48519
48520
48521 # Check whether --enable-precomp-headers was given.
48522 if test "${enable_precomp_headers+set}" = set; then
48523 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48524 fi
48525
48526
48527 GCC_PCH=0
48528 ICC_PCH=0
48529 USE_PCH=0
48530 BK_MAKE_PCH=""
48531
48532 case ${BAKEFILE_HOST} in
48533 *-*-cygwin* )
48534 bk_use_pch="no"
48535 ;;
48536 esac
48537
48538 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48539 if test "x$GCC" = "xyes"; then
48540 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48541 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48542 cat >conftest.$ac_ext <<_ACEOF
48543 /* confdefs.h. */
48544 _ACEOF
48545 cat confdefs.h >>conftest.$ac_ext
48546 cat >>conftest.$ac_ext <<_ACEOF
48547 /* end confdefs.h. */
48548
48549 int
48550 main ()
48551 {
48552
48553 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48554 There is no PCH support
48555 #endif
48556 #if (__GNUC__ < 3)
48557 There is no PCH support
48558 #endif
48559 #if (__GNUC__ == 3) && \
48560 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48561 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48562 ( defined(__INTEL_COMPILER) )
48563 There is no PCH support
48564 #endif
48565
48566 ;
48567 return 0;
48568 }
48569 _ACEOF
48570 rm -f conftest.$ac_objext
48571 if { (ac_try="$ac_compile"
48572 case "(($ac_try" in
48573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48574 *) ac_try_echo=$ac_try;;
48575 esac
48576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48577 (eval "$ac_compile") 2>conftest.er1
48578 ac_status=$?
48579 grep -v '^ *+' conftest.er1 >conftest.err
48580 rm -f conftest.er1
48581 cat conftest.err >&5
48582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48583 (exit $ac_status); } && {
48584 test -z "$ac_c_werror_flag" ||
48585 test ! -s conftest.err
48586 } && test -s conftest.$ac_objext; then
48587
48588 { echo "$as_me:$LINENO: result: yes" >&5
48589 echo "${ECHO_T}yes" >&6; }
48590 GCC_PCH=1
48591
48592 else
48593 echo "$as_me: failed program was:" >&5
48594 sed 's/^/| /' conftest.$ac_ext >&5
48595
48596
48597 cat >conftest.$ac_ext <<_ACEOF
48598 /* confdefs.h. */
48599 _ACEOF
48600 cat confdefs.h >>conftest.$ac_ext
48601 cat >>conftest.$ac_ext <<_ACEOF
48602 /* end confdefs.h. */
48603
48604 int
48605 main ()
48606 {
48607
48608 #if !defined(__INTEL_COMPILER) || \
48609 (__INTEL_COMPILER < 800)
48610 There is no PCH support
48611 #endif
48612
48613 ;
48614 return 0;
48615 }
48616 _ACEOF
48617 rm -f conftest.$ac_objext
48618 if { (ac_try="$ac_compile"
48619 case "(($ac_try" in
48620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48621 *) ac_try_echo=$ac_try;;
48622 esac
48623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48624 (eval "$ac_compile") 2>conftest.er1
48625 ac_status=$?
48626 grep -v '^ *+' conftest.er1 >conftest.err
48627 rm -f conftest.er1
48628 cat conftest.err >&5
48629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48630 (exit $ac_status); } && {
48631 test -z "$ac_c_werror_flag" ||
48632 test ! -s conftest.err
48633 } && test -s conftest.$ac_objext; then
48634
48635 { echo "$as_me:$LINENO: result: yes" >&5
48636 echo "${ECHO_T}yes" >&6; }
48637 ICC_PCH=1
48638
48639 else
48640 echo "$as_me: failed program was:" >&5
48641 sed 's/^/| /' conftest.$ac_ext >&5
48642
48643
48644 { echo "$as_me:$LINENO: result: no" >&5
48645 echo "${ECHO_T}no" >&6; }
48646
48647 fi
48648
48649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48650
48651 fi
48652
48653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48655 USE_PCH=1
48656
48657 D='$'
48658 cat <<EOF >bk-make-pch
48659 #!/bin/sh
48660
48661 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48662 # script. It is used to generated precompiled headers.
48663 #
48664 # Permission is given to use this file in any way.
48665
48666 outfile="${D}{1}"
48667 header="${D}{2}"
48668 shift
48669 shift
48670
48671 compiler=""
48672 headerfile=""
48673
48674 while test ${D}{#} -gt 0; do
48675 add_to_cmdline=1
48676 case "${D}{1}" in
48677 -I* )
48678 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48679 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48680 headerfile="${D}{incdir}/${D}{header}"
48681 fi
48682 ;;
48683 -use-pch|-use_pch )
48684 shift
48685 add_to_cmdline=0
48686 ;;
48687 esac
48688 if test ${D}add_to_cmdline = 1 ; then
48689 compiler="${D}{compiler} ${D}{1}"
48690 fi
48691 shift
48692 done
48693
48694 if test "x${D}{headerfile}" = "x" ; then
48695 echo "error: can't find header ${D}{header} in include paths" >&2
48696 else
48697 if test -f ${D}{outfile} ; then
48698 rm -f ${D}{outfile}
48699 else
48700 mkdir -p \`dirname ${D}{outfile}\`
48701 fi
48702 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48703 mkdir -p .deps
48704 if test "x${GCC_PCH}" = "x1" ; then
48705 # can do this because gcc is >= 3.4:
48706 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48707 elif test "x${ICC_PCH}" = "x1" ; then
48708 filename=pch_gen-${D}${D}
48709 file=${D}{filename}.c
48710 dfile=${D}{filename}.d
48711 cat > ${D}file <<EOT
48712 #include "${D}header"
48713 EOT
48714 # using -MF icc complains about differing command lines in creation/use
48715 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48716 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48717 rm -f ${D}file ${D}dfile ${D}{filename}.o
48718 fi
48719 exit ${D}{?}
48720 fi
48721 EOF
48722
48723 chmod +x bk-make-pch
48724 BK_MAKE_PCH="`pwd`/bk-make-pch"
48725 fi
48726 fi
48727 fi
48728
48729
48730
48731
48732
48733 COND_BUILD_DEBUG="#"
48734 if test "x$BUILD" = "xdebug" ; then
48735 COND_BUILD_DEBUG=""
48736 fi
48737
48738 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48739 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48740 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48741 fi
48742
48743 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48744 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48745 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48746 fi
48747
48748 COND_BUILD_DEBUG_UNICODE_0="#"
48749 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48750 COND_BUILD_DEBUG_UNICODE_0=""
48751 fi
48752
48753 COND_BUILD_DEBUG_UNICODE_1="#"
48754 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48755 COND_BUILD_DEBUG_UNICODE_1=""
48756 fi
48757
48758 COND_BUILD_RELEASE="#"
48759 if test "x$BUILD" = "xrelease" ; then
48760 COND_BUILD_RELEASE=""
48761 fi
48762
48763 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48764 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48765 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48766 fi
48767
48768 COND_BUILD_RELEASE_UNICODE_0="#"
48769 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48770 COND_BUILD_RELEASE_UNICODE_0=""
48771 fi
48772
48773 COND_BUILD_RELEASE_UNICODE_1="#"
48774 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48775 COND_BUILD_RELEASE_UNICODE_1=""
48776 fi
48777
48778 COND_DEBUG_FLAG_1="#"
48779 if test "x$DEBUG_FLAG" = "x1" ; then
48780 COND_DEBUG_FLAG_1=""
48781 fi
48782
48783 COND_DEBUG_INFO_0="#"
48784 if test "x$DEBUG_INFO" = "x0" ; then
48785 COND_DEBUG_INFO_0=""
48786 fi
48787
48788 COND_DEBUG_INFO_1="#"
48789 if test "x$DEBUG_INFO" = "x1" ; then
48790 COND_DEBUG_INFO_1=""
48791 fi
48792
48793 COND_DEPS_TRACKING_0="#"
48794 if test "x$DEPS_TRACKING" = "x0" ; then
48795 COND_DEPS_TRACKING_0=""
48796 fi
48797
48798 COND_DEPS_TRACKING_1="#"
48799 if test "x$DEPS_TRACKING" = "x1" ; then
48800 COND_DEPS_TRACKING_1=""
48801 fi
48802
48803 COND_GCC_PCH_1="#"
48804 if test "x$GCC_PCH" = "x1" ; then
48805 COND_GCC_PCH_1=""
48806 fi
48807
48808 COND_ICC_PCH_1="#"
48809 if test "x$ICC_PCH" = "x1" ; then
48810 COND_ICC_PCH_1=""
48811 fi
48812
48813 COND_MONOLITHIC_0="#"
48814 if test "x$MONOLITHIC" = "x0" ; then
48815 COND_MONOLITHIC_0=""
48816 fi
48817
48818 COND_MONOLITHIC_0_SHARED_0="#"
48819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48820 COND_MONOLITHIC_0_SHARED_0=""
48821 fi
48822
48823 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48826 fi
48827
48828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48831 fi
48832
48833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48836 fi
48837
48838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48841 fi
48842
48843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48846 fi
48847
48848 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48851 fi
48852
48853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48856 fi
48857
48858 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48860 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48861 fi
48862
48863 COND_MONOLITHIC_0_SHARED_1="#"
48864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48865 COND_MONOLITHIC_0_SHARED_1=""
48866 fi
48867
48868 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48870 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48871 fi
48872
48873 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48876 fi
48877
48878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48881 fi
48882
48883 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48886 fi
48887
48888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48891 fi
48892
48893 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48895 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48896 fi
48897
48898 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48900 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48901 fi
48902
48903 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48905 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48906 fi
48907
48908 COND_MONOLITHIC_0_USE_AUI_1="#"
48909 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48910 COND_MONOLITHIC_0_USE_AUI_1=""
48911 fi
48912
48913 COND_MONOLITHIC_0_USE_GUI_1="#"
48914 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48915 COND_MONOLITHIC_0_USE_GUI_1=""
48916 fi
48917
48918 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48919 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48920 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48921 fi
48922
48923 COND_MONOLITHIC_0_USE_HTML_1="#"
48924 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48925 COND_MONOLITHIC_0_USE_HTML_1=""
48926 fi
48927
48928 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48929 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48930 COND_MONOLITHIC_0_USE_MEDIA_1=""
48931 fi
48932
48933 COND_MONOLITHIC_0_USE_QA_1="#"
48934 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48935 COND_MONOLITHIC_0_USE_QA_1=""
48936 fi
48937
48938 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48939 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48940 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48941 fi
48942
48943 COND_MONOLITHIC_0_USE_STC_1="#"
48944 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48945 COND_MONOLITHIC_0_USE_STC_1=""
48946 fi
48947
48948 COND_MONOLITHIC_0_USE_XRC_1="#"
48949 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48950 COND_MONOLITHIC_0_USE_XRC_1=""
48951 fi
48952
48953 COND_MONOLITHIC_1="#"
48954 if test "x$MONOLITHIC" = "x1" ; then
48955 COND_MONOLITHIC_1=""
48956 fi
48957
48958 COND_MONOLITHIC_1_SHARED_0="#"
48959 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48960 COND_MONOLITHIC_1_SHARED_0=""
48961 fi
48962
48963 COND_MONOLITHIC_1_SHARED_1="#"
48964 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48965 COND_MONOLITHIC_1_SHARED_1=""
48966 fi
48967
48968 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48969 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48970 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48971 fi
48972
48973 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48974 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48975 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48976 fi
48977
48978 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48979 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48980 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48981 fi
48982
48983 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48984 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48985 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48986 fi
48987
48988 COND_PLATFORM_MACOSX_1="#"
48989 if test "x$PLATFORM_MACOSX" = "x1" ; then
48990 COND_PLATFORM_MACOSX_1=""
48991 fi
48992
48993 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48995 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48996 fi
48997
48998 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49000 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49001 fi
49002
49003 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49005 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49006 fi
49007
49008 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49010 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49011 fi
49012
49013 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49015 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49016 fi
49017
49018 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49020 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49021 fi
49022
49023 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49025 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49026 fi
49027
49028 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49030 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49031 fi
49032
49033 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49035 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49036 fi
49037
49038 COND_PLATFORM_MACOS_1="#"
49039 if test "x$PLATFORM_MACOS" = "x1" ; then
49040 COND_PLATFORM_MACOS_1=""
49041 fi
49042
49043 COND_PLATFORM_MAC_1="#"
49044 if test "x$PLATFORM_MAC" = "x1" ; then
49045 COND_PLATFORM_MAC_1=""
49046 fi
49047
49048 COND_PLATFORM_MSDOS_1="#"
49049 if test "x$PLATFORM_MSDOS" = "x1" ; then
49050 COND_PLATFORM_MSDOS_1=""
49051 fi
49052
49053 COND_PLATFORM_OS2_1="#"
49054 if test "x$PLATFORM_OS2" = "x1" ; then
49055 COND_PLATFORM_OS2_1=""
49056 fi
49057
49058 COND_PLATFORM_UNIX_0="#"
49059 if test "x$PLATFORM_UNIX" = "x0" ; then
49060 COND_PLATFORM_UNIX_0=""
49061 fi
49062
49063 COND_PLATFORM_UNIX_1="#"
49064 if test "x$PLATFORM_UNIX" = "x1" ; then
49065 COND_PLATFORM_UNIX_1=""
49066 fi
49067
49068 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49069 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49070 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49071 fi
49072
49073 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49074 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49075 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49076 fi
49077
49078 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49079 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49080 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49081 fi
49082
49083 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49084 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49085 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49086 fi
49087
49088 COND_PLATFORM_WIN32_0="#"
49089 if test "x$PLATFORM_WIN32" = "x0" ; then
49090 COND_PLATFORM_WIN32_0=""
49091 fi
49092
49093 COND_PLATFORM_WIN32_1="#"
49094 if test "x$PLATFORM_WIN32" = "x1" ; then
49095 COND_PLATFORM_WIN32_1=""
49096 fi
49097
49098 COND_SHARED_0="#"
49099 if test "x$SHARED" = "x0" ; then
49100 COND_SHARED_0=""
49101 fi
49102
49103 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49104 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49105 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49106 fi
49107
49108 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49109 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49110 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49111 fi
49112
49113 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49114 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49115 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49116 fi
49117
49118 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49119 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49120 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49121 fi
49122
49123 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49124 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49125 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49126 fi
49127
49128 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49129 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49130 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49131 fi
49132
49133 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49134 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49135 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49136 fi
49137
49138 COND_SHARED_0_USE_STC_1="#"
49139 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49140 COND_SHARED_0_USE_STC_1=""
49141 fi
49142
49143 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49144 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49145 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49146 fi
49147
49148 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49149 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49150 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49151 fi
49152
49153 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49154 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49155 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49156 fi
49157
49158 COND_SHARED_1="#"
49159 if test "x$SHARED" = "x1" ; then
49160 COND_SHARED_1=""
49161 fi
49162
49163 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49164 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49165 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49166 fi
49167
49168 COND_TOOLKIT_="#"
49169 if test "x$TOOLKIT" = "x" ; then
49170 COND_TOOLKIT_=""
49171 fi
49172
49173 COND_TOOLKIT_COCOA="#"
49174 if test "x$TOOLKIT" = "xCOCOA" ; then
49175 COND_TOOLKIT_COCOA=""
49176 fi
49177
49178 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49179 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49180 COND_TOOLKIT_COCOA_USE_GUI_1=""
49181 fi
49182
49183 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49184 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49185 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49186 fi
49187
49188 COND_TOOLKIT_DFB="#"
49189 if test "x$TOOLKIT" = "xDFB" ; then
49190 COND_TOOLKIT_DFB=""
49191 fi
49192
49193 COND_TOOLKIT_DFB_USE_GUI_1="#"
49194 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49195 COND_TOOLKIT_DFB_USE_GUI_1=""
49196 fi
49197
49198 COND_TOOLKIT_GTK="#"
49199 if test "x$TOOLKIT" = "xGTK" ; then
49200 COND_TOOLKIT_GTK=""
49201 fi
49202
49203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49206 fi
49207
49208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49211 fi
49212
49213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49216 fi
49217
49218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49221 fi
49222
49223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49226 fi
49227
49228 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49231 fi
49232
49233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49236 fi
49237
49238 COND_TOOLKIT_GTK_USE_GUI_1="#"
49239 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49240 COND_TOOLKIT_GTK_USE_GUI_1=""
49241 fi
49242
49243 COND_TOOLKIT_MAC="#"
49244 if test "x$TOOLKIT" = "xMAC" ; then
49245 COND_TOOLKIT_MAC=""
49246 fi
49247
49248 COND_TOOLKIT_MAC_USE_GUI_1="#"
49249 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49250 COND_TOOLKIT_MAC_USE_GUI_1=""
49251 fi
49252
49253 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49254 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49255 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49256 fi
49257
49258 COND_TOOLKIT_MGL="#"
49259 if test "x$TOOLKIT" = "xMGL" ; then
49260 COND_TOOLKIT_MGL=""
49261 fi
49262
49263 COND_TOOLKIT_MGL_USE_GUI_1="#"
49264 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49265 COND_TOOLKIT_MGL_USE_GUI_1=""
49266 fi
49267
49268 COND_TOOLKIT_MOTIF="#"
49269 if test "x$TOOLKIT" = "xMOTIF" ; then
49270 COND_TOOLKIT_MOTIF=""
49271 fi
49272
49273 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49274 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49275 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49276 fi
49277
49278 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49279 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49280 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49281 fi
49282
49283 COND_TOOLKIT_MSW="#"
49284 if test "x$TOOLKIT" = "xMSW" ; then
49285 COND_TOOLKIT_MSW=""
49286 fi
49287
49288 COND_TOOLKIT_MSW_USE_GUI_1="#"
49289 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49290 COND_TOOLKIT_MSW_USE_GUI_1=""
49291 fi
49292
49293 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49294 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49295 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49296 fi
49297
49298 COND_TOOLKIT_MSW_WXUNIV_0="#"
49299 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49300 COND_TOOLKIT_MSW_WXUNIV_0=""
49301 fi
49302
49303 COND_TOOLKIT_PM="#"
49304 if test "x$TOOLKIT" = "xPM" ; then
49305 COND_TOOLKIT_PM=""
49306 fi
49307
49308 COND_TOOLKIT_PM_USE_GUI_1="#"
49309 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49310 COND_TOOLKIT_PM_USE_GUI_1=""
49311 fi
49312
49313 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49314 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49315 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49316 fi
49317
49318 COND_TOOLKIT_WINCE="#"
49319 if test "x$TOOLKIT" = "xWINCE" ; then
49320 COND_TOOLKIT_WINCE=""
49321 fi
49322
49323 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49324 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49325 COND_TOOLKIT_WINCE_USE_GUI_1=""
49326 fi
49327
49328 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49329 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49330 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49331 fi
49332
49333 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49334 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49335 COND_TOOLKIT_WINCE_WXUNIV_0=""
49336 fi
49337
49338 COND_TOOLKIT_X11="#"
49339 if test "x$TOOLKIT" = "xX11" ; then
49340 COND_TOOLKIT_X11=""
49341 fi
49342
49343 COND_TOOLKIT_X11_USE_GUI_1="#"
49344 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49345 COND_TOOLKIT_X11_USE_GUI_1=""
49346 fi
49347
49348 COND_UNICODE_1="#"
49349 if test "x$UNICODE" = "x1" ; then
49350 COND_UNICODE_1=""
49351 fi
49352
49353 COND_USE_EXCEPTIONS_0="#"
49354 if test "x$USE_EXCEPTIONS" = "x0" ; then
49355 COND_USE_EXCEPTIONS_0=""
49356 fi
49357
49358 COND_USE_EXCEPTIONS_1="#"
49359 if test "x$USE_EXCEPTIONS" = "x1" ; then
49360 COND_USE_EXCEPTIONS_1=""
49361 fi
49362
49363 COND_USE_GUI_0="#"
49364 if test "x$USE_GUI" = "x0" ; then
49365 COND_USE_GUI_0=""
49366 fi
49367
49368 COND_USE_GUI_1="#"
49369 if test "x$USE_GUI" = "x1" ; then
49370 COND_USE_GUI_1=""
49371 fi
49372
49373 COND_USE_GUI_1_USE_OPENGL_1="#"
49374 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49375 COND_USE_GUI_1_USE_OPENGL_1=""
49376 fi
49377
49378 COND_USE_GUI_1_WXUNIV_0="#"
49379 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49380 COND_USE_GUI_1_WXUNIV_0=""
49381 fi
49382
49383 COND_USE_GUI_1_WXUNIV_1="#"
49384 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49385 COND_USE_GUI_1_WXUNIV_1=""
49386 fi
49387
49388 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49389 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49390 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49391 fi
49392
49393 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49394 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49395 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49396 fi
49397
49398 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49399 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49400 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49401 fi
49402
49403 COND_USE_PCH_1="#"
49404 if test "x$USE_PCH" = "x1" ; then
49405 COND_USE_PCH_1=""
49406 fi
49407
49408 COND_USE_PLUGINS_0="#"
49409 if test "x$USE_PLUGINS" = "x0" ; then
49410 COND_USE_PLUGINS_0=""
49411 fi
49412
49413 COND_USE_RTTI_0="#"
49414 if test "x$USE_RTTI" = "x0" ; then
49415 COND_USE_RTTI_0=""
49416 fi
49417
49418 COND_USE_RTTI_1="#"
49419 if test "x$USE_RTTI" = "x1" ; then
49420 COND_USE_RTTI_1=""
49421 fi
49422
49423 COND_USE_SOSYMLINKS_1="#"
49424 if test "x$USE_SOSYMLINKS" = "x1" ; then
49425 COND_USE_SOSYMLINKS_1=""
49426 fi
49427
49428 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49429 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49430 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49431 fi
49432
49433 COND_USE_SOVERLINUX_1="#"
49434 if test "x$USE_SOVERLINUX" = "x1" ; then
49435 COND_USE_SOVERLINUX_1=""
49436 fi
49437
49438 COND_USE_SOVERSION_0="#"
49439 if test "x$USE_SOVERSION" = "x0" ; then
49440 COND_USE_SOVERSION_0=""
49441 fi
49442
49443 COND_USE_SOVERSOLARIS_1="#"
49444 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49445 COND_USE_SOVERSOLARIS_1=""
49446 fi
49447
49448 COND_USE_STC_1="#"
49449 if test "x$USE_STC" = "x1" ; then
49450 COND_USE_STC_1=""
49451 fi
49452
49453 COND_USE_THREADS_0="#"
49454 if test "x$USE_THREADS" = "x0" ; then
49455 COND_USE_THREADS_0=""
49456 fi
49457
49458 COND_USE_THREADS_1="#"
49459 if test "x$USE_THREADS" = "x1" ; then
49460 COND_USE_THREADS_1=""
49461 fi
49462
49463 COND_USE_XRC_1="#"
49464 if test "x$USE_XRC" = "x1" ; then
49465 COND_USE_XRC_1=""
49466 fi
49467
49468 COND_WINDOWS_IMPLIB_1="#"
49469 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49470 COND_WINDOWS_IMPLIB_1=""
49471 fi
49472
49473 COND_WITH_PLUGIN_SDL_1="#"
49474 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49475 COND_WITH_PLUGIN_SDL_1=""
49476 fi
49477
49478 COND_WXUNIV_0="#"
49479 if test "x$WXUNIV" = "x0" ; then
49480 COND_WXUNIV_0=""
49481 fi
49482
49483 COND_WXUNIV_1="#"
49484 if test "x$WXUNIV" = "x1" ; then
49485 COND_WXUNIV_1=""
49486 fi
49487
49488 COND_WXUSE_EXPAT_BUILTIN="#"
49489 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49490 COND_WXUSE_EXPAT_BUILTIN=""
49491 fi
49492
49493 COND_WXUSE_LIBJPEG_BUILTIN="#"
49494 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49495 COND_WXUSE_LIBJPEG_BUILTIN=""
49496 fi
49497
49498 COND_WXUSE_LIBPNG_BUILTIN="#"
49499 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49500 COND_WXUSE_LIBPNG_BUILTIN=""
49501 fi
49502
49503 COND_WXUSE_LIBTIFF_BUILTIN="#"
49504 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49505 COND_WXUSE_LIBTIFF_BUILTIN=""
49506 fi
49507
49508 COND_WXUSE_REGEX_BUILTIN="#"
49509 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49510 COND_WXUSE_REGEX_BUILTIN=""
49511 fi
49512
49513 COND_WXUSE_ZLIB_BUILTIN="#"
49514 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49515 COND_WXUSE_ZLIB_BUILTIN=""
49516 fi
49517
49518
49519
49520 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49521 { { 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
49522 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;}
49523 { (exit 1); exit 1; }; }
49524 fi
49525
49526 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49527 { { 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
49528 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;}
49529 { (exit 1); exit 1; }; }
49530 fi
49531
49532
49533 case ${INSTALL} in
49534 /* ) # Absolute
49535 ;;
49536 ?:* ) # Drive letter, considered as absolute.
49537 ;;
49538 *)
49539 INSTALL=`pwd`/${INSTALL} ;;
49540 esac
49541
49542 if test "$wxUSE_GUI" = "yes"; then
49543
49544 if test "$wxUSE_MSW" = 1 ; then
49545 if test "x$WINDRES" = "x"; then
49546 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49547 echo "$as_me: error: Required windres program not found" >&2;}
49548 { (exit 1); exit 1; }; }
49549 fi
49550
49551 RESCOMP="$WINDRES"
49552 fi
49553
49554 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49555 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49556 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49557
49558 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49559
49560 # Extract the first word of "DeRez", so it can be a program name with args.
49561 set dummy DeRez; ac_word=$2
49562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49564 if test "${ac_cv_prog_DEREZ+set}" = set; then
49565 echo $ECHO_N "(cached) $ECHO_C" >&6
49566 else
49567 if test -n "$DEREZ"; then
49568 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49569 else
49570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49571 for as_dir in $PATH
49572 do
49573 IFS=$as_save_IFS
49574 test -z "$as_dir" && as_dir=.
49575 for ac_exec_ext in '' $ac_executable_extensions; do
49576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49577 ac_cv_prog_DEREZ="DeRez"
49578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49579 break 2
49580 fi
49581 done
49582 done
49583 IFS=$as_save_IFS
49584
49585 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49586 fi
49587 fi
49588 DEREZ=$ac_cv_prog_DEREZ
49589 if test -n "$DEREZ"; then
49590 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49591 echo "${ECHO_T}$DEREZ" >&6; }
49592 else
49593 { echo "$as_me:$LINENO: result: no" >&5
49594 echo "${ECHO_T}no" >&6; }
49595 fi
49596
49597
49598
49599 MACSETFILE="\$(SETFILE)"
49600
49601 if test "$wxUSE_MAC" = 1; then
49602 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49603 RESCOMP="$REZ"
49604 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49605 else
49606 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49607 RESCOMP="cat /dev/null \| $REZ"
49608 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49609 fi
49610
49611 else
49612 MACSETFILE="@true"
49613
49614 if test "$wxUSE_PM" = 1; then
49615 RESCOMP="emxbind"
49616 WXCONFIG_RESFLAGS="-ep"
49617
49618 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49619 else
49620 POSTLINK_COMMAND="@true"
49621 fi
49622 fi
49623
49624 fi
49625
49626
49627 if test $GCC_PCH = 1
49628 then
49629 if test "$wx_cv_gcc_pch_bug" = yes; then
49630 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49631 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49632 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49633 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49634 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49635 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49636 fi
49637
49638 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49639 fi
49640
49641
49642 if test "$wxUSE_MAC" = 1 ; then
49643 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49644 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49645 mv temp bk-deps
49646 chmod +x bk-deps
49647 fi
49648 fi
49649
49650 if test "$wxUSE_SHARED" = "yes"; then
49651 case "${host}" in
49652 *-pc-os2_emx | *-pc-os2-emx )
49653 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49654 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49655 cp -p ${srcdir}/src/os2/dllnames.sh .
49656 cp -p ${srcdir}/src/os2/dllar.sh .
49657 ;;
49658 esac
49659 fi
49660 if test "$wxUSE_OMF" = "yes"; then
49661 case "${host}" in
49662 *-pc-os2_emx | *-pc-os2-emx )
49663 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49664 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49665 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49666 ;;
49667 esac
49668 fi
49669
49670 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49671
49672
49673 case "${host}" in
49674 *-*-solaris2* )
49675 if test "$GCC" = yes; then
49676 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49677 LIBS=`echo $LIBS | sed 's/-mt//'`
49678 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49679 fi
49680 ;;
49681
49682 *-*-linux* )
49683 if test "x$SUNCXX" = xyes; then
49684 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49685 LIBS=`echo $LIBS | sed 's/-pthread//'`
49686 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49687 fi
49688 ;;
49689 esac
49690
49691 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49692 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49693
49694 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49695
49696
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49756 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49757 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49758 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49759 echo $ECHO_N "(cached) $ECHO_C" >&6
49760 else
49761 cat >conftest.make <<\_ACEOF
49762 SHELL = /bin/sh
49763 all:
49764 @echo '@@@%%%=$(MAKE)=@@@%%%'
49765 _ACEOF
49766 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49768 *@@@%%%=?*=@@@%%%*)
49769 eval ac_cv_prog_make_${ac_make}_set=yes;;
49770 *)
49771 eval ac_cv_prog_make_${ac_make}_set=no;;
49772 esac
49773 rm -f conftest.make
49774 fi
49775 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49776 { echo "$as_me:$LINENO: result: yes" >&5
49777 echo "${ECHO_T}yes" >&6; }
49778 SET_MAKE=
49779 else
49780 { echo "$as_me:$LINENO: result: no" >&5
49781 echo "${ECHO_T}no" >&6; }
49782 SET_MAKE="MAKE=${MAKE-make}"
49783 fi
49784
49785
49786
49787 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49788
49789
49790 if test "$USE_WIN32" = 1; then
49791 ac_config_commands="$ac_config_commands
49792 rcdefs.h
49793 "
49794
49795 fi
49796
49797 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49798
49799
49800 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49801
49802
49803 if test "$wx_cv_version_script" = "yes"; then
49804 ac_config_files="$ac_config_files version-script"
49805
49806 fi
49807 ac_config_files="$ac_config_files Makefile"
49808
49809
49810 ac_config_commands="$ac_config_commands wx-config"
49811
49812
49813
49814 if test "$wxWITH_SUBDIRS" != "no"; then
49815 if test "$wxUSE_GUI" = "yes"; then
49816 SUBDIRS="samples demos utils"
49817 else
49818 SUBDIRS="samples utils"
49819 fi
49820
49821
49822
49823 # Check whether --with-cppunit-prefix was given.
49824 if test "${with_cppunit_prefix+set}" = set; then
49825 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49826 else
49827 cppunit_config_prefix=""
49828 fi
49829
49830
49831 # Check whether --with-cppunit-exec-prefix was given.
49832 if test "${with_cppunit_exec_prefix+set}" = set; then
49833 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49834 else
49835 cppunit_config_exec_prefix=""
49836 fi
49837
49838
49839 if test x$cppunit_config_exec_prefix != x ; then
49840 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49841 if test x${CPPUNIT_CONFIG+set} != xset ; then
49842 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49843 fi
49844 fi
49845 if test x$cppunit_config_prefix != x ; then
49846 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49847 if test x${CPPUNIT_CONFIG+set} != xset ; then
49848 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49849 fi
49850 fi
49851
49852 # Extract the first word of "cppunit-config", so it can be a program name with args.
49853 set dummy cppunit-config; ac_word=$2
49854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49856 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49857 echo $ECHO_N "(cached) $ECHO_C" >&6
49858 else
49859 case $CPPUNIT_CONFIG in
49860 [\\/]* | ?:[\\/]*)
49861 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49862 ;;
49863 *)
49864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49865 for as_dir in $PATH
49866 do
49867 IFS=$as_save_IFS
49868 test -z "$as_dir" && as_dir=.
49869 for ac_exec_ext in '' $ac_executable_extensions; do
49870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49871 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49873 break 2
49874 fi
49875 done
49876 done
49877 IFS=$as_save_IFS
49878
49879 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49880 ;;
49881 esac
49882 fi
49883 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49884 if test -n "$CPPUNIT_CONFIG"; then
49885 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49886 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49887 else
49888 { echo "$as_me:$LINENO: result: no" >&5
49889 echo "${ECHO_T}no" >&6; }
49890 fi
49891
49892
49893 cppunit_version_min=1.8.0
49894
49895 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49896 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49897 no_cppunit=""
49898 if test "$CPPUNIT_CONFIG" = "no" ; then
49899 { echo "$as_me:$LINENO: result: no" >&5
49900 echo "${ECHO_T}no" >&6; }
49901 no_cppunit=yes
49902 else
49903 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49904 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49905 cppunit_version=`$CPPUNIT_CONFIG --version`
49906
49907 cppunit_major_version=`echo $cppunit_version | \
49908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49909 cppunit_minor_version=`echo $cppunit_version | \
49910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49911 cppunit_micro_version=`echo $cppunit_version | \
49912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49913
49914 cppunit_major_min=`echo $cppunit_version_min | \
49915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49916 cppunit_minor_min=`echo $cppunit_version_min | \
49917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49918 cppunit_micro_min=`echo $cppunit_version_min | \
49919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49920
49921 cppunit_version_proper=`expr \
49922 $cppunit_major_version \> $cppunit_major_min \| \
49923 $cppunit_major_version \= $cppunit_major_min \& \
49924 $cppunit_minor_version \> $cppunit_minor_min \| \
49925 $cppunit_major_version \= $cppunit_major_min \& \
49926 $cppunit_minor_version \= $cppunit_minor_min \& \
49927 $cppunit_micro_version \>= $cppunit_micro_min `
49928
49929 if test "$cppunit_version_proper" = "1" ; then
49930 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49931 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49932 else
49933 { echo "$as_me:$LINENO: result: no" >&5
49934 echo "${ECHO_T}no" >&6; }
49935 no_cppunit=yes
49936 fi
49937 fi
49938
49939 if test "x$no_cppunit" = x ; then
49940 SUBDIRS="$SUBDIRS tests"
49941 else
49942 CPPUNIT_CFLAGS=""
49943 CPPUNIT_LIBS=""
49944 :
49945 fi
49946
49947
49948
49949
49950
49951 for subdir in $SUBDIRS; do
49952 if test -d ${srcdir}/${subdir} ; then
49953 if test "$wxUSE_GUI" = "yes"; then
49954 if test ${subdir} = "samples"; then
49955 makefiles="samples/Makefile.in $makefiles"
49956 for sample in $SAMPLES_SUBDIRS; do
49957 if test -d $srcdir/samples/$sample; then
49958 makefiles="samples/$sample/Makefile.in $makefiles"
49959 fi
49960 done
49961 else
49962 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
49963 eval "disabled=\$$disabled_var"
49964 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49965 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49966 fi
49967 else
49968 if test ${subdir} = "samples"; then
49969 makefiles="samples/Makefile.in samples/console/Makefile.in"
49970 elif test ${subdir} = "utils"; then
49971 makefiles=""
49972 for util in HelpGen tex2rtf ; do
49973 if test -d $srcdir/utils/$util ; then
49974 makefiles="utils/$util/Makefile.in \
49975 utils/$util/src/Makefile.in \
49976 $makefiles"
49977 fi
49978 done
49979 else
49980 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49981 fi
49982 fi
49983
49984 for mkin in $makefiles ; do
49985 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49986 ac_config_files="$ac_config_files $mk"
49987
49988 done
49989 fi
49990 done
49991 fi
49992 cat >confcache <<\_ACEOF
49993 # This file is a shell script that caches the results of configure
49994 # tests run on this system so they can be shared between configure
49995 # scripts and configure runs, see configure's option --config-cache.
49996 # It is not useful on other systems. If it contains results you don't
49997 # want to keep, you may remove or edit it.
49998 #
49999 # config.status only pays attention to the cache file if you give it
50000 # the --recheck option to rerun configure.
50001 #
50002 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50003 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50004 # following values.
50005
50006 _ACEOF
50007
50008 # The following way of writing the cache mishandles newlines in values,
50009 # but we know of no workaround that is simple, portable, and efficient.
50010 # So, we kill variables containing newlines.
50011 # Ultrix sh set writes to stderr and can't be redirected directly,
50012 # and sets the high bit in the cache file unless we assign to the vars.
50013 (
50014 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50015 eval ac_val=\$$ac_var
50016 case $ac_val in #(
50017 *${as_nl}*)
50018 case $ac_var in #(
50019 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50020 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50021 esac
50022 case $ac_var in #(
50023 _ | IFS | as_nl) ;; #(
50024 *) $as_unset $ac_var ;;
50025 esac ;;
50026 esac
50027 done
50028
50029 (set) 2>&1 |
50030 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50031 *${as_nl}ac_space=\ *)
50032 # `set' does not quote correctly, so add quotes (double-quote
50033 # substitution turns \\\\ into \\, and sed turns \\ into \).
50034 sed -n \
50035 "s/'/'\\\\''/g;
50036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50037 ;; #(
50038 *)
50039 # `set' quotes correctly as required by POSIX, so do not add quotes.
50040 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50041 ;;
50042 esac |
50043 sort
50044 ) |
50045 sed '
50046 /^ac_cv_env_/b end
50047 t clear
50048 :clear
50049 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50050 t end
50051 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50052 :end' >>confcache
50053 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50054 if test -w "$cache_file"; then
50055 test "x$cache_file" != "x/dev/null" &&
50056 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50057 echo "$as_me: updating cache $cache_file" >&6;}
50058 cat confcache >$cache_file
50059 else
50060 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50061 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50062 fi
50063 fi
50064 rm -f confcache
50065
50066 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50067 # Let make expand exec_prefix.
50068 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50069
50070 DEFS=-DHAVE_CONFIG_H
50071
50072 ac_libobjs=
50073 ac_ltlibobjs=
50074 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50075 # 1. Remove the extension, and $U if already installed.
50076 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50077 ac_i=`echo "$ac_i" | sed "$ac_script"`
50078 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50079 # will be set to the directory where LIBOBJS objects are built.
50080 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50081 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50082 done
50083 LIBOBJS=$ac_libobjs
50084
50085 LTLIBOBJS=$ac_ltlibobjs
50086
50087
50088
50089 : ${CONFIG_STATUS=./config.status}
50090 ac_clean_files_save=$ac_clean_files
50091 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50092 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50093 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50094 cat >$CONFIG_STATUS <<_ACEOF
50095 #! $SHELL
50096 # Generated by $as_me.
50097 # Run this file to recreate the current configuration.
50098 # Compiler output produced by configure, useful for debugging
50099 # configure, is in config.log if it exists.
50100
50101 debug=false
50102 ac_cs_recheck=false
50103 ac_cs_silent=false
50104 SHELL=\${CONFIG_SHELL-$SHELL}
50105 _ACEOF
50106
50107 cat >>$CONFIG_STATUS <<\_ACEOF
50108 ## --------------------- ##
50109 ## M4sh Initialization. ##
50110 ## --------------------- ##
50111
50112 # Be more Bourne compatible
50113 DUALCASE=1; export DUALCASE # for MKS sh
50114 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50115 emulate sh
50116 NULLCMD=:
50117 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50118 # is contrary to our usage. Disable this feature.
50119 alias -g '${1+"$@"}'='"$@"'
50120 setopt NO_GLOB_SUBST
50121 else
50122 case `(set -o) 2>/dev/null` in
50123 *posix*) set -o posix ;;
50124 esac
50125
50126 fi
50127
50128
50129
50130
50131 # PATH needs CR
50132 # Avoid depending upon Character Ranges.
50133 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50134 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50135 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50136 as_cr_digits='0123456789'
50137 as_cr_alnum=$as_cr_Letters$as_cr_digits
50138
50139 # The user is always right.
50140 if test "${PATH_SEPARATOR+set}" != set; then
50141 echo "#! /bin/sh" >conf$$.sh
50142 echo "exit 0" >>conf$$.sh
50143 chmod +x conf$$.sh
50144 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50145 PATH_SEPARATOR=';'
50146 else
50147 PATH_SEPARATOR=:
50148 fi
50149 rm -f conf$$.sh
50150 fi
50151
50152 # Support unset when possible.
50153 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50154 as_unset=unset
50155 else
50156 as_unset=false
50157 fi
50158
50159
50160 # IFS
50161 # We need space, tab and new line, in precisely that order. Quoting is
50162 # there to prevent editors from complaining about space-tab.
50163 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50164 # splitting by setting IFS to empty value.)
50165 as_nl='
50166 '
50167 IFS=" "" $as_nl"
50168
50169 # Find who we are. Look in the path if we contain no directory separator.
50170 case $0 in
50171 *[\\/]* ) as_myself=$0 ;;
50172 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50173 for as_dir in $PATH
50174 do
50175 IFS=$as_save_IFS
50176 test -z "$as_dir" && as_dir=.
50177 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50178 done
50179 IFS=$as_save_IFS
50180
50181 ;;
50182 esac
50183 # We did not find ourselves, most probably we were run as `sh COMMAND'
50184 # in which case we are not to be found in the path.
50185 if test "x$as_myself" = x; then
50186 as_myself=$0
50187 fi
50188 if test ! -f "$as_myself"; then
50189 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50190 { (exit 1); exit 1; }
50191 fi
50192
50193 # Work around bugs in pre-3.0 UWIN ksh.
50194 for as_var in ENV MAIL MAILPATH
50195 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50196 done
50197 PS1='$ '
50198 PS2='> '
50199 PS4='+ '
50200
50201 # NLS nuisances.
50202 for as_var in \
50203 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50204 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50205 LC_TELEPHONE LC_TIME
50206 do
50207 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50208 eval $as_var=C; export $as_var
50209 else
50210 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50211 fi
50212 done
50213
50214 # Required to use basename.
50215 if expr a : '\(a\)' >/dev/null 2>&1 &&
50216 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50217 as_expr=expr
50218 else
50219 as_expr=false
50220 fi
50221
50222 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50223 as_basename=basename
50224 else
50225 as_basename=false
50226 fi
50227
50228
50229 # Name of the executable.
50230 as_me=`$as_basename -- "$0" ||
50231 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50232 X"$0" : 'X\(//\)$' \| \
50233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50234 echo X/"$0" |
50235 sed '/^.*\/\([^/][^/]*\)\/*$/{
50236 s//\1/
50237 q
50238 }
50239 /^X\/\(\/\/\)$/{
50240 s//\1/
50241 q
50242 }
50243 /^X\/\(\/\).*/{
50244 s//\1/
50245 q
50246 }
50247 s/.*/./; q'`
50248
50249 # CDPATH.
50250 $as_unset CDPATH
50251
50252
50253
50254 as_lineno_1=$LINENO
50255 as_lineno_2=$LINENO
50256 test "x$as_lineno_1" != "x$as_lineno_2" &&
50257 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50258
50259 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50260 # uniformly replaced by the line number. The first 'sed' inserts a
50261 # line-number line after each line using $LINENO; the second 'sed'
50262 # does the real work. The second script uses 'N' to pair each
50263 # line-number line with the line containing $LINENO, and appends
50264 # trailing '-' during substitution so that $LINENO is not a special
50265 # case at line end.
50266 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50267 # scripts with optimization help from Paolo Bonzini. Blame Lee
50268 # E. McMahon (1931-1989) for sed's syntax. :-)
50269 sed -n '
50270 p
50271 /[$]LINENO/=
50272 ' <$as_myself |
50273 sed '
50274 s/[$]LINENO.*/&-/
50275 t lineno
50276 b
50277 :lineno
50278 N
50279 :loop
50280 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50281 t loop
50282 s/-\n.*//
50283 ' >$as_me.lineno &&
50284 chmod +x "$as_me.lineno" ||
50285 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50286 { (exit 1); exit 1; }; }
50287
50288 # Don't try to exec as it changes $[0], causing all sort of problems
50289 # (the dirname of $[0] is not the place where we might find the
50290 # original and so on. Autoconf is especially sensitive to this).
50291 . "./$as_me.lineno"
50292 # Exit status is that of the last command.
50293 exit
50294 }
50295
50296
50297 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50298 as_dirname=dirname
50299 else
50300 as_dirname=false
50301 fi
50302
50303 ECHO_C= ECHO_N= ECHO_T=
50304 case `echo -n x` in
50305 -n*)
50306 case `echo 'x\c'` in
50307 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50308 *) ECHO_C='\c';;
50309 esac;;
50310 *)
50311 ECHO_N='-n';;
50312 esac
50313
50314 if expr a : '\(a\)' >/dev/null 2>&1 &&
50315 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50316 as_expr=expr
50317 else
50318 as_expr=false
50319 fi
50320
50321 rm -f conf$$ conf$$.exe conf$$.file
50322 if test -d conf$$.dir; then
50323 rm -f conf$$.dir/conf$$.file
50324 else
50325 rm -f conf$$.dir
50326 mkdir conf$$.dir
50327 fi
50328 echo >conf$$.file
50329 if ln -s conf$$.file conf$$ 2>/dev/null; then
50330 as_ln_s='ln -s'
50331 # ... but there are two gotchas:
50332 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50333 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50334 # In both cases, we have to default to `cp -p'.
50335 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50336 as_ln_s='cp -p'
50337 elif ln conf$$.file conf$$ 2>/dev/null; then
50338 as_ln_s=ln
50339 else
50340 as_ln_s='cp -p'
50341 fi
50342 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50343 rmdir conf$$.dir 2>/dev/null
50344
50345 if mkdir -p . 2>/dev/null; then
50346 as_mkdir_p=:
50347 else
50348 test -d ./-p && rmdir ./-p
50349 as_mkdir_p=false
50350 fi
50351
50352 if test -x / >/dev/null 2>&1; then
50353 as_test_x='test -x'
50354 else
50355 if ls -dL / >/dev/null 2>&1; then
50356 as_ls_L_option=L
50357 else
50358 as_ls_L_option=
50359 fi
50360 as_test_x='
50361 eval sh -c '\''
50362 if test -d "$1"; then
50363 test -d "$1/.";
50364 else
50365 case $1 in
50366 -*)set "./$1";;
50367 esac;
50368 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50369 ???[sx]*):;;*)false;;esac;fi
50370 '\'' sh
50371 '
50372 fi
50373 as_executable_p=$as_test_x
50374
50375 # Sed expression to map a string onto a valid CPP name.
50376 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50377
50378 # Sed expression to map a string onto a valid variable name.
50379 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50380
50381
50382 exec 6>&1
50383
50384 # Save the log message, to keep $[0] and so on meaningful, and to
50385 # report actual input values of CONFIG_FILES etc. instead of their
50386 # values after options handling.
50387 ac_log="
50388 This file was extended by wxWidgets $as_me 2.9.0, which was
50389 generated by GNU Autoconf 2.61. Invocation command line was
50390
50391 CONFIG_FILES = $CONFIG_FILES
50392 CONFIG_HEADERS = $CONFIG_HEADERS
50393 CONFIG_LINKS = $CONFIG_LINKS
50394 CONFIG_COMMANDS = $CONFIG_COMMANDS
50395 $ $0 $@
50396
50397 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50398 "
50399
50400 _ACEOF
50401
50402 cat >>$CONFIG_STATUS <<_ACEOF
50403 # Files that config.status was made for.
50404 config_files="$ac_config_files"
50405 config_headers="$ac_config_headers"
50406 config_commands="$ac_config_commands"
50407
50408 _ACEOF
50409
50410 cat >>$CONFIG_STATUS <<\_ACEOF
50411 ac_cs_usage="\
50412 \`$as_me' instantiates files from templates according to the
50413 current configuration.
50414
50415 Usage: $0 [OPTIONS] [FILE]...
50416
50417 -h, --help print this help, then exit
50418 -V, --version print version number and configuration settings, then exit
50419 -q, --quiet do not print progress messages
50420 -d, --debug don't remove temporary files
50421 --recheck update $as_me by reconfiguring in the same conditions
50422 --file=FILE[:TEMPLATE]
50423 instantiate the configuration file FILE
50424 --header=FILE[:TEMPLATE]
50425 instantiate the configuration header FILE
50426
50427 Configuration files:
50428 $config_files
50429
50430 Configuration headers:
50431 $config_headers
50432
50433 Configuration commands:
50434 $config_commands
50435
50436 Report bugs to <bug-autoconf@gnu.org>."
50437
50438 _ACEOF
50439 cat >>$CONFIG_STATUS <<_ACEOF
50440 ac_cs_version="\\
50441 wxWidgets config.status 2.9.0
50442 configured by $0, generated by GNU Autoconf 2.61,
50443 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50444
50445 Copyright (C) 2006 Free Software Foundation, Inc.
50446 This config.status script is free software; the Free Software Foundation
50447 gives unlimited permission to copy, distribute and modify it."
50448
50449 ac_pwd='$ac_pwd'
50450 srcdir='$srcdir'
50451 INSTALL='$INSTALL'
50452 _ACEOF
50453
50454 cat >>$CONFIG_STATUS <<\_ACEOF
50455 # If no file are specified by the user, then we need to provide default
50456 # value. By we need to know if files were specified by the user.
50457 ac_need_defaults=:
50458 while test $# != 0
50459 do
50460 case $1 in
50461 --*=*)
50462 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50463 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50464 ac_shift=:
50465 ;;
50466 *)
50467 ac_option=$1
50468 ac_optarg=$2
50469 ac_shift=shift
50470 ;;
50471 esac
50472
50473 case $ac_option in
50474 # Handling of the options.
50475 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50476 ac_cs_recheck=: ;;
50477 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50478 echo "$ac_cs_version"; exit ;;
50479 --debug | --debu | --deb | --de | --d | -d )
50480 debug=: ;;
50481 --file | --fil | --fi | --f )
50482 $ac_shift
50483 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50484 ac_need_defaults=false;;
50485 --header | --heade | --head | --hea )
50486 $ac_shift
50487 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50488 ac_need_defaults=false;;
50489 --he | --h)
50490 # Conflict between --help and --header
50491 { echo "$as_me: error: ambiguous option: $1
50492 Try \`$0 --help' for more information." >&2
50493 { (exit 1); exit 1; }; };;
50494 --help | --hel | -h )
50495 echo "$ac_cs_usage"; exit ;;
50496 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50497 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50498 ac_cs_silent=: ;;
50499
50500 # This is an error.
50501 -*) { echo "$as_me: error: unrecognized option: $1
50502 Try \`$0 --help' for more information." >&2
50503 { (exit 1); exit 1; }; } ;;
50504
50505 *) ac_config_targets="$ac_config_targets $1"
50506 ac_need_defaults=false ;;
50507
50508 esac
50509 shift
50510 done
50511
50512 ac_configure_extra_args=
50513
50514 if $ac_cs_silent; then
50515 exec 6>/dev/null
50516 ac_configure_extra_args="$ac_configure_extra_args --silent"
50517 fi
50518
50519 _ACEOF
50520 cat >>$CONFIG_STATUS <<_ACEOF
50521 if \$ac_cs_recheck; then
50522 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50523 CONFIG_SHELL=$SHELL
50524 export CONFIG_SHELL
50525 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50526 fi
50527
50528 _ACEOF
50529 cat >>$CONFIG_STATUS <<\_ACEOF
50530 exec 5>>config.log
50531 {
50532 echo
50533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50534 ## Running $as_me. ##
50535 _ASBOX
50536 echo "$ac_log"
50537 } >&5
50538
50539 _ACEOF
50540 cat >>$CONFIG_STATUS <<_ACEOF
50541 #
50542 # INIT-COMMANDS
50543 #
50544
50545 CPP="$CPP"
50546 infile="$srcdir/include/wx/msw/genrcdefs.h"
50547 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50548
50549
50550 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50551 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50552 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50553 LN_S="${LN_S}"
50554
50555
50556 _ACEOF
50557
50558 cat >>$CONFIG_STATUS <<\_ACEOF
50559
50560 # Handling of arguments.
50561 for ac_config_target in $ac_config_targets
50562 do
50563 case $ac_config_target in
50564 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50565 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50566 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50567 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50568 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50569 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50570 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50571 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50572
50573 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50574 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50575 { (exit 1); exit 1; }; };;
50576 esac
50577 done
50578
50579
50580 # If the user did not use the arguments to specify the items to instantiate,
50581 # then the envvar interface is used. Set only those that are not.
50582 # We use the long form for the default assignment because of an extremely
50583 # bizarre bug on SunOS 4.1.3.
50584 if $ac_need_defaults; then
50585 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50586 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50587 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50588 fi
50589
50590 # Have a temporary directory for convenience. Make it in the build tree
50591 # simply because there is no reason against having it here, and in addition,
50592 # creating and moving files from /tmp can sometimes cause problems.
50593 # Hook for its removal unless debugging.
50594 # Note that there is a small window in which the directory will not be cleaned:
50595 # after its creation but before its name has been assigned to `$tmp'.
50596 $debug ||
50597 {
50598 tmp=
50599 trap 'exit_status=$?
50600 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50601 ' 0
50602 trap '{ (exit 1); exit 1; }' 1 2 13 15
50603 }
50604 # Create a (secure) tmp directory for tmp files.
50605
50606 {
50607 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50608 test -n "$tmp" && test -d "$tmp"
50609 } ||
50610 {
50611 tmp=./conf$$-$RANDOM
50612 (umask 077 && mkdir "$tmp")
50613 } ||
50614 {
50615 echo "$me: cannot create a temporary directory in ." >&2
50616 { (exit 1); exit 1; }
50617 }
50618
50619 #
50620 # Set up the sed scripts for CONFIG_FILES section.
50621 #
50622
50623 # No need to generate the scripts if there are no CONFIG_FILES.
50624 # This happens for instance when ./config.status config.h
50625 if test -n "$CONFIG_FILES"; then
50626
50627 _ACEOF
50628
50629
50630
50631 ac_delim='%!_!# '
50632 for ac_last_try in false false false false false :; do
50633 cat >conf$$subs.sed <<_ACEOF
50634 SHELL!$SHELL$ac_delim
50635 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50636 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50637 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50638 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50639 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50640 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50641 exec_prefix!$exec_prefix$ac_delim
50642 prefix!$prefix$ac_delim
50643 program_transform_name!$program_transform_name$ac_delim
50644 bindir!$bindir$ac_delim
50645 sbindir!$sbindir$ac_delim
50646 libexecdir!$libexecdir$ac_delim
50647 datarootdir!$datarootdir$ac_delim
50648 datadir!$datadir$ac_delim
50649 sysconfdir!$sysconfdir$ac_delim
50650 sharedstatedir!$sharedstatedir$ac_delim
50651 localstatedir!$localstatedir$ac_delim
50652 includedir!$includedir$ac_delim
50653 oldincludedir!$oldincludedir$ac_delim
50654 docdir!$docdir$ac_delim
50655 infodir!$infodir$ac_delim
50656 htmldir!$htmldir$ac_delim
50657 dvidir!$dvidir$ac_delim
50658 pdfdir!$pdfdir$ac_delim
50659 psdir!$psdir$ac_delim
50660 libdir!$libdir$ac_delim
50661 localedir!$localedir$ac_delim
50662 mandir!$mandir$ac_delim
50663 DEFS!$DEFS$ac_delim
50664 ECHO_C!$ECHO_C$ac_delim
50665 ECHO_N!$ECHO_N$ac_delim
50666 ECHO_T!$ECHO_T$ac_delim
50667 LIBS!$LIBS$ac_delim
50668 build_alias!$build_alias$ac_delim
50669 host_alias!$host_alias$ac_delim
50670 target_alias!$target_alias$ac_delim
50671 build!$build$ac_delim
50672 build_cpu!$build_cpu$ac_delim
50673 build_vendor!$build_vendor$ac_delim
50674 build_os!$build_os$ac_delim
50675 host!$host$ac_delim
50676 host_cpu!$host_cpu$ac_delim
50677 host_vendor!$host_vendor$ac_delim
50678 host_os!$host_os$ac_delim
50679 target!$target$ac_delim
50680 target_cpu!$target_cpu$ac_delim
50681 target_vendor!$target_vendor$ac_delim
50682 target_os!$target_os$ac_delim
50683 wx_top_builddir!$wx_top_builddir$ac_delim
50684 CC!$CC$ac_delim
50685 CFLAGS!$CFLAGS$ac_delim
50686 LDFLAGS!$LDFLAGS$ac_delim
50687 CPPFLAGS!$CPPFLAGS$ac_delim
50688 ac_ct_CC!$ac_ct_CC$ac_delim
50689 EXEEXT!$EXEEXT$ac_delim
50690 OBJEXT!$OBJEXT$ac_delim
50691 CPP!$CPP$ac_delim
50692 GREP!$GREP$ac_delim
50693 EGREP!$EGREP$ac_delim
50694 CXX!$CXX$ac_delim
50695 CXXFLAGS!$CXXFLAGS$ac_delim
50696 ac_ct_CXX!$ac_ct_CXX$ac_delim
50697 AR!$AR$ac_delim
50698 subdirs!$subdirs$ac_delim
50699 PKG_CONFIG!$PKG_CONFIG$ac_delim
50700 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50701 GTK_LIBS!$GTK_LIBS$ac_delim
50702 GTK_CONFIG!$GTK_CONFIG$ac_delim
50703 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50704 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50705 XMKMF!$XMKMF$ac_delim
50706 X_CFLAGS!$X_CFLAGS$ac_delim
50707 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50708 X_LIBS!$X_LIBS$ac_delim
50709 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50710 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50711 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50712 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50713 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50714 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50715 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50716 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50717 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50718 LIBICONV!$LIBICONV$ac_delim
50719 SDL_CONFIG!$SDL_CONFIG$ac_delim
50720 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50721 SDL_LIBS!$SDL_LIBS$ac_delim
50722 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50723 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50724 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50725 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50726 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50727 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50728 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50729 HILDON_LIBS!$HILDON_LIBS$ac_delim
50730 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50731 _ACEOF
50732
50733 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50734 break
50735 elif $ac_last_try; then
50736 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50737 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50738 { (exit 1); exit 1; }; }
50739 else
50740 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50741 fi
50742 done
50743
50744 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50745 if test -n "$ac_eof"; then
50746 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50747 ac_eof=`expr $ac_eof + 1`
50748 fi
50749
50750 cat >>$CONFIG_STATUS <<_ACEOF
50751 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50753 _ACEOF
50754 sed '
50755 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50756 s/^/s,@/; s/!/@,|#_!!_#|/
50757 :n
50758 t n
50759 s/'"$ac_delim"'$/,g/; t
50760 s/$/\\/; p
50761 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50762 ' >>$CONFIG_STATUS <conf$$subs.sed
50763 rm -f conf$$subs.sed
50764 cat >>$CONFIG_STATUS <<_ACEOF
50765 CEOF$ac_eof
50766 _ACEOF
50767
50768
50769 ac_delim='%!_!# '
50770 for ac_last_try in false false false false false :; do
50771 cat >conf$$subs.sed <<_ACEOF
50772 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50773 GST_CFLAGS!$GST_CFLAGS$ac_delim
50774 GST_LIBS!$GST_LIBS$ac_delim
50775 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50776 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50777 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50778 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50779 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50780 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50781 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50782 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50783 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50784 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50785 VENDOR!$VENDOR$ac_delim
50786 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50787 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50788 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50789 WXUNIV!$WXUNIV$ac_delim
50790 MONOLITHIC!$MONOLITHIC$ac_delim
50791 USE_PLUGINS!$USE_PLUGINS$ac_delim
50792 CXXWARNINGS!$CXXWARNINGS$ac_delim
50793 EXTRALIBS!$EXTRALIBS$ac_delim
50794 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50795 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50796 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50797 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50798 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50799 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50800 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50801 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50802 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50803 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50804 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50805 UNICODE!$UNICODE$ac_delim
50806 BUILD!$BUILD$ac_delim
50807 DEBUG_INFO!$DEBUG_INFO$ac_delim
50808 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50809 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50810 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50811 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50812 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50813 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50814 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50815 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50816 RANLIB!$RANLIB$ac_delim
50817 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50818 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50819 INSTALL_DATA!$INSTALL_DATA$ac_delim
50820 LN_S!$LN_S$ac_delim
50821 SET_MAKE!$SET_MAKE$ac_delim
50822 MAKE_SET!$MAKE_SET$ac_delim
50823 AROPTIONS!$AROPTIONS$ac_delim
50824 STRIP!$STRIP$ac_delim
50825 NM!$NM$ac_delim
50826 INSTALL_DIR!$INSTALL_DIR$ac_delim
50827 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50828 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50829 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50830 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50831 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50832 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50833 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50834 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50835 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50836 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50837 SO_SUFFIX!$SO_SUFFIX$ac_delim
50838 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50839 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50840 LIBPREFIX!$LIBPREFIX$ac_delim
50841 LIBEXT!$LIBEXT$ac_delim
50842 DLLPREFIX!$DLLPREFIX$ac_delim
50843 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50844 dlldir!$dlldir$ac_delim
50845 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50846 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50847 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50848 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50849 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50850 PIC_FLAG!$PIC_FLAG$ac_delim
50851 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50852 USE_SOVERSION!$USE_SOVERSION$ac_delim
50853 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50854 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50855 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50856 USE_MACVERSION!$USE_MACVERSION$ac_delim
50857 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50858 SONAME_FLAG!$SONAME_FLAG$ac_delim
50859 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50860 BK_DEPS!$BK_DEPS$ac_delim
50861 WINDRES!$WINDRES$ac_delim
50862 REZ!$REZ$ac_delim
50863 SETFILE!$SETFILE$ac_delim
50864 GCC_PCH!$GCC_PCH$ac_delim
50865 ICC_PCH!$ICC_PCH$ac_delim
50866 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50867 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50868 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50869 _ACEOF
50870
50871 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50872 break
50873 elif $ac_last_try; then
50874 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50875 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50876 { (exit 1); exit 1; }; }
50877 else
50878 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50879 fi
50880 done
50881
50882 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50883 if test -n "$ac_eof"; then
50884 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50885 ac_eof=`expr $ac_eof + 1`
50886 fi
50887
50888 cat >>$CONFIG_STATUS <<_ACEOF
50889 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50891 _ACEOF
50892 sed '
50893 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50894 s/^/s,@/; s/!/@,|#_!!_#|/
50895 :n
50896 t n
50897 s/'"$ac_delim"'$/,g/; t
50898 s/$/\\/; p
50899 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50900 ' >>$CONFIG_STATUS <conf$$subs.sed
50901 rm -f conf$$subs.sed
50902 cat >>$CONFIG_STATUS <<_ACEOF
50903 CEOF$ac_eof
50904 _ACEOF
50905
50906
50907 ac_delim='%!_!# '
50908 for ac_last_try in false false false false false :; do
50909 cat >conf$$subs.sed <<_ACEOF
50910 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50911 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50912 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50913 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50915 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50916 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50917 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50918 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50919 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50920 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50921 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50922 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50923 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50924 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50925 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50926 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50927 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50928 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50929 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50931 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50932 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50933 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50934 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50935 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50936 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50938 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50940 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50941 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50942 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50943 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50944 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50945 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50946 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50947 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50948 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50949 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50950 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50951 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50952 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50953 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50954 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50955 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50956 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50957 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50958 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50959 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50960 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50961 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50962 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50963 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50964 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50965 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50966 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50967 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50968 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50969 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50970 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50971 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50972 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50973 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50974 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50975 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50976 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50977 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50978 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50979 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50980 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50981 COND_SHARED_0!$COND_SHARED_0$ac_delim
50982 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50983 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50984 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50985 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50986 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50987 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50988 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50989 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50990 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50991 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50992 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50993 COND_SHARED_1!$COND_SHARED_1$ac_delim
50994 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50995 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50996 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50997 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50998 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50999 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51000 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51001 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51002 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51003 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51004 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51005 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51006 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51007 _ACEOF
51008
51009 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51010 break
51011 elif $ac_last_try; then
51012 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51013 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51014 { (exit 1); exit 1; }; }
51015 else
51016 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51017 fi
51018 done
51019
51020 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51021 if test -n "$ac_eof"; then
51022 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51023 ac_eof=`expr $ac_eof + 1`
51024 fi
51025
51026 cat >>$CONFIG_STATUS <<_ACEOF
51027 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51028 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51029 _ACEOF
51030 sed '
51031 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51032 s/^/s,@/; s/!/@,|#_!!_#|/
51033 :n
51034 t n
51035 s/'"$ac_delim"'$/,g/; t
51036 s/$/\\/; p
51037 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51038 ' >>$CONFIG_STATUS <conf$$subs.sed
51039 rm -f conf$$subs.sed
51040 cat >>$CONFIG_STATUS <<_ACEOF
51041 CEOF$ac_eof
51042 _ACEOF
51043
51044
51045 ac_delim='%!_!# '
51046 for ac_last_try in false false false false false :; do
51047 cat >conf$$subs.sed <<_ACEOF
51048 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51049 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51050 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51051 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51052 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51053 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51054 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51055 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51056 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51057 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51058 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51059 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51060 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51061 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51062 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51063 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51064 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51065 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51066 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51067 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51068 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51069 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51070 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51071 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51072 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51073 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51074 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51075 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51076 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51077 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51078 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51079 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51080 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51081 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51082 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51083 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51084 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51085 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51086 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51087 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51088 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51089 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51090 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51091 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51092 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51093 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51094 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51095 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51096 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51097 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51098 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51099 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51100 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51101 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51102 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51103 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51104 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51105 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51106 DEREZ!$DEREZ$ac_delim
51107 SHARED!$SHARED$ac_delim
51108 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51109 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51110 USE_GUI!$USE_GUI$ac_delim
51111 AFMINSTALL!$AFMINSTALL$ac_delim
51112 WIN32INSTALL!$WIN32INSTALL$ac_delim
51113 TOOLKIT!$TOOLKIT$ac_delim
51114 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51115 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51116 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51117 cross_compiling!$cross_compiling$ac_delim
51118 WIDGET_SET!$WIDGET_SET$ac_delim
51119 WX_RELEASE!$WX_RELEASE$ac_delim
51120 WX_VERSION!$WX_VERSION$ac_delim
51121 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51122 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51123 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51124 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51125 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51126 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51127 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51128 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51129 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51130 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51131 GUIDIST!$GUIDIST$ac_delim
51132 DISTDIR!$DISTDIR$ac_delim
51133 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51134 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51135 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51136 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51137 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51138 RESCOMP!$RESCOMP$ac_delim
51139 RESFLAGS!$RESFLAGS$ac_delim
51140 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51141 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51142 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51143 LIBWXMACRES!$LIBWXMACRES$ac_delim
51144 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51145 _ACEOF
51146
51147 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51148 break
51149 elif $ac_last_try; then
51150 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51151 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51152 { (exit 1); exit 1; }; }
51153 else
51154 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51155 fi
51156 done
51157
51158 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51159 if test -n "$ac_eof"; then
51160 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51161 ac_eof=`expr $ac_eof + 1`
51162 fi
51163
51164 cat >>$CONFIG_STATUS <<_ACEOF
51165 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51167 _ACEOF
51168 sed '
51169 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51170 s/^/s,@/; s/!/@,|#_!!_#|/
51171 :n
51172 t n
51173 s/'"$ac_delim"'$/,g/; t
51174 s/$/\\/; p
51175 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51176 ' >>$CONFIG_STATUS <conf$$subs.sed
51177 rm -f conf$$subs.sed
51178 cat >>$CONFIG_STATUS <<_ACEOF
51179 CEOF$ac_eof
51180 _ACEOF
51181
51182
51183 ac_delim='%!_!# '
51184 for ac_last_try in false false false false false :; do
51185 cat >conf$$subs.sed <<_ACEOF
51186 MACSETFILE!$MACSETFILE$ac_delim
51187 GCC!$GCC$ac_delim
51188 DLLTOOL!$DLLTOOL$ac_delim
51189 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51190 LIBOBJS!$LIBOBJS$ac_delim
51191 LTLIBOBJS!$LTLIBOBJS$ac_delim
51192 _ACEOF
51193
51194 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51195 break
51196 elif $ac_last_try; then
51197 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51198 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51199 { (exit 1); exit 1; }; }
51200 else
51201 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51202 fi
51203 done
51204
51205 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51206 if test -n "$ac_eof"; then
51207 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51208 ac_eof=`expr $ac_eof + 1`
51209 fi
51210
51211 cat >>$CONFIG_STATUS <<_ACEOF
51212 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51213 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51214 _ACEOF
51215 sed '
51216 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51217 s/^/s,@/; s/!/@,|#_!!_#|/
51218 :n
51219 t n
51220 s/'"$ac_delim"'$/,g/; t
51221 s/$/\\/; p
51222 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51223 ' >>$CONFIG_STATUS <conf$$subs.sed
51224 rm -f conf$$subs.sed
51225 cat >>$CONFIG_STATUS <<_ACEOF
51226 :end
51227 s/|#_!!_#|//g
51228 CEOF$ac_eof
51229 _ACEOF
51230
51231
51232 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51233 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51234 # trailing colons and then remove the whole line if VPATH becomes empty
51235 # (actually we leave an empty line to preserve line numbers).
51236 if test "x$srcdir" = x.; then
51237 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51238 s/:*\$(srcdir):*/:/
51239 s/:*\${srcdir}:*/:/
51240 s/:*@srcdir@:*/:/
51241 s/^\([^=]*=[ ]*\):*/\1/
51242 s/:*$//
51243 s/^[^=]*=[ ]*$//
51244 }'
51245 fi
51246
51247 cat >>$CONFIG_STATUS <<\_ACEOF
51248 fi # test -n "$CONFIG_FILES"
51249
51250
51251 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51252 do
51253 case $ac_tag in
51254 :[FHLC]) ac_mode=$ac_tag; continue;;
51255 esac
51256 case $ac_mode$ac_tag in
51257 :[FHL]*:*);;
51258 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51259 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51260 { (exit 1); exit 1; }; };;
51261 :[FH]-) ac_tag=-:-;;
51262 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51263 esac
51264 ac_save_IFS=$IFS
51265 IFS=:
51266 set x $ac_tag
51267 IFS=$ac_save_IFS
51268 shift
51269 ac_file=$1
51270 shift
51271
51272 case $ac_mode in
51273 :L) ac_source=$1;;
51274 :[FH])
51275 ac_file_inputs=
51276 for ac_f
51277 do
51278 case $ac_f in
51279 -) ac_f="$tmp/stdin";;
51280 *) # Look for the file first in the build tree, then in the source tree
51281 # (if the path is not absolute). The absolute path cannot be DOS-style,
51282 # because $ac_f cannot contain `:'.
51283 test -f "$ac_f" ||
51284 case $ac_f in
51285 [\\/$]*) false;;
51286 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51287 esac ||
51288 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51289 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51290 { (exit 1); exit 1; }; };;
51291 esac
51292 ac_file_inputs="$ac_file_inputs $ac_f"
51293 done
51294
51295 # Let's still pretend it is `configure' which instantiates (i.e., don't
51296 # use $as_me), people would be surprised to read:
51297 # /* config.h. Generated by config.status. */
51298 configure_input="Generated from "`IFS=:
51299 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51300 if test x"$ac_file" != x-; then
51301 configure_input="$ac_file. $configure_input"
51302 { echo "$as_me:$LINENO: creating $ac_file" >&5
51303 echo "$as_me: creating $ac_file" >&6;}
51304 fi
51305
51306 case $ac_tag in
51307 *:-:* | *:-) cat >"$tmp/stdin";;
51308 esac
51309 ;;
51310 esac
51311
51312 ac_dir=`$as_dirname -- "$ac_file" ||
51313 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51314 X"$ac_file" : 'X\(//\)[^/]' \| \
51315 X"$ac_file" : 'X\(//\)$' \| \
51316 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51317 echo X"$ac_file" |
51318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51319 s//\1/
51320 q
51321 }
51322 /^X\(\/\/\)[^/].*/{
51323 s//\1/
51324 q
51325 }
51326 /^X\(\/\/\)$/{
51327 s//\1/
51328 q
51329 }
51330 /^X\(\/\).*/{
51331 s//\1/
51332 q
51333 }
51334 s/.*/./; q'`
51335 { as_dir="$ac_dir"
51336 case $as_dir in #(
51337 -*) as_dir=./$as_dir;;
51338 esac
51339 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51340 as_dirs=
51341 while :; do
51342 case $as_dir in #(
51343 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51344 *) as_qdir=$as_dir;;
51345 esac
51346 as_dirs="'$as_qdir' $as_dirs"
51347 as_dir=`$as_dirname -- "$as_dir" ||
51348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51349 X"$as_dir" : 'X\(//\)[^/]' \| \
51350 X"$as_dir" : 'X\(//\)$' \| \
51351 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51352 echo X"$as_dir" |
51353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51354 s//\1/
51355 q
51356 }
51357 /^X\(\/\/\)[^/].*/{
51358 s//\1/
51359 q
51360 }
51361 /^X\(\/\/\)$/{
51362 s//\1/
51363 q
51364 }
51365 /^X\(\/\).*/{
51366 s//\1/
51367 q
51368 }
51369 s/.*/./; q'`
51370 test -d "$as_dir" && break
51371 done
51372 test -z "$as_dirs" || eval "mkdir $as_dirs"
51373 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51374 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51375 { (exit 1); exit 1; }; }; }
51376 ac_builddir=.
51377
51378 case "$ac_dir" in
51379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51380 *)
51381 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51382 # A ".." for each directory in $ac_dir_suffix.
51383 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51384 case $ac_top_builddir_sub in
51385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51387 esac ;;
51388 esac
51389 ac_abs_top_builddir=$ac_pwd
51390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51391 # for backward compatibility:
51392 ac_top_builddir=$ac_top_build_prefix
51393
51394 case $srcdir in
51395 .) # We are building in place.
51396 ac_srcdir=.
51397 ac_top_srcdir=$ac_top_builddir_sub
51398 ac_abs_top_srcdir=$ac_pwd ;;
51399 [\\/]* | ?:[\\/]* ) # Absolute name.
51400 ac_srcdir=$srcdir$ac_dir_suffix;
51401 ac_top_srcdir=$srcdir
51402 ac_abs_top_srcdir=$srcdir ;;
51403 *) # Relative name.
51404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51405 ac_top_srcdir=$ac_top_build_prefix$srcdir
51406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51407 esac
51408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51409
51410
51411 case $ac_mode in
51412 :F)
51413 #
51414 # CONFIG_FILE
51415 #
51416
51417 case $INSTALL in
51418 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51419 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51420 esac
51421 _ACEOF
51422
51423 cat >>$CONFIG_STATUS <<\_ACEOF
51424 # If the template does not know about datarootdir, expand it.
51425 # FIXME: This hack should be removed a few years after 2.60.
51426 ac_datarootdir_hack=; ac_datarootdir_seen=
51427
51428 case `sed -n '/datarootdir/ {
51429 p
51430 q
51431 }
51432 /@datadir@/p
51433 /@docdir@/p
51434 /@infodir@/p
51435 /@localedir@/p
51436 /@mandir@/p
51437 ' $ac_file_inputs` in
51438 *datarootdir*) ac_datarootdir_seen=yes;;
51439 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51440 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51441 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51442 _ACEOF
51443 cat >>$CONFIG_STATUS <<_ACEOF
51444 ac_datarootdir_hack='
51445 s&@datadir@&$datadir&g
51446 s&@docdir@&$docdir&g
51447 s&@infodir@&$infodir&g
51448 s&@localedir@&$localedir&g
51449 s&@mandir@&$mandir&g
51450 s&\\\${datarootdir}&$datarootdir&g' ;;
51451 esac
51452 _ACEOF
51453
51454 # Neutralize VPATH when `$srcdir' = `.'.
51455 # Shell code in configure.ac might set extrasub.
51456 # FIXME: do we really want to maintain this feature?
51457 cat >>$CONFIG_STATUS <<_ACEOF
51458 sed "$ac_vpsub
51459 $extrasub
51460 _ACEOF
51461 cat >>$CONFIG_STATUS <<\_ACEOF
51462 :t
51463 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51464 s&@configure_input@&$configure_input&;t t
51465 s&@top_builddir@&$ac_top_builddir_sub&;t t
51466 s&@srcdir@&$ac_srcdir&;t t
51467 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51468 s&@top_srcdir@&$ac_top_srcdir&;t t
51469 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51470 s&@builddir@&$ac_builddir&;t t
51471 s&@abs_builddir@&$ac_abs_builddir&;t t
51472 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51473 s&@INSTALL@&$ac_INSTALL&;t t
51474 $ac_datarootdir_hack
51475 " $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
51476
51477 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51478 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51479 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51480 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51481 which seems to be undefined. Please make sure it is defined." >&5
51482 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51483 which seems to be undefined. Please make sure it is defined." >&2;}
51484
51485 rm -f "$tmp/stdin"
51486 case $ac_file in
51487 -) cat "$tmp/out"; rm -f "$tmp/out";;
51488 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51489 esac
51490 ;;
51491 :H)
51492 #
51493 # CONFIG_HEADER
51494 #
51495 _ACEOF
51496
51497 # Transform confdefs.h into a sed script `conftest.defines', that
51498 # substitutes the proper values into config.h.in to produce config.h.
51499 rm -f conftest.defines conftest.tail
51500 # First, append a space to every undef/define line, to ease matching.
51501 echo 's/$/ /' >conftest.defines
51502 # Then, protect against being on the right side of a sed subst, or in
51503 # an unquoted here document, in config.status. If some macros were
51504 # called several times there might be several #defines for the same
51505 # symbol, which is useless. But do not sort them, since the last
51506 # AC_DEFINE must be honored.
51507 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51508 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51509 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51510 # PARAMS is the parameter list in the macro definition--in most cases, it's
51511 # just an empty string.
51512 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51513 ac_dB='\\)[ (].*,\\1define\\2'
51514 ac_dC=' '
51515 ac_dD=' ,'
51516
51517 uniq confdefs.h |
51518 sed -n '
51519 t rset
51520 :rset
51521 s/^[ ]*#[ ]*define[ ][ ]*//
51522 t ok
51523 d
51524 :ok
51525 s/[\\&,]/\\&/g
51526 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51527 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51528 ' >>conftest.defines
51529
51530 # Remove the space that was appended to ease matching.
51531 # Then replace #undef with comments. This is necessary, for
51532 # example, in the case of _POSIX_SOURCE, which is predefined and required
51533 # on some systems where configure will not decide to define it.
51534 # (The regexp can be short, since the line contains either #define or #undef.)
51535 echo 's/ $//
51536 s,^[ #]*u.*,/* & */,' >>conftest.defines
51537
51538 # Break up conftest.defines:
51539 ac_max_sed_lines=50
51540
51541 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51542 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51543 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51544 # et cetera.
51545 ac_in='$ac_file_inputs'
51546 ac_out='"$tmp/out1"'
51547 ac_nxt='"$tmp/out2"'
51548
51549 while :
51550 do
51551 # Write a here document:
51552 cat >>$CONFIG_STATUS <<_ACEOF
51553 # First, check the format of the line:
51554 cat >"\$tmp/defines.sed" <<\\CEOF
51555 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51556 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51557 b
51558 :def
51559 _ACEOF
51560 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51561 echo 'CEOF
51562 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51563 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51564 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51565 grep . conftest.tail >/dev/null || break
51566 rm -f conftest.defines
51567 mv conftest.tail conftest.defines
51568 done
51569 rm -f conftest.defines conftest.tail
51570
51571 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51572 cat >>$CONFIG_STATUS <<\_ACEOF
51573 if test x"$ac_file" != x-; then
51574 echo "/* $configure_input */" >"$tmp/config.h"
51575 cat "$ac_result" >>"$tmp/config.h"
51576 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51577 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51578 echo "$as_me: $ac_file is unchanged" >&6;}
51579 else
51580 rm -f $ac_file
51581 mv "$tmp/config.h" $ac_file
51582 fi
51583 else
51584 echo "/* $configure_input */"
51585 cat "$ac_result"
51586 fi
51587 rm -f "$tmp/out12"
51588 ;;
51589
51590 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51591 echo "$as_me: executing $ac_file commands" >&6;}
51592 ;;
51593 esac
51594
51595
51596 case $ac_file$ac_mode in
51597 "rcdefs.h":C)
51598 mkdir -p $outdir &&
51599 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51600 ;;
51601 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51602 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51603 "wx-config":C) rm -f wx-config
51604 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51605 ;;
51606
51607 esac
51608 done # for ac_tag
51609
51610
51611 { (exit 0); exit 0; }
51612 _ACEOF
51613 chmod +x $CONFIG_STATUS
51614 ac_clean_files=$ac_clean_files_save
51615
51616
51617 # configure is writing to config.log, and then calls config.status.
51618 # config.status does its own redirection, appending to config.log.
51619 # Unfortunately, on DOS this fails, as config.log is still kept open
51620 # by configure, so config.status won't be able to write to it; its
51621 # output is simply discarded. So we exec the FD to /dev/null,
51622 # effectively closing config.log, so it can be properly (re)opened and
51623 # appended to by config.status. When coming back to configure, we
51624 # need to make the FD available again.
51625 if test "$no_create" != yes; then
51626 ac_cs_success=:
51627 ac_config_status_args=
51628 test "$silent" = yes &&
51629 ac_config_status_args="$ac_config_status_args --quiet"
51630 exec 5>/dev/null
51631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51632 exec 5>>config.log
51633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51634 # would make configure fail if this is the last instruction.
51635 $ac_cs_success || { (exit 1); exit 1; }
51636 fi
51637
51638 #
51639 # CONFIG_SUBDIRS section.
51640 #
51641 if test "$no_recursion" != yes; then
51642
51643 # Remove --cache-file and --srcdir arguments so they do not pile up.
51644 ac_sub_configure_args=
51645 ac_prev=
51646 eval "set x $ac_configure_args"
51647 shift
51648 for ac_arg
51649 do
51650 if test -n "$ac_prev"; then
51651 ac_prev=
51652 continue
51653 fi
51654 case $ac_arg in
51655 -cache-file | --cache-file | --cache-fil | --cache-fi \
51656 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51657 ac_prev=cache_file ;;
51658 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51659 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51660 | --c=*)
51661 ;;
51662 --config-cache | -C)
51663 ;;
51664 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51665 ac_prev=srcdir ;;
51666 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51667 ;;
51668 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51669 ac_prev=prefix ;;
51670 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51671 ;;
51672 *)
51673 case $ac_arg in
51674 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51675 esac
51676 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51677 esac
51678 done
51679
51680 # Always prepend --prefix to ensure using the same prefix
51681 # in subdir configurations.
51682 ac_arg="--prefix=$prefix"
51683 case $ac_arg in
51684 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51685 esac
51686 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51687
51688 # Pass --silent
51689 if test "$silent" = yes; then
51690 ac_sub_configure_args="--silent $ac_sub_configure_args"
51691 fi
51692
51693 ac_popdir=`pwd`
51694 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51695
51696 # Do not complain, so a configure script can configure whichever
51697 # parts of a large source tree are present.
51698 test -d "$srcdir/$ac_dir" || continue
51699
51700 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51701 echo "$as_me:$LINENO: $ac_msg" >&5
51702 echo "$ac_msg" >&6
51703 { as_dir="$ac_dir"
51704 case $as_dir in #(
51705 -*) as_dir=./$as_dir;;
51706 esac
51707 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51708 as_dirs=
51709 while :; do
51710 case $as_dir in #(
51711 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51712 *) as_qdir=$as_dir;;
51713 esac
51714 as_dirs="'$as_qdir' $as_dirs"
51715 as_dir=`$as_dirname -- "$as_dir" ||
51716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51717 X"$as_dir" : 'X\(//\)[^/]' \| \
51718 X"$as_dir" : 'X\(//\)$' \| \
51719 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51720 echo X"$as_dir" |
51721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51722 s//\1/
51723 q
51724 }
51725 /^X\(\/\/\)[^/].*/{
51726 s//\1/
51727 q
51728 }
51729 /^X\(\/\/\)$/{
51730 s//\1/
51731 q
51732 }
51733 /^X\(\/\).*/{
51734 s//\1/
51735 q
51736 }
51737 s/.*/./; q'`
51738 test -d "$as_dir" && break
51739 done
51740 test -z "$as_dirs" || eval "mkdir $as_dirs"
51741 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51742 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51743 { (exit 1); exit 1; }; }; }
51744 ac_builddir=.
51745
51746 case "$ac_dir" in
51747 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51748 *)
51749 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51750 # A ".." for each directory in $ac_dir_suffix.
51751 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51752 case $ac_top_builddir_sub in
51753 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51754 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51755 esac ;;
51756 esac
51757 ac_abs_top_builddir=$ac_pwd
51758 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51759 # for backward compatibility:
51760 ac_top_builddir=$ac_top_build_prefix
51761
51762 case $srcdir in
51763 .) # We are building in place.
51764 ac_srcdir=.
51765 ac_top_srcdir=$ac_top_builddir_sub
51766 ac_abs_top_srcdir=$ac_pwd ;;
51767 [\\/]* | ?:[\\/]* ) # Absolute name.
51768 ac_srcdir=$srcdir$ac_dir_suffix;
51769 ac_top_srcdir=$srcdir
51770 ac_abs_top_srcdir=$srcdir ;;
51771 *) # Relative name.
51772 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51773 ac_top_srcdir=$ac_top_build_prefix$srcdir
51774 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51775 esac
51776 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51777
51778
51779 cd "$ac_dir"
51780
51781 # Check for guested configure; otherwise get Cygnus style configure.
51782 if test -f "$ac_srcdir/configure.gnu"; then
51783 ac_sub_configure=$ac_srcdir/configure.gnu
51784 elif test -f "$ac_srcdir/configure"; then
51785 ac_sub_configure=$ac_srcdir/configure
51786 elif test -f "$ac_srcdir/configure.in"; then
51787 # This should be Cygnus configure.
51788 ac_sub_configure=$ac_aux_dir/configure
51789 else
51790 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51791 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51792 ac_sub_configure=
51793 fi
51794
51795 # The recursion is here.
51796 if test -n "$ac_sub_configure"; then
51797 # Make the cache file name correct relative to the subdirectory.
51798 case $cache_file in
51799 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51800 *) # Relative name.
51801 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51802 esac
51803
51804 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51805 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51806 # The eval makes quoting arguments work.
51807 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51808 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51809 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51810 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51811 { (exit 1); exit 1; }; }
51812 fi
51813
51814 cd "$ac_popdir"
51815 done
51816 fi
51817
51818
51819 echo
51820 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51821 echo ""
51822 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51823 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51824
51825 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51826 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51827 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51828 if test "$wxUSE_UNICODE" = "yes"; then
51829 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51830 echo " (using UTF-8)"
51831 else
51832 echo " (using wchar_t)"
51833 fi
51834 else
51835 echo
51836 fi
51837
51838 echo " What level of wxWidgets compatibility should be enabled?"
51839 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51840 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51841
51842 echo " Which libraries should wxWidgets use?"
51843 echo " STL ${wxUSE_STL}"
51844 echo " jpeg ${wxUSE_LIBJPEG-none}"
51845 echo " png ${wxUSE_LIBPNG-none}"
51846 echo " regex ${wxUSE_REGEX}"
51847 echo " tiff ${wxUSE_LIBTIFF-none}"
51848 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51849 echo " xpm ${wxUSE_LIBXPM-none}"
51850 fi
51851 echo " zlib ${wxUSE_ZLIB}"
51852 echo " expat ${wxUSE_EXPAT}"
51853 echo " libmspack ${wxUSE_LIBMSPACK}"
51854 echo " sdl ${wxUSE_LIBSDL}"
51855
51856 echo ""
51857