]> git.saurik.com Git - wxWidgets.git/blob - configure
non-pch build fix
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 50845 2007-12-20 01:05:19Z VZ .
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_0
875 COND_PLATFORM_MSDOS_1
876 COND_PLATFORM_OS2_1
877 COND_PLATFORM_UNIX_0
878 COND_PLATFORM_UNIX_1
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
883 COND_PLATFORM_WIN32_0
884 COND_PLATFORM_WIN32_1
885 COND_SHARED_0
886 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
889 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
893 COND_SHARED_0_USE_STC_1
894 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
895 COND_SHARED_0_WXUSE_REGEX_BUILTIN
896 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
897 COND_SHARED_1
898 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
899 COND_TOOLKIT_
900 COND_TOOLKIT_COCOA
901 COND_TOOLKIT_COCOA_USE_GUI_1
902 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_DFB
904 COND_TOOLKIT_DFB_USE_GUI_1
905 COND_TOOLKIT_GTK
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_GTK_USE_GUI_1
914 COND_TOOLKIT_MAC
915 COND_TOOLKIT_MAC_USE_GUI_1
916 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MGL
918 COND_TOOLKIT_MGL_USE_GUI_1
919 COND_TOOLKIT_MOTIF
920 COND_TOOLKIT_MOTIF_USE_GUI_1
921 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW
923 COND_TOOLKIT_MSW_USE_GUI_1
924 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_WXUNIV_0
926 COND_TOOLKIT_PM
927 COND_TOOLKIT_PM_USE_GUI_1
928 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE
930 COND_TOOLKIT_WINCE_USE_GUI_1
931 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_WXUNIV_0
933 COND_TOOLKIT_X11
934 COND_TOOLKIT_X11_USE_GUI_1
935 COND_UNICODE_1
936 COND_USE_EXCEPTIONS_0
937 COND_USE_EXCEPTIONS_1
938 COND_USE_GUI_0
939 COND_USE_GUI_1
940 COND_USE_GUI_1_USE_OPENGL_1
941 COND_USE_GUI_1_WXUNIV_0
942 COND_USE_GUI_1_WXUNIV_1
943 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
946 COND_USE_OPENGL_1
947 COND_USE_PCH_1
948 COND_USE_PLUGINS_0
949 COND_USE_RTTI_0
950 COND_USE_RTTI_1
951 COND_USE_SOSYMLINKS_1
952 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
953 COND_USE_SOVERLINUX_1
954 COND_USE_SOVERSION_0
955 COND_USE_SOVERSOLARIS_1
956 COND_USE_STC_1
957 COND_USE_THREADS_0
958 COND_USE_THREADS_1
959 COND_USE_XRC_1
960 COND_WINDOWS_IMPLIB_1
961 COND_WITH_PLUGIN_SDL_1
962 COND_WXUNIV_0
963 COND_WXUNIV_1
964 COND_WXUSE_EXPAT_BUILTIN
965 COND_WXUSE_LIBJPEG_BUILTIN
966 COND_WXUSE_LIBPNG_BUILTIN
967 COND_WXUSE_LIBTIFF_BUILTIN
968 COND_WXUSE_REGEX_BUILTIN
969 COND_WXUSE_ZLIB_BUILTIN
970 DEREZ
971 SHARED
972 WX_LIBRARY_BASENAME_NOGUI
973 WX_LIBRARY_BASENAME_GUI
974 USE_GUI
975 AFMINSTALL
976 WIN32INSTALL
977 TOOLKIT
978 TOOLKIT_DIR
979 TOOLCHAIN_NAME
980 TOOLCHAIN_FULLNAME
981 cross_compiling
982 WIDGET_SET
983 WX_RELEASE
984 WX_VERSION
985 WX_SUBVERSION
986 WX_CHARTYPE
987 WX_DEBUGTYPE
988 WXCONFIG_CPPFLAGS
989 WXCONFIG_CFLAGS
990 WXCONFIG_CXXFLAGS
991 WXCONFIG_LIBS
992 WXCONFIG_RPATH
993 WXCONFIG_LDFLAGS_GUI
994 WXCONFIG_RESFLAGS
995 GUIDIST
996 DISTDIR
997 SAMPLES_SUBDIRS
998 LDFLAGS_GL
999 OPENGL_LIBS
1000 DMALLOC_LIBS
1001 WX_VERSION_TAG
1002 RESCOMP
1003 RESFLAGS
1004 RESPROGRAMOBJ
1005 WX_RESOURCES_MACOSX_ASCII
1006 WX_RESOURCES_MACOSX_DATA
1007 LIBWXMACRES
1008 POSTLINK_COMMAND
1009 MACSETFILE
1010 GCC
1011 DLLTOOL
1012 CPPUNIT_CONFIG
1013 LIBOBJS
1014 LTLIBOBJS'
1015 ac_subst_files=''
1016 ac_precious_vars='build_alias
1017 host_alias
1018 target_alias
1019 CC
1020 CFLAGS
1021 LDFLAGS
1022 LIBS
1023 CPPFLAGS
1024 CPP
1025 CXX
1026 CXXFLAGS
1027 CCC
1028 PKG_CONFIG
1029 DIRECTFB_CFLAGS
1030 DIRECTFB_LIBS
1031 XMKMF
1032 PANGOX_CFLAGS
1033 PANGOX_LIBS
1034 PANGOFT2_CFLAGS
1035 PANGOFT2_LIBS
1036 PANGOXFT_CFLAGS
1037 PANGOXFT_LIBS
1038 GTKPRINT_CFLAGS
1039 GTKPRINT_LIBS
1040 LIBGNOMEPRINTUI_CFLAGS
1041 LIBGNOMEPRINTUI_LIBS
1042 GNOMEVFS_CFLAGS
1043 GNOMEVFS_LIBS
1044 HILDON_CFLAGS
1045 HILDON_LIBS
1046 CAIRO_CFLAGS
1047 CAIRO_LIBS
1048 GST_CFLAGS
1049 GST_LIBS'
1050 ac_subdirs_all='src/tiff
1051 src/expat'
1052
1053 # Initialize some variables set by options.
1054 ac_init_help=
1055 ac_init_version=false
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file=/dev/null
1059 exec_prefix=NONE
1060 no_create=
1061 no_recursion=
1062 prefix=NONE
1063 program_prefix=NONE
1064 program_suffix=NONE
1065 program_transform_name=s,x,x,
1066 silent=
1067 site=
1068 srcdir=
1069 verbose=
1070 x_includes=NONE
1071 x_libraries=NONE
1072
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir='${exec_prefix}/bin'
1080 sbindir='${exec_prefix}/sbin'
1081 libexecdir='${exec_prefix}/libexec'
1082 datarootdir='${prefix}/share'
1083 datadir='${datarootdir}'
1084 sysconfdir='${prefix}/etc'
1085 sharedstatedir='${prefix}/com'
1086 localstatedir='${prefix}/var'
1087 includedir='${prefix}/include'
1088 oldincludedir='/usr/include'
1089 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir='${datarootdir}/info'
1091 htmldir='${docdir}'
1092 dvidir='${docdir}'
1093 pdfdir='${docdir}'
1094 psdir='${docdir}'
1095 libdir='${exec_prefix}/lib'
1096 localedir='${datarootdir}/locale'
1097 mandir='${datarootdir}/man'
1098
1099 ac_prev=
1100 ac_dashdash=
1101 for ac_option
1102 do
1103 # If the previous option needs an argument, assign it.
1104 if test -n "$ac_prev"; then
1105 eval $ac_prev=\$ac_option
1106 ac_prev=
1107 continue
1108 fi
1109
1110 case $ac_option in
1111 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1112 *) ac_optarg=yes ;;
1113 esac
1114
1115 # Accept the important Cygnus configure options, so we can diagnose typos.
1116
1117 case $ac_dashdash$ac_option in
1118 --)
1119 ac_dashdash=yes ;;
1120
1121 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1122 ac_prev=bindir ;;
1123 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1124 bindir=$ac_optarg ;;
1125
1126 -build | --build | --buil | --bui | --bu)
1127 ac_prev=build_alias ;;
1128 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1129 build_alias=$ac_optarg ;;
1130
1131 -cache-file | --cache-file | --cache-fil | --cache-fi \
1132 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1133 ac_prev=cache_file ;;
1134 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1135 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1136 cache_file=$ac_optarg ;;
1137
1138 --config-cache | -C)
1139 cache_file=config.cache ;;
1140
1141 -datadir | --datadir | --datadi | --datad)
1142 ac_prev=datadir ;;
1143 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1144 datadir=$ac_optarg ;;
1145
1146 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1147 | --dataroo | --dataro | --datar)
1148 ac_prev=datarootdir ;;
1149 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1150 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1151 datarootdir=$ac_optarg ;;
1152
1153 -disable-* | --disable-*)
1154 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1158 { (exit 1); exit 1; }; }
1159 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1160 eval enable_$ac_feature=no ;;
1161
1162 -docdir | --docdir | --docdi | --doc | --do)
1163 ac_prev=docdir ;;
1164 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1165 docdir=$ac_optarg ;;
1166
1167 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1168 ac_prev=dvidir ;;
1169 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1170 dvidir=$ac_optarg ;;
1171
1172 -enable-* | --enable-*)
1173 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1176 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1177 { (exit 1); exit 1; }; }
1178 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1179 eval enable_$ac_feature=\$ac_optarg ;;
1180
1181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1183 | --exec | --exe | --ex)
1184 ac_prev=exec_prefix ;;
1185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1187 | --exec=* | --exe=* | --ex=*)
1188 exec_prefix=$ac_optarg ;;
1189
1190 -gas | --gas | --ga | --g)
1191 # Obsolete; use --with-gas.
1192 with_gas=yes ;;
1193
1194 -help | --help | --hel | --he | -h)
1195 ac_init_help=long ;;
1196 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1197 ac_init_help=recursive ;;
1198 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1199 ac_init_help=short ;;
1200
1201 -host | --host | --hos | --ho)
1202 ac_prev=host_alias ;;
1203 -host=* | --host=* | --hos=* | --ho=*)
1204 host_alias=$ac_optarg ;;
1205
1206 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1207 ac_prev=htmldir ;;
1208 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1209 | --ht=*)
1210 htmldir=$ac_optarg ;;
1211
1212 -includedir | --includedir | --includedi | --included | --include \
1213 | --includ | --inclu | --incl | --inc)
1214 ac_prev=includedir ;;
1215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1216 | --includ=* | --inclu=* | --incl=* | --inc=*)
1217 includedir=$ac_optarg ;;
1218
1219 -infodir | --infodir | --infodi | --infod | --info | --inf)
1220 ac_prev=infodir ;;
1221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1222 infodir=$ac_optarg ;;
1223
1224 -libdir | --libdir | --libdi | --libd)
1225 ac_prev=libdir ;;
1226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1227 libdir=$ac_optarg ;;
1228
1229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1230 | --libexe | --libex | --libe)
1231 ac_prev=libexecdir ;;
1232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1233 | --libexe=* | --libex=* | --libe=*)
1234 libexecdir=$ac_optarg ;;
1235
1236 -localedir | --localedir | --localedi | --localed | --locale)
1237 ac_prev=localedir ;;
1238 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1239 localedir=$ac_optarg ;;
1240
1241 -localstatedir | --localstatedir | --localstatedi | --localstated \
1242 | --localstate | --localstat | --localsta | --localst | --locals)
1243 ac_prev=localstatedir ;;
1244 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1245 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1246 localstatedir=$ac_optarg ;;
1247
1248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1249 ac_prev=mandir ;;
1250 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1251 mandir=$ac_optarg ;;
1252
1253 -nfp | --nfp | --nf)
1254 # Obsolete; use --without-fp.
1255 with_fp=no ;;
1256
1257 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1258 | --no-cr | --no-c | -n)
1259 no_create=yes ;;
1260
1261 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1262 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1263 no_recursion=yes ;;
1264
1265 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1266 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1267 | --oldin | --oldi | --old | --ol | --o)
1268 ac_prev=oldincludedir ;;
1269 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1270 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1271 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1272 oldincludedir=$ac_optarg ;;
1273
1274 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1275 ac_prev=prefix ;;
1276 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1277 prefix=$ac_optarg ;;
1278
1279 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1280 | --program-pre | --program-pr | --program-p)
1281 ac_prev=program_prefix ;;
1282 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1283 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1284 program_prefix=$ac_optarg ;;
1285
1286 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1287 | --program-suf | --program-su | --program-s)
1288 ac_prev=program_suffix ;;
1289 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1290 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1291 program_suffix=$ac_optarg ;;
1292
1293 -program-transform-name | --program-transform-name \
1294 | --program-transform-nam | --program-transform-na \
1295 | --program-transform-n | --program-transform- \
1296 | --program-transform | --program-transfor \
1297 | --program-transfo | --program-transf \
1298 | --program-trans | --program-tran \
1299 | --progr-tra | --program-tr | --program-t)
1300 ac_prev=program_transform_name ;;
1301 -program-transform-name=* | --program-transform-name=* \
1302 | --program-transform-nam=* | --program-transform-na=* \
1303 | --program-transform-n=* | --program-transform-=* \
1304 | --program-transform=* | --program-transfor=* \
1305 | --program-transfo=* | --program-transf=* \
1306 | --program-trans=* | --program-tran=* \
1307 | --progr-tra=* | --program-tr=* | --program-t=*)
1308 program_transform_name=$ac_optarg ;;
1309
1310 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1311 ac_prev=pdfdir ;;
1312 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1313 pdfdir=$ac_optarg ;;
1314
1315 -psdir | --psdir | --psdi | --psd | --ps)
1316 ac_prev=psdir ;;
1317 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1318 psdir=$ac_optarg ;;
1319
1320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1321 | -silent | --silent | --silen | --sile | --sil)
1322 silent=yes ;;
1323
1324 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1325 ac_prev=sbindir ;;
1326 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1327 | --sbi=* | --sb=*)
1328 sbindir=$ac_optarg ;;
1329
1330 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1331 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1332 | --sharedst | --shareds | --shared | --share | --shar \
1333 | --sha | --sh)
1334 ac_prev=sharedstatedir ;;
1335 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1336 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1337 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1338 | --sha=* | --sh=*)
1339 sharedstatedir=$ac_optarg ;;
1340
1341 -site | --site | --sit)
1342 ac_prev=site ;;
1343 -site=* | --site=* | --sit=*)
1344 site=$ac_optarg ;;
1345
1346 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1347 ac_prev=srcdir ;;
1348 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1349 srcdir=$ac_optarg ;;
1350
1351 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1352 | --syscon | --sysco | --sysc | --sys | --sy)
1353 ac_prev=sysconfdir ;;
1354 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1355 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1356 sysconfdir=$ac_optarg ;;
1357
1358 -target | --target | --targe | --targ | --tar | --ta | --t)
1359 ac_prev=target_alias ;;
1360 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1361 target_alias=$ac_optarg ;;
1362
1363 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1364 verbose=yes ;;
1365
1366 -version | --version | --versio | --versi | --vers | -V)
1367 ac_init_version=: ;;
1368
1369 -with-* | --with-*)
1370 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1371 # Reject names that are not valid shell variable names.
1372 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373 { echo "$as_me: error: invalid package name: $ac_package" >&2
1374 { (exit 1); exit 1; }; }
1375 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1376 eval with_$ac_package=\$ac_optarg ;;
1377
1378 -without-* | --without-*)
1379 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_$ac_package=no ;;
1386
1387 --x)
1388 # Obsolete; use --with-x.
1389 with_x=yes ;;
1390
1391 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1392 | --x-incl | --x-inc | --x-in | --x-i)
1393 ac_prev=x_includes ;;
1394 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1395 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1396 x_includes=$ac_optarg ;;
1397
1398 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1399 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1400 ac_prev=x_libraries ;;
1401 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1402 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403 x_libraries=$ac_optarg ;;
1404
1405 -*) { echo "$as_me: error: unrecognized option: $ac_option
1406 Try \`$0 --help' for more information." >&2
1407 { (exit 1); exit 1; }; }
1408 ;;
1409
1410 *=*)
1411 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1414 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1415 { (exit 1); exit 1; }; }
1416 eval $ac_envvar=\$ac_optarg
1417 export $ac_envvar ;;
1418
1419 *)
1420 # FIXME: should be removed in autoconf 3.0.
1421 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1422 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1423 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1424 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1425 ;;
1426
1427 esac
1428 done
1429
1430 if test -n "$ac_prev"; then
1431 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1432 { echo "$as_me: error: missing argument to $ac_option" >&2
1433 { (exit 1); exit 1; }; }
1434 fi
1435
1436 # Be sure to have absolute directory names.
1437 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1441 do
1442 eval ac_val=\$$ac_var
1443 case $ac_val in
1444 [\\/$]* | ?:[\\/]* ) continue;;
1445 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1446 esac
1447 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1448 { (exit 1); exit 1; }; }
1449 done
1450
1451 # There might be people who depend on the old broken behavior: `$host'
1452 # used to hold the argument of --host etc.
1453 # FIXME: To remove some day.
1454 build=$build_alias
1455 host=$host_alias
1456 target=$target_alias
1457
1458 # FIXME: To remove some day.
1459 if test "x$host_alias" != x; then
1460 if test "x$build_alias" = x; then
1461 cross_compiling=maybe
1462 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1463 If a cross compiler is detected then cross compile mode will be used." >&2
1464 elif test "x$build_alias" != "x$host_alias"; then
1465 cross_compiling=yes
1466 fi
1467 fi
1468
1469 ac_tool_prefix=
1470 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1471
1472 test "$silent" = yes && exec 6>/dev/null
1473
1474
1475 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1476 ac_ls_di=`ls -di .` &&
1477 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1478 { echo "$as_me: error: Working directory cannot be determined" >&2
1479 { (exit 1); exit 1; }; }
1480 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1481 { echo "$as_me: error: pwd does not report name of working directory" >&2
1482 { (exit 1); exit 1; }; }
1483
1484
1485 # Find the source files, if location was not specified.
1486 if test -z "$srcdir"; then
1487 ac_srcdir_defaulted=yes
1488 # Try the directory containing this script, then the parent directory.
1489 ac_confdir=`$as_dirname -- "$0" ||
1490 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491 X"$0" : 'X\(//\)[^/]' \| \
1492 X"$0" : 'X\(//\)$' \| \
1493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1494 echo X"$0" |
1495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1496 s//\1/
1497 q
1498 }
1499 /^X\(\/\/\)[^/].*/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\/\)$/{
1504 s//\1/
1505 q
1506 }
1507 /^X\(\/\).*/{
1508 s//\1/
1509 q
1510 }
1511 s/.*/./; q'`
1512 srcdir=$ac_confdir
1513 if test ! -r "$srcdir/$ac_unique_file"; then
1514 srcdir=..
1515 fi
1516 else
1517 ac_srcdir_defaulted=no
1518 fi
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1521 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1522 { (exit 1); exit 1; }; }
1523 fi
1524 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1525 ac_abs_confdir=`(
1526 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1527 { (exit 1); exit 1; }; }
1528 pwd)`
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 srcdir=.
1532 fi
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1536 case $srcdir in
1537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1538 esac
1539 for ac_var in $ac_precious_vars; do
1540 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_env_${ac_var}_value=\$${ac_var}
1542 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1544 done
1545
1546 #
1547 # Report the --help message.
1548 #
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1552 cat <<_ACEOF
1553 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1554
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1556
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1559
1560 Defaults for the options are specified in brackets.
1561
1562 Configuration:
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1572
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 [PREFIX]
1578
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1583
1584 For better control, use the options below.
1585
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1606 _ACEOF
1607
1608 cat <<\_ACEOF
1609
1610 X features:
1611 --x-includes=DIR X include files are in DIR
1612 --x-libraries=DIR X library files are in DIR
1613
1614 System types:
1615 --build=BUILD configure for building on BUILD [guessed]
1616 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1617 --target=TARGET configure for building compilers for TARGET [HOST]
1618 _ACEOF
1619 fi
1620
1621 if test -n "$ac_init_help"; then
1622 case $ac_init_help in
1623 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1624 esac
1625 cat <<\_ACEOF
1626
1627 Optional Features:
1628 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1629 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1630 --disable-gui don't build GUI parts of the library
1631 --enable-monolithic build wxWidgets as single library
1632 --enable-plugins build parts of wxWidgets as loadable components
1633 --enable-official_build official build of wxWidgets (win32 DLL only)
1634 --enable-vendor=VENDOR vendor name (win32 DLL only)
1635 --disable-all-features disable all optional features to build minimal library
1636 --enable-universal use wxWidgets GUI controls instead of native ones
1637 --enable-nanox use NanoX
1638 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1639 --enable-gpe use GNOME PDA Environment features if possible
1640 --disable-shared create static library instead of shared
1641 --disable-optimise create optimised code
1642 --enable-debug same as debug_flag and debug_info
1643 --enable-stl use STL for containers
1644 --enable-std_iostreams use standard C++ stream classes
1645 --enable-std_string use standard C++ string classes
1646 --disable-unicode compile without Unicode support
1647 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1648 --enable-utf8 use UTF-8 representation for strings (Unix only)
1649 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1650 --enable-extended_rtti use extended RTTI (XTI)
1651 --enable-omf use OMF object format
1652 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1653 --enable-debug_info create code with debugging information
1654 --enable-debug_gdb create code with extra GDB debugging information
1655 --enable-debug_cntxt use wxDebugContext
1656 --enable-mem_tracing create code with memory tracing
1657 --enable-profile create code with profiling information
1658 --enable-no_rtti create code without RTTI information
1659 --enable-no_exceptions create code without C++ exceptions handling
1660 --enable-permissive compile code disregarding strict ANSI
1661 --enable-no_deps create code without dependency information
1662 --disable-vararg_macros don't use vararg macros, even if they are supported
1663 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1664 --enable-compat26 enable wxWidgets 2.6 compatibility
1665 --disable-compat28 disable wxWidgets 2.8 compatibility
1666 --disable-rpath disable use of rpath for uninstalled builds
1667 --enable-objc_uniquifying enable Objective-C class name uniquifying
1668 --disable-visibility disable use of ELF symbols visibility even if supported
1669 --enable-intl use internationalization system
1670 --enable-config use wxConfig (and derived) classes
1671 --enable-protocols use wxProtocol and derived classes
1672 --enable-ftp use wxFTP (requires wxProtocol
1673 --enable-http use wxHTTP (requires wxProtocol
1674 --enable-fileproto use wxFileProto class (requires wxProtocol
1675 --enable-sockets use socket/network classes
1676 --enable-ipv6 enable IPv6 support in wxSocket
1677 --enable-ole use OLE classes (Win32 only)
1678 --enable-dataobj use data object classes
1679 --enable-ipc use interprocess communication (wxSocket etc.)
1680 --enable-baseevtloop use event loop in console programs too
1681 --enable-epollloop use wxEpollDispatcher class (Linux only)
1682 --enable-selectloop use wxSelectDispatcher class
1683 --enable-apple_ieee use the Apple IEEE codec
1684 --enable-arcstream use wxArchive streams
1685 --enable-base64 use base64 encoding/decoding functions
1686 --enable-backtrace use wxStackWalker class for getting backtraces
1687 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1688 --enable-cmdline use wxCmdLineParser class
1689 --enable-datetime use wxDateTime class
1690 --enable-debugreport use wxDebugReport class
1691 --enable-dialupman use dialup network classes
1692 --enable-dynlib use wxLibrary class for DLL loading
1693 --enable-dynamicloader use (new) wxDynamicLibrary class
1694 --enable-exceptions build exception-safe library
1695 --enable-ffile use wxFFile class
1696 --enable-file use wxFile class
1697 --enable-filesystem use virtual file systems classes
1698 --enable-fontenum use wxFontEnumerator class
1699 --enable-fontmap use font encodings conversion classes
1700 --enable-fs_archive use virtual archive filesystems
1701 --enable-fs_inet use virtual HTTP/FTP filesystems
1702 --enable-fs_zip now replaced by fs_archive
1703 --enable-geometry use geometry class
1704 --enable-log use logging system
1705 --enable-longlong use wxLongLong class
1706 --enable-mimetype use wxMimeTypesManager
1707 --enable-snglinst use wxSingleInstanceChecker class
1708 --enable-stdpaths use wxStandardPaths class
1709 --enable-stopwatch use wxStopWatch class
1710 --enable-streams use wxStream etc classes
1711 --enable-sysoptions use wxSystemOptions
1712 --enable-tarstream use wxTar streams
1713 --enable-textbuf use wxTextBuffer class
1714 --enable-textfile use wxTextFile class
1715 --enable-timer use wxTimer class
1716 --enable-sound use wxSound class
1717 --enable-mediactrl use wxMediaCtrl class
1718 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1719 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1720 --enable-zipstream use wxZip streams
1721 --enable-url use wxURL class
1722 --enable-variant use wxVariant class
1723 --enable-protocol use wxProtocol class
1724 --enable-protocol-http HTTP support in wxProtocol
1725 --enable-protocol-ftp FTP support in wxProtocol
1726 --enable-protocol-file FILE support in wxProtocol
1727 --enable-threads use threads
1728 --enable-iniconf use wxIniConfig (Win32 only)
1729 --enable-regkey use wxRegKey class (Win32 only)
1730 --enable-docview use document view architecture
1731 --enable-help use help subsystem
1732 --enable-mshtmlhelp use MS HTML Help (win32)
1733 --enable-html use wxHTML sub-library
1734 --enable-htmlhelp use wxHTML-based help
1735 --enable-xrc use XRC resources sub-library
1736 --enable-aui use AUI docking library
1737 --enable-stc use wxStyledTextCtrl library
1738 --enable-constraints use layout-constraints system
1739 --enable-printarch use printing architecture
1740 --enable-mdi use multiple document interface architecture
1741 --enable-mdidoc use docview architecture with MDI
1742 --enable-loggui use standard GUI logger
1743 --enable-logwin use wxLogWindow
1744 --enable-logdialog use wxLogDialog
1745 --enable-webkit use wxWebKitCtrl (Mac)
1746 --enable-richtext use wxRichTextCtrl
1747 --enable-graphics_ctx use graphics context 2D drawing API
1748 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1749 --enable-svg use wxSVGFileDC device context
1750 --enable-clipboard use wxClipboard class
1751 --enable-dnd use Drag'n'Drop classes
1752 --enable-metafile use win32 metafiles
1753 --disable-controls disable compilation of all standard controls
1754 --enable-accel use accelerators
1755 --enable-animatectrl use wxAnimationCtrl class
1756 --enable-button use wxButton class
1757 --enable-bmpbutton use wxBitmapButton class
1758 --enable-bmpcombobox use wxBitmapComboBox class
1759 --enable-calendar use wxCalendarCtrl class
1760 --enable-caret use wxCaret class
1761 --enable-checkbox use wxCheckBox class
1762 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1763 --enable-choice use wxChoice class
1764 --enable-choicebook use wxChoicebook class
1765 --enable-collpane use wxCollapsiblePane class
1766 --enable-colourpicker use wxColourPickerCtrl class
1767 --enable-combobox use wxComboBox class
1768 --enable-comboctrl use wxComboCtrl class
1769 --enable-datepick use wxDatePickerCtrl class
1770 --enable-dirpicker use wxDirPickerCtrl class
1771 --enable-display use wxDisplay class
1772 --enable-detect_sm use code to detect X11 session manager
1773 --enable-editablebox use wxEditableListBox class
1774 --enable-filepicker use wxFilePickerCtrl class
1775 --enable-filectrl use wxFileCtrl class
1776 --enable-fontpicker use wxFontPickerCtrl class
1777 --enable-gauge use wxGauge class
1778 --enable-grid use wxGrid class
1779 --enable-dataviewctrl use wxDataViewCtrl class
1780 --enable-hyperlink use wxHyperlinkCtrl class
1781 --enable-imaglist use wxImageList class
1782 --enable-listbook use wxListbook class
1783 --enable-listbox use wxListBox class
1784 --enable-listctrl use wxListCtrl class
1785 --enable-notebook use wxNotebook class
1786 --enable-notifmsg use wxNotificationMessage class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile (Win32 only)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-palette use wxPalette class
1840 --enable-image use wxImage class
1841 --enable-gif use gif images (GIF file format)
1842 --enable-pcx use pcx images (PCX file format)
1843 --enable-tga use tga images (TGA file format)
1844 --enable-iff use iff images (IFF file format)
1845 --enable-pnm use pnm images (PNM file format)
1846 --enable-xpm use xpm images (XPM file format)
1847 --enable-icocur use Windows ICO and CUR formats
1848 --enable-dccache cache temporary wxDC objects (Win32 only)
1849 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1850 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1851 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1852 --enable-wxdib use wxDIB class (Win32 only)
1853 --disable-largefile omit support for large files
1854 --disable-gtktest do not try to compile and run a test GTK+ program
1855 --disable-gtktest Do not try to compile and run a test GTK program
1856 --disable-sdltest Do not try to compile and run a test SDL program
1857 --enable-omf use OMF object format (OS/2)
1858 --disable-dependency-tracking
1859 don't use dependency tracking even if the compiler
1860 can
1861 --disable-precomp-headers
1862 don't use precompiled headers even if compiler can
1863
1864 Optional Packages:
1865 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1866 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1867 --without-subdirs don't generate makefiles for samples/demos/...
1868 --with-flavour=NAME specify a name to identify this build
1869 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1870 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1871 --with-motif use Motif/Lesstif
1872 --with-mac use Mac OS X
1873 --with-cocoa use Cocoa
1874 --with-wine use Wine
1875 --with-msw use MS-Windows
1876 --with-pm use OS/2 Presentation Manager
1877 --with-mgl use SciTech MGL
1878 --with-directfb use DirectFB
1879 --with-microwin use MicroWindows
1880 --with-x11 use X11
1881 --with-libpng use libpng (PNG image format)
1882 --with-libjpeg use libjpeg (JPEG file format)
1883 --with-libtiff use libtiff (TIFF file format)
1884 --with-libxpm use libxpm (XPM file format)
1885 --with-libmspack use libmspack (CHM help files loading)
1886 --without-gtkprint don't use GTK printing support
1887 --without-gnomeprint don't use GNOME printing libraries
1888 --with-gnomevfs use GNOME VFS for associating MIME types
1889 --with-hildon use Hildon framework for Nokia 770
1890 --with-opengl use OpenGL (or Mesa)
1891 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1892 --with-sdl use SDL for audio on Unix
1893 --with-regex enable support for wxRegEx class
1894 --with-zlib use zlib for LZW compression
1895 --with-expat enable XML support using expat parser
1896 --with-macosx-sdk=PATH use an OS X SDK at PATH
1897 --with-macosx-version-min=VER build binaries which require at least this OS X version
1898 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1899 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1900 --with-x use the X Window System
1901 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1902 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1903 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1904 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1905 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1906
1907 Some influential environment variables:
1908 CC C compiler command
1909 CFLAGS C compiler flags
1910 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1911 nonstandard directory <lib dir>
1912 LIBS libraries to pass to the linker, e.g. -l<library>
1913 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1914 you have headers in a nonstandard directory <include dir>
1915 CPP C preprocessor
1916 CXX C++ compiler command
1917 CXXFLAGS C++ compiler flags
1918 PKG_CONFIG path to pkg-config utility
1919 DIRECTFB_CFLAGS
1920 C compiler flags for DIRECTFB, overriding pkg-config
1921 DIRECTFB_LIBS
1922 linker flags for DIRECTFB, overriding pkg-config
1923 XMKMF Path to xmkmf, Makefile generator for X Window System
1924 PANGOX_CFLAGS
1925 C compiler flags for PANGOX, overriding pkg-config
1926 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1927 PANGOFT2_CFLAGS
1928 C compiler flags for PANGOFT2, overriding pkg-config
1929 PANGOFT2_LIBS
1930 linker flags for PANGOFT2, overriding pkg-config
1931 PANGOXFT_CFLAGS
1932 C compiler flags for PANGOXFT, overriding pkg-config
1933 PANGOXFT_LIBS
1934 linker flags for PANGOXFT, overriding pkg-config
1935 GTKPRINT_CFLAGS
1936 C compiler flags for GTKPRINT, overriding pkg-config
1937 GTKPRINT_LIBS
1938 linker flags for GTKPRINT, overriding pkg-config
1939 LIBGNOMEPRINTUI_CFLAGS
1940 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1941 LIBGNOMEPRINTUI_LIBS
1942 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1943 GNOMEVFS_CFLAGS
1944 C compiler flags for GNOMEVFS, overriding pkg-config
1945 GNOMEVFS_LIBS
1946 linker flags for GNOMEVFS, overriding pkg-config
1947 HILDON_CFLAGS
1948 C compiler flags for HILDON, overriding pkg-config
1949 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1950 CAIRO_CFLAGS
1951 C compiler flags for CAIRO, overriding pkg-config
1952 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1953 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1954 GST_LIBS linker flags for GST, overriding pkg-config
1955
1956 Use these variables to override the choices made by `configure' or to help
1957 it to find libraries and programs with nonstandard names/locations.
1958
1959 Report bugs to <wx-dev@lists.wxwidgets.org>.
1960 _ACEOF
1961 ac_status=$?
1962 fi
1963
1964 if test "$ac_init_help" = "recursive"; then
1965 # If there are subdirs, report their specific --help.
1966 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1967 test -d "$ac_dir" || continue
1968 ac_builddir=.
1969
1970 case "$ac_dir" in
1971 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1972 *)
1973 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1974 # A ".." for each directory in $ac_dir_suffix.
1975 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1976 case $ac_top_builddir_sub in
1977 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1978 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1979 esac ;;
1980 esac
1981 ac_abs_top_builddir=$ac_pwd
1982 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1983 # for backward compatibility:
1984 ac_top_builddir=$ac_top_build_prefix
1985
1986 case $srcdir in
1987 .) # We are building in place.
1988 ac_srcdir=.
1989 ac_top_srcdir=$ac_top_builddir_sub
1990 ac_abs_top_srcdir=$ac_pwd ;;
1991 [\\/]* | ?:[\\/]* ) # Absolute name.
1992 ac_srcdir=$srcdir$ac_dir_suffix;
1993 ac_top_srcdir=$srcdir
1994 ac_abs_top_srcdir=$srcdir ;;
1995 *) # Relative name.
1996 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1997 ac_top_srcdir=$ac_top_build_prefix$srcdir
1998 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1999 esac
2000 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2001
2002 cd "$ac_dir" || { ac_status=$?; continue; }
2003 # Check for guested configure.
2004 if test -f "$ac_srcdir/configure.gnu"; then
2005 echo &&
2006 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2007 elif test -f "$ac_srcdir/configure"; then
2008 echo &&
2009 $SHELL "$ac_srcdir/configure" --help=recursive
2010 else
2011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2012 fi || ac_status=$?
2013 cd "$ac_pwd" || { ac_status=$?; break; }
2014 done
2015 fi
2016
2017 test -n "$ac_init_help" && exit $ac_status
2018 if $ac_init_version; then
2019 cat <<\_ACEOF
2020 wxWidgets configure 2.9.0
2021 generated by GNU Autoconf 2.61
2022
2023 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2024 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2025 This configure script is free software; the Free Software Foundation
2026 gives unlimited permission to copy, distribute and modify it.
2027 _ACEOF
2028 exit
2029 fi
2030 cat >config.log <<_ACEOF
2031 This file contains any messages produced by compilers while
2032 running configure, to aid debugging if configure makes a mistake.
2033
2034 It was created by wxWidgets $as_me 2.9.0, which was
2035 generated by GNU Autoconf 2.61. Invocation command line was
2036
2037 $ $0 $@
2038
2039 _ACEOF
2040 exec 5>>config.log
2041 {
2042 cat <<_ASUNAME
2043 ## --------- ##
2044 ## Platform. ##
2045 ## --------- ##
2046
2047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2052
2053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2054 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2055
2056 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2057 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2059 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2060 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2061 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2062 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2063
2064 _ASUNAME
2065
2066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 for as_dir in $PATH
2068 do
2069 IFS=$as_save_IFS
2070 test -z "$as_dir" && as_dir=.
2071 echo "PATH: $as_dir"
2072 done
2073 IFS=$as_save_IFS
2074
2075 } >&5
2076
2077 cat >&5 <<_ACEOF
2078
2079
2080 ## ----------- ##
2081 ## Core tests. ##
2082 ## ----------- ##
2083
2084 _ACEOF
2085
2086
2087 # Keep a trace of the command line.
2088 # Strip out --no-create and --no-recursion so they do not pile up.
2089 # Strip out --silent because we don't want to record it for future runs.
2090 # Also quote any args containing shell meta-characters.
2091 # Make two passes to allow for proper duplicate-argument suppression.
2092 ac_configure_args=
2093 ac_configure_args0=
2094 ac_configure_args1=
2095 ac_must_keep_next=false
2096 for ac_pass in 1 2
2097 do
2098 for ac_arg
2099 do
2100 case $ac_arg in
2101 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2103 | -silent | --silent | --silen | --sile | --sil)
2104 continue ;;
2105 *\'*)
2106 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2107 esac
2108 case $ac_pass in
2109 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2110 2)
2111 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2112 if test $ac_must_keep_next = true; then
2113 ac_must_keep_next=false # Got value, back to normal.
2114 else
2115 case $ac_arg in
2116 *=* | --config-cache | -C | -disable-* | --disable-* \
2117 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2118 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2119 | -with-* | --with-* | -without-* | --without-* | --x)
2120 case "$ac_configure_args0 " in
2121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2122 esac
2123 ;;
2124 -* ) ac_must_keep_next=true ;;
2125 esac
2126 fi
2127 ac_configure_args="$ac_configure_args '$ac_arg'"
2128 ;;
2129 esac
2130 done
2131 done
2132 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2133 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2134
2135 # When interrupted or exit'd, cleanup temporary files, and complete
2136 # config.log. We remove comments because anyway the quotes in there
2137 # would cause problems or look ugly.
2138 # WARNING: Use '\'' to represent an apostrophe within the trap.
2139 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2140 trap 'exit_status=$?
2141 # Save into config.log some information that might help in debugging.
2142 {
2143 echo
2144
2145 cat <<\_ASBOX
2146 ## ---------------- ##
2147 ## Cache variables. ##
2148 ## ---------------- ##
2149 _ASBOX
2150 echo
2151 # The following way of writing the cache mishandles newlines in values,
2152 (
2153 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2154 eval ac_val=\$$ac_var
2155 case $ac_val in #(
2156 *${as_nl}*)
2157 case $ac_var in #(
2158 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2159 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2160 esac
2161 case $ac_var in #(
2162 _ | IFS | as_nl) ;; #(
2163 *) $as_unset $ac_var ;;
2164 esac ;;
2165 esac
2166 done
2167 (set) 2>&1 |
2168 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2169 *${as_nl}ac_space=\ *)
2170 sed -n \
2171 "s/'\''/'\''\\\\'\'''\''/g;
2172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2173 ;; #(
2174 *)
2175 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2176 ;;
2177 esac |
2178 sort
2179 )
2180 echo
2181
2182 cat <<\_ASBOX
2183 ## ----------------- ##
2184 ## Output variables. ##
2185 ## ----------------- ##
2186 _ASBOX
2187 echo
2188 for ac_var in $ac_subst_vars
2189 do
2190 eval ac_val=\$$ac_var
2191 case $ac_val in
2192 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2193 esac
2194 echo "$ac_var='\''$ac_val'\''"
2195 done | sort
2196 echo
2197
2198 if test -n "$ac_subst_files"; then
2199 cat <<\_ASBOX
2200 ## ------------------- ##
2201 ## File substitutions. ##
2202 ## ------------------- ##
2203 _ASBOX
2204 echo
2205 for ac_var in $ac_subst_files
2206 do
2207 eval ac_val=\$$ac_var
2208 case $ac_val in
2209 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2210 esac
2211 echo "$ac_var='\''$ac_val'\''"
2212 done | sort
2213 echo
2214 fi
2215
2216 if test -s confdefs.h; then
2217 cat <<\_ASBOX
2218 ## ----------- ##
2219 ## confdefs.h. ##
2220 ## ----------- ##
2221 _ASBOX
2222 echo
2223 cat confdefs.h
2224 echo
2225 fi
2226 test "$ac_signal" != 0 &&
2227 echo "$as_me: caught signal $ac_signal"
2228 echo "$as_me: exit $exit_status"
2229 } >&5
2230 rm -f core *.core core.conftest.* &&
2231 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2232 exit $exit_status
2233 ' 0
2234 for ac_signal in 1 2 13 15; do
2235 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2236 done
2237 ac_signal=0
2238
2239 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2240 rm -f -r conftest* confdefs.h
2241
2242 # Predefined preprocessor variables.
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_NAME "$PACKAGE_NAME"
2246 _ACEOF
2247
2248
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2251 _ACEOF
2252
2253
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2256 _ACEOF
2257
2258
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_STRING "$PACKAGE_STRING"
2261 _ACEOF
2262
2263
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2266 _ACEOF
2267
2268
2269 # Let the site file select an alternate cache file if it wants to.
2270 # Prefer explicitly selected file to automatically selected ones.
2271 if test -n "$CONFIG_SITE"; then
2272 set x "$CONFIG_SITE"
2273 elif test "x$prefix" != xNONE; then
2274 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2275 else
2276 set x "$ac_default_prefix/share/config.site" \
2277 "$ac_default_prefix/etc/config.site"
2278 fi
2279 shift
2280 for ac_site_file
2281 do
2282 if test -r "$ac_site_file"; then
2283 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2284 echo "$as_me: loading site script $ac_site_file" >&6;}
2285 sed 's/^/| /' "$ac_site_file" >&5
2286 . "$ac_site_file"
2287 fi
2288 done
2289
2290 if test -r "$cache_file"; then
2291 # Some versions of bash will fail to source /dev/null (special
2292 # files actually), so we avoid doing that.
2293 if test -f "$cache_file"; then
2294 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2295 echo "$as_me: loading cache $cache_file" >&6;}
2296 case $cache_file in
2297 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2298 *) . "./$cache_file";;
2299 esac
2300 fi
2301 else
2302 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2303 echo "$as_me: creating cache $cache_file" >&6;}
2304 >$cache_file
2305 fi
2306
2307 # Check that the precious variables saved in the cache have kept the same
2308 # value.
2309 ac_cache_corrupted=false
2310 for ac_var in $ac_precious_vars; do
2311 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2312 eval ac_new_set=\$ac_env_${ac_var}_set
2313 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2314 eval ac_new_val=\$ac_env_${ac_var}_value
2315 case $ac_old_set,$ac_new_set in
2316 set,)
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2320 ,set)
2321 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2322 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2323 ac_cache_corrupted=: ;;
2324 ,);;
2325 *)
2326 if test "x$ac_old_val" != "x$ac_new_val"; then
2327 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2328 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2329 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2330 echo "$as_me: former value: $ac_old_val" >&2;}
2331 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2332 echo "$as_me: current value: $ac_new_val" >&2;}
2333 ac_cache_corrupted=:
2334 fi;;
2335 esac
2336 # Pass precious variables to config.status.
2337 if test "$ac_new_set" = set; then
2338 case $ac_new_val in
2339 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2340 *) ac_arg=$ac_var=$ac_new_val ;;
2341 esac
2342 case " $ac_configure_args " in
2343 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2344 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2345 esac
2346 fi
2347 done
2348 if $ac_cache_corrupted; then
2349 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2350 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2351 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2352 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2353 { (exit 1); exit 1; }; }
2354 fi
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380 ac_ext=c
2381 ac_cpp='$CPP $CPPFLAGS'
2382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2385
2386
2387
2388
2389
2390 ac_aux_dir=
2391 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2392 if test -f "$ac_dir/install-sh"; then
2393 ac_aux_dir=$ac_dir
2394 ac_install_sh="$ac_aux_dir/install-sh -c"
2395 break
2396 elif test -f "$ac_dir/install.sh"; then
2397 ac_aux_dir=$ac_dir
2398 ac_install_sh="$ac_aux_dir/install.sh -c"
2399 break
2400 elif test -f "$ac_dir/shtool"; then
2401 ac_aux_dir=$ac_dir
2402 ac_install_sh="$ac_aux_dir/shtool install -c"
2403 break
2404 fi
2405 done
2406 if test -z "$ac_aux_dir"; then
2407 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2408 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2409 { (exit 1); exit 1; }; }
2410 fi
2411
2412 # These three variables are undocumented and unsupported,
2413 # and are intended to be withdrawn in a future Autoconf release.
2414 # They can cause serious problems if a builder's source tree is in a directory
2415 # whose full name contains unusual characters.
2416 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2417 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2418 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2419
2420
2421 # Make sure we can run config.sub.
2422 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2423 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2424 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2425 { (exit 1); exit 1; }; }
2426
2427 { echo "$as_me:$LINENO: checking build system type" >&5
2428 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2429 if test "${ac_cv_build+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 else
2432 ac_build_alias=$build_alias
2433 test "x$ac_build_alias" = x &&
2434 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2435 test "x$ac_build_alias" = x &&
2436 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2437 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2438 { (exit 1); exit 1; }; }
2439 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2440 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2441 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2442 { (exit 1); exit 1; }; }
2443
2444 fi
2445 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2446 echo "${ECHO_T}$ac_cv_build" >&6; }
2447 case $ac_cv_build in
2448 *-*-*) ;;
2449 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2450 echo "$as_me: error: invalid value of canonical build" >&2;}
2451 { (exit 1); exit 1; }; };;
2452 esac
2453 build=$ac_cv_build
2454 ac_save_IFS=$IFS; IFS='-'
2455 set x $ac_cv_build
2456 shift
2457 build_cpu=$1
2458 build_vendor=$2
2459 shift; shift
2460 # Remember, the first character of IFS is used to create $*,
2461 # except with old shells:
2462 build_os=$*
2463 IFS=$ac_save_IFS
2464 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2465
2466
2467 { echo "$as_me:$LINENO: checking host system type" >&5
2468 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2469 if test "${ac_cv_host+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 else
2472 if test "x$host_alias" = x; then
2473 ac_cv_host=$ac_cv_build
2474 else
2475 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2479 fi
2480
2481 fi
2482 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2483 echo "${ECHO_T}$ac_cv_host" >&6; }
2484 case $ac_cv_host in
2485 *-*-*) ;;
2486 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2487 echo "$as_me: error: invalid value of canonical host" >&2;}
2488 { (exit 1); exit 1; }; };;
2489 esac
2490 host=$ac_cv_host
2491 ac_save_IFS=$IFS; IFS='-'
2492 set x $ac_cv_host
2493 shift
2494 host_cpu=$1
2495 host_vendor=$2
2496 shift; shift
2497 # Remember, the first character of IFS is used to create $*,
2498 # except with old shells:
2499 host_os=$*
2500 IFS=$ac_save_IFS
2501 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2502
2503
2504 { echo "$as_me:$LINENO: checking target system type" >&5
2505 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2506 if test "${ac_cv_target+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 else
2509 if test "x$target_alias" = x; then
2510 ac_cv_target=$ac_cv_host
2511 else
2512 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2513 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2514 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2515 { (exit 1); exit 1; }; }
2516 fi
2517
2518 fi
2519 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2520 echo "${ECHO_T}$ac_cv_target" >&6; }
2521 case $ac_cv_target in
2522 *-*-*) ;;
2523 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2524 echo "$as_me: error: invalid value of canonical target" >&2;}
2525 { (exit 1); exit 1; }; };;
2526 esac
2527 target=$ac_cv_target
2528 ac_save_IFS=$IFS; IFS='-'
2529 set x $ac_cv_target
2530 shift
2531 target_cpu=$1
2532 target_vendor=$2
2533 shift; shift
2534 # Remember, the first character of IFS is used to create $*,
2535 # except with old shells:
2536 target_os=$*
2537 IFS=$ac_save_IFS
2538 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2539
2540
2541 # The aliases save the names the user supplied, while $host etc.
2542 # will get canonicalized.
2543 test -n "$target_alias" &&
2544 test "$program_prefix$program_suffix$program_transform_name" = \
2545 NONENONEs,x,x, &&
2546 program_prefix=${target_alias}-
2547
2548
2549
2550 wx_major_version_number=2
2551 wx_minor_version_number=9
2552 wx_release_number=0
2553 wx_subrelease_number=0
2554
2555 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2556 WX_VERSION=$WX_RELEASE.$wx_release_number
2557 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2558
2559 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2560
2561
2562 wx_top_builddir="`pwd`"
2563
2564
2565
2566
2567 USE_UNIX=1
2568 USE_OS2=0
2569 USE_WIN32=0
2570 USE_DOS=0
2571 USE_BEOS=0
2572 USE_MAC=0
2573
2574 USE_AIX=
2575 USE_BSD= USE_DARWIN= USE_FREEBSD=
2576 USE_GNU= USE_HPUX=
2577 USE_LINUX=
2578 USE_NETBSD=
2579 USE_OPENBSD=
2580 USE_OSF= USE_SGI=
2581 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2582 USE_ULTRIX=
2583 USE_UNIXWARE=
2584
2585 USE_ALPHA=
2586
2587 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2588
2589 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2590
2591 DEFAULT_wxUSE_COCOA=0
2592 DEFAULT_wxUSE_GTK=0
2593 DEFAULT_wxUSE_MAC=0
2594 DEFAULT_wxUSE_MGL=0
2595 DEFAULT_wxUSE_MICROWIN=0
2596 DEFAULT_wxUSE_MOTIF=0
2597 DEFAULT_wxUSE_MSW=0
2598 DEFAULT_wxUSE_PM=0
2599 DEFAULT_wxUSE_X11=0
2600 DEFAULT_wxUSE_DFB=0
2601
2602 DEFAULT_DEFAULT_wxUSE_COCOA=0
2603 DEFAULT_DEFAULT_wxUSE_GTK=0
2604 DEFAULT_DEFAULT_wxUSE_MAC=0
2605 DEFAULT_DEFAULT_wxUSE_MGL=0
2606 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2607 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2608 DEFAULT_DEFAULT_wxUSE_MSW=0
2609 DEFAULT_DEFAULT_wxUSE_PM=0
2610 DEFAULT_DEFAULT_wxUSE_X11=0
2611 DEFAULT_DEFAULT_wxUSE_DFB=0
2612
2613 PROGRAM_EXT=
2614 SO_SUFFIX=so
2615 SAMPLES_RPATH_FLAG=
2616 SAMPLES_RPATH_POSTLINK=
2617
2618 DEFAULT_STD_FLAG=yes
2619
2620 case "${host}" in
2621 *-hp-hpux* )
2622 USE_HPUX=1
2623 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2624 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2625 SO_SUFFIX=sl
2626 cat >>confdefs.h <<\_ACEOF
2627 #define __HPUX__ 1
2628 _ACEOF
2629
2630
2631 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2632 ;;
2633 *-*-linux* )
2634 USE_LINUX=1
2635 cat >>confdefs.h <<\_ACEOF
2636 #define __LINUX__ 1
2637 _ACEOF
2638
2639 TMP=`uname -m`
2640 if test "x$TMP" = "xalpha"; then
2641 USE_ALPHA=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __ALPHA__ 1
2644 _ACEOF
2645
2646 fi
2647 DEFAULT_DEFAULT_wxUSE_GTK=1
2648 ;;
2649 *-*-gnu* | *-*-k*bsd*-gnu )
2650 USE_GNU=1
2651 TMP=`uname -m`
2652 if test "x$TMP" = "xalpha"; then
2653 USE_ALPHA=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __ALPHA__ 1
2656 _ACEOF
2657
2658 fi
2659 DEFAULT_DEFAULT_wxUSE_GTK=1
2660 ;;
2661 *-*-irix5* | *-*-irix6* )
2662 USE_SGI=1
2663 USE_SVR4=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SGI__ 1
2666 _ACEOF
2667
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SVR4__ 1
2670 _ACEOF
2671
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 ;;
2674 *-*-solaris2* )
2675 USE_SUN=1
2676 USE_SOLARIS=1
2677 USE_SVR4=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SUN__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SOLARIS__ 1
2684 _ACEOF
2685
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SVR4__ 1
2688 _ACEOF
2689
2690 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2691 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2692 ;;
2693 *-*-sunos4* )
2694 USE_SUN=1
2695 USE_SUNOS=1
2696 USE_BSD=1
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUN__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SUNOS__ 1
2703 _ACEOF
2704
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __BSD__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 ;;
2711 *-*-freebsd*)
2712 USE_BSD=1
2713 USE_FREEBSD=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __FREEBSD__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __BSD__ 1
2720 _ACEOF
2721
2722 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 ;;
2724 *-*-openbsd*|*-*-mirbsd*)
2725 USE_BSD=1
2726 USE_OPENBSD=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __OPENBSD__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __BSD__ 1
2733 _ACEOF
2734
2735 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 ;;
2737 *-*-netbsd*)
2738 USE_BSD=1
2739 USE_NETBSD=1
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __NETBSD__ 1
2742 _ACEOF
2743
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __BSD__ 1
2746 _ACEOF
2747
2748 DEFAULT_DEFAULT_wxUSE_GTK=1
2749 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750
2751 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2752 ;;
2753 *-*-osf* )
2754 USE_ALPHA=1
2755 USE_OSF=1
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __ALPHA__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __OSF__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766 ;;
2767 *-*-dgux5* )
2768 USE_ALPHA=1
2769 USE_SVR4=1
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __ALPHA__ 1
2772 _ACEOF
2773
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SVR4__ 1
2776 _ACEOF
2777
2778 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779 ;;
2780 *-*-sysv5* )
2781 USE_SYSV=1
2782 USE_SVR4=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SYSV__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __SVR4__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 ;;
2793 *-*-aix* )
2794 USE_AIX=1
2795 USE_SYSV=1
2796 USE_SVR4=1
2797 SO_SUFFIX=a
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __AIX__ 1
2800 _ACEOF
2801
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __SYSV__ 1
2804 _ACEOF
2805
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __SVR4__ 1
2808 _ACEOF
2809
2810 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2811 ;;
2812
2813 *-*-*UnixWare*)
2814 USE_SYSV=1
2815 USE_SVR4=1
2816 USE_UNIXWARE=1
2817 cat >>confdefs.h <<\_ACEOF
2818 #define __UNIXWARE__ 1
2819 _ACEOF
2820
2821 ;;
2822
2823 *-*-cygwin* | *-*-mingw32* )
2824 SO_SUFFIX=dll
2825 PROGRAM_EXT=".exe"
2826 DEFAULT_DEFAULT_wxUSE_MSW=1
2827 ;;
2828
2829 *-pc-msdosdjgpp )
2830 USE_UNIX=0
2831 USE_DOS=1
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __DOS__ 1
2834 _ACEOF
2835
2836 PROGRAM_EXT=".exe"
2837 DEFAULT_DEFAULT_wxUSE_MGL=1
2838 ;;
2839
2840 *-pc-os2_emx | *-pc-os2-emx )
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __EMX__ 1
2843 _ACEOF
2844
2845 USE_OS2=1
2846 cat >>confdefs.h <<\_ACEOF
2847 #define __OS2__ 1
2848 _ACEOF
2849
2850 PROGRAM_EXT=".exe"
2851 DEFAULT_DEFAULT_wxUSE_PM=1
2852 CXX=gcc
2853 LDFLAGS="$LDFLAGS -Zcrtdll"
2854 ac_executable_extensions=".exe"
2855 export ac_executable_extensions
2856 ac_save_IFS="$IFS"
2857 IFS='\\'
2858 ac_TEMP_PATH=
2859 for ac_dir in $PATH; do
2860 IFS=$ac_save_IFS
2861 if test -z "$ac_TEMP_PATH"; then
2862 ac_TEMP_PATH="$ac_dir"
2863 else
2864 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2865 fi
2866 done
2867 export PATH="$ac_TEMP_PATH"
2868 unset ac_TEMP_PATH
2869 DEFAULT_STD_FLAG=no
2870 ;;
2871
2872 *-*-darwin* )
2873 USE_BSD=1
2874 USE_DARWIN=1
2875 SO_SUFFIX=dylib
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __BSD__ 1
2878 _ACEOF
2879
2880 cat >>confdefs.h <<\_ACEOF
2881 #define __DARWIN__ 1
2882 _ACEOF
2883
2884 cat >>confdefs.h <<\_ACEOF
2885 #define TARGET_CARBON 1
2886 _ACEOF
2887
2888 DEFAULT_DEFAULT_wxUSE_MAC=1
2889 DEFAULT_STD_FLAG=no
2890 ;;
2891 powerpc-apple-macos* )
2892 USE_UNIX=0
2893 ac_cv_c_bigendian=yes
2894 SO_SUFFIX=shlib
2895 DEFAULT_DEFAULT_wxUSE_MAC=1
2896 DEFAULT_STD_FLAG=no
2897 ;;
2898
2899 *-*-beos* )
2900 USE_BEOS=1
2901 cat >>confdefs.h <<\_ACEOF
2902 #define __BEOS__ 1
2903 _ACEOF
2904
2905 ;;
2906
2907 *)
2908 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2909 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2910 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2911 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2912
2913 DEFAULT_DEFAULT_wxUSE_X11=1
2914 DEFAULT_wxUSE_SHARED=no
2915 esac
2916
2917
2918
2919 DEFAULT_wxUSE_ALL_FEATURES=yes
2920
2921 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2923
2924 DEFAULT_wxUSE_DMALLOC=no
2925 DEFAULT_wxUSE_LIBGNOMEVFS=no
2926 DEFAULT_wxUSE_LIBHILDON=no
2927 DEFAULT_wxUSE_LIBMSPACK=no
2928 DEFAULT_wxUSE_LIBSDL=no
2929 DEFAULT_wxUSE_OPENGL=no
2930
2931 DEFAULT_wxUSE_ACCESSIBILITY=no
2932 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2933 DEFAULT_wxUSE_IPV6=no
2934 DEFAULT_wxUSE_MEDIACTRL=no
2935 DEFAULT_wxUSE_TAB_DIALOG=no
2936 DEFAULT_wxUSE_GSTREAMER8=no
2937
2938 DEFAULT_wxUSE_UNICODE_UTF8=auto
2939 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2940
2941 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2942
2943 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2944
2945 DEFAULT_wxUSE_GTK2=yes
2946
2947 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2948
2949
2950
2951
2952
2953 enablestring=disable
2954 defaultval=
2955 if test -z "$defaultval"; then
2956 if test x"$enablestring" = xdisable; then
2957 defaultval=yes
2958 else
2959 defaultval=no
2960 fi
2961 fi
2962
2963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2964 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2965 # Check whether --enable-gui was given.
2966 if test "${enable_gui+set}" = set; then
2967 enableval=$enable_gui;
2968 if test "$enableval" = yes; then
2969 wx_cv_use_gui='wxUSE_GUI=yes'
2970 else
2971 wx_cv_use_gui='wxUSE_GUI=no'
2972 fi
2973
2974 else
2975
2976 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2977
2978 fi
2979
2980
2981 eval "$wx_cv_use_gui"
2982
2983 if test x"$enablestring" = xdisable; then
2984 if test $wxUSE_GUI = yes; then
2985 result=no
2986 else
2987 result=yes
2988 fi
2989 else
2990 result=$wxUSE_GUI
2991 fi
2992
2993 { echo "$as_me:$LINENO: result: $result" >&5
2994 echo "${ECHO_T}$result" >&6; }
2995
2996
2997 enablestring=
2998 defaultval=
2999 if test -z "$defaultval"; then
3000 if test x"$enablestring" = xdisable; then
3001 defaultval=yes
3002 else
3003 defaultval=no
3004 fi
3005 fi
3006
3007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3008 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3009 # Check whether --enable-monolithic was given.
3010 if test "${enable_monolithic+set}" = set; then
3011 enableval=$enable_monolithic;
3012 if test "$enableval" = yes; then
3013 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3014 else
3015 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3016 fi
3017
3018 else
3019
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3021
3022 fi
3023
3024
3025 eval "$wx_cv_use_monolithic"
3026
3027 if test x"$enablestring" = xdisable; then
3028 if test $wxUSE_MONOLITHIC = yes; then
3029 result=no
3030 else
3031 result=yes
3032 fi
3033 else
3034 result=$wxUSE_MONOLITHIC
3035 fi
3036
3037 { echo "$as_me:$LINENO: result: $result" >&5
3038 echo "${ECHO_T}$result" >&6; }
3039
3040
3041 enablestring=
3042 defaultval=
3043 if test -z "$defaultval"; then
3044 if test x"$enablestring" = xdisable; then
3045 defaultval=yes
3046 else
3047 defaultval=no
3048 fi
3049 fi
3050
3051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3052 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3053 # Check whether --enable-plugins was given.
3054 if test "${enable_plugins+set}" = set; then
3055 enableval=$enable_plugins;
3056 if test "$enableval" = yes; then
3057 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3058 else
3059 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3060 fi
3061
3062 else
3063
3064 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3065
3066 fi
3067
3068
3069 eval "$wx_cv_use_plugins"
3070
3071 if test x"$enablestring" = xdisable; then
3072 if test $wxUSE_PLUGINS = yes; then
3073 result=no
3074 else
3075 result=yes
3076 fi
3077 else
3078 result=$wxUSE_PLUGINS
3079 fi
3080
3081 { echo "$as_me:$LINENO: result: $result" >&5
3082 echo "${ECHO_T}$result" >&6; }
3083
3084
3085 withstring=without
3086 defaultval=$wxUSE_ALL_FEATURES
3087 if test -z "$defaultval"; then
3088 if test x"$withstring" = xwithout; then
3089 defaultval=yes
3090 else
3091 defaultval=no
3092 fi
3093 fi
3094 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3095 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3096
3097 # Check whether --with-subdirs was given.
3098 if test "${with_subdirs+set}" = set; then
3099 withval=$with_subdirs;
3100 if test "$withval" = yes; then
3101 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3102 else
3103 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3104 fi
3105
3106 else
3107
3108 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3109
3110 fi
3111
3112
3113 eval "$wx_cv_use_subdirs"
3114
3115 if test x"$withstring" = xwithout; then
3116 if test $wxWITH_SUBDIRS = yes; then
3117 result=no
3118 else
3119 result=yes
3120 fi
3121 else
3122 result=$wxWITH_SUBDIRS
3123 fi
3124
3125 { echo "$as_me:$LINENO: result: $result" >&5
3126 echo "${ECHO_T}$result" >&6; }
3127
3128
3129 # Check whether --with-flavour was given.
3130 if test "${with_flavour+set}" = set; then
3131 withval=$with_flavour; WX_FLAVOUR="$withval"
3132 fi
3133
3134
3135 enablestring=
3136 defaultval=
3137 if test -z "$defaultval"; then
3138 if test x"$enablestring" = xdisable; then
3139 defaultval=yes
3140 else
3141 defaultval=no
3142 fi
3143 fi
3144
3145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3146 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3147 # Check whether --enable-official_build was given.
3148 if test "${enable_official_build+set}" = set; then
3149 enableval=$enable_official_build;
3150 if test "$enableval" = yes; then
3151 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3152 else
3153 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3154 fi
3155
3156 else
3157
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3159
3160 fi
3161
3162
3163 eval "$wx_cv_use_official_build"
3164
3165 if test x"$enablestring" = xdisable; then
3166 if test $wxUSE_OFFICIAL_BUILD = yes; then
3167 result=no
3168 else
3169 result=yes
3170 fi
3171 else
3172 result=$wxUSE_OFFICIAL_BUILD
3173 fi
3174
3175 { echo "$as_me:$LINENO: result: $result" >&5
3176 echo "${ECHO_T}$result" >&6; }
3177
3178 # Check whether --enable-vendor was given.
3179 if test "${enable_vendor+set}" = set; then
3180 enableval=$enable_vendor; VENDOR="$enableval"
3181 fi
3182
3183 if test "x$VENDOR" = "x"; then
3184 VENDOR="custom"
3185 fi
3186
3187
3188 enablestring=disable
3189 defaultval=
3190 if test -z "$defaultval"; then
3191 if test x"$enablestring" = xdisable; then
3192 defaultval=yes
3193 else
3194 defaultval=no
3195 fi
3196 fi
3197
3198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3199 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3200 # Check whether --enable-all-features was given.
3201 if test "${enable_all_features+set}" = set; then
3202 enableval=$enable_all_features;
3203 if test "$enableval" = yes; then
3204 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3205 else
3206 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3207 fi
3208
3209 else
3210
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3212
3213 fi
3214
3215
3216 eval "$wx_cv_use_all_features"
3217
3218 if test x"$enablestring" = xdisable; then
3219 if test $wxUSE_ALL_FEATURES = yes; then
3220 result=no
3221 else
3222 result=yes
3223 fi
3224 else
3225 result=$wxUSE_ALL_FEATURES
3226 fi
3227
3228 { echo "$as_me:$LINENO: result: $result" >&5
3229 echo "${ECHO_T}$result" >&6; }
3230
3231
3232
3233 if test "$wxUSE_GUI" = "yes"; then
3234
3235
3236 enablestring=
3237 defaultval=
3238 if test -z "$defaultval"; then
3239 if test x"$enablestring" = xdisable; then
3240 defaultval=yes
3241 else
3242 defaultval=no
3243 fi
3244 fi
3245
3246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3247 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3248 # Check whether --enable-universal was given.
3249 if test "${enable_universal+set}" = set; then
3250 enableval=$enable_universal;
3251 if test "$enableval" = yes; then
3252 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3253 else
3254 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3255 fi
3256
3257 else
3258
3259 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3260
3261 fi
3262
3263
3264 eval "$wx_cv_use_universal"
3265
3266 if test x"$enablestring" = xdisable; then
3267 if test $wxUSE_UNIVERSAL = yes; then
3268 result=no
3269 else
3270 result=yes
3271 fi
3272 else
3273 result=$wxUSE_UNIVERSAL
3274 fi
3275
3276 { echo "$as_me:$LINENO: result: $result" >&5
3277 echo "${ECHO_T}$result" >&6; }
3278
3279 if test "$wxUSE_UNIVERSAL" = "yes"; then
3280
3281 # Check whether --with-themes was given.
3282 if test "${with_themes+set}" = set; then
3283 withval=$with_themes; wxUNIV_THEMES="$withval"
3284 fi
3285
3286 fi
3287
3288
3289 # Check whether --with-gtk was given.
3290 if test "${with_gtk+set}" = set; then
3291 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3292 fi
3293
3294
3295 # Check whether --with-motif was given.
3296 if test "${with_motif+set}" = set; then
3297 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3298 fi
3299
3300
3301 # Check whether --with-mac was given.
3302 if test "${with_mac+set}" = set; then
3303 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3304 fi
3305
3306
3307 # Check whether --with-cocoa was given.
3308 if test "${with_cocoa+set}" = set; then
3309 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3310 fi
3311
3312
3313 # Check whether --with-wine was given.
3314 if test "${with_wine+set}" = set; then
3315 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3316 fi
3317
3318
3319 # Check whether --with-msw was given.
3320 if test "${with_msw+set}" = set; then
3321 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3322 fi
3323
3324
3325 # Check whether --with-pm was given.
3326 if test "${with_pm+set}" = set; then
3327 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3328 fi
3329
3330
3331 # Check whether --with-mgl was given.
3332 if test "${with_mgl+set}" = set; then
3333 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3334 fi
3335
3336
3337 # Check whether --with-directfb was given.
3338 if test "${with_directfb+set}" = set; then
3339 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3340 fi
3341
3342
3343 # Check whether --with-microwin was given.
3344 if test "${with_microwin+set}" = set; then
3345 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3346 fi
3347
3348
3349 # Check whether --with-x11 was given.
3350 if test "${with_x11+set}" = set; then
3351 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 enablestring=
3356 defaultval=
3357 if test -z "$defaultval"; then
3358 if test x"$enablestring" = xdisable; then
3359 defaultval=yes
3360 else
3361 defaultval=no
3362 fi
3363 fi
3364
3365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3366 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3367 # Check whether --enable-nanox was given.
3368 if test "${enable_nanox+set}" = set; then
3369 enableval=$enable_nanox;
3370 if test "$enableval" = yes; then
3371 wx_cv_use_nanox='wxUSE_NANOX=yes'
3372 else
3373 wx_cv_use_nanox='wxUSE_NANOX=no'
3374 fi
3375
3376 else
3377
3378 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3379
3380 fi
3381
3382
3383 eval "$wx_cv_use_nanox"
3384
3385 if test x"$enablestring" = xdisable; then
3386 if test $wxUSE_NANOX = yes; then
3387 result=no
3388 else
3389 result=yes
3390 fi
3391 else
3392 result=$wxUSE_NANOX
3393 fi
3394
3395 { echo "$as_me:$LINENO: result: $result" >&5
3396 echo "${ECHO_T}$result" >&6; }
3397
3398
3399 # Check whether --enable-gtk2 was given.
3400 if test "${enable_gtk2+set}" = set; then
3401 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3402 fi
3403
3404
3405 enablestring=
3406 defaultval=
3407 if test -z "$defaultval"; then
3408 if test x"$enablestring" = xdisable; then
3409 defaultval=yes
3410 else
3411 defaultval=no
3412 fi
3413 fi
3414
3415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3416 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3417 # Check whether --enable-gpe was given.
3418 if test "${enable_gpe+set}" = set; then
3419 enableval=$enable_gpe;
3420 if test "$enableval" = yes; then
3421 wx_cv_use_gpe='wxUSE_GPE=yes'
3422 else
3423 wx_cv_use_gpe='wxUSE_GPE=no'
3424 fi
3425
3426 else
3427
3428 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3429
3430 fi
3431
3432
3433 eval "$wx_cv_use_gpe"
3434
3435 if test x"$enablestring" = xdisable; then
3436 if test $wxUSE_GPE = yes; then
3437 result=no
3438 else
3439 result=yes
3440 fi
3441 else
3442 result=$wxUSE_GPE
3443 fi
3444
3445 { echo "$as_me:$LINENO: result: $result" >&5
3446 echo "${ECHO_T}$result" >&6; }
3447
3448
3449
3450
3451 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3452 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3453
3454 # Check whether --with-libpng was given.
3455 if test "${with_libpng+set}" = set; then
3456 withval=$with_libpng;
3457 if test "$withval" = yes; then
3458 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3459 elif test "$withval" = no; then
3460 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3461 elif test "$withval" = sys; then
3462 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3463 elif test "$withval" = builtin; then
3464 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3465 else
3466 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3467 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3468 { (exit 1); exit 1; }; }
3469 fi
3470
3471 else
3472
3473 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3474
3475 fi
3476
3477
3478 eval "$wx_cv_use_libpng"
3479
3480 if test "$wxUSE_LIBPNG" = yes; then
3481 { echo "$as_me:$LINENO: result: yes" >&5
3482 echo "${ECHO_T}yes" >&6; }
3483 elif test "$wxUSE_LIBPNG" = no; then
3484 { echo "$as_me:$LINENO: result: no" >&5
3485 echo "${ECHO_T}no" >&6; }
3486 elif test "$wxUSE_LIBPNG" = sys; then
3487 { echo "$as_me:$LINENO: result: system version" >&5
3488 echo "${ECHO_T}system version" >&6; }
3489 elif test "$wxUSE_LIBPNG" = builtin; then
3490 { echo "$as_me:$LINENO: result: builtin version" >&5
3491 echo "${ECHO_T}builtin version" >&6; }
3492 else
3493 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3494 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3495 { (exit 1); exit 1; }; }
3496 fi
3497
3498
3499 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3500 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3501
3502 # Check whether --with-libjpeg was given.
3503 if test "${with_libjpeg+set}" = set; then
3504 withval=$with_libjpeg;
3505 if test "$withval" = yes; then
3506 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3507 elif test "$withval" = no; then
3508 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3509 elif test "$withval" = sys; then
3510 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3511 elif test "$withval" = builtin; then
3512 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3513 else
3514 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3515 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3516 { (exit 1); exit 1; }; }
3517 fi
3518
3519 else
3520
3521 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3522
3523 fi
3524
3525
3526 eval "$wx_cv_use_libjpeg"
3527
3528 if test "$wxUSE_LIBJPEG" = yes; then
3529 { echo "$as_me:$LINENO: result: yes" >&5
3530 echo "${ECHO_T}yes" >&6; }
3531 elif test "$wxUSE_LIBJPEG" = no; then
3532 { echo "$as_me:$LINENO: result: no" >&5
3533 echo "${ECHO_T}no" >&6; }
3534 elif test "$wxUSE_LIBJPEG" = sys; then
3535 { echo "$as_me:$LINENO: result: system version" >&5
3536 echo "${ECHO_T}system version" >&6; }
3537 elif test "$wxUSE_LIBJPEG" = builtin; then
3538 { echo "$as_me:$LINENO: result: builtin version" >&5
3539 echo "${ECHO_T}builtin version" >&6; }
3540 else
3541 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3542 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3543 { (exit 1); exit 1; }; }
3544 fi
3545
3546
3547 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3548 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3549
3550 # Check whether --with-libtiff was given.
3551 if test "${with_libtiff+set}" = set; then
3552 withval=$with_libtiff;
3553 if test "$withval" = yes; then
3554 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3555 elif test "$withval" = no; then
3556 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3557 elif test "$withval" = sys; then
3558 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3559 elif test "$withval" = builtin; then
3560 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3561 else
3562 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3563 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3564 { (exit 1); exit 1; }; }
3565 fi
3566
3567 else
3568
3569 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3570
3571 fi
3572
3573
3574 eval "$wx_cv_use_libtiff"
3575
3576 if test "$wxUSE_LIBTIFF" = yes; then
3577 { echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6; }
3579 elif test "$wxUSE_LIBTIFF" = no; then
3580 { echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6; }
3582 elif test "$wxUSE_LIBTIFF" = sys; then
3583 { echo "$as_me:$LINENO: result: system version" >&5
3584 echo "${ECHO_T}system version" >&6; }
3585 elif test "$wxUSE_LIBTIFF" = builtin; then
3586 { echo "$as_me:$LINENO: result: builtin version" >&5
3587 echo "${ECHO_T}builtin version" >&6; }
3588 else
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3592 fi
3593
3594
3595 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3596 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3597
3598 # Check whether --with-libxpm was given.
3599 if test "${with_libxpm+set}" = set; then
3600 withval=$with_libxpm;
3601 if test "$withval" = yes; then
3602 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3603 elif test "$withval" = no; then
3604 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3605 elif test "$withval" = sys; then
3606 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3607 elif test "$withval" = builtin; then
3608 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3609 else
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3613 fi
3614
3615 else
3616
3617 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3618
3619 fi
3620
3621
3622 eval "$wx_cv_use_libxpm"
3623
3624 if test "$wxUSE_LIBXPM" = yes; then
3625 { echo "$as_me:$LINENO: result: yes" >&5
3626 echo "${ECHO_T}yes" >&6; }
3627 elif test "$wxUSE_LIBXPM" = no; then
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3630 elif test "$wxUSE_LIBXPM" = sys; then
3631 { echo "$as_me:$LINENO: result: system version" >&5
3632 echo "${ECHO_T}system version" >&6; }
3633 elif test "$wxUSE_LIBXPM" = builtin; then
3634 { echo "$as_me:$LINENO: result: builtin version" >&5
3635 echo "${ECHO_T}builtin version" >&6; }
3636 else
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3640 fi
3641
3642
3643 withstring=
3644 defaultval=$wxUSE_ALL_FEATURES
3645 if test -z "$defaultval"; then
3646 if test x"$withstring" = xwithout; then
3647 defaultval=yes
3648 else
3649 defaultval=no
3650 fi
3651 fi
3652 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3653 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3654
3655 # Check whether --with-libmspack was given.
3656 if test "${with_libmspack+set}" = set; then
3657 withval=$with_libmspack;
3658 if test "$withval" = yes; then
3659 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3660 else
3661 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3662 fi
3663
3664 else
3665
3666 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3667
3668 fi
3669
3670
3671 eval "$wx_cv_use_libmspack"
3672
3673 if test x"$withstring" = xwithout; then
3674 if test $wxUSE_LIBMSPACK = yes; then
3675 result=no
3676 else
3677 result=yes
3678 fi
3679 else
3680 result=$wxUSE_LIBMSPACK
3681 fi
3682
3683 { echo "$as_me:$LINENO: result: $result" >&5
3684 echo "${ECHO_T}$result" >&6; }
3685
3686
3687 withstring=without
3688 defaultval=$wxUSE_ALL_FEATURES
3689 if test -z "$defaultval"; then
3690 if test x"$withstring" = xwithout; then
3691 defaultval=yes
3692 else
3693 defaultval=no
3694 fi
3695 fi
3696 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3697 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3698
3699 # Check whether --with-gtkprint was given.
3700 if test "${with_gtkprint+set}" = set; then
3701 withval=$with_gtkprint;
3702 if test "$withval" = yes; then
3703 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3704 else
3705 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3706 fi
3707
3708 else
3709
3710 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3711
3712 fi
3713
3714
3715 eval "$wx_cv_use_gtkprint"
3716
3717 if test x"$withstring" = xwithout; then
3718 if test $wxUSE_GTKPRINT = yes; then
3719 result=no
3720 else
3721 result=yes
3722 fi
3723 else
3724 result=$wxUSE_GTKPRINT
3725 fi
3726
3727 { echo "$as_me:$LINENO: result: $result" >&5
3728 echo "${ECHO_T}$result" >&6; }
3729
3730
3731 withstring=without
3732 defaultval=$wxUSE_ALL_FEATURES
3733 if test -z "$defaultval"; then
3734 if test x"$withstring" = xwithout; then
3735 defaultval=yes
3736 else
3737 defaultval=no
3738 fi
3739 fi
3740 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3741 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3742
3743 # Check whether --with-gnomeprint was given.
3744 if test "${with_gnomeprint+set}" = set; then
3745 withval=$with_gnomeprint;
3746 if test "$withval" = yes; then
3747 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3748 else
3749 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3750 fi
3751
3752 else
3753
3754 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3755
3756 fi
3757
3758
3759 eval "$wx_cv_use_gnomeprint"
3760
3761 if test x"$withstring" = xwithout; then
3762 if test $wxUSE_LIBGNOMEPRINT = yes; then
3763 result=no
3764 else
3765 result=yes
3766 fi
3767 else
3768 result=$wxUSE_LIBGNOMEPRINT
3769 fi
3770
3771 { echo "$as_me:$LINENO: result: $result" >&5
3772 echo "${ECHO_T}$result" >&6; }
3773
3774
3775 withstring=
3776 defaultval=$wxUSE_ALL_FEATURES
3777 if test -z "$defaultval"; then
3778 if test x"$withstring" = xwithout; then
3779 defaultval=yes
3780 else
3781 defaultval=no
3782 fi
3783 fi
3784 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3785 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3786
3787 # Check whether --with-gnomevfs was given.
3788 if test "${with_gnomevfs+set}" = set; then
3789 withval=$with_gnomevfs;
3790 if test "$withval" = yes; then
3791 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3792 else
3793 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3794 fi
3795
3796 else
3797
3798 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3799
3800 fi
3801
3802
3803 eval "$wx_cv_use_gnomevfs"
3804
3805 if test x"$withstring" = xwithout; then
3806 if test $wxUSE_LIBGNOMEVFS = yes; then
3807 result=no
3808 else
3809 result=yes
3810 fi
3811 else
3812 result=$wxUSE_LIBGNOMEVFS
3813 fi
3814
3815 { echo "$as_me:$LINENO: result: $result" >&5
3816 echo "${ECHO_T}$result" >&6; }
3817
3818
3819 withstring=
3820 defaultval=$wxUSE_ALL_FEATURES
3821 if test -z "$defaultval"; then
3822 if test x"$withstring" = xwithout; then
3823 defaultval=yes
3824 else
3825 defaultval=no
3826 fi
3827 fi
3828 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3829 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3830
3831 # Check whether --with-hildon was given.
3832 if test "${with_hildon+set}" = set; then
3833 withval=$with_hildon;
3834 if test "$withval" = yes; then
3835 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3836 else
3837 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3838 fi
3839
3840 else
3841
3842 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3843
3844 fi
3845
3846
3847 eval "$wx_cv_use_hildon"
3848
3849 if test x"$withstring" = xwithout; then
3850 if test $wxUSE_LIBHILDON = yes; then
3851 result=no
3852 else
3853 result=yes
3854 fi
3855 else
3856 result=$wxUSE_LIBHILDON
3857 fi
3858
3859 { echo "$as_me:$LINENO: result: $result" >&5
3860 echo "${ECHO_T}$result" >&6; }
3861
3862
3863 withstring=
3864 defaultval=$wxUSE_ALL_FEATURES
3865 if test -z "$defaultval"; then
3866 if test x"$withstring" = xwithout; then
3867 defaultval=yes
3868 else
3869 defaultval=no
3870 fi
3871 fi
3872 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3873 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3874
3875 # Check whether --with-opengl was given.
3876 if test "${with_opengl+set}" = set; then
3877 withval=$with_opengl;
3878 if test "$withval" = yes; then
3879 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3880 else
3881 wx_cv_use_opengl='wxUSE_OPENGL=no'
3882 fi
3883
3884 else
3885
3886 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3887
3888 fi
3889
3890
3891 eval "$wx_cv_use_opengl"
3892
3893 if test x"$withstring" = xwithout; then
3894 if test $wxUSE_OPENGL = yes; then
3895 result=no
3896 else
3897 result=yes
3898 fi
3899 else
3900 result=$wxUSE_OPENGL
3901 fi
3902
3903 { echo "$as_me:$LINENO: result: $result" >&5
3904 echo "${ECHO_T}$result" >&6; }
3905
3906
3907 fi
3908
3909
3910 withstring=
3911 defaultval=$wxUSE_ALL_FEATURES
3912 if test -z "$defaultval"; then
3913 if test x"$withstring" = xwithout; then
3914 defaultval=yes
3915 else
3916 defaultval=no
3917 fi
3918 fi
3919 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3920 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3921
3922 # Check whether --with-dmalloc was given.
3923 if test "${with_dmalloc+set}" = set; then
3924 withval=$with_dmalloc;
3925 if test "$withval" = yes; then
3926 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3927 else
3928 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
3929 fi
3930
3931 else
3932
3933 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3934
3935 fi
3936
3937
3938 eval "$wx_cv_use_dmalloc"
3939
3940 if test x"$withstring" = xwithout; then
3941 if test $wxUSE_DMALLOC = yes; then
3942 result=no
3943 else
3944 result=yes
3945 fi
3946 else
3947 result=$wxUSE_DMALLOC
3948 fi
3949
3950 { echo "$as_me:$LINENO: result: $result" >&5
3951 echo "${ECHO_T}$result" >&6; }
3952
3953
3954 withstring=
3955 defaultval=$wxUSE_ALL_FEATURES
3956 if test -z "$defaultval"; then
3957 if test x"$withstring" = xwithout; then
3958 defaultval=yes
3959 else
3960 defaultval=no
3961 fi
3962 fi
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3965
3966 # Check whether --with-sdl was given.
3967 if test "${with_sdl+set}" = set; then
3968 withval=$with_sdl;
3969 if test "$withval" = yes; then
3970 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3971 else
3972 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3973 fi
3974
3975 else
3976
3977 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3978
3979 fi
3980
3981
3982 eval "$wx_cv_use_sdl"
3983
3984 if test x"$withstring" = xwithout; then
3985 if test $wxUSE_LIBSDL = yes; then
3986 result=no
3987 else
3988 result=yes
3989 fi
3990 else
3991 result=$wxUSE_LIBSDL
3992 fi
3993
3994 { echo "$as_me:$LINENO: result: $result" >&5
3995 echo "${ECHO_T}$result" >&6; }
3996
3997
3998 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3999 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4000
4001 # Check whether --with-regex was given.
4002 if test "${with_regex+set}" = set; then
4003 withval=$with_regex;
4004 if test "$withval" = yes; then
4005 wx_cv_use_regex='wxUSE_REGEX=yes'
4006 elif test "$withval" = no; then
4007 wx_cv_use_regex='wxUSE_REGEX=no'
4008 elif test "$withval" = sys; then
4009 wx_cv_use_regex='wxUSE_REGEX=sys'
4010 elif test "$withval" = builtin; then
4011 wx_cv_use_regex='wxUSE_REGEX=builtin'
4012 else
4013 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4014 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4015 { (exit 1); exit 1; }; }
4016 fi
4017
4018 else
4019
4020 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4021
4022 fi
4023
4024
4025 eval "$wx_cv_use_regex"
4026
4027 if test "$wxUSE_REGEX" = yes; then
4028 { echo "$as_me:$LINENO: result: yes" >&5
4029 echo "${ECHO_T}yes" >&6; }
4030 elif test "$wxUSE_REGEX" = no; then
4031 { echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6; }
4033 elif test "$wxUSE_REGEX" = sys; then
4034 { echo "$as_me:$LINENO: result: system version" >&5
4035 echo "${ECHO_T}system version" >&6; }
4036 elif test "$wxUSE_REGEX" = builtin; then
4037 { echo "$as_me:$LINENO: result: builtin version" >&5
4038 echo "${ECHO_T}builtin version" >&6; }
4039 else
4040 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4041 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4042 { (exit 1); exit 1; }; }
4043 fi
4044
4045
4046 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4047 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4048
4049 # Check whether --with-zlib was given.
4050 if test "${with_zlib+set}" = set; then
4051 withval=$with_zlib;
4052 if test "$withval" = yes; then
4053 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4054 elif test "$withval" = no; then
4055 wx_cv_use_zlib='wxUSE_ZLIB=no'
4056 elif test "$withval" = sys; then
4057 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4058 elif test "$withval" = builtin; then
4059 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4060 else
4061 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4062 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4063 { (exit 1); exit 1; }; }
4064 fi
4065
4066 else
4067
4068 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4069
4070 fi
4071
4072
4073 eval "$wx_cv_use_zlib"
4074
4075 if test "$wxUSE_ZLIB" = yes; then
4076 { echo "$as_me:$LINENO: result: yes" >&5
4077 echo "${ECHO_T}yes" >&6; }
4078 elif test "$wxUSE_ZLIB" = no; then
4079 { echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6; }
4081 elif test "$wxUSE_ZLIB" = sys; then
4082 { echo "$as_me:$LINENO: result: system version" >&5
4083 echo "${ECHO_T}system version" >&6; }
4084 elif test "$wxUSE_ZLIB" = builtin; then
4085 { echo "$as_me:$LINENO: result: builtin version" >&5
4086 echo "${ECHO_T}builtin version" >&6; }
4087 else
4088 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4089 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4090 { (exit 1); exit 1; }; }
4091 fi
4092
4093
4094 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4095 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4096
4097 # Check whether --with-expat was given.
4098 if test "${with_expat+set}" = set; then
4099 withval=$with_expat;
4100 if test "$withval" = yes; then
4101 wx_cv_use_expat='wxUSE_EXPAT=yes'
4102 elif test "$withval" = no; then
4103 wx_cv_use_expat='wxUSE_EXPAT=no'
4104 elif test "$withval" = sys; then
4105 wx_cv_use_expat='wxUSE_EXPAT=sys'
4106 elif test "$withval" = builtin; then
4107 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4108 else
4109 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4110 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4111 { (exit 1); exit 1; }; }
4112 fi
4113
4114 else
4115
4116 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4117
4118 fi
4119
4120
4121 eval "$wx_cv_use_expat"
4122
4123 if test "$wxUSE_EXPAT" = yes; then
4124 { echo "$as_me:$LINENO: result: yes" >&5
4125 echo "${ECHO_T}yes" >&6; }
4126 elif test "$wxUSE_EXPAT" = no; then
4127 { echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6; }
4129 elif test "$wxUSE_EXPAT" = sys; then
4130 { echo "$as_me:$LINENO: result: system version" >&5
4131 echo "${ECHO_T}system version" >&6; }
4132 elif test "$wxUSE_EXPAT" = builtin; then
4133 { echo "$as_me:$LINENO: result: builtin version" >&5
4134 echo "${ECHO_T}builtin version" >&6; }
4135 else
4136 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4137 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4138 { (exit 1); exit 1; }; }
4139 fi
4140
4141
4142 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4143 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4144
4145 # Check whether --with-macosx-sdk was given.
4146 if test "${with_macosx_sdk+set}" = set; then
4147 withval=$with_macosx_sdk;
4148 wxUSE_MACOSX_SDK=$withval
4149 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4150
4151 fi
4152
4153 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4154 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4155
4156 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4157 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4158
4159 # Check whether --with-macosx-version-min was given.
4160 if test "${with_macosx_version_min+set}" = set; then
4161 withval=$with_macosx_version_min;
4162 wxUSE_MACOSX_VERSION_MIN=$withval
4163 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4164
4165 fi
4166
4167 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4168 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4169
4170
4171
4172 enablestring=disable
4173 defaultval=
4174 if test -z "$defaultval"; then
4175 if test x"$enablestring" = xdisable; then
4176 defaultval=yes
4177 else
4178 defaultval=no
4179 fi
4180 fi
4181
4182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4183 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4184 # Check whether --enable-shared was given.
4185 if test "${enable_shared+set}" = set; then
4186 enableval=$enable_shared;
4187 if test "$enableval" = yes; then
4188 wx_cv_use_shared='wxUSE_SHARED=yes'
4189 else
4190 wx_cv_use_shared='wxUSE_SHARED=no'
4191 fi
4192
4193 else
4194
4195 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4196
4197 fi
4198
4199
4200 eval "$wx_cv_use_shared"
4201
4202 if test x"$enablestring" = xdisable; then
4203 if test $wxUSE_SHARED = yes; then
4204 result=no
4205 else
4206 result=yes
4207 fi
4208 else
4209 result=$wxUSE_SHARED
4210 fi
4211
4212 { echo "$as_me:$LINENO: result: $result" >&5
4213 echo "${ECHO_T}$result" >&6; }
4214
4215
4216 enablestring=disable
4217 defaultval=
4218 if test -z "$defaultval"; then
4219 if test x"$enablestring" = xdisable; then
4220 defaultval=yes
4221 else
4222 defaultval=no
4223 fi
4224 fi
4225
4226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4227 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4228 # Check whether --enable-optimise was given.
4229 if test "${enable_optimise+set}" = set; then
4230 enableval=$enable_optimise;
4231 if test "$enableval" = yes; then
4232 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4233 else
4234 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4235 fi
4236
4237 else
4238
4239 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4240
4241 fi
4242
4243
4244 eval "$wx_cv_use_optimise"
4245
4246 if test x"$enablestring" = xdisable; then
4247 if test $wxUSE_OPTIMISE = yes; then
4248 result=no
4249 else
4250 result=yes
4251 fi
4252 else
4253 result=$wxUSE_OPTIMISE
4254 fi
4255
4256 { echo "$as_me:$LINENO: result: $result" >&5
4257 echo "${ECHO_T}$result" >&6; }
4258
4259
4260 enablestring=
4261 defaultval=
4262 if test -z "$defaultval"; then
4263 if test x"$enablestring" = xdisable; then
4264 defaultval=yes
4265 else
4266 defaultval=no
4267 fi
4268 fi
4269
4270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4272 # Check whether --enable-debug was given.
4273 if test "${enable_debug+set}" = set; then
4274 enableval=$enable_debug;
4275 if test "$enableval" = yes; then
4276 wx_cv_use_debug='wxUSE_DEBUG=yes'
4277 else
4278 wx_cv_use_debug='wxUSE_DEBUG=no'
4279 fi
4280
4281 else
4282
4283 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4284
4285 fi
4286
4287
4288 eval "$wx_cv_use_debug"
4289
4290 if test x"$enablestring" = xdisable; then
4291 if test $wxUSE_DEBUG = yes; then
4292 result=no
4293 else
4294 result=yes
4295 fi
4296 else
4297 result=$wxUSE_DEBUG
4298 fi
4299
4300 { echo "$as_me:$LINENO: result: $result" >&5
4301 echo "${ECHO_T}$result" >&6; }
4302
4303
4304 enablestring=
4305 defaultval=
4306 if test -z "$defaultval"; then
4307 if test x"$enablestring" = xdisable; then
4308 defaultval=yes
4309 else
4310 defaultval=no
4311 fi
4312 fi
4313
4314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4315 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4316 # Check whether --enable-stl was given.
4317 if test "${enable_stl+set}" = set; then
4318 enableval=$enable_stl;
4319 if test "$enableval" = yes; then
4320 wx_cv_use_stl='wxUSE_STL=yes'
4321 else
4322 wx_cv_use_stl='wxUSE_STL=no'
4323 fi
4324
4325 else
4326
4327 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4328
4329 fi
4330
4331
4332 eval "$wx_cv_use_stl"
4333
4334 if test x"$enablestring" = xdisable; then
4335 if test $wxUSE_STL = yes; then
4336 result=no
4337 else
4338 result=yes
4339 fi
4340 else
4341 result=$wxUSE_STL
4342 fi
4343
4344 { echo "$as_me:$LINENO: result: $result" >&5
4345 echo "${ECHO_T}$result" >&6; }
4346
4347
4348 enablestring=
4349 defaultval=
4350 if test -z "$defaultval"; then
4351 if test x"$enablestring" = xdisable; then
4352 defaultval=yes
4353 else
4354 defaultval=no
4355 fi
4356 fi
4357
4358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4359 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4360 # Check whether --enable-std_iostreams was given.
4361 if test "${enable_std_iostreams+set}" = set; then
4362 enableval=$enable_std_iostreams;
4363 if test "$enableval" = yes; then
4364 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4365 else
4366 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4367 fi
4368
4369 else
4370
4371 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4372
4373 fi
4374
4375
4376 eval "$wx_cv_use_std_iostreams"
4377
4378 if test x"$enablestring" = xdisable; then
4379 if test $wxUSE_STD_IOSTREAM = yes; then
4380 result=no
4381 else
4382 result=yes
4383 fi
4384 else
4385 result=$wxUSE_STD_IOSTREAM
4386 fi
4387
4388 { echo "$as_me:$LINENO: result: $result" >&5
4389 echo "${ECHO_T}$result" >&6; }
4390
4391
4392 enablestring=
4393 defaultval=
4394 if test -z "$defaultval"; then
4395 if test x"$enablestring" = xdisable; then
4396 defaultval=yes
4397 else
4398 defaultval=no
4399 fi
4400 fi
4401
4402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4403 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4404 # Check whether --enable-std_string was given.
4405 if test "${enable_std_string+set}" = set; then
4406 enableval=$enable_std_string;
4407 if test "$enableval" = yes; then
4408 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4409 else
4410 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4411 fi
4412
4413 else
4414
4415 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4416
4417 fi
4418
4419
4420 eval "$wx_cv_use_std_string"
4421
4422 if test x"$enablestring" = xdisable; then
4423 if test $wxUSE_STD_STRING = yes; then
4424 result=no
4425 else
4426 result=yes
4427 fi
4428 else
4429 result=$wxUSE_STD_STRING
4430 fi
4431
4432 { echo "$as_me:$LINENO: result: $result" >&5
4433 echo "${ECHO_T}$result" >&6; }
4434
4435
4436 enablestring=disable
4437 defaultval=
4438 if test -z "$defaultval"; then
4439 if test x"$enablestring" = xdisable; then
4440 defaultval=yes
4441 else
4442 defaultval=no
4443 fi
4444 fi
4445
4446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4447 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4448 # Check whether --enable-unicode was given.
4449 if test "${enable_unicode+set}" = set; then
4450 enableval=$enable_unicode;
4451 if test "$enableval" = yes; then
4452 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4453 else
4454 wx_cv_use_unicode='wxUSE_UNICODE=no'
4455 fi
4456
4457 else
4458
4459 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4460
4461 fi
4462
4463
4464 eval "$wx_cv_use_unicode"
4465
4466 if test x"$enablestring" = xdisable; then
4467 if test $wxUSE_UNICODE = yes; then
4468 result=no
4469 else
4470 result=yes
4471 fi
4472 else
4473 result=$wxUSE_UNICODE
4474 fi
4475
4476 { echo "$as_me:$LINENO: result: $result" >&5
4477 echo "${ECHO_T}$result" >&6; }
4478
4479
4480 enablestring=
4481 defaultval=
4482 if test -z "$defaultval"; then
4483 if test x"$enablestring" = xdisable; then
4484 defaultval=yes
4485 else
4486 defaultval=no
4487 fi
4488 fi
4489
4490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4492 # Check whether --enable-mslu was given.
4493 if test "${enable_mslu+set}" = set; then
4494 enableval=$enable_mslu;
4495 if test "$enableval" = yes; then
4496 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4497 else
4498 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4499 fi
4500
4501 else
4502
4503 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4504
4505 fi
4506
4507
4508 eval "$wx_cv_use_mslu"
4509
4510 if test x"$enablestring" = xdisable; then
4511 if test $wxUSE_UNICODE_MSLU = yes; then
4512 result=no
4513 else
4514 result=yes
4515 fi
4516 else
4517 result=$wxUSE_UNICODE_MSLU
4518 fi
4519
4520 { echo "$as_me:$LINENO: result: $result" >&5
4521 echo "${ECHO_T}$result" >&6; }
4522
4523
4524 enablestring=
4525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4527 # Check whether --enable-utf8 was given.
4528 if test "${enable_utf8+set}" = set; then
4529 enableval=$enable_utf8;
4530 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4531
4532 else
4533
4534 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4535
4536 fi
4537
4538
4539 eval "$wx_cv_use_utf8"
4540
4541 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4542 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4543
4544
4545 enablestring=
4546 defaultval=
4547 if test -z "$defaultval"; then
4548 if test x"$enablestring" = xdisable; then
4549 defaultval=yes
4550 else
4551 defaultval=no
4552 fi
4553 fi
4554
4555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4556 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4557 # Check whether --enable-utf8only was given.
4558 if test "${enable_utf8only+set}" = set; then
4559 enableval=$enable_utf8only;
4560 if test "$enableval" = yes; then
4561 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4562 else
4563 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4564 fi
4565
4566 else
4567
4568 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4569
4570 fi
4571
4572
4573 eval "$wx_cv_use_utf8only"
4574
4575 if test x"$enablestring" = xdisable; then
4576 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4577 result=no
4578 else
4579 result=yes
4580 fi
4581 else
4582 result=$wxUSE_UNICODE_UTF8_LOCALE
4583 fi
4584
4585 { echo "$as_me:$LINENO: result: $result" >&5
4586 echo "${ECHO_T}$result" >&6; }
4587
4588
4589 enablestring=
4590 defaultval=
4591 if test -z "$defaultval"; then
4592 if test x"$enablestring" = xdisable; then
4593 defaultval=yes
4594 else
4595 defaultval=no
4596 fi
4597 fi
4598
4599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4601 # Check whether --enable-extended_rtti was given.
4602 if test "${enable_extended_rtti+set}" = set; then
4603 enableval=$enable_extended_rtti;
4604 if test "$enableval" = yes; then
4605 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4606 else
4607 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4608 fi
4609
4610 else
4611
4612 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4613
4614 fi
4615
4616
4617 eval "$wx_cv_use_extended_rtti"
4618
4619 if test x"$enablestring" = xdisable; then
4620 if test $wxUSE_EXTENDED_RTTI = yes; then
4621 result=no
4622 else
4623 result=yes
4624 fi
4625 else
4626 result=$wxUSE_EXTENDED_RTTI
4627 fi
4628
4629 { echo "$as_me:$LINENO: result: $result" >&5
4630 echo "${ECHO_T}$result" >&6; }
4631
4632 if test "$USE_OS2" = 1; then
4633 DEFAULT_wxUSE_OMF=no
4634
4635 enablestring=
4636 defaultval=
4637 if test -z "$defaultval"; then
4638 if test x"$enablestring" = xdisable; then
4639 defaultval=yes
4640 else
4641 defaultval=no
4642 fi
4643 fi
4644
4645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4646 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4647 # Check whether --enable-omf was given.
4648 if test "${enable_omf+set}" = set; then
4649 enableval=$enable_omf;
4650 if test "$enableval" = yes; then
4651 wx_cv_use_omf='wxUSE_OMF=yes'
4652 else
4653 wx_cv_use_omf='wxUSE_OMF=no'
4654 fi
4655
4656 else
4657
4658 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4659
4660 fi
4661
4662
4663 eval "$wx_cv_use_omf"
4664
4665 if test x"$enablestring" = xdisable; then
4666 if test $wxUSE_OMF = yes; then
4667 result=no
4668 else
4669 result=yes
4670 fi
4671 else
4672 result=$wxUSE_OMF
4673 fi
4674
4675 { echo "$as_me:$LINENO: result: $result" >&5
4676 echo "${ECHO_T}$result" >&6; }
4677
4678 fi
4679
4680 if test "$wxUSE_DEBUG" = "yes"; then
4681 DEFAULT_wxUSE_DEBUG_FLAG=yes
4682 DEFAULT_wxUSE_DEBUG_INFO=yes
4683 BUILD=debug
4684 elif test "$wxUSE_DEBUG" = "no"; then
4685 DEFAULT_wxUSE_DEBUG_FLAG=no
4686 DEFAULT_wxUSE_DEBUG_INFO=no
4687 BUILD=release
4688 fi
4689
4690
4691 enablestring=
4692 defaultval=
4693 if test -z "$defaultval"; then
4694 if test x"$enablestring" = xdisable; then
4695 defaultval=yes
4696 else
4697 defaultval=no
4698 fi
4699 fi
4700
4701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4703 # Check whether --enable-debug_flag was given.
4704 if test "${enable_debug_flag+set}" = set; then
4705 enableval=$enable_debug_flag;
4706 if test "$enableval" = yes; then
4707 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4708 else
4709 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4710 fi
4711
4712 else
4713
4714 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4715
4716 fi
4717
4718
4719 eval "$wx_cv_use_debug_flag"
4720
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_DEBUG_FLAG = yes; then
4723 result=no
4724 else
4725 result=yes
4726 fi
4727 else
4728 result=$wxUSE_DEBUG_FLAG
4729 fi
4730
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4733
4734
4735 enablestring=
4736 defaultval=
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4739 defaultval=yes
4740 else
4741 defaultval=no
4742 fi
4743 fi
4744
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4747 # Check whether --enable-debug_info was given.
4748 if test "${enable_debug_info+set}" = set; then
4749 enableval=$enable_debug_info;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4752 else
4753 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4754 fi
4755
4756 else
4757
4758 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4759
4760 fi
4761
4762
4763 eval "$wx_cv_use_debug_info"
4764
4765 if test x"$enablestring" = xdisable; then
4766 if test $wxUSE_DEBUG_INFO = yes; then
4767 result=no
4768 else
4769 result=yes
4770 fi
4771 else
4772 result=$wxUSE_DEBUG_INFO
4773 fi
4774
4775 { echo "$as_me:$LINENO: result: $result" >&5
4776 echo "${ECHO_T}$result" >&6; }
4777
4778
4779 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4780 wxUSE_DEBUG=yes
4781 BUILD=debug
4782 fi
4783
4784
4785 enablestring=
4786 defaultval=
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4789 defaultval=yes
4790 else
4791 defaultval=no
4792 fi
4793 fi
4794
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4797 # Check whether --enable-debug_gdb was given.
4798 if test "${enable_debug_gdb+set}" = set; then
4799 enableval=$enable_debug_gdb;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4802 else
4803 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4804 fi
4805
4806 else
4807
4808 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4809
4810 fi
4811
4812
4813 eval "$wx_cv_use_debug_gdb"
4814
4815 if test x"$enablestring" = xdisable; then
4816 if test $wxUSE_DEBUG_GDB = yes; then
4817 result=no
4818 else
4819 result=yes
4820 fi
4821 else
4822 result=$wxUSE_DEBUG_GDB
4823 fi
4824
4825 { echo "$as_me:$LINENO: result: $result" >&5
4826 echo "${ECHO_T}$result" >&6; }
4827
4828
4829 enablestring=
4830 defaultval=
4831 if test -z "$defaultval"; then
4832 if test x"$enablestring" = xdisable; then
4833 defaultval=yes
4834 else
4835 defaultval=no
4836 fi
4837 fi
4838
4839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4840 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4841 # Check whether --enable-debug_cntxt was given.
4842 if test "${enable_debug_cntxt+set}" = set; then
4843 enableval=$enable_debug_cntxt;
4844 if test "$enableval" = yes; then
4845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4846 else
4847 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4848 fi
4849
4850 else
4851
4852 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4853
4854 fi
4855
4856
4857 eval "$wx_cv_use_debug_cntxt"
4858
4859 if test x"$enablestring" = xdisable; then
4860 if test $wxUSE_DEBUG_CONTEXT = yes; then
4861 result=no
4862 else
4863 result=yes
4864 fi
4865 else
4866 result=$wxUSE_DEBUG_CONTEXT
4867 fi
4868
4869 { echo "$as_me:$LINENO: result: $result" >&5
4870 echo "${ECHO_T}$result" >&6; }
4871
4872
4873 enablestring=
4874 defaultval=
4875 if test -z "$defaultval"; then
4876 if test x"$enablestring" = xdisable; then
4877 defaultval=yes
4878 else
4879 defaultval=no
4880 fi
4881 fi
4882
4883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4885 # Check whether --enable-mem_tracing was given.
4886 if test "${enable_mem_tracing+set}" = set; then
4887 enableval=$enable_mem_tracing;
4888 if test "$enableval" = yes; then
4889 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4890 else
4891 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4892 fi
4893
4894 else
4895
4896 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4897
4898 fi
4899
4900
4901 eval "$wx_cv_use_mem_tracing"
4902
4903 if test x"$enablestring" = xdisable; then
4904 if test $wxUSE_MEM_TRACING = yes; then
4905 result=no
4906 else
4907 result=yes
4908 fi
4909 else
4910 result=$wxUSE_MEM_TRACING
4911 fi
4912
4913 { echo "$as_me:$LINENO: result: $result" >&5
4914 echo "${ECHO_T}$result" >&6; }
4915
4916
4917 enablestring=
4918 defaultval=
4919 if test -z "$defaultval"; then
4920 if test x"$enablestring" = xdisable; then
4921 defaultval=yes
4922 else
4923 defaultval=no
4924 fi
4925 fi
4926
4927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4929 # Check whether --enable-profile was given.
4930 if test "${enable_profile+set}" = set; then
4931 enableval=$enable_profile;
4932 if test "$enableval" = yes; then
4933 wx_cv_use_profile='wxUSE_PROFILE=yes'
4934 else
4935 wx_cv_use_profile='wxUSE_PROFILE=no'
4936 fi
4937
4938 else
4939
4940 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4941
4942 fi
4943
4944
4945 eval "$wx_cv_use_profile"
4946
4947 if test x"$enablestring" = xdisable; then
4948 if test $wxUSE_PROFILE = yes; then
4949 result=no
4950 else
4951 result=yes
4952 fi
4953 else
4954 result=$wxUSE_PROFILE
4955 fi
4956
4957 { echo "$as_me:$LINENO: result: $result" >&5
4958 echo "${ECHO_T}$result" >&6; }
4959
4960
4961 enablestring=
4962 defaultval=
4963 if test -z "$defaultval"; then
4964 if test x"$enablestring" = xdisable; then
4965 defaultval=yes
4966 else
4967 defaultval=no
4968 fi
4969 fi
4970
4971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4972 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4973 # Check whether --enable-no_rtti was given.
4974 if test "${enable_no_rtti+set}" = set; then
4975 enableval=$enable_no_rtti;
4976 if test "$enableval" = yes; then
4977 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4978 else
4979 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4980 fi
4981
4982 else
4983
4984 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4985
4986 fi
4987
4988
4989 eval "$wx_cv_use_no_rtti"
4990
4991 if test x"$enablestring" = xdisable; then
4992 if test $wxUSE_NO_RTTI = yes; then
4993 result=no
4994 else
4995 result=yes
4996 fi
4997 else
4998 result=$wxUSE_NO_RTTI
4999 fi
5000
5001 { echo "$as_me:$LINENO: result: $result" >&5
5002 echo "${ECHO_T}$result" >&6; }
5003
5004
5005 enablestring=
5006 defaultval=
5007 if test -z "$defaultval"; then
5008 if test x"$enablestring" = xdisable; then
5009 defaultval=yes
5010 else
5011 defaultval=no
5012 fi
5013 fi
5014
5015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5016 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5017 # Check whether --enable-no_exceptions was given.
5018 if test "${enable_no_exceptions+set}" = set; then
5019 enableval=$enable_no_exceptions;
5020 if test "$enableval" = yes; then
5021 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5022 else
5023 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5024 fi
5025
5026 else
5027
5028 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5029
5030 fi
5031
5032
5033 eval "$wx_cv_use_no_exceptions"
5034
5035 if test x"$enablestring" = xdisable; then
5036 if test $wxUSE_NO_EXCEPTIONS = yes; then
5037 result=no
5038 else
5039 result=yes
5040 fi
5041 else
5042 result=$wxUSE_NO_EXCEPTIONS
5043 fi
5044
5045 { echo "$as_me:$LINENO: result: $result" >&5
5046 echo "${ECHO_T}$result" >&6; }
5047
5048
5049 enablestring=
5050 defaultval=
5051 if test -z "$defaultval"; then
5052 if test x"$enablestring" = xdisable; then
5053 defaultval=yes
5054 else
5055 defaultval=no
5056 fi
5057 fi
5058
5059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5060 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5061 # Check whether --enable-permissive was given.
5062 if test "${enable_permissive+set}" = set; then
5063 enableval=$enable_permissive;
5064 if test "$enableval" = yes; then
5065 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5066 else
5067 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5068 fi
5069
5070 else
5071
5072 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5073
5074 fi
5075
5076
5077 eval "$wx_cv_use_permissive"
5078
5079 if test x"$enablestring" = xdisable; then
5080 if test $wxUSE_PERMISSIVE = yes; then
5081 result=no
5082 else
5083 result=yes
5084 fi
5085 else
5086 result=$wxUSE_PERMISSIVE
5087 fi
5088
5089 { echo "$as_me:$LINENO: result: $result" >&5
5090 echo "${ECHO_T}$result" >&6; }
5091
5092
5093 enablestring=
5094 defaultval=
5095 if test -z "$defaultval"; then
5096 if test x"$enablestring" = xdisable; then
5097 defaultval=yes
5098 else
5099 defaultval=no
5100 fi
5101 fi
5102
5103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5104 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5105 # Check whether --enable-no_deps was given.
5106 if test "${enable_no_deps+set}" = set; then
5107 enableval=$enable_no_deps;
5108 if test "$enableval" = yes; then
5109 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5110 else
5111 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5112 fi
5113
5114 else
5115
5116 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5117
5118 fi
5119
5120
5121 eval "$wx_cv_use_no_deps"
5122
5123 if test x"$enablestring" = xdisable; then
5124 if test $wxUSE_NO_DEPS = yes; then
5125 result=no
5126 else
5127 result=yes
5128 fi
5129 else
5130 result=$wxUSE_NO_DEPS
5131 fi
5132
5133 { echo "$as_me:$LINENO: result: $result" >&5
5134 echo "${ECHO_T}$result" >&6; }
5135
5136
5137 enablestring=disable
5138 defaultval=
5139 if test -z "$defaultval"; then
5140 if test x"$enablestring" = xdisable; then
5141 defaultval=yes
5142 else
5143 defaultval=no
5144 fi
5145 fi
5146
5147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5149 # Check whether --enable-vararg_macros was given.
5150 if test "${enable_vararg_macros+set}" = set; then
5151 enableval=$enable_vararg_macros;
5152 if test "$enableval" = yes; then
5153 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5154 else
5155 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5156 fi
5157
5158 else
5159
5160 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5161
5162 fi
5163
5164
5165 eval "$wx_cv_use_vararg_macros"
5166
5167 if test x"$enablestring" = xdisable; then
5168 if test $wxUSE_VARARG_MACROS = yes; then
5169 result=no
5170 else
5171 result=yes
5172 fi
5173 else
5174 result=$wxUSE_VARARG_MACROS
5175 fi
5176
5177 { echo "$as_me:$LINENO: result: $result" >&5
5178 echo "${ECHO_T}$result" >&6; }
5179
5180
5181 enablestring=
5182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5184 # Check whether --enable-universal_binary was given.
5185 if test "${enable_universal_binary+set}" = set; then
5186 enableval=$enable_universal_binary;
5187 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5188
5189 else
5190
5191 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5192
5193 fi
5194
5195
5196 eval "$wx_cv_use_universal_binary"
5197
5198 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5199 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5200
5201
5202
5203 enablestring=
5204 defaultval=
5205 if test -z "$defaultval"; then
5206 if test x"$enablestring" = xdisable; then
5207 defaultval=yes
5208 else
5209 defaultval=no
5210 fi
5211 fi
5212
5213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5214 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5215 # Check whether --enable-compat26 was given.
5216 if test "${enable_compat26+set}" = set; then
5217 enableval=$enable_compat26;
5218 if test "$enableval" = yes; then
5219 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5220 else
5221 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5222 fi
5223
5224 else
5225
5226 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5227
5228 fi
5229
5230
5231 eval "$wx_cv_use_compat26"
5232
5233 if test x"$enablestring" = xdisable; then
5234 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5235 result=no
5236 else
5237 result=yes
5238 fi
5239 else
5240 result=$WXWIN_COMPATIBILITY_2_6
5241 fi
5242
5243 { echo "$as_me:$LINENO: result: $result" >&5
5244 echo "${ECHO_T}$result" >&6; }
5245
5246
5247 enablestring=disable
5248 defaultval=
5249 if test -z "$defaultval"; then
5250 if test x"$enablestring" = xdisable; then
5251 defaultval=yes
5252 else
5253 defaultval=no
5254 fi
5255 fi
5256
5257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5259 # Check whether --enable-compat28 was given.
5260 if test "${enable_compat28+set}" = set; then
5261 enableval=$enable_compat28;
5262 if test "$enableval" = yes; then
5263 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5264 else
5265 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5266 fi
5267
5268 else
5269
5270 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5271
5272 fi
5273
5274
5275 eval "$wx_cv_use_compat28"
5276
5277 if test x"$enablestring" = xdisable; then
5278 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5279 result=no
5280 else
5281 result=yes
5282 fi
5283 else
5284 result=$WXWIN_COMPATIBILITY_2_8
5285 fi
5286
5287 { echo "$as_me:$LINENO: result: $result" >&5
5288 echo "${ECHO_T}$result" >&6; }
5289
5290
5291
5292 enablestring=disable
5293 defaultval=
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5296 defaultval=yes
5297 else
5298 defaultval=no
5299 fi
5300 fi
5301
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5304 # Check whether --enable-rpath was given.
5305 if test "${enable_rpath+set}" = set; then
5306 enableval=$enable_rpath;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_rpath='wxUSE_RPATH=yes'
5309 else
5310 wx_cv_use_rpath='wxUSE_RPATH=no'
5311 fi
5312
5313 else
5314
5315 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5316
5317 fi
5318
5319
5320 eval "$wx_cv_use_rpath"
5321
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_RPATH = yes; then
5324 result=no
5325 else
5326 result=yes
5327 fi
5328 else
5329 result=$wxUSE_RPATH
5330 fi
5331
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5334
5335
5336
5337 enablestring=
5338 defaultval=
5339 if test -z "$defaultval"; then
5340 if test x"$enablestring" = xdisable; then
5341 defaultval=yes
5342 else
5343 defaultval=no
5344 fi
5345 fi
5346
5347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5348 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5349 # Check whether --enable-objc_uniquifying was given.
5350 if test "${enable_objc_uniquifying+set}" = set; then
5351 enableval=$enable_objc_uniquifying;
5352 if test "$enableval" = yes; then
5353 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5354 else
5355 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5356 fi
5357
5358 else
5359
5360 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5361
5362 fi
5363
5364
5365 eval "$wx_cv_use_objc_uniquifying"
5366
5367 if test x"$enablestring" = xdisable; then
5368 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5369 result=no
5370 else
5371 result=yes
5372 fi
5373 else
5374 result=$wxUSE_OBJC_UNIQUIFYING
5375 fi
5376
5377 { echo "$as_me:$LINENO: result: $result" >&5
5378 echo "${ECHO_T}$result" >&6; }
5379
5380
5381
5382 enablestring=disable
5383 defaultval=
5384 if test -z "$defaultval"; then
5385 if test x"$enablestring" = xdisable; then
5386 defaultval=yes
5387 else
5388 defaultval=no
5389 fi
5390 fi
5391
5392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5393 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5394 # Check whether --enable-visibility was given.
5395 if test "${enable_visibility+set}" = set; then
5396 enableval=$enable_visibility;
5397 if test "$enableval" = yes; then
5398 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5399 else
5400 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5401 fi
5402
5403 else
5404
5405 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5406
5407 fi
5408
5409
5410 eval "$wx_cv_use_visibility"
5411
5412 if test x"$enablestring" = xdisable; then
5413 if test $wxUSE_VISIBILITY = yes; then
5414 result=no
5415 else
5416 result=yes
5417 fi
5418 else
5419 result=$wxUSE_VISIBILITY
5420 fi
5421
5422 { echo "$as_me:$LINENO: result: $result" >&5
5423 echo "${ECHO_T}$result" >&6; }
5424
5425
5426
5427
5428 enablestring=
5429 defaultval=$wxUSE_ALL_FEATURES
5430 if test -z "$defaultval"; then
5431 if test x"$enablestring" = xdisable; then
5432 defaultval=yes
5433 else
5434 defaultval=no
5435 fi
5436 fi
5437
5438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5439 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5440 # Check whether --enable-intl was given.
5441 if test "${enable_intl+set}" = set; then
5442 enableval=$enable_intl;
5443 if test "$enableval" = yes; then
5444 wx_cv_use_intl='wxUSE_INTL=yes'
5445 else
5446 wx_cv_use_intl='wxUSE_INTL=no'
5447 fi
5448
5449 else
5450
5451 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5452
5453 fi
5454
5455
5456 eval "$wx_cv_use_intl"
5457
5458 if test x"$enablestring" = xdisable; then
5459 if test $wxUSE_INTL = yes; then
5460 result=no
5461 else
5462 result=yes
5463 fi
5464 else
5465 result=$wxUSE_INTL
5466 fi
5467
5468 { echo "$as_me:$LINENO: result: $result" >&5
5469 echo "${ECHO_T}$result" >&6; }
5470
5471
5472 enablestring=
5473 defaultval=$wxUSE_ALL_FEATURES
5474 if test -z "$defaultval"; then
5475 if test x"$enablestring" = xdisable; then
5476 defaultval=yes
5477 else
5478 defaultval=no
5479 fi
5480 fi
5481
5482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5484 # Check whether --enable-config was given.
5485 if test "${enable_config+set}" = set; then
5486 enableval=$enable_config;
5487 if test "$enableval" = yes; then
5488 wx_cv_use_config='wxUSE_CONFIG=yes'
5489 else
5490 wx_cv_use_config='wxUSE_CONFIG=no'
5491 fi
5492
5493 else
5494
5495 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5496
5497 fi
5498
5499
5500 eval "$wx_cv_use_config"
5501
5502 if test x"$enablestring" = xdisable; then
5503 if test $wxUSE_CONFIG = yes; then
5504 result=no
5505 else
5506 result=yes
5507 fi
5508 else
5509 result=$wxUSE_CONFIG
5510 fi
5511
5512 { echo "$as_me:$LINENO: result: $result" >&5
5513 echo "${ECHO_T}$result" >&6; }
5514
5515
5516
5517 enablestring=
5518 defaultval=$wxUSE_ALL_FEATURES
5519 if test -z "$defaultval"; then
5520 if test x"$enablestring" = xdisable; then
5521 defaultval=yes
5522 else
5523 defaultval=no
5524 fi
5525 fi
5526
5527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5528 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5529 # Check whether --enable-protocols was given.
5530 if test "${enable_protocols+set}" = set; then
5531 enableval=$enable_protocols;
5532 if test "$enableval" = yes; then
5533 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5534 else
5535 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5536 fi
5537
5538 else
5539
5540 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5541
5542 fi
5543
5544
5545 eval "$wx_cv_use_protocols"
5546
5547 if test x"$enablestring" = xdisable; then
5548 if test $wxUSE_PROTOCOL = yes; then
5549 result=no
5550 else
5551 result=yes
5552 fi
5553 else
5554 result=$wxUSE_PROTOCOL
5555 fi
5556
5557 { echo "$as_me:$LINENO: result: $result" >&5
5558 echo "${ECHO_T}$result" >&6; }
5559
5560
5561 enablestring=
5562 defaultval=$wxUSE_ALL_FEATURES
5563 if test -z "$defaultval"; then
5564 if test x"$enablestring" = xdisable; then
5565 defaultval=yes
5566 else
5567 defaultval=no
5568 fi
5569 fi
5570
5571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5572 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5573 # Check whether --enable-ftp was given.
5574 if test "${enable_ftp+set}" = set; then
5575 enableval=$enable_ftp;
5576 if test "$enableval" = yes; then
5577 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5578 else
5579 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5580 fi
5581
5582 else
5583
5584 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5585
5586 fi
5587
5588
5589 eval "$wx_cv_use_ftp"
5590
5591 if test x"$enablestring" = xdisable; then
5592 if test $wxUSE_PROTOCOL_FTP = yes; then
5593 result=no
5594 else
5595 result=yes
5596 fi
5597 else
5598 result=$wxUSE_PROTOCOL_FTP
5599 fi
5600
5601 { echo "$as_me:$LINENO: result: $result" >&5
5602 echo "${ECHO_T}$result" >&6; }
5603
5604
5605 enablestring=
5606 defaultval=$wxUSE_ALL_FEATURES
5607 if test -z "$defaultval"; then
5608 if test x"$enablestring" = xdisable; then
5609 defaultval=yes
5610 else
5611 defaultval=no
5612 fi
5613 fi
5614
5615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5617 # Check whether --enable-http was given.
5618 if test "${enable_http+set}" = set; then
5619 enableval=$enable_http;
5620 if test "$enableval" = yes; then
5621 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5622 else
5623 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5624 fi
5625
5626 else
5627
5628 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5629
5630 fi
5631
5632
5633 eval "$wx_cv_use_http"
5634
5635 if test x"$enablestring" = xdisable; then
5636 if test $wxUSE_PROTOCOL_HTTP = yes; then
5637 result=no
5638 else
5639 result=yes
5640 fi
5641 else
5642 result=$wxUSE_PROTOCOL_HTTP
5643 fi
5644
5645 { echo "$as_me:$LINENO: result: $result" >&5
5646 echo "${ECHO_T}$result" >&6; }
5647
5648
5649 enablestring=
5650 defaultval=$wxUSE_ALL_FEATURES
5651 if test -z "$defaultval"; then
5652 if test x"$enablestring" = xdisable; then
5653 defaultval=yes
5654 else
5655 defaultval=no
5656 fi
5657 fi
5658
5659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5660 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5661 # Check whether --enable-fileproto was given.
5662 if test "${enable_fileproto+set}" = set; then
5663 enableval=$enable_fileproto;
5664 if test "$enableval" = yes; then
5665 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5666 else
5667 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5668 fi
5669
5670 else
5671
5672 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5673
5674 fi
5675
5676
5677 eval "$wx_cv_use_fileproto"
5678
5679 if test x"$enablestring" = xdisable; then
5680 if test $wxUSE_PROTOCOL_FILE = yes; then
5681 result=no
5682 else
5683 result=yes
5684 fi
5685 else
5686 result=$wxUSE_PROTOCOL_FILE
5687 fi
5688
5689 { echo "$as_me:$LINENO: result: $result" >&5
5690 echo "${ECHO_T}$result" >&6; }
5691
5692
5693 enablestring=
5694 defaultval=$wxUSE_ALL_FEATURES
5695 if test -z "$defaultval"; then
5696 if test x"$enablestring" = xdisable; then
5697 defaultval=yes
5698 else
5699 defaultval=no
5700 fi
5701 fi
5702
5703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5705 # Check whether --enable-sockets was given.
5706 if test "${enable_sockets+set}" = set; then
5707 enableval=$enable_sockets;
5708 if test "$enableval" = yes; then
5709 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5710 else
5711 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5712 fi
5713
5714 else
5715
5716 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5717
5718 fi
5719
5720
5721 eval "$wx_cv_use_sockets"
5722
5723 if test x"$enablestring" = xdisable; then
5724 if test $wxUSE_SOCKETS = yes; then
5725 result=no
5726 else
5727 result=yes
5728 fi
5729 else
5730 result=$wxUSE_SOCKETS
5731 fi
5732
5733 { echo "$as_me:$LINENO: result: $result" >&5
5734 echo "${ECHO_T}$result" >&6; }
5735
5736
5737 enablestring=
5738 defaultval=$wxUSE_ALL_FEATURES
5739 if test -z "$defaultval"; then
5740 if test x"$enablestring" = xdisable; then
5741 defaultval=yes
5742 else
5743 defaultval=no
5744 fi
5745 fi
5746
5747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5749 # Check whether --enable-ipv6 was given.
5750 if test "${enable_ipv6+set}" = set; then
5751 enableval=$enable_ipv6;
5752 if test "$enableval" = yes; then
5753 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5754 else
5755 wx_cv_use_ipv6='wxUSE_IPV6=no'
5756 fi
5757
5758 else
5759
5760 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5761
5762 fi
5763
5764
5765 eval "$wx_cv_use_ipv6"
5766
5767 if test x"$enablestring" = xdisable; then
5768 if test $wxUSE_IPV6 = yes; then
5769 result=no
5770 else
5771 result=yes
5772 fi
5773 else
5774 result=$wxUSE_IPV6
5775 fi
5776
5777 { echo "$as_me:$LINENO: result: $result" >&5
5778 echo "${ECHO_T}$result" >&6; }
5779
5780
5781 enablestring=
5782 defaultval=$wxUSE_ALL_FEATURES
5783 if test -z "$defaultval"; then
5784 if test x"$enablestring" = xdisable; then
5785 defaultval=yes
5786 else
5787 defaultval=no
5788 fi
5789 fi
5790
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5793 # Check whether --enable-ole was given.
5794 if test "${enable_ole+set}" = set; then
5795 enableval=$enable_ole;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_ole='wxUSE_OLE=yes'
5798 else
5799 wx_cv_use_ole='wxUSE_OLE=no'
5800 fi
5801
5802 else
5803
5804 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5805
5806 fi
5807
5808
5809 eval "$wx_cv_use_ole"
5810
5811 if test x"$enablestring" = xdisable; then
5812 if test $wxUSE_OLE = yes; then
5813 result=no
5814 else
5815 result=yes
5816 fi
5817 else
5818 result=$wxUSE_OLE
5819 fi
5820
5821 { echo "$as_me:$LINENO: result: $result" >&5
5822 echo "${ECHO_T}$result" >&6; }
5823
5824
5825 enablestring=
5826 defaultval=$wxUSE_ALL_FEATURES
5827 if test -z "$defaultval"; then
5828 if test x"$enablestring" = xdisable; then
5829 defaultval=yes
5830 else
5831 defaultval=no
5832 fi
5833 fi
5834
5835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5837 # Check whether --enable-dataobj was given.
5838 if test "${enable_dataobj+set}" = set; then
5839 enableval=$enable_dataobj;
5840 if test "$enableval" = yes; then
5841 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5842 else
5843 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5844 fi
5845
5846 else
5847
5848 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5849
5850 fi
5851
5852
5853 eval "$wx_cv_use_dataobj"
5854
5855 if test x"$enablestring" = xdisable; then
5856 if test $wxUSE_DATAOBJ = yes; then
5857 result=no
5858 else
5859 result=yes
5860 fi
5861 else
5862 result=$wxUSE_DATAOBJ
5863 fi
5864
5865 { echo "$as_me:$LINENO: result: $result" >&5
5866 echo "${ECHO_T}$result" >&6; }
5867
5868
5869
5870 enablestring=
5871 defaultval=$wxUSE_ALL_FEATURES
5872 if test -z "$defaultval"; then
5873 if test x"$enablestring" = xdisable; then
5874 defaultval=yes
5875 else
5876 defaultval=no
5877 fi
5878 fi
5879
5880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5881 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5882 # Check whether --enable-ipc was given.
5883 if test "${enable_ipc+set}" = set; then
5884 enableval=$enable_ipc;
5885 if test "$enableval" = yes; then
5886 wx_cv_use_ipc='wxUSE_IPC=yes'
5887 else
5888 wx_cv_use_ipc='wxUSE_IPC=no'
5889 fi
5890
5891 else
5892
5893 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5894
5895 fi
5896
5897
5898 eval "$wx_cv_use_ipc"
5899
5900 if test x"$enablestring" = xdisable; then
5901 if test $wxUSE_IPC = yes; then
5902 result=no
5903 else
5904 result=yes
5905 fi
5906 else
5907 result=$wxUSE_IPC
5908 fi
5909
5910 { echo "$as_me:$LINENO: result: $result" >&5
5911 echo "${ECHO_T}$result" >&6; }
5912
5913
5914
5915 enablestring=
5916 defaultval=$wxUSE_ALL_FEATURES
5917 if test -z "$defaultval"; then
5918 if test x"$enablestring" = xdisable; then
5919 defaultval=yes
5920 else
5921 defaultval=no
5922 fi
5923 fi
5924
5925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
5927 # Check whether --enable-baseevtloop was given.
5928 if test "${enable_baseevtloop+set}" = set; then
5929 enableval=$enable_baseevtloop;
5930 if test "$enableval" = yes; then
5931 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5932 else
5933 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5934 fi
5935
5936 else
5937
5938 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5939
5940 fi
5941
5942
5943 eval "$wx_cv_use_baseevtloop"
5944
5945 if test x"$enablestring" = xdisable; then
5946 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5947 result=no
5948 else
5949 result=yes
5950 fi
5951 else
5952 result=$wxUSE_CONSOLE_EVENTLOOP
5953 fi
5954
5955 { echo "$as_me:$LINENO: result: $result" >&5
5956 echo "${ECHO_T}$result" >&6; }
5957
5958
5959 enablestring=
5960 defaultval=$wxUSE_ALL_FEATURES
5961 if test -z "$defaultval"; then
5962 if test x"$enablestring" = xdisable; then
5963 defaultval=yes
5964 else
5965 defaultval=no
5966 fi
5967 fi
5968
5969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5971 # Check whether --enable-epollloop was given.
5972 if test "${enable_epollloop+set}" = set; then
5973 enableval=$enable_epollloop;
5974 if test "$enableval" = yes; then
5975 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
5976 else
5977 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
5978 fi
5979
5980 else
5981
5982 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5983
5984 fi
5985
5986
5987 eval "$wx_cv_use_epollloop"
5988
5989 if test x"$enablestring" = xdisable; then
5990 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5991 result=no
5992 else
5993 result=yes
5994 fi
5995 else
5996 result=$wxUSE_EPOLL_DISPATCHER
5997 fi
5998
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6001
6002
6003 enablestring=
6004 defaultval=$wxUSE_ALL_FEATURES
6005 if test -z "$defaultval"; then
6006 if test x"$enablestring" = xdisable; then
6007 defaultval=yes
6008 else
6009 defaultval=no
6010 fi
6011 fi
6012
6013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6015 # Check whether --enable-selectloop was given.
6016 if test "${enable_selectloop+set}" = set; then
6017 enableval=$enable_selectloop;
6018 if test "$enableval" = yes; then
6019 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6020 else
6021 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6022 fi
6023
6024 else
6025
6026 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6027
6028 fi
6029
6030
6031 eval "$wx_cv_use_selectloop"
6032
6033 if test x"$enablestring" = xdisable; then
6034 if test $wxUSE_SELECT_DISPATCHER = yes; then
6035 result=no
6036 else
6037 result=yes
6038 fi
6039 else
6040 result=$wxUSE_SELECT_DISPATCHER
6041 fi
6042
6043 { echo "$as_me:$LINENO: result: $result" >&5
6044 echo "${ECHO_T}$result" >&6; }
6045
6046
6047
6048 enablestring=
6049 defaultval=$wxUSE_ALL_FEATURES
6050 if test -z "$defaultval"; then
6051 if test x"$enablestring" = xdisable; then
6052 defaultval=yes
6053 else
6054 defaultval=no
6055 fi
6056 fi
6057
6058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6060 # Check whether --enable-apple_ieee was given.
6061 if test "${enable_apple_ieee+set}" = set; then
6062 enableval=$enable_apple_ieee;
6063 if test "$enableval" = yes; then
6064 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6065 else
6066 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6067 fi
6068
6069 else
6070
6071 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6072
6073 fi
6074
6075
6076 eval "$wx_cv_use_apple_ieee"
6077
6078 if test x"$enablestring" = xdisable; then
6079 if test $wxUSE_APPLE_IEEE = yes; then
6080 result=no
6081 else
6082 result=yes
6083 fi
6084 else
6085 result=$wxUSE_APPLE_IEEE
6086 fi
6087
6088 { echo "$as_me:$LINENO: result: $result" >&5
6089 echo "${ECHO_T}$result" >&6; }
6090
6091
6092 enablestring=
6093 defaultval=$wxUSE_ALL_FEATURES
6094 if test -z "$defaultval"; then
6095 if test x"$enablestring" = xdisable; then
6096 defaultval=yes
6097 else
6098 defaultval=no
6099 fi
6100 fi
6101
6102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6104 # Check whether --enable-arcstream was given.
6105 if test "${enable_arcstream+set}" = set; then
6106 enableval=$enable_arcstream;
6107 if test "$enableval" = yes; then
6108 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6109 else
6110 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6111 fi
6112
6113 else
6114
6115 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6116
6117 fi
6118
6119
6120 eval "$wx_cv_use_arcstream"
6121
6122 if test x"$enablestring" = xdisable; then
6123 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6124 result=no
6125 else
6126 result=yes
6127 fi
6128 else
6129 result=$wxUSE_ARCHIVE_STREAMS
6130 fi
6131
6132 { echo "$as_me:$LINENO: result: $result" >&5
6133 echo "${ECHO_T}$result" >&6; }
6134
6135
6136 enablestring=
6137 defaultval=$wxUSE_ALL_FEATURES
6138 if test -z "$defaultval"; then
6139 if test x"$enablestring" = xdisable; then
6140 defaultval=yes
6141 else
6142 defaultval=no
6143 fi
6144 fi
6145
6146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6148 # Check whether --enable-base64 was given.
6149 if test "${enable_base64+set}" = set; then
6150 enableval=$enable_base64;
6151 if test "$enableval" = yes; then
6152 wx_cv_use_base64='wxUSE_BASE64=yes'
6153 else
6154 wx_cv_use_base64='wxUSE_BASE64=no'
6155 fi
6156
6157 else
6158
6159 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6160
6161 fi
6162
6163
6164 eval "$wx_cv_use_base64"
6165
6166 if test x"$enablestring" = xdisable; then
6167 if test $wxUSE_BASE64 = yes; then
6168 result=no
6169 else
6170 result=yes
6171 fi
6172 else
6173 result=$wxUSE_BASE64
6174 fi
6175
6176 { echo "$as_me:$LINENO: result: $result" >&5
6177 echo "${ECHO_T}$result" >&6; }
6178
6179
6180 enablestring=
6181 defaultval=$wxUSE_ALL_FEATURES
6182 if test -z "$defaultval"; then
6183 if test x"$enablestring" = xdisable; then
6184 defaultval=yes
6185 else
6186 defaultval=no
6187 fi
6188 fi
6189
6190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6192 # Check whether --enable-backtrace was given.
6193 if test "${enable_backtrace+set}" = set; then
6194 enableval=$enable_backtrace;
6195 if test "$enableval" = yes; then
6196 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6197 else
6198 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6199 fi
6200
6201 else
6202
6203 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6204
6205 fi
6206
6207
6208 eval "$wx_cv_use_backtrace"
6209
6210 if test x"$enablestring" = xdisable; then
6211 if test $wxUSE_STACKWALKER = yes; then
6212 result=no
6213 else
6214 result=yes
6215 fi
6216 else
6217 result=$wxUSE_STACKWALKER
6218 fi
6219
6220 { echo "$as_me:$LINENO: result: $result" >&5
6221 echo "${ECHO_T}$result" >&6; }
6222
6223
6224 enablestring=
6225 defaultval=$wxUSE_ALL_FEATURES
6226 if test -z "$defaultval"; then
6227 if test x"$enablestring" = xdisable; then
6228 defaultval=yes
6229 else
6230 defaultval=no
6231 fi
6232 fi
6233
6234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6236 # Check whether --enable-catch_segvs was given.
6237 if test "${enable_catch_segvs+set}" = set; then
6238 enableval=$enable_catch_segvs;
6239 if test "$enableval" = yes; then
6240 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6241 else
6242 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6243 fi
6244
6245 else
6246
6247 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6248
6249 fi
6250
6251
6252 eval "$wx_cv_use_catch_segvs"
6253
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6256 result=no
6257 else
6258 result=yes
6259 fi
6260 else
6261 result=$wxUSE_ON_FATAL_EXCEPTION
6262 fi
6263
6264 { echo "$as_me:$LINENO: result: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6266
6267
6268 enablestring=
6269 defaultval=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6272 defaultval=yes
6273 else
6274 defaultval=no
6275 fi
6276 fi
6277
6278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6280 # Check whether --enable-cmdline was given.
6281 if test "${enable_cmdline+set}" = set; then
6282 enableval=$enable_cmdline;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6285 else
6286 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6287 fi
6288
6289 else
6290
6291 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6292
6293 fi
6294
6295
6296 eval "$wx_cv_use_cmdline"
6297
6298 if test x"$enablestring" = xdisable; then
6299 if test $wxUSE_CMDLINE_PARSER = yes; then
6300 result=no
6301 else
6302 result=yes
6303 fi
6304 else
6305 result=$wxUSE_CMDLINE_PARSER
6306 fi
6307
6308 { echo "$as_me:$LINENO: result: $result" >&5
6309 echo "${ECHO_T}$result" >&6; }
6310
6311
6312 enablestring=
6313 defaultval=$wxUSE_ALL_FEATURES
6314 if test -z "$defaultval"; then
6315 if test x"$enablestring" = xdisable; then
6316 defaultval=yes
6317 else
6318 defaultval=no
6319 fi
6320 fi
6321
6322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6324 # Check whether --enable-datetime was given.
6325 if test "${enable_datetime+set}" = set; then
6326 enableval=$enable_datetime;
6327 if test "$enableval" = yes; then
6328 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6329 else
6330 wx_cv_use_datetime='wxUSE_DATETIME=no'
6331 fi
6332
6333 else
6334
6335 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6336
6337 fi
6338
6339
6340 eval "$wx_cv_use_datetime"
6341
6342 if test x"$enablestring" = xdisable; then
6343 if test $wxUSE_DATETIME = yes; then
6344 result=no
6345 else
6346 result=yes
6347 fi
6348 else
6349 result=$wxUSE_DATETIME
6350 fi
6351
6352 { echo "$as_me:$LINENO: result: $result" >&5
6353 echo "${ECHO_T}$result" >&6; }
6354
6355
6356 enablestring=
6357 defaultval=$wxUSE_ALL_FEATURES
6358 if test -z "$defaultval"; then
6359 if test x"$enablestring" = xdisable; then
6360 defaultval=yes
6361 else
6362 defaultval=no
6363 fi
6364 fi
6365
6366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6367 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6368 # Check whether --enable-debugreport was given.
6369 if test "${enable_debugreport+set}" = set; then
6370 enableval=$enable_debugreport;
6371 if test "$enableval" = yes; then
6372 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6373 else
6374 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6375 fi
6376
6377 else
6378
6379 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6380
6381 fi
6382
6383
6384 eval "$wx_cv_use_debugreport"
6385
6386 if test x"$enablestring" = xdisable; then
6387 if test $wxUSE_DEBUGREPORT = yes; then
6388 result=no
6389 else
6390 result=yes
6391 fi
6392 else
6393 result=$wxUSE_DEBUGREPORT
6394 fi
6395
6396 { echo "$as_me:$LINENO: result: $result" >&5
6397 echo "${ECHO_T}$result" >&6; }
6398
6399
6400 enablestring=
6401 defaultval=$wxUSE_ALL_FEATURES
6402 if test -z "$defaultval"; then
6403 if test x"$enablestring" = xdisable; then
6404 defaultval=yes
6405 else
6406 defaultval=no
6407 fi
6408 fi
6409
6410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6411 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6412 # Check whether --enable-dialupman was given.
6413 if test "${enable_dialupman+set}" = set; then
6414 enableval=$enable_dialupman;
6415 if test "$enableval" = yes; then
6416 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6417 else
6418 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6419 fi
6420
6421 else
6422
6423 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6424
6425 fi
6426
6427
6428 eval "$wx_cv_use_dialupman"
6429
6430 if test x"$enablestring" = xdisable; then
6431 if test $wxUSE_DIALUP_MANAGER = yes; then
6432 result=no
6433 else
6434 result=yes
6435 fi
6436 else
6437 result=$wxUSE_DIALUP_MANAGER
6438 fi
6439
6440 { echo "$as_me:$LINENO: result: $result" >&5
6441 echo "${ECHO_T}$result" >&6; }
6442
6443
6444 enablestring=
6445 defaultval=$wxUSE_ALL_FEATURES
6446 if test -z "$defaultval"; then
6447 if test x"$enablestring" = xdisable; then
6448 defaultval=yes
6449 else
6450 defaultval=no
6451 fi
6452 fi
6453
6454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6455 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6456 # Check whether --enable-dynlib was given.
6457 if test "${enable_dynlib+set}" = set; then
6458 enableval=$enable_dynlib;
6459 if test "$enableval" = yes; then
6460 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6461 else
6462 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6463 fi
6464
6465 else
6466
6467 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6468
6469 fi
6470
6471
6472 eval "$wx_cv_use_dynlib"
6473
6474 if test x"$enablestring" = xdisable; then
6475 if test $wxUSE_DYNLIB_CLASS = yes; then
6476 result=no
6477 else
6478 result=yes
6479 fi
6480 else
6481 result=$wxUSE_DYNLIB_CLASS
6482 fi
6483
6484 { echo "$as_me:$LINENO: result: $result" >&5
6485 echo "${ECHO_T}$result" >&6; }
6486
6487
6488 enablestring=
6489 defaultval=$wxUSE_ALL_FEATURES
6490 if test -z "$defaultval"; then
6491 if test x"$enablestring" = xdisable; then
6492 defaultval=yes
6493 else
6494 defaultval=no
6495 fi
6496 fi
6497
6498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6500 # Check whether --enable-dynamicloader was given.
6501 if test "${enable_dynamicloader+set}" = set; then
6502 enableval=$enable_dynamicloader;
6503 if test "$enableval" = yes; then
6504 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6505 else
6506 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6507 fi
6508
6509 else
6510
6511 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6512
6513 fi
6514
6515
6516 eval "$wx_cv_use_dynamicloader"
6517
6518 if test x"$enablestring" = xdisable; then
6519 if test $wxUSE_DYNAMIC_LOADER = yes; then
6520 result=no
6521 else
6522 result=yes
6523 fi
6524 else
6525 result=$wxUSE_DYNAMIC_LOADER
6526 fi
6527
6528 { echo "$as_me:$LINENO: result: $result" >&5
6529 echo "${ECHO_T}$result" >&6; }
6530
6531
6532 enablestring=
6533 defaultval=$wxUSE_ALL_FEATURES
6534 if test -z "$defaultval"; then
6535 if test x"$enablestring" = xdisable; then
6536 defaultval=yes
6537 else
6538 defaultval=no
6539 fi
6540 fi
6541
6542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6544 # Check whether --enable-exceptions was given.
6545 if test "${enable_exceptions+set}" = set; then
6546 enableval=$enable_exceptions;
6547 if test "$enableval" = yes; then
6548 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6549 else
6550 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6551 fi
6552
6553 else
6554
6555 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6556
6557 fi
6558
6559
6560 eval "$wx_cv_use_exceptions"
6561
6562 if test x"$enablestring" = xdisable; then
6563 if test $wxUSE_EXCEPTIONS = yes; then
6564 result=no
6565 else
6566 result=yes
6567 fi
6568 else
6569 result=$wxUSE_EXCEPTIONS
6570 fi
6571
6572 { echo "$as_me:$LINENO: result: $result" >&5
6573 echo "${ECHO_T}$result" >&6; }
6574
6575
6576 enablestring=
6577 defaultval=$wxUSE_ALL_FEATURES
6578 if test -z "$defaultval"; then
6579 if test x"$enablestring" = xdisable; then
6580 defaultval=yes
6581 else
6582 defaultval=no
6583 fi
6584 fi
6585
6586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6588 # Check whether --enable-ffile was given.
6589 if test "${enable_ffile+set}" = set; then
6590 enableval=$enable_ffile;
6591 if test "$enableval" = yes; then
6592 wx_cv_use_ffile='wxUSE_FFILE=yes'
6593 else
6594 wx_cv_use_ffile='wxUSE_FFILE=no'
6595 fi
6596
6597 else
6598
6599 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6600
6601 fi
6602
6603
6604 eval "$wx_cv_use_ffile"
6605
6606 if test x"$enablestring" = xdisable; then
6607 if test $wxUSE_FFILE = yes; then
6608 result=no
6609 else
6610 result=yes
6611 fi
6612 else
6613 result=$wxUSE_FFILE
6614 fi
6615
6616 { echo "$as_me:$LINENO: result: $result" >&5
6617 echo "${ECHO_T}$result" >&6; }
6618
6619
6620 enablestring=
6621 defaultval=$wxUSE_ALL_FEATURES
6622 if test -z "$defaultval"; then
6623 if test x"$enablestring" = xdisable; then
6624 defaultval=yes
6625 else
6626 defaultval=no
6627 fi
6628 fi
6629
6630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6632 # Check whether --enable-file was given.
6633 if test "${enable_file+set}" = set; then
6634 enableval=$enable_file;
6635 if test "$enableval" = yes; then
6636 wx_cv_use_file='wxUSE_FILE=yes'
6637 else
6638 wx_cv_use_file='wxUSE_FILE=no'
6639 fi
6640
6641 else
6642
6643 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6644
6645 fi
6646
6647
6648 eval "$wx_cv_use_file"
6649
6650 if test x"$enablestring" = xdisable; then
6651 if test $wxUSE_FILE = yes; then
6652 result=no
6653 else
6654 result=yes
6655 fi
6656 else
6657 result=$wxUSE_FILE
6658 fi
6659
6660 { echo "$as_me:$LINENO: result: $result" >&5
6661 echo "${ECHO_T}$result" >&6; }
6662
6663
6664 enablestring=
6665 defaultval=$wxUSE_ALL_FEATURES
6666 if test -z "$defaultval"; then
6667 if test x"$enablestring" = xdisable; then
6668 defaultval=yes
6669 else
6670 defaultval=no
6671 fi
6672 fi
6673
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6676 # Check whether --enable-filesystem was given.
6677 if test "${enable_filesystem+set}" = set; then
6678 enableval=$enable_filesystem;
6679 if test "$enableval" = yes; then
6680 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6681 else
6682 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6683 fi
6684
6685 else
6686
6687 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6688
6689 fi
6690
6691
6692 eval "$wx_cv_use_filesystem"
6693
6694 if test x"$enablestring" = xdisable; then
6695 if test $wxUSE_FILESYSTEM = yes; then
6696 result=no
6697 else
6698 result=yes
6699 fi
6700 else
6701 result=$wxUSE_FILESYSTEM
6702 fi
6703
6704 { echo "$as_me:$LINENO: result: $result" >&5
6705 echo "${ECHO_T}$result" >&6; }
6706
6707
6708 enablestring=
6709 defaultval=$wxUSE_ALL_FEATURES
6710 if test -z "$defaultval"; then
6711 if test x"$enablestring" = xdisable; then
6712 defaultval=yes
6713 else
6714 defaultval=no
6715 fi
6716 fi
6717
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6720 # Check whether --enable-fontenum was given.
6721 if test "${enable_fontenum+set}" = set; then
6722 enableval=$enable_fontenum;
6723 if test "$enableval" = yes; then
6724 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6725 else
6726 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6727 fi
6728
6729 else
6730
6731 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6732
6733 fi
6734
6735
6736 eval "$wx_cv_use_fontenum"
6737
6738 if test x"$enablestring" = xdisable; then
6739 if test $wxUSE_FONTENUM = yes; then
6740 result=no
6741 else
6742 result=yes
6743 fi
6744 else
6745 result=$wxUSE_FONTENUM
6746 fi
6747
6748 { echo "$as_me:$LINENO: result: $result" >&5
6749 echo "${ECHO_T}$result" >&6; }
6750
6751
6752 enablestring=
6753 defaultval=$wxUSE_ALL_FEATURES
6754 if test -z "$defaultval"; then
6755 if test x"$enablestring" = xdisable; then
6756 defaultval=yes
6757 else
6758 defaultval=no
6759 fi
6760 fi
6761
6762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6764 # Check whether --enable-fontmap was given.
6765 if test "${enable_fontmap+set}" = set; then
6766 enableval=$enable_fontmap;
6767 if test "$enableval" = yes; then
6768 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6769 else
6770 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6771 fi
6772
6773 else
6774
6775 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6776
6777 fi
6778
6779
6780 eval "$wx_cv_use_fontmap"
6781
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_FONTMAP = yes; then
6784 result=no
6785 else
6786 result=yes
6787 fi
6788 else
6789 result=$wxUSE_FONTMAP
6790 fi
6791
6792 { echo "$as_me:$LINENO: result: $result" >&5
6793 echo "${ECHO_T}$result" >&6; }
6794
6795
6796 enablestring=
6797 defaultval=$wxUSE_ALL_FEATURES
6798 if test -z "$defaultval"; then
6799 if test x"$enablestring" = xdisable; then
6800 defaultval=yes
6801 else
6802 defaultval=no
6803 fi
6804 fi
6805
6806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6808 # Check whether --enable-fs_archive was given.
6809 if test "${enable_fs_archive+set}" = set; then
6810 enableval=$enable_fs_archive;
6811 if test "$enableval" = yes; then
6812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6813 else
6814 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6815 fi
6816
6817 else
6818
6819 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6820
6821 fi
6822
6823
6824 eval "$wx_cv_use_fs_archive"
6825
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_FS_ARCHIVE = yes; then
6828 result=no
6829 else
6830 result=yes
6831 fi
6832 else
6833 result=$wxUSE_FS_ARCHIVE
6834 fi
6835
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6838
6839
6840 enablestring=
6841 defaultval=$wxUSE_ALL_FEATURES
6842 if test -z "$defaultval"; then
6843 if test x"$enablestring" = xdisable; then
6844 defaultval=yes
6845 else
6846 defaultval=no
6847 fi
6848 fi
6849
6850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6851 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6852 # Check whether --enable-fs_inet was given.
6853 if test "${enable_fs_inet+set}" = set; then
6854 enableval=$enable_fs_inet;
6855 if test "$enableval" = yes; then
6856 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6857 else
6858 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6859 fi
6860
6861 else
6862
6863 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6864
6865 fi
6866
6867
6868 eval "$wx_cv_use_fs_inet"
6869
6870 if test x"$enablestring" = xdisable; then
6871 if test $wxUSE_FS_INET = yes; then
6872 result=no
6873 else
6874 result=yes
6875 fi
6876 else
6877 result=$wxUSE_FS_INET
6878 fi
6879
6880 { echo "$as_me:$LINENO: result: $result" >&5
6881 echo "${ECHO_T}$result" >&6; }
6882
6883
6884 enablestring=
6885 defaultval=$wxUSE_ALL_FEATURES
6886 if test -z "$defaultval"; then
6887 if test x"$enablestring" = xdisable; then
6888 defaultval=yes
6889 else
6890 defaultval=no
6891 fi
6892 fi
6893
6894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6896 # Check whether --enable-fs_zip was given.
6897 if test "${enable_fs_zip+set}" = set; then
6898 enableval=$enable_fs_zip;
6899 if test "$enableval" = yes; then
6900 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6901 else
6902 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6903 fi
6904
6905 else
6906
6907 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6908
6909 fi
6910
6911
6912 eval "$wx_cv_use_fs_zip"
6913
6914 if test x"$enablestring" = xdisable; then
6915 if test $wxUSE_FS_ZIP = yes; then
6916 result=no
6917 else
6918 result=yes
6919 fi
6920 else
6921 result=$wxUSE_FS_ZIP
6922 fi
6923
6924 { echo "$as_me:$LINENO: result: $result" >&5
6925 echo "${ECHO_T}$result" >&6; }
6926
6927
6928 enablestring=
6929 defaultval=$wxUSE_ALL_FEATURES
6930 if test -z "$defaultval"; then
6931 if test x"$enablestring" = xdisable; then
6932 defaultval=yes
6933 else
6934 defaultval=no
6935 fi
6936 fi
6937
6938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6939 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6940 # Check whether --enable-geometry was given.
6941 if test "${enable_geometry+set}" = set; then
6942 enableval=$enable_geometry;
6943 if test "$enableval" = yes; then
6944 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
6945 else
6946 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
6947 fi
6948
6949 else
6950
6951 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6952
6953 fi
6954
6955
6956 eval "$wx_cv_use_geometry"
6957
6958 if test x"$enablestring" = xdisable; then
6959 if test $wxUSE_GEOMETRY = yes; then
6960 result=no
6961 else
6962 result=yes
6963 fi
6964 else
6965 result=$wxUSE_GEOMETRY
6966 fi
6967
6968 { echo "$as_me:$LINENO: result: $result" >&5
6969 echo "${ECHO_T}$result" >&6; }
6970
6971
6972 enablestring=
6973 defaultval=$wxUSE_ALL_FEATURES
6974 if test -z "$defaultval"; then
6975 if test x"$enablestring" = xdisable; then
6976 defaultval=yes
6977 else
6978 defaultval=no
6979 fi
6980 fi
6981
6982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6984 # Check whether --enable-log was given.
6985 if test "${enable_log+set}" = set; then
6986 enableval=$enable_log;
6987 if test "$enableval" = yes; then
6988 wx_cv_use_log='wxUSE_LOG=yes'
6989 else
6990 wx_cv_use_log='wxUSE_LOG=no'
6991 fi
6992
6993 else
6994
6995 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6996
6997 fi
6998
6999
7000 eval "$wx_cv_use_log"
7001
7002 if test x"$enablestring" = xdisable; then
7003 if test $wxUSE_LOG = yes; then
7004 result=no
7005 else
7006 result=yes
7007 fi
7008 else
7009 result=$wxUSE_LOG
7010 fi
7011
7012 { echo "$as_me:$LINENO: result: $result" >&5
7013 echo "${ECHO_T}$result" >&6; }
7014
7015
7016 enablestring=
7017 defaultval=$wxUSE_ALL_FEATURES
7018 if test -z "$defaultval"; then
7019 if test x"$enablestring" = xdisable; then
7020 defaultval=yes
7021 else
7022 defaultval=no
7023 fi
7024 fi
7025
7026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7028 # Check whether --enable-longlong was given.
7029 if test "${enable_longlong+set}" = set; then
7030 enableval=$enable_longlong;
7031 if test "$enableval" = yes; then
7032 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7033 else
7034 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7035 fi
7036
7037 else
7038
7039 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7040
7041 fi
7042
7043
7044 eval "$wx_cv_use_longlong"
7045
7046 if test x"$enablestring" = xdisable; then
7047 if test $wxUSE_LONGLONG = yes; then
7048 result=no
7049 else
7050 result=yes
7051 fi
7052 else
7053 result=$wxUSE_LONGLONG
7054 fi
7055
7056 { echo "$as_me:$LINENO: result: $result" >&5
7057 echo "${ECHO_T}$result" >&6; }
7058
7059
7060 enablestring=
7061 defaultval=$wxUSE_ALL_FEATURES
7062 if test -z "$defaultval"; then
7063 if test x"$enablestring" = xdisable; then
7064 defaultval=yes
7065 else
7066 defaultval=no
7067 fi
7068 fi
7069
7070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7072 # Check whether --enable-mimetype was given.
7073 if test "${enable_mimetype+set}" = set; then
7074 enableval=$enable_mimetype;
7075 if test "$enableval" = yes; then
7076 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7077 else
7078 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7079 fi
7080
7081 else
7082
7083 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7084
7085 fi
7086
7087
7088 eval "$wx_cv_use_mimetype"
7089
7090 if test x"$enablestring" = xdisable; then
7091 if test $wxUSE_MIMETYPE = yes; then
7092 result=no
7093 else
7094 result=yes
7095 fi
7096 else
7097 result=$wxUSE_MIMETYPE
7098 fi
7099
7100 { echo "$as_me:$LINENO: result: $result" >&5
7101 echo "${ECHO_T}$result" >&6; }
7102
7103
7104 enablestring=
7105 defaultval=$wxUSE_ALL_FEATURES
7106 if test -z "$defaultval"; then
7107 if test x"$enablestring" = xdisable; then
7108 defaultval=yes
7109 else
7110 defaultval=no
7111 fi
7112 fi
7113
7114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7115 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7116 # Check whether --enable-snglinst was given.
7117 if test "${enable_snglinst+set}" = set; then
7118 enableval=$enable_snglinst;
7119 if test "$enableval" = yes; then
7120 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7121 else
7122 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7123 fi
7124
7125 else
7126
7127 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7128
7129 fi
7130
7131
7132 eval "$wx_cv_use_snglinst"
7133
7134 if test x"$enablestring" = xdisable; then
7135 if test $wxUSE_SNGLINST_CHECKER = yes; then
7136 result=no
7137 else
7138 result=yes
7139 fi
7140 else
7141 result=$wxUSE_SNGLINST_CHECKER
7142 fi
7143
7144 { echo "$as_me:$LINENO: result: $result" >&5
7145 echo "${ECHO_T}$result" >&6; }
7146
7147
7148 enablestring=
7149 defaultval=$wxUSE_ALL_FEATURES
7150 if test -z "$defaultval"; then
7151 if test x"$enablestring" = xdisable; then
7152 defaultval=yes
7153 else
7154 defaultval=no
7155 fi
7156 fi
7157
7158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7159 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7160 # Check whether --enable-stdpaths was given.
7161 if test "${enable_stdpaths+set}" = set; then
7162 enableval=$enable_stdpaths;
7163 if test "$enableval" = yes; then
7164 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7165 else
7166 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7167 fi
7168
7169 else
7170
7171 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7172
7173 fi
7174
7175
7176 eval "$wx_cv_use_stdpaths"
7177
7178 if test x"$enablestring" = xdisable; then
7179 if test $wxUSE_STDPATHS = yes; then
7180 result=no
7181 else
7182 result=yes
7183 fi
7184 else
7185 result=$wxUSE_STDPATHS
7186 fi
7187
7188 { echo "$as_me:$LINENO: result: $result" >&5
7189 echo "${ECHO_T}$result" >&6; }
7190
7191
7192 enablestring=
7193 defaultval=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x"$enablestring" = xdisable; then
7196 defaultval=yes
7197 else
7198 defaultval=no
7199 fi
7200 fi
7201
7202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7203 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7204 # Check whether --enable-stopwatch was given.
7205 if test "${enable_stopwatch+set}" = set; then
7206 enableval=$enable_stopwatch;
7207 if test "$enableval" = yes; then
7208 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7209 else
7210 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7211 fi
7212
7213 else
7214
7215 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7216
7217 fi
7218
7219
7220 eval "$wx_cv_use_stopwatch"
7221
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_STOPWATCH = yes; then
7224 result=no
7225 else
7226 result=yes
7227 fi
7228 else
7229 result=$wxUSE_STOPWATCH
7230 fi
7231
7232 { echo "$as_me:$LINENO: result: $result" >&5
7233 echo "${ECHO_T}$result" >&6; }
7234
7235
7236 enablestring=
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7240 defaultval=yes
7241 else
7242 defaultval=no
7243 fi
7244 fi
7245
7246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7247 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7248 # Check whether --enable-streams was given.
7249 if test "${enable_streams+set}" = set; then
7250 enableval=$enable_streams;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_streams='wxUSE_STREAMS=yes'
7253 else
7254 wx_cv_use_streams='wxUSE_STREAMS=no'
7255 fi
7256
7257 else
7258
7259 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7260
7261 fi
7262
7263
7264 eval "$wx_cv_use_streams"
7265
7266 if test x"$enablestring" = xdisable; then
7267 if test $wxUSE_STREAMS = yes; then
7268 result=no
7269 else
7270 result=yes
7271 fi
7272 else
7273 result=$wxUSE_STREAMS
7274 fi
7275
7276 { echo "$as_me:$LINENO: result: $result" >&5
7277 echo "${ECHO_T}$result" >&6; }
7278
7279
7280 enablestring=
7281 defaultval=$wxUSE_ALL_FEATURES
7282 if test -z "$defaultval"; then
7283 if test x"$enablestring" = xdisable; then
7284 defaultval=yes
7285 else
7286 defaultval=no
7287 fi
7288 fi
7289
7290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7292 # Check whether --enable-system_options was given.
7293 if test "${enable_system_options+set}" = set; then
7294 enableval=$enable_system_options;
7295 if test "$enableval" = yes; then
7296 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7297 else
7298 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7299 fi
7300
7301 else
7302
7303 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7304
7305 fi
7306
7307
7308 eval "$wx_cv_use_system_options"
7309
7310 if test x"$enablestring" = xdisable; then
7311 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7312 result=no
7313 else
7314 result=yes
7315 fi
7316 else
7317 result=$wxUSE_SYSTEM_OPTIONS
7318 fi
7319
7320 { echo "$as_me:$LINENO: result: $result" >&5
7321 echo "${ECHO_T}$result" >&6; }
7322
7323
7324 enablestring=
7325 defaultval=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x"$enablestring" = xdisable; then
7328 defaultval=yes
7329 else
7330 defaultval=no
7331 fi
7332 fi
7333
7334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7336 # Check whether --enable-tarstream was given.
7337 if test "${enable_tarstream+set}" = set; then
7338 enableval=$enable_tarstream;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7341 else
7342 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7343 fi
7344
7345 else
7346
7347 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7348
7349 fi
7350
7351
7352 eval "$wx_cv_use_tarstream"
7353
7354 if test x"$enablestring" = xdisable; then
7355 if test $wxUSE_TARSTREAM = yes; then
7356 result=no
7357 else
7358 result=yes
7359 fi
7360 else
7361 result=$wxUSE_TARSTREAM
7362 fi
7363
7364 { echo "$as_me:$LINENO: result: $result" >&5
7365 echo "${ECHO_T}$result" >&6; }
7366
7367
7368 enablestring=
7369 defaultval=$wxUSE_ALL_FEATURES
7370 if test -z "$defaultval"; then
7371 if test x"$enablestring" = xdisable; then
7372 defaultval=yes
7373 else
7374 defaultval=no
7375 fi
7376 fi
7377
7378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7380 # Check whether --enable-textbuf was given.
7381 if test "${enable_textbuf+set}" = set; then
7382 enableval=$enable_textbuf;
7383 if test "$enableval" = yes; then
7384 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7385 else
7386 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7387 fi
7388
7389 else
7390
7391 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7392
7393 fi
7394
7395
7396 eval "$wx_cv_use_textbuf"
7397
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_TEXTBUFFER = yes; then
7400 result=no
7401 else
7402 result=yes
7403 fi
7404 else
7405 result=$wxUSE_TEXTBUFFER
7406 fi
7407
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7410
7411
7412 enablestring=
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7416 defaultval=yes
7417 else
7418 defaultval=no
7419 fi
7420 fi
7421
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7424 # Check whether --enable-textfile was given.
7425 if test "${enable_textfile+set}" = set; then
7426 enableval=$enable_textfile;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7429 else
7430 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7431 fi
7432
7433 else
7434
7435 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7436
7437 fi
7438
7439
7440 eval "$wx_cv_use_textfile"
7441
7442 if test x"$enablestring" = xdisable; then
7443 if test $wxUSE_TEXTFILE = yes; then
7444 result=no
7445 else
7446 result=yes
7447 fi
7448 else
7449 result=$wxUSE_TEXTFILE
7450 fi
7451
7452 { echo "$as_me:$LINENO: result: $result" >&5
7453 echo "${ECHO_T}$result" >&6; }
7454
7455
7456 enablestring=
7457 defaultval=$wxUSE_ALL_FEATURES
7458 if test -z "$defaultval"; then
7459 if test x"$enablestring" = xdisable; then
7460 defaultval=yes
7461 else
7462 defaultval=no
7463 fi
7464 fi
7465
7466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7468 # Check whether --enable-timer was given.
7469 if test "${enable_timer+set}" = set; then
7470 enableval=$enable_timer;
7471 if test "$enableval" = yes; then
7472 wx_cv_use_timer='wxUSE_TIMER=yes'
7473 else
7474 wx_cv_use_timer='wxUSE_TIMER=no'
7475 fi
7476
7477 else
7478
7479 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7480
7481 fi
7482
7483
7484 eval "$wx_cv_use_timer"
7485
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_TIMER = yes; then
7488 result=no
7489 else
7490 result=yes
7491 fi
7492 else
7493 result=$wxUSE_TIMER
7494 fi
7495
7496 { echo "$as_me:$LINENO: result: $result" >&5
7497 echo "${ECHO_T}$result" >&6; }
7498
7499
7500 enablestring=
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7504 defaultval=yes
7505 else
7506 defaultval=no
7507 fi
7508 fi
7509
7510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7512 # Check whether --enable-sound was given.
7513 if test "${enable_sound+set}" = set; then
7514 enableval=$enable_sound;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_sound='wxUSE_SOUND=yes'
7517 else
7518 wx_cv_use_sound='wxUSE_SOUND=no'
7519 fi
7520
7521 else
7522
7523 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7524
7525 fi
7526
7527
7528 eval "$wx_cv_use_sound"
7529
7530 if test x"$enablestring" = xdisable; then
7531 if test $wxUSE_SOUND = yes; then
7532 result=no
7533 else
7534 result=yes
7535 fi
7536 else
7537 result=$wxUSE_SOUND
7538 fi
7539
7540 { echo "$as_me:$LINENO: result: $result" >&5
7541 echo "${ECHO_T}$result" >&6; }
7542
7543
7544 enablestring=
7545 defaultval=$wxUSE_ALL_FEATURES
7546 if test -z "$defaultval"; then
7547 if test x"$enablestring" = xdisable; then
7548 defaultval=yes
7549 else
7550 defaultval=no
7551 fi
7552 fi
7553
7554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7556 # Check whether --enable-mediactrl was given.
7557 if test "${enable_mediactrl+set}" = set; then
7558 enableval=$enable_mediactrl;
7559 if test "$enableval" = yes; then
7560 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7561 else
7562 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7563 fi
7564
7565 else
7566
7567 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7568
7569 fi
7570
7571
7572 eval "$wx_cv_use_mediactrl"
7573
7574 if test x"$enablestring" = xdisable; then
7575 if test $wxUSE_MEDIACTRL = yes; then
7576 result=no
7577 else
7578 result=yes
7579 fi
7580 else
7581 result=$wxUSE_MEDIACTRL
7582 fi
7583
7584 { echo "$as_me:$LINENO: result: $result" >&5
7585 echo "${ECHO_T}$result" >&6; }
7586
7587
7588 enablestring=
7589 defaultval=$wxUSE_ALL_FEATURES
7590 if test -z "$defaultval"; then
7591 if test x"$enablestring" = xdisable; then
7592 defaultval=yes
7593 else
7594 defaultval=no
7595 fi
7596 fi
7597
7598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7600 # Check whether --enable-gstreamer8 was given.
7601 if test "${enable_gstreamer8+set}" = set; then
7602 enableval=$enable_gstreamer8;
7603 if test "$enableval" = yes; then
7604 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7605 else
7606 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7607 fi
7608
7609 else
7610
7611 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7612
7613 fi
7614
7615
7616 eval "$wx_cv_use_gstreamer8"
7617
7618 if test x"$enablestring" = xdisable; then
7619 if test $wxUSE_GSTREAMER8 = yes; then
7620 result=no
7621 else
7622 result=yes
7623 fi
7624 else
7625 result=$wxUSE_GSTREAMER8
7626 fi
7627
7628 { echo "$as_me:$LINENO: result: $result" >&5
7629 echo "${ECHO_T}$result" >&6; }
7630
7631
7632 enablestring=
7633 defaultval=$wxUSE_ALL_FEATURES
7634 if test -z "$defaultval"; then
7635 if test x"$enablestring" = xdisable; then
7636 defaultval=yes
7637 else
7638 defaultval=no
7639 fi
7640 fi
7641
7642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7644 # Check whether --enable-printfposparam was given.
7645 if test "${enable_printfposparam+set}" = set; then
7646 enableval=$enable_printfposparam;
7647 if test "$enableval" = yes; then
7648 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7649 else
7650 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7651 fi
7652
7653 else
7654
7655 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7656
7657 fi
7658
7659
7660 eval "$wx_cv_use_printfposparam"
7661
7662 if test x"$enablestring" = xdisable; then
7663 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7664 result=no
7665 else
7666 result=yes
7667 fi
7668 else
7669 result=$wxUSE_PRINTF_POS_PARAMS
7670 fi
7671
7672 { echo "$as_me:$LINENO: result: $result" >&5
7673 echo "${ECHO_T}$result" >&6; }
7674
7675
7676 enablestring=
7677 defaultval=$wxUSE_ALL_FEATURES
7678 if test -z "$defaultval"; then
7679 if test x"$enablestring" = xdisable; then
7680 defaultval=yes
7681 else
7682 defaultval=no
7683 fi
7684 fi
7685
7686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7687 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7688 # Check whether --enable-zipstream was given.
7689 if test "${enable_zipstream+set}" = set; then
7690 enableval=$enable_zipstream;
7691 if test "$enableval" = yes; then
7692 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7693 else
7694 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7695 fi
7696
7697 else
7698
7699 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7700
7701 fi
7702
7703
7704 eval "$wx_cv_use_zipstream"
7705
7706 if test x"$enablestring" = xdisable; then
7707 if test $wxUSE_ZIPSTREAM = yes; then
7708 result=no
7709 else
7710 result=yes
7711 fi
7712 else
7713 result=$wxUSE_ZIPSTREAM
7714 fi
7715
7716 { echo "$as_me:$LINENO: result: $result" >&5
7717 echo "${ECHO_T}$result" >&6; }
7718
7719
7720
7721 enablestring=
7722 defaultval=$wxUSE_ALL_FEATURES
7723 if test -z "$defaultval"; then
7724 if test x"$enablestring" = xdisable; then
7725 defaultval=yes
7726 else
7727 defaultval=no
7728 fi
7729 fi
7730
7731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7733 # Check whether --enable-url was given.
7734 if test "${enable_url+set}" = set; then
7735 enableval=$enable_url;
7736 if test "$enableval" = yes; then
7737 wx_cv_use_url='wxUSE_URL=yes'
7738 else
7739 wx_cv_use_url='wxUSE_URL=no'
7740 fi
7741
7742 else
7743
7744 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7745
7746 fi
7747
7748
7749 eval "$wx_cv_use_url"
7750
7751 if test x"$enablestring" = xdisable; then
7752 if test $wxUSE_URL = yes; then
7753 result=no
7754 else
7755 result=yes
7756 fi
7757 else
7758 result=$wxUSE_URL
7759 fi
7760
7761 { echo "$as_me:$LINENO: result: $result" >&5
7762 echo "${ECHO_T}$result" >&6; }
7763
7764
7765 enablestring=
7766 defaultval=$wxUSE_ALL_FEATURES
7767 if test -z "$defaultval"; then
7768 if test x"$enablestring" = xdisable; then
7769 defaultval=yes
7770 else
7771 defaultval=no
7772 fi
7773 fi
7774
7775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7776 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7777 # Check whether --enable-variant was given.
7778 if test "${enable_variant+set}" = set; then
7779 enableval=$enable_variant;
7780 if test "$enableval" = yes; then
7781 wx_cv_use_variant='wxUSE_VARIANT=yes'
7782 else
7783 wx_cv_use_variant='wxUSE_VARIANT=no'
7784 fi
7785
7786 else
7787
7788 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7789
7790 fi
7791
7792
7793 eval "$wx_cv_use_variant"
7794
7795 if test x"$enablestring" = xdisable; then
7796 if test $wxUSE_VARIANT = yes; then
7797 result=no
7798 else
7799 result=yes
7800 fi
7801 else
7802 result=$wxUSE_VARIANT
7803 fi
7804
7805 { echo "$as_me:$LINENO: result: $result" >&5
7806 echo "${ECHO_T}$result" >&6; }
7807
7808
7809 enablestring=
7810 defaultval=$wxUSE_ALL_FEATURES
7811 if test -z "$defaultval"; then
7812 if test x"$enablestring" = xdisable; then
7813 defaultval=yes
7814 else
7815 defaultval=no
7816 fi
7817 fi
7818
7819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7820 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7821 # Check whether --enable-protocol was given.
7822 if test "${enable_protocol+set}" = set; then
7823 enableval=$enable_protocol;
7824 if test "$enableval" = yes; then
7825 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7826 else
7827 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7828 fi
7829
7830 else
7831
7832 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7833
7834 fi
7835
7836
7837 eval "$wx_cv_use_protocol"
7838
7839 if test x"$enablestring" = xdisable; then
7840 if test $wxUSE_PROTOCOL = yes; then
7841 result=no
7842 else
7843 result=yes
7844 fi
7845 else
7846 result=$wxUSE_PROTOCOL
7847 fi
7848
7849 { echo "$as_me:$LINENO: result: $result" >&5
7850 echo "${ECHO_T}$result" >&6; }
7851
7852
7853 enablestring=
7854 defaultval=$wxUSE_ALL_FEATURES
7855 if test -z "$defaultval"; then
7856 if test x"$enablestring" = xdisable; then
7857 defaultval=yes
7858 else
7859 defaultval=no
7860 fi
7861 fi
7862
7863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7864 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7865 # Check whether --enable-protocol_http was given.
7866 if test "${enable_protocol_http+set}" = set; then
7867 enableval=$enable_protocol_http;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7870 else
7871 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7872 fi
7873
7874 else
7875
7876 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7877
7878 fi
7879
7880
7881 eval "$wx_cv_use_protocol_http"
7882
7883 if test x"$enablestring" = xdisable; then
7884 if test $wxUSE_PROTOCOL_HTTP = yes; then
7885 result=no
7886 else
7887 result=yes
7888 fi
7889 else
7890 result=$wxUSE_PROTOCOL_HTTP
7891 fi
7892
7893 { echo "$as_me:$LINENO: result: $result" >&5
7894 echo "${ECHO_T}$result" >&6; }
7895
7896
7897 enablestring=
7898 defaultval=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x"$enablestring" = xdisable; then
7901 defaultval=yes
7902 else
7903 defaultval=no
7904 fi
7905 fi
7906
7907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7908 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7909 # Check whether --enable-protocol_ftp was given.
7910 if test "${enable_protocol_ftp+set}" = set; then
7911 enableval=$enable_protocol_ftp;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7914 else
7915 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7916 fi
7917
7918 else
7919
7920 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7921
7922 fi
7923
7924
7925 eval "$wx_cv_use_protocol_ftp"
7926
7927 if test x"$enablestring" = xdisable; then
7928 if test $wxUSE_PROTOCOL_FTP = yes; then
7929 result=no
7930 else
7931 result=yes
7932 fi
7933 else
7934 result=$wxUSE_PROTOCOL_FTP
7935 fi
7936
7937 { echo "$as_me:$LINENO: result: $result" >&5
7938 echo "${ECHO_T}$result" >&6; }
7939
7940
7941 enablestring=
7942 defaultval=$wxUSE_ALL_FEATURES
7943 if test -z "$defaultval"; then
7944 if test x"$enablestring" = xdisable; then
7945 defaultval=yes
7946 else
7947 defaultval=no
7948 fi
7949 fi
7950
7951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7952 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7953 # Check whether --enable-protocol_file was given.
7954 if test "${enable_protocol_file+set}" = set; then
7955 enableval=$enable_protocol_file;
7956 if test "$enableval" = yes; then
7957 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7958 else
7959 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7960 fi
7961
7962 else
7963
7964 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7965
7966 fi
7967
7968
7969 eval "$wx_cv_use_protocol_file"
7970
7971 if test x"$enablestring" = xdisable; then
7972 if test $wxUSE_PROTOCOL_FILE = yes; then
7973 result=no
7974 else
7975 result=yes
7976 fi
7977 else
7978 result=$wxUSE_PROTOCOL_FILE
7979 fi
7980
7981 { echo "$as_me:$LINENO: result: $result" >&5
7982 echo "${ECHO_T}$result" >&6; }
7983
7984
7985
7986 enablestring=
7987 defaultval=$wxUSE_ALL_FEATURES
7988 if test -z "$defaultval"; then
7989 if test x"$enablestring" = xdisable; then
7990 defaultval=yes
7991 else
7992 defaultval=no
7993 fi
7994 fi
7995
7996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7998 # Check whether --enable-threads was given.
7999 if test "${enable_threads+set}" = set; then
8000 enableval=$enable_threads;
8001 if test "$enableval" = yes; then
8002 wx_cv_use_threads='wxUSE_THREADS=yes'
8003 else
8004 wx_cv_use_threads='wxUSE_THREADS=no'
8005 fi
8006
8007 else
8008
8009 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8010
8011 fi
8012
8013
8014 eval "$wx_cv_use_threads"
8015
8016 if test x"$enablestring" = xdisable; then
8017 if test $wxUSE_THREADS = yes; then
8018 result=no
8019 else
8020 result=yes
8021 fi
8022 else
8023 result=$wxUSE_THREADS
8024 fi
8025
8026 { echo "$as_me:$LINENO: result: $result" >&5
8027 echo "${ECHO_T}$result" >&6; }
8028
8029
8030
8031 enablestring=
8032 defaultval=
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8035 defaultval=yes
8036 else
8037 defaultval=no
8038 fi
8039 fi
8040
8041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8043 # Check whether --enable-iniconf was given.
8044 if test "${enable_iniconf+set}" = set; then
8045 enableval=$enable_iniconf;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8048 else
8049 wx_cv_use_iniconf='wxUSE_INICONF=no'
8050 fi
8051
8052 else
8053
8054 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8055
8056 fi
8057
8058
8059 eval "$wx_cv_use_iniconf"
8060
8061 if test x"$enablestring" = xdisable; then
8062 if test $wxUSE_INICONF = yes; then
8063 result=no
8064 else
8065 result=yes
8066 fi
8067 else
8068 result=$wxUSE_INICONF
8069 fi
8070
8071 { echo "$as_me:$LINENO: result: $result" >&5
8072 echo "${ECHO_T}$result" >&6; }
8073
8074
8075 enablestring=
8076 defaultval=$wxUSE_ALL_FEATURES
8077 if test -z "$defaultval"; then
8078 if test x"$enablestring" = xdisable; then
8079 defaultval=yes
8080 else
8081 defaultval=no
8082 fi
8083 fi
8084
8085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8086 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8087 # Check whether --enable-regkey was given.
8088 if test "${enable_regkey+set}" = set; then
8089 enableval=$enable_regkey;
8090 if test "$enableval" = yes; then
8091 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8092 else
8093 wx_cv_use_regkey='wxUSE_REGKEY=no'
8094 fi
8095
8096 else
8097
8098 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8099
8100 fi
8101
8102
8103 eval "$wx_cv_use_regkey"
8104
8105 if test x"$enablestring" = xdisable; then
8106 if test $wxUSE_REGKEY = yes; then
8107 result=no
8108 else
8109 result=yes
8110 fi
8111 else
8112 result=$wxUSE_REGKEY
8113 fi
8114
8115 { echo "$as_me:$LINENO: result: $result" >&5
8116 echo "${ECHO_T}$result" >&6; }
8117
8118
8119 if test "$wxUSE_GUI" = "yes"; then
8120
8121
8122
8123 enablestring=
8124 defaultval=$wxUSE_ALL_FEATURES
8125 if test -z "$defaultval"; then
8126 if test x"$enablestring" = xdisable; then
8127 defaultval=yes
8128 else
8129 defaultval=no
8130 fi
8131 fi
8132
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8135 # Check whether --enable-docview was given.
8136 if test "${enable_docview+set}" = set; then
8137 enableval=$enable_docview;
8138 if test "$enableval" = yes; then
8139 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8140 else
8141 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8142 fi
8143
8144 else
8145
8146 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8147
8148 fi
8149
8150
8151 eval "$wx_cv_use_docview"
8152
8153 if test x"$enablestring" = xdisable; then
8154 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8155 result=no
8156 else
8157 result=yes
8158 fi
8159 else
8160 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8161 fi
8162
8163 { echo "$as_me:$LINENO: result: $result" >&5
8164 echo "${ECHO_T}$result" >&6; }
8165
8166
8167 enablestring=
8168 defaultval=$wxUSE_ALL_FEATURES
8169 if test -z "$defaultval"; then
8170 if test x"$enablestring" = xdisable; then
8171 defaultval=yes
8172 else
8173 defaultval=no
8174 fi
8175 fi
8176
8177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8179 # Check whether --enable-help was given.
8180 if test "${enable_help+set}" = set; then
8181 enableval=$enable_help;
8182 if test "$enableval" = yes; then
8183 wx_cv_use_help='wxUSE_HELP=yes'
8184 else
8185 wx_cv_use_help='wxUSE_HELP=no'
8186 fi
8187
8188 else
8189
8190 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8191
8192 fi
8193
8194
8195 eval "$wx_cv_use_help"
8196
8197 if test x"$enablestring" = xdisable; then
8198 if test $wxUSE_HELP = yes; then
8199 result=no
8200 else
8201 result=yes
8202 fi
8203 else
8204 result=$wxUSE_HELP
8205 fi
8206
8207 { echo "$as_me:$LINENO: result: $result" >&5
8208 echo "${ECHO_T}$result" >&6; }
8209
8210
8211 enablestring=
8212 defaultval=$wxUSE_ALL_FEATURES
8213 if test -z "$defaultval"; then
8214 if test x"$enablestring" = xdisable; then
8215 defaultval=yes
8216 else
8217 defaultval=no
8218 fi
8219 fi
8220
8221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8222 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8223 # Check whether --enable-mshtmlhelp was given.
8224 if test "${enable_mshtmlhelp+set}" = set; then
8225 enableval=$enable_mshtmlhelp;
8226 if test "$enableval" = yes; then
8227 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8228 else
8229 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8230 fi
8231
8232 else
8233
8234 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8235
8236 fi
8237
8238
8239 eval "$wx_cv_use_mshtmlhelp"
8240
8241 if test x"$enablestring" = xdisable; then
8242 if test $wxUSE_MS_HTML_HELP = yes; then
8243 result=no
8244 else
8245 result=yes
8246 fi
8247 else
8248 result=$wxUSE_MS_HTML_HELP
8249 fi
8250
8251 { echo "$as_me:$LINENO: result: $result" >&5
8252 echo "${ECHO_T}$result" >&6; }
8253
8254
8255 enablestring=
8256 defaultval=$wxUSE_ALL_FEATURES
8257 if test -z "$defaultval"; then
8258 if test x"$enablestring" = xdisable; then
8259 defaultval=yes
8260 else
8261 defaultval=no
8262 fi
8263 fi
8264
8265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8267 # Check whether --enable-html was given.
8268 if test "${enable_html+set}" = set; then
8269 enableval=$enable_html;
8270 if test "$enableval" = yes; then
8271 wx_cv_use_html='wxUSE_HTML=yes'
8272 else
8273 wx_cv_use_html='wxUSE_HTML=no'
8274 fi
8275
8276 else
8277
8278 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8279
8280 fi
8281
8282
8283 eval "$wx_cv_use_html"
8284
8285 if test x"$enablestring" = xdisable; then
8286 if test $wxUSE_HTML = yes; then
8287 result=no
8288 else
8289 result=yes
8290 fi
8291 else
8292 result=$wxUSE_HTML
8293 fi
8294
8295 { echo "$as_me:$LINENO: result: $result" >&5
8296 echo "${ECHO_T}$result" >&6; }
8297
8298
8299 enablestring=
8300 defaultval=$wxUSE_ALL_FEATURES
8301 if test -z "$defaultval"; then
8302 if test x"$enablestring" = xdisable; then
8303 defaultval=yes
8304 else
8305 defaultval=no
8306 fi
8307 fi
8308
8309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8310 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8311 # Check whether --enable-htmlhelp was given.
8312 if test "${enable_htmlhelp+set}" = set; then
8313 enableval=$enable_htmlhelp;
8314 if test "$enableval" = yes; then
8315 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8316 else
8317 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8318 fi
8319
8320 else
8321
8322 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8323
8324 fi
8325
8326
8327 eval "$wx_cv_use_htmlhelp"
8328
8329 if test x"$enablestring" = xdisable; then
8330 if test $wxUSE_WXHTML_HELP = yes; then
8331 result=no
8332 else
8333 result=yes
8334 fi
8335 else
8336 result=$wxUSE_WXHTML_HELP
8337 fi
8338
8339 { echo "$as_me:$LINENO: result: $result" >&5
8340 echo "${ECHO_T}$result" >&6; }
8341
8342
8343 enablestring=
8344 defaultval=$wxUSE_ALL_FEATURES
8345 if test -z "$defaultval"; then
8346 if test x"$enablestring" = xdisable; then
8347 defaultval=yes
8348 else
8349 defaultval=no
8350 fi
8351 fi
8352
8353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8354 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8355 # Check whether --enable-xrc was given.
8356 if test "${enable_xrc+set}" = set; then
8357 enableval=$enable_xrc;
8358 if test "$enableval" = yes; then
8359 wx_cv_use_xrc='wxUSE_XRC=yes'
8360 else
8361 wx_cv_use_xrc='wxUSE_XRC=no'
8362 fi
8363
8364 else
8365
8366 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8367
8368 fi
8369
8370
8371 eval "$wx_cv_use_xrc"
8372
8373 if test x"$enablestring" = xdisable; then
8374 if test $wxUSE_XRC = yes; then
8375 result=no
8376 else
8377 result=yes
8378 fi
8379 else
8380 result=$wxUSE_XRC
8381 fi
8382
8383 { echo "$as_me:$LINENO: result: $result" >&5
8384 echo "${ECHO_T}$result" >&6; }
8385
8386
8387 enablestring=
8388 defaultval=$wxUSE_ALL_FEATURES
8389 if test -z "$defaultval"; then
8390 if test x"$enablestring" = xdisable; then
8391 defaultval=yes
8392 else
8393 defaultval=no
8394 fi
8395 fi
8396
8397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8399 # Check whether --enable-aui was given.
8400 if test "${enable_aui+set}" = set; then
8401 enableval=$enable_aui;
8402 if test "$enableval" = yes; then
8403 wx_cv_use_aui='wxUSE_AUI=yes'
8404 else
8405 wx_cv_use_aui='wxUSE_AUI=no'
8406 fi
8407
8408 else
8409
8410 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8411
8412 fi
8413
8414
8415 eval "$wx_cv_use_aui"
8416
8417 if test x"$enablestring" = xdisable; then
8418 if test $wxUSE_AUI = yes; then
8419 result=no
8420 else
8421 result=yes
8422 fi
8423 else
8424 result=$wxUSE_AUI
8425 fi
8426
8427 { echo "$as_me:$LINENO: result: $result" >&5
8428 echo "${ECHO_T}$result" >&6; }
8429
8430
8431 enablestring=
8432 defaultval=$wxUSE_ALL_FEATURES
8433 if test -z "$defaultval"; then
8434 if test x"$enablestring" = xdisable; then
8435 defaultval=yes
8436 else
8437 defaultval=no
8438 fi
8439 fi
8440
8441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8443 # Check whether --enable-stc was given.
8444 if test "${enable_stc+set}" = set; then
8445 enableval=$enable_stc;
8446 if test "$enableval" = yes; then
8447 wx_cv_use_stc='wxUSE_STC=yes'
8448 else
8449 wx_cv_use_stc='wxUSE_STC=no'
8450 fi
8451
8452 else
8453
8454 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8455
8456 fi
8457
8458
8459 eval "$wx_cv_use_stc"
8460
8461 if test x"$enablestring" = xdisable; then
8462 if test $wxUSE_STC = yes; then
8463 result=no
8464 else
8465 result=yes
8466 fi
8467 else
8468 result=$wxUSE_STC
8469 fi
8470
8471 { echo "$as_me:$LINENO: result: $result" >&5
8472 echo "${ECHO_T}$result" >&6; }
8473
8474
8475 enablestring=
8476 defaultval=$wxUSE_ALL_FEATURES
8477 if test -z "$defaultval"; then
8478 if test x"$enablestring" = xdisable; then
8479 defaultval=yes
8480 else
8481 defaultval=no
8482 fi
8483 fi
8484
8485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8487 # Check whether --enable-constraints was given.
8488 if test "${enable_constraints+set}" = set; then
8489 enableval=$enable_constraints;
8490 if test "$enableval" = yes; then
8491 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8492 else
8493 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8494 fi
8495
8496 else
8497
8498 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8499
8500 fi
8501
8502
8503 eval "$wx_cv_use_constraints"
8504
8505 if test x"$enablestring" = xdisable; then
8506 if test $wxUSE_CONSTRAINTS = yes; then
8507 result=no
8508 else
8509 result=yes
8510 fi
8511 else
8512 result=$wxUSE_CONSTRAINTS
8513 fi
8514
8515 { echo "$as_me:$LINENO: result: $result" >&5
8516 echo "${ECHO_T}$result" >&6; }
8517
8518
8519 enablestring=
8520 defaultval=$wxUSE_ALL_FEATURES
8521 if test -z "$defaultval"; then
8522 if test x"$enablestring" = xdisable; then
8523 defaultval=yes
8524 else
8525 defaultval=no
8526 fi
8527 fi
8528
8529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8530 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8531 # Check whether --enable-printarch was given.
8532 if test "${enable_printarch+set}" = set; then
8533 enableval=$enable_printarch;
8534 if test "$enableval" = yes; then
8535 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8536 else
8537 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8538 fi
8539
8540 else
8541
8542 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8543
8544 fi
8545
8546
8547 eval "$wx_cv_use_printarch"
8548
8549 if test x"$enablestring" = xdisable; then
8550 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8551 result=no
8552 else
8553 result=yes
8554 fi
8555 else
8556 result=$wxUSE_PRINTING_ARCHITECTURE
8557 fi
8558
8559 { echo "$as_me:$LINENO: result: $result" >&5
8560 echo "${ECHO_T}$result" >&6; }
8561
8562
8563 enablestring=
8564 defaultval=$wxUSE_ALL_FEATURES
8565 if test -z "$defaultval"; then
8566 if test x"$enablestring" = xdisable; then
8567 defaultval=yes
8568 else
8569 defaultval=no
8570 fi
8571 fi
8572
8573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8574 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8575 # Check whether --enable-mdi was given.
8576 if test "${enable_mdi+set}" = set; then
8577 enableval=$enable_mdi;
8578 if test "$enableval" = yes; then
8579 wx_cv_use_mdi='wxUSE_MDI=yes'
8580 else
8581 wx_cv_use_mdi='wxUSE_MDI=no'
8582 fi
8583
8584 else
8585
8586 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8587
8588 fi
8589
8590
8591 eval "$wx_cv_use_mdi"
8592
8593 if test x"$enablestring" = xdisable; then
8594 if test $wxUSE_MDI = yes; then
8595 result=no
8596 else
8597 result=yes
8598 fi
8599 else
8600 result=$wxUSE_MDI
8601 fi
8602
8603 { echo "$as_me:$LINENO: result: $result" >&5
8604 echo "${ECHO_T}$result" >&6; }
8605
8606
8607 enablestring=
8608 defaultval=$wxUSE_ALL_FEATURES
8609 if test -z "$defaultval"; then
8610 if test x"$enablestring" = xdisable; then
8611 defaultval=yes
8612 else
8613 defaultval=no
8614 fi
8615 fi
8616
8617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8618 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8619 # Check whether --enable-mdidoc was given.
8620 if test "${enable_mdidoc+set}" = set; then
8621 enableval=$enable_mdidoc;
8622 if test "$enableval" = yes; then
8623 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8624 else
8625 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8626 fi
8627
8628 else
8629
8630 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8631
8632 fi
8633
8634
8635 eval "$wx_cv_use_mdidoc"
8636
8637 if test x"$enablestring" = xdisable; then
8638 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8639 result=no
8640 else
8641 result=yes
8642 fi
8643 else
8644 result=$wxUSE_MDI_ARCHITECTURE
8645 fi
8646
8647 { echo "$as_me:$LINENO: result: $result" >&5
8648 echo "${ECHO_T}$result" >&6; }
8649
8650
8651 enablestring=
8652 defaultval=$wxUSE_ALL_FEATURES
8653 if test -z "$defaultval"; then
8654 if test x"$enablestring" = xdisable; then
8655 defaultval=yes
8656 else
8657 defaultval=no
8658 fi
8659 fi
8660
8661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8663 # Check whether --enable-loggui was given.
8664 if test "${enable_loggui+set}" = set; then
8665 enableval=$enable_loggui;
8666 if test "$enableval" = yes; then
8667 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8668 else
8669 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8670 fi
8671
8672 else
8673
8674 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8675
8676 fi
8677
8678
8679 eval "$wx_cv_use_loggui"
8680
8681 if test x"$enablestring" = xdisable; then
8682 if test $wxUSE_LOGGUI = yes; then
8683 result=no
8684 else
8685 result=yes
8686 fi
8687 else
8688 result=$wxUSE_LOGGUI
8689 fi
8690
8691 { echo "$as_me:$LINENO: result: $result" >&5
8692 echo "${ECHO_T}$result" >&6; }
8693
8694
8695 enablestring=
8696 defaultval=$wxUSE_ALL_FEATURES
8697 if test -z "$defaultval"; then
8698 if test x"$enablestring" = xdisable; then
8699 defaultval=yes
8700 else
8701 defaultval=no
8702 fi
8703 fi
8704
8705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8706 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8707 # Check whether --enable-logwin was given.
8708 if test "${enable_logwin+set}" = set; then
8709 enableval=$enable_logwin;
8710 if test "$enableval" = yes; then
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8712 else
8713 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8714 fi
8715
8716 else
8717
8718 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8719
8720 fi
8721
8722
8723 eval "$wx_cv_use_logwin"
8724
8725 if test x"$enablestring" = xdisable; then
8726 if test $wxUSE_LOGWINDOW = yes; then
8727 result=no
8728 else
8729 result=yes
8730 fi
8731 else
8732 result=$wxUSE_LOGWINDOW
8733 fi
8734
8735 { echo "$as_me:$LINENO: result: $result" >&5
8736 echo "${ECHO_T}$result" >&6; }
8737
8738
8739 enablestring=
8740 defaultval=$wxUSE_ALL_FEATURES
8741 if test -z "$defaultval"; then
8742 if test x"$enablestring" = xdisable; then
8743 defaultval=yes
8744 else
8745 defaultval=no
8746 fi
8747 fi
8748
8749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8751 # Check whether --enable-logdialog was given.
8752 if test "${enable_logdialog+set}" = set; then
8753 enableval=$enable_logdialog;
8754 if test "$enableval" = yes; then
8755 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8756 else
8757 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8758 fi
8759
8760 else
8761
8762 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8763
8764 fi
8765
8766
8767 eval "$wx_cv_use_logdialog"
8768
8769 if test x"$enablestring" = xdisable; then
8770 if test $wxUSE_LOGDIALOG = yes; then
8771 result=no
8772 else
8773 result=yes
8774 fi
8775 else
8776 result=$wxUSE_LOGDIALOG
8777 fi
8778
8779 { echo "$as_me:$LINENO: result: $result" >&5
8780 echo "${ECHO_T}$result" >&6; }
8781
8782
8783 enablestring=
8784 defaultval=$wxUSE_ALL_FEATURES
8785 if test -z "$defaultval"; then
8786 if test x"$enablestring" = xdisable; then
8787 defaultval=yes
8788 else
8789 defaultval=no
8790 fi
8791 fi
8792
8793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8795 # Check whether --enable-webkit was given.
8796 if test "${enable_webkit+set}" = set; then
8797 enableval=$enable_webkit;
8798 if test "$enableval" = yes; then
8799 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8800 else
8801 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8802 fi
8803
8804 else
8805
8806 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8807
8808 fi
8809
8810
8811 eval "$wx_cv_use_webkit"
8812
8813 if test x"$enablestring" = xdisable; then
8814 if test $wxUSE_WEBKIT = yes; then
8815 result=no
8816 else
8817 result=yes
8818 fi
8819 else
8820 result=$wxUSE_WEBKIT
8821 fi
8822
8823 { echo "$as_me:$LINENO: result: $result" >&5
8824 echo "${ECHO_T}$result" >&6; }
8825
8826
8827 enablestring=
8828 defaultval=$wxUSE_ALL_FEATURES
8829 if test -z "$defaultval"; then
8830 if test x"$enablestring" = xdisable; then
8831 defaultval=yes
8832 else
8833 defaultval=no
8834 fi
8835 fi
8836
8837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8839 # Check whether --enable-richtext was given.
8840 if test "${enable_richtext+set}" = set; then
8841 enableval=$enable_richtext;
8842 if test "$enableval" = yes; then
8843 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8844 else
8845 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8846 fi
8847
8848 else
8849
8850 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8851
8852 fi
8853
8854
8855 eval "$wx_cv_use_richtext"
8856
8857 if test x"$enablestring" = xdisable; then
8858 if test $wxUSE_RICHTEXT = yes; then
8859 result=no
8860 else
8861 result=yes
8862 fi
8863 else
8864 result=$wxUSE_RICHTEXT
8865 fi
8866
8867 { echo "$as_me:$LINENO: result: $result" >&5
8868 echo "${ECHO_T}$result" >&6; }
8869
8870
8871 enablestring=
8872 defaultval=$wxUSE_ALL_FEATURES
8873 if test -z "$defaultval"; then
8874 if test x"$enablestring" = xdisable; then
8875 defaultval=yes
8876 else
8877 defaultval=no
8878 fi
8879 fi
8880
8881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8883 # Check whether --enable-graphics_ctx was given.
8884 if test "${enable_graphics_ctx+set}" = set; then
8885 enableval=$enable_graphics_ctx;
8886 if test "$enableval" = yes; then
8887 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8888 else
8889 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8890 fi
8891
8892 else
8893
8894 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8895
8896 fi
8897
8898
8899 eval "$wx_cv_use_graphics_ctx"
8900
8901 if test x"$enablestring" = xdisable; then
8902 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8903 result=no
8904 else
8905 result=yes
8906 fi
8907 else
8908 result=$wxUSE_GRAPHICS_CONTEXT
8909 fi
8910
8911 { echo "$as_me:$LINENO: result: $result" >&5
8912 echo "${ECHO_T}$result" >&6; }
8913
8914
8915 enablestring=
8916 defaultval=$wxUSE_ALL_FEATURES
8917 if test -z "$defaultval"; then
8918 if test x"$enablestring" = xdisable; then
8919 defaultval=yes
8920 else
8921 defaultval=no
8922 fi
8923 fi
8924
8925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8927 # Check whether --enable-postscript was given.
8928 if test "${enable_postscript+set}" = set; then
8929 enableval=$enable_postscript;
8930 if test "$enableval" = yes; then
8931 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8932 else
8933 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8934 fi
8935
8936 else
8937
8938 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8939
8940 fi
8941
8942
8943 eval "$wx_cv_use_postscript"
8944
8945 if test x"$enablestring" = xdisable; then
8946 if test $wxUSE_POSTSCRIPT = yes; then
8947 result=no
8948 else
8949 result=yes
8950 fi
8951 else
8952 result=$wxUSE_POSTSCRIPT
8953 fi
8954
8955 { echo "$as_me:$LINENO: result: $result" >&5
8956 echo "${ECHO_T}$result" >&6; }
8957
8958
8959 enablestring=
8960 defaultval=$wxUSE_ALL_FEATURES
8961 if test -z "$defaultval"; then
8962 if test x"$enablestring" = xdisable; then
8963 defaultval=yes
8964 else
8965 defaultval=no
8966 fi
8967 fi
8968
8969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
8970 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
8971 # Check whether --enable-svg was given.
8972 if test "${enable_svg+set}" = set; then
8973 enableval=$enable_svg;
8974 if test "$enableval" = yes; then
8975 wx_cv_use_svg='wxUSE_SVG=yes'
8976 else
8977 wx_cv_use_svg='wxUSE_SVG=no'
8978 fi
8979
8980 else
8981
8982 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8983
8984 fi
8985
8986
8987 eval "$wx_cv_use_svg"
8988
8989 if test x"$enablestring" = xdisable; then
8990 if test $wxUSE_SVG = yes; then
8991 result=no
8992 else
8993 result=yes
8994 fi
8995 else
8996 result=$wxUSE_SVG
8997 fi
8998
8999 { echo "$as_me:$LINENO: result: $result" >&5
9000 echo "${ECHO_T}$result" >&6; }
9001
9002
9003
9004
9005 enablestring=
9006 defaultval=$wxUSE_ALL_FEATURES
9007 if test -z "$defaultval"; then
9008 if test x"$enablestring" = xdisable; then
9009 defaultval=yes
9010 else
9011 defaultval=no
9012 fi
9013 fi
9014
9015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9017 # Check whether --enable-clipboard was given.
9018 if test "${enable_clipboard+set}" = set; then
9019 enableval=$enable_clipboard;
9020 if test "$enableval" = yes; then
9021 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9022 else
9023 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9024 fi
9025
9026 else
9027
9028 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9029
9030 fi
9031
9032
9033 eval "$wx_cv_use_clipboard"
9034
9035 if test x"$enablestring" = xdisable; then
9036 if test $wxUSE_CLIPBOARD = yes; then
9037 result=no
9038 else
9039 result=yes
9040 fi
9041 else
9042 result=$wxUSE_CLIPBOARD
9043 fi
9044
9045 { echo "$as_me:$LINENO: result: $result" >&5
9046 echo "${ECHO_T}$result" >&6; }
9047
9048
9049 enablestring=
9050 defaultval=$wxUSE_ALL_FEATURES
9051 if test -z "$defaultval"; then
9052 if test x"$enablestring" = xdisable; then
9053 defaultval=yes
9054 else
9055 defaultval=no
9056 fi
9057 fi
9058
9059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9061 # Check whether --enable-dnd was given.
9062 if test "${enable_dnd+set}" = set; then
9063 enableval=$enable_dnd;
9064 if test "$enableval" = yes; then
9065 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9066 else
9067 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9068 fi
9069
9070 else
9071
9072 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9073
9074 fi
9075
9076
9077 eval "$wx_cv_use_dnd"
9078
9079 if test x"$enablestring" = xdisable; then
9080 if test $wxUSE_DRAG_AND_DROP = yes; then
9081 result=no
9082 else
9083 result=yes
9084 fi
9085 else
9086 result=$wxUSE_DRAG_AND_DROP
9087 fi
9088
9089 { echo "$as_me:$LINENO: result: $result" >&5
9090 echo "${ECHO_T}$result" >&6; }
9091
9092
9093 enablestring=
9094 defaultval=$wxUSE_ALL_FEATURES
9095 if test -z "$defaultval"; then
9096 if test x"$enablestring" = xdisable; then
9097 defaultval=yes
9098 else
9099 defaultval=no
9100 fi
9101 fi
9102
9103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9105 # Check whether --enable-metafile was given.
9106 if test "${enable_metafile+set}" = set; then
9107 enableval=$enable_metafile;
9108 if test "$enableval" = yes; then
9109 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9110 else
9111 wx_cv_use_metafile='wxUSE_METAFILE=no'
9112 fi
9113
9114 else
9115
9116 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9117
9118 fi
9119
9120
9121 eval "$wx_cv_use_metafile"
9122
9123 if test x"$enablestring" = xdisable; then
9124 if test $wxUSE_METAFILE = yes; then
9125 result=no
9126 else
9127 result=yes
9128 fi
9129 else
9130 result=$wxUSE_METAFILE
9131 fi
9132
9133 { echo "$as_me:$LINENO: result: $result" >&5
9134 echo "${ECHO_T}$result" >&6; }
9135
9136
9137
9138 DEFAULT_wxUSE_CONTROLS=none
9139
9140 enablestring=disable
9141 defaultval=
9142 if test -z "$defaultval"; then
9143 if test x"$enablestring" = xdisable; then
9144 defaultval=yes
9145 else
9146 defaultval=no
9147 fi
9148 fi
9149
9150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9151 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9152 # Check whether --enable-controls was given.
9153 if test "${enable_controls+set}" = set; then
9154 enableval=$enable_controls;
9155 if test "$enableval" = yes; then
9156 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9157 else
9158 wx_cv_use_controls='wxUSE_CONTROLS=no'
9159 fi
9160
9161 else
9162
9163 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9164
9165 fi
9166
9167
9168 eval "$wx_cv_use_controls"
9169
9170 if test x"$enablestring" = xdisable; then
9171 if test $wxUSE_CONTROLS = yes; then
9172 result=no
9173 else
9174 result=yes
9175 fi
9176 else
9177 result=$wxUSE_CONTROLS
9178 fi
9179
9180 { echo "$as_me:$LINENO: result: $result" >&5
9181 echo "${ECHO_T}$result" >&6; }
9182
9183
9184 if test "$wxUSE_CONTROLS" = "yes"; then
9185 DEFAULT_wxUSE_ACCEL=yes
9186 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9187 DEFAULT_wxUSE_BMPBUTTON=yes
9188 DEFAULT_wxUSE_BUTTON=yes
9189 DEFAULT_wxUSE_CALCTRL=yes
9190 DEFAULT_wxUSE_CARET=yes
9191 DEFAULT_wxUSE_COMBOBOX=yes
9192 DEFAULT_wxUSE_CHECKBOX=yes
9193 DEFAULT_wxUSE_CHECKLISTBOX=yes
9194 DEFAULT_wxUSE_CHOICE=yes
9195 DEFAULT_wxUSE_CHOICEBOOK=yes
9196 DEFAULT_wxUSE_COLLPANE=yes
9197 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9198 DEFAULT_wxUSE_COMBOBOX=yes
9199 DEFAULT_wxUSE_DATEPICKCTRL=yes
9200 DEFAULT_wxUSE_DISPLAY=yes
9201 DEFAULT_wxUSE_DETECT_SM=yes
9202 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9203 DEFAULT_wxUSE_FILECTRL=yes
9204 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9205 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9206 DEFAULT_wxUSE_GAUGE=yes
9207 DEFAULT_wxUSE_GRID=yes
9208 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9209 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9210 DEFAULT_wxUSE_IMAGLIST=yes
9211 DEFAULT_wxUSE_LISTBOOK=yes
9212 DEFAULT_wxUSE_LISTBOX=yes
9213 DEFAULT_wxUSE_LISTCTRL=yes
9214 DEFAULT_wxUSE_NOTEBOOK=yes
9215 DEFAULT_wxUSE_RADIOBOX=yes
9216 DEFAULT_wxUSE_RADIOBTN=yes
9217 DEFAULT_wxUSE_SASH=yes
9218 DEFAULT_wxUSE_SCROLLBAR=yes
9219 DEFAULT_wxUSE_SEARCHCTRL=yes
9220 DEFAULT_wxUSE_SLIDER=yes
9221 DEFAULT_wxUSE_SPINBTN=yes
9222 DEFAULT_wxUSE_SPINCTRL=yes
9223 DEFAULT_wxUSE_SPLITTER=yes
9224 DEFAULT_wxUSE_STATBMP=yes
9225 DEFAULT_wxUSE_STATBOX=yes
9226 DEFAULT_wxUSE_STATLINE=yes
9227 DEFAULT_wxUSE_STATUSBAR=yes
9228 DEFAULT_wxUSE_TAB_DIALOG=yes
9229 DEFAULT_wxUSE_TOGGLEBTN=yes
9230 DEFAULT_wxUSE_TOOLBAR=yes
9231 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9232 DEFAULT_wxUSE_TOOLTIPS=yes
9233 DEFAULT_wxUSE_TREEBOOK=yes
9234 DEFAULT_wxUSE_TOOLBOOK=yes
9235 DEFAULT_wxUSE_TREECTRL=yes
9236 DEFAULT_wxUSE_POPUPWIN=yes
9237 DEFAULT_wxUSE_TIPWINDOW=yes
9238 elif test "$wxUSE_CONTROLS" = "no"; then
9239 DEFAULT_wxUSE_ACCEL=no
9240 DEFAULT_wxUSE_ANIMATIONCTRL=no
9241 DEFAULT_wxUSE_BMPBUTTON=no
9242 DEFAULT_wxUSE_BUTTON=no
9243 DEFAULT_wxUSE_CALCTRL=no
9244 DEFAULT_wxUSE_CARET=no
9245 DEFAULT_wxUSE_COLLPANE=no
9246 DEFAULT_wxUSE_COMBOBOX=no
9247 DEFAULT_wxUSE_CHECKBOX=no
9248 DEFAULT_wxUSE_CHECKLISTBOX=no
9249 DEFAULT_wxUSE_CHOICE=no
9250 DEFAULT_wxUSE_CHOICEBOOK=no
9251 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9252 DEFAULT_wxUSE_COMBOBOX=no
9253 DEFAULT_wxUSE_DATEPICKCTRL=no
9254 DEFAULT_wxUSE_DISPLAY=no
9255 DEFAULT_wxUSE_DETECT_SM=no
9256 DEFAULT_wxUSE_DIRPICKERCTRL=no
9257 DEFAULT_wxUSE_FILECTRL=no
9258 DEFAULT_wxUSE_FILEPICKERCTRL=no
9259 DEFAULT_wxUSE_FONTPICKERCTRL=no
9260 DEFAULT_wxUSE_GAUGE=no
9261 DEFAULT_wxUSE_GRID=no
9262 DEFAULT_wxUSE_HYPERLINKCTRL=no
9263 DEFAULT_wxUSE_DATAVIEWCTRL=no
9264 DEFAULT_wxUSE_IMAGLIST=no
9265 DEFAULT_wxUSE_LISTBOOK=no
9266 DEFAULT_wxUSE_LISTBOX=no
9267 DEFAULT_wxUSE_LISTCTRL=no
9268 DEFAULT_wxUSE_NOTEBOOK=no
9269 DEFAULT_wxUSE_RADIOBOX=no
9270 DEFAULT_wxUSE_RADIOBTN=no
9271 DEFAULT_wxUSE_SASH=no
9272 DEFAULT_wxUSE_SCROLLBAR=no
9273 DEFAULT_wxUSE_SEARCHCTRL=no
9274 DEFAULT_wxUSE_SLIDER=no
9275 DEFAULT_wxUSE_SPINBTN=no
9276 DEFAULT_wxUSE_SPINCTRL=no
9277 DEFAULT_wxUSE_SPLITTER=no
9278 DEFAULT_wxUSE_STATBMP=no
9279 DEFAULT_wxUSE_STATBOX=no
9280 DEFAULT_wxUSE_STATLINE=no
9281 DEFAULT_wxUSE_STATUSBAR=no
9282 DEFAULT_wxUSE_TAB_DIALOG=no
9283 DEFAULT_wxUSE_TOGGLEBTN=no
9284 DEFAULT_wxUSE_TOOLBAR=no
9285 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9286 DEFAULT_wxUSE_TOOLTIPS=no
9287 DEFAULT_wxUSE_TREEBOOK=no
9288 DEFAULT_wxUSE_TOOLBOOK=no
9289 DEFAULT_wxUSE_TREECTRL=no
9290 DEFAULT_wxUSE_POPUPWIN=no
9291 DEFAULT_wxUSE_TIPWINDOW=no
9292 fi
9293
9294
9295 enablestring=
9296 defaultval=$wxUSE_ALL_FEATURES
9297 if test -z "$defaultval"; then
9298 if test x"$enablestring" = xdisable; then
9299 defaultval=yes
9300 else
9301 defaultval=no
9302 fi
9303 fi
9304
9305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9306 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9307 # Check whether --enable-accel was given.
9308 if test "${enable_accel+set}" = set; then
9309 enableval=$enable_accel;
9310 if test "$enableval" = yes; then
9311 wx_cv_use_accel='wxUSE_ACCEL=yes'
9312 else
9313 wx_cv_use_accel='wxUSE_ACCEL=no'
9314 fi
9315
9316 else
9317
9318 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9319
9320 fi
9321
9322
9323 eval "$wx_cv_use_accel"
9324
9325 if test x"$enablestring" = xdisable; then
9326 if test $wxUSE_ACCEL = yes; then
9327 result=no
9328 else
9329 result=yes
9330 fi
9331 else
9332 result=$wxUSE_ACCEL
9333 fi
9334
9335 { echo "$as_me:$LINENO: result: $result" >&5
9336 echo "${ECHO_T}$result" >&6; }
9337
9338
9339 enablestring=
9340 defaultval=$wxUSE_ALL_FEATURES
9341 if test -z "$defaultval"; then
9342 if test x"$enablestring" = xdisable; then
9343 defaultval=yes
9344 else
9345 defaultval=no
9346 fi
9347 fi
9348
9349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9351 # Check whether --enable-animatectrl was given.
9352 if test "${enable_animatectrl+set}" = set; then
9353 enableval=$enable_animatectrl;
9354 if test "$enableval" = yes; then
9355 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9356 else
9357 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9358 fi
9359
9360 else
9361
9362 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9363
9364 fi
9365
9366
9367 eval "$wx_cv_use_animatectrl"
9368
9369 if test x"$enablestring" = xdisable; then
9370 if test $wxUSE_ANIMATIONCTRL = yes; then
9371 result=no
9372 else
9373 result=yes
9374 fi
9375 else
9376 result=$wxUSE_ANIMATIONCTRL
9377 fi
9378
9379 { echo "$as_me:$LINENO: result: $result" >&5
9380 echo "${ECHO_T}$result" >&6; }
9381
9382
9383 enablestring=
9384 defaultval=$wxUSE_ALL_FEATURES
9385 if test -z "$defaultval"; then
9386 if test x"$enablestring" = xdisable; then
9387 defaultval=yes
9388 else
9389 defaultval=no
9390 fi
9391 fi
9392
9393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9395 # Check whether --enable-button was given.
9396 if test "${enable_button+set}" = set; then
9397 enableval=$enable_button;
9398 if test "$enableval" = yes; then
9399 wx_cv_use_button='wxUSE_BUTTON=yes'
9400 else
9401 wx_cv_use_button='wxUSE_BUTTON=no'
9402 fi
9403
9404 else
9405
9406 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9407
9408 fi
9409
9410
9411 eval "$wx_cv_use_button"
9412
9413 if test x"$enablestring" = xdisable; then
9414 if test $wxUSE_BUTTON = yes; then
9415 result=no
9416 else
9417 result=yes
9418 fi
9419 else
9420 result=$wxUSE_BUTTON
9421 fi
9422
9423 { echo "$as_me:$LINENO: result: $result" >&5
9424 echo "${ECHO_T}$result" >&6; }
9425
9426
9427 enablestring=
9428 defaultval=$wxUSE_ALL_FEATURES
9429 if test -z "$defaultval"; then
9430 if test x"$enablestring" = xdisable; then
9431 defaultval=yes
9432 else
9433 defaultval=no
9434 fi
9435 fi
9436
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9439 # Check whether --enable-bmpbutton was given.
9440 if test "${enable_bmpbutton+set}" = set; then
9441 enableval=$enable_bmpbutton;
9442 if test "$enableval" = yes; then
9443 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9444 else
9445 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9446 fi
9447
9448 else
9449
9450 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9451
9452 fi
9453
9454
9455 eval "$wx_cv_use_bmpbutton"
9456
9457 if test x"$enablestring" = xdisable; then
9458 if test $wxUSE_BMPBUTTON = yes; then
9459 result=no
9460 else
9461 result=yes
9462 fi
9463 else
9464 result=$wxUSE_BMPBUTTON
9465 fi
9466
9467 { echo "$as_me:$LINENO: result: $result" >&5
9468 echo "${ECHO_T}$result" >&6; }
9469
9470
9471 enablestring=
9472 defaultval=$wxUSE_ALL_FEATURES
9473 if test -z "$defaultval"; then
9474 if test x"$enablestring" = xdisable; then
9475 defaultval=yes
9476 else
9477 defaultval=no
9478 fi
9479 fi
9480
9481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9483 # Check whether --enable-bmpcombobox was given.
9484 if test "${enable_bmpcombobox+set}" = set; then
9485 enableval=$enable_bmpcombobox;
9486 if test "$enableval" = yes; then
9487 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9488 else
9489 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9490 fi
9491
9492 else
9493
9494 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9495
9496 fi
9497
9498
9499 eval "$wx_cv_use_bmpcombobox"
9500
9501 if test x"$enablestring" = xdisable; then
9502 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9503 result=no
9504 else
9505 result=yes
9506 fi
9507 else
9508 result=$wxUSE_BITMAPCOMBOBOX
9509 fi
9510
9511 { echo "$as_me:$LINENO: result: $result" >&5
9512 echo "${ECHO_T}$result" >&6; }
9513
9514
9515 enablestring=
9516 defaultval=$wxUSE_ALL_FEATURES
9517 if test -z "$defaultval"; then
9518 if test x"$enablestring" = xdisable; then
9519 defaultval=yes
9520 else
9521 defaultval=no
9522 fi
9523 fi
9524
9525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9527 # Check whether --enable-calendar was given.
9528 if test "${enable_calendar+set}" = set; then
9529 enableval=$enable_calendar;
9530 if test "$enableval" = yes; then
9531 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9532 else
9533 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9534 fi
9535
9536 else
9537
9538 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9539
9540 fi
9541
9542
9543 eval "$wx_cv_use_calendar"
9544
9545 if test x"$enablestring" = xdisable; then
9546 if test $wxUSE_CALCTRL = yes; then
9547 result=no
9548 else
9549 result=yes
9550 fi
9551 else
9552 result=$wxUSE_CALCTRL
9553 fi
9554
9555 { echo "$as_me:$LINENO: result: $result" >&5
9556 echo "${ECHO_T}$result" >&6; }
9557
9558
9559 enablestring=
9560 defaultval=$wxUSE_ALL_FEATURES
9561 if test -z "$defaultval"; then
9562 if test x"$enablestring" = xdisable; then
9563 defaultval=yes
9564 else
9565 defaultval=no
9566 fi
9567 fi
9568
9569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9571 # Check whether --enable-caret was given.
9572 if test "${enable_caret+set}" = set; then
9573 enableval=$enable_caret;
9574 if test "$enableval" = yes; then
9575 wx_cv_use_caret='wxUSE_CARET=yes'
9576 else
9577 wx_cv_use_caret='wxUSE_CARET=no'
9578 fi
9579
9580 else
9581
9582 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9583
9584 fi
9585
9586
9587 eval "$wx_cv_use_caret"
9588
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_CARET = yes; then
9591 result=no
9592 else
9593 result=yes
9594 fi
9595 else
9596 result=$wxUSE_CARET
9597 fi
9598
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9601
9602
9603 enablestring=
9604 defaultval=$wxUSE_ALL_FEATURES
9605 if test -z "$defaultval"; then
9606 if test x"$enablestring" = xdisable; then
9607 defaultval=yes
9608 else
9609 defaultval=no
9610 fi
9611 fi
9612
9613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9615 # Check whether --enable-checkbox was given.
9616 if test "${enable_checkbox+set}" = set; then
9617 enableval=$enable_checkbox;
9618 if test "$enableval" = yes; then
9619 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9620 else
9621 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9622 fi
9623
9624 else
9625
9626 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9627
9628 fi
9629
9630
9631 eval "$wx_cv_use_checkbox"
9632
9633 if test x"$enablestring" = xdisable; then
9634 if test $wxUSE_CHECKBOX = yes; then
9635 result=no
9636 else
9637 result=yes
9638 fi
9639 else
9640 result=$wxUSE_CHECKBOX
9641 fi
9642
9643 { echo "$as_me:$LINENO: result: $result" >&5
9644 echo "${ECHO_T}$result" >&6; }
9645
9646
9647 enablestring=
9648 defaultval=$wxUSE_ALL_FEATURES
9649 if test -z "$defaultval"; then
9650 if test x"$enablestring" = xdisable; then
9651 defaultval=yes
9652 else
9653 defaultval=no
9654 fi
9655 fi
9656
9657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9658 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9659 # Check whether --enable-checklst was given.
9660 if test "${enable_checklst+set}" = set; then
9661 enableval=$enable_checklst;
9662 if test "$enableval" = yes; then
9663 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9664 else
9665 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9666 fi
9667
9668 else
9669
9670 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9671
9672 fi
9673
9674
9675 eval "$wx_cv_use_checklst"
9676
9677 if test x"$enablestring" = xdisable; then
9678 if test $wxUSE_CHECKLST = yes; then
9679 result=no
9680 else
9681 result=yes
9682 fi
9683 else
9684 result=$wxUSE_CHECKLST
9685 fi
9686
9687 { echo "$as_me:$LINENO: result: $result" >&5
9688 echo "${ECHO_T}$result" >&6; }
9689
9690
9691 enablestring=
9692 defaultval=$wxUSE_ALL_FEATURES
9693 if test -z "$defaultval"; then
9694 if test x"$enablestring" = xdisable; then
9695 defaultval=yes
9696 else
9697 defaultval=no
9698 fi
9699 fi
9700
9701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9702 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9703 # Check whether --enable-choice was given.
9704 if test "${enable_choice+set}" = set; then
9705 enableval=$enable_choice;
9706 if test "$enableval" = yes; then
9707 wx_cv_use_choice='wxUSE_CHOICE=yes'
9708 else
9709 wx_cv_use_choice='wxUSE_CHOICE=no'
9710 fi
9711
9712 else
9713
9714 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9715
9716 fi
9717
9718
9719 eval "$wx_cv_use_choice"
9720
9721 if test x"$enablestring" = xdisable; then
9722 if test $wxUSE_CHOICE = yes; then
9723 result=no
9724 else
9725 result=yes
9726 fi
9727 else
9728 result=$wxUSE_CHOICE
9729 fi
9730
9731 { echo "$as_me:$LINENO: result: $result" >&5
9732 echo "${ECHO_T}$result" >&6; }
9733
9734
9735 enablestring=
9736 defaultval=$wxUSE_ALL_FEATURES
9737 if test -z "$defaultval"; then
9738 if test x"$enablestring" = xdisable; then
9739 defaultval=yes
9740 else
9741 defaultval=no
9742 fi
9743 fi
9744
9745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9747 # Check whether --enable-choicebook was given.
9748 if test "${enable_choicebook+set}" = set; then
9749 enableval=$enable_choicebook;
9750 if test "$enableval" = yes; then
9751 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9752 else
9753 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9754 fi
9755
9756 else
9757
9758 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9759
9760 fi
9761
9762
9763 eval "$wx_cv_use_choicebook"
9764
9765 if test x"$enablestring" = xdisable; then
9766 if test $wxUSE_CHOICEBOOK = yes; then
9767 result=no
9768 else
9769 result=yes
9770 fi
9771 else
9772 result=$wxUSE_CHOICEBOOK
9773 fi
9774
9775 { echo "$as_me:$LINENO: result: $result" >&5
9776 echo "${ECHO_T}$result" >&6; }
9777
9778
9779 enablestring=
9780 defaultval=$wxUSE_ALL_FEATURES
9781 if test -z "$defaultval"; then
9782 if test x"$enablestring" = xdisable; then
9783 defaultval=yes
9784 else
9785 defaultval=no
9786 fi
9787 fi
9788
9789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9790 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9791 # Check whether --enable-collpane was given.
9792 if test "${enable_collpane+set}" = set; then
9793 enableval=$enable_collpane;
9794 if test "$enableval" = yes; then
9795 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9796 else
9797 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9798 fi
9799
9800 else
9801
9802 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9803
9804 fi
9805
9806
9807 eval "$wx_cv_use_collpane"
9808
9809 if test x"$enablestring" = xdisable; then
9810 if test $wxUSE_COLLPANE = yes; then
9811 result=no
9812 else
9813 result=yes
9814 fi
9815 else
9816 result=$wxUSE_COLLPANE
9817 fi
9818
9819 { echo "$as_me:$LINENO: result: $result" >&5
9820 echo "${ECHO_T}$result" >&6; }
9821
9822
9823 enablestring=
9824 defaultval=$wxUSE_ALL_FEATURES
9825 if test -z "$defaultval"; then
9826 if test x"$enablestring" = xdisable; then
9827 defaultval=yes
9828 else
9829 defaultval=no
9830 fi
9831 fi
9832
9833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9834 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9835 # Check whether --enable-colourpicker was given.
9836 if test "${enable_colourpicker+set}" = set; then
9837 enableval=$enable_colourpicker;
9838 if test "$enableval" = yes; then
9839 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9840 else
9841 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9842 fi
9843
9844 else
9845
9846 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9847
9848 fi
9849
9850
9851 eval "$wx_cv_use_colourpicker"
9852
9853 if test x"$enablestring" = xdisable; then
9854 if test $wxUSE_COLOURPICKERCTRL = yes; then
9855 result=no
9856 else
9857 result=yes
9858 fi
9859 else
9860 result=$wxUSE_COLOURPICKERCTRL
9861 fi
9862
9863 { echo "$as_me:$LINENO: result: $result" >&5
9864 echo "${ECHO_T}$result" >&6; }
9865
9866
9867 enablestring=
9868 defaultval=$wxUSE_ALL_FEATURES
9869 if test -z "$defaultval"; then
9870 if test x"$enablestring" = xdisable; then
9871 defaultval=yes
9872 else
9873 defaultval=no
9874 fi
9875 fi
9876
9877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9878 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9879 # Check whether --enable-combobox was given.
9880 if test "${enable_combobox+set}" = set; then
9881 enableval=$enable_combobox;
9882 if test "$enableval" = yes; then
9883 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9884 else
9885 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9886 fi
9887
9888 else
9889
9890 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9891
9892 fi
9893
9894
9895 eval "$wx_cv_use_combobox"
9896
9897 if test x"$enablestring" = xdisable; then
9898 if test $wxUSE_COMBOBOX = yes; then
9899 result=no
9900 else
9901 result=yes
9902 fi
9903 else
9904 result=$wxUSE_COMBOBOX
9905 fi
9906
9907 { echo "$as_me:$LINENO: result: $result" >&5
9908 echo "${ECHO_T}$result" >&6; }
9909
9910
9911 enablestring=
9912 defaultval=$wxUSE_ALL_FEATURES
9913 if test -z "$defaultval"; then
9914 if test x"$enablestring" = xdisable; then
9915 defaultval=yes
9916 else
9917 defaultval=no
9918 fi
9919 fi
9920
9921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9923 # Check whether --enable-comboctrl was given.
9924 if test "${enable_comboctrl+set}" = set; then
9925 enableval=$enable_comboctrl;
9926 if test "$enableval" = yes; then
9927 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9928 else
9929 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9930 fi
9931
9932 else
9933
9934 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9935
9936 fi
9937
9938
9939 eval "$wx_cv_use_comboctrl"
9940
9941 if test x"$enablestring" = xdisable; then
9942 if test $wxUSE_COMBOCTRL = yes; then
9943 result=no
9944 else
9945 result=yes
9946 fi
9947 else
9948 result=$wxUSE_COMBOCTRL
9949 fi
9950
9951 { echo "$as_me:$LINENO: result: $result" >&5
9952 echo "${ECHO_T}$result" >&6; }
9953
9954
9955 enablestring=
9956 defaultval=$wxUSE_ALL_FEATURES
9957 if test -z "$defaultval"; then
9958 if test x"$enablestring" = xdisable; then
9959 defaultval=yes
9960 else
9961 defaultval=no
9962 fi
9963 fi
9964
9965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9966 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9967 # Check whether --enable-datepick was given.
9968 if test "${enable_datepick+set}" = set; then
9969 enableval=$enable_datepick;
9970 if test "$enableval" = yes; then
9971 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9972 else
9973 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9974 fi
9975
9976 else
9977
9978 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9979
9980 fi
9981
9982
9983 eval "$wx_cv_use_datepick"
9984
9985 if test x"$enablestring" = xdisable; then
9986 if test $wxUSE_DATEPICKCTRL = yes; then
9987 result=no
9988 else
9989 result=yes
9990 fi
9991 else
9992 result=$wxUSE_DATEPICKCTRL
9993 fi
9994
9995 { echo "$as_me:$LINENO: result: $result" >&5
9996 echo "${ECHO_T}$result" >&6; }
9997
9998
9999 enablestring=
10000 defaultval=$wxUSE_ALL_FEATURES
10001 if test -z "$defaultval"; then
10002 if test x"$enablestring" = xdisable; then
10003 defaultval=yes
10004 else
10005 defaultval=no
10006 fi
10007 fi
10008
10009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10010 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10011 # Check whether --enable-dirpicker was given.
10012 if test "${enable_dirpicker+set}" = set; then
10013 enableval=$enable_dirpicker;
10014 if test "$enableval" = yes; then
10015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10016 else
10017 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10018 fi
10019
10020 else
10021
10022 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10023
10024 fi
10025
10026
10027 eval "$wx_cv_use_dirpicker"
10028
10029 if test x"$enablestring" = xdisable; then
10030 if test $wxUSE_DIRPICKERCTRL = yes; then
10031 result=no
10032 else
10033 result=yes
10034 fi
10035 else
10036 result=$wxUSE_DIRPICKERCTRL
10037 fi
10038
10039 { echo "$as_me:$LINENO: result: $result" >&5
10040 echo "${ECHO_T}$result" >&6; }
10041
10042
10043 enablestring=
10044 defaultval=$wxUSE_ALL_FEATURES
10045 if test -z "$defaultval"; then
10046 if test x"$enablestring" = xdisable; then
10047 defaultval=yes
10048 else
10049 defaultval=no
10050 fi
10051 fi
10052
10053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10055 # Check whether --enable-display was given.
10056 if test "${enable_display+set}" = set; then
10057 enableval=$enable_display;
10058 if test "$enableval" = yes; then
10059 wx_cv_use_display='wxUSE_DISPLAY=yes'
10060 else
10061 wx_cv_use_display='wxUSE_DISPLAY=no'
10062 fi
10063
10064 else
10065
10066 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10067
10068 fi
10069
10070
10071 eval "$wx_cv_use_display"
10072
10073 if test x"$enablestring" = xdisable; then
10074 if test $wxUSE_DISPLAY = yes; then
10075 result=no
10076 else
10077 result=yes
10078 fi
10079 else
10080 result=$wxUSE_DISPLAY
10081 fi
10082
10083 { echo "$as_me:$LINENO: result: $result" >&5
10084 echo "${ECHO_T}$result" >&6; }
10085
10086
10087 enablestring=
10088 defaultval=$wxUSE_ALL_FEATURES
10089 if test -z "$defaultval"; then
10090 if test x"$enablestring" = xdisable; then
10091 defaultval=yes
10092 else
10093 defaultval=no
10094 fi
10095 fi
10096
10097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10098 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10099 # Check whether --enable-detect_sm was given.
10100 if test "${enable_detect_sm+set}" = set; then
10101 enableval=$enable_detect_sm;
10102 if test "$enableval" = yes; then
10103 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10104 else
10105 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10106 fi
10107
10108 else
10109
10110 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10111
10112 fi
10113
10114
10115 eval "$wx_cv_use_detect_sm"
10116
10117 if test x"$enablestring" = xdisable; then
10118 if test $wxUSE_DETECT_SM = yes; then
10119 result=no
10120 else
10121 result=yes
10122 fi
10123 else
10124 result=$wxUSE_DETECT_SM
10125 fi
10126
10127 { echo "$as_me:$LINENO: result: $result" >&5
10128 echo "${ECHO_T}$result" >&6; }
10129
10130
10131 enablestring=
10132 defaultval=$wxUSE_ALL_FEATURES
10133 if test -z "$defaultval"; then
10134 if test x"$enablestring" = xdisable; then
10135 defaultval=yes
10136 else
10137 defaultval=no
10138 fi
10139 fi
10140
10141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10142 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10143 # Check whether --enable-editablebox was given.
10144 if test "${enable_editablebox+set}" = set; then
10145 enableval=$enable_editablebox;
10146 if test "$enableval" = yes; then
10147 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10148 else
10149 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10150 fi
10151
10152 else
10153
10154 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10155
10156 fi
10157
10158
10159 eval "$wx_cv_use_editablebox"
10160
10161 if test x"$enablestring" = xdisable; then
10162 if test $wxUSE_EDITABLELISTBOX = yes; then
10163 result=no
10164 else
10165 result=yes
10166 fi
10167 else
10168 result=$wxUSE_EDITABLELISTBOX
10169 fi
10170
10171 { echo "$as_me:$LINENO: result: $result" >&5
10172 echo "${ECHO_T}$result" >&6; }
10173
10174
10175 enablestring=
10176 defaultval=$wxUSE_ALL_FEATURES
10177 if test -z "$defaultval"; then
10178 if test x"$enablestring" = xdisable; then
10179 defaultval=yes
10180 else
10181 defaultval=no
10182 fi
10183 fi
10184
10185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10187 # Check whether --enable-filepicker was given.
10188 if test "${enable_filepicker+set}" = set; then
10189 enableval=$enable_filepicker;
10190 if test "$enableval" = yes; then
10191 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10192 else
10193 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10194 fi
10195
10196 else
10197
10198 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10199
10200 fi
10201
10202
10203 eval "$wx_cv_use_filepicker"
10204
10205 if test x"$enablestring" = xdisable; then
10206 if test $wxUSE_FILEPICKERCTRL = yes; then
10207 result=no
10208 else
10209 result=yes
10210 fi
10211 else
10212 result=$wxUSE_FILEPICKERCTRL
10213 fi
10214
10215 { echo "$as_me:$LINENO: result: $result" >&5
10216 echo "${ECHO_T}$result" >&6; }
10217
10218
10219 enablestring=
10220 defaultval=$wxUSE_ALL_FEATURES
10221 if test -z "$defaultval"; then
10222 if test x"$enablestring" = xdisable; then
10223 defaultval=yes
10224 else
10225 defaultval=no
10226 fi
10227 fi
10228
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10231 # Check whether --enable-filectrl was given.
10232 if test "${enable_filectrl+set}" = set; then
10233 enableval=$enable_filectrl;
10234 if test "$enableval" = yes; then
10235 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10236 else
10237 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10238 fi
10239
10240 else
10241
10242 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10243
10244 fi
10245
10246
10247 eval "$wx_cv_use_filectrl"
10248
10249 if test x"$enablestring" = xdisable; then
10250 if test $wxUSE_FILECTRL = yes; then
10251 result=no
10252 else
10253 result=yes
10254 fi
10255 else
10256 result=$wxUSE_FILECTRL
10257 fi
10258
10259 { echo "$as_me:$LINENO: result: $result" >&5
10260 echo "${ECHO_T}$result" >&6; }
10261
10262
10263 enablestring=
10264 defaultval=$wxUSE_ALL_FEATURES
10265 if test -z "$defaultval"; then
10266 if test x"$enablestring" = xdisable; then
10267 defaultval=yes
10268 else
10269 defaultval=no
10270 fi
10271 fi
10272
10273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10274 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10275 # Check whether --enable-fontpicker was given.
10276 if test "${enable_fontpicker+set}" = set; then
10277 enableval=$enable_fontpicker;
10278 if test "$enableval" = yes; then
10279 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10280 else
10281 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10282 fi
10283
10284 else
10285
10286 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10287
10288 fi
10289
10290
10291 eval "$wx_cv_use_fontpicker"
10292
10293 if test x"$enablestring" = xdisable; then
10294 if test $wxUSE_FONTPICKERCTRL = yes; then
10295 result=no
10296 else
10297 result=yes
10298 fi
10299 else
10300 result=$wxUSE_FONTPICKERCTRL
10301 fi
10302
10303 { echo "$as_me:$LINENO: result: $result" >&5
10304 echo "${ECHO_T}$result" >&6; }
10305
10306
10307 enablestring=
10308 defaultval=$wxUSE_ALL_FEATURES
10309 if test -z "$defaultval"; then
10310 if test x"$enablestring" = xdisable; then
10311 defaultval=yes
10312 else
10313 defaultval=no
10314 fi
10315 fi
10316
10317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10318 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10319 # Check whether --enable-gauge was given.
10320 if test "${enable_gauge+set}" = set; then
10321 enableval=$enable_gauge;
10322 if test "$enableval" = yes; then
10323 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10324 else
10325 wx_cv_use_gauge='wxUSE_GAUGE=no'
10326 fi
10327
10328 else
10329
10330 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10331
10332 fi
10333
10334
10335 eval "$wx_cv_use_gauge"
10336
10337 if test x"$enablestring" = xdisable; then
10338 if test $wxUSE_GAUGE = yes; then
10339 result=no
10340 else
10341 result=yes
10342 fi
10343 else
10344 result=$wxUSE_GAUGE
10345 fi
10346
10347 { echo "$as_me:$LINENO: result: $result" >&5
10348 echo "${ECHO_T}$result" >&6; }
10349
10350
10351 enablestring=
10352 defaultval=$wxUSE_ALL_FEATURES
10353 if test -z "$defaultval"; then
10354 if test x"$enablestring" = xdisable; then
10355 defaultval=yes
10356 else
10357 defaultval=no
10358 fi
10359 fi
10360
10361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10362 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10363 # Check whether --enable-grid was given.
10364 if test "${enable_grid+set}" = set; then
10365 enableval=$enable_grid;
10366 if test "$enableval" = yes; then
10367 wx_cv_use_grid='wxUSE_GRID=yes'
10368 else
10369 wx_cv_use_grid='wxUSE_GRID=no'
10370 fi
10371
10372 else
10373
10374 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10375
10376 fi
10377
10378
10379 eval "$wx_cv_use_grid"
10380
10381 if test x"$enablestring" = xdisable; then
10382 if test $wxUSE_GRID = yes; then
10383 result=no
10384 else
10385 result=yes
10386 fi
10387 else
10388 result=$wxUSE_GRID
10389 fi
10390
10391 { echo "$as_me:$LINENO: result: $result" >&5
10392 echo "${ECHO_T}$result" >&6; }
10393
10394
10395 enablestring=
10396 defaultval=$wxUSE_ALL_FEATURES
10397 if test -z "$defaultval"; then
10398 if test x"$enablestring" = xdisable; then
10399 defaultval=yes
10400 else
10401 defaultval=no
10402 fi
10403 fi
10404
10405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10406 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10407 # Check whether --enable-dataviewctrl was given.
10408 if test "${enable_dataviewctrl+set}" = set; then
10409 enableval=$enable_dataviewctrl;
10410 if test "$enableval" = yes; then
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10412 else
10413 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10414 fi
10415
10416 else
10417
10418 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10419
10420 fi
10421
10422
10423 eval "$wx_cv_use_dataviewctrl"
10424
10425 if test x"$enablestring" = xdisable; then
10426 if test $wxUSE_DATAVIEWCTRL = yes; then
10427 result=no
10428 else
10429 result=yes
10430 fi
10431 else
10432 result=$wxUSE_DATAVIEWCTRL
10433 fi
10434
10435 { echo "$as_me:$LINENO: result: $result" >&5
10436 echo "${ECHO_T}$result" >&6; }
10437
10438
10439 enablestring=
10440 defaultval=$wxUSE_ALL_FEATURES
10441 if test -z "$defaultval"; then
10442 if test x"$enablestring" = xdisable; then
10443 defaultval=yes
10444 else
10445 defaultval=no
10446 fi
10447 fi
10448
10449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10450 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10451 # Check whether --enable-hyperlink was given.
10452 if test "${enable_hyperlink+set}" = set; then
10453 enableval=$enable_hyperlink;
10454 if test "$enableval" = yes; then
10455 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10456 else
10457 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10458 fi
10459
10460 else
10461
10462 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10463
10464 fi
10465
10466
10467 eval "$wx_cv_use_hyperlink"
10468
10469 if test x"$enablestring" = xdisable; then
10470 if test $wxUSE_HYPERLINKCTRL = yes; then
10471 result=no
10472 else
10473 result=yes
10474 fi
10475 else
10476 result=$wxUSE_HYPERLINKCTRL
10477 fi
10478
10479 { echo "$as_me:$LINENO: result: $result" >&5
10480 echo "${ECHO_T}$result" >&6; }
10481
10482
10483 enablestring=
10484 defaultval=$wxUSE_ALL_FEATURES
10485 if test -z "$defaultval"; then
10486 if test x"$enablestring" = xdisable; then
10487 defaultval=yes
10488 else
10489 defaultval=no
10490 fi
10491 fi
10492
10493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10494 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10495 # Check whether --enable-imaglist was given.
10496 if test "${enable_imaglist+set}" = set; then
10497 enableval=$enable_imaglist;
10498 if test "$enableval" = yes; then
10499 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10500 else
10501 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10502 fi
10503
10504 else
10505
10506 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10507
10508 fi
10509
10510
10511 eval "$wx_cv_use_imaglist"
10512
10513 if test x"$enablestring" = xdisable; then
10514 if test $wxUSE_IMAGLIST = yes; then
10515 result=no
10516 else
10517 result=yes
10518 fi
10519 else
10520 result=$wxUSE_IMAGLIST
10521 fi
10522
10523 { echo "$as_me:$LINENO: result: $result" >&5
10524 echo "${ECHO_T}$result" >&6; }
10525
10526
10527 enablestring=
10528 defaultval=$wxUSE_ALL_FEATURES
10529 if test -z "$defaultval"; then
10530 if test x"$enablestring" = xdisable; then
10531 defaultval=yes
10532 else
10533 defaultval=no
10534 fi
10535 fi
10536
10537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10538 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10539 # Check whether --enable-listbook was given.
10540 if test "${enable_listbook+set}" = set; then
10541 enableval=$enable_listbook;
10542 if test "$enableval" = yes; then
10543 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10544 else
10545 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10546 fi
10547
10548 else
10549
10550 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10551
10552 fi
10553
10554
10555 eval "$wx_cv_use_listbook"
10556
10557 if test x"$enablestring" = xdisable; then
10558 if test $wxUSE_LISTBOOK = yes; then
10559 result=no
10560 else
10561 result=yes
10562 fi
10563 else
10564 result=$wxUSE_LISTBOOK
10565 fi
10566
10567 { echo "$as_me:$LINENO: result: $result" >&5
10568 echo "${ECHO_T}$result" >&6; }
10569
10570
10571 enablestring=
10572 defaultval=$wxUSE_ALL_FEATURES
10573 if test -z "$defaultval"; then
10574 if test x"$enablestring" = xdisable; then
10575 defaultval=yes
10576 else
10577 defaultval=no
10578 fi
10579 fi
10580
10581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10583 # Check whether --enable-listbox was given.
10584 if test "${enable_listbox+set}" = set; then
10585 enableval=$enable_listbox;
10586 if test "$enableval" = yes; then
10587 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10588 else
10589 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10590 fi
10591
10592 else
10593
10594 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10595
10596 fi
10597
10598
10599 eval "$wx_cv_use_listbox"
10600
10601 if test x"$enablestring" = xdisable; then
10602 if test $wxUSE_LISTBOX = yes; then
10603 result=no
10604 else
10605 result=yes
10606 fi
10607 else
10608 result=$wxUSE_LISTBOX
10609 fi
10610
10611 { echo "$as_me:$LINENO: result: $result" >&5
10612 echo "${ECHO_T}$result" >&6; }
10613
10614
10615 enablestring=
10616 defaultval=$wxUSE_ALL_FEATURES
10617 if test -z "$defaultval"; then
10618 if test x"$enablestring" = xdisable; then
10619 defaultval=yes
10620 else
10621 defaultval=no
10622 fi
10623 fi
10624
10625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10627 # Check whether --enable-listctrl was given.
10628 if test "${enable_listctrl+set}" = set; then
10629 enableval=$enable_listctrl;
10630 if test "$enableval" = yes; then
10631 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10632 else
10633 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10634 fi
10635
10636 else
10637
10638 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10639
10640 fi
10641
10642
10643 eval "$wx_cv_use_listctrl"
10644
10645 if test x"$enablestring" = xdisable; then
10646 if test $wxUSE_LISTCTRL = yes; then
10647 result=no
10648 else
10649 result=yes
10650 fi
10651 else
10652 result=$wxUSE_LISTCTRL
10653 fi
10654
10655 { echo "$as_me:$LINENO: result: $result" >&5
10656 echo "${ECHO_T}$result" >&6; }
10657
10658
10659 enablestring=
10660 defaultval=$wxUSE_ALL_FEATURES
10661 if test -z "$defaultval"; then
10662 if test x"$enablestring" = xdisable; then
10663 defaultval=yes
10664 else
10665 defaultval=no
10666 fi
10667 fi
10668
10669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10670 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10671 # Check whether --enable-notebook was given.
10672 if test "${enable_notebook+set}" = set; then
10673 enableval=$enable_notebook;
10674 if test "$enableval" = yes; then
10675 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10676 else
10677 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10678 fi
10679
10680 else
10681
10682 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10683
10684 fi
10685
10686
10687 eval "$wx_cv_use_notebook"
10688
10689 if test x"$enablestring" = xdisable; then
10690 if test $wxUSE_NOTEBOOK = yes; then
10691 result=no
10692 else
10693 result=yes
10694 fi
10695 else
10696 result=$wxUSE_NOTEBOOK
10697 fi
10698
10699 { echo "$as_me:$LINENO: result: $result" >&5
10700 echo "${ECHO_T}$result" >&6; }
10701
10702
10703 enablestring=
10704 defaultval=$wxUSE_ALL_FEATURES
10705 if test -z "$defaultval"; then
10706 if test x"$enablestring" = xdisable; then
10707 defaultval=yes
10708 else
10709 defaultval=no
10710 fi
10711 fi
10712
10713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10714 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10715 # Check whether --enable-notifmsg was given.
10716 if test "${enable_notifmsg+set}" = set; then
10717 enableval=$enable_notifmsg;
10718 if test "$enableval" = yes; then
10719 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10720 else
10721 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10722 fi
10723
10724 else
10725
10726 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10727
10728 fi
10729
10730
10731 eval "$wx_cv_use_notifmsg"
10732
10733 if test x"$enablestring" = xdisable; then
10734 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10735 result=no
10736 else
10737 result=yes
10738 fi
10739 else
10740 result=$wxUSE_NOTIFICATION_MESSAGE
10741 fi
10742
10743 { echo "$as_me:$LINENO: result: $result" >&5
10744 echo "${ECHO_T}$result" >&6; }
10745
10746
10747 enablestring=
10748 defaultval=$wxUSE_ALL_FEATURES
10749 if test -z "$defaultval"; then
10750 if test x"$enablestring" = xdisable; then
10751 defaultval=yes
10752 else
10753 defaultval=no
10754 fi
10755 fi
10756
10757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10758 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10759 # Check whether --enable-odcombobox was given.
10760 if test "${enable_odcombobox+set}" = set; then
10761 enableval=$enable_odcombobox;
10762 if test "$enableval" = yes; then
10763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10764 else
10765 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10766 fi
10767
10768 else
10769
10770 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10771
10772 fi
10773
10774
10775 eval "$wx_cv_use_odcombobox"
10776
10777 if test x"$enablestring" = xdisable; then
10778 if test $wxUSE_ODCOMBOBOX = yes; then
10779 result=no
10780 else
10781 result=yes
10782 fi
10783 else
10784 result=$wxUSE_ODCOMBOBOX
10785 fi
10786
10787 { echo "$as_me:$LINENO: result: $result" >&5
10788 echo "${ECHO_T}$result" >&6; }
10789
10790
10791 enablestring=
10792 defaultval=$wxUSE_ALL_FEATURES
10793 if test -z "$defaultval"; then
10794 if test x"$enablestring" = xdisable; then
10795 defaultval=yes
10796 else
10797 defaultval=no
10798 fi
10799 fi
10800
10801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10802 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10803 # Check whether --enable-radiobox was given.
10804 if test "${enable_radiobox+set}" = set; then
10805 enableval=$enable_radiobox;
10806 if test "$enableval" = yes; then
10807 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10808 else
10809 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10810 fi
10811
10812 else
10813
10814 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10815
10816 fi
10817
10818
10819 eval "$wx_cv_use_radiobox"
10820
10821 if test x"$enablestring" = xdisable; then
10822 if test $wxUSE_RADIOBOX = yes; then
10823 result=no
10824 else
10825 result=yes
10826 fi
10827 else
10828 result=$wxUSE_RADIOBOX
10829 fi
10830
10831 { echo "$as_me:$LINENO: result: $result" >&5
10832 echo "${ECHO_T}$result" >&6; }
10833
10834
10835 enablestring=
10836 defaultval=$wxUSE_ALL_FEATURES
10837 if test -z "$defaultval"; then
10838 if test x"$enablestring" = xdisable; then
10839 defaultval=yes
10840 else
10841 defaultval=no
10842 fi
10843 fi
10844
10845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10846 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10847 # Check whether --enable-radiobtn was given.
10848 if test "${enable_radiobtn+set}" = set; then
10849 enableval=$enable_radiobtn;
10850 if test "$enableval" = yes; then
10851 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10852 else
10853 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10854 fi
10855
10856 else
10857
10858 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10859
10860 fi
10861
10862
10863 eval "$wx_cv_use_radiobtn"
10864
10865 if test x"$enablestring" = xdisable; then
10866 if test $wxUSE_RADIOBTN = yes; then
10867 result=no
10868 else
10869 result=yes
10870 fi
10871 else
10872 result=$wxUSE_RADIOBTN
10873 fi
10874
10875 { echo "$as_me:$LINENO: result: $result" >&5
10876 echo "${ECHO_T}$result" >&6; }
10877
10878
10879 enablestring=
10880 defaultval=$wxUSE_ALL_FEATURES
10881 if test -z "$defaultval"; then
10882 if test x"$enablestring" = xdisable; then
10883 defaultval=yes
10884 else
10885 defaultval=no
10886 fi
10887 fi
10888
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10891 # Check whether --enable-sash was given.
10892 if test "${enable_sash+set}" = set; then
10893 enableval=$enable_sash;
10894 if test "$enableval" = yes; then
10895 wx_cv_use_sash='wxUSE_SASH=yes'
10896 else
10897 wx_cv_use_sash='wxUSE_SASH=no'
10898 fi
10899
10900 else
10901
10902 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10903
10904 fi
10905
10906
10907 eval "$wx_cv_use_sash"
10908
10909 if test x"$enablestring" = xdisable; then
10910 if test $wxUSE_SASH = yes; then
10911 result=no
10912 else
10913 result=yes
10914 fi
10915 else
10916 result=$wxUSE_SASH
10917 fi
10918
10919 { echo "$as_me:$LINENO: result: $result" >&5
10920 echo "${ECHO_T}$result" >&6; }
10921
10922
10923 enablestring=
10924 defaultval=$wxUSE_ALL_FEATURES
10925 if test -z "$defaultval"; then
10926 if test x"$enablestring" = xdisable; then
10927 defaultval=yes
10928 else
10929 defaultval=no
10930 fi
10931 fi
10932
10933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10935 # Check whether --enable-scrollbar was given.
10936 if test "${enable_scrollbar+set}" = set; then
10937 enableval=$enable_scrollbar;
10938 if test "$enableval" = yes; then
10939 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10940 else
10941 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10942 fi
10943
10944 else
10945
10946 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10947
10948 fi
10949
10950
10951 eval "$wx_cv_use_scrollbar"
10952
10953 if test x"$enablestring" = xdisable; then
10954 if test $wxUSE_SCROLLBAR = yes; then
10955 result=no
10956 else
10957 result=yes
10958 fi
10959 else
10960 result=$wxUSE_SCROLLBAR
10961 fi
10962
10963 { echo "$as_me:$LINENO: result: $result" >&5
10964 echo "${ECHO_T}$result" >&6; }
10965
10966
10967 enablestring=
10968 defaultval=$wxUSE_ALL_FEATURES
10969 if test -z "$defaultval"; then
10970 if test x"$enablestring" = xdisable; then
10971 defaultval=yes
10972 else
10973 defaultval=no
10974 fi
10975 fi
10976
10977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10978 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10979 # Check whether --enable-searchctrl was given.
10980 if test "${enable_searchctrl+set}" = set; then
10981 enableval=$enable_searchctrl;
10982 if test "$enableval" = yes; then
10983 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10984 else
10985 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10986 fi
10987
10988 else
10989
10990 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10991
10992 fi
10993
10994
10995 eval "$wx_cv_use_searchctrl"
10996
10997 if test x"$enablestring" = xdisable; then
10998 if test $wxUSE_SEARCHCTRL = yes; then
10999 result=no
11000 else
11001 result=yes
11002 fi
11003 else
11004 result=$wxUSE_SEARCHCTRL
11005 fi
11006
11007 { echo "$as_me:$LINENO: result: $result" >&5
11008 echo "${ECHO_T}$result" >&6; }
11009
11010
11011 enablestring=
11012 defaultval=$wxUSE_ALL_FEATURES
11013 if test -z "$defaultval"; then
11014 if test x"$enablestring" = xdisable; then
11015 defaultval=yes
11016 else
11017 defaultval=no
11018 fi
11019 fi
11020
11021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11022 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11023 # Check whether --enable-slider was given.
11024 if test "${enable_slider+set}" = set; then
11025 enableval=$enable_slider;
11026 if test "$enableval" = yes; then
11027 wx_cv_use_slider='wxUSE_SLIDER=yes'
11028 else
11029 wx_cv_use_slider='wxUSE_SLIDER=no'
11030 fi
11031
11032 else
11033
11034 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11035
11036 fi
11037
11038
11039 eval "$wx_cv_use_slider"
11040
11041 if test x"$enablestring" = xdisable; then
11042 if test $wxUSE_SLIDER = yes; then
11043 result=no
11044 else
11045 result=yes
11046 fi
11047 else
11048 result=$wxUSE_SLIDER
11049 fi
11050
11051 { echo "$as_me:$LINENO: result: $result" >&5
11052 echo "${ECHO_T}$result" >&6; }
11053
11054
11055 enablestring=
11056 defaultval=$wxUSE_ALL_FEATURES
11057 if test -z "$defaultval"; then
11058 if test x"$enablestring" = xdisable; then
11059 defaultval=yes
11060 else
11061 defaultval=no
11062 fi
11063 fi
11064
11065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11067 # Check whether --enable-spinbtn was given.
11068 if test "${enable_spinbtn+set}" = set; then
11069 enableval=$enable_spinbtn;
11070 if test "$enableval" = yes; then
11071 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11072 else
11073 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11074 fi
11075
11076 else
11077
11078 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11079
11080 fi
11081
11082
11083 eval "$wx_cv_use_spinbtn"
11084
11085 if test x"$enablestring" = xdisable; then
11086 if test $wxUSE_SPINBTN = yes; then
11087 result=no
11088 else
11089 result=yes
11090 fi
11091 else
11092 result=$wxUSE_SPINBTN
11093 fi
11094
11095 { echo "$as_me:$LINENO: result: $result" >&5
11096 echo "${ECHO_T}$result" >&6; }
11097
11098
11099 enablestring=
11100 defaultval=$wxUSE_ALL_FEATURES
11101 if test -z "$defaultval"; then
11102 if test x"$enablestring" = xdisable; then
11103 defaultval=yes
11104 else
11105 defaultval=no
11106 fi
11107 fi
11108
11109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11111 # Check whether --enable-spinctrl was given.
11112 if test "${enable_spinctrl+set}" = set; then
11113 enableval=$enable_spinctrl;
11114 if test "$enableval" = yes; then
11115 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11116 else
11117 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11118 fi
11119
11120 else
11121
11122 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11123
11124 fi
11125
11126
11127 eval "$wx_cv_use_spinctrl"
11128
11129 if test x"$enablestring" = xdisable; then
11130 if test $wxUSE_SPINCTRL = yes; then
11131 result=no
11132 else
11133 result=yes
11134 fi
11135 else
11136 result=$wxUSE_SPINCTRL
11137 fi
11138
11139 { echo "$as_me:$LINENO: result: $result" >&5
11140 echo "${ECHO_T}$result" >&6; }
11141
11142
11143 enablestring=
11144 defaultval=$wxUSE_ALL_FEATURES
11145 if test -z "$defaultval"; then
11146 if test x"$enablestring" = xdisable; then
11147 defaultval=yes
11148 else
11149 defaultval=no
11150 fi
11151 fi
11152
11153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11154 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11155 # Check whether --enable-splitter was given.
11156 if test "${enable_splitter+set}" = set; then
11157 enableval=$enable_splitter;
11158 if test "$enableval" = yes; then
11159 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11160 else
11161 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11162 fi
11163
11164 else
11165
11166 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11167
11168 fi
11169
11170
11171 eval "$wx_cv_use_splitter"
11172
11173 if test x"$enablestring" = xdisable; then
11174 if test $wxUSE_SPLITTER = yes; then
11175 result=no
11176 else
11177 result=yes
11178 fi
11179 else
11180 result=$wxUSE_SPLITTER
11181 fi
11182
11183 { echo "$as_me:$LINENO: result: $result" >&5
11184 echo "${ECHO_T}$result" >&6; }
11185
11186
11187 enablestring=
11188 defaultval=$wxUSE_ALL_FEATURES
11189 if test -z "$defaultval"; then
11190 if test x"$enablestring" = xdisable; then
11191 defaultval=yes
11192 else
11193 defaultval=no
11194 fi
11195 fi
11196
11197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11198 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11199 # Check whether --enable-statbmp was given.
11200 if test "${enable_statbmp+set}" = set; then
11201 enableval=$enable_statbmp;
11202 if test "$enableval" = yes; then
11203 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11204 else
11205 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11206 fi
11207
11208 else
11209
11210 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11211
11212 fi
11213
11214
11215 eval "$wx_cv_use_statbmp"
11216
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_STATBMP = yes; then
11219 result=no
11220 else
11221 result=yes
11222 fi
11223 else
11224 result=$wxUSE_STATBMP
11225 fi
11226
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11229
11230
11231 enablestring=
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11235 defaultval=yes
11236 else
11237 defaultval=no
11238 fi
11239 fi
11240
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11243 # Check whether --enable-statbox was given.
11244 if test "${enable_statbox+set}" = set; then
11245 enableval=$enable_statbox;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11248 else
11249 wx_cv_use_statbox='wxUSE_STATBOX=no'
11250 fi
11251
11252 else
11253
11254 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11255
11256 fi
11257
11258
11259 eval "$wx_cv_use_statbox"
11260
11261 if test x"$enablestring" = xdisable; then
11262 if test $wxUSE_STATBOX = yes; then
11263 result=no
11264 else
11265 result=yes
11266 fi
11267 else
11268 result=$wxUSE_STATBOX
11269 fi
11270
11271 { echo "$as_me:$LINENO: result: $result" >&5
11272 echo "${ECHO_T}$result" >&6; }
11273
11274
11275 enablestring=
11276 defaultval=$wxUSE_ALL_FEATURES
11277 if test -z "$defaultval"; then
11278 if test x"$enablestring" = xdisable; then
11279 defaultval=yes
11280 else
11281 defaultval=no
11282 fi
11283 fi
11284
11285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11286 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11287 # Check whether --enable-statline was given.
11288 if test "${enable_statline+set}" = set; then
11289 enableval=$enable_statline;
11290 if test "$enableval" = yes; then
11291 wx_cv_use_statline='wxUSE_STATLINE=yes'
11292 else
11293 wx_cv_use_statline='wxUSE_STATLINE=no'
11294 fi
11295
11296 else
11297
11298 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11299
11300 fi
11301
11302
11303 eval "$wx_cv_use_statline"
11304
11305 if test x"$enablestring" = xdisable; then
11306 if test $wxUSE_STATLINE = yes; then
11307 result=no
11308 else
11309 result=yes
11310 fi
11311 else
11312 result=$wxUSE_STATLINE
11313 fi
11314
11315 { echo "$as_me:$LINENO: result: $result" >&5
11316 echo "${ECHO_T}$result" >&6; }
11317
11318
11319 enablestring=
11320 defaultval=$wxUSE_ALL_FEATURES
11321 if test -z "$defaultval"; then
11322 if test x"$enablestring" = xdisable; then
11323 defaultval=yes
11324 else
11325 defaultval=no
11326 fi
11327 fi
11328
11329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11330 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11331 # Check whether --enable-stattext was given.
11332 if test "${enable_stattext+set}" = set; then
11333 enableval=$enable_stattext;
11334 if test "$enableval" = yes; then
11335 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11336 else
11337 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11338 fi
11339
11340 else
11341
11342 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11343
11344 fi
11345
11346
11347 eval "$wx_cv_use_stattext"
11348
11349 if test x"$enablestring" = xdisable; then
11350 if test $wxUSE_STATTEXT = yes; then
11351 result=no
11352 else
11353 result=yes
11354 fi
11355 else
11356 result=$wxUSE_STATTEXT
11357 fi
11358
11359 { echo "$as_me:$LINENO: result: $result" >&5
11360 echo "${ECHO_T}$result" >&6; }
11361
11362
11363 enablestring=
11364 defaultval=$wxUSE_ALL_FEATURES
11365 if test -z "$defaultval"; then
11366 if test x"$enablestring" = xdisable; then
11367 defaultval=yes
11368 else
11369 defaultval=no
11370 fi
11371 fi
11372
11373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11374 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11375 # Check whether --enable-statusbar was given.
11376 if test "${enable_statusbar+set}" = set; then
11377 enableval=$enable_statusbar;
11378 if test "$enableval" = yes; then
11379 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11380 else
11381 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11382 fi
11383
11384 else
11385
11386 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11387
11388 fi
11389
11390
11391 eval "$wx_cv_use_statusbar"
11392
11393 if test x"$enablestring" = xdisable; then
11394 if test $wxUSE_STATUSBAR = yes; then
11395 result=no
11396 else
11397 result=yes
11398 fi
11399 else
11400 result=$wxUSE_STATUSBAR
11401 fi
11402
11403 { echo "$as_me:$LINENO: result: $result" >&5
11404 echo "${ECHO_T}$result" >&6; }
11405
11406
11407 enablestring=
11408 defaultval=$wxUSE_ALL_FEATURES
11409 if test -z "$defaultval"; then
11410 if test x"$enablestring" = xdisable; then
11411 defaultval=yes
11412 else
11413 defaultval=no
11414 fi
11415 fi
11416
11417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11418 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11419 # Check whether --enable-tabdialog was given.
11420 if test "${enable_tabdialog+set}" = set; then
11421 enableval=$enable_tabdialog;
11422 if test "$enableval" = yes; then
11423 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11424 else
11425 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11426 fi
11427
11428 else
11429
11430 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11431
11432 fi
11433
11434
11435 eval "$wx_cv_use_tabdialog"
11436
11437 if test x"$enablestring" = xdisable; then
11438 if test $wxUSE_TAB_DIALOG = yes; then
11439 result=no
11440 else
11441 result=yes
11442 fi
11443 else
11444 result=$wxUSE_TAB_DIALOG
11445 fi
11446
11447 { echo "$as_me:$LINENO: result: $result" >&5
11448 echo "${ECHO_T}$result" >&6; }
11449
11450
11451 enablestring=
11452 defaultval=$wxUSE_ALL_FEATURES
11453 if test -z "$defaultval"; then
11454 if test x"$enablestring" = xdisable; then
11455 defaultval=yes
11456 else
11457 defaultval=no
11458 fi
11459 fi
11460
11461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11462 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11463 # Check whether --enable-taskbaricon was given.
11464 if test "${enable_taskbaricon+set}" = set; then
11465 enableval=$enable_taskbaricon;
11466 if test "$enableval" = yes; then
11467 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11468 else
11469 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11470 fi
11471
11472 else
11473
11474 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11475
11476 fi
11477
11478
11479 eval "$wx_cv_use_taskbaricon"
11480
11481 if test x"$enablestring" = xdisable; then
11482 if test $wxUSE_TASKBARICON = yes; then
11483 result=no
11484 else
11485 result=yes
11486 fi
11487 else
11488 result=$wxUSE_TASKBARICON
11489 fi
11490
11491 { echo "$as_me:$LINENO: result: $result" >&5
11492 echo "${ECHO_T}$result" >&6; }
11493
11494
11495 enablestring=
11496 defaultval=$wxUSE_ALL_FEATURES
11497 if test -z "$defaultval"; then
11498 if test x"$enablestring" = xdisable; then
11499 defaultval=yes
11500 else
11501 defaultval=no
11502 fi
11503 fi
11504
11505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11506 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11507 # Check whether --enable-textctrl was given.
11508 if test "${enable_textctrl+set}" = set; then
11509 enableval=$enable_textctrl;
11510 if test "$enableval" = yes; then
11511 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11512 else
11513 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11514 fi
11515
11516 else
11517
11518 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11519
11520 fi
11521
11522
11523 eval "$wx_cv_use_textctrl"
11524
11525 if test x"$enablestring" = xdisable; then
11526 if test $wxUSE_TEXTCTRL = yes; then
11527 result=no
11528 else
11529 result=yes
11530 fi
11531 else
11532 result=$wxUSE_TEXTCTRL
11533 fi
11534
11535 { echo "$as_me:$LINENO: result: $result" >&5
11536 echo "${ECHO_T}$result" >&6; }
11537
11538
11539 enablestring=
11540 defaultval=$wxUSE_ALL_FEATURES
11541 if test -z "$defaultval"; then
11542 if test x"$enablestring" = xdisable; then
11543 defaultval=yes
11544 else
11545 defaultval=no
11546 fi
11547 fi
11548
11549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11550 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11551 # Check whether --enable-togglebtn was given.
11552 if test "${enable_togglebtn+set}" = set; then
11553 enableval=$enable_togglebtn;
11554 if test "$enableval" = yes; then
11555 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11556 else
11557 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11558 fi
11559
11560 else
11561
11562 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11563
11564 fi
11565
11566
11567 eval "$wx_cv_use_togglebtn"
11568
11569 if test x"$enablestring" = xdisable; then
11570 if test $wxUSE_TOGGLEBTN = yes; then
11571 result=no
11572 else
11573 result=yes
11574 fi
11575 else
11576 result=$wxUSE_TOGGLEBTN
11577 fi
11578
11579 { echo "$as_me:$LINENO: result: $result" >&5
11580 echo "${ECHO_T}$result" >&6; }
11581
11582
11583 enablestring=
11584 defaultval=$wxUSE_ALL_FEATURES
11585 if test -z "$defaultval"; then
11586 if test x"$enablestring" = xdisable; then
11587 defaultval=yes
11588 else
11589 defaultval=no
11590 fi
11591 fi
11592
11593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11594 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11595 # Check whether --enable-toolbar was given.
11596 if test "${enable_toolbar+set}" = set; then
11597 enableval=$enable_toolbar;
11598 if test "$enableval" = yes; then
11599 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11600 else
11601 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11602 fi
11603
11604 else
11605
11606 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11607
11608 fi
11609
11610
11611 eval "$wx_cv_use_toolbar"
11612
11613 if test x"$enablestring" = xdisable; then
11614 if test $wxUSE_TOOLBAR = yes; then
11615 result=no
11616 else
11617 result=yes
11618 fi
11619 else
11620 result=$wxUSE_TOOLBAR
11621 fi
11622
11623 { echo "$as_me:$LINENO: result: $result" >&5
11624 echo "${ECHO_T}$result" >&6; }
11625
11626
11627 enablestring=
11628 defaultval=$wxUSE_ALL_FEATURES
11629 if test -z "$defaultval"; then
11630 if test x"$enablestring" = xdisable; then
11631 defaultval=yes
11632 else
11633 defaultval=no
11634 fi
11635 fi
11636
11637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11638 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11639 # Check whether --enable-tbarnative was given.
11640 if test "${enable_tbarnative+set}" = set; then
11641 enableval=$enable_tbarnative;
11642 if test "$enableval" = yes; then
11643 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11644 else
11645 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11646 fi
11647
11648 else
11649
11650 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11651
11652 fi
11653
11654
11655 eval "$wx_cv_use_tbarnative"
11656
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11659 result=no
11660 else
11661 result=yes
11662 fi
11663 else
11664 result=$wxUSE_TOOLBAR_NATIVE
11665 fi
11666
11667 { echo "$as_me:$LINENO: result: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11669
11670
11671 enablestring=
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11675 defaultval=yes
11676 else
11677 defaultval=no
11678 fi
11679 fi
11680
11681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11682 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11683 # Check whether --enable-treebook was given.
11684 if test "${enable_treebook+set}" = set; then
11685 enableval=$enable_treebook;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11688 else
11689 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11690 fi
11691
11692 else
11693
11694 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11695
11696 fi
11697
11698
11699 eval "$wx_cv_use_treebook"
11700
11701 if test x"$enablestring" = xdisable; then
11702 if test $wxUSE_TREEBOOK = yes; then
11703 result=no
11704 else
11705 result=yes
11706 fi
11707 else
11708 result=$wxUSE_TREEBOOK
11709 fi
11710
11711 { echo "$as_me:$LINENO: result: $result" >&5
11712 echo "${ECHO_T}$result" >&6; }
11713
11714
11715 enablestring=
11716 defaultval=$wxUSE_ALL_FEATURES
11717 if test -z "$defaultval"; then
11718 if test x"$enablestring" = xdisable; then
11719 defaultval=yes
11720 else
11721 defaultval=no
11722 fi
11723 fi
11724
11725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11726 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11727 # Check whether --enable-toolbook was given.
11728 if test "${enable_toolbook+set}" = set; then
11729 enableval=$enable_toolbook;
11730 if test "$enableval" = yes; then
11731 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11732 else
11733 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11734 fi
11735
11736 else
11737
11738 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11739
11740 fi
11741
11742
11743 eval "$wx_cv_use_toolbook"
11744
11745 if test x"$enablestring" = xdisable; then
11746 if test $wxUSE_TOOLBOOK = yes; then
11747 result=no
11748 else
11749 result=yes
11750 fi
11751 else
11752 result=$wxUSE_TOOLBOOK
11753 fi
11754
11755 { echo "$as_me:$LINENO: result: $result" >&5
11756 echo "${ECHO_T}$result" >&6; }
11757
11758
11759 enablestring=
11760 defaultval=$wxUSE_ALL_FEATURES
11761 if test -z "$defaultval"; then
11762 if test x"$enablestring" = xdisable; then
11763 defaultval=yes
11764 else
11765 defaultval=no
11766 fi
11767 fi
11768
11769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11770 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11771 # Check whether --enable-treectrl was given.
11772 if test "${enable_treectrl+set}" = set; then
11773 enableval=$enable_treectrl;
11774 if test "$enableval" = yes; then
11775 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11776 else
11777 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11778 fi
11779
11780 else
11781
11782 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11783
11784 fi
11785
11786
11787 eval "$wx_cv_use_treectrl"
11788
11789 if test x"$enablestring" = xdisable; then
11790 if test $wxUSE_TREECTRL = yes; then
11791 result=no
11792 else
11793 result=yes
11794 fi
11795 else
11796 result=$wxUSE_TREECTRL
11797 fi
11798
11799 { echo "$as_me:$LINENO: result: $result" >&5
11800 echo "${ECHO_T}$result" >&6; }
11801
11802
11803 enablestring=
11804 defaultval=$wxUSE_ALL_FEATURES
11805 if test -z "$defaultval"; then
11806 if test x"$enablestring" = xdisable; then
11807 defaultval=yes
11808 else
11809 defaultval=no
11810 fi
11811 fi
11812
11813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11814 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11815 # Check whether --enable-tipwindow was given.
11816 if test "${enable_tipwindow+set}" = set; then
11817 enableval=$enable_tipwindow;
11818 if test "$enableval" = yes; then
11819 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11820 else
11821 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11822 fi
11823
11824 else
11825
11826 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11827
11828 fi
11829
11830
11831 eval "$wx_cv_use_tipwindow"
11832
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_TIPWINDOW = yes; then
11835 result=no
11836 else
11837 result=yes
11838 fi
11839 else
11840 result=$wxUSE_TIPWINDOW
11841 fi
11842
11843 { echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6; }
11845
11846
11847 enablestring=
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11851 defaultval=yes
11852 else
11853 defaultval=no
11854 fi
11855 fi
11856
11857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11859 # Check whether --enable-popupwin was given.
11860 if test "${enable_popupwin+set}" = set; then
11861 enableval=$enable_popupwin;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11864 else
11865 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11866 fi
11867
11868 else
11869
11870 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11871
11872 fi
11873
11874
11875 eval "$wx_cv_use_popupwin"
11876
11877 if test x"$enablestring" = xdisable; then
11878 if test $wxUSE_POPUPWIN = yes; then
11879 result=no
11880 else
11881 result=yes
11882 fi
11883 else
11884 result=$wxUSE_POPUPWIN
11885 fi
11886
11887 { echo "$as_me:$LINENO: result: $result" >&5
11888 echo "${ECHO_T}$result" >&6; }
11889
11890
11891
11892
11893 enablestring=
11894 defaultval=$wxUSE_ALL_FEATURES
11895 if test -z "$defaultval"; then
11896 if test x"$enablestring" = xdisable; then
11897 defaultval=yes
11898 else
11899 defaultval=no
11900 fi
11901 fi
11902
11903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11904 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11905 # Check whether --enable-commondlg was given.
11906 if test "${enable_commondlg+set}" = set; then
11907 enableval=$enable_commondlg;
11908 if test "$enableval" = yes; then
11909 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11910 else
11911 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11912 fi
11913
11914 else
11915
11916 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11917
11918 fi
11919
11920
11921 eval "$wx_cv_use_commondlg"
11922
11923 if test x"$enablestring" = xdisable; then
11924 if test $wxUSE_COMMONDLGS = yes; then
11925 result=no
11926 else
11927 result=yes
11928 fi
11929 else
11930 result=$wxUSE_COMMONDLGS
11931 fi
11932
11933 { echo "$as_me:$LINENO: result: $result" >&5
11934 echo "${ECHO_T}$result" >&6; }
11935
11936
11937 enablestring=
11938 defaultval=$wxUSE_ALL_FEATURES
11939 if test -z "$defaultval"; then
11940 if test x"$enablestring" = xdisable; then
11941 defaultval=yes
11942 else
11943 defaultval=no
11944 fi
11945 fi
11946
11947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11948 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11949 # Check whether --enable-aboutdlg was given.
11950 if test "${enable_aboutdlg+set}" = set; then
11951 enableval=$enable_aboutdlg;
11952 if test "$enableval" = yes; then
11953 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11954 else
11955 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11956 fi
11957
11958 else
11959
11960 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11961
11962 fi
11963
11964
11965 eval "$wx_cv_use_aboutdlg"
11966
11967 if test x"$enablestring" = xdisable; then
11968 if test $wxUSE_ABOUTDLG = yes; then
11969 result=no
11970 else
11971 result=yes
11972 fi
11973 else
11974 result=$wxUSE_ABOUTDLG
11975 fi
11976
11977 { echo "$as_me:$LINENO: result: $result" >&5
11978 echo "${ECHO_T}$result" >&6; }
11979
11980
11981 enablestring=
11982 defaultval=$wxUSE_ALL_FEATURES
11983 if test -z "$defaultval"; then
11984 if test x"$enablestring" = xdisable; then
11985 defaultval=yes
11986 else
11987 defaultval=no
11988 fi
11989 fi
11990
11991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11992 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11993 # Check whether --enable-choicedlg was given.
11994 if test "${enable_choicedlg+set}" = set; then
11995 enableval=$enable_choicedlg;
11996 if test "$enableval" = yes; then
11997 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11998 else
11999 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12000 fi
12001
12002 else
12003
12004 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12005
12006 fi
12007
12008
12009 eval "$wx_cv_use_choicedlg"
12010
12011 if test x"$enablestring" = xdisable; then
12012 if test $wxUSE_CHOICEDLG = yes; then
12013 result=no
12014 else
12015 result=yes
12016 fi
12017 else
12018 result=$wxUSE_CHOICEDLG
12019 fi
12020
12021 { echo "$as_me:$LINENO: result: $result" >&5
12022 echo "${ECHO_T}$result" >&6; }
12023
12024
12025 enablestring=
12026 defaultval=$wxUSE_ALL_FEATURES
12027 if test -z "$defaultval"; then
12028 if test x"$enablestring" = xdisable; then
12029 defaultval=yes
12030 else
12031 defaultval=no
12032 fi
12033 fi
12034
12035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12036 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12037 # Check whether --enable-coldlg was given.
12038 if test "${enable_coldlg+set}" = set; then
12039 enableval=$enable_coldlg;
12040 if test "$enableval" = yes; then
12041 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12042 else
12043 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12044 fi
12045
12046 else
12047
12048 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12049
12050 fi
12051
12052
12053 eval "$wx_cv_use_coldlg"
12054
12055 if test x"$enablestring" = xdisable; then
12056 if test $wxUSE_COLOURDLG = yes; then
12057 result=no
12058 else
12059 result=yes
12060 fi
12061 else
12062 result=$wxUSE_COLOURDLG
12063 fi
12064
12065 { echo "$as_me:$LINENO: result: $result" >&5
12066 echo "${ECHO_T}$result" >&6; }
12067
12068
12069 enablestring=
12070 defaultval=$wxUSE_ALL_FEATURES
12071 if test -z "$defaultval"; then
12072 if test x"$enablestring" = xdisable; then
12073 defaultval=yes
12074 else
12075 defaultval=no
12076 fi
12077 fi
12078
12079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12080 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12081 # Check whether --enable-filedlg was given.
12082 if test "${enable_filedlg+set}" = set; then
12083 enableval=$enable_filedlg;
12084 if test "$enableval" = yes; then
12085 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12086 else
12087 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12088 fi
12089
12090 else
12091
12092 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12093
12094 fi
12095
12096
12097 eval "$wx_cv_use_filedlg"
12098
12099 if test x"$enablestring" = xdisable; then
12100 if test $wxUSE_FILEDLG = yes; then
12101 result=no
12102 else
12103 result=yes
12104 fi
12105 else
12106 result=$wxUSE_FILEDLG
12107 fi
12108
12109 { echo "$as_me:$LINENO: result: $result" >&5
12110 echo "${ECHO_T}$result" >&6; }
12111
12112
12113 enablestring=
12114 defaultval=$wxUSE_ALL_FEATURES
12115 if test -z "$defaultval"; then
12116 if test x"$enablestring" = xdisable; then
12117 defaultval=yes
12118 else
12119 defaultval=no
12120 fi
12121 fi
12122
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12125 # Check whether --enable-finddlg was given.
12126 if test "${enable_finddlg+set}" = set; then
12127 enableval=$enable_finddlg;
12128 if test "$enableval" = yes; then
12129 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12130 else
12131 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12132 fi
12133
12134 else
12135
12136 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12137
12138 fi
12139
12140
12141 eval "$wx_cv_use_finddlg"
12142
12143 if test x"$enablestring" = xdisable; then
12144 if test $wxUSE_FINDREPLDLG = yes; then
12145 result=no
12146 else
12147 result=yes
12148 fi
12149 else
12150 result=$wxUSE_FINDREPLDLG
12151 fi
12152
12153 { echo "$as_me:$LINENO: result: $result" >&5
12154 echo "${ECHO_T}$result" >&6; }
12155
12156
12157 enablestring=
12158 defaultval=$wxUSE_ALL_FEATURES
12159 if test -z "$defaultval"; then
12160 if test x"$enablestring" = xdisable; then
12161 defaultval=yes
12162 else
12163 defaultval=no
12164 fi
12165 fi
12166
12167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12168 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12169 # Check whether --enable-fontdlg was given.
12170 if test "${enable_fontdlg+set}" = set; then
12171 enableval=$enable_fontdlg;
12172 if test "$enableval" = yes; then
12173 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12174 else
12175 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12176 fi
12177
12178 else
12179
12180 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12181
12182 fi
12183
12184
12185 eval "$wx_cv_use_fontdlg"
12186
12187 if test x"$enablestring" = xdisable; then
12188 if test $wxUSE_FONTDLG = yes; then
12189 result=no
12190 else
12191 result=yes
12192 fi
12193 else
12194 result=$wxUSE_FONTDLG
12195 fi
12196
12197 { echo "$as_me:$LINENO: result: $result" >&5
12198 echo "${ECHO_T}$result" >&6; }
12199
12200
12201 enablestring=
12202 defaultval=$wxUSE_ALL_FEATURES
12203 if test -z "$defaultval"; then
12204 if test x"$enablestring" = xdisable; then
12205 defaultval=yes
12206 else
12207 defaultval=no
12208 fi
12209 fi
12210
12211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12212 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12213 # Check whether --enable-dirdlg was given.
12214 if test "${enable_dirdlg+set}" = set; then
12215 enableval=$enable_dirdlg;
12216 if test "$enableval" = yes; then
12217 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12218 else
12219 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12220 fi
12221
12222 else
12223
12224 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12225
12226 fi
12227
12228
12229 eval "$wx_cv_use_dirdlg"
12230
12231 if test x"$enablestring" = xdisable; then
12232 if test $wxUSE_DIRDLG = yes; then
12233 result=no
12234 else
12235 result=yes
12236 fi
12237 else
12238 result=$wxUSE_DIRDLG
12239 fi
12240
12241 { echo "$as_me:$LINENO: result: $result" >&5
12242 echo "${ECHO_T}$result" >&6; }
12243
12244
12245 enablestring=
12246 defaultval=$wxUSE_ALL_FEATURES
12247 if test -z "$defaultval"; then
12248 if test x"$enablestring" = xdisable; then
12249 defaultval=yes
12250 else
12251 defaultval=no
12252 fi
12253 fi
12254
12255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12256 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12257 # Check whether --enable-msgdlg was given.
12258 if test "${enable_msgdlg+set}" = set; then
12259 enableval=$enable_msgdlg;
12260 if test "$enableval" = yes; then
12261 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12262 else
12263 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12264 fi
12265
12266 else
12267
12268 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12269
12270 fi
12271
12272
12273 eval "$wx_cv_use_msgdlg"
12274
12275 if test x"$enablestring" = xdisable; then
12276 if test $wxUSE_MSGDLG = yes; then
12277 result=no
12278 else
12279 result=yes
12280 fi
12281 else
12282 result=$wxUSE_MSGDLG
12283 fi
12284
12285 { echo "$as_me:$LINENO: result: $result" >&5
12286 echo "${ECHO_T}$result" >&6; }
12287
12288
12289 enablestring=
12290 defaultval=$wxUSE_ALL_FEATURES
12291 if test -z "$defaultval"; then
12292 if test x"$enablestring" = xdisable; then
12293 defaultval=yes
12294 else
12295 defaultval=no
12296 fi
12297 fi
12298
12299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12300 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12301 # Check whether --enable-numberdlg was given.
12302 if test "${enable_numberdlg+set}" = set; then
12303 enableval=$enable_numberdlg;
12304 if test "$enableval" = yes; then
12305 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12306 else
12307 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12308 fi
12309
12310 else
12311
12312 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12313
12314 fi
12315
12316
12317 eval "$wx_cv_use_numberdlg"
12318
12319 if test x"$enablestring" = xdisable; then
12320 if test $wxUSE_NUMBERDLG = yes; then
12321 result=no
12322 else
12323 result=yes
12324 fi
12325 else
12326 result=$wxUSE_NUMBERDLG
12327 fi
12328
12329 { echo "$as_me:$LINENO: result: $result" >&5
12330 echo "${ECHO_T}$result" >&6; }
12331
12332
12333 enablestring=
12334 defaultval=$wxUSE_ALL_FEATURES
12335 if test -z "$defaultval"; then
12336 if test x"$enablestring" = xdisable; then
12337 defaultval=yes
12338 else
12339 defaultval=no
12340 fi
12341 fi
12342
12343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12344 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12345 # Check whether --enable-splash was given.
12346 if test "${enable_splash+set}" = set; then
12347 enableval=$enable_splash;
12348 if test "$enableval" = yes; then
12349 wx_cv_use_splash='wxUSE_SPLASH=yes'
12350 else
12351 wx_cv_use_splash='wxUSE_SPLASH=no'
12352 fi
12353
12354 else
12355
12356 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12357
12358 fi
12359
12360
12361 eval "$wx_cv_use_splash"
12362
12363 if test x"$enablestring" = xdisable; then
12364 if test $wxUSE_SPLASH = yes; then
12365 result=no
12366 else
12367 result=yes
12368 fi
12369 else
12370 result=$wxUSE_SPLASH
12371 fi
12372
12373 { echo "$as_me:$LINENO: result: $result" >&5
12374 echo "${ECHO_T}$result" >&6; }
12375
12376
12377 enablestring=
12378 defaultval=$wxUSE_ALL_FEATURES
12379 if test -z "$defaultval"; then
12380 if test x"$enablestring" = xdisable; then
12381 defaultval=yes
12382 else
12383 defaultval=no
12384 fi
12385 fi
12386
12387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12388 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12389 # Check whether --enable-textdlg was given.
12390 if test "${enable_textdlg+set}" = set; then
12391 enableval=$enable_textdlg;
12392 if test "$enableval" = yes; then
12393 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12394 else
12395 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12396 fi
12397
12398 else
12399
12400 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12401
12402 fi
12403
12404
12405 eval "$wx_cv_use_textdlg"
12406
12407 if test x"$enablestring" = xdisable; then
12408 if test $wxUSE_TEXTDLG = yes; then
12409 result=no
12410 else
12411 result=yes
12412 fi
12413 else
12414 result=$wxUSE_TEXTDLG
12415 fi
12416
12417 { echo "$as_me:$LINENO: result: $result" >&5
12418 echo "${ECHO_T}$result" >&6; }
12419
12420
12421 enablestring=
12422 defaultval=$wxUSE_ALL_FEATURES
12423 if test -z "$defaultval"; then
12424 if test x"$enablestring" = xdisable; then
12425 defaultval=yes
12426 else
12427 defaultval=no
12428 fi
12429 fi
12430
12431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12432 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12433 # Check whether --enable-tipdlg was given.
12434 if test "${enable_tipdlg+set}" = set; then
12435 enableval=$enable_tipdlg;
12436 if test "$enableval" = yes; then
12437 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12438 else
12439 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12440 fi
12441
12442 else
12443
12444 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12445
12446 fi
12447
12448
12449 eval "$wx_cv_use_tipdlg"
12450
12451 if test x"$enablestring" = xdisable; then
12452 if test $wxUSE_STARTUP_TIPS = yes; then
12453 result=no
12454 else
12455 result=yes
12456 fi
12457 else
12458 result=$wxUSE_STARTUP_TIPS
12459 fi
12460
12461 { echo "$as_me:$LINENO: result: $result" >&5
12462 echo "${ECHO_T}$result" >&6; }
12463
12464
12465 enablestring=
12466 defaultval=$wxUSE_ALL_FEATURES
12467 if test -z "$defaultval"; then
12468 if test x"$enablestring" = xdisable; then
12469 defaultval=yes
12470 else
12471 defaultval=no
12472 fi
12473 fi
12474
12475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12476 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12477 # Check whether --enable-progressdlg was given.
12478 if test "${enable_progressdlg+set}" = set; then
12479 enableval=$enable_progressdlg;
12480 if test "$enableval" = yes; then
12481 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12482 else
12483 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12484 fi
12485
12486 else
12487
12488 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12489
12490 fi
12491
12492
12493 eval "$wx_cv_use_progressdlg"
12494
12495 if test x"$enablestring" = xdisable; then
12496 if test $wxUSE_PROGRESSDLG = yes; then
12497 result=no
12498 else
12499 result=yes
12500 fi
12501 else
12502 result=$wxUSE_PROGRESSDLG
12503 fi
12504
12505 { echo "$as_me:$LINENO: result: $result" >&5
12506 echo "${ECHO_T}$result" >&6; }
12507
12508
12509 enablestring=
12510 defaultval=$wxUSE_ALL_FEATURES
12511 if test -z "$defaultval"; then
12512 if test x"$enablestring" = xdisable; then
12513 defaultval=yes
12514 else
12515 defaultval=no
12516 fi
12517 fi
12518
12519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12520 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12521 # Check whether --enable-wizarddlg was given.
12522 if test "${enable_wizarddlg+set}" = set; then
12523 enableval=$enable_wizarddlg;
12524 if test "$enableval" = yes; then
12525 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12526 else
12527 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12528 fi
12529
12530 else
12531
12532 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12533
12534 fi
12535
12536
12537 eval "$wx_cv_use_wizarddlg"
12538
12539 if test x"$enablestring" = xdisable; then
12540 if test $wxUSE_WIZARDDLG = yes; then
12541 result=no
12542 else
12543 result=yes
12544 fi
12545 else
12546 result=$wxUSE_WIZARDDLG
12547 fi
12548
12549 { echo "$as_me:$LINENO: result: $result" >&5
12550 echo "${ECHO_T}$result" >&6; }
12551
12552
12553
12554
12555 enablestring=
12556 defaultval=$wxUSE_ALL_FEATURES
12557 if test -z "$defaultval"; then
12558 if test x"$enablestring" = xdisable; then
12559 defaultval=yes
12560 else
12561 defaultval=no
12562 fi
12563 fi
12564
12565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12566 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12567 # Check whether --enable-menus was given.
12568 if test "${enable_menus+set}" = set; then
12569 enableval=$enable_menus;
12570 if test "$enableval" = yes; then
12571 wx_cv_use_menus='wxUSE_MENUS=yes'
12572 else
12573 wx_cv_use_menus='wxUSE_MENUS=no'
12574 fi
12575
12576 else
12577
12578 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12579
12580 fi
12581
12582
12583 eval "$wx_cv_use_menus"
12584
12585 if test x"$enablestring" = xdisable; then
12586 if test $wxUSE_MENUS = yes; then
12587 result=no
12588 else
12589 result=yes
12590 fi
12591 else
12592 result=$wxUSE_MENUS
12593 fi
12594
12595 { echo "$as_me:$LINENO: result: $result" >&5
12596 echo "${ECHO_T}$result" >&6; }
12597
12598
12599 enablestring=
12600 defaultval=$wxUSE_ALL_FEATURES
12601 if test -z "$defaultval"; then
12602 if test x"$enablestring" = xdisable; then
12603 defaultval=yes
12604 else
12605 defaultval=no
12606 fi
12607 fi
12608
12609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12610 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12611 # Check whether --enable-miniframe was given.
12612 if test "${enable_miniframe+set}" = set; then
12613 enableval=$enable_miniframe;
12614 if test "$enableval" = yes; then
12615 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12616 else
12617 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12618 fi
12619
12620 else
12621
12622 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12623
12624 fi
12625
12626
12627 eval "$wx_cv_use_miniframe"
12628
12629 if test x"$enablestring" = xdisable; then
12630 if test $wxUSE_MINIFRAME = yes; then
12631 result=no
12632 else
12633 result=yes
12634 fi
12635 else
12636 result=$wxUSE_MINIFRAME
12637 fi
12638
12639 { echo "$as_me:$LINENO: result: $result" >&5
12640 echo "${ECHO_T}$result" >&6; }
12641
12642
12643 enablestring=
12644 defaultval=$wxUSE_ALL_FEATURES
12645 if test -z "$defaultval"; then
12646 if test x"$enablestring" = xdisable; then
12647 defaultval=yes
12648 else
12649 defaultval=no
12650 fi
12651 fi
12652
12653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12654 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12655 # Check whether --enable-tooltips was given.
12656 if test "${enable_tooltips+set}" = set; then
12657 enableval=$enable_tooltips;
12658 if test "$enableval" = yes; then
12659 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12660 else
12661 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12662 fi
12663
12664 else
12665
12666 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12667
12668 fi
12669
12670
12671 eval "$wx_cv_use_tooltips"
12672
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_TOOLTIPS = yes; then
12675 result=no
12676 else
12677 result=yes
12678 fi
12679 else
12680 result=$wxUSE_TOOLTIPS
12681 fi
12682
12683 { echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12685
12686
12687 enablestring=
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12691 defaultval=yes
12692 else
12693 defaultval=no
12694 fi
12695 fi
12696
12697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12699 # Check whether --enable-splines was given.
12700 if test "${enable_splines+set}" = set; then
12701 enableval=$enable_splines;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_splines='wxUSE_SPLINES=yes'
12704 else
12705 wx_cv_use_splines='wxUSE_SPLINES=no'
12706 fi
12707
12708 else
12709
12710 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12711
12712 fi
12713
12714
12715 eval "$wx_cv_use_splines"
12716
12717 if test x"$enablestring" = xdisable; then
12718 if test $wxUSE_SPLINES = yes; then
12719 result=no
12720 else
12721 result=yes
12722 fi
12723 else
12724 result=$wxUSE_SPLINES
12725 fi
12726
12727 { echo "$as_me:$LINENO: result: $result" >&5
12728 echo "${ECHO_T}$result" >&6; }
12729
12730
12731 enablestring=
12732 defaultval=$wxUSE_ALL_FEATURES
12733 if test -z "$defaultval"; then
12734 if test x"$enablestring" = xdisable; then
12735 defaultval=yes
12736 else
12737 defaultval=no
12738 fi
12739 fi
12740
12741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12742 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12743 # Check whether --enable-mousewheel was given.
12744 if test "${enable_mousewheel+set}" = set; then
12745 enableval=$enable_mousewheel;
12746 if test "$enableval" = yes; then
12747 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12748 else
12749 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12750 fi
12751
12752 else
12753
12754 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12755
12756 fi
12757
12758
12759 eval "$wx_cv_use_mousewheel"
12760
12761 if test x"$enablestring" = xdisable; then
12762 if test $wxUSE_MOUSEWHEEL = yes; then
12763 result=no
12764 else
12765 result=yes
12766 fi
12767 else
12768 result=$wxUSE_MOUSEWHEEL
12769 fi
12770
12771 { echo "$as_me:$LINENO: result: $result" >&5
12772 echo "${ECHO_T}$result" >&6; }
12773
12774
12775 enablestring=
12776 defaultval=$wxUSE_ALL_FEATURES
12777 if test -z "$defaultval"; then
12778 if test x"$enablestring" = xdisable; then
12779 defaultval=yes
12780 else
12781 defaultval=no
12782 fi
12783 fi
12784
12785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12786 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12787 # Check whether --enable-validators was given.
12788 if test "${enable_validators+set}" = set; then
12789 enableval=$enable_validators;
12790 if test "$enableval" = yes; then
12791 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12792 else
12793 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12794 fi
12795
12796 else
12797
12798 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12799
12800 fi
12801
12802
12803 eval "$wx_cv_use_validators"
12804
12805 if test x"$enablestring" = xdisable; then
12806 if test $wxUSE_VALIDATORS = yes; then
12807 result=no
12808 else
12809 result=yes
12810 fi
12811 else
12812 result=$wxUSE_VALIDATORS
12813 fi
12814
12815 { echo "$as_me:$LINENO: result: $result" >&5
12816 echo "${ECHO_T}$result" >&6; }
12817
12818
12819 enablestring=
12820 defaultval=$wxUSE_ALL_FEATURES
12821 if test -z "$defaultval"; then
12822 if test x"$enablestring" = xdisable; then
12823 defaultval=yes
12824 else
12825 defaultval=no
12826 fi
12827 fi
12828
12829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12830 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12831 # Check whether --enable-busyinfo was given.
12832 if test "${enable_busyinfo+set}" = set; then
12833 enableval=$enable_busyinfo;
12834 if test "$enableval" = yes; then
12835 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12836 else
12837 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12838 fi
12839
12840 else
12841
12842 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12843
12844 fi
12845
12846
12847 eval "$wx_cv_use_busyinfo"
12848
12849 if test x"$enablestring" = xdisable; then
12850 if test $wxUSE_BUSYINFO = yes; then
12851 result=no
12852 else
12853 result=yes
12854 fi
12855 else
12856 result=$wxUSE_BUSYINFO
12857 fi
12858
12859 { echo "$as_me:$LINENO: result: $result" >&5
12860 echo "${ECHO_T}$result" >&6; }
12861
12862
12863 enablestring=
12864 defaultval=$wxUSE_ALL_FEATURES
12865 if test -z "$defaultval"; then
12866 if test x"$enablestring" = xdisable; then
12867 defaultval=yes
12868 else
12869 defaultval=no
12870 fi
12871 fi
12872
12873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12874 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12875 # Check whether --enable-joystick was given.
12876 if test "${enable_joystick+set}" = set; then
12877 enableval=$enable_joystick;
12878 if test "$enableval" = yes; then
12879 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12880 else
12881 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12882 fi
12883
12884 else
12885
12886 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12887
12888 fi
12889
12890
12891 eval "$wx_cv_use_joystick"
12892
12893 if test x"$enablestring" = xdisable; then
12894 if test $wxUSE_JOYSTICK = yes; then
12895 result=no
12896 else
12897 result=yes
12898 fi
12899 else
12900 result=$wxUSE_JOYSTICK
12901 fi
12902
12903 { echo "$as_me:$LINENO: result: $result" >&5
12904 echo "${ECHO_T}$result" >&6; }
12905
12906
12907 enablestring=
12908 defaultval=$wxUSE_ALL_FEATURES
12909 if test -z "$defaultval"; then
12910 if test x"$enablestring" = xdisable; then
12911 defaultval=yes
12912 else
12913 defaultval=no
12914 fi
12915 fi
12916
12917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12918 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12919 # Check whether --enable-metafile was given.
12920 if test "${enable_metafile+set}" = set; then
12921 enableval=$enable_metafile;
12922 if test "$enableval" = yes; then
12923 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12924 else
12925 wx_cv_use_metafile='wxUSE_METAFILE=no'
12926 fi
12927
12928 else
12929
12930 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12931
12932 fi
12933
12934
12935 eval "$wx_cv_use_metafile"
12936
12937 if test x"$enablestring" = xdisable; then
12938 if test $wxUSE_METAFILE = yes; then
12939 result=no
12940 else
12941 result=yes
12942 fi
12943 else
12944 result=$wxUSE_METAFILE
12945 fi
12946
12947 { echo "$as_me:$LINENO: result: $result" >&5
12948 echo "${ECHO_T}$result" >&6; }
12949
12950
12951 enablestring=
12952 defaultval=$wxUSE_ALL_FEATURES
12953 if test -z "$defaultval"; then
12954 if test x"$enablestring" = xdisable; then
12955 defaultval=yes
12956 else
12957 defaultval=no
12958 fi
12959 fi
12960
12961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12962 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12963 # Check whether --enable-dragimage was given.
12964 if test "${enable_dragimage+set}" = set; then
12965 enableval=$enable_dragimage;
12966 if test "$enableval" = yes; then
12967 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12968 else
12969 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12970 fi
12971
12972 else
12973
12974 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12975
12976 fi
12977
12978
12979 eval "$wx_cv_use_dragimage"
12980
12981 if test x"$enablestring" = xdisable; then
12982 if test $wxUSE_DRAGIMAGE = yes; then
12983 result=no
12984 else
12985 result=yes
12986 fi
12987 else
12988 result=$wxUSE_DRAGIMAGE
12989 fi
12990
12991 { echo "$as_me:$LINENO: result: $result" >&5
12992 echo "${ECHO_T}$result" >&6; }
12993
12994
12995 enablestring=
12996 defaultval=$wxUSE_ALL_FEATURES
12997 if test -z "$defaultval"; then
12998 if test x"$enablestring" = xdisable; then
12999 defaultval=yes
13000 else
13001 defaultval=no
13002 fi
13003 fi
13004
13005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13006 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13007 # Check whether --enable-accessibility was given.
13008 if test "${enable_accessibility+set}" = set; then
13009 enableval=$enable_accessibility;
13010 if test "$enableval" = yes; then
13011 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13012 else
13013 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13014 fi
13015
13016 else
13017
13018 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13019
13020 fi
13021
13022
13023 eval "$wx_cv_use_accessibility"
13024
13025 if test x"$enablestring" = xdisable; then
13026 if test $wxUSE_ACCESSIBILITY = yes; then
13027 result=no
13028 else
13029 result=yes
13030 fi
13031 else
13032 result=$wxUSE_ACCESSIBILITY
13033 fi
13034
13035 { echo "$as_me:$LINENO: result: $result" >&5
13036 echo "${ECHO_T}$result" >&6; }
13037
13038
13039
13040
13041 enablestring=
13042 defaultval=$wxUSE_ALL_FEATURES
13043 if test -z "$defaultval"; then
13044 if test x"$enablestring" = xdisable; then
13045 defaultval=yes
13046 else
13047 defaultval=no
13048 fi
13049 fi
13050
13051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13052 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13053 # Check whether --enable-palette was given.
13054 if test "${enable_palette+set}" = set; then
13055 enableval=$enable_palette;
13056 if test "$enableval" = yes; then
13057 wx_cv_use_palette='wxUSE_PALETTE=yes'
13058 else
13059 wx_cv_use_palette='wxUSE_PALETTE=no'
13060 fi
13061
13062 else
13063
13064 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13065
13066 fi
13067
13068
13069 eval "$wx_cv_use_palette"
13070
13071 if test x"$enablestring" = xdisable; then
13072 if test $wxUSE_PALETTE = yes; then
13073 result=no
13074 else
13075 result=yes
13076 fi
13077 else
13078 result=$wxUSE_PALETTE
13079 fi
13080
13081 { echo "$as_me:$LINENO: result: $result" >&5
13082 echo "${ECHO_T}$result" >&6; }
13083
13084
13085 enablestring=
13086 defaultval=$wxUSE_ALL_FEATURES
13087 if test -z "$defaultval"; then
13088 if test x"$enablestring" = xdisable; then
13089 defaultval=yes
13090 else
13091 defaultval=no
13092 fi
13093 fi
13094
13095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13096 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13097 # Check whether --enable-image was given.
13098 if test "${enable_image+set}" = set; then
13099 enableval=$enable_image;
13100 if test "$enableval" = yes; then
13101 wx_cv_use_image='wxUSE_IMAGE=yes'
13102 else
13103 wx_cv_use_image='wxUSE_IMAGE=no'
13104 fi
13105
13106 else
13107
13108 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13109
13110 fi
13111
13112
13113 eval "$wx_cv_use_image"
13114
13115 if test x"$enablestring" = xdisable; then
13116 if test $wxUSE_IMAGE = yes; then
13117 result=no
13118 else
13119 result=yes
13120 fi
13121 else
13122 result=$wxUSE_IMAGE
13123 fi
13124
13125 { echo "$as_me:$LINENO: result: $result" >&5
13126 echo "${ECHO_T}$result" >&6; }
13127
13128
13129 enablestring=
13130 defaultval=$wxUSE_ALL_FEATURES
13131 if test -z "$defaultval"; then
13132 if test x"$enablestring" = xdisable; then
13133 defaultval=yes
13134 else
13135 defaultval=no
13136 fi
13137 fi
13138
13139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13140 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13141 # Check whether --enable-gif was given.
13142 if test "${enable_gif+set}" = set; then
13143 enableval=$enable_gif;
13144 if test "$enableval" = yes; then
13145 wx_cv_use_gif='wxUSE_GIF=yes'
13146 else
13147 wx_cv_use_gif='wxUSE_GIF=no'
13148 fi
13149
13150 else
13151
13152 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13153
13154 fi
13155
13156
13157 eval "$wx_cv_use_gif"
13158
13159 if test x"$enablestring" = xdisable; then
13160 if test $wxUSE_GIF = yes; then
13161 result=no
13162 else
13163 result=yes
13164 fi
13165 else
13166 result=$wxUSE_GIF
13167 fi
13168
13169 { echo "$as_me:$LINENO: result: $result" >&5
13170 echo "${ECHO_T}$result" >&6; }
13171
13172
13173 enablestring=
13174 defaultval=$wxUSE_ALL_FEATURES
13175 if test -z "$defaultval"; then
13176 if test x"$enablestring" = xdisable; then
13177 defaultval=yes
13178 else
13179 defaultval=no
13180 fi
13181 fi
13182
13183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13184 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13185 # Check whether --enable-pcx was given.
13186 if test "${enable_pcx+set}" = set; then
13187 enableval=$enable_pcx;
13188 if test "$enableval" = yes; then
13189 wx_cv_use_pcx='wxUSE_PCX=yes'
13190 else
13191 wx_cv_use_pcx='wxUSE_PCX=no'
13192 fi
13193
13194 else
13195
13196 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13197
13198 fi
13199
13200
13201 eval "$wx_cv_use_pcx"
13202
13203 if test x"$enablestring" = xdisable; then
13204 if test $wxUSE_PCX = yes; then
13205 result=no
13206 else
13207 result=yes
13208 fi
13209 else
13210 result=$wxUSE_PCX
13211 fi
13212
13213 { echo "$as_me:$LINENO: result: $result" >&5
13214 echo "${ECHO_T}$result" >&6; }
13215
13216
13217 enablestring=
13218 defaultval=$wxUSE_ALL_FEATURES
13219 if test -z "$defaultval"; then
13220 if test x"$enablestring" = xdisable; then
13221 defaultval=yes
13222 else
13223 defaultval=no
13224 fi
13225 fi
13226
13227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13228 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13229 # Check whether --enable-tga was given.
13230 if test "${enable_tga+set}" = set; then
13231 enableval=$enable_tga;
13232 if test "$enableval" = yes; then
13233 wx_cv_use_tga='wxUSE_TGA=yes'
13234 else
13235 wx_cv_use_tga='wxUSE_TGA=no'
13236 fi
13237
13238 else
13239
13240 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13241
13242 fi
13243
13244
13245 eval "$wx_cv_use_tga"
13246
13247 if test x"$enablestring" = xdisable; then
13248 if test $wxUSE_TGA = yes; then
13249 result=no
13250 else
13251 result=yes
13252 fi
13253 else
13254 result=$wxUSE_TGA
13255 fi
13256
13257 { echo "$as_me:$LINENO: result: $result" >&5
13258 echo "${ECHO_T}$result" >&6; }
13259
13260
13261 enablestring=
13262 defaultval=$wxUSE_ALL_FEATURES
13263 if test -z "$defaultval"; then
13264 if test x"$enablestring" = xdisable; then
13265 defaultval=yes
13266 else
13267 defaultval=no
13268 fi
13269 fi
13270
13271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13272 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13273 # Check whether --enable-iff was given.
13274 if test "${enable_iff+set}" = set; then
13275 enableval=$enable_iff;
13276 if test "$enableval" = yes; then
13277 wx_cv_use_iff='wxUSE_IFF=yes'
13278 else
13279 wx_cv_use_iff='wxUSE_IFF=no'
13280 fi
13281
13282 else
13283
13284 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13285
13286 fi
13287
13288
13289 eval "$wx_cv_use_iff"
13290
13291 if test x"$enablestring" = xdisable; then
13292 if test $wxUSE_IFF = yes; then
13293 result=no
13294 else
13295 result=yes
13296 fi
13297 else
13298 result=$wxUSE_IFF
13299 fi
13300
13301 { echo "$as_me:$LINENO: result: $result" >&5
13302 echo "${ECHO_T}$result" >&6; }
13303
13304
13305 enablestring=
13306 defaultval=$wxUSE_ALL_FEATURES
13307 if test -z "$defaultval"; then
13308 if test x"$enablestring" = xdisable; then
13309 defaultval=yes
13310 else
13311 defaultval=no
13312 fi
13313 fi
13314
13315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13316 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13317 # Check whether --enable-pnm was given.
13318 if test "${enable_pnm+set}" = set; then
13319 enableval=$enable_pnm;
13320 if test "$enableval" = yes; then
13321 wx_cv_use_pnm='wxUSE_PNM=yes'
13322 else
13323 wx_cv_use_pnm='wxUSE_PNM=no'
13324 fi
13325
13326 else
13327
13328 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13329
13330 fi
13331
13332
13333 eval "$wx_cv_use_pnm"
13334
13335 if test x"$enablestring" = xdisable; then
13336 if test $wxUSE_PNM = yes; then
13337 result=no
13338 else
13339 result=yes
13340 fi
13341 else
13342 result=$wxUSE_PNM
13343 fi
13344
13345 { echo "$as_me:$LINENO: result: $result" >&5
13346 echo "${ECHO_T}$result" >&6; }
13347
13348
13349 enablestring=
13350 defaultval=$wxUSE_ALL_FEATURES
13351 if test -z "$defaultval"; then
13352 if test x"$enablestring" = xdisable; then
13353 defaultval=yes
13354 else
13355 defaultval=no
13356 fi
13357 fi
13358
13359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13360 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13361 # Check whether --enable-xpm was given.
13362 if test "${enable_xpm+set}" = set; then
13363 enableval=$enable_xpm;
13364 if test "$enableval" = yes; then
13365 wx_cv_use_xpm='wxUSE_XPM=yes'
13366 else
13367 wx_cv_use_xpm='wxUSE_XPM=no'
13368 fi
13369
13370 else
13371
13372 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13373
13374 fi
13375
13376
13377 eval "$wx_cv_use_xpm"
13378
13379 if test x"$enablestring" = xdisable; then
13380 if test $wxUSE_XPM = yes; then
13381 result=no
13382 else
13383 result=yes
13384 fi
13385 else
13386 result=$wxUSE_XPM
13387 fi
13388
13389 { echo "$as_me:$LINENO: result: $result" >&5
13390 echo "${ECHO_T}$result" >&6; }
13391
13392
13393 enablestring=
13394 defaultval=$wxUSE_ALL_FEATURES
13395 if test -z "$defaultval"; then
13396 if test x"$enablestring" = xdisable; then
13397 defaultval=yes
13398 else
13399 defaultval=no
13400 fi
13401 fi
13402
13403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13404 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13405 # Check whether --enable-ico_cur was given.
13406 if test "${enable_ico_cur+set}" = set; then
13407 enableval=$enable_ico_cur;
13408 if test "$enableval" = yes; then
13409 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13410 else
13411 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13412 fi
13413
13414 else
13415
13416 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13417
13418 fi
13419
13420
13421 eval "$wx_cv_use_ico_cur"
13422
13423 if test x"$enablestring" = xdisable; then
13424 if test $wxUSE_ICO_CUR = yes; then
13425 result=no
13426 else
13427 result=yes
13428 fi
13429 else
13430 result=$wxUSE_ICO_CUR
13431 fi
13432
13433 { echo "$as_me:$LINENO: result: $result" >&5
13434 echo "${ECHO_T}$result" >&6; }
13435
13436
13437
13438
13439 enablestring=
13440 defaultval=$wxUSE_ALL_FEATURES
13441 if test -z "$defaultval"; then
13442 if test x"$enablestring" = xdisable; then
13443 defaultval=yes
13444 else
13445 defaultval=no
13446 fi
13447 fi
13448
13449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13450 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13451 # Check whether --enable-dccache was given.
13452 if test "${enable_dccache+set}" = set; then
13453 enableval=$enable_dccache;
13454 if test "$enableval" = yes; then
13455 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13456 else
13457 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13458 fi
13459
13460 else
13461
13462 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13463
13464 fi
13465
13466
13467 eval "$wx_cv_use_dccache"
13468
13469 if test x"$enablestring" = xdisable; then
13470 if test $wxUSE_DC_CACHEING = yes; then
13471 result=no
13472 else
13473 result=yes
13474 fi
13475 else
13476 result=$wxUSE_DC_CACHEING
13477 fi
13478
13479 { echo "$as_me:$LINENO: result: $result" >&5
13480 echo "${ECHO_T}$result" >&6; }
13481
13482
13483 enablestring=
13484 defaultval=$wxUSE_ALL_FEATURES
13485 if test -z "$defaultval"; then
13486 if test x"$enablestring" = xdisable; then
13487 defaultval=yes
13488 else
13489 defaultval=no
13490 fi
13491 fi
13492
13493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13494 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13495 # Check whether --enable-ps-in-msw was given.
13496 if test "${enable_ps_in_msw+set}" = set; then
13497 enableval=$enable_ps_in_msw;
13498 if test "$enableval" = yes; then
13499 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13500 else
13501 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13502 fi
13503
13504 else
13505
13506 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13507
13508 fi
13509
13510
13511 eval "$wx_cv_use_ps_in_msw"
13512
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13515 result=no
13516 else
13517 result=yes
13518 fi
13519 else
13520 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13521 fi
13522
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13525
13526
13527 enablestring=
13528 defaultval=$wxUSE_ALL_FEATURES
13529 if test -z "$defaultval"; then
13530 if test x"$enablestring" = xdisable; then
13531 defaultval=yes
13532 else
13533 defaultval=no
13534 fi
13535 fi
13536
13537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13538 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13539 # Check whether --enable-ownerdrawn was given.
13540 if test "${enable_ownerdrawn+set}" = set; then
13541 enableval=$enable_ownerdrawn;
13542 if test "$enableval" = yes; then
13543 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13544 else
13545 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13546 fi
13547
13548 else
13549
13550 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13551
13552 fi
13553
13554
13555 eval "$wx_cv_use_ownerdrawn"
13556
13557 if test x"$enablestring" = xdisable; then
13558 if test $wxUSE_OWNER_DRAWN = yes; then
13559 result=no
13560 else
13561 result=yes
13562 fi
13563 else
13564 result=$wxUSE_OWNER_DRAWN
13565 fi
13566
13567 { echo "$as_me:$LINENO: result: $result" >&5
13568 echo "${ECHO_T}$result" >&6; }
13569
13570
13571 enablestring=
13572 defaultval=$wxUSE_ALL_FEATURES
13573 if test -z "$defaultval"; then
13574 if test x"$enablestring" = xdisable; then
13575 defaultval=yes
13576 else
13577 defaultval=no
13578 fi
13579 fi
13580
13581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13582 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13583 # Check whether --enable-uxtheme was given.
13584 if test "${enable_uxtheme+set}" = set; then
13585 enableval=$enable_uxtheme;
13586 if test "$enableval" = yes; then
13587 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13588 else
13589 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13590 fi
13591
13592 else
13593
13594 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13595
13596 fi
13597
13598
13599 eval "$wx_cv_use_uxtheme"
13600
13601 if test x"$enablestring" = xdisable; then
13602 if test $wxUSE_UXTHEME = yes; then
13603 result=no
13604 else
13605 result=yes
13606 fi
13607 else
13608 result=$wxUSE_UXTHEME
13609 fi
13610
13611 { echo "$as_me:$LINENO: result: $result" >&5
13612 echo "${ECHO_T}$result" >&6; }
13613
13614
13615 enablestring=
13616 defaultval=$wxUSE_ALL_FEATURES
13617 if test -z "$defaultval"; then
13618 if test x"$enablestring" = xdisable; then
13619 defaultval=yes
13620 else
13621 defaultval=no
13622 fi
13623 fi
13624
13625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13626 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13627 # Check whether --enable-wxdib was given.
13628 if test "${enable_wxdib+set}" = set; then
13629 enableval=$enable_wxdib;
13630 if test "$enableval" = yes; then
13631 wx_cv_use_wxdib='wxUSE_DIB=yes'
13632 else
13633 wx_cv_use_wxdib='wxUSE_DIB=no'
13634 fi
13635
13636 else
13637
13638 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13639
13640 fi
13641
13642
13643 eval "$wx_cv_use_wxdib"
13644
13645 if test x"$enablestring" = xdisable; then
13646 if test $wxUSE_DIB = yes; then
13647 result=no
13648 else
13649 result=yes
13650 fi
13651 else
13652 result=$wxUSE_DIB
13653 fi
13654
13655 { echo "$as_me:$LINENO: result: $result" >&5
13656 echo "${ECHO_T}$result" >&6; }
13657
13658
13659 fi
13660
13661
13662 { echo "$as_me:$LINENO: checking for toolkit" >&5
13663 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13664
13665 # In Wine, we need to default to MSW, not GTK or MOTIF
13666 if test "$wxUSE_WINE" = "yes"; then
13667 DEFAULT_DEFAULT_wxUSE_GTK=0
13668 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13669 DEFAULT_DEFAULT_wxUSE_MSW=1
13670 wxUSE_SHARED=no
13671 CC=${CC:-winegcc}
13672 CXX=${CXX:-wineg++}
13673 fi
13674
13675
13676 if test "$wxUSE_GUI" = "yes"; then
13677
13678 if test "$USE_BEOS" = 1; then
13679 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13680 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13681 { (exit 1); exit 1; }; }
13682 fi
13683
13684 if test "$TOOLKIT_GIVEN" = 1; then
13685 for toolkit in $ALL_TOOLKITS; do
13686 var=wxUSE_$toolkit
13687 eval "value=\$${var}"
13688 if test "x$value" = "xno"; then
13689 eval "$var=0"
13690 elif test "x$value" != "x"; then
13691 eval "$var=1"
13692 fi
13693
13694 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13695 eval "wx${toolkit}_VERSION=$value"
13696 fi
13697 done
13698 else
13699 for toolkit in $ALL_TOOLKITS; do
13700 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13701 eval "wxUSE_$toolkit=\$${var}"
13702 done
13703 fi
13704
13705 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13706 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13707 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13708
13709 case "${host}" in
13710 *-pc-os2_emx | *-pc-os2-emx )
13711 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13712 esac
13713
13714 case "$NUM_TOOLKITS" in
13715 1)
13716 ;;
13717 0)
13718 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13719 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13720 { (exit 1); exit 1; }; }
13721 ;;
13722 *)
13723 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13724 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13725 { (exit 1); exit 1; }; }
13726 esac
13727
13728 # to be removed when --disable-gtk2 isn't needed
13729 if test "x$wxUSE_GTK2" = "xyes"; then
13730 wxGTK_VERSION=2
13731 elif test "x$wxUSE_GTK2" = "xno"; then
13732 wxGTK_VERSION=1
13733 fi
13734
13735 for toolkit in $ALL_TOOLKITS; do
13736 var=wxUSE_$toolkit
13737 eval "value=\$${var}"
13738 if test "$value" = 1; then
13739 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
13740 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13741 echo "${ECHO_T}$toolkit_echo" >&6; }
13742 fi
13743 done
13744 else
13745 if test "x$host_alias" != "x"; then
13746 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13747 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13748 else
13749 { echo "$as_me:$LINENO: result: base only" >&5
13750 echo "${ECHO_T}base only" >&6; }
13751 fi
13752 fi
13753
13754
13755 cat >confcache <<\_ACEOF
13756 # This file is a shell script that caches the results of configure
13757 # tests run on this system so they can be shared between configure
13758 # scripts and configure runs, see configure's option --config-cache.
13759 # It is not useful on other systems. If it contains results you don't
13760 # want to keep, you may remove or edit it.
13761 #
13762 # config.status only pays attention to the cache file if you give it
13763 # the --recheck option to rerun configure.
13764 #
13765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13767 # following values.
13768
13769 _ACEOF
13770
13771 # The following way of writing the cache mishandles newlines in values,
13772 # but we know of no workaround that is simple, portable, and efficient.
13773 # So, we kill variables containing newlines.
13774 # Ultrix sh set writes to stderr and can't be redirected directly,
13775 # and sets the high bit in the cache file unless we assign to the vars.
13776 (
13777 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13778 eval ac_val=\$$ac_var
13779 case $ac_val in #(
13780 *${as_nl}*)
13781 case $ac_var in #(
13782 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13783 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13784 esac
13785 case $ac_var in #(
13786 _ | IFS | as_nl) ;; #(
13787 *) $as_unset $ac_var ;;
13788 esac ;;
13789 esac
13790 done
13791
13792 (set) 2>&1 |
13793 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13794 *${as_nl}ac_space=\ *)
13795 # `set' does not quote correctly, so add quotes (double-quote
13796 # substitution turns \\\\ into \\, and sed turns \\ into \).
13797 sed -n \
13798 "s/'/'\\\\''/g;
13799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13800 ;; #(
13801 *)
13802 # `set' quotes correctly as required by POSIX, so do not add quotes.
13803 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13804 ;;
13805 esac |
13806 sort
13807 ) |
13808 sed '
13809 /^ac_cv_env_/b end
13810 t clear
13811 :clear
13812 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13813 t end
13814 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13815 :end' >>confcache
13816 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13817 if test -w "$cache_file"; then
13818 test "x$cache_file" != "x/dev/null" &&
13819 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13820 echo "$as_me: updating cache $cache_file" >&6;}
13821 cat confcache >$cache_file
13822 else
13823 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13824 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13825 fi
13826 fi
13827 rm -f confcache
13828
13829 CFLAGS=${CFLAGS:=}
13830
13831
13832
13833 ac_ext=c
13834 ac_cpp='$CPP $CPPFLAGS'
13835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13838 if test -n "$ac_tool_prefix"; then
13839 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13840 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13843 if test "${ac_cv_prog_CC+set}" = set; then
13844 echo $ECHO_N "(cached) $ECHO_C" >&6
13845 else
13846 if test -n "$CC"; then
13847 ac_cv_prog_CC="$CC" # Let the user override the test.
13848 else
13849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13850 for as_dir in $PATH
13851 do
13852 IFS=$as_save_IFS
13853 test -z "$as_dir" && as_dir=.
13854 for ac_exec_ext in '' $ac_executable_extensions; do
13855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13856 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13858 break 2
13859 fi
13860 done
13861 done
13862 IFS=$as_save_IFS
13863
13864 fi
13865 fi
13866 CC=$ac_cv_prog_CC
13867 if test -n "$CC"; then
13868 { echo "$as_me:$LINENO: result: $CC" >&5
13869 echo "${ECHO_T}$CC" >&6; }
13870 else
13871 { echo "$as_me:$LINENO: result: no" >&5
13872 echo "${ECHO_T}no" >&6; }
13873 fi
13874
13875
13876 fi
13877 if test -z "$ac_cv_prog_CC"; then
13878 ac_ct_CC=$CC
13879 # Extract the first word of "gcc", so it can be a program name with args.
13880 set dummy gcc; ac_word=$2
13881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13884 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 else
13886 if test -n "$ac_ct_CC"; then
13887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13888 else
13889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13890 for as_dir in $PATH
13891 do
13892 IFS=$as_save_IFS
13893 test -z "$as_dir" && as_dir=.
13894 for ac_exec_ext in '' $ac_executable_extensions; do
13895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13896 ac_cv_prog_ac_ct_CC="gcc"
13897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13898 break 2
13899 fi
13900 done
13901 done
13902 IFS=$as_save_IFS
13903
13904 fi
13905 fi
13906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13907 if test -n "$ac_ct_CC"; then
13908 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13909 echo "${ECHO_T}$ac_ct_CC" >&6; }
13910 else
13911 { echo "$as_me:$LINENO: result: no" >&5
13912 echo "${ECHO_T}no" >&6; }
13913 fi
13914
13915 if test "x$ac_ct_CC" = x; then
13916 CC=""
13917 else
13918 case $cross_compiling:$ac_tool_warned in
13919 yes:)
13920 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13921 whose name does not start with the host triplet. If you think this
13922 configuration is useful to you, please write to autoconf@gnu.org." >&5
13923 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13924 whose name does not start with the host triplet. If you think this
13925 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13926 ac_tool_warned=yes ;;
13927 esac
13928 CC=$ac_ct_CC
13929 fi
13930 else
13931 CC="$ac_cv_prog_CC"
13932 fi
13933
13934 if test -z "$CC"; then
13935 if test -n "$ac_tool_prefix"; then
13936 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13937 set dummy ${ac_tool_prefix}cc; ac_word=$2
13938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13940 if test "${ac_cv_prog_CC+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 else
13943 if test -n "$CC"; then
13944 ac_cv_prog_CC="$CC" # Let the user override the test.
13945 else
13946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13947 for as_dir in $PATH
13948 do
13949 IFS=$as_save_IFS
13950 test -z "$as_dir" && as_dir=.
13951 for ac_exec_ext in '' $ac_executable_extensions; do
13952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953 ac_cv_prog_CC="${ac_tool_prefix}cc"
13954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13955 break 2
13956 fi
13957 done
13958 done
13959 IFS=$as_save_IFS
13960
13961 fi
13962 fi
13963 CC=$ac_cv_prog_CC
13964 if test -n "$CC"; then
13965 { echo "$as_me:$LINENO: result: $CC" >&5
13966 echo "${ECHO_T}$CC" >&6; }
13967 else
13968 { echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6; }
13970 fi
13971
13972
13973 fi
13974 fi
13975 if test -z "$CC"; then
13976 # Extract the first word of "cc", so it can be a program name with args.
13977 set dummy cc; ac_word=$2
13978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13980 if test "${ac_cv_prog_CC+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 else
13983 if test -n "$CC"; then
13984 ac_cv_prog_CC="$CC" # Let the user override the test.
13985 else
13986 ac_prog_rejected=no
13987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13988 for as_dir in $PATH
13989 do
13990 IFS=$as_save_IFS
13991 test -z "$as_dir" && as_dir=.
13992 for ac_exec_ext in '' $ac_executable_extensions; do
13993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13994 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13995 ac_prog_rejected=yes
13996 continue
13997 fi
13998 ac_cv_prog_CC="cc"
13999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14000 break 2
14001 fi
14002 done
14003 done
14004 IFS=$as_save_IFS
14005
14006 if test $ac_prog_rejected = yes; then
14007 # We found a bogon in the path, so make sure we never use it.
14008 set dummy $ac_cv_prog_CC
14009 shift
14010 if test $# != 0; then
14011 # We chose a different compiler from the bogus one.
14012 # However, it has the same basename, so the bogon will be chosen
14013 # first if we set CC to just the basename; use the full file name.
14014 shift
14015 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14016 fi
14017 fi
14018 fi
14019 fi
14020 CC=$ac_cv_prog_CC
14021 if test -n "$CC"; then
14022 { echo "$as_me:$LINENO: result: $CC" >&5
14023 echo "${ECHO_T}$CC" >&6; }
14024 else
14025 { echo "$as_me:$LINENO: result: no" >&5
14026 echo "${ECHO_T}no" >&6; }
14027 fi
14028
14029
14030 fi
14031 if test -z "$CC"; then
14032 if test -n "$ac_tool_prefix"; then
14033 for ac_prog in cl.exe
14034 do
14035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14039 if test "${ac_cv_prog_CC+set}" = set; then
14040 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 else
14042 if test -n "$CC"; then
14043 ac_cv_prog_CC="$CC" # Let the user override the test.
14044 else
14045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14046 for as_dir in $PATH
14047 do
14048 IFS=$as_save_IFS
14049 test -z "$as_dir" && as_dir=.
14050 for ac_exec_ext in '' $ac_executable_extensions; do
14051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14052 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14054 break 2
14055 fi
14056 done
14057 done
14058 IFS=$as_save_IFS
14059
14060 fi
14061 fi
14062 CC=$ac_cv_prog_CC
14063 if test -n "$CC"; then
14064 { echo "$as_me:$LINENO: result: $CC" >&5
14065 echo "${ECHO_T}$CC" >&6; }
14066 else
14067 { echo "$as_me:$LINENO: result: no" >&5
14068 echo "${ECHO_T}no" >&6; }
14069 fi
14070
14071
14072 test -n "$CC" && break
14073 done
14074 fi
14075 if test -z "$CC"; then
14076 ac_ct_CC=$CC
14077 for ac_prog in cl.exe
14078 do
14079 # Extract the first word of "$ac_prog", so it can be a program name with args.
14080 set dummy $ac_prog; ac_word=$2
14081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14083 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 else
14086 if test -n "$ac_ct_CC"; then
14087 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14088 else
14089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14090 for as_dir in $PATH
14091 do
14092 IFS=$as_save_IFS
14093 test -z "$as_dir" && as_dir=.
14094 for ac_exec_ext in '' $ac_executable_extensions; do
14095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14096 ac_cv_prog_ac_ct_CC="$ac_prog"
14097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14098 break 2
14099 fi
14100 done
14101 done
14102 IFS=$as_save_IFS
14103
14104 fi
14105 fi
14106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14107 if test -n "$ac_ct_CC"; then
14108 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14109 echo "${ECHO_T}$ac_ct_CC" >&6; }
14110 else
14111 { echo "$as_me:$LINENO: result: no" >&5
14112 echo "${ECHO_T}no" >&6; }
14113 fi
14114
14115
14116 test -n "$ac_ct_CC" && break
14117 done
14118
14119 if test "x$ac_ct_CC" = x; then
14120 CC=""
14121 else
14122 case $cross_compiling:$ac_tool_warned in
14123 yes:)
14124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14125 whose name does not start with the host triplet. If you think this
14126 configuration is useful to you, please write to autoconf@gnu.org." >&5
14127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14128 whose name does not start with the host triplet. If you think this
14129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14130 ac_tool_warned=yes ;;
14131 esac
14132 CC=$ac_ct_CC
14133 fi
14134 fi
14135
14136 fi
14137
14138
14139 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14140 See \`config.log' for more details." >&5
14141 echo "$as_me: error: no acceptable C compiler found in \$PATH
14142 See \`config.log' for more details." >&2;}
14143 { (exit 1); exit 1; }; }
14144
14145 # Provide some information about the compiler.
14146 echo "$as_me:$LINENO: checking for C compiler version" >&5
14147 ac_compiler=`set X $ac_compile; echo $2`
14148 { (ac_try="$ac_compiler --version >&5"
14149 case "(($ac_try" in
14150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14151 *) ac_try_echo=$ac_try;;
14152 esac
14153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14154 (eval "$ac_compiler --version >&5") 2>&5
14155 ac_status=$?
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }
14158 { (ac_try="$ac_compiler -v >&5"
14159 case "(($ac_try" in
14160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14161 *) ac_try_echo=$ac_try;;
14162 esac
14163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14164 (eval "$ac_compiler -v >&5") 2>&5
14165 ac_status=$?
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }
14168 { (ac_try="$ac_compiler -V >&5"
14169 case "(($ac_try" in
14170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14171 *) ac_try_echo=$ac_try;;
14172 esac
14173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14174 (eval "$ac_compiler -V >&5") 2>&5
14175 ac_status=$?
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }
14178
14179 cat >conftest.$ac_ext <<_ACEOF
14180 /* confdefs.h. */
14181 _ACEOF
14182 cat confdefs.h >>conftest.$ac_ext
14183 cat >>conftest.$ac_ext <<_ACEOF
14184 /* end confdefs.h. */
14185
14186 int
14187 main ()
14188 {
14189
14190 ;
14191 return 0;
14192 }
14193 _ACEOF
14194 ac_clean_files_save=$ac_clean_files
14195 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14196 # Try to create an executable without -o first, disregard a.out.
14197 # It will help us diagnose broken compilers, and finding out an intuition
14198 # of exeext.
14199 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14200 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14201 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14202 #
14203 # List of possible output files, starting from the most likely.
14204 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14205 # only as a last resort. b.out is created by i960 compilers.
14206 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14207 #
14208 # The IRIX 6 linker writes into existing files which may not be
14209 # executable, retaining their permissions. Remove them first so a
14210 # subsequent execution test works.
14211 ac_rmfiles=
14212 for ac_file in $ac_files
14213 do
14214 case $ac_file in
14215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14216 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14217 esac
14218 done
14219 rm -f $ac_rmfiles
14220
14221 if { (ac_try="$ac_link_default"
14222 case "(($ac_try" in
14223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14224 *) ac_try_echo=$ac_try;;
14225 esac
14226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14227 (eval "$ac_link_default") 2>&5
14228 ac_status=$?
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; then
14231 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14232 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14233 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14234 # so that the user can short-circuit this test for compilers unknown to
14235 # Autoconf.
14236 for ac_file in $ac_files ''
14237 do
14238 test -f "$ac_file" || continue
14239 case $ac_file in
14240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14241 ;;
14242 [ab].out )
14243 # We found the default executable, but exeext='' is most
14244 # certainly right.
14245 break;;
14246 *.* )
14247 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14248 then :; else
14249 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14250 fi
14251 # We set ac_cv_exeext here because the later test for it is not
14252 # safe: cross compilers may not add the suffix if given an `-o'
14253 # argument, so we may need to know it at that point already.
14254 # Even if this section looks crufty: it has the advantage of
14255 # actually working.
14256 break;;
14257 * )
14258 break;;
14259 esac
14260 done
14261 test "$ac_cv_exeext" = no && ac_cv_exeext=
14262
14263 else
14264 ac_file=''
14265 fi
14266
14267 { echo "$as_me:$LINENO: result: $ac_file" >&5
14268 echo "${ECHO_T}$ac_file" >&6; }
14269 if test -z "$ac_file"; then
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.$ac_ext >&5
14272
14273 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14274 See \`config.log' for more details." >&5
14275 echo "$as_me: error: C compiler cannot create executables
14276 See \`config.log' for more details." >&2;}
14277 { (exit 77); exit 77; }; }
14278 fi
14279
14280 ac_exeext=$ac_cv_exeext
14281
14282 # Check that the compiler produces executables we can run. If not, either
14283 # the compiler is broken, or we cross compile.
14284 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14285 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14286 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14287 # If not cross compiling, check that we can run a simple program.
14288 if test "$cross_compiling" != yes; then
14289 if { ac_try='./$ac_file'
14290 { (case "(($ac_try" in
14291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14292 *) ac_try_echo=$ac_try;;
14293 esac
14294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14295 (eval "$ac_try") 2>&5
14296 ac_status=$?
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; }; then
14299 cross_compiling=no
14300 else
14301 if test "$cross_compiling" = maybe; then
14302 cross_compiling=yes
14303 else
14304 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14305 If you meant to cross compile, use \`--host'.
14306 See \`config.log' for more details." >&5
14307 echo "$as_me: error: cannot run C compiled programs.
14308 If you meant to cross compile, use \`--host'.
14309 See \`config.log' for more details." >&2;}
14310 { (exit 1); exit 1; }; }
14311 fi
14312 fi
14313 fi
14314 { echo "$as_me:$LINENO: result: yes" >&5
14315 echo "${ECHO_T}yes" >&6; }
14316
14317 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14318 ac_clean_files=$ac_clean_files_save
14319 # Check that the compiler produces executables we can run. If not, either
14320 # the compiler is broken, or we cross compile.
14321 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14322 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14323 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14324 echo "${ECHO_T}$cross_compiling" >&6; }
14325
14326 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14327 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14328 if { (ac_try="$ac_link"
14329 case "(($ac_try" in
14330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14331 *) ac_try_echo=$ac_try;;
14332 esac
14333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14334 (eval "$ac_link") 2>&5
14335 ac_status=$?
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); }; then
14338 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14339 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14340 # work properly (i.e., refer to `conftest.exe'), while it won't with
14341 # `rm'.
14342 for ac_file in conftest.exe conftest conftest.*; do
14343 test -f "$ac_file" || continue
14344 case $ac_file in
14345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14346 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14347 break;;
14348 * ) break;;
14349 esac
14350 done
14351 else
14352 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14353 See \`config.log' for more details." >&5
14354 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14355 See \`config.log' for more details." >&2;}
14356 { (exit 1); exit 1; }; }
14357 fi
14358
14359 rm -f conftest$ac_cv_exeext
14360 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14361 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14362
14363 rm -f conftest.$ac_ext
14364 EXEEXT=$ac_cv_exeext
14365 ac_exeext=$EXEEXT
14366 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14367 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14368 if test "${ac_cv_objext+set}" = set; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 else
14371 cat >conftest.$ac_ext <<_ACEOF
14372 /* confdefs.h. */
14373 _ACEOF
14374 cat confdefs.h >>conftest.$ac_ext
14375 cat >>conftest.$ac_ext <<_ACEOF
14376 /* end confdefs.h. */
14377
14378 int
14379 main ()
14380 {
14381
14382 ;
14383 return 0;
14384 }
14385 _ACEOF
14386 rm -f conftest.o conftest.obj
14387 if { (ac_try="$ac_compile"
14388 case "(($ac_try" in
14389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14390 *) ac_try_echo=$ac_try;;
14391 esac
14392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14393 (eval "$ac_compile") 2>&5
14394 ac_status=$?
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; then
14397 for ac_file in conftest.o conftest.obj conftest.*; do
14398 test -f "$ac_file" || continue;
14399 case $ac_file in
14400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14401 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14402 break;;
14403 esac
14404 done
14405 else
14406 echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.$ac_ext >&5
14408
14409 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14410 See \`config.log' for more details." >&5
14411 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14412 See \`config.log' for more details." >&2;}
14413 { (exit 1); exit 1; }; }
14414 fi
14415
14416 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14417 fi
14418 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14419 echo "${ECHO_T}$ac_cv_objext" >&6; }
14420 OBJEXT=$ac_cv_objext
14421 ac_objext=$OBJEXT
14422 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14423 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14424 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 else
14427 cat >conftest.$ac_ext <<_ACEOF
14428 /* confdefs.h. */
14429 _ACEOF
14430 cat confdefs.h >>conftest.$ac_ext
14431 cat >>conftest.$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14433
14434 int
14435 main ()
14436 {
14437 #ifndef __GNUC__
14438 choke me
14439 #endif
14440
14441 ;
14442 return 0;
14443 }
14444 _ACEOF
14445 rm -f conftest.$ac_objext
14446 if { (ac_try="$ac_compile"
14447 case "(($ac_try" in
14448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14449 *) ac_try_echo=$ac_try;;
14450 esac
14451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14452 (eval "$ac_compile") 2>conftest.er1
14453 ac_status=$?
14454 grep -v '^ *+' conftest.er1 >conftest.err
14455 rm -f conftest.er1
14456 cat conftest.err >&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); } && {
14459 test -z "$ac_c_werror_flag" ||
14460 test ! -s conftest.err
14461 } && test -s conftest.$ac_objext; then
14462 ac_compiler_gnu=yes
14463 else
14464 echo "$as_me: failed program was:" >&5
14465 sed 's/^/| /' conftest.$ac_ext >&5
14466
14467 ac_compiler_gnu=no
14468 fi
14469
14470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14471 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14472
14473 fi
14474 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14475 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14476 GCC=`test $ac_compiler_gnu = yes && echo yes`
14477 ac_test_CFLAGS=${CFLAGS+set}
14478 ac_save_CFLAGS=$CFLAGS
14479 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14480 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14481 if test "${ac_cv_prog_cc_g+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 else
14484 ac_save_c_werror_flag=$ac_c_werror_flag
14485 ac_c_werror_flag=yes
14486 ac_cv_prog_cc_g=no
14487 CFLAGS="-g"
14488 cat >conftest.$ac_ext <<_ACEOF
14489 /* confdefs.h. */
14490 _ACEOF
14491 cat confdefs.h >>conftest.$ac_ext
14492 cat >>conftest.$ac_ext <<_ACEOF
14493 /* end confdefs.h. */
14494
14495 int
14496 main ()
14497 {
14498
14499 ;
14500 return 0;
14501 }
14502 _ACEOF
14503 rm -f conftest.$ac_objext
14504 if { (ac_try="$ac_compile"
14505 case "(($ac_try" in
14506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14507 *) ac_try_echo=$ac_try;;
14508 esac
14509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14510 (eval "$ac_compile") 2>conftest.er1
14511 ac_status=$?
14512 grep -v '^ *+' conftest.er1 >conftest.err
14513 rm -f conftest.er1
14514 cat conftest.err >&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); } && {
14517 test -z "$ac_c_werror_flag" ||
14518 test ! -s conftest.err
14519 } && test -s conftest.$ac_objext; then
14520 ac_cv_prog_cc_g=yes
14521 else
14522 echo "$as_me: failed program was:" >&5
14523 sed 's/^/| /' conftest.$ac_ext >&5
14524
14525 CFLAGS=""
14526 cat >conftest.$ac_ext <<_ACEOF
14527 /* confdefs.h. */
14528 _ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14532
14533 int
14534 main ()
14535 {
14536
14537 ;
14538 return 0;
14539 }
14540 _ACEOF
14541 rm -f conftest.$ac_objext
14542 if { (ac_try="$ac_compile"
14543 case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14546 esac
14547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_compile") 2>conftest.er1
14549 ac_status=$?
14550 grep -v '^ *+' conftest.er1 >conftest.err
14551 rm -f conftest.er1
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } && {
14555 test -z "$ac_c_werror_flag" ||
14556 test ! -s conftest.err
14557 } && test -s conftest.$ac_objext; then
14558 :
14559 else
14560 echo "$as_me: failed program was:" >&5
14561 sed 's/^/| /' conftest.$ac_ext >&5
14562
14563 ac_c_werror_flag=$ac_save_c_werror_flag
14564 CFLAGS="-g"
14565 cat >conftest.$ac_ext <<_ACEOF
14566 /* confdefs.h. */
14567 _ACEOF
14568 cat confdefs.h >>conftest.$ac_ext
14569 cat >>conftest.$ac_ext <<_ACEOF
14570 /* end confdefs.h. */
14571
14572 int
14573 main ()
14574 {
14575
14576 ;
14577 return 0;
14578 }
14579 _ACEOF
14580 rm -f conftest.$ac_objext
14581 if { (ac_try="$ac_compile"
14582 case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14585 esac
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_compile") 2>conftest.er1
14588 ac_status=$?
14589 grep -v '^ *+' conftest.er1 >conftest.err
14590 rm -f conftest.er1
14591 cat conftest.err >&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } && {
14594 test -z "$ac_c_werror_flag" ||
14595 test ! -s conftest.err
14596 } && test -s conftest.$ac_objext; then
14597 ac_cv_prog_cc_g=yes
14598 else
14599 echo "$as_me: failed program was:" >&5
14600 sed 's/^/| /' conftest.$ac_ext >&5
14601
14602
14603 fi
14604
14605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14606 fi
14607
14608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14609 fi
14610
14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14612 ac_c_werror_flag=$ac_save_c_werror_flag
14613 fi
14614 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14616 if test "$ac_test_CFLAGS" = set; then
14617 CFLAGS=$ac_save_CFLAGS
14618 elif test $ac_cv_prog_cc_g = yes; then
14619 if test "$GCC" = yes; then
14620 CFLAGS="-g -O2"
14621 else
14622 CFLAGS="-g"
14623 fi
14624 else
14625 if test "$GCC" = yes; then
14626 CFLAGS="-O2"
14627 else
14628 CFLAGS=
14629 fi
14630 fi
14631 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14632 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14633 if test "${ac_cv_prog_cc_c89+set}" = set; then
14634 echo $ECHO_N "(cached) $ECHO_C" >&6
14635 else
14636 ac_cv_prog_cc_c89=no
14637 ac_save_CC=$CC
14638 cat >conftest.$ac_ext <<_ACEOF
14639 /* confdefs.h. */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14644 #include <stdarg.h>
14645 #include <stdio.h>
14646 #include <sys/types.h>
14647 #include <sys/stat.h>
14648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14649 struct buf { int x; };
14650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14651 static char *e (p, i)
14652 char **p;
14653 int i;
14654 {
14655 return p[i];
14656 }
14657 static char *f (char * (*g) (char **, int), char **p, ...)
14658 {
14659 char *s;
14660 va_list v;
14661 va_start (v,p);
14662 s = g (p, va_arg (v,int));
14663 va_end (v);
14664 return s;
14665 }
14666
14667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14668 function prototypes and stuff, but not '\xHH' hex character constants.
14669 These don't provoke an error unfortunately, instead are silently treated
14670 as 'x'. The following induces an error, until -std is added to get
14671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14672 array size at least. It's necessary to write '\x00'==0 to get something
14673 that's true only with -std. */
14674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14675
14676 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14677 inside strings and character constants. */
14678 #define FOO(x) 'x'
14679 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14680
14681 int test (int i, double x);
14682 struct s1 {int (*f) (int a);};
14683 struct s2 {int (*f) (double a);};
14684 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14685 int argc;
14686 char **argv;
14687 int
14688 main ()
14689 {
14690 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14691 ;
14692 return 0;
14693 }
14694 _ACEOF
14695 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14696 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14697 do
14698 CC="$ac_save_CC $ac_arg"
14699 rm -f conftest.$ac_objext
14700 if { (ac_try="$ac_compile"
14701 case "(($ac_try" in
14702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14703 *) ac_try_echo=$ac_try;;
14704 esac
14705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14706 (eval "$ac_compile") 2>conftest.er1
14707 ac_status=$?
14708 grep -v '^ *+' conftest.er1 >conftest.err
14709 rm -f conftest.er1
14710 cat conftest.err >&5
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); } && {
14713 test -z "$ac_c_werror_flag" ||
14714 test ! -s conftest.err
14715 } && test -s conftest.$ac_objext; then
14716 ac_cv_prog_cc_c89=$ac_arg
14717 else
14718 echo "$as_me: failed program was:" >&5
14719 sed 's/^/| /' conftest.$ac_ext >&5
14720
14721
14722 fi
14723
14724 rm -f core conftest.err conftest.$ac_objext
14725 test "x$ac_cv_prog_cc_c89" != "xno" && break
14726 done
14727 rm -f conftest.$ac_ext
14728 CC=$ac_save_CC
14729
14730 fi
14731 # AC_CACHE_VAL
14732 case "x$ac_cv_prog_cc_c89" in
14733 x)
14734 { echo "$as_me:$LINENO: result: none needed" >&5
14735 echo "${ECHO_T}none needed" >&6; } ;;
14736 xno)
14737 { echo "$as_me:$LINENO: result: unsupported" >&5
14738 echo "${ECHO_T}unsupported" >&6; } ;;
14739 *)
14740 CC="$CC $ac_cv_prog_cc_c89"
14741 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14742 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14743 esac
14744
14745
14746 ac_ext=c
14747 ac_cpp='$CPP $CPPFLAGS'
14748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14751
14752
14753
14754
14755 ac_ext=c
14756 ac_cpp='$CPP $CPPFLAGS'
14757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14760
14761 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14762 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14763 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14765 else
14766 cat >conftest.$ac_ext <<_ACEOF
14767 /* confdefs.h. */
14768 _ACEOF
14769 cat confdefs.h >>conftest.$ac_ext
14770 cat >>conftest.$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14772
14773 int
14774 main ()
14775 {
14776
14777 #ifndef __INTEL_COMPILER
14778 choke me
14779 #endif
14780
14781 ;
14782 return 0;
14783 }
14784 _ACEOF
14785 rm -f conftest.$ac_objext
14786 if { (ac_try="$ac_compile"
14787 case "(($ac_try" in
14788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14789 *) ac_try_echo=$ac_try;;
14790 esac
14791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14792 (eval "$ac_compile") 2>conftest.er1
14793 ac_status=$?
14794 grep -v '^ *+' conftest.er1 >conftest.err
14795 rm -f conftest.er1
14796 cat conftest.err >&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); } && {
14799 test -z "$ac_c_werror_flag" ||
14800 test ! -s conftest.err
14801 } && test -s conftest.$ac_objext; then
14802 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14803 else
14804 echo "$as_me: failed program was:" >&5
14805 sed 's/^/| /' conftest.$ac_ext >&5
14806
14807 bakefile_cv_c_compiler___INTEL_COMPILER=no
14808
14809 fi
14810
14811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812
14813
14814 fi
14815 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14816 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14817 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14818 :; INTELCC=yes
14819 else
14820 :;
14821 fi
14822 ac_ext=c
14823 ac_cpp='$CPP $CPPFLAGS'
14824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14827
14828
14829
14830
14831 if test "x$GCC" != "xyes"; then
14832 if test "xCC" = "xC"; then
14833 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14834 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14835 if test "${bakefile_cv_c_exto+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14837 else
14838 cat >conftest.$ac_ext <<_ACEOF
14839 /* confdefs.h. */
14840 _ACEOF
14841 cat confdefs.h >>conftest.$ac_ext
14842 cat >>conftest.$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844
14845 int
14846 main ()
14847 {
14848
14849 ;
14850 return 0;
14851 }
14852 _ACEOF
14853 rm -f conftest.$ac_objext conftest.$ac_ext.o
14854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14855 (eval $ac_compile) 2>&5
14856 ac_status=$?
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; then
14859 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14860 case $ac_file in
14861 conftest.$ac_ext.o)
14862 bakefile_cv_c_exto="-ext o"
14863 ;;
14864 *)
14865 ;;
14866 esac
14867 done
14868 else
14869 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14870 See \`config.log' for more details." >&5
14871 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14872 See \`config.log' for more details." >&2;}
14873 { (exit 1); exit 1; }; }
14874
14875 fi
14876
14877 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14878
14879 fi
14880 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14881 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14882 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14883 if test "c" = "c"; then
14884 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14885 fi
14886 if test "c" = "cxx"; then
14887 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14888 fi
14889 fi
14890
14891 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14892 unset ac_cv_prog_cc_g
14893 ac_test_CFLAGS=${CFLAGS+set}
14894 ac_save_CFLAGS=$CFLAGS
14895 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14896 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14897 if test "${ac_cv_prog_cc_g+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14899 else
14900 ac_save_c_werror_flag=$ac_c_werror_flag
14901 ac_c_werror_flag=yes
14902 ac_cv_prog_cc_g=no
14903 CFLAGS="-g"
14904 cat >conftest.$ac_ext <<_ACEOF
14905 /* confdefs.h. */
14906 _ACEOF
14907 cat confdefs.h >>conftest.$ac_ext
14908 cat >>conftest.$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14910
14911 int
14912 main ()
14913 {
14914
14915 ;
14916 return 0;
14917 }
14918 _ACEOF
14919 rm -f conftest.$ac_objext
14920 if { (ac_try="$ac_compile"
14921 case "(($ac_try" in
14922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14923 *) ac_try_echo=$ac_try;;
14924 esac
14925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14926 (eval "$ac_compile") 2>conftest.er1
14927 ac_status=$?
14928 grep -v '^ *+' conftest.er1 >conftest.err
14929 rm -f conftest.er1
14930 cat conftest.err >&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); } && {
14933 test -z "$ac_c_werror_flag" ||
14934 test ! -s conftest.err
14935 } && test -s conftest.$ac_objext; then
14936 ac_cv_prog_cc_g=yes
14937 else
14938 echo "$as_me: failed program was:" >&5
14939 sed 's/^/| /' conftest.$ac_ext >&5
14940
14941 CFLAGS=""
14942 cat >conftest.$ac_ext <<_ACEOF
14943 /* confdefs.h. */
14944 _ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948
14949 int
14950 main ()
14951 {
14952
14953 ;
14954 return 0;
14955 }
14956 _ACEOF
14957 rm -f conftest.$ac_objext
14958 if { (ac_try="$ac_compile"
14959 case "(($ac_try" in
14960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14961 *) ac_try_echo=$ac_try;;
14962 esac
14963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14964 (eval "$ac_compile") 2>conftest.er1
14965 ac_status=$?
14966 grep -v '^ *+' conftest.er1 >conftest.err
14967 rm -f conftest.er1
14968 cat conftest.err >&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } && {
14971 test -z "$ac_c_werror_flag" ||
14972 test ! -s conftest.err
14973 } && test -s conftest.$ac_objext; then
14974 :
14975 else
14976 echo "$as_me: failed program was:" >&5
14977 sed 's/^/| /' conftest.$ac_ext >&5
14978
14979 ac_c_werror_flag=$ac_save_c_werror_flag
14980 CFLAGS="-g"
14981 cat >conftest.$ac_ext <<_ACEOF
14982 /* confdefs.h. */
14983 _ACEOF
14984 cat confdefs.h >>conftest.$ac_ext
14985 cat >>conftest.$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987
14988 int
14989 main ()
14990 {
14991
14992 ;
14993 return 0;
14994 }
14995 _ACEOF
14996 rm -f conftest.$ac_objext
14997 if { (ac_try="$ac_compile"
14998 case "(($ac_try" in
14999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15000 *) ac_try_echo=$ac_try;;
15001 esac
15002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15003 (eval "$ac_compile") 2>conftest.er1
15004 ac_status=$?
15005 grep -v '^ *+' conftest.er1 >conftest.err
15006 rm -f conftest.er1
15007 cat conftest.err >&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); } && {
15010 test -z "$ac_c_werror_flag" ||
15011 test ! -s conftest.err
15012 } && test -s conftest.$ac_objext; then
15013 ac_cv_prog_cc_g=yes
15014 else
15015 echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.$ac_ext >&5
15017
15018
15019 fi
15020
15021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15022 fi
15023
15024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15025 fi
15026
15027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15028 ac_c_werror_flag=$ac_save_c_werror_flag
15029 fi
15030 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15031 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15032 if test "$ac_test_CFLAGS" = set; then
15033 CFLAGS=$ac_save_CFLAGS
15034 elif test $ac_cv_prog_cc_g = yes; then
15035 if test "$GCC" = yes; then
15036 CFLAGS="-g -O2"
15037 else
15038 CFLAGS="-g"
15039 fi
15040 else
15041 if test "$GCC" = yes; then
15042 CFLAGS="-O2"
15043 else
15044 CFLAGS=
15045 fi
15046 fi
15047 fi
15048 fi
15049
15050 case `uname -s` in
15051 AIX*)
15052
15053
15054 ac_ext=c
15055 ac_cpp='$CPP $CPPFLAGS'
15056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15059
15060 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15061 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15062 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15063 echo $ECHO_N "(cached) $ECHO_C" >&6
15064 else
15065 cat >conftest.$ac_ext <<_ACEOF
15066 /* confdefs.h. */
15067 _ACEOF
15068 cat confdefs.h >>conftest.$ac_ext
15069 cat >>conftest.$ac_ext <<_ACEOF
15070 /* end confdefs.h. */
15071
15072 int
15073 main ()
15074 {
15075
15076 #ifndef __xlC__
15077 choke me
15078 #endif
15079
15080 ;
15081 return 0;
15082 }
15083 _ACEOF
15084 rm -f conftest.$ac_objext
15085 if { (ac_try="$ac_compile"
15086 case "(($ac_try" in
15087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15088 *) ac_try_echo=$ac_try;;
15089 esac
15090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15091 (eval "$ac_compile") 2>conftest.er1
15092 ac_status=$?
15093 grep -v '^ *+' conftest.er1 >conftest.err
15094 rm -f conftest.er1
15095 cat conftest.err >&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } && {
15098 test -z "$ac_c_werror_flag" ||
15099 test ! -s conftest.err
15100 } && test -s conftest.$ac_objext; then
15101 bakefile_cv_c_compiler___xlC__=yes
15102 else
15103 echo "$as_me: failed program was:" >&5
15104 sed 's/^/| /' conftest.$ac_ext >&5
15105
15106 bakefile_cv_c_compiler___xlC__=no
15107
15108 fi
15109
15110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15111
15112
15113 fi
15114 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15115 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15116 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15117 :; XLCC=yes
15118 else
15119 :;
15120 fi
15121 ac_ext=c
15122 ac_cpp='$CPP $CPPFLAGS'
15123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15126
15127
15128
15129 ;;
15130
15131 Darwin)
15132
15133
15134 ac_ext=c
15135 ac_cpp='$CPP $CPPFLAGS'
15136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139
15140 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15141 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15142 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15143 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 else
15145 cat >conftest.$ac_ext <<_ACEOF
15146 /* confdefs.h. */
15147 _ACEOF
15148 cat confdefs.h >>conftest.$ac_ext
15149 cat >>conftest.$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15151
15152 int
15153 main ()
15154 {
15155
15156 #ifndef __MWERKS__
15157 choke me
15158 #endif
15159
15160 ;
15161 return 0;
15162 }
15163 _ACEOF
15164 rm -f conftest.$ac_objext
15165 if { (ac_try="$ac_compile"
15166 case "(($ac_try" in
15167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15168 *) ac_try_echo=$ac_try;;
15169 esac
15170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15171 (eval "$ac_compile") 2>conftest.er1
15172 ac_status=$?
15173 grep -v '^ *+' conftest.er1 >conftest.err
15174 rm -f conftest.er1
15175 cat conftest.err >&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); } && {
15178 test -z "$ac_c_werror_flag" ||
15179 test ! -s conftest.err
15180 } && test -s conftest.$ac_objext; then
15181 bakefile_cv_c_compiler___MWERKS__=yes
15182 else
15183 echo "$as_me: failed program was:" >&5
15184 sed 's/^/| /' conftest.$ac_ext >&5
15185
15186 bakefile_cv_c_compiler___MWERKS__=no
15187
15188 fi
15189
15190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15191
15192
15193 fi
15194 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15195 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15196 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15197 :; MWCC=yes
15198 else
15199 :;
15200 fi
15201 ac_ext=c
15202 ac_cpp='$CPP $CPPFLAGS'
15203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15206
15207
15208
15209
15210
15211 ac_ext=c
15212 ac_cpp='$CPP $CPPFLAGS'
15213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15216
15217 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15218 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15219 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 else
15222 cat >conftest.$ac_ext <<_ACEOF
15223 /* confdefs.h. */
15224 _ACEOF
15225 cat confdefs.h >>conftest.$ac_ext
15226 cat >>conftest.$ac_ext <<_ACEOF
15227 /* end confdefs.h. */
15228
15229 int
15230 main ()
15231 {
15232
15233 #ifndef __xlC__
15234 choke me
15235 #endif
15236
15237 ;
15238 return 0;
15239 }
15240 _ACEOF
15241 rm -f conftest.$ac_objext
15242 if { (ac_try="$ac_compile"
15243 case "(($ac_try" in
15244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15245 *) ac_try_echo=$ac_try;;
15246 esac
15247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15248 (eval "$ac_compile") 2>conftest.er1
15249 ac_status=$?
15250 grep -v '^ *+' conftest.er1 >conftest.err
15251 rm -f conftest.er1
15252 cat conftest.err >&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } && {
15255 test -z "$ac_c_werror_flag" ||
15256 test ! -s conftest.err
15257 } && test -s conftest.$ac_objext; then
15258 bakefile_cv_c_compiler___xlC__=yes
15259 else
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.$ac_ext >&5
15262
15263 bakefile_cv_c_compiler___xlC__=no
15264
15265 fi
15266
15267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15268
15269
15270 fi
15271 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15272 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15273 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15274 :; XLCC=yes
15275 else
15276 :;
15277 fi
15278 ac_ext=c
15279 ac_cpp='$CPP $CPPFLAGS'
15280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15283
15284
15285
15286 ;;
15287
15288 IRIX*)
15289
15290
15291 ac_ext=c
15292 ac_cpp='$CPP $CPPFLAGS'
15293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15296
15297 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15298 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15299 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 else
15302 cat >conftest.$ac_ext <<_ACEOF
15303 /* confdefs.h. */
15304 _ACEOF
15305 cat confdefs.h >>conftest.$ac_ext
15306 cat >>conftest.$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15308
15309 int
15310 main ()
15311 {
15312
15313 #ifndef _SGI_COMPILER_VERSION
15314 choke me
15315 #endif
15316
15317 ;
15318 return 0;
15319 }
15320 _ACEOF
15321 rm -f conftest.$ac_objext
15322 if { (ac_try="$ac_compile"
15323 case "(($ac_try" in
15324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15325 *) ac_try_echo=$ac_try;;
15326 esac
15327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15328 (eval "$ac_compile") 2>conftest.er1
15329 ac_status=$?
15330 grep -v '^ *+' conftest.er1 >conftest.err
15331 rm -f conftest.er1
15332 cat conftest.err >&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } && {
15335 test -z "$ac_c_werror_flag" ||
15336 test ! -s conftest.err
15337 } && test -s conftest.$ac_objext; then
15338 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15339 else
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.$ac_ext >&5
15342
15343 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15344
15345 fi
15346
15347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15348
15349
15350 fi
15351 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15352 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15353 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15354 :; SGICC=yes
15355 else
15356 :;
15357 fi
15358 ac_ext=c
15359 ac_cpp='$CPP $CPPFLAGS'
15360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15363
15364
15365
15366 ;;
15367
15368 Linux*)
15369
15370
15371 ac_ext=c
15372 ac_cpp='$CPP $CPPFLAGS'
15373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15376
15377 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15378 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15379 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15380 echo $ECHO_N "(cached) $ECHO_C" >&6
15381 else
15382 cat >conftest.$ac_ext <<_ACEOF
15383 /* confdefs.h. */
15384 _ACEOF
15385 cat confdefs.h >>conftest.$ac_ext
15386 cat >>conftest.$ac_ext <<_ACEOF
15387 /* end confdefs.h. */
15388
15389 int
15390 main ()
15391 {
15392
15393 #ifndef __SUNPRO_C
15394 choke me
15395 #endif
15396
15397 ;
15398 return 0;
15399 }
15400 _ACEOF
15401 rm -f conftest.$ac_objext
15402 if { (ac_try="$ac_compile"
15403 case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15406 esac
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_compile") 2>conftest.er1
15409 ac_status=$?
15410 grep -v '^ *+' conftest.er1 >conftest.err
15411 rm -f conftest.er1
15412 cat conftest.err >&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } && {
15415 test -z "$ac_c_werror_flag" ||
15416 test ! -s conftest.err
15417 } && test -s conftest.$ac_objext; then
15418 bakefile_cv_c_compiler___SUNPRO_C=yes
15419 else
15420 echo "$as_me: failed program was:" >&5
15421 sed 's/^/| /' conftest.$ac_ext >&5
15422
15423 bakefile_cv_c_compiler___SUNPRO_C=no
15424
15425 fi
15426
15427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15428
15429
15430 fi
15431 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15432 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15433 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15434 :; SUNCC=yes
15435 else
15436 :;
15437 fi
15438 ac_ext=c
15439 ac_cpp='$CPP $CPPFLAGS'
15440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15443
15444
15445
15446 ;;
15447
15448 HP-UX*)
15449
15450
15451 ac_ext=c
15452 ac_cpp='$CPP $CPPFLAGS'
15453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15456
15457 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15458 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15459 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 else
15462 cat >conftest.$ac_ext <<_ACEOF
15463 /* confdefs.h. */
15464 _ACEOF
15465 cat confdefs.h >>conftest.$ac_ext
15466 cat >>conftest.$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468
15469 int
15470 main ()
15471 {
15472
15473 #ifndef __HP_cc
15474 choke me
15475 #endif
15476
15477 ;
15478 return 0;
15479 }
15480 _ACEOF
15481 rm -f conftest.$ac_objext
15482 if { (ac_try="$ac_compile"
15483 case "(($ac_try" in
15484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15486 esac
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_compile") 2>conftest.er1
15489 ac_status=$?
15490 grep -v '^ *+' conftest.er1 >conftest.err
15491 rm -f conftest.er1
15492 cat conftest.err >&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && {
15495 test -z "$ac_c_werror_flag" ||
15496 test ! -s conftest.err
15497 } && test -s conftest.$ac_objext; then
15498 bakefile_cv_c_compiler___HP_cc=yes
15499 else
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15502
15503 bakefile_cv_c_compiler___HP_cc=no
15504
15505 fi
15506
15507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15508
15509
15510 fi
15511 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15512 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15513 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15514 :; HPCC=yes
15515 else
15516 :;
15517 fi
15518 ac_ext=c
15519 ac_cpp='$CPP $CPPFLAGS'
15520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15523
15524
15525
15526 ;;
15527
15528 OSF1)
15529
15530
15531 ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536
15537 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15538 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15539 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 else
15542 cat >conftest.$ac_ext <<_ACEOF
15543 /* confdefs.h. */
15544 _ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15548
15549 int
15550 main ()
15551 {
15552
15553 #ifndef __DECC
15554 choke me
15555 #endif
15556
15557 ;
15558 return 0;
15559 }
15560 _ACEOF
15561 rm -f conftest.$ac_objext
15562 if { (ac_try="$ac_compile"
15563 case "(($ac_try" in
15564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15565 *) ac_try_echo=$ac_try;;
15566 esac
15567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15568 (eval "$ac_compile") 2>conftest.er1
15569 ac_status=$?
15570 grep -v '^ *+' conftest.er1 >conftest.err
15571 rm -f conftest.er1
15572 cat conftest.err >&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); } && {
15575 test -z "$ac_c_werror_flag" ||
15576 test ! -s conftest.err
15577 } && test -s conftest.$ac_objext; then
15578 bakefile_cv_c_compiler___DECC=yes
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15582
15583 bakefile_cv_c_compiler___DECC=no
15584
15585 fi
15586
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588
15589
15590 fi
15591 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15592 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15593 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15594 :; COMPAQCC=yes
15595 else
15596 :;
15597 fi
15598 ac_ext=c
15599 ac_cpp='$CPP $CPPFLAGS'
15600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15603
15604
15605
15606 ;;
15607
15608 SunOS)
15609
15610
15611 ac_ext=c
15612 ac_cpp='$CPP $CPPFLAGS'
15613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15616
15617 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15618 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15619 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 else
15622 cat >conftest.$ac_ext <<_ACEOF
15623 /* confdefs.h. */
15624 _ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15628
15629 int
15630 main ()
15631 {
15632
15633 #ifndef __SUNPRO_C
15634 choke me
15635 #endif
15636
15637 ;
15638 return 0;
15639 }
15640 _ACEOF
15641 rm -f conftest.$ac_objext
15642 if { (ac_try="$ac_compile"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15646 esac
15647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_compile") 2>conftest.er1
15649 ac_status=$?
15650 grep -v '^ *+' conftest.er1 >conftest.err
15651 rm -f conftest.er1
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } && {
15655 test -z "$ac_c_werror_flag" ||
15656 test ! -s conftest.err
15657 } && test -s conftest.$ac_objext; then
15658 bakefile_cv_c_compiler___SUNPRO_C=yes
15659 else
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15662
15663 bakefile_cv_c_compiler___SUNPRO_C=no
15664
15665 fi
15666
15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15668
15669
15670 fi
15671 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15672 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15673 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15674 :; SUNCC=yes
15675 else
15676 :;
15677 fi
15678 ac_ext=c
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15683
15684
15685
15686 ;;
15687 esac
15688 fi
15689
15690
15691
15692 ac_ext=c
15693 ac_cpp='$CPP $CPPFLAGS'
15694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15697 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15698 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15699 # On Suns, sometimes $CPP names a directory.
15700 if test -n "$CPP" && test -d "$CPP"; then
15701 CPP=
15702 fi
15703 if test -z "$CPP"; then
15704 if test "${ac_cv_prog_CPP+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707 # Double quotes because CPP needs to be expanded
15708 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15709 do
15710 ac_preproc_ok=false
15711 for ac_c_preproc_warn_flag in '' yes
15712 do
15713 # Use a header file that comes with gcc, so configuring glibc
15714 # with a fresh cross-compiler works.
15715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15716 # <limits.h> exists even on freestanding compilers.
15717 # On the NeXT, cc -E runs the code through the compiler's parser,
15718 # not just through cpp. "Syntax error" is here to catch this case.
15719 cat >conftest.$ac_ext <<_ACEOF
15720 /* confdefs.h. */
15721 _ACEOF
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15725 #ifdef __STDC__
15726 # include <limits.h>
15727 #else
15728 # include <assert.h>
15729 #endif
15730 Syntax error
15731 _ACEOF
15732 if { (ac_try="$ac_cpp conftest.$ac_ext"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15736 esac
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15739 ac_status=$?
15740 grep -v '^ *+' conftest.er1 >conftest.err
15741 rm -f conftest.er1
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } >/dev/null && {
15745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 }; then
15748 :
15749 else
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15752
15753 # Broken: fails on valid input.
15754 continue
15755 fi
15756
15757 rm -f conftest.err conftest.$ac_ext
15758
15759 # OK, works on sane cases. Now check whether nonexistent headers
15760 # can be detected and how.
15761 cat >conftest.$ac_ext <<_ACEOF
15762 /* confdefs.h. */
15763 _ACEOF
15764 cat confdefs.h >>conftest.$ac_ext
15765 cat >>conftest.$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15767 #include <ac_nonexistent.h>
15768 _ACEOF
15769 if { (ac_try="$ac_cpp conftest.$ac_ext"
15770 case "(($ac_try" in
15771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15772 *) ac_try_echo=$ac_try;;
15773 esac
15774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15776 ac_status=$?
15777 grep -v '^ *+' conftest.er1 >conftest.err
15778 rm -f conftest.er1
15779 cat conftest.err >&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } >/dev/null && {
15782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15783 test ! -s conftest.err
15784 }; then
15785 # Broken: success on invalid input.
15786 continue
15787 else
15788 echo "$as_me: failed program was:" >&5
15789 sed 's/^/| /' conftest.$ac_ext >&5
15790
15791 # Passes both tests.
15792 ac_preproc_ok=:
15793 break
15794 fi
15795
15796 rm -f conftest.err conftest.$ac_ext
15797
15798 done
15799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15800 rm -f conftest.err conftest.$ac_ext
15801 if $ac_preproc_ok; then
15802 break
15803 fi
15804
15805 done
15806 ac_cv_prog_CPP=$CPP
15807
15808 fi
15809 CPP=$ac_cv_prog_CPP
15810 else
15811 ac_cv_prog_CPP=$CPP
15812 fi
15813 { echo "$as_me:$LINENO: result: $CPP" >&5
15814 echo "${ECHO_T}$CPP" >&6; }
15815 ac_preproc_ok=false
15816 for ac_c_preproc_warn_flag in '' yes
15817 do
15818 # Use a header file that comes with gcc, so configuring glibc
15819 # with a fresh cross-compiler works.
15820 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15821 # <limits.h> exists even on freestanding compilers.
15822 # On the NeXT, cc -E runs the code through the compiler's parser,
15823 # not just through cpp. "Syntax error" is here to catch this case.
15824 cat >conftest.$ac_ext <<_ACEOF
15825 /* confdefs.h. */
15826 _ACEOF
15827 cat confdefs.h >>conftest.$ac_ext
15828 cat >>conftest.$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830 #ifdef __STDC__
15831 # include <limits.h>
15832 #else
15833 # include <assert.h>
15834 #endif
15835 Syntax error
15836 _ACEOF
15837 if { (ac_try="$ac_cpp conftest.$ac_ext"
15838 case "(($ac_try" in
15839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15840 *) ac_try_echo=$ac_try;;
15841 esac
15842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15844 ac_status=$?
15845 grep -v '^ *+' conftest.er1 >conftest.err
15846 rm -f conftest.er1
15847 cat conftest.err >&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } >/dev/null && {
15850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15851 test ! -s conftest.err
15852 }; then
15853 :
15854 else
15855 echo "$as_me: failed program was:" >&5
15856 sed 's/^/| /' conftest.$ac_ext >&5
15857
15858 # Broken: fails on valid input.
15859 continue
15860 fi
15861
15862 rm -f conftest.err conftest.$ac_ext
15863
15864 # OK, works on sane cases. Now check whether nonexistent headers
15865 # can be detected and how.
15866 cat >conftest.$ac_ext <<_ACEOF
15867 /* confdefs.h. */
15868 _ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872 #include <ac_nonexistent.h>
15873 _ACEOF
15874 if { (ac_try="$ac_cpp conftest.$ac_ext"
15875 case "(($ac_try" in
15876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15877 *) ac_try_echo=$ac_try;;
15878 esac
15879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15881 ac_status=$?
15882 grep -v '^ *+' conftest.er1 >conftest.err
15883 rm -f conftest.er1
15884 cat conftest.err >&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } >/dev/null && {
15887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15888 test ! -s conftest.err
15889 }; then
15890 # Broken: success on invalid input.
15891 continue
15892 else
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15895
15896 # Passes both tests.
15897 ac_preproc_ok=:
15898 break
15899 fi
15900
15901 rm -f conftest.err conftest.$ac_ext
15902
15903 done
15904 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15905 rm -f conftest.err conftest.$ac_ext
15906 if $ac_preproc_ok; then
15907 :
15908 else
15909 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15910 See \`config.log' for more details." >&5
15911 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15912 See \`config.log' for more details." >&2;}
15913 { (exit 1); exit 1; }; }
15914 fi
15915
15916 ac_ext=c
15917 ac_cpp='$CPP $CPPFLAGS'
15918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15921
15922
15923 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15924 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15925 if test "${ac_cv_path_GREP+set}" = set; then
15926 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 else
15928 # Extract the first word of "grep ggrep" to use in msg output
15929 if test -z "$GREP"; then
15930 set dummy grep ggrep; ac_prog_name=$2
15931 if test "${ac_cv_path_GREP+set}" = set; then
15932 echo $ECHO_N "(cached) $ECHO_C" >&6
15933 else
15934 ac_path_GREP_found=false
15935 # Loop through the user's path and test for each of PROGNAME-LIST
15936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15937 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15938 do
15939 IFS=$as_save_IFS
15940 test -z "$as_dir" && as_dir=.
15941 for ac_prog in grep ggrep; do
15942 for ac_exec_ext in '' $ac_executable_extensions; do
15943 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15944 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15945 # Check for GNU ac_path_GREP and select it if it is found.
15946 # Check for GNU $ac_path_GREP
15947 case `"$ac_path_GREP" --version 2>&1` in
15948 *GNU*)
15949 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15950 *)
15951 ac_count=0
15952 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15953 while :
15954 do
15955 cat "conftest.in" "conftest.in" >"conftest.tmp"
15956 mv "conftest.tmp" "conftest.in"
15957 cp "conftest.in" "conftest.nl"
15958 echo 'GREP' >> "conftest.nl"
15959 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15960 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15961 ac_count=`expr $ac_count + 1`
15962 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15963 # Best one so far, save it but keep looking for a better one
15964 ac_cv_path_GREP="$ac_path_GREP"
15965 ac_path_GREP_max=$ac_count
15966 fi
15967 # 10*(2^10) chars as input seems more than enough
15968 test $ac_count -gt 10 && break
15969 done
15970 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15971 esac
15972
15973
15974 $ac_path_GREP_found && break 3
15975 done
15976 done
15977
15978 done
15979 IFS=$as_save_IFS
15980
15981
15982 fi
15983
15984 GREP="$ac_cv_path_GREP"
15985 if test -z "$GREP"; then
15986 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15987 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15988 { (exit 1); exit 1; }; }
15989 fi
15990
15991 else
15992 ac_cv_path_GREP=$GREP
15993 fi
15994
15995
15996 fi
15997 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15998 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15999 GREP="$ac_cv_path_GREP"
16000
16001
16002 { echo "$as_me:$LINENO: checking for egrep" >&5
16003 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16004 if test "${ac_cv_path_EGREP+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 else
16007 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16008 then ac_cv_path_EGREP="$GREP -E"
16009 else
16010 # Extract the first word of "egrep" to use in msg output
16011 if test -z "$EGREP"; then
16012 set dummy egrep; ac_prog_name=$2
16013 if test "${ac_cv_path_EGREP+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016 ac_path_EGREP_found=false
16017 # Loop through the user's path and test for each of PROGNAME-LIST
16018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16019 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16020 do
16021 IFS=$as_save_IFS
16022 test -z "$as_dir" && as_dir=.
16023 for ac_prog in egrep; do
16024 for ac_exec_ext in '' $ac_executable_extensions; do
16025 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16026 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16027 # Check for GNU ac_path_EGREP and select it if it is found.
16028 # Check for GNU $ac_path_EGREP
16029 case `"$ac_path_EGREP" --version 2>&1` in
16030 *GNU*)
16031 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16032 *)
16033 ac_count=0
16034 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16035 while :
16036 do
16037 cat "conftest.in" "conftest.in" >"conftest.tmp"
16038 mv "conftest.tmp" "conftest.in"
16039 cp "conftest.in" "conftest.nl"
16040 echo 'EGREP' >> "conftest.nl"
16041 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16042 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16043 ac_count=`expr $ac_count + 1`
16044 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16045 # Best one so far, save it but keep looking for a better one
16046 ac_cv_path_EGREP="$ac_path_EGREP"
16047 ac_path_EGREP_max=$ac_count
16048 fi
16049 # 10*(2^10) chars as input seems more than enough
16050 test $ac_count -gt 10 && break
16051 done
16052 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16053 esac
16054
16055
16056 $ac_path_EGREP_found && break 3
16057 done
16058 done
16059
16060 done
16061 IFS=$as_save_IFS
16062
16063
16064 fi
16065
16066 EGREP="$ac_cv_path_EGREP"
16067 if test -z "$EGREP"; then
16068 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16069 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16070 { (exit 1); exit 1; }; }
16071 fi
16072
16073 else
16074 ac_cv_path_EGREP=$EGREP
16075 fi
16076
16077
16078 fi
16079 fi
16080 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16081 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16082 EGREP="$ac_cv_path_EGREP"
16083
16084
16085 if test $ac_cv_c_compiler_gnu = yes; then
16086 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16087 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16088 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16090 else
16091 ac_pattern="Autoconf.*'x'"
16092 cat >conftest.$ac_ext <<_ACEOF
16093 /* confdefs.h. */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098 #include <sgtty.h>
16099 Autoconf TIOCGETP
16100 _ACEOF
16101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16102 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16103 ac_cv_prog_gcc_traditional=yes
16104 else
16105 ac_cv_prog_gcc_traditional=no
16106 fi
16107 rm -f conftest*
16108
16109
16110 if test $ac_cv_prog_gcc_traditional = no; then
16111 cat >conftest.$ac_ext <<_ACEOF
16112 /* confdefs.h. */
16113 _ACEOF
16114 cat confdefs.h >>conftest.$ac_ext
16115 cat >>conftest.$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117 #include <termio.h>
16118 Autoconf TCGETA
16119 _ACEOF
16120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16121 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16122 ac_cv_prog_gcc_traditional=yes
16123 fi
16124 rm -f conftest*
16125
16126 fi
16127 fi
16128 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16129 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16130 if test $ac_cv_prog_gcc_traditional = yes; then
16131 CC="$CC -traditional"
16132 fi
16133 fi
16134
16135
16136 CXXFLAGS=${CXXFLAGS:=}
16137
16138
16139
16140 ac_ext=cpp
16141 ac_cpp='$CXXCPP $CPPFLAGS'
16142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16145 if test -z "$CXX"; then
16146 if test -n "$CCC"; then
16147 CXX=$CCC
16148 else
16149 if test -n "$ac_tool_prefix"; then
16150 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16151 do
16152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16156 if test "${ac_cv_prog_CXX+set}" = set; then
16157 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 else
16159 if test -n "$CXX"; then
16160 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16161 else
16162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16163 for as_dir in $PATH
16164 do
16165 IFS=$as_save_IFS
16166 test -z "$as_dir" && as_dir=.
16167 for ac_exec_ext in '' $ac_executable_extensions; do
16168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16169 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16171 break 2
16172 fi
16173 done
16174 done
16175 IFS=$as_save_IFS
16176
16177 fi
16178 fi
16179 CXX=$ac_cv_prog_CXX
16180 if test -n "$CXX"; then
16181 { echo "$as_me:$LINENO: result: $CXX" >&5
16182 echo "${ECHO_T}$CXX" >&6; }
16183 else
16184 { echo "$as_me:$LINENO: result: no" >&5
16185 echo "${ECHO_T}no" >&6; }
16186 fi
16187
16188
16189 test -n "$CXX" && break
16190 done
16191 fi
16192 if test -z "$CXX"; then
16193 ac_ct_CXX=$CXX
16194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16195 do
16196 # Extract the first word of "$ac_prog", so it can be a program name with args.
16197 set dummy $ac_prog; ac_word=$2
16198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16200 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 else
16203 if test -n "$ac_ct_CXX"; then
16204 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16205 else
16206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16207 for as_dir in $PATH
16208 do
16209 IFS=$as_save_IFS
16210 test -z "$as_dir" && as_dir=.
16211 for ac_exec_ext in '' $ac_executable_extensions; do
16212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16213 ac_cv_prog_ac_ct_CXX="$ac_prog"
16214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16215 break 2
16216 fi
16217 done
16218 done
16219 IFS=$as_save_IFS
16220
16221 fi
16222 fi
16223 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16224 if test -n "$ac_ct_CXX"; then
16225 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16226 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16227 else
16228 { echo "$as_me:$LINENO: result: no" >&5
16229 echo "${ECHO_T}no" >&6; }
16230 fi
16231
16232
16233 test -n "$ac_ct_CXX" && break
16234 done
16235
16236 if test "x$ac_ct_CXX" = x; then
16237 CXX="g++"
16238 else
16239 case $cross_compiling:$ac_tool_warned in
16240 yes:)
16241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16242 whose name does not start with the host triplet. If you think this
16243 configuration is useful to you, please write to autoconf@gnu.org." >&5
16244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16245 whose name does not start with the host triplet. If you think this
16246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16247 ac_tool_warned=yes ;;
16248 esac
16249 CXX=$ac_ct_CXX
16250 fi
16251 fi
16252
16253 fi
16254 fi
16255 # Provide some information about the compiler.
16256 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16257 ac_compiler=`set X $ac_compile; echo $2`
16258 { (ac_try="$ac_compiler --version >&5"
16259 case "(($ac_try" in
16260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16261 *) ac_try_echo=$ac_try;;
16262 esac
16263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16264 (eval "$ac_compiler --version >&5") 2>&5
16265 ac_status=$?
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }
16268 { (ac_try="$ac_compiler -v >&5"
16269 case "(($ac_try" in
16270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16271 *) ac_try_echo=$ac_try;;
16272 esac
16273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16274 (eval "$ac_compiler -v >&5") 2>&5
16275 ac_status=$?
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); }
16278 { (ac_try="$ac_compiler -V >&5"
16279 case "(($ac_try" in
16280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16281 *) ac_try_echo=$ac_try;;
16282 esac
16283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16284 (eval "$ac_compiler -V >&5") 2>&5
16285 ac_status=$?
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }
16288
16289 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16290 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16291 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 else
16294 cat >conftest.$ac_ext <<_ACEOF
16295 /* confdefs.h. */
16296 _ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16300
16301 int
16302 main ()
16303 {
16304 #ifndef __GNUC__
16305 choke me
16306 #endif
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16317 esac
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16320 ac_status=$?
16321 grep -v '^ *+' conftest.er1 >conftest.err
16322 rm -f conftest.er1
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_cxx_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.$ac_objext; then
16329 ac_compiler_gnu=yes
16330 else
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16333
16334 ac_compiler_gnu=no
16335 fi
16336
16337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16338 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16339
16340 fi
16341 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16342 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16343 GXX=`test $ac_compiler_gnu = yes && echo yes`
16344 ac_test_CXXFLAGS=${CXXFLAGS+set}
16345 ac_save_CXXFLAGS=$CXXFLAGS
16346 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16347 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16348 if test "${ac_cv_prog_cxx_g+set}" = set; then
16349 echo $ECHO_N "(cached) $ECHO_C" >&6
16350 else
16351 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16352 ac_cxx_werror_flag=yes
16353 ac_cv_prog_cxx_g=no
16354 CXXFLAGS="-g"
16355 cat >conftest.$ac_ext <<_ACEOF
16356 /* confdefs.h. */
16357 _ACEOF
16358 cat confdefs.h >>conftest.$ac_ext
16359 cat >>conftest.$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16361
16362 int
16363 main ()
16364 {
16365
16366 ;
16367 return 0;
16368 }
16369 _ACEOF
16370 rm -f conftest.$ac_objext
16371 if { (ac_try="$ac_compile"
16372 case "(($ac_try" in
16373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16374 *) ac_try_echo=$ac_try;;
16375 esac
16376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16377 (eval "$ac_compile") 2>conftest.er1
16378 ac_status=$?
16379 grep -v '^ *+' conftest.er1 >conftest.err
16380 rm -f conftest.er1
16381 cat conftest.err >&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } && {
16384 test -z "$ac_cxx_werror_flag" ||
16385 test ! -s conftest.err
16386 } && test -s conftest.$ac_objext; then
16387 ac_cv_prog_cxx_g=yes
16388 else
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.$ac_ext >&5
16391
16392 CXXFLAGS=""
16393 cat >conftest.$ac_ext <<_ACEOF
16394 /* confdefs.h. */
16395 _ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399
16400 int
16401 main ()
16402 {
16403
16404 ;
16405 return 0;
16406 }
16407 _ACEOF
16408 rm -f conftest.$ac_objext
16409 if { (ac_try="$ac_compile"
16410 case "(($ac_try" in
16411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16412 *) ac_try_echo=$ac_try;;
16413 esac
16414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16415 (eval "$ac_compile") 2>conftest.er1
16416 ac_status=$?
16417 grep -v '^ *+' conftest.er1 >conftest.err
16418 rm -f conftest.er1
16419 cat conftest.err >&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); } && {
16422 test -z "$ac_cxx_werror_flag" ||
16423 test ! -s conftest.err
16424 } && test -s conftest.$ac_objext; then
16425 :
16426 else
16427 echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.$ac_ext >&5
16429
16430 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16431 CXXFLAGS="-g"
16432 cat >conftest.$ac_ext <<_ACEOF
16433 /* confdefs.h. */
16434 _ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438
16439 int
16440 main ()
16441 {
16442
16443 ;
16444 return 0;
16445 }
16446 _ACEOF
16447 rm -f conftest.$ac_objext
16448 if { (ac_try="$ac_compile"
16449 case "(($ac_try" in
16450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16452 esac
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_compile") 2>conftest.er1
16455 ac_status=$?
16456 grep -v '^ *+' conftest.er1 >conftest.err
16457 rm -f conftest.er1
16458 cat conftest.err >&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); } && {
16461 test -z "$ac_cxx_werror_flag" ||
16462 test ! -s conftest.err
16463 } && test -s conftest.$ac_objext; then
16464 ac_cv_prog_cxx_g=yes
16465 else
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16468
16469
16470 fi
16471
16472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16473 fi
16474
16475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16476 fi
16477
16478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16479 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16480 fi
16481 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16482 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16483 if test "$ac_test_CXXFLAGS" = set; then
16484 CXXFLAGS=$ac_save_CXXFLAGS
16485 elif test $ac_cv_prog_cxx_g = yes; then
16486 if test "$GXX" = yes; then
16487 CXXFLAGS="-g -O2"
16488 else
16489 CXXFLAGS="-g"
16490 fi
16491 else
16492 if test "$GXX" = yes; then
16493 CXXFLAGS="-O2"
16494 else
16495 CXXFLAGS=
16496 fi
16497 fi
16498 ac_ext=c
16499 ac_cpp='$CPP $CPPFLAGS'
16500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16503
16504
16505
16506
16507 ac_ext=cpp
16508 ac_cpp='$CXXCPP $CPPFLAGS'
16509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16512
16513 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16514 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16515 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16516 echo $ECHO_N "(cached) $ECHO_C" >&6
16517 else
16518 cat >conftest.$ac_ext <<_ACEOF
16519 /* confdefs.h. */
16520 _ACEOF
16521 cat confdefs.h >>conftest.$ac_ext
16522 cat >>conftest.$ac_ext <<_ACEOF
16523 /* end confdefs.h. */
16524
16525 int
16526 main ()
16527 {
16528
16529 #ifndef __INTEL_COMPILER
16530 choke me
16531 #endif
16532
16533 ;
16534 return 0;
16535 }
16536 _ACEOF
16537 rm -f conftest.$ac_objext
16538 if { (ac_try="$ac_compile"
16539 case "(($ac_try" in
16540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16541 *) ac_try_echo=$ac_try;;
16542 esac
16543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16544 (eval "$ac_compile") 2>conftest.er1
16545 ac_status=$?
16546 grep -v '^ *+' conftest.er1 >conftest.err
16547 rm -f conftest.er1
16548 cat conftest.err >&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } && {
16551 test -z "$ac_cxx_werror_flag" ||
16552 test ! -s conftest.err
16553 } && test -s conftest.$ac_objext; then
16554 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16558
16559 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16560
16561 fi
16562
16563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16564
16565
16566 fi
16567 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16568 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16569 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16570 :; INTELCXX=yes
16571 else
16572 :;
16573 fi
16574 ac_ext=c
16575 ac_cpp='$CPP $CPPFLAGS'
16576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16579
16580
16581
16582
16583 if test "x$GCXX" != "xyes"; then
16584 if test "xCXX" = "xC"; then
16585 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16586 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16587 if test "${bakefile_cv_c_exto+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 else
16590 cat >conftest.$ac_ext <<_ACEOF
16591 /* confdefs.h. */
16592 _ACEOF
16593 cat confdefs.h >>conftest.$ac_ext
16594 cat >>conftest.$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16596
16597 int
16598 main ()
16599 {
16600
16601 ;
16602 return 0;
16603 }
16604 _ACEOF
16605 rm -f conftest.$ac_objext conftest.$ac_ext.o
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>&5
16608 ac_status=$?
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; then
16611 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16612 case $ac_file in
16613 conftest.$ac_ext.o)
16614 bakefile_cv_c_exto="-ext o"
16615 ;;
16616 *)
16617 ;;
16618 esac
16619 done
16620 else
16621 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16622 See \`config.log' for more details." >&5
16623 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16624 See \`config.log' for more details." >&2;}
16625 { (exit 1); exit 1; }; }
16626
16627 fi
16628
16629 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16630
16631 fi
16632 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16633 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16634 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16635 if test "c" = "c"; then
16636 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16637 fi
16638 if test "c" = "cxx"; then
16639 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16640 fi
16641 fi
16642
16643 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16644 unset ac_cv_prog_cc_g
16645 ac_test_CFLAGS=${CFLAGS+set}
16646 ac_save_CFLAGS=$CFLAGS
16647 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16648 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16649 if test "${ac_cv_prog_cc_g+set}" = set; then
16650 echo $ECHO_N "(cached) $ECHO_C" >&6
16651 else
16652 ac_save_c_werror_flag=$ac_c_werror_flag
16653 ac_c_werror_flag=yes
16654 ac_cv_prog_cc_g=no
16655 CFLAGS="-g"
16656 cat >conftest.$ac_ext <<_ACEOF
16657 /* confdefs.h. */
16658 _ACEOF
16659 cat confdefs.h >>conftest.$ac_ext
16660 cat >>conftest.$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16662
16663 int
16664 main ()
16665 {
16666
16667 ;
16668 return 0;
16669 }
16670 _ACEOF
16671 rm -f conftest.$ac_objext
16672 if { (ac_try="$ac_compile"
16673 case "(($ac_try" in
16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16676 esac
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_compile") 2>conftest.er1
16679 ac_status=$?
16680 grep -v '^ *+' conftest.er1 >conftest.err
16681 rm -f conftest.er1
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && {
16685 test -z "$ac_c_werror_flag" ||
16686 test ! -s conftest.err
16687 } && test -s conftest.$ac_objext; then
16688 ac_cv_prog_cc_g=yes
16689 else
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16692
16693 CFLAGS=""
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700
16701 int
16702 main ()
16703 {
16704
16705 ;
16706 return 0;
16707 }
16708 _ACEOF
16709 rm -f conftest.$ac_objext
16710 if { (ac_try="$ac_compile"
16711 case "(($ac_try" in
16712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16713 *) ac_try_echo=$ac_try;;
16714 esac
16715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16716 (eval "$ac_compile") 2>conftest.er1
16717 ac_status=$?
16718 grep -v '^ *+' conftest.er1 >conftest.err
16719 rm -f conftest.er1
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } && {
16723 test -z "$ac_c_werror_flag" ||
16724 test ! -s conftest.err
16725 } && test -s conftest.$ac_objext; then
16726 :
16727 else
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16730
16731 ac_c_werror_flag=$ac_save_c_werror_flag
16732 CFLAGS="-g"
16733 cat >conftest.$ac_ext <<_ACEOF
16734 /* confdefs.h. */
16735 _ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16739
16740 int
16741 main ()
16742 {
16743
16744 ;
16745 return 0;
16746 }
16747 _ACEOF
16748 rm -f conftest.$ac_objext
16749 if { (ac_try="$ac_compile"
16750 case "(($ac_try" in
16751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16752 *) ac_try_echo=$ac_try;;
16753 esac
16754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16755 (eval "$ac_compile") 2>conftest.er1
16756 ac_status=$?
16757 grep -v '^ *+' conftest.er1 >conftest.err
16758 rm -f conftest.er1
16759 cat conftest.err >&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } && {
16762 test -z "$ac_c_werror_flag" ||
16763 test ! -s conftest.err
16764 } && test -s conftest.$ac_objext; then
16765 ac_cv_prog_cc_g=yes
16766 else
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.$ac_ext >&5
16769
16770
16771 fi
16772
16773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16774 fi
16775
16776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16777 fi
16778
16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16780 ac_c_werror_flag=$ac_save_c_werror_flag
16781 fi
16782 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16783 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16784 if test "$ac_test_CFLAGS" = set; then
16785 CFLAGS=$ac_save_CFLAGS
16786 elif test $ac_cv_prog_cc_g = yes; then
16787 if test "$GCC" = yes; then
16788 CFLAGS="-g -O2"
16789 else
16790 CFLAGS="-g"
16791 fi
16792 else
16793 if test "$GCC" = yes; then
16794 CFLAGS="-O2"
16795 else
16796 CFLAGS=
16797 fi
16798 fi
16799 fi
16800 fi
16801
16802 case `uname -s` in
16803 AIX*)
16804
16805
16806 ac_ext=cpp
16807 ac_cpp='$CXXCPP $CPPFLAGS'
16808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16811
16812 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16813 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16814 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 else
16817 cat >conftest.$ac_ext <<_ACEOF
16818 /* confdefs.h. */
16819 _ACEOF
16820 cat confdefs.h >>conftest.$ac_ext
16821 cat >>conftest.$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823
16824 int
16825 main ()
16826 {
16827
16828 #ifndef __xlC__
16829 choke me
16830 #endif
16831
16832 ;
16833 return 0;
16834 }
16835 _ACEOF
16836 rm -f conftest.$ac_objext
16837 if { (ac_try="$ac_compile"
16838 case "(($ac_try" in
16839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16840 *) ac_try_echo=$ac_try;;
16841 esac
16842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16843 (eval "$ac_compile") 2>conftest.er1
16844 ac_status=$?
16845 grep -v '^ *+' conftest.er1 >conftest.err
16846 rm -f conftest.er1
16847 cat conftest.err >&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } && {
16850 test -z "$ac_cxx_werror_flag" ||
16851 test ! -s conftest.err
16852 } && test -s conftest.$ac_objext; then
16853 bakefile_cv_cxx_compiler___xlC__=yes
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16857
16858 bakefile_cv_cxx_compiler___xlC__=no
16859
16860 fi
16861
16862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16863
16864
16865 fi
16866 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16867 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16868 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16869 :; XLCXX=yes
16870 else
16871 :;
16872 fi
16873 ac_ext=c
16874 ac_cpp='$CPP $CPPFLAGS'
16875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16878
16879
16880
16881 ;;
16882
16883 Darwin)
16884
16885
16886 ac_ext=cpp
16887 ac_cpp='$CXXCPP $CPPFLAGS'
16888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16891
16892 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16893 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16894 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 else
16897 cat >conftest.$ac_ext <<_ACEOF
16898 /* confdefs.h. */
16899 _ACEOF
16900 cat confdefs.h >>conftest.$ac_ext
16901 cat >>conftest.$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16903
16904 int
16905 main ()
16906 {
16907
16908 #ifndef __MWERKS__
16909 choke me
16910 #endif
16911
16912 ;
16913 return 0;
16914 }
16915 _ACEOF
16916 rm -f conftest.$ac_objext
16917 if { (ac_try="$ac_compile"
16918 case "(($ac_try" in
16919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16920 *) ac_try_echo=$ac_try;;
16921 esac
16922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16923 (eval "$ac_compile") 2>conftest.er1
16924 ac_status=$?
16925 grep -v '^ *+' conftest.er1 >conftest.err
16926 rm -f conftest.er1
16927 cat conftest.err >&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } && {
16930 test -z "$ac_cxx_werror_flag" ||
16931 test ! -s conftest.err
16932 } && test -s conftest.$ac_objext; then
16933 bakefile_cv_cxx_compiler___MWERKS__=yes
16934 else
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16937
16938 bakefile_cv_cxx_compiler___MWERKS__=no
16939
16940 fi
16941
16942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16943
16944
16945 fi
16946 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16947 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16948 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16949 :; MWCXX=yes
16950 else
16951 :;
16952 fi
16953 ac_ext=c
16954 ac_cpp='$CPP $CPPFLAGS'
16955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16958
16959
16960
16961
16962
16963 ac_ext=cpp
16964 ac_cpp='$CXXCPP $CPPFLAGS'
16965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16968
16969 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16970 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16971 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 else
16974 cat >conftest.$ac_ext <<_ACEOF
16975 /* confdefs.h. */
16976 _ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980
16981 int
16982 main ()
16983 {
16984
16985 #ifndef __xlC__
16986 choke me
16987 #endif
16988
16989 ;
16990 return 0;
16991 }
16992 _ACEOF
16993 rm -f conftest.$ac_objext
16994 if { (ac_try="$ac_compile"
16995 case "(($ac_try" in
16996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16997 *) ac_try_echo=$ac_try;;
16998 esac
16999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17000 (eval "$ac_compile") 2>conftest.er1
17001 ac_status=$?
17002 grep -v '^ *+' conftest.er1 >conftest.err
17003 rm -f conftest.er1
17004 cat conftest.err >&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } && {
17007 test -z "$ac_cxx_werror_flag" ||
17008 test ! -s conftest.err
17009 } && test -s conftest.$ac_objext; then
17010 bakefile_cv_cxx_compiler___xlC__=yes
17011 else
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17014
17015 bakefile_cv_cxx_compiler___xlC__=no
17016
17017 fi
17018
17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17020
17021
17022 fi
17023 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17024 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17025 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17026 :; XLCXX=yes
17027 else
17028 :;
17029 fi
17030 ac_ext=c
17031 ac_cpp='$CPP $CPPFLAGS'
17032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17035
17036
17037
17038 ;;
17039
17040 IRIX*)
17041
17042
17043 ac_ext=cpp
17044 ac_cpp='$CXXCPP $CPPFLAGS'
17045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17048
17049 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17050 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17051 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 else
17054 cat >conftest.$ac_ext <<_ACEOF
17055 /* confdefs.h. */
17056 _ACEOF
17057 cat confdefs.h >>conftest.$ac_ext
17058 cat >>conftest.$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060
17061 int
17062 main ()
17063 {
17064
17065 #ifndef _SGI_COMPILER_VERSION
17066 choke me
17067 #endif
17068
17069 ;
17070 return 0;
17071 }
17072 _ACEOF
17073 rm -f conftest.$ac_objext
17074 if { (ac_try="$ac_compile"
17075 case "(($ac_try" in
17076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17077 *) ac_try_echo=$ac_try;;
17078 esac
17079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17080 (eval "$ac_compile") 2>conftest.er1
17081 ac_status=$?
17082 grep -v '^ *+' conftest.er1 >conftest.err
17083 rm -f conftest.er1
17084 cat conftest.err >&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } && {
17087 test -z "$ac_cxx_werror_flag" ||
17088 test ! -s conftest.err
17089 } && test -s conftest.$ac_objext; then
17090 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17091 else
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17094
17095 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17096
17097 fi
17098
17099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17100
17101
17102 fi
17103 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17104 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17105 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17106 :; SGICXX=yes
17107 else
17108 :;
17109 fi
17110 ac_ext=c
17111 ac_cpp='$CPP $CPPFLAGS'
17112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17115
17116
17117
17118 ;;
17119
17120 Linux*)
17121
17122
17123 ac_ext=cpp
17124 ac_cpp='$CXXCPP $CPPFLAGS'
17125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17128
17129 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17130 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17131 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17132 echo $ECHO_N "(cached) $ECHO_C" >&6
17133 else
17134 cat >conftest.$ac_ext <<_ACEOF
17135 /* confdefs.h. */
17136 _ACEOF
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140
17141 int
17142 main ()
17143 {
17144
17145 #ifndef __SUNPRO_CC
17146 choke me
17147 #endif
17148
17149 ;
17150 return 0;
17151 }
17152 _ACEOF
17153 rm -f conftest.$ac_objext
17154 if { (ac_try="$ac_compile"
17155 case "(($ac_try" in
17156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17157 *) ac_try_echo=$ac_try;;
17158 esac
17159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17160 (eval "$ac_compile") 2>conftest.er1
17161 ac_status=$?
17162 grep -v '^ *+' conftest.er1 >conftest.err
17163 rm -f conftest.er1
17164 cat conftest.err >&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } && {
17167 test -z "$ac_cxx_werror_flag" ||
17168 test ! -s conftest.err
17169 } && test -s conftest.$ac_objext; then
17170 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17171 else
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17174
17175 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17176
17177 fi
17178
17179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17180
17181
17182 fi
17183 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17184 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17185 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17186 :; SUNCXX=yes
17187 else
17188 :;
17189 fi
17190 ac_ext=c
17191 ac_cpp='$CPP $CPPFLAGS'
17192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17195
17196
17197
17198 ;;
17199
17200 HP-UX*)
17201
17202
17203 ac_ext=cpp
17204 ac_cpp='$CXXCPP $CPPFLAGS'
17205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17208
17209 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17210 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17211 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 else
17214 cat >conftest.$ac_ext <<_ACEOF
17215 /* confdefs.h. */
17216 _ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220
17221 int
17222 main ()
17223 {
17224
17225 #ifndef __HP_aCC
17226 choke me
17227 #endif
17228
17229 ;
17230 return 0;
17231 }
17232 _ACEOF
17233 rm -f conftest.$ac_objext
17234 if { (ac_try="$ac_compile"
17235 case "(($ac_try" in
17236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17237 *) ac_try_echo=$ac_try;;
17238 esac
17239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17240 (eval "$ac_compile") 2>conftest.er1
17241 ac_status=$?
17242 grep -v '^ *+' conftest.er1 >conftest.err
17243 rm -f conftest.er1
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } && {
17247 test -z "$ac_cxx_werror_flag" ||
17248 test ! -s conftest.err
17249 } && test -s conftest.$ac_objext; then
17250 bakefile_cv_cxx_compiler___HP_aCC=yes
17251 else
17252 echo "$as_me: failed program was:" >&5
17253 sed 's/^/| /' conftest.$ac_ext >&5
17254
17255 bakefile_cv_cxx_compiler___HP_aCC=no
17256
17257 fi
17258
17259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17260
17261
17262 fi
17263 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17264 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17265 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17266 :; HPCXX=yes
17267 else
17268 :;
17269 fi
17270 ac_ext=c
17271 ac_cpp='$CPP $CPPFLAGS'
17272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17275
17276
17277
17278 ;;
17279
17280 OSF1)
17281
17282
17283 ac_ext=cpp
17284 ac_cpp='$CXXCPP $CPPFLAGS'
17285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17288
17289 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17290 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17291 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 else
17294 cat >conftest.$ac_ext <<_ACEOF
17295 /* confdefs.h. */
17296 _ACEOF
17297 cat confdefs.h >>conftest.$ac_ext
17298 cat >>conftest.$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300
17301 int
17302 main ()
17303 {
17304
17305 #ifndef __DECCXX
17306 choke me
17307 #endif
17308
17309 ;
17310 return 0;
17311 }
17312 _ACEOF
17313 rm -f conftest.$ac_objext
17314 if { (ac_try="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17318 esac
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17321 ac_status=$?
17322 grep -v '^ *+' conftest.er1 >conftest.err
17323 rm -f conftest.er1
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_cxx_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.$ac_objext; then
17330 bakefile_cv_cxx_compiler___DECCXX=yes
17331 else
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17334
17335 bakefile_cv_cxx_compiler___DECCXX=no
17336
17337 fi
17338
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340
17341
17342 fi
17343 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17344 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17345 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17346 :; COMPAQCXX=yes
17347 else
17348 :;
17349 fi
17350 ac_ext=c
17351 ac_cpp='$CPP $CPPFLAGS'
17352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17355
17356
17357
17358 ;;
17359
17360 SunOS)
17361
17362
17363 ac_ext=cpp
17364 ac_cpp='$CXXCPP $CPPFLAGS'
17365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17368
17369 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17370 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17371 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17372 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 else
17374 cat >conftest.$ac_ext <<_ACEOF
17375 /* confdefs.h. */
17376 _ACEOF
17377 cat confdefs.h >>conftest.$ac_ext
17378 cat >>conftest.$ac_ext <<_ACEOF
17379 /* end confdefs.h. */
17380
17381 int
17382 main ()
17383 {
17384
17385 #ifndef __SUNPRO_CC
17386 choke me
17387 #endif
17388
17389 ;
17390 return 0;
17391 }
17392 _ACEOF
17393 rm -f conftest.$ac_objext
17394 if { (ac_try="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17398 esac
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_cxx_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.$ac_objext; then
17410 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17414
17415 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17416
17417 fi
17418
17419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17420
17421
17422 fi
17423 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17424 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17425 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17426 :; SUNCXX=yes
17427 else
17428 :;
17429 fi
17430 ac_ext=c
17431 ac_cpp='$CPP $CPPFLAGS'
17432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435
17436
17437
17438 ;;
17439 esac
17440 fi
17441
17442
17443
17444 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17445 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17446 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17447 { (exit 1); exit 1; }; }
17448 fi
17449
17450 if test "x$SUNCXX" != xyes; then
17451 if test -n "$ac_tool_prefix"; then
17452 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17453 set dummy ${ac_tool_prefix}ar; ac_word=$2
17454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17456 if test "${ac_cv_prog_AR+set}" = set; then
17457 echo $ECHO_N "(cached) $ECHO_C" >&6
17458 else
17459 if test -n "$AR"; then
17460 ac_cv_prog_AR="$AR" # Let the user override the test.
17461 else
17462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17463 for as_dir in $PATH
17464 do
17465 IFS=$as_save_IFS
17466 test -z "$as_dir" && as_dir=.
17467 for ac_exec_ext in '' $ac_executable_extensions; do
17468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17469 ac_cv_prog_AR="${ac_tool_prefix}ar"
17470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17471 break 2
17472 fi
17473 done
17474 done
17475 IFS=$as_save_IFS
17476
17477 fi
17478 fi
17479 AR=$ac_cv_prog_AR
17480 if test -n "$AR"; then
17481 { echo "$as_me:$LINENO: result: $AR" >&5
17482 echo "${ECHO_T}$AR" >&6; }
17483 else
17484 { echo "$as_me:$LINENO: result: no" >&5
17485 echo "${ECHO_T}no" >&6; }
17486 fi
17487
17488
17489 fi
17490 if test -z "$ac_cv_prog_AR"; then
17491 ac_ct_AR=$AR
17492 # Extract the first word of "ar", so it can be a program name with args.
17493 set dummy ar; ac_word=$2
17494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17496 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 else
17499 if test -n "$ac_ct_AR"; then
17500 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17501 else
17502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17503 for as_dir in $PATH
17504 do
17505 IFS=$as_save_IFS
17506 test -z "$as_dir" && as_dir=.
17507 for ac_exec_ext in '' $ac_executable_extensions; do
17508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17509 ac_cv_prog_ac_ct_AR="ar"
17510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17511 break 2
17512 fi
17513 done
17514 done
17515 IFS=$as_save_IFS
17516
17517 fi
17518 fi
17519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17520 if test -n "$ac_ct_AR"; then
17521 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17522 echo "${ECHO_T}$ac_ct_AR" >&6; }
17523 else
17524 { echo "$as_me:$LINENO: result: no" >&5
17525 echo "${ECHO_T}no" >&6; }
17526 fi
17527
17528 if test "x$ac_ct_AR" = x; then
17529 AR=""
17530 else
17531 case $cross_compiling:$ac_tool_warned in
17532 yes:)
17533 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17534 whose name does not start with the host triplet. If you think this
17535 configuration is useful to you, please write to autoconf@gnu.org." >&5
17536 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17537 whose name does not start with the host triplet. If you think this
17538 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17539 ac_tool_warned=yes ;;
17540 esac
17541 AR=$ac_ct_AR
17542 fi
17543 else
17544 AR="$ac_cv_prog_AR"
17545 fi
17546
17547 if test "x$AR" = "x" ; then
17548 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17549 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17550 { (exit 1); exit 1; }; }
17551 fi
17552 fi
17553
17554 retest_macosx_linking=no
17555
17556 #if test "$wxUSE_MAC" = 1; then
17557 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17558 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17559 # Implicitly turn on the new --with-macosx-sdk using the default
17560 # SDK which provides the behavior this option has always had.
17561 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17562 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17563 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17564 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17565 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17566 wxUSE_MACOSX_SDK=yes
17567 fi
17568 else
17569 # Complain to user if he specified an argument to --enable-universal_binary
17570 # and also 1) specified --with-macosx-sdk using the default (yes) or
17571 # 2) specified --with-macosx-sdk using a path or 3) specified
17572 # --without-macosx-sdk (no).
17573 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17574 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17575 See \`config.log' for more details." >&5
17576 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17577 See \`config.log' for more details." >&2;}
17578 { (exit 1); exit 1; }; }
17579 else
17580 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17581 # special-case the empty string because the below test simply
17582 # converts "no" to the empty string anyway.
17583 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17584 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17585 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17586 fi
17587 fi
17588 OSX_UNIV_OPTS="-arch ppc -arch i386"
17589 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17590 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17591 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17592 retest_macosx_linking=yes
17593
17594 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17595 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17596 bk_use_pch=no
17597 fi
17598 #fi
17599
17600 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17601 wxUSE_MACOSX_SDK=
17602 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17603 # TODO: Search for most recent SDK and use it.
17604 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17605 fi
17606
17607
17608 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17609 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17610 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17611 if ! test -d "$wxUSE_MACOSX_SDK"; then
17612 { { echo "$as_me:$LINENO: error: not found
17613 See \`config.log' for more details." >&5
17614 echo "$as_me: error: not found
17615 See \`config.log' for more details." >&2;}
17616 { (exit 1); exit 1; }; }
17617 else
17618 { echo "$as_me:$LINENO: result: exists" >&5
17619 echo "${ECHO_T}exists" >&6; }
17620 fi
17621 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17622 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17623 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17624 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17625 retest_macosx_linking=yes
17626 fi
17627
17628 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17629 wxUSE_MACOSX_VERSION_MIN=
17630 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17631 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17632 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17633 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17634
17635 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/'`
17636
17637 # If that failed, try again with the new key
17638 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17639
17640 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/'`
17641
17642 fi
17643
17644 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17645 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17646 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17647 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17648 else
17649 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17650 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17651 wxUSE_MACOSX_VERSION_MIN=
17652 fi
17653 else
17654 wxUSE_MACOSX_VERSION_MIN=
17655 fi
17656 fi
17657
17658 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17659 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17660 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17661 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17662 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17663 retest_macosx_linking=yes
17664 fi
17665
17666 if test "x$retest_macosx_linking" = "xyes"; then
17667 ac_ext=c
17668 ac_cpp='$CPP $CPPFLAGS'
17669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17672
17673 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17674 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17675 cat >conftest.$ac_ext <<_ACEOF
17676 /* confdefs.h. */
17677 _ACEOF
17678 cat confdefs.h >>conftest.$ac_ext
17679 cat >>conftest.$ac_ext <<_ACEOF
17680 /* end confdefs.h. */
17681
17682 int
17683 main ()
17684 {
17685
17686 ;
17687 return 0;
17688 }
17689 _ACEOF
17690 rm -f conftest.$ac_objext conftest$ac_exeext
17691 if { (ac_try="$ac_link"
17692 case "(($ac_try" in
17693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17694 *) ac_try_echo=$ac_try;;
17695 esac
17696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17697 (eval "$ac_link") 2>conftest.er1
17698 ac_status=$?
17699 grep -v '^ *+' conftest.er1 >conftest.err
17700 rm -f conftest.er1
17701 cat conftest.err >&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } && {
17704 test -z "$ac_c_werror_flag" ||
17705 test ! -s conftest.err
17706 } && test -s conftest$ac_exeext &&
17707 $as_test_x conftest$ac_exeext; then
17708 { echo "$as_me:$LINENO: result: yes" >&5
17709 echo "${ECHO_T}yes" >&6; }
17710 else
17711 echo "$as_me: failed program was:" >&5
17712 sed 's/^/| /' conftest.$ac_ext >&5
17713
17714 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17715 See \`config.log' for more details." >&5
17716 echo "$as_me: error: no. Try a different SDK
17717 See \`config.log' for more details." >&2;}
17718 { (exit 1); exit 1; }; }; exit 1
17719 fi
17720
17721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17722 conftest$ac_exeext conftest.$ac_ext
17723 ac_ext=c
17724 ac_cpp='$CPP $CPPFLAGS'
17725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17728
17729
17730 ac_ext=cpp
17731 ac_cpp='$CXXCPP $CPPFLAGS'
17732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17735
17736 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17737 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17738 cat >conftest.$ac_ext <<_ACEOF
17739 /* confdefs.h. */
17740 _ACEOF
17741 cat confdefs.h >>conftest.$ac_ext
17742 cat >>conftest.$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17744
17745 int
17746 main ()
17747 {
17748
17749 ;
17750 return 0;
17751 }
17752 _ACEOF
17753 rm -f conftest.$ac_objext conftest$ac_exeext
17754 if { (ac_try="$ac_link"
17755 case "(($ac_try" in
17756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17757 *) ac_try_echo=$ac_try;;
17758 esac
17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17760 (eval "$ac_link") 2>conftest.er1
17761 ac_status=$?
17762 grep -v '^ *+' conftest.er1 >conftest.err
17763 rm -f conftest.er1
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } && {
17767 test -z "$ac_cxx_werror_flag" ||
17768 test ! -s conftest.err
17769 } && test -s conftest$ac_exeext &&
17770 $as_test_x conftest$ac_exeext; then
17771 { echo "$as_me:$LINENO: result: yes" >&5
17772 echo "${ECHO_T}yes" >&6; }
17773 else
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.$ac_ext >&5
17776
17777 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17778 See \`config.log' for more details." >&5
17779 echo "$as_me: error: no. Try a different SDK
17780 See \`config.log' for more details." >&2;}
17781 { (exit 1); exit 1; }; }; exit 1
17782 fi
17783
17784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17785 conftest$ac_exeext conftest.$ac_ext
17786 ac_ext=c
17787 ac_cpp='$CPP $CPPFLAGS'
17788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17791
17792 fi
17793
17794
17795 case "${host}" in
17796
17797 *-*-darwin* )
17798 INSTALL_PROGRAM="cp -fp"
17799 INSTALL_DATA="cp -fp"
17800 ;;
17801 *)
17802 ;;
17803 esac
17804
17805
17806 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17807 CXXFLAGS="-qunique $CXXFLAGS"
17808 fi
17809
17810 case "${host}" in
17811 powerpc-*-darwin* )
17812 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17813 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17814 cat >conftest.$ac_ext <<_ACEOF
17815 /* confdefs.h. */
17816 _ACEOF
17817 cat confdefs.h >>conftest.$ac_ext
17818 cat >>conftest.$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17820
17821 int
17822 main ()
17823 {
17824 #ifndef __POWERPC__
17825 choke me for lack of PowerPC
17826 #endif
17827
17828 ;
17829 return 0;
17830 }
17831 _ACEOF
17832 rm -f conftest.$ac_objext
17833 if { (ac_try="$ac_compile"
17834 case "(($ac_try" in
17835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17836 *) ac_try_echo=$ac_try;;
17837 esac
17838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17839 (eval "$ac_compile") 2>conftest.er1
17840 ac_status=$?
17841 grep -v '^ *+' conftest.er1 >conftest.err
17842 rm -f conftest.er1
17843 cat conftest.err >&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } && {
17846 test -z "$ac_c_werror_flag" ||
17847 test ! -s conftest.err
17848 } && test -s conftest.$ac_objext; then
17849 { echo "$as_me:$LINENO: result: yes" >&5
17850 echo "${ECHO_T}yes" >&6; }
17851 else
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.$ac_ext >&5
17854
17855 { echo "$as_me:$LINENO: result: no" >&5
17856 echo "${ECHO_T}no" >&6; }
17857 cat >>confdefs.h <<\_ACEOF
17858 #define __POWERPC__ 1
17859 _ACEOF
17860
17861
17862 fi
17863
17864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17865 ;;
17866 esac
17867
17868 case "${host}" in
17869 *-*-darwin* )
17870 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17871 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17872 cat >conftest.$ac_ext <<_ACEOF
17873 /* confdefs.h. */
17874 _ACEOF
17875 cat confdefs.h >>conftest.$ac_ext
17876 cat >>conftest.$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17878 #include <CoreFoundation/CFBase.h>
17879
17880 int
17881 main ()
17882 {
17883
17884 ;
17885 return 0;
17886 }
17887 _ACEOF
17888 rm -f conftest.$ac_objext
17889 if { (ac_try="$ac_compile"
17890 case "(($ac_try" in
17891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17892 *) ac_try_echo=$ac_try;;
17893 esac
17894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17895 (eval "$ac_compile") 2>conftest.er1
17896 ac_status=$?
17897 grep -v '^ *+' conftest.er1 >conftest.err
17898 rm -f conftest.er1
17899 cat conftest.err >&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); } && {
17902 test -z "$ac_c_werror_flag" ||
17903 test ! -s conftest.err
17904 } && test -s conftest.$ac_objext; then
17905 { echo "$as_me:$LINENO: result: yes" >&5
17906 echo "${ECHO_T}yes" >&6; }
17907 else
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17910
17911 { echo "$as_me:$LINENO: result: no" >&5
17912 echo "${ECHO_T}no" >&6; }
17913 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17914 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17915 cat >conftest.$ac_ext <<_ACEOF
17916 /* confdefs.h. */
17917 _ACEOF
17918 cat confdefs.h >>conftest.$ac_ext
17919 cat >>conftest.$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17921 #define __CF_USE_FRAMEWORK_INCLUDES__
17922 #include <CoreFoundation/CFBase.h>
17923
17924 int
17925 main ()
17926 {
17927
17928 ;
17929 return 0;
17930 }
17931 _ACEOF
17932 rm -f conftest.$ac_objext
17933 if { (ac_try="$ac_compile"
17934 case "(($ac_try" in
17935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17936 *) ac_try_echo=$ac_try;;
17937 esac
17938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17939 (eval "$ac_compile") 2>conftest.er1
17940 ac_status=$?
17941 grep -v '^ *+' conftest.er1 >conftest.err
17942 rm -f conftest.er1
17943 cat conftest.err >&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } && {
17946 test -z "$ac_c_werror_flag" ||
17947 test ! -s conftest.err
17948 } && test -s conftest.$ac_objext; then
17949 { echo "$as_me:$LINENO: result: yes" >&5
17950 echo "${ECHO_T}yes" >&6; }
17951 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17952 else
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17955
17956 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17957 See \`config.log' for more details." >&5
17958 echo "$as_me: error: no. CoreFoundation not available.
17959 See \`config.log' for more details." >&2;}
17960 { (exit 1); exit 1; }; }
17961
17962 fi
17963
17964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17965
17966
17967 fi
17968
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 ;;
17971 esac
17972
17973 wants_win32=0
17974 doesnt_want_win32=0
17975 case "${host}" in
17976 *-*-cygwin*)
17977 if test "$wxUSE_MSW" = 1 ; then
17978 wants_win32=1
17979 else
17980 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17981 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17982 if test "${wx_cv_nocygwin+set}" = set; then
17983 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 else
17985
17986 cat >conftest.$ac_ext <<_ACEOF
17987 /* confdefs.h. */
17988 _ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17992
17993 int
17994 main ()
17995 {
17996
17997 #ifdef __MINGW32__
17998 choke me
17999 #endif
18000
18001 ;
18002 return 0;
18003 }
18004 _ACEOF
18005 rm -f conftest.$ac_objext
18006 if { (ac_try="$ac_compile"
18007 case "(($ac_try" in
18008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18009 *) ac_try_echo=$ac_try;;
18010 esac
18011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18012 (eval "$ac_compile") 2>conftest.er1
18013 ac_status=$?
18014 grep -v '^ *+' conftest.er1 >conftest.err
18015 rm -f conftest.er1
18016 cat conftest.err >&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); } && {
18019 test -z "$ac_c_werror_flag" ||
18020 test ! -s conftest.err
18021 } && test -s conftest.$ac_objext; then
18022 wx_cv_nocygwin=no
18023 else
18024 echo "$as_me: failed program was:" >&5
18025 sed 's/^/| /' conftest.$ac_ext >&5
18026
18027 wx_cv_nocygwin=yes
18028
18029 fi
18030
18031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18032
18033
18034 fi
18035 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18036 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18037
18038 if test "$wx_cv_nocygwin" = "yes"; then
18039 wants_win32=1
18040 else
18041 doesnt_want_win32=1
18042 fi
18043 fi
18044 if test "$wants_win32" = 1 ; then
18045 BAKEFILE_FORCE_PLATFORM=win32
18046 fi
18047 ;;
18048 *-*-mingw*)
18049 wants_win32=1
18050 ;;
18051 esac
18052
18053 if test "$wxUSE_WINE" = "yes"; then
18054 wants_win32=1
18055 LDFLAGS_GUI="-mwindows"
18056 fi
18057
18058 if test "$wants_win32" = 1 ; then
18059 USE_UNIX=0
18060 USE_WIN32=1
18061 cat >>confdefs.h <<\_ACEOF
18062 #define __WIN32__ 1
18063 _ACEOF
18064
18065 cat >>confdefs.h <<\_ACEOF
18066 #define __WIN95__ 1
18067 _ACEOF
18068
18069 cat >>confdefs.h <<\_ACEOF
18070 #define __WINDOWS__ 1
18071 _ACEOF
18072
18073 cat >>confdefs.h <<\_ACEOF
18074 #define __GNUWIN32__ 1
18075 _ACEOF
18076
18077 cat >>confdefs.h <<\_ACEOF
18078 #define STRICT 1
18079 _ACEOF
18080
18081 fi
18082 if test "$doesnt_want_win32" = 1 ; then
18083 USE_UNIX=1
18084 USE_WIN32=0
18085 fi
18086
18087 if test "$USE_UNIX" = 1 ; then
18088 wxUSE_UNIX=yes
18089 cat >>confdefs.h <<\_ACEOF
18090 #define __UNIX__ 1
18091 _ACEOF
18092
18093 fi
18094
18095 case "${host}" in
18096 *-pc-os2_emx | *-pc-os2-emx )
18097 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18098 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18099 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18100 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18101 echo $ECHO_N "(cached) $ECHO_C" >&6
18102 else
18103 ac_check_lib_save_LIBS=$LIBS
18104 LIBS="-lcExt $LIBS"
18105 cat >conftest.$ac_ext <<_ACEOF
18106 /* confdefs.h. */
18107 _ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111
18112 /* Override any GCC internal prototype to avoid an error.
18113 Use char because int might match the return type of a GCC
18114 builtin and then its argument prototype would still apply. */
18115 #ifdef __cplusplus
18116 extern "C"
18117 #endif
18118 char drand48 ();
18119 int
18120 main ()
18121 {
18122 return drand48 ();
18123 ;
18124 return 0;
18125 }
18126 _ACEOF
18127 rm -f conftest.$ac_objext conftest$ac_exeext
18128 if { (ac_try="$ac_link"
18129 case "(($ac_try" in
18130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18131 *) ac_try_echo=$ac_try;;
18132 esac
18133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_link") 2>conftest.er1
18135 ac_status=$?
18136 grep -v '^ *+' conftest.er1 >conftest.err
18137 rm -f conftest.er1
18138 cat conftest.err >&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } && {
18141 test -z "$ac_c_werror_flag" ||
18142 test ! -s conftest.err
18143 } && test -s conftest$ac_exeext &&
18144 $as_test_x conftest$ac_exeext; then
18145 ac_cv_lib_cExt_drand48=yes
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18149
18150 ac_cv_lib_cExt_drand48=no
18151 fi
18152
18153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18154 conftest$ac_exeext conftest.$ac_ext
18155 LIBS=$ac_check_lib_save_LIBS
18156 fi
18157 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18158 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18159 if test $ac_cv_lib_cExt_drand48 = yes; then
18160 LIBS="$LIBS -lcExt"
18161 fi
18162
18163 else
18164 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18165 fi
18166 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18167 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18168 if test "${wx_cv_gccversion+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18171
18172 if test "$cross_compiling" = yes; then
18173 wx_cv_gccversion="EMX2"
18174
18175 else
18176 cat >conftest.$ac_ext <<_ACEOF
18177 /* confdefs.h. */
18178 _ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182
18183 #include <stdio.h>
18184
18185 int main()
18186 {
18187 FILE *f=fopen("conftestval", "w");
18188 if (!f) exit(1);
18189 fprintf(f,
18190 #if (__GNUC__ < 3)
18191 "EMX2"
18192 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18193 "EMX3"
18194 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18195 "Innotek5"
18196 #else
18197 "Innotek6"
18198 #endif
18199 );
18200 exit(0);
18201 }
18202
18203 _ACEOF
18204 rm -f conftest$ac_exeext
18205 if { (ac_try="$ac_link"
18206 case "(($ac_try" in
18207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18208 *) ac_try_echo=$ac_try;;
18209 esac
18210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18211 (eval "$ac_link") 2>&5
18212 ac_status=$?
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18215 { (case "(($ac_try" in
18216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18217 *) ac_try_echo=$ac_try;;
18218 esac
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_try") 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 wx_cv_gccversion=`cat conftestval`
18225 else
18226 echo "$as_me: program exited with status $ac_status" >&5
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.$ac_ext >&5
18229
18230 ( exit $ac_status )
18231 wx_cv_gccversion="EMX2"
18232 fi
18233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18234 fi
18235
18236
18237
18238 fi
18239 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18240 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18241 if test "$wx_cv_gccversion" = "EMX2"; then
18242 LIBS="$LIBS -lstdcpp"
18243 LDFLAGS="$LDFLAGS -Zsysv-signals"
18244 else
18245 if test "$wx_cv_gccversion" = "EMX3"; then
18246 LIBS="$LIBS -lstdcxx -lgcc"
18247 LDFLAGS="$LDFLAGS -Zsysv-signals"
18248 else
18249 LIBS="$LIBS -lstdc++"
18250 fi
18251 fi
18252 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18253 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18254 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18255 wxUSE_OMF=yes
18256 enable_omf=yes
18257 fi
18258 ;;
18259 *)
18260
18261 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18262 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18263 if test "${ac_cv_string_strcasecmp+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 else
18266
18267 cat >conftest.$ac_ext <<_ACEOF
18268 /* confdefs.h. */
18269 _ACEOF
18270 cat confdefs.h >>conftest.$ac_ext
18271 cat >>conftest.$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18273
18274 #include <string.h>
18275
18276 int
18277 main ()
18278 {
18279
18280 strcasecmp("foo", "bar");
18281
18282 ;
18283 return 0;
18284 }
18285 _ACEOF
18286 rm -f conftest.$ac_objext conftest$ac_exeext
18287 if { (ac_try="$ac_link"
18288 case "(($ac_try" in
18289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18290 *) ac_try_echo=$ac_try;;
18291 esac
18292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18293 (eval "$ac_link") 2>conftest.er1
18294 ac_status=$?
18295 grep -v '^ *+' conftest.er1 >conftest.err
18296 rm -f conftest.er1
18297 cat conftest.err >&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } && {
18300 test -z "$ac_c_werror_flag" ||
18301 test ! -s conftest.err
18302 } && test -s conftest$ac_exeext &&
18303 $as_test_x conftest$ac_exeext; then
18304 ac_cv_string_strcasecmp=yes
18305 else
18306 echo "$as_me: failed program was:" >&5
18307 sed 's/^/| /' conftest.$ac_ext >&5
18308
18309 ac_cv_string_strcasecmp=no
18310
18311 fi
18312
18313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18314 conftest$ac_exeext conftest.$ac_ext
18315
18316 fi
18317 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18318 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18319
18320 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18321 cat >>confdefs.h <<\_ACEOF
18322 #define HAVE_STRCASECMP_IN_STRING_H 1
18323 _ACEOF
18324
18325 else
18326 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18327 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18328 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 else
18331
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338
18339 #include <strings.h>
18340
18341 int
18342 main ()
18343 {
18344
18345 strcasecmp("foo", "bar");
18346
18347 ;
18348 return 0;
18349 }
18350 _ACEOF
18351 rm -f conftest.$ac_objext conftest$ac_exeext
18352 if { (ac_try="$ac_link"
18353 case "(($ac_try" in
18354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18355 *) ac_try_echo=$ac_try;;
18356 esac
18357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18358 (eval "$ac_link") 2>conftest.er1
18359 ac_status=$?
18360 grep -v '^ *+' conftest.er1 >conftest.err
18361 rm -f conftest.er1
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } && {
18365 test -z "$ac_c_werror_flag" ||
18366 test ! -s conftest.err
18367 } && test -s conftest$ac_exeext &&
18368 $as_test_x conftest$ac_exeext; then
18369 ac_cv_strings_strcasecmp=yes
18370 else
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18373
18374 ac_cv_strings_strcasecmp=no
18375
18376 fi
18377
18378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18379 conftest$ac_exeext conftest.$ac_ext
18380
18381 fi
18382 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18383 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18384
18385 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18386 cat >>confdefs.h <<\_ACEOF
18387 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18388 _ACEOF
18389
18390 else
18391 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18392 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18393 { (exit 1); exit 1; }; }
18394 fi
18395 fi
18396
18397 ;;
18398 esac
18399
18400
18401 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18402 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18403 if test "${ac_cv_header_stdc+set}" = set; then
18404 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 else
18406 cat >conftest.$ac_ext <<_ACEOF
18407 /* confdefs.h. */
18408 _ACEOF
18409 cat confdefs.h >>conftest.$ac_ext
18410 cat >>conftest.$ac_ext <<_ACEOF
18411 /* end confdefs.h. */
18412 #include <stdlib.h>
18413 #include <stdarg.h>
18414 #include <string.h>
18415 #include <float.h>
18416
18417 int
18418 main ()
18419 {
18420
18421 ;
18422 return 0;
18423 }
18424 _ACEOF
18425 rm -f conftest.$ac_objext
18426 if { (ac_try="$ac_compile"
18427 case "(($ac_try" in
18428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18429 *) ac_try_echo=$ac_try;;
18430 esac
18431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18432 (eval "$ac_compile") 2>conftest.er1
18433 ac_status=$?
18434 grep -v '^ *+' conftest.er1 >conftest.err
18435 rm -f conftest.er1
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } && {
18439 test -z "$ac_c_werror_flag" ||
18440 test ! -s conftest.err
18441 } && test -s conftest.$ac_objext; then
18442 ac_cv_header_stdc=yes
18443 else
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18446
18447 ac_cv_header_stdc=no
18448 fi
18449
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451
18452 if test $ac_cv_header_stdc = yes; then
18453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18454 cat >conftest.$ac_ext <<_ACEOF
18455 /* confdefs.h. */
18456 _ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 #include <string.h>
18461
18462 _ACEOF
18463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18464 $EGREP "memchr" >/dev/null 2>&1; then
18465 :
18466 else
18467 ac_cv_header_stdc=no
18468 fi
18469 rm -f conftest*
18470
18471 fi
18472
18473 if test $ac_cv_header_stdc = yes; then
18474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18475 cat >conftest.$ac_ext <<_ACEOF
18476 /* confdefs.h. */
18477 _ACEOF
18478 cat confdefs.h >>conftest.$ac_ext
18479 cat >>conftest.$ac_ext <<_ACEOF
18480 /* end confdefs.h. */
18481 #include <stdlib.h>
18482
18483 _ACEOF
18484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18485 $EGREP "free" >/dev/null 2>&1; then
18486 :
18487 else
18488 ac_cv_header_stdc=no
18489 fi
18490 rm -f conftest*
18491
18492 fi
18493
18494 if test $ac_cv_header_stdc = yes; then
18495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18496 if test "$cross_compiling" = yes; then
18497 :
18498 else
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h. */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 #include <ctype.h>
18506 #include <stdlib.h>
18507 #if ((' ' & 0x0FF) == 0x020)
18508 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18509 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18510 #else
18511 # define ISLOWER(c) \
18512 (('a' <= (c) && (c) <= 'i') \
18513 || ('j' <= (c) && (c) <= 'r') \
18514 || ('s' <= (c) && (c) <= 'z'))
18515 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18516 #endif
18517
18518 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18519 int
18520 main ()
18521 {
18522 int i;
18523 for (i = 0; i < 256; i++)
18524 if (XOR (islower (i), ISLOWER (i))
18525 || toupper (i) != TOUPPER (i))
18526 return 2;
18527 return 0;
18528 }
18529 _ACEOF
18530 rm -f conftest$ac_exeext
18531 if { (ac_try="$ac_link"
18532 case "(($ac_try" in
18533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18534 *) ac_try_echo=$ac_try;;
18535 esac
18536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18537 (eval "$ac_link") 2>&5
18538 ac_status=$?
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18541 { (case "(($ac_try" in
18542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18543 *) ac_try_echo=$ac_try;;
18544 esac
18545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18546 (eval "$ac_try") 2>&5
18547 ac_status=$?
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; }; then
18550 :
18551 else
18552 echo "$as_me: program exited with status $ac_status" >&5
18553 echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18555
18556 ( exit $ac_status )
18557 ac_cv_header_stdc=no
18558 fi
18559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18560 fi
18561
18562
18563 fi
18564 fi
18565 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18566 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18567 if test $ac_cv_header_stdc = yes; then
18568
18569 cat >>confdefs.h <<\_ACEOF
18570 #define STDC_HEADERS 1
18571 _ACEOF
18572
18573 fi
18574
18575 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18586 inttypes.h stdint.h unistd.h
18587 do
18588 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18589 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18592 echo $ECHO_N "(cached) $ECHO_C" >&6
18593 else
18594 cat >conftest.$ac_ext <<_ACEOF
18595 /* confdefs.h. */
18596 _ACEOF
18597 cat confdefs.h >>conftest.$ac_ext
18598 cat >>conftest.$ac_ext <<_ACEOF
18599 /* end confdefs.h. */
18600 $ac_includes_default
18601
18602 #include <$ac_header>
18603 _ACEOF
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18609 esac
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18612 ac_status=$?
18613 grep -v '^ *+' conftest.er1 >conftest.err
18614 rm -f conftest.er1
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_c_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.$ac_objext; then
18621 eval "$as_ac_Header=yes"
18622 else
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18625
18626 eval "$as_ac_Header=no"
18627 fi
18628
18629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18630 fi
18631 ac_res=`eval echo '${'$as_ac_Header'}'`
18632 { echo "$as_me:$LINENO: result: $ac_res" >&5
18633 echo "${ECHO_T}$ac_res" >&6; }
18634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18635 cat >>confdefs.h <<_ACEOF
18636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18637 _ACEOF
18638
18639 fi
18640
18641 done
18642
18643
18644
18645
18646 for ac_header in langinfo.h wchar.h
18647 do
18648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18649 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18652 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 else
18654 cat >conftest.$ac_ext <<_ACEOF
18655 /* confdefs.h. */
18656 _ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18661
18662 #include <$ac_header>
18663 _ACEOF
18664 rm -f conftest.$ac_objext
18665 if { (ac_try="$ac_compile"
18666 case "(($ac_try" in
18667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18668 *) ac_try_echo=$ac_try;;
18669 esac
18670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18671 (eval "$ac_compile") 2>conftest.er1
18672 ac_status=$?
18673 grep -v '^ *+' conftest.er1 >conftest.err
18674 rm -f conftest.er1
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } && {
18678 test -z "$ac_c_werror_flag" ||
18679 test ! -s conftest.err
18680 } && test -s conftest.$ac_objext; then
18681 eval "$as_ac_Header=yes"
18682 else
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18685
18686 eval "$as_ac_Header=no"
18687 fi
18688
18689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18690 fi
18691 ac_res=`eval echo '${'$as_ac_Header'}'`
18692 { echo "$as_me:$LINENO: result: $ac_res" >&5
18693 echo "${ECHO_T}$ac_res" >&6; }
18694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18695 cat >>confdefs.h <<_ACEOF
18696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18697 _ACEOF
18698
18699 fi
18700
18701 done
18702
18703
18704 if test "$ac_cv_header_wchar_h" != "yes"; then
18705
18706 for ac_header in wcstr.h
18707 do
18708 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18709 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 else
18714 cat >conftest.$ac_ext <<_ACEOF
18715 /* confdefs.h. */
18716 _ACEOF
18717 cat confdefs.h >>conftest.$ac_ext
18718 cat >>conftest.$ac_ext <<_ACEOF
18719 /* end confdefs.h. */
18720 $ac_includes_default
18721
18722 #include <$ac_header>
18723 _ACEOF
18724 rm -f conftest.$ac_objext
18725 if { (ac_try="$ac_compile"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_compile") 2>conftest.er1
18732 ac_status=$?
18733 grep -v '^ *+' conftest.er1 >conftest.err
18734 rm -f conftest.er1
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } && {
18738 test -z "$ac_c_werror_flag" ||
18739 test ! -s conftest.err
18740 } && test -s conftest.$ac_objext; then
18741 eval "$as_ac_Header=yes"
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18745
18746 eval "$as_ac_Header=no"
18747 fi
18748
18749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 fi
18751 ac_res=`eval echo '${'$as_ac_Header'}'`
18752 { echo "$as_me:$LINENO: result: $ac_res" >&5
18753 echo "${ECHO_T}$ac_res" >&6; }
18754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18755 cat >>confdefs.h <<_ACEOF
18756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18757 _ACEOF
18758
18759 fi
18760
18761 done
18762
18763 fi
18764
18765 case "${host}" in
18766 *-pc-os2_emx | *-pc-os2-emx )
18767 if test $ac_cv_header_langinfo_h = "yes" \
18768 -a \( "$wx_cv_gccversion" = "EMX2" \
18769 -o "$wx_cv_gccversion" = "EMX3" \
18770 -o "$wx_cv_gccversion" = "Innotek5" \); then
18771 LIBS="$LIBS -lintl"
18772 fi
18773 ;;
18774 esac
18775
18776 if test "$USE_UNIX" = 1 ; then
18777
18778 for ac_header in sys/select.h
18779 do
18780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18781 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18784 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 else
18786 cat >conftest.$ac_ext <<_ACEOF
18787 /* confdefs.h. */
18788 _ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 $ac_includes_default
18793
18794 #include <$ac_header>
18795 _ACEOF
18796 rm -f conftest.$ac_objext
18797 if { (ac_try="$ac_compile"
18798 case "(($ac_try" in
18799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18800 *) ac_try_echo=$ac_try;;
18801 esac
18802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18803 (eval "$ac_compile") 2>conftest.er1
18804 ac_status=$?
18805 grep -v '^ *+' conftest.er1 >conftest.err
18806 rm -f conftest.er1
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } && {
18810 test -z "$ac_c_werror_flag" ||
18811 test ! -s conftest.err
18812 } && test -s conftest.$ac_objext; then
18813 eval "$as_ac_Header=yes"
18814 else
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18817
18818 eval "$as_ac_Header=no"
18819 fi
18820
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18822 fi
18823 ac_res=`eval echo '${'$as_ac_Header'}'`
18824 { echo "$as_me:$LINENO: result: $ac_res" >&5
18825 echo "${ECHO_T}$ac_res" >&6; }
18826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18827 cat >>confdefs.h <<_ACEOF
18828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18829 _ACEOF
18830
18831 fi
18832
18833 done
18834
18835 fi
18836
18837
18838 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18839 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18840 if test "${ac_cv_c_const+set}" = set; then
18841 echo $ECHO_N "(cached) $ECHO_C" >&6
18842 else
18843 cat >conftest.$ac_ext <<_ACEOF
18844 /* confdefs.h. */
18845 _ACEOF
18846 cat confdefs.h >>conftest.$ac_ext
18847 cat >>conftest.$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18849
18850 int
18851 main ()
18852 {
18853 /* FIXME: Include the comments suggested by Paul. */
18854 #ifndef __cplusplus
18855 /* Ultrix mips cc rejects this. */
18856 typedef int charset[2];
18857 const charset cs;
18858 /* SunOS 4.1.1 cc rejects this. */
18859 char const *const *pcpcc;
18860 char **ppc;
18861 /* NEC SVR4.0.2 mips cc rejects this. */
18862 struct point {int x, y;};
18863 static struct point const zero = {0,0};
18864 /* AIX XL C 1.02.0.0 rejects this.
18865 It does not let you subtract one const X* pointer from another in
18866 an arm of an if-expression whose if-part is not a constant
18867 expression */
18868 const char *g = "string";
18869 pcpcc = &g + (g ? g-g : 0);
18870 /* HPUX 7.0 cc rejects these. */
18871 ++pcpcc;
18872 ppc = (char**) pcpcc;
18873 pcpcc = (char const *const *) ppc;
18874 { /* SCO 3.2v4 cc rejects this. */
18875 char *t;
18876 char const *s = 0 ? (char *) 0 : (char const *) 0;
18877
18878 *t++ = 0;
18879 if (s) return 0;
18880 }
18881 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18882 int x[] = {25, 17};
18883 const int *foo = &x[0];
18884 ++foo;
18885 }
18886 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18887 typedef const int *iptr;
18888 iptr p = 0;
18889 ++p;
18890 }
18891 { /* AIX XL C 1.02.0.0 rejects this saying
18892 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18893 struct s { int j; const int *ap[3]; };
18894 struct s *b; b->j = 5;
18895 }
18896 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18897 const int foo = 10;
18898 if (!foo) return 0;
18899 }
18900 return !cs[0] && !zero.x;
18901 #endif
18902
18903 ;
18904 return 0;
18905 }
18906 _ACEOF
18907 rm -f conftest.$ac_objext
18908 if { (ac_try="$ac_compile"
18909 case "(($ac_try" in
18910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18911 *) ac_try_echo=$ac_try;;
18912 esac
18913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18914 (eval "$ac_compile") 2>conftest.er1
18915 ac_status=$?
18916 grep -v '^ *+' conftest.er1 >conftest.err
18917 rm -f conftest.er1
18918 cat conftest.err >&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); } && {
18921 test -z "$ac_c_werror_flag" ||
18922 test ! -s conftest.err
18923 } && test -s conftest.$ac_objext; then
18924 ac_cv_c_const=yes
18925 else
18926 echo "$as_me: failed program was:" >&5
18927 sed 's/^/| /' conftest.$ac_ext >&5
18928
18929 ac_cv_c_const=no
18930 fi
18931
18932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933 fi
18934 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18935 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18936 if test $ac_cv_c_const = no; then
18937
18938 cat >>confdefs.h <<\_ACEOF
18939 #define const
18940 _ACEOF
18941
18942 fi
18943
18944 { echo "$as_me:$LINENO: checking for inline" >&5
18945 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18946 if test "${ac_cv_c_inline+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 else
18949 ac_cv_c_inline=no
18950 for ac_kw in inline __inline__ __inline; do
18951 cat >conftest.$ac_ext <<_ACEOF
18952 /* confdefs.h. */
18953 _ACEOF
18954 cat confdefs.h >>conftest.$ac_ext
18955 cat >>conftest.$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18957 #ifndef __cplusplus
18958 typedef int foo_t;
18959 static $ac_kw foo_t static_foo () {return 0; }
18960 $ac_kw foo_t foo () {return 0; }
18961 #endif
18962
18963 _ACEOF
18964 rm -f conftest.$ac_objext
18965 if { (ac_try="$ac_compile"
18966 case "(($ac_try" in
18967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18968 *) ac_try_echo=$ac_try;;
18969 esac
18970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18971 (eval "$ac_compile") 2>conftest.er1
18972 ac_status=$?
18973 grep -v '^ *+' conftest.er1 >conftest.err
18974 rm -f conftest.er1
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } && {
18978 test -z "$ac_c_werror_flag" ||
18979 test ! -s conftest.err
18980 } && test -s conftest.$ac_objext; then
18981 ac_cv_c_inline=$ac_kw
18982 else
18983 echo "$as_me: failed program was:" >&5
18984 sed 's/^/| /' conftest.$ac_ext >&5
18985
18986
18987 fi
18988
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18990 test "$ac_cv_c_inline" != no && break
18991 done
18992
18993 fi
18994 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18995 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18996
18997
18998 case $ac_cv_c_inline in
18999 inline | yes) ;;
19000 *)
19001 case $ac_cv_c_inline in
19002 no) ac_val=;;
19003 *) ac_val=$ac_cv_c_inline;;
19004 esac
19005 cat >>confdefs.h <<_ACEOF
19006 #ifndef __cplusplus
19007 #define inline $ac_val
19008 #endif
19009 _ACEOF
19010 ;;
19011 esac
19012
19013
19014 { echo "$as_me:$LINENO: checking for short" >&5
19015 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19016 if test "${ac_cv_type_short+set}" = set; then
19017 echo $ECHO_N "(cached) $ECHO_C" >&6
19018 else
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19026 typedef short ac__type_new_;
19027 int
19028 main ()
19029 {
19030 if ((ac__type_new_ *) 0)
19031 return 0;
19032 if (sizeof (ac__type_new_))
19033 return 0;
19034 ;
19035 return 0;
19036 }
19037 _ACEOF
19038 rm -f conftest.$ac_objext
19039 if { (ac_try="$ac_compile"
19040 case "(($ac_try" in
19041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19042 *) ac_try_echo=$ac_try;;
19043 esac
19044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19045 (eval "$ac_compile") 2>conftest.er1
19046 ac_status=$?
19047 grep -v '^ *+' conftest.er1 >conftest.err
19048 rm -f conftest.er1
19049 cat conftest.err >&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } && {
19052 test -z "$ac_c_werror_flag" ||
19053 test ! -s conftest.err
19054 } && test -s conftest.$ac_objext; then
19055 ac_cv_type_short=yes
19056 else
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.$ac_ext >&5
19059
19060 ac_cv_type_short=no
19061 fi
19062
19063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19064 fi
19065 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19066 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19067
19068 # The cast to long int works around a bug in the HP C Compiler
19069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19071 # This bug is HP SR number 8606223364.
19072 { echo "$as_me:$LINENO: checking size of short" >&5
19073 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19074 if test "${ac_cv_sizeof_short+set}" = set; then
19075 echo $ECHO_N "(cached) $ECHO_C" >&6
19076 else
19077 if test "$cross_compiling" = yes; then
19078 # Depending upon the size, compute the lo and hi bounds.
19079 cat >conftest.$ac_ext <<_ACEOF
19080 /* confdefs.h. */
19081 _ACEOF
19082 cat confdefs.h >>conftest.$ac_ext
19083 cat >>conftest.$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19085 $ac_includes_default
19086 typedef short ac__type_sizeof_;
19087 int
19088 main ()
19089 {
19090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19091 test_array [0] = 0
19092
19093 ;
19094 return 0;
19095 }
19096 _ACEOF
19097 rm -f conftest.$ac_objext
19098 if { (ac_try="$ac_compile"
19099 case "(($ac_try" in
19100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19101 *) ac_try_echo=$ac_try;;
19102 esac
19103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19104 (eval "$ac_compile") 2>conftest.er1
19105 ac_status=$?
19106 grep -v '^ *+' conftest.er1 >conftest.err
19107 rm -f conftest.er1
19108 cat conftest.err >&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); } && {
19111 test -z "$ac_c_werror_flag" ||
19112 test ! -s conftest.err
19113 } && test -s conftest.$ac_objext; then
19114 ac_lo=0 ac_mid=0
19115 while :; do
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 $ac_includes_default
19123 typedef short ac__type_sizeof_;
19124 int
19125 main ()
19126 {
19127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19128 test_array [0] = 0
19129
19130 ;
19131 return 0;
19132 }
19133 _ACEOF
19134 rm -f conftest.$ac_objext
19135 if { (ac_try="$ac_compile"
19136 case "(($ac_try" in
19137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19138 *) ac_try_echo=$ac_try;;
19139 esac
19140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19141 (eval "$ac_compile") 2>conftest.er1
19142 ac_status=$?
19143 grep -v '^ *+' conftest.er1 >conftest.err
19144 rm -f conftest.er1
19145 cat conftest.err >&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } && {
19148 test -z "$ac_c_werror_flag" ||
19149 test ! -s conftest.err
19150 } && test -s conftest.$ac_objext; then
19151 ac_hi=$ac_mid; break
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 ac_lo=`expr $ac_mid + 1`
19157 if test $ac_lo -le $ac_mid; then
19158 ac_lo= ac_hi=
19159 break
19160 fi
19161 ac_mid=`expr 2 '*' $ac_mid + 1`
19162 fi
19163
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 done
19166 else
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.$ac_ext >&5
19169
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 typedef short ac__type_sizeof_;
19178 int
19179 main ()
19180 {
19181 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19182 test_array [0] = 0
19183
19184 ;
19185 return 0;
19186 }
19187 _ACEOF
19188 rm -f conftest.$ac_objext
19189 if { (ac_try="$ac_compile"
19190 case "(($ac_try" in
19191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19192 *) ac_try_echo=$ac_try;;
19193 esac
19194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19195 (eval "$ac_compile") 2>conftest.er1
19196 ac_status=$?
19197 grep -v '^ *+' conftest.er1 >conftest.err
19198 rm -f conftest.er1
19199 cat conftest.err >&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); } && {
19202 test -z "$ac_c_werror_flag" ||
19203 test ! -s conftest.err
19204 } && test -s conftest.$ac_objext; then
19205 ac_hi=-1 ac_mid=-1
19206 while :; do
19207 cat >conftest.$ac_ext <<_ACEOF
19208 /* confdefs.h. */
19209 _ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 $ac_includes_default
19214 typedef short ac__type_sizeof_;
19215 int
19216 main ()
19217 {
19218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19219 test_array [0] = 0
19220
19221 ;
19222 return 0;
19223 }
19224 _ACEOF
19225 rm -f conftest.$ac_objext
19226 if { (ac_try="$ac_compile"
19227 case "(($ac_try" in
19228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19229 *) ac_try_echo=$ac_try;;
19230 esac
19231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19232 (eval "$ac_compile") 2>conftest.er1
19233 ac_status=$?
19234 grep -v '^ *+' conftest.er1 >conftest.err
19235 rm -f conftest.er1
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } && {
19239 test -z "$ac_c_werror_flag" ||
19240 test ! -s conftest.err
19241 } && test -s conftest.$ac_objext; then
19242 ac_lo=$ac_mid; break
19243 else
19244 echo "$as_me: failed program was:" >&5
19245 sed 's/^/| /' conftest.$ac_ext >&5
19246
19247 ac_hi=`expr '(' $ac_mid ')' - 1`
19248 if test $ac_mid -le $ac_hi; then
19249 ac_lo= ac_hi=
19250 break
19251 fi
19252 ac_mid=`expr 2 '*' $ac_mid`
19253 fi
19254
19255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19256 done
19257 else
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19260
19261 ac_lo= ac_hi=
19262 fi
19263
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19265 fi
19266
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 # Binary search between lo and hi bounds.
19269 while test "x$ac_lo" != "x$ac_hi"; do
19270 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19271 cat >conftest.$ac_ext <<_ACEOF
19272 /* confdefs.h. */
19273 _ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19278 typedef short ac__type_sizeof_;
19279 int
19280 main ()
19281 {
19282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19283 test_array [0] = 0
19284
19285 ;
19286 return 0;
19287 }
19288 _ACEOF
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19306 ac_hi=$ac_mid
19307 else
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19310
19311 ac_lo=`expr '(' $ac_mid ')' + 1`
19312 fi
19313
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19315 done
19316 case $ac_lo in
19317 ?*) ac_cv_sizeof_short=$ac_lo;;
19318 '') if test "$ac_cv_type_short" = yes; then
19319 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19320 See \`config.log' for more details." >&5
19321 echo "$as_me: error: cannot compute sizeof (short)
19322 See \`config.log' for more details." >&2;}
19323 { (exit 77); exit 77; }; }
19324 else
19325 ac_cv_sizeof_short=0
19326 fi ;;
19327 esac
19328 else
19329 cat >conftest.$ac_ext <<_ACEOF
19330 /* confdefs.h. */
19331 _ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 $ac_includes_default
19336 typedef short ac__type_sizeof_;
19337 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19338 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19339 #include <stdio.h>
19340 #include <stdlib.h>
19341 int
19342 main ()
19343 {
19344
19345 FILE *f = fopen ("conftest.val", "w");
19346 if (! f)
19347 return 1;
19348 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19349 {
19350 long int i = longval ();
19351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19352 return 1;
19353 fprintf (f, "%ld\n", i);
19354 }
19355 else
19356 {
19357 unsigned long int i = ulongval ();
19358 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19359 return 1;
19360 fprintf (f, "%lu\n", i);
19361 }
19362 return ferror (f) || fclose (f) != 0;
19363
19364 ;
19365 return 0;
19366 }
19367 _ACEOF
19368 rm -f conftest$ac_exeext
19369 if { (ac_try="$ac_link"
19370 case "(($ac_try" in
19371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19372 *) ac_try_echo=$ac_try;;
19373 esac
19374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19375 (eval "$ac_link") 2>&5
19376 ac_status=$?
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19379 { (case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19382 esac
19383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_try") 2>&5
19385 ac_status=$?
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; }; then
19388 ac_cv_sizeof_short=`cat conftest.val`
19389 else
19390 echo "$as_me: program exited with status $ac_status" >&5
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19393
19394 ( exit $ac_status )
19395 if test "$ac_cv_type_short" = yes; then
19396 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19397 See \`config.log' for more details." >&5
19398 echo "$as_me: error: cannot compute sizeof (short)
19399 See \`config.log' for more details." >&2;}
19400 { (exit 77); exit 77; }; }
19401 else
19402 ac_cv_sizeof_short=0
19403 fi
19404 fi
19405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19406 fi
19407 rm -f conftest.val
19408 fi
19409 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19410 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19411
19412
19413
19414 cat >>confdefs.h <<_ACEOF
19415 #define SIZEOF_SHORT $ac_cv_sizeof_short
19416 _ACEOF
19417
19418
19419 { echo "$as_me:$LINENO: checking for void *" >&5
19420 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19421 if test "${ac_cv_type_void_p+set}" = set; then
19422 echo $ECHO_N "(cached) $ECHO_C" >&6
19423 else
19424 cat >conftest.$ac_ext <<_ACEOF
19425 /* confdefs.h. */
19426 _ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 $ac_includes_default
19431 typedef void * ac__type_new_;
19432 int
19433 main ()
19434 {
19435 if ((ac__type_new_ *) 0)
19436 return 0;
19437 if (sizeof (ac__type_new_))
19438 return 0;
19439 ;
19440 return 0;
19441 }
19442 _ACEOF
19443 rm -f conftest.$ac_objext
19444 if { (ac_try="$ac_compile"
19445 case "(($ac_try" in
19446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19447 *) ac_try_echo=$ac_try;;
19448 esac
19449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19450 (eval "$ac_compile") 2>conftest.er1
19451 ac_status=$?
19452 grep -v '^ *+' conftest.er1 >conftest.err
19453 rm -f conftest.er1
19454 cat conftest.err >&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); } && {
19457 test -z "$ac_c_werror_flag" ||
19458 test ! -s conftest.err
19459 } && test -s conftest.$ac_objext; then
19460 ac_cv_type_void_p=yes
19461 else
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19464
19465 ac_cv_type_void_p=no
19466 fi
19467
19468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19469 fi
19470 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19471 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19472
19473 # The cast to long int works around a bug in the HP C Compiler
19474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19476 # This bug is HP SR number 8606223364.
19477 { echo "$as_me:$LINENO: checking size of void *" >&5
19478 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19479 if test "${ac_cv_sizeof_void_p+set}" = set; then
19480 echo $ECHO_N "(cached) $ECHO_C" >&6
19481 else
19482 if test "$cross_compiling" = yes; then
19483 # Depending upon the size, compute the lo and hi bounds.
19484 cat >conftest.$ac_ext <<_ACEOF
19485 /* confdefs.h. */
19486 _ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19491 typedef void * ac__type_sizeof_;
19492 int
19493 main ()
19494 {
19495 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19496 test_array [0] = 0
19497
19498 ;
19499 return 0;
19500 }
19501 _ACEOF
19502 rm -f conftest.$ac_objext
19503 if { (ac_try="$ac_compile"
19504 case "(($ac_try" in
19505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19506 *) ac_try_echo=$ac_try;;
19507 esac
19508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19509 (eval "$ac_compile") 2>conftest.er1
19510 ac_status=$?
19511 grep -v '^ *+' conftest.er1 >conftest.err
19512 rm -f conftest.er1
19513 cat conftest.err >&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } && {
19516 test -z "$ac_c_werror_flag" ||
19517 test ! -s conftest.err
19518 } && test -s conftest.$ac_objext; then
19519 ac_lo=0 ac_mid=0
19520 while :; do
19521 cat >conftest.$ac_ext <<_ACEOF
19522 /* confdefs.h. */
19523 _ACEOF
19524 cat confdefs.h >>conftest.$ac_ext
19525 cat >>conftest.$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 $ac_includes_default
19528 typedef void * ac__type_sizeof_;
19529 int
19530 main ()
19531 {
19532 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19533 test_array [0] = 0
19534
19535 ;
19536 return 0;
19537 }
19538 _ACEOF
19539 rm -f conftest.$ac_objext
19540 if { (ac_try="$ac_compile"
19541 case "(($ac_try" in
19542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19543 *) ac_try_echo=$ac_try;;
19544 esac
19545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19546 (eval "$ac_compile") 2>conftest.er1
19547 ac_status=$?
19548 grep -v '^ *+' conftest.er1 >conftest.err
19549 rm -f conftest.er1
19550 cat conftest.err >&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); } && {
19553 test -z "$ac_c_werror_flag" ||
19554 test ! -s conftest.err
19555 } && test -s conftest.$ac_objext; then
19556 ac_hi=$ac_mid; break
19557 else
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.$ac_ext >&5
19560
19561 ac_lo=`expr $ac_mid + 1`
19562 if test $ac_lo -le $ac_mid; then
19563 ac_lo= ac_hi=
19564 break
19565 fi
19566 ac_mid=`expr 2 '*' $ac_mid + 1`
19567 fi
19568
19569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19570 done
19571 else
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19574
19575 cat >conftest.$ac_ext <<_ACEOF
19576 /* confdefs.h. */
19577 _ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 typedef void * ac__type_sizeof_;
19583 int
19584 main ()
19585 {
19586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19587 test_array [0] = 0
19588
19589 ;
19590 return 0;
19591 }
19592 _ACEOF
19593 rm -f conftest.$ac_objext
19594 if { (ac_try="$ac_compile"
19595 case "(($ac_try" in
19596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19597 *) ac_try_echo=$ac_try;;
19598 esac
19599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19600 (eval "$ac_compile") 2>conftest.er1
19601 ac_status=$?
19602 grep -v '^ *+' conftest.er1 >conftest.err
19603 rm -f conftest.er1
19604 cat conftest.err >&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); } && {
19607 test -z "$ac_c_werror_flag" ||
19608 test ! -s conftest.err
19609 } && test -s conftest.$ac_objext; then
19610 ac_hi=-1 ac_mid=-1
19611 while :; do
19612 cat >conftest.$ac_ext <<_ACEOF
19613 /* confdefs.h. */
19614 _ACEOF
19615 cat confdefs.h >>conftest.$ac_ext
19616 cat >>conftest.$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 $ac_includes_default
19619 typedef void * ac__type_sizeof_;
19620 int
19621 main ()
19622 {
19623 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19624 test_array [0] = 0
19625
19626 ;
19627 return 0;
19628 }
19629 _ACEOF
19630 rm -f conftest.$ac_objext
19631 if { (ac_try="$ac_compile"
19632 case "(($ac_try" in
19633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19634 *) ac_try_echo=$ac_try;;
19635 esac
19636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19637 (eval "$ac_compile") 2>conftest.er1
19638 ac_status=$?
19639 grep -v '^ *+' conftest.er1 >conftest.err
19640 rm -f conftest.er1
19641 cat conftest.err >&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); } && {
19644 test -z "$ac_c_werror_flag" ||
19645 test ! -s conftest.err
19646 } && test -s conftest.$ac_objext; then
19647 ac_lo=$ac_mid; break
19648 else
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.$ac_ext >&5
19651
19652 ac_hi=`expr '(' $ac_mid ')' - 1`
19653 if test $ac_mid -le $ac_hi; then
19654 ac_lo= ac_hi=
19655 break
19656 fi
19657 ac_mid=`expr 2 '*' $ac_mid`
19658 fi
19659
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 done
19662 else
19663 echo "$as_me: failed program was:" >&5
19664 sed 's/^/| /' conftest.$ac_ext >&5
19665
19666 ac_lo= ac_hi=
19667 fi
19668
19669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19670 fi
19671
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19673 # Binary search between lo and hi bounds.
19674 while test "x$ac_lo" != "x$ac_hi"; do
19675 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19676 cat >conftest.$ac_ext <<_ACEOF
19677 /* confdefs.h. */
19678 _ACEOF
19679 cat confdefs.h >>conftest.$ac_ext
19680 cat >>conftest.$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 typedef void * ac__type_sizeof_;
19684 int
19685 main ()
19686 {
19687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19688 test_array [0] = 0
19689
19690 ;
19691 return 0;
19692 }
19693 _ACEOF
19694 rm -f conftest.$ac_objext
19695 if { (ac_try="$ac_compile"
19696 case "(($ac_try" in
19697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19699 esac
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_compile") 2>conftest.er1
19702 ac_status=$?
19703 grep -v '^ *+' conftest.er1 >conftest.err
19704 rm -f conftest.er1
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } && {
19708 test -z "$ac_c_werror_flag" ||
19709 test ! -s conftest.err
19710 } && test -s conftest.$ac_objext; then
19711 ac_hi=$ac_mid
19712 else
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19715
19716 ac_lo=`expr '(' $ac_mid ')' + 1`
19717 fi
19718
19719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19720 done
19721 case $ac_lo in
19722 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19723 '') if test "$ac_cv_type_void_p" = yes; then
19724 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19725 See \`config.log' for more details." >&5
19726 echo "$as_me: error: cannot compute sizeof (void *)
19727 See \`config.log' for more details." >&2;}
19728 { (exit 77); exit 77; }; }
19729 else
19730 ac_cv_sizeof_void_p=0
19731 fi ;;
19732 esac
19733 else
19734 cat >conftest.$ac_ext <<_ACEOF
19735 /* confdefs.h. */
19736 _ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 $ac_includes_default
19741 typedef void * ac__type_sizeof_;
19742 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19743 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19744 #include <stdio.h>
19745 #include <stdlib.h>
19746 int
19747 main ()
19748 {
19749
19750 FILE *f = fopen ("conftest.val", "w");
19751 if (! f)
19752 return 1;
19753 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19754 {
19755 long int i = longval ();
19756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19757 return 1;
19758 fprintf (f, "%ld\n", i);
19759 }
19760 else
19761 {
19762 unsigned long int i = ulongval ();
19763 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19764 return 1;
19765 fprintf (f, "%lu\n", i);
19766 }
19767 return ferror (f) || fclose (f) != 0;
19768
19769 ;
19770 return 0;
19771 }
19772 _ACEOF
19773 rm -f conftest$ac_exeext
19774 if { (ac_try="$ac_link"
19775 case "(($ac_try" in
19776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19777 *) ac_try_echo=$ac_try;;
19778 esac
19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19780 (eval "$ac_link") 2>&5
19781 ac_status=$?
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19784 { (case "(($ac_try" in
19785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19786 *) ac_try_echo=$ac_try;;
19787 esac
19788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19789 (eval "$ac_try") 2>&5
19790 ac_status=$?
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 ac_cv_sizeof_void_p=`cat conftest.val`
19794 else
19795 echo "$as_me: program exited with status $ac_status" >&5
19796 echo "$as_me: failed program was:" >&5
19797 sed 's/^/| /' conftest.$ac_ext >&5
19798
19799 ( exit $ac_status )
19800 if test "$ac_cv_type_void_p" = yes; then
19801 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19802 See \`config.log' for more details." >&5
19803 echo "$as_me: error: cannot compute sizeof (void *)
19804 See \`config.log' for more details." >&2;}
19805 { (exit 77); exit 77; }; }
19806 else
19807 ac_cv_sizeof_void_p=0
19808 fi
19809 fi
19810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19811 fi
19812 rm -f conftest.val
19813 fi
19814 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19815 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19816
19817
19818
19819 cat >>confdefs.h <<_ACEOF
19820 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19821 _ACEOF
19822
19823
19824 { echo "$as_me:$LINENO: checking for int" >&5
19825 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19826 if test "${ac_cv_type_int+set}" = set; then
19827 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 else
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h. */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 $ac_includes_default
19836 typedef int ac__type_new_;
19837 int
19838 main ()
19839 {
19840 if ((ac__type_new_ *) 0)
19841 return 0;
19842 if (sizeof (ac__type_new_))
19843 return 0;
19844 ;
19845 return 0;
19846 }
19847 _ACEOF
19848 rm -f conftest.$ac_objext
19849 if { (ac_try="$ac_compile"
19850 case "(($ac_try" in
19851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19852 *) ac_try_echo=$ac_try;;
19853 esac
19854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19855 (eval "$ac_compile") 2>conftest.er1
19856 ac_status=$?
19857 grep -v '^ *+' conftest.er1 >conftest.err
19858 rm -f conftest.er1
19859 cat conftest.err >&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); } && {
19862 test -z "$ac_c_werror_flag" ||
19863 test ! -s conftest.err
19864 } && test -s conftest.$ac_objext; then
19865 ac_cv_type_int=yes
19866 else
19867 echo "$as_me: failed program was:" >&5
19868 sed 's/^/| /' conftest.$ac_ext >&5
19869
19870 ac_cv_type_int=no
19871 fi
19872
19873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19874 fi
19875 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19876 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19877
19878 # The cast to long int works around a bug in the HP C Compiler
19879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19881 # This bug is HP SR number 8606223364.
19882 { echo "$as_me:$LINENO: checking size of int" >&5
19883 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19884 if test "${ac_cv_sizeof_int+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 else
19887 if test "$cross_compiling" = yes; then
19888 # Depending upon the size, compute the lo and hi bounds.
19889 cat >conftest.$ac_ext <<_ACEOF
19890 /* confdefs.h. */
19891 _ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 $ac_includes_default
19896 typedef int ac__type_sizeof_;
19897 int
19898 main ()
19899 {
19900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19901 test_array [0] = 0
19902
19903 ;
19904 return 0;
19905 }
19906 _ACEOF
19907 rm -f conftest.$ac_objext
19908 if { (ac_try="$ac_compile"
19909 case "(($ac_try" in
19910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19912 esac
19913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_compile") 2>conftest.er1
19915 ac_status=$?
19916 grep -v '^ *+' conftest.er1 >conftest.err
19917 rm -f conftest.er1
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest.$ac_objext; then
19924 ac_lo=0 ac_mid=0
19925 while :; do
19926 cat >conftest.$ac_ext <<_ACEOF
19927 /* confdefs.h. */
19928 _ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 $ac_includes_default
19933 typedef int ac__type_sizeof_;
19934 int
19935 main ()
19936 {
19937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19938 test_array [0] = 0
19939
19940 ;
19941 return 0;
19942 }
19943 _ACEOF
19944 rm -f conftest.$ac_objext
19945 if { (ac_try="$ac_compile"
19946 case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19949 esac
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_compile") 2>conftest.er1
19952 ac_status=$?
19953 grep -v '^ *+' conftest.er1 >conftest.err
19954 rm -f conftest.er1
19955 cat conftest.err >&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } && {
19958 test -z "$ac_c_werror_flag" ||
19959 test ! -s conftest.err
19960 } && test -s conftest.$ac_objext; then
19961 ac_hi=$ac_mid; break
19962 else
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19965
19966 ac_lo=`expr $ac_mid + 1`
19967 if test $ac_lo -le $ac_mid; then
19968 ac_lo= ac_hi=
19969 break
19970 fi
19971 ac_mid=`expr 2 '*' $ac_mid + 1`
19972 fi
19973
19974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19975 done
19976 else
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19979
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef int ac__type_sizeof_;
19988 int
19989 main ()
19990 {
19991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19992 test_array [0] = 0
19993
19994 ;
19995 return 0;
19996 }
19997 _ACEOF
19998 rm -f conftest.$ac_objext
19999 if { (ac_try="$ac_compile"
20000 case "(($ac_try" in
20001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20002 *) ac_try_echo=$ac_try;;
20003 esac
20004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20005 (eval "$ac_compile") 2>conftest.er1
20006 ac_status=$?
20007 grep -v '^ *+' conftest.er1 >conftest.err
20008 rm -f conftest.er1
20009 cat conftest.err >&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); } && {
20012 test -z "$ac_c_werror_flag" ||
20013 test ! -s conftest.err
20014 } && test -s conftest.$ac_objext; then
20015 ac_hi=-1 ac_mid=-1
20016 while :; do
20017 cat >conftest.$ac_ext <<_ACEOF
20018 /* confdefs.h. */
20019 _ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 $ac_includes_default
20024 typedef int ac__type_sizeof_;
20025 int
20026 main ()
20027 {
20028 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20029 test_array [0] = 0
20030
20031 ;
20032 return 0;
20033 }
20034 _ACEOF
20035 rm -f conftest.$ac_objext
20036 if { (ac_try="$ac_compile"
20037 case "(($ac_try" in
20038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20039 *) ac_try_echo=$ac_try;;
20040 esac
20041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20042 (eval "$ac_compile") 2>conftest.er1
20043 ac_status=$?
20044 grep -v '^ *+' conftest.er1 >conftest.err
20045 rm -f conftest.er1
20046 cat conftest.err >&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } && {
20049 test -z "$ac_c_werror_flag" ||
20050 test ! -s conftest.err
20051 } && test -s conftest.$ac_objext; then
20052 ac_lo=$ac_mid; break
20053 else
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.$ac_ext >&5
20056
20057 ac_hi=`expr '(' $ac_mid ')' - 1`
20058 if test $ac_mid -le $ac_hi; then
20059 ac_lo= ac_hi=
20060 break
20061 fi
20062 ac_mid=`expr 2 '*' $ac_mid`
20063 fi
20064
20065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20066 done
20067 else
20068 echo "$as_me: failed program was:" >&5
20069 sed 's/^/| /' conftest.$ac_ext >&5
20070
20071 ac_lo= ac_hi=
20072 fi
20073
20074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075 fi
20076
20077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20078 # Binary search between lo and hi bounds.
20079 while test "x$ac_lo" != "x$ac_hi"; do
20080 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20081 cat >conftest.$ac_ext <<_ACEOF
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 $ac_includes_default
20088 typedef int ac__type_sizeof_;
20089 int
20090 main ()
20091 {
20092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20093 test_array [0] = 0
20094
20095 ;
20096 return 0;
20097 }
20098 _ACEOF
20099 rm -f conftest.$ac_objext
20100 if { (ac_try="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20104 esac
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20107 ac_status=$?
20108 grep -v '^ *+' conftest.er1 >conftest.err
20109 rm -f conftest.er1
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20116 ac_hi=$ac_mid
20117 else
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20120
20121 ac_lo=`expr '(' $ac_mid ')' + 1`
20122 fi
20123
20124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20125 done
20126 case $ac_lo in
20127 ?*) ac_cv_sizeof_int=$ac_lo;;
20128 '') if test "$ac_cv_type_int" = yes; then
20129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20130 See \`config.log' for more details." >&5
20131 echo "$as_me: error: cannot compute sizeof (int)
20132 See \`config.log' for more details." >&2;}
20133 { (exit 77); exit 77; }; }
20134 else
20135 ac_cv_sizeof_int=0
20136 fi ;;
20137 esac
20138 else
20139 cat >conftest.$ac_ext <<_ACEOF
20140 /* confdefs.h. */
20141 _ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 $ac_includes_default
20146 typedef int ac__type_sizeof_;
20147 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20148 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20149 #include <stdio.h>
20150 #include <stdlib.h>
20151 int
20152 main ()
20153 {
20154
20155 FILE *f = fopen ("conftest.val", "w");
20156 if (! f)
20157 return 1;
20158 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20159 {
20160 long int i = longval ();
20161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20162 return 1;
20163 fprintf (f, "%ld\n", i);
20164 }
20165 else
20166 {
20167 unsigned long int i = ulongval ();
20168 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20169 return 1;
20170 fprintf (f, "%lu\n", i);
20171 }
20172 return ferror (f) || fclose (f) != 0;
20173
20174 ;
20175 return 0;
20176 }
20177 _ACEOF
20178 rm -f conftest$ac_exeext
20179 if { (ac_try="$ac_link"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20183 esac
20184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_link") 2>&5
20186 ac_status=$?
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20189 { (case "(($ac_try" in
20190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20191 *) ac_try_echo=$ac_try;;
20192 esac
20193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20194 (eval "$ac_try") 2>&5
20195 ac_status=$?
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; }; then
20198 ac_cv_sizeof_int=`cat conftest.val`
20199 else
20200 echo "$as_me: program exited with status $ac_status" >&5
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20203
20204 ( exit $ac_status )
20205 if test "$ac_cv_type_int" = yes; then
20206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20207 See \`config.log' for more details." >&5
20208 echo "$as_me: error: cannot compute sizeof (int)
20209 See \`config.log' for more details." >&2;}
20210 { (exit 77); exit 77; }; }
20211 else
20212 ac_cv_sizeof_int=0
20213 fi
20214 fi
20215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20216 fi
20217 rm -f conftest.val
20218 fi
20219 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20220 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20221
20222
20223
20224 cat >>confdefs.h <<_ACEOF
20225 #define SIZEOF_INT $ac_cv_sizeof_int
20226 _ACEOF
20227
20228
20229 { echo "$as_me:$LINENO: checking for long" >&5
20230 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20231 if test "${ac_cv_type_long+set}" = set; then
20232 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 else
20234 cat >conftest.$ac_ext <<_ACEOF
20235 /* confdefs.h. */
20236 _ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 $ac_includes_default
20241 typedef long ac__type_new_;
20242 int
20243 main ()
20244 {
20245 if ((ac__type_new_ *) 0)
20246 return 0;
20247 if (sizeof (ac__type_new_))
20248 return 0;
20249 ;
20250 return 0;
20251 }
20252 _ACEOF
20253 rm -f conftest.$ac_objext
20254 if { (ac_try="$ac_compile"
20255 case "(($ac_try" in
20256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20257 *) ac_try_echo=$ac_try;;
20258 esac
20259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20260 (eval "$ac_compile") 2>conftest.er1
20261 ac_status=$?
20262 grep -v '^ *+' conftest.er1 >conftest.err
20263 rm -f conftest.er1
20264 cat conftest.err >&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); } && {
20267 test -z "$ac_c_werror_flag" ||
20268 test ! -s conftest.err
20269 } && test -s conftest.$ac_objext; then
20270 ac_cv_type_long=yes
20271 else
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.$ac_ext >&5
20274
20275 ac_cv_type_long=no
20276 fi
20277
20278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20279 fi
20280 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20281 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20282
20283 # The cast to long int works around a bug in the HP C Compiler
20284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20286 # This bug is HP SR number 8606223364.
20287 { echo "$as_me:$LINENO: checking size of long" >&5
20288 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20289 if test "${ac_cv_sizeof_long+set}" = set; then
20290 echo $ECHO_N "(cached) $ECHO_C" >&6
20291 else
20292 if test "$cross_compiling" = yes; then
20293 # Depending upon the size, compute the lo and hi bounds.
20294 cat >conftest.$ac_ext <<_ACEOF
20295 /* confdefs.h. */
20296 _ACEOF
20297 cat confdefs.h >>conftest.$ac_ext
20298 cat >>conftest.$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 $ac_includes_default
20301 typedef long ac__type_sizeof_;
20302 int
20303 main ()
20304 {
20305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20306 test_array [0] = 0
20307
20308 ;
20309 return 0;
20310 }
20311 _ACEOF
20312 rm -f conftest.$ac_objext
20313 if { (ac_try="$ac_compile"
20314 case "(($ac_try" in
20315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20317 esac
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_compile") 2>conftest.er1
20320 ac_status=$?
20321 grep -v '^ *+' conftest.er1 >conftest.err
20322 rm -f conftest.er1
20323 cat conftest.err >&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } && {
20326 test -z "$ac_c_werror_flag" ||
20327 test ! -s conftest.err
20328 } && test -s conftest.$ac_objext; then
20329 ac_lo=0 ac_mid=0
20330 while :; do
20331 cat >conftest.$ac_ext <<_ACEOF
20332 /* confdefs.h. */
20333 _ACEOF
20334 cat confdefs.h >>conftest.$ac_ext
20335 cat >>conftest.$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20337 $ac_includes_default
20338 typedef long ac__type_sizeof_;
20339 int
20340 main ()
20341 {
20342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20343 test_array [0] = 0
20344
20345 ;
20346 return 0;
20347 }
20348 _ACEOF
20349 rm -f conftest.$ac_objext
20350 if { (ac_try="$ac_compile"
20351 case "(($ac_try" in
20352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20353 *) ac_try_echo=$ac_try;;
20354 esac
20355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20356 (eval "$ac_compile") 2>conftest.er1
20357 ac_status=$?
20358 grep -v '^ *+' conftest.er1 >conftest.err
20359 rm -f conftest.er1
20360 cat conftest.err >&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } && {
20363 test -z "$ac_c_werror_flag" ||
20364 test ! -s conftest.err
20365 } && test -s conftest.$ac_objext; then
20366 ac_hi=$ac_mid; break
20367 else
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.$ac_ext >&5
20370
20371 ac_lo=`expr $ac_mid + 1`
20372 if test $ac_lo -le $ac_mid; then
20373 ac_lo= ac_hi=
20374 break
20375 fi
20376 ac_mid=`expr 2 '*' $ac_mid + 1`
20377 fi
20378
20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20380 done
20381 else
20382 echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.$ac_ext >&5
20384
20385 cat >conftest.$ac_ext <<_ACEOF
20386 /* confdefs.h. */
20387 _ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef long ac__type_sizeof_;
20393 int
20394 main ()
20395 {
20396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20397 test_array [0] = 0
20398
20399 ;
20400 return 0;
20401 }
20402 _ACEOF
20403 rm -f conftest.$ac_objext
20404 if { (ac_try="$ac_compile"
20405 case "(($ac_try" in
20406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20408 esac
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_compile") 2>conftest.er1
20411 ac_status=$?
20412 grep -v '^ *+' conftest.er1 >conftest.err
20413 rm -f conftest.er1
20414 cat conftest.err >&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && {
20417 test -z "$ac_c_werror_flag" ||
20418 test ! -s conftest.err
20419 } && test -s conftest.$ac_objext; then
20420 ac_hi=-1 ac_mid=-1
20421 while :; do
20422 cat >conftest.$ac_ext <<_ACEOF
20423 /* confdefs.h. */
20424 _ACEOF
20425 cat confdefs.h >>conftest.$ac_ext
20426 cat >>conftest.$ac_ext <<_ACEOF
20427 /* end confdefs.h. */
20428 $ac_includes_default
20429 typedef long ac__type_sizeof_;
20430 int
20431 main ()
20432 {
20433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20434 test_array [0] = 0
20435
20436 ;
20437 return 0;
20438 }
20439 _ACEOF
20440 rm -f conftest.$ac_objext
20441 if { (ac_try="$ac_compile"
20442 case "(($ac_try" in
20443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20444 *) ac_try_echo=$ac_try;;
20445 esac
20446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20447 (eval "$ac_compile") 2>conftest.er1
20448 ac_status=$?
20449 grep -v '^ *+' conftest.er1 >conftest.err
20450 rm -f conftest.er1
20451 cat conftest.err >&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } && {
20454 test -z "$ac_c_werror_flag" ||
20455 test ! -s conftest.err
20456 } && test -s conftest.$ac_objext; then
20457 ac_lo=$ac_mid; break
20458 else
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.$ac_ext >&5
20461
20462 ac_hi=`expr '(' $ac_mid ')' - 1`
20463 if test $ac_mid -le $ac_hi; then
20464 ac_lo= ac_hi=
20465 break
20466 fi
20467 ac_mid=`expr 2 '*' $ac_mid`
20468 fi
20469
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 done
20472 else
20473 echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.$ac_ext >&5
20475
20476 ac_lo= ac_hi=
20477 fi
20478
20479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20480 fi
20481
20482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20483 # Binary search between lo and hi bounds.
20484 while test "x$ac_lo" != "x$ac_hi"; do
20485 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20486 cat >conftest.$ac_ext <<_ACEOF
20487 /* confdefs.h. */
20488 _ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 $ac_includes_default
20493 typedef long ac__type_sizeof_;
20494 int
20495 main ()
20496 {
20497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20498 test_array [0] = 0
20499
20500 ;
20501 return 0;
20502 }
20503 _ACEOF
20504 rm -f conftest.$ac_objext
20505 if { (ac_try="$ac_compile"
20506 case "(($ac_try" in
20507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20508 *) ac_try_echo=$ac_try;;
20509 esac
20510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20511 (eval "$ac_compile") 2>conftest.er1
20512 ac_status=$?
20513 grep -v '^ *+' conftest.er1 >conftest.err
20514 rm -f conftest.er1
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } && {
20518 test -z "$ac_c_werror_flag" ||
20519 test ! -s conftest.err
20520 } && test -s conftest.$ac_objext; then
20521 ac_hi=$ac_mid
20522 else
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.$ac_ext >&5
20525
20526 ac_lo=`expr '(' $ac_mid ')' + 1`
20527 fi
20528
20529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20530 done
20531 case $ac_lo in
20532 ?*) ac_cv_sizeof_long=$ac_lo;;
20533 '') if test "$ac_cv_type_long" = yes; then
20534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20535 See \`config.log' for more details." >&5
20536 echo "$as_me: error: cannot compute sizeof (long)
20537 See \`config.log' for more details." >&2;}
20538 { (exit 77); exit 77; }; }
20539 else
20540 ac_cv_sizeof_long=0
20541 fi ;;
20542 esac
20543 else
20544 cat >conftest.$ac_ext <<_ACEOF
20545 /* confdefs.h. */
20546 _ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20551 typedef long ac__type_sizeof_;
20552 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20553 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20554 #include <stdio.h>
20555 #include <stdlib.h>
20556 int
20557 main ()
20558 {
20559
20560 FILE *f = fopen ("conftest.val", "w");
20561 if (! f)
20562 return 1;
20563 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20564 {
20565 long int i = longval ();
20566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20567 return 1;
20568 fprintf (f, "%ld\n", i);
20569 }
20570 else
20571 {
20572 unsigned long int i = ulongval ();
20573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20574 return 1;
20575 fprintf (f, "%lu\n", i);
20576 }
20577 return ferror (f) || fclose (f) != 0;
20578
20579 ;
20580 return 0;
20581 }
20582 _ACEOF
20583 rm -f conftest$ac_exeext
20584 if { (ac_try="$ac_link"
20585 case "(($ac_try" in
20586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20587 *) ac_try_echo=$ac_try;;
20588 esac
20589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20590 (eval "$ac_link") 2>&5
20591 ac_status=$?
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20594 { (case "(($ac_try" in
20595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20596 *) ac_try_echo=$ac_try;;
20597 esac
20598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20599 (eval "$ac_try") 2>&5
20600 ac_status=$?
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); }; }; then
20603 ac_cv_sizeof_long=`cat conftest.val`
20604 else
20605 echo "$as_me: program exited with status $ac_status" >&5
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20608
20609 ( exit $ac_status )
20610 if test "$ac_cv_type_long" = yes; then
20611 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20612 See \`config.log' for more details." >&5
20613 echo "$as_me: error: cannot compute sizeof (long)
20614 See \`config.log' for more details." >&2;}
20615 { (exit 77); exit 77; }; }
20616 else
20617 ac_cv_sizeof_long=0
20618 fi
20619 fi
20620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20621 fi
20622 rm -f conftest.val
20623 fi
20624 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20625 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20626
20627
20628
20629 cat >>confdefs.h <<_ACEOF
20630 #define SIZEOF_LONG $ac_cv_sizeof_long
20631 _ACEOF
20632
20633
20634 { echo "$as_me:$LINENO: checking for size_t" >&5
20635 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20636 if test "${ac_cv_type_size_t+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 else
20639 cat >conftest.$ac_ext <<_ACEOF
20640 /* confdefs.h. */
20641 _ACEOF
20642 cat confdefs.h >>conftest.$ac_ext
20643 cat >>conftest.$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20645 $ac_includes_default
20646 typedef size_t ac__type_new_;
20647 int
20648 main ()
20649 {
20650 if ((ac__type_new_ *) 0)
20651 return 0;
20652 if (sizeof (ac__type_new_))
20653 return 0;
20654 ;
20655 return 0;
20656 }
20657 _ACEOF
20658 rm -f conftest.$ac_objext
20659 if { (ac_try="$ac_compile"
20660 case "(($ac_try" in
20661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20662 *) ac_try_echo=$ac_try;;
20663 esac
20664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20665 (eval "$ac_compile") 2>conftest.er1
20666 ac_status=$?
20667 grep -v '^ *+' conftest.er1 >conftest.err
20668 rm -f conftest.er1
20669 cat conftest.err >&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); } && {
20672 test -z "$ac_c_werror_flag" ||
20673 test ! -s conftest.err
20674 } && test -s conftest.$ac_objext; then
20675 ac_cv_type_size_t=yes
20676 else
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20679
20680 ac_cv_type_size_t=no
20681 fi
20682
20683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20684 fi
20685 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20686 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20687
20688 # The cast to long int works around a bug in the HP C Compiler
20689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20691 # This bug is HP SR number 8606223364.
20692 { echo "$as_me:$LINENO: checking size of size_t" >&5
20693 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20694 if test "${ac_cv_sizeof_size_t+set}" = set; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20696 else
20697 if test "$cross_compiling" = yes; then
20698 # Depending upon the size, compute the lo and hi bounds.
20699 cat >conftest.$ac_ext <<_ACEOF
20700 /* confdefs.h. */
20701 _ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 $ac_includes_default
20706 typedef size_t ac__type_sizeof_;
20707 int
20708 main ()
20709 {
20710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20711 test_array [0] = 0
20712
20713 ;
20714 return 0;
20715 }
20716 _ACEOF
20717 rm -f conftest.$ac_objext
20718 if { (ac_try="$ac_compile"
20719 case "(($ac_try" in
20720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20721 *) ac_try_echo=$ac_try;;
20722 esac
20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20724 (eval "$ac_compile") 2>conftest.er1
20725 ac_status=$?
20726 grep -v '^ *+' conftest.er1 >conftest.err
20727 rm -f conftest.er1
20728 cat conftest.err >&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && {
20731 test -z "$ac_c_werror_flag" ||
20732 test ! -s conftest.err
20733 } && test -s conftest.$ac_objext; then
20734 ac_lo=0 ac_mid=0
20735 while :; do
20736 cat >conftest.$ac_ext <<_ACEOF
20737 /* confdefs.h. */
20738 _ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20743 typedef size_t ac__type_sizeof_;
20744 int
20745 main ()
20746 {
20747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20748 test_array [0] = 0
20749
20750 ;
20751 return 0;
20752 }
20753 _ACEOF
20754 rm -f conftest.$ac_objext
20755 if { (ac_try="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20759 esac
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20762 ac_status=$?
20763 grep -v '^ *+' conftest.er1 >conftest.err
20764 rm -f conftest.er1
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } && {
20768 test -z "$ac_c_werror_flag" ||
20769 test ! -s conftest.err
20770 } && test -s conftest.$ac_objext; then
20771 ac_hi=$ac_mid; break
20772 else
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20775
20776 ac_lo=`expr $ac_mid + 1`
20777 if test $ac_lo -le $ac_mid; then
20778 ac_lo= ac_hi=
20779 break
20780 fi
20781 ac_mid=`expr 2 '*' $ac_mid + 1`
20782 fi
20783
20784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20785 done
20786 else
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20789
20790 cat >conftest.$ac_ext <<_ACEOF
20791 /* confdefs.h. */
20792 _ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef size_t ac__type_sizeof_;
20798 int
20799 main ()
20800 {
20801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20802 test_array [0] = 0
20803
20804 ;
20805 return 0;
20806 }
20807 _ACEOF
20808 rm -f conftest.$ac_objext
20809 if { (ac_try="$ac_compile"
20810 case "(($ac_try" in
20811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20812 *) ac_try_echo=$ac_try;;
20813 esac
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815 (eval "$ac_compile") 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } && {
20822 test -z "$ac_c_werror_flag" ||
20823 test ! -s conftest.err
20824 } && test -s conftest.$ac_objext; then
20825 ac_hi=-1 ac_mid=-1
20826 while :; do
20827 cat >conftest.$ac_ext <<_ACEOF
20828 /* confdefs.h. */
20829 _ACEOF
20830 cat confdefs.h >>conftest.$ac_ext
20831 cat >>conftest.$ac_ext <<_ACEOF
20832 /* end confdefs.h. */
20833 $ac_includes_default
20834 typedef size_t ac__type_sizeof_;
20835 int
20836 main ()
20837 {
20838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20839 test_array [0] = 0
20840
20841 ;
20842 return 0;
20843 }
20844 _ACEOF
20845 rm -f conftest.$ac_objext
20846 if { (ac_try="$ac_compile"
20847 case "(($ac_try" in
20848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20849 *) ac_try_echo=$ac_try;;
20850 esac
20851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20852 (eval "$ac_compile") 2>conftest.er1
20853 ac_status=$?
20854 grep -v '^ *+' conftest.er1 >conftest.err
20855 rm -f conftest.er1
20856 cat conftest.err >&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); } && {
20859 test -z "$ac_c_werror_flag" ||
20860 test ! -s conftest.err
20861 } && test -s conftest.$ac_objext; then
20862 ac_lo=$ac_mid; break
20863 else
20864 echo "$as_me: failed program was:" >&5
20865 sed 's/^/| /' conftest.$ac_ext >&5
20866
20867 ac_hi=`expr '(' $ac_mid ')' - 1`
20868 if test $ac_mid -le $ac_hi; then
20869 ac_lo= ac_hi=
20870 break
20871 fi
20872 ac_mid=`expr 2 '*' $ac_mid`
20873 fi
20874
20875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20876 done
20877 else
20878 echo "$as_me: failed program was:" >&5
20879 sed 's/^/| /' conftest.$ac_ext >&5
20880
20881 ac_lo= ac_hi=
20882 fi
20883
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 fi
20886
20887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20888 # Binary search between lo and hi bounds.
20889 while test "x$ac_lo" != "x$ac_hi"; do
20890 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20891 cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h. */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef size_t ac__type_sizeof_;
20899 int
20900 main ()
20901 {
20902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20903 test_array [0] = 0
20904
20905 ;
20906 return 0;
20907 }
20908 _ACEOF
20909 rm -f conftest.$ac_objext
20910 if { (ac_try="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20914 esac
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20917 ac_status=$?
20918 grep -v '^ *+' conftest.er1 >conftest.err
20919 rm -f conftest.er1
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20926 ac_hi=$ac_mid
20927 else
20928 echo "$as_me: failed program was:" >&5
20929 sed 's/^/| /' conftest.$ac_ext >&5
20930
20931 ac_lo=`expr '(' $ac_mid ')' + 1`
20932 fi
20933
20934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20935 done
20936 case $ac_lo in
20937 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20938 '') if test "$ac_cv_type_size_t" = yes; then
20939 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20940 See \`config.log' for more details." >&5
20941 echo "$as_me: error: cannot compute sizeof (size_t)
20942 See \`config.log' for more details." >&2;}
20943 { (exit 77); exit 77; }; }
20944 else
20945 ac_cv_sizeof_size_t=0
20946 fi ;;
20947 esac
20948 else
20949 cat >conftest.$ac_ext <<_ACEOF
20950 /* confdefs.h. */
20951 _ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 $ac_includes_default
20956 typedef size_t ac__type_sizeof_;
20957 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20958 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20959 #include <stdio.h>
20960 #include <stdlib.h>
20961 int
20962 main ()
20963 {
20964
20965 FILE *f = fopen ("conftest.val", "w");
20966 if (! f)
20967 return 1;
20968 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20969 {
20970 long int i = longval ();
20971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20972 return 1;
20973 fprintf (f, "%ld\n", i);
20974 }
20975 else
20976 {
20977 unsigned long int i = ulongval ();
20978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20979 return 1;
20980 fprintf (f, "%lu\n", i);
20981 }
20982 return ferror (f) || fclose (f) != 0;
20983
20984 ;
20985 return 0;
20986 }
20987 _ACEOF
20988 rm -f conftest$ac_exeext
20989 if { (ac_try="$ac_link"
20990 case "(($ac_try" in
20991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20992 *) ac_try_echo=$ac_try;;
20993 esac
20994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20995 (eval "$ac_link") 2>&5
20996 ac_status=$?
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20999 { (case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21001 *) ac_try_echo=$ac_try;;
21002 esac
21003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_try") 2>&5
21005 ac_status=$?
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 ac_cv_sizeof_size_t=`cat conftest.val`
21009 else
21010 echo "$as_me: program exited with status $ac_status" >&5
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21013
21014 ( exit $ac_status )
21015 if test "$ac_cv_type_size_t" = yes; then
21016 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21017 See \`config.log' for more details." >&5
21018 echo "$as_me: error: cannot compute sizeof (size_t)
21019 See \`config.log' for more details." >&2;}
21020 { (exit 77); exit 77; }; }
21021 else
21022 ac_cv_sizeof_size_t=0
21023 fi
21024 fi
21025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21026 fi
21027 rm -f conftest.val
21028 fi
21029 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21030 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21031
21032
21033
21034 cat >>confdefs.h <<_ACEOF
21035 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21036 _ACEOF
21037
21038
21039
21040 case "${host}" in
21041 arm-*-linux* )
21042 { echo "$as_me:$LINENO: checking for long long" >&5
21043 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21044 if test "${ac_cv_type_long_long+set}" = set; then
21045 echo $ECHO_N "(cached) $ECHO_C" >&6
21046 else
21047 cat >conftest.$ac_ext <<_ACEOF
21048 /* confdefs.h. */
21049 _ACEOF
21050 cat confdefs.h >>conftest.$ac_ext
21051 cat >>conftest.$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21053 $ac_includes_default
21054 typedef long long ac__type_new_;
21055 int
21056 main ()
21057 {
21058 if ((ac__type_new_ *) 0)
21059 return 0;
21060 if (sizeof (ac__type_new_))
21061 return 0;
21062 ;
21063 return 0;
21064 }
21065 _ACEOF
21066 rm -f conftest.$ac_objext
21067 if { (ac_try="$ac_compile"
21068 case "(($ac_try" in
21069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21070 *) ac_try_echo=$ac_try;;
21071 esac
21072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21073 (eval "$ac_compile") 2>conftest.er1
21074 ac_status=$?
21075 grep -v '^ *+' conftest.er1 >conftest.err
21076 rm -f conftest.er1
21077 cat conftest.err >&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); } && {
21080 test -z "$ac_c_werror_flag" ||
21081 test ! -s conftest.err
21082 } && test -s conftest.$ac_objext; then
21083 ac_cv_type_long_long=yes
21084 else
21085 echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.$ac_ext >&5
21087
21088 ac_cv_type_long_long=no
21089 fi
21090
21091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21092 fi
21093 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21094 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21095
21096 # The cast to long int works around a bug in the HP C Compiler
21097 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21098 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21099 # This bug is HP SR number 8606223364.
21100 { echo "$as_me:$LINENO: checking size of long long" >&5
21101 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21102 if test "${ac_cv_sizeof_long_long+set}" = set; then
21103 echo $ECHO_N "(cached) $ECHO_C" >&6
21104 else
21105 if test "$cross_compiling" = yes; then
21106 # Depending upon the size, compute the lo and hi bounds.
21107 cat >conftest.$ac_ext <<_ACEOF
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 $ac_includes_default
21114 typedef long long ac__type_sizeof_;
21115 int
21116 main ()
21117 {
21118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21119 test_array [0] = 0
21120
21121 ;
21122 return 0;
21123 }
21124 _ACEOF
21125 rm -f conftest.$ac_objext
21126 if { (ac_try="$ac_compile"
21127 case "(($ac_try" in
21128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21129 *) ac_try_echo=$ac_try;;
21130 esac
21131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21132 (eval "$ac_compile") 2>conftest.er1
21133 ac_status=$?
21134 grep -v '^ *+' conftest.er1 >conftest.err
21135 rm -f conftest.er1
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } && {
21139 test -z "$ac_c_werror_flag" ||
21140 test ! -s conftest.err
21141 } && test -s conftest.$ac_objext; then
21142 ac_lo=0 ac_mid=0
21143 while :; do
21144 cat >conftest.$ac_ext <<_ACEOF
21145 /* confdefs.h. */
21146 _ACEOF
21147 cat confdefs.h >>conftest.$ac_ext
21148 cat >>conftest.$ac_ext <<_ACEOF
21149 /* end confdefs.h. */
21150 $ac_includes_default
21151 typedef long long ac__type_sizeof_;
21152 int
21153 main ()
21154 {
21155 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21156 test_array [0] = 0
21157
21158 ;
21159 return 0;
21160 }
21161 _ACEOF
21162 rm -f conftest.$ac_objext
21163 if { (ac_try="$ac_compile"
21164 case "(($ac_try" in
21165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21166 *) ac_try_echo=$ac_try;;
21167 esac
21168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21169 (eval "$ac_compile") 2>conftest.er1
21170 ac_status=$?
21171 grep -v '^ *+' conftest.er1 >conftest.err
21172 rm -f conftest.er1
21173 cat conftest.err >&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); } && {
21176 test -z "$ac_c_werror_flag" ||
21177 test ! -s conftest.err
21178 } && test -s conftest.$ac_objext; then
21179 ac_hi=$ac_mid; break
21180 else
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21183
21184 ac_lo=`expr $ac_mid + 1`
21185 if test $ac_lo -le $ac_mid; then
21186 ac_lo= ac_hi=
21187 break
21188 fi
21189 ac_mid=`expr 2 '*' $ac_mid + 1`
21190 fi
21191
21192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21193 done
21194 else
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21197
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h. */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 typedef long long ac__type_sizeof_;
21206 int
21207 main ()
21208 {
21209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21210 test_array [0] = 0
21211
21212 ;
21213 return 0;
21214 }
21215 _ACEOF
21216 rm -f conftest.$ac_objext
21217 if { (ac_try="$ac_compile"
21218 case "(($ac_try" in
21219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21221 esac
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_compile") 2>conftest.er1
21224 ac_status=$?
21225 grep -v '^ *+' conftest.er1 >conftest.err
21226 rm -f conftest.er1
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } && {
21230 test -z "$ac_c_werror_flag" ||
21231 test ! -s conftest.err
21232 } && test -s conftest.$ac_objext; then
21233 ac_hi=-1 ac_mid=-1
21234 while :; do
21235 cat >conftest.$ac_ext <<_ACEOF
21236 /* confdefs.h. */
21237 _ACEOF
21238 cat confdefs.h >>conftest.$ac_ext
21239 cat >>conftest.$ac_ext <<_ACEOF
21240 /* end confdefs.h. */
21241 $ac_includes_default
21242 typedef long long ac__type_sizeof_;
21243 int
21244 main ()
21245 {
21246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21247 test_array [0] = 0
21248
21249 ;
21250 return 0;
21251 }
21252 _ACEOF
21253 rm -f conftest.$ac_objext
21254 if { (ac_try="$ac_compile"
21255 case "(($ac_try" in
21256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21257 *) ac_try_echo=$ac_try;;
21258 esac
21259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21260 (eval "$ac_compile") 2>conftest.er1
21261 ac_status=$?
21262 grep -v '^ *+' conftest.er1 >conftest.err
21263 rm -f conftest.er1
21264 cat conftest.err >&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } && {
21267 test -z "$ac_c_werror_flag" ||
21268 test ! -s conftest.err
21269 } && test -s conftest.$ac_objext; then
21270 ac_lo=$ac_mid; break
21271 else
21272 echo "$as_me: failed program was:" >&5
21273 sed 's/^/| /' conftest.$ac_ext >&5
21274
21275 ac_hi=`expr '(' $ac_mid ')' - 1`
21276 if test $ac_mid -le $ac_hi; then
21277 ac_lo= ac_hi=
21278 break
21279 fi
21280 ac_mid=`expr 2 '*' $ac_mid`
21281 fi
21282
21283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21284 done
21285 else
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.$ac_ext >&5
21288
21289 ac_lo= ac_hi=
21290 fi
21291
21292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21293 fi
21294
21295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21296 # Binary search between lo and hi bounds.
21297 while test "x$ac_lo" != "x$ac_hi"; do
21298 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef long long ac__type_sizeof_;
21307 int
21308 main ()
21309 {
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21311 test_array [0] = 0
21312
21313 ;
21314 return 0;
21315 }
21316 _ACEOF
21317 rm -f conftest.$ac_objext
21318 if { (ac_try="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21321 *) ac_try_echo=$ac_try;;
21322 esac
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21325 ac_status=$?
21326 grep -v '^ *+' conftest.er1 >conftest.err
21327 rm -f conftest.er1
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.$ac_objext; then
21334 ac_hi=$ac_mid
21335 else
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.$ac_ext >&5
21338
21339 ac_lo=`expr '(' $ac_mid ')' + 1`
21340 fi
21341
21342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21343 done
21344 case $ac_lo in
21345 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21346 '') if test "$ac_cv_type_long_long" = yes; then
21347 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21348 See \`config.log' for more details." >&5
21349 echo "$as_me: error: cannot compute sizeof (long long)
21350 See \`config.log' for more details." >&2;}
21351 { (exit 77); exit 77; }; }
21352 else
21353 ac_cv_sizeof_long_long=0
21354 fi ;;
21355 esac
21356 else
21357 cat >conftest.$ac_ext <<_ACEOF
21358 /* confdefs.h. */
21359 _ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363 $ac_includes_default
21364 typedef long long ac__type_sizeof_;
21365 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21366 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21367 #include <stdio.h>
21368 #include <stdlib.h>
21369 int
21370 main ()
21371 {
21372
21373 FILE *f = fopen ("conftest.val", "w");
21374 if (! f)
21375 return 1;
21376 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21377 {
21378 long int i = longval ();
21379 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21380 return 1;
21381 fprintf (f, "%ld\n", i);
21382 }
21383 else
21384 {
21385 unsigned long int i = ulongval ();
21386 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21387 return 1;
21388 fprintf (f, "%lu\n", i);
21389 }
21390 return ferror (f) || fclose (f) != 0;
21391
21392 ;
21393 return 0;
21394 }
21395 _ACEOF
21396 rm -f conftest$ac_exeext
21397 if { (ac_try="$ac_link"
21398 case "(($ac_try" in
21399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21400 *) ac_try_echo=$ac_try;;
21401 esac
21402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21403 (eval "$ac_link") 2>&5
21404 ac_status=$?
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21407 { (case "(($ac_try" in
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21410 esac
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_try") 2>&5
21413 ac_status=$?
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); }; }; then
21416 ac_cv_sizeof_long_long=`cat conftest.val`
21417 else
21418 echo "$as_me: program exited with status $ac_status" >&5
21419 echo "$as_me: failed program was:" >&5
21420 sed 's/^/| /' conftest.$ac_ext >&5
21421
21422 ( exit $ac_status )
21423 if test "$ac_cv_type_long_long" = yes; then
21424 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21425 See \`config.log' for more details." >&5
21426 echo "$as_me: error: cannot compute sizeof (long long)
21427 See \`config.log' for more details." >&2;}
21428 { (exit 77); exit 77; }; }
21429 else
21430 ac_cv_sizeof_long_long=0
21431 fi
21432 fi
21433 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21434 fi
21435 rm -f conftest.val
21436 fi
21437 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21438 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21439
21440
21441
21442 cat >>confdefs.h <<_ACEOF
21443 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21444 _ACEOF
21445
21446
21447 ;;
21448 *-hp-hpux* )
21449 { echo "$as_me:$LINENO: checking for long long" >&5
21450 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21451 if test "${ac_cv_type_long_long+set}" = set; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21453 else
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h. */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461 typedef long long ac__type_new_;
21462 int
21463 main ()
21464 {
21465 if ((ac__type_new_ *) 0)
21466 return 0;
21467 if (sizeof (ac__type_new_))
21468 return 0;
21469 ;
21470 return 0;
21471 }
21472 _ACEOF
21473 rm -f conftest.$ac_objext
21474 if { (ac_try="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21478 esac
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21481 ac_status=$?
21482 grep -v '^ *+' conftest.er1 >conftest.err
21483 rm -f conftest.er1
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21490 ac_cv_type_long_long=yes
21491 else
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21494
21495 ac_cv_type_long_long=no
21496 fi
21497
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 fi
21500 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21501 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21502
21503 # The cast to long int works around a bug in the HP C Compiler
21504 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21505 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21506 # This bug is HP SR number 8606223364.
21507 { echo "$as_me:$LINENO: checking size of long long" >&5
21508 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21509 if test "${ac_cv_sizeof_long_long+set}" = set; then
21510 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 else
21512 if test "$cross_compiling" = yes; then
21513 # Depending upon the size, compute the lo and hi bounds.
21514 cat >conftest.$ac_ext <<_ACEOF
21515 /* confdefs.h. */
21516 _ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef long long ac__type_sizeof_;
21522 int
21523 main ()
21524 {
21525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21526 test_array [0] = 0
21527
21528 ;
21529 return 0;
21530 }
21531 _ACEOF
21532 rm -f conftest.$ac_objext
21533 if { (ac_try="$ac_compile"
21534 case "(($ac_try" in
21535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21536 *) ac_try_echo=$ac_try;;
21537 esac
21538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21539 (eval "$ac_compile") 2>conftest.er1
21540 ac_status=$?
21541 grep -v '^ *+' conftest.er1 >conftest.err
21542 rm -f conftest.er1
21543 cat conftest.err >&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } && {
21546 test -z "$ac_c_werror_flag" ||
21547 test ! -s conftest.err
21548 } && test -s conftest.$ac_objext; then
21549 ac_lo=0 ac_mid=0
21550 while :; do
21551 cat >conftest.$ac_ext <<_ACEOF
21552 /* confdefs.h. */
21553 _ACEOF
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 $ac_includes_default
21558 typedef long long ac__type_sizeof_;
21559 int
21560 main ()
21561 {
21562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21563 test_array [0] = 0
21564
21565 ;
21566 return 0;
21567 }
21568 _ACEOF
21569 rm -f conftest.$ac_objext
21570 if { (ac_try="$ac_compile"
21571 case "(($ac_try" in
21572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21573 *) ac_try_echo=$ac_try;;
21574 esac
21575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21576 (eval "$ac_compile") 2>conftest.er1
21577 ac_status=$?
21578 grep -v '^ *+' conftest.er1 >conftest.err
21579 rm -f conftest.er1
21580 cat conftest.err >&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } && {
21583 test -z "$ac_c_werror_flag" ||
21584 test ! -s conftest.err
21585 } && test -s conftest.$ac_objext; then
21586 ac_hi=$ac_mid; break
21587 else
21588 echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.$ac_ext >&5
21590
21591 ac_lo=`expr $ac_mid + 1`
21592 if test $ac_lo -le $ac_mid; then
21593 ac_lo= ac_hi=
21594 break
21595 fi
21596 ac_mid=`expr 2 '*' $ac_mid + 1`
21597 fi
21598
21599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21600 done
21601 else
21602 echo "$as_me: failed program was:" >&5
21603 sed 's/^/| /' conftest.$ac_ext >&5
21604
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef long long ac__type_sizeof_;
21613 int
21614 main ()
21615 {
21616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21617 test_array [0] = 0
21618
21619 ;
21620 return 0;
21621 }
21622 _ACEOF
21623 rm -f conftest.$ac_objext
21624 if { (ac_try="$ac_compile"
21625 case "(($ac_try" in
21626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21627 *) ac_try_echo=$ac_try;;
21628 esac
21629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21630 (eval "$ac_compile") 2>conftest.er1
21631 ac_status=$?
21632 grep -v '^ *+' conftest.er1 >conftest.err
21633 rm -f conftest.er1
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } && {
21637 test -z "$ac_c_werror_flag" ||
21638 test ! -s conftest.err
21639 } && test -s conftest.$ac_objext; then
21640 ac_hi=-1 ac_mid=-1
21641 while :; do
21642 cat >conftest.$ac_ext <<_ACEOF
21643 /* confdefs.h. */
21644 _ACEOF
21645 cat confdefs.h >>conftest.$ac_ext
21646 cat >>conftest.$ac_ext <<_ACEOF
21647 /* end confdefs.h. */
21648 $ac_includes_default
21649 typedef long long ac__type_sizeof_;
21650 int
21651 main ()
21652 {
21653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21654 test_array [0] = 0
21655
21656 ;
21657 return 0;
21658 }
21659 _ACEOF
21660 rm -f conftest.$ac_objext
21661 if { (ac_try="$ac_compile"
21662 case "(($ac_try" in
21663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21664 *) ac_try_echo=$ac_try;;
21665 esac
21666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21667 (eval "$ac_compile") 2>conftest.er1
21668 ac_status=$?
21669 grep -v '^ *+' conftest.er1 >conftest.err
21670 rm -f conftest.er1
21671 cat conftest.err >&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } && {
21674 test -z "$ac_c_werror_flag" ||
21675 test ! -s conftest.err
21676 } && test -s conftest.$ac_objext; then
21677 ac_lo=$ac_mid; break
21678 else
21679 echo "$as_me: failed program was:" >&5
21680 sed 's/^/| /' conftest.$ac_ext >&5
21681
21682 ac_hi=`expr '(' $ac_mid ')' - 1`
21683 if test $ac_mid -le $ac_hi; then
21684 ac_lo= ac_hi=
21685 break
21686 fi
21687 ac_mid=`expr 2 '*' $ac_mid`
21688 fi
21689
21690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21691 done
21692 else
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.$ac_ext >&5
21695
21696 ac_lo= ac_hi=
21697 fi
21698
21699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21700 fi
21701
21702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21703 # Binary search between lo and hi bounds.
21704 while test "x$ac_lo" != "x$ac_hi"; do
21705 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21706 cat >conftest.$ac_ext <<_ACEOF
21707 /* confdefs.h. */
21708 _ACEOF
21709 cat confdefs.h >>conftest.$ac_ext
21710 cat >>conftest.$ac_ext <<_ACEOF
21711 /* end confdefs.h. */
21712 $ac_includes_default
21713 typedef long long ac__type_sizeof_;
21714 int
21715 main ()
21716 {
21717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21718 test_array [0] = 0
21719
21720 ;
21721 return 0;
21722 }
21723 _ACEOF
21724 rm -f conftest.$ac_objext
21725 if { (ac_try="$ac_compile"
21726 case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21729 esac
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_compile") 2>conftest.er1
21732 ac_status=$?
21733 grep -v '^ *+' conftest.er1 >conftest.err
21734 rm -f conftest.er1
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } && {
21738 test -z "$ac_c_werror_flag" ||
21739 test ! -s conftest.err
21740 } && test -s conftest.$ac_objext; then
21741 ac_hi=$ac_mid
21742 else
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21745
21746 ac_lo=`expr '(' $ac_mid ')' + 1`
21747 fi
21748
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21750 done
21751 case $ac_lo in
21752 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21753 '') if test "$ac_cv_type_long_long" = yes; then
21754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21755 See \`config.log' for more details." >&5
21756 echo "$as_me: error: cannot compute sizeof (long long)
21757 See \`config.log' for more details." >&2;}
21758 { (exit 77); exit 77; }; }
21759 else
21760 ac_cv_sizeof_long_long=0
21761 fi ;;
21762 esac
21763 else
21764 cat >conftest.$ac_ext <<_ACEOF
21765 /* confdefs.h. */
21766 _ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 $ac_includes_default
21771 typedef long long ac__type_sizeof_;
21772 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21773 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21774 #include <stdio.h>
21775 #include <stdlib.h>
21776 int
21777 main ()
21778 {
21779
21780 FILE *f = fopen ("conftest.val", "w");
21781 if (! f)
21782 return 1;
21783 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21784 {
21785 long int i = longval ();
21786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21787 return 1;
21788 fprintf (f, "%ld\n", i);
21789 }
21790 else
21791 {
21792 unsigned long int i = ulongval ();
21793 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21794 return 1;
21795 fprintf (f, "%lu\n", i);
21796 }
21797 return ferror (f) || fclose (f) != 0;
21798
21799 ;
21800 return 0;
21801 }
21802 _ACEOF
21803 rm -f conftest$ac_exeext
21804 if { (ac_try="$ac_link"
21805 case "(($ac_try" in
21806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21807 *) ac_try_echo=$ac_try;;
21808 esac
21809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21810 (eval "$ac_link") 2>&5
21811 ac_status=$?
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21814 { (case "(($ac_try" in
21815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21816 *) ac_try_echo=$ac_try;;
21817 esac
21818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21819 (eval "$ac_try") 2>&5
21820 ac_status=$?
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); }; }; then
21823 ac_cv_sizeof_long_long=`cat conftest.val`
21824 else
21825 echo "$as_me: program exited with status $ac_status" >&5
21826 echo "$as_me: failed program was:" >&5
21827 sed 's/^/| /' conftest.$ac_ext >&5
21828
21829 ( exit $ac_status )
21830 if test "$ac_cv_type_long_long" = yes; then
21831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21832 See \`config.log' for more details." >&5
21833 echo "$as_me: error: cannot compute sizeof (long long)
21834 See \`config.log' for more details." >&2;}
21835 { (exit 77); exit 77; }; }
21836 else
21837 ac_cv_sizeof_long_long=0
21838 fi
21839 fi
21840 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21841 fi
21842 rm -f conftest.val
21843 fi
21844 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21845 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21846
21847
21848
21849 cat >>confdefs.h <<_ACEOF
21850 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21851 _ACEOF
21852
21853
21854 if test "$ac_cv_sizeof_long_long" != 0; then
21855 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21856 fi
21857 ;;
21858 * )
21859 { echo "$as_me:$LINENO: checking for long long" >&5
21860 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21861 if test "${ac_cv_type_long_long+set}" = set; then
21862 echo $ECHO_N "(cached) $ECHO_C" >&6
21863 else
21864 cat >conftest.$ac_ext <<_ACEOF
21865 /* confdefs.h. */
21866 _ACEOF
21867 cat confdefs.h >>conftest.$ac_ext
21868 cat >>conftest.$ac_ext <<_ACEOF
21869 /* end confdefs.h. */
21870 $ac_includes_default
21871 typedef long long ac__type_new_;
21872 int
21873 main ()
21874 {
21875 if ((ac__type_new_ *) 0)
21876 return 0;
21877 if (sizeof (ac__type_new_))
21878 return 0;
21879 ;
21880 return 0;
21881 }
21882 _ACEOF
21883 rm -f conftest.$ac_objext
21884 if { (ac_try="$ac_compile"
21885 case "(($ac_try" in
21886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21888 esac
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_compile") 2>conftest.er1
21891 ac_status=$?
21892 grep -v '^ *+' conftest.er1 >conftest.err
21893 rm -f conftest.er1
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } && {
21897 test -z "$ac_c_werror_flag" ||
21898 test ! -s conftest.err
21899 } && test -s conftest.$ac_objext; then
21900 ac_cv_type_long_long=yes
21901 else
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.$ac_ext >&5
21904
21905 ac_cv_type_long_long=no
21906 fi
21907
21908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21909 fi
21910 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21911 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21912
21913 # The cast to long int works around a bug in the HP C Compiler
21914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21916 # This bug is HP SR number 8606223364.
21917 { echo "$as_me:$LINENO: checking size of long long" >&5
21918 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21919 if test "${ac_cv_sizeof_long_long+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21921 else
21922 if test "$cross_compiling" = yes; then
21923 # Depending upon the size, compute the lo and hi bounds.
21924 cat >conftest.$ac_ext <<_ACEOF
21925 /* confdefs.h. */
21926 _ACEOF
21927 cat confdefs.h >>conftest.$ac_ext
21928 cat >>conftest.$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21930 $ac_includes_default
21931 typedef long long ac__type_sizeof_;
21932 int
21933 main ()
21934 {
21935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21936 test_array [0] = 0
21937
21938 ;
21939 return 0;
21940 }
21941 _ACEOF
21942 rm -f conftest.$ac_objext
21943 if { (ac_try="$ac_compile"
21944 case "(($ac_try" in
21945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21946 *) ac_try_echo=$ac_try;;
21947 esac
21948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21949 (eval "$ac_compile") 2>conftest.er1
21950 ac_status=$?
21951 grep -v '^ *+' conftest.er1 >conftest.err
21952 rm -f conftest.er1
21953 cat conftest.err >&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); } && {
21956 test -z "$ac_c_werror_flag" ||
21957 test ! -s conftest.err
21958 } && test -s conftest.$ac_objext; then
21959 ac_lo=0 ac_mid=0
21960 while :; do
21961 cat >conftest.$ac_ext <<_ACEOF
21962 /* confdefs.h. */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967 $ac_includes_default
21968 typedef long long ac__type_sizeof_;
21969 int
21970 main ()
21971 {
21972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21973 test_array [0] = 0
21974
21975 ;
21976 return 0;
21977 }
21978 _ACEOF
21979 rm -f conftest.$ac_objext
21980 if { (ac_try="$ac_compile"
21981 case "(($ac_try" in
21982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21983 *) ac_try_echo=$ac_try;;
21984 esac
21985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21986 (eval "$ac_compile") 2>conftest.er1
21987 ac_status=$?
21988 grep -v '^ *+' conftest.er1 >conftest.err
21989 rm -f conftest.er1
21990 cat conftest.err >&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); } && {
21993 test -z "$ac_c_werror_flag" ||
21994 test ! -s conftest.err
21995 } && test -s conftest.$ac_objext; then
21996 ac_hi=$ac_mid; break
21997 else
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22000
22001 ac_lo=`expr $ac_mid + 1`
22002 if test $ac_lo -le $ac_mid; then
22003 ac_lo= ac_hi=
22004 break
22005 fi
22006 ac_mid=`expr 2 '*' $ac_mid + 1`
22007 fi
22008
22009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22010 done
22011 else
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22014
22015 cat >conftest.$ac_ext <<_ACEOF
22016 /* confdefs.h. */
22017 _ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 $ac_includes_default
22022 typedef long long ac__type_sizeof_;
22023 int
22024 main ()
22025 {
22026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22027 test_array [0] = 0
22028
22029 ;
22030 return 0;
22031 }
22032 _ACEOF
22033 rm -f conftest.$ac_objext
22034 if { (ac_try="$ac_compile"
22035 case "(($ac_try" in
22036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22038 esac
22039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_compile") 2>conftest.er1
22041 ac_status=$?
22042 grep -v '^ *+' conftest.er1 >conftest.err
22043 rm -f conftest.er1
22044 cat conftest.err >&5
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); } && {
22047 test -z "$ac_c_werror_flag" ||
22048 test ! -s conftest.err
22049 } && test -s conftest.$ac_objext; then
22050 ac_hi=-1 ac_mid=-1
22051 while :; do
22052 cat >conftest.$ac_ext <<_ACEOF
22053 /* confdefs.h. */
22054 _ACEOF
22055 cat confdefs.h >>conftest.$ac_ext
22056 cat >>conftest.$ac_ext <<_ACEOF
22057 /* end confdefs.h. */
22058 $ac_includes_default
22059 typedef long long ac__type_sizeof_;
22060 int
22061 main ()
22062 {
22063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22064 test_array [0] = 0
22065
22066 ;
22067 return 0;
22068 }
22069 _ACEOF
22070 rm -f conftest.$ac_objext
22071 if { (ac_try="$ac_compile"
22072 case "(($ac_try" in
22073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22074 *) ac_try_echo=$ac_try;;
22075 esac
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_compile") 2>conftest.er1
22078 ac_status=$?
22079 grep -v '^ *+' conftest.er1 >conftest.err
22080 rm -f conftest.er1
22081 cat conftest.err >&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } && {
22084 test -z "$ac_c_werror_flag" ||
22085 test ! -s conftest.err
22086 } && test -s conftest.$ac_objext; then
22087 ac_lo=$ac_mid; break
22088 else
22089 echo "$as_me: failed program was:" >&5
22090 sed 's/^/| /' conftest.$ac_ext >&5
22091
22092 ac_hi=`expr '(' $ac_mid ')' - 1`
22093 if test $ac_mid -le $ac_hi; then
22094 ac_lo= ac_hi=
22095 break
22096 fi
22097 ac_mid=`expr 2 '*' $ac_mid`
22098 fi
22099
22100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22101 done
22102 else
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.$ac_ext >&5
22105
22106 ac_lo= ac_hi=
22107 fi
22108
22109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22110 fi
22111
22112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22113 # Binary search between lo and hi bounds.
22114 while test "x$ac_lo" != "x$ac_hi"; do
22115 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22116 cat >conftest.$ac_ext <<_ACEOF
22117 /* confdefs.h. */
22118 _ACEOF
22119 cat confdefs.h >>conftest.$ac_ext
22120 cat >>conftest.$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22122 $ac_includes_default
22123 typedef long long ac__type_sizeof_;
22124 int
22125 main ()
22126 {
22127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22128 test_array [0] = 0
22129
22130 ;
22131 return 0;
22132 }
22133 _ACEOF
22134 rm -f conftest.$ac_objext
22135 if { (ac_try="$ac_compile"
22136 case "(($ac_try" in
22137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22138 *) ac_try_echo=$ac_try;;
22139 esac
22140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22141 (eval "$ac_compile") 2>conftest.er1
22142 ac_status=$?
22143 grep -v '^ *+' conftest.er1 >conftest.err
22144 rm -f conftest.er1
22145 cat conftest.err >&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); } && {
22148 test -z "$ac_c_werror_flag" ||
22149 test ! -s conftest.err
22150 } && test -s conftest.$ac_objext; then
22151 ac_hi=$ac_mid
22152 else
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22155
22156 ac_lo=`expr '(' $ac_mid ')' + 1`
22157 fi
22158
22159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22160 done
22161 case $ac_lo in
22162 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22163 '') if test "$ac_cv_type_long_long" = yes; then
22164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22165 See \`config.log' for more details." >&5
22166 echo "$as_me: error: cannot compute sizeof (long long)
22167 See \`config.log' for more details." >&2;}
22168 { (exit 77); exit 77; }; }
22169 else
22170 ac_cv_sizeof_long_long=0
22171 fi ;;
22172 esac
22173 else
22174 cat >conftest.$ac_ext <<_ACEOF
22175 /* confdefs.h. */
22176 _ACEOF
22177 cat confdefs.h >>conftest.$ac_ext
22178 cat >>conftest.$ac_ext <<_ACEOF
22179 /* end confdefs.h. */
22180 $ac_includes_default
22181 typedef long long ac__type_sizeof_;
22182 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22183 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22184 #include <stdio.h>
22185 #include <stdlib.h>
22186 int
22187 main ()
22188 {
22189
22190 FILE *f = fopen ("conftest.val", "w");
22191 if (! f)
22192 return 1;
22193 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22194 {
22195 long int i = longval ();
22196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22197 return 1;
22198 fprintf (f, "%ld\n", i);
22199 }
22200 else
22201 {
22202 unsigned long int i = ulongval ();
22203 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22204 return 1;
22205 fprintf (f, "%lu\n", i);
22206 }
22207 return ferror (f) || fclose (f) != 0;
22208
22209 ;
22210 return 0;
22211 }
22212 _ACEOF
22213 rm -f conftest$ac_exeext
22214 if { (ac_try="$ac_link"
22215 case "(($ac_try" in
22216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22217 *) ac_try_echo=$ac_try;;
22218 esac
22219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22220 (eval "$ac_link") 2>&5
22221 ac_status=$?
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22224 { (case "(($ac_try" in
22225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22226 *) ac_try_echo=$ac_try;;
22227 esac
22228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22229 (eval "$ac_try") 2>&5
22230 ac_status=$?
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 ac_cv_sizeof_long_long=`cat conftest.val`
22234 else
22235 echo "$as_me: program exited with status $ac_status" >&5
22236 echo "$as_me: failed program was:" >&5
22237 sed 's/^/| /' conftest.$ac_ext >&5
22238
22239 ( exit $ac_status )
22240 if test "$ac_cv_type_long_long" = yes; then
22241 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22242 See \`config.log' for more details." >&5
22243 echo "$as_me: error: cannot compute sizeof (long long)
22244 See \`config.log' for more details." >&2;}
22245 { (exit 77); exit 77; }; }
22246 else
22247 ac_cv_sizeof_long_long=0
22248 fi
22249 fi
22250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22251 fi
22252 rm -f conftest.val
22253 fi
22254 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22255 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22256
22257
22258
22259 cat >>confdefs.h <<_ACEOF
22260 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22261 _ACEOF
22262
22263
22264 esac
22265
22266 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22267 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22268 if test "${ac_cv_type_wchar_t+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 else
22271 cat >conftest.$ac_ext <<_ACEOF
22272 /* confdefs.h. */
22273 _ACEOF
22274 cat confdefs.h >>conftest.$ac_ext
22275 cat >>conftest.$ac_ext <<_ACEOF
22276 /* end confdefs.h. */
22277
22278 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22279 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22280 # error "fake wchar_t"
22281 #endif
22282 #ifdef HAVE_WCHAR_H
22283 # ifdef __CYGWIN__
22284 # include <stddef.h>
22285 # endif
22286 # include <wchar.h>
22287 #endif
22288 #ifdef HAVE_STDLIB_H
22289 # include <stdlib.h>
22290 #endif
22291 #include <stdio.h>
22292
22293
22294
22295 typedef wchar_t ac__type_new_;
22296 int
22297 main ()
22298 {
22299 if ((ac__type_new_ *) 0)
22300 return 0;
22301 if (sizeof (ac__type_new_))
22302 return 0;
22303 ;
22304 return 0;
22305 }
22306 _ACEOF
22307 rm -f conftest.$ac_objext
22308 if { (ac_try="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22312 esac
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22315 ac_status=$?
22316 grep -v '^ *+' conftest.er1 >conftest.err
22317 rm -f conftest.er1
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22324 ac_cv_type_wchar_t=yes
22325 else
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22328
22329 ac_cv_type_wchar_t=no
22330 fi
22331
22332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22333 fi
22334 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22335 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22336
22337 # The cast to long int works around a bug in the HP C Compiler
22338 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22339 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22340 # This bug is HP SR number 8606223364.
22341 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22342 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22343 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22344 echo $ECHO_N "(cached) $ECHO_C" >&6
22345 else
22346 if test "$cross_compiling" = yes; then
22347 # Depending upon the size, compute the lo and hi bounds.
22348 cat >conftest.$ac_ext <<_ACEOF
22349 /* confdefs.h. */
22350 _ACEOF
22351 cat confdefs.h >>conftest.$ac_ext
22352 cat >>conftest.$ac_ext <<_ACEOF
22353 /* end confdefs.h. */
22354
22355 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22356 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22357 # error "fake wchar_t"
22358 #endif
22359 #ifdef HAVE_WCHAR_H
22360 # ifdef __CYGWIN__
22361 # include <stddef.h>
22362 # endif
22363 # include <wchar.h>
22364 #endif
22365 #ifdef HAVE_STDLIB_H
22366 # include <stdlib.h>
22367 #endif
22368 #include <stdio.h>
22369
22370
22371
22372 typedef wchar_t ac__type_sizeof_;
22373 int
22374 main ()
22375 {
22376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22377 test_array [0] = 0
22378
22379 ;
22380 return 0;
22381 }
22382 _ACEOF
22383 rm -f conftest.$ac_objext
22384 if { (ac_try="$ac_compile"
22385 case "(($ac_try" in
22386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22387 *) ac_try_echo=$ac_try;;
22388 esac
22389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22390 (eval "$ac_compile") 2>conftest.er1
22391 ac_status=$?
22392 grep -v '^ *+' conftest.er1 >conftest.err
22393 rm -f conftest.er1
22394 cat conftest.err >&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } && {
22397 test -z "$ac_c_werror_flag" ||
22398 test ! -s conftest.err
22399 } && test -s conftest.$ac_objext; then
22400 ac_lo=0 ac_mid=0
22401 while :; do
22402 cat >conftest.$ac_ext <<_ACEOF
22403 /* confdefs.h. */
22404 _ACEOF
22405 cat confdefs.h >>conftest.$ac_ext
22406 cat >>conftest.$ac_ext <<_ACEOF
22407 /* end confdefs.h. */
22408
22409 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22410 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22411 # error "fake wchar_t"
22412 #endif
22413 #ifdef HAVE_WCHAR_H
22414 # ifdef __CYGWIN__
22415 # include <stddef.h>
22416 # endif
22417 # include <wchar.h>
22418 #endif
22419 #ifdef HAVE_STDLIB_H
22420 # include <stdlib.h>
22421 #endif
22422 #include <stdio.h>
22423
22424
22425
22426 typedef wchar_t ac__type_sizeof_;
22427 int
22428 main ()
22429 {
22430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22431 test_array [0] = 0
22432
22433 ;
22434 return 0;
22435 }
22436 _ACEOF
22437 rm -f conftest.$ac_objext
22438 if { (ac_try="$ac_compile"
22439 case "(($ac_try" in
22440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22441 *) ac_try_echo=$ac_try;;
22442 esac
22443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22444 (eval "$ac_compile") 2>conftest.er1
22445 ac_status=$?
22446 grep -v '^ *+' conftest.er1 >conftest.err
22447 rm -f conftest.er1
22448 cat conftest.err >&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && {
22451 test -z "$ac_c_werror_flag" ||
22452 test ! -s conftest.err
22453 } && test -s conftest.$ac_objext; then
22454 ac_hi=$ac_mid; break
22455 else
22456 echo "$as_me: failed program was:" >&5
22457 sed 's/^/| /' conftest.$ac_ext >&5
22458
22459 ac_lo=`expr $ac_mid + 1`
22460 if test $ac_lo -le $ac_mid; then
22461 ac_lo= ac_hi=
22462 break
22463 fi
22464 ac_mid=`expr 2 '*' $ac_mid + 1`
22465 fi
22466
22467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22468 done
22469 else
22470 echo "$as_me: failed program was:" >&5
22471 sed 's/^/| /' conftest.$ac_ext >&5
22472
22473 cat >conftest.$ac_ext <<_ACEOF
22474 /* confdefs.h. */
22475 _ACEOF
22476 cat confdefs.h >>conftest.$ac_ext
22477 cat >>conftest.$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22479
22480 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22481 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22482 # error "fake wchar_t"
22483 #endif
22484 #ifdef HAVE_WCHAR_H
22485 # ifdef __CYGWIN__
22486 # include <stddef.h>
22487 # endif
22488 # include <wchar.h>
22489 #endif
22490 #ifdef HAVE_STDLIB_H
22491 # include <stdlib.h>
22492 #endif
22493 #include <stdio.h>
22494
22495
22496
22497 typedef wchar_t ac__type_sizeof_;
22498 int
22499 main ()
22500 {
22501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22502 test_array [0] = 0
22503
22504 ;
22505 return 0;
22506 }
22507 _ACEOF
22508 rm -f conftest.$ac_objext
22509 if { (ac_try="$ac_compile"
22510 case "(($ac_try" in
22511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22512 *) ac_try_echo=$ac_try;;
22513 esac
22514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515 (eval "$ac_compile") 2>conftest.er1
22516 ac_status=$?
22517 grep -v '^ *+' conftest.er1 >conftest.err
22518 rm -f conftest.er1
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && {
22522 test -z "$ac_c_werror_flag" ||
22523 test ! -s conftest.err
22524 } && test -s conftest.$ac_objext; then
22525 ac_hi=-1 ac_mid=-1
22526 while :; do
22527 cat >conftest.$ac_ext <<_ACEOF
22528 /* confdefs.h. */
22529 _ACEOF
22530 cat confdefs.h >>conftest.$ac_ext
22531 cat >>conftest.$ac_ext <<_ACEOF
22532 /* end confdefs.h. */
22533
22534 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22535 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22536 # error "fake wchar_t"
22537 #endif
22538 #ifdef HAVE_WCHAR_H
22539 # ifdef __CYGWIN__
22540 # include <stddef.h>
22541 # endif
22542 # include <wchar.h>
22543 #endif
22544 #ifdef HAVE_STDLIB_H
22545 # include <stdlib.h>
22546 #endif
22547 #include <stdio.h>
22548
22549
22550
22551 typedef wchar_t ac__type_sizeof_;
22552 int
22553 main ()
22554 {
22555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22556 test_array [0] = 0
22557
22558 ;
22559 return 0;
22560 }
22561 _ACEOF
22562 rm -f conftest.$ac_objext
22563 if { (ac_try="$ac_compile"
22564 case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566 *) ac_try_echo=$ac_try;;
22567 esac
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_compile") 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && {
22576 test -z "$ac_c_werror_flag" ||
22577 test ! -s conftest.err
22578 } && test -s conftest.$ac_objext; then
22579 ac_lo=$ac_mid; break
22580 else
22581 echo "$as_me: failed program was:" >&5
22582 sed 's/^/| /' conftest.$ac_ext >&5
22583
22584 ac_hi=`expr '(' $ac_mid ')' - 1`
22585 if test $ac_mid -le $ac_hi; then
22586 ac_lo= ac_hi=
22587 break
22588 fi
22589 ac_mid=`expr 2 '*' $ac_mid`
22590 fi
22591
22592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22593 done
22594 else
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.$ac_ext >&5
22597
22598 ac_lo= ac_hi=
22599 fi
22600
22601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22602 fi
22603
22604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22605 # Binary search between lo and hi bounds.
22606 while test "x$ac_lo" != "x$ac_hi"; do
22607 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22608 cat >conftest.$ac_ext <<_ACEOF
22609 /* confdefs.h. */
22610 _ACEOF
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614
22615 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22616 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22617 # error "fake wchar_t"
22618 #endif
22619 #ifdef HAVE_WCHAR_H
22620 # ifdef __CYGWIN__
22621 # include <stddef.h>
22622 # endif
22623 # include <wchar.h>
22624 #endif
22625 #ifdef HAVE_STDLIB_H
22626 # include <stdlib.h>
22627 #endif
22628 #include <stdio.h>
22629
22630
22631
22632 typedef wchar_t ac__type_sizeof_;
22633 int
22634 main ()
22635 {
22636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22637 test_array [0] = 0
22638
22639 ;
22640 return 0;
22641 }
22642 _ACEOF
22643 rm -f conftest.$ac_objext
22644 if { (ac_try="$ac_compile"
22645 case "(($ac_try" in
22646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22647 *) ac_try_echo=$ac_try;;
22648 esac
22649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22650 (eval "$ac_compile") 2>conftest.er1
22651 ac_status=$?
22652 grep -v '^ *+' conftest.er1 >conftest.err
22653 rm -f conftest.er1
22654 cat conftest.err >&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); } && {
22657 test -z "$ac_c_werror_flag" ||
22658 test ! -s conftest.err
22659 } && test -s conftest.$ac_objext; then
22660 ac_hi=$ac_mid
22661 else
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.$ac_ext >&5
22664
22665 ac_lo=`expr '(' $ac_mid ')' + 1`
22666 fi
22667
22668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22669 done
22670 case $ac_lo in
22671 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22672 '') if test "$ac_cv_type_wchar_t" = yes; then
22673 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22674 See \`config.log' for more details." >&5
22675 echo "$as_me: error: cannot compute sizeof (wchar_t)
22676 See \`config.log' for more details." >&2;}
22677 { (exit 77); exit 77; }; }
22678 else
22679 ac_cv_sizeof_wchar_t=0
22680 fi ;;
22681 esac
22682 else
22683 cat >conftest.$ac_ext <<_ACEOF
22684 /* confdefs.h. */
22685 _ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689
22690 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22691 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22692 # error "fake wchar_t"
22693 #endif
22694 #ifdef HAVE_WCHAR_H
22695 # ifdef __CYGWIN__
22696 # include <stddef.h>
22697 # endif
22698 # include <wchar.h>
22699 #endif
22700 #ifdef HAVE_STDLIB_H
22701 # include <stdlib.h>
22702 #endif
22703 #include <stdio.h>
22704
22705
22706
22707 typedef wchar_t ac__type_sizeof_;
22708 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22709 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22710 #include <stdio.h>
22711 #include <stdlib.h>
22712 int
22713 main ()
22714 {
22715
22716 FILE *f = fopen ("conftest.val", "w");
22717 if (! f)
22718 return 1;
22719 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22720 {
22721 long int i = longval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22723 return 1;
22724 fprintf (f, "%ld\n", i);
22725 }
22726 else
22727 {
22728 unsigned long int i = ulongval ();
22729 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22730 return 1;
22731 fprintf (f, "%lu\n", i);
22732 }
22733 return ferror (f) || fclose (f) != 0;
22734
22735 ;
22736 return 0;
22737 }
22738 _ACEOF
22739 rm -f conftest$ac_exeext
22740 if { (ac_try="$ac_link"
22741 case "(($ac_try" in
22742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22743 *) ac_try_echo=$ac_try;;
22744 esac
22745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22746 (eval "$ac_link") 2>&5
22747 ac_status=$?
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22750 { (case "(($ac_try" in
22751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22752 *) ac_try_echo=$ac_try;;
22753 esac
22754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22755 (eval "$ac_try") 2>&5
22756 ac_status=$?
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); }; }; then
22759 ac_cv_sizeof_wchar_t=`cat conftest.val`
22760 else
22761 echo "$as_me: program exited with status $ac_status" >&5
22762 echo "$as_me: failed program was:" >&5
22763 sed 's/^/| /' conftest.$ac_ext >&5
22764
22765 ( exit $ac_status )
22766 if test "$ac_cv_type_wchar_t" = yes; then
22767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22768 See \`config.log' for more details." >&5
22769 echo "$as_me: error: cannot compute sizeof (wchar_t)
22770 See \`config.log' for more details." >&2;}
22771 { (exit 77); exit 77; }; }
22772 else
22773 ac_cv_sizeof_wchar_t=0
22774 fi
22775 fi
22776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22777 fi
22778 rm -f conftest.val
22779 fi
22780 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22781 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22782
22783
22784
22785 cat >>confdefs.h <<_ACEOF
22786 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22787 _ACEOF
22788
22789
22790 if test "$ac_cv_sizeof_wchar_t" != 0; then
22791 wxUSE_WCHAR_T=yes
22792 else
22793 wxUSE_WCHAR_T=no
22794 fi
22795
22796 { echo "$as_me:$LINENO: checking for va_copy" >&5
22797 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22798 if test "${wx_cv_func_va_copy+set}" = set; then
22799 echo $ECHO_N "(cached) $ECHO_C" >&6
22800 else
22801
22802 ac_ext=cpp
22803 ac_cpp='$CXXCPP $CPPFLAGS'
22804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22807
22808 cat >conftest.$ac_ext <<_ACEOF
22809
22810 #include <stdarg.h>
22811 void foo(char *f, ...)
22812 {
22813 va_list ap1, ap2;
22814 va_start(ap1, f);
22815 va_copy(ap2, ap1);
22816 va_end(ap2);
22817 va_end(ap1);
22818 }
22819 int main()
22820 {
22821 foo("hi", 17);
22822 return 0;
22823 }
22824 _ACEOF
22825 rm -f conftest.$ac_objext conftest$ac_exeext
22826 if { (ac_try="$ac_link"
22827 case "(($ac_try" in
22828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22829 *) ac_try_echo=$ac_try;;
22830 esac
22831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22832 (eval "$ac_link") 2>conftest.er1
22833 ac_status=$?
22834 grep -v '^ *+' conftest.er1 >conftest.err
22835 rm -f conftest.er1
22836 cat conftest.err >&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } && {
22839 test -z "$ac_cxx_werror_flag" ||
22840 test ! -s conftest.err
22841 } && test -s conftest$ac_exeext &&
22842 $as_test_x conftest$ac_exeext; then
22843 wx_cv_func_va_copy=yes
22844 else
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.$ac_ext >&5
22847
22848 wx_cv_func_va_copy=no
22849
22850 fi
22851
22852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22853 conftest$ac_exeext conftest.$ac_ext
22854 ac_ext=c
22855 ac_cpp='$CPP $CPPFLAGS'
22856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22859
22860
22861
22862 fi
22863 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22864 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22865
22866 if test $wx_cv_func_va_copy = "yes"; then
22867 cat >>confdefs.h <<\_ACEOF
22868 #define HAVE_VA_COPY 1
22869 _ACEOF
22870
22871 else
22872 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22873 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22874 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22875 echo $ECHO_N "(cached) $ECHO_C" >&6
22876 else
22877
22878 if test "$cross_compiling" = yes; then
22879 wx_cv_type_va_list_lvalue=yes
22880
22881 else
22882 cat >conftest.$ac_ext <<_ACEOF
22883
22884 #include <stdarg.h>
22885 int foo(char *f, ...)
22886 {
22887 va_list ap1, ap2;
22888 va_start(ap1, f);
22889 ap2 = ap1;
22890 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22891 return 1;
22892 va_end(ap2);
22893 va_end(ap1);
22894 return 0;
22895 }
22896 int main()
22897 {
22898 return foo("hi", 17);
22899 }
22900 _ACEOF
22901 rm -f conftest$ac_exeext
22902 if { (ac_try="$ac_link"
22903 case "(($ac_try" in
22904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22905 *) ac_try_echo=$ac_try;;
22906 esac
22907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22908 (eval "$ac_link") 2>&5
22909 ac_status=$?
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22912 { (case "(($ac_try" in
22913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22914 *) ac_try_echo=$ac_try;;
22915 esac
22916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22917 (eval "$ac_try") 2>&5
22918 ac_status=$?
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; }; then
22921 wx_cv_type_va_list_lvalue=yes
22922 else
22923 echo "$as_me: program exited with status $ac_status" >&5
22924 echo "$as_me: failed program was:" >&5
22925 sed 's/^/| /' conftest.$ac_ext >&5
22926
22927 ( exit $ac_status )
22928 wx_cv_type_va_list_lvalue=no
22929 fi
22930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22931 fi
22932
22933
22934
22935
22936 fi
22937 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22938 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22939
22940 if test $wx_cv_type_va_list_lvalue != "yes"; then
22941 cat >>confdefs.h <<\_ACEOF
22942 #define VA_LIST_IS_ARRAY 1
22943 _ACEOF
22944
22945 fi
22946 fi
22947
22948 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22949
22950 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22951 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22952 if test "${wx_cv_have_variadic_macros+set}" = set; then
22953 echo $ECHO_N "(cached) $ECHO_C" >&6
22954 else
22955
22956 ac_ext=cpp
22957 ac_cpp='$CXXCPP $CPPFLAGS'
22958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22961
22962 cat >conftest.$ac_ext <<_ACEOF
22963 /* confdefs.h. */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968
22969 #include <stdio.h>
22970 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22971
22972 int
22973 main ()
22974 {
22975
22976 test("%s %d %p", "test", 1, 0);
22977
22978
22979 ;
22980 return 0;
22981 }
22982 _ACEOF
22983 rm -f conftest.$ac_objext
22984 if { (ac_try="$ac_compile"
22985 case "(($ac_try" in
22986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22987 *) ac_try_echo=$ac_try;;
22988 esac
22989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22990 (eval "$ac_compile") 2>conftest.er1
22991 ac_status=$?
22992 grep -v '^ *+' conftest.er1 >conftest.err
22993 rm -f conftest.er1
22994 cat conftest.err >&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && {
22997 test -z "$ac_cxx_werror_flag" ||
22998 test ! -s conftest.err
22999 } && test -s conftest.$ac_objext; then
23000 wx_cv_have_variadic_macros=yes
23001 else
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.$ac_ext >&5
23004
23005 wx_cv_have_variadic_macros=no
23006
23007 fi
23008
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010 ac_ext=c
23011 ac_cpp='$CPP $CPPFLAGS'
23012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23015
23016
23017
23018 fi
23019 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23020 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23021
23022 if test $wx_cv_have_variadic_macros = "yes"; then
23023 cat >>confdefs.h <<\_ACEOF
23024 #define HAVE_VARIADIC_MACROS 1
23025 _ACEOF
23026
23027 fi
23028
23029 fi
23030 # Check whether --enable-largefile was given.
23031 if test "${enable_largefile+set}" = set; then
23032 enableval=$enable_largefile;
23033 fi
23034
23035 if test "$enable_largefile" != no; then
23036 wx_largefile=no
23037
23038 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23039 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23040 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23041 echo $ECHO_N "(cached) $ECHO_C" >&6
23042 else
23043
23044 cat >conftest.$ac_ext <<_ACEOF
23045 /* confdefs.h. */
23046 _ACEOF
23047 cat confdefs.h >>conftest.$ac_ext
23048 cat >>conftest.$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050 #define _FILE_OFFSET_BITS 64
23051 #include <sys/types.h>
23052 int
23053 main ()
23054 {
23055 typedef struct {
23056 unsigned int field: sizeof(off_t) == 8;
23057 } wxlf;
23058
23059 ;
23060 return 0;
23061 }
23062 _ACEOF
23063 rm -f conftest.$ac_objext
23064 if { (ac_try="$ac_compile"
23065 case "(($ac_try" in
23066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23067 *) ac_try_echo=$ac_try;;
23068 esac
23069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23070 (eval "$ac_compile") 2>conftest.er1
23071 ac_status=$?
23072 grep -v '^ *+' conftest.er1 >conftest.err
23073 rm -f conftest.er1
23074 cat conftest.err >&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } && {
23077 test -z "$ac_c_werror_flag" ||
23078 test ! -s conftest.err
23079 } && test -s conftest.$ac_objext; then
23080 ac_cv_sys_file_offset_bits=64
23081 else
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.$ac_ext >&5
23084
23085 ac_cv_sys_file_offset_bits=no
23086 fi
23087
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089
23090
23091 fi
23092 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23093 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23094
23095 if test "$ac_cv_sys_file_offset_bits" != no; then
23096 wx_largefile=yes
23097 cat >>confdefs.h <<_ACEOF
23098 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23099 _ACEOF
23100
23101 fi
23102
23103 if test "x$wx_largefile" != "xyes"; then
23104
23105 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23106 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23107 if test "${ac_cv_sys_large_files+set}" = set; then
23108 echo $ECHO_N "(cached) $ECHO_C" >&6
23109 else
23110
23111 cat >conftest.$ac_ext <<_ACEOF
23112 /* confdefs.h. */
23113 _ACEOF
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 #define _LARGE_FILES 1
23118 #include <sys/types.h>
23119 int
23120 main ()
23121 {
23122 typedef struct {
23123 unsigned int field: sizeof(off_t) == 8;
23124 } wxlf;
23125
23126 ;
23127 return 0;
23128 }
23129 _ACEOF
23130 rm -f conftest.$ac_objext
23131 if { (ac_try="$ac_compile"
23132 case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23135 esac
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_compile") 2>conftest.er1
23138 ac_status=$?
23139 grep -v '^ *+' conftest.er1 >conftest.err
23140 rm -f conftest.er1
23141 cat conftest.err >&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } && {
23144 test -z "$ac_c_werror_flag" ||
23145 test ! -s conftest.err
23146 } && test -s conftest.$ac_objext; then
23147 ac_cv_sys_large_files=1
23148 else
23149 echo "$as_me: failed program was:" >&5
23150 sed 's/^/| /' conftest.$ac_ext >&5
23151
23152 ac_cv_sys_large_files=no
23153 fi
23154
23155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23156
23157
23158 fi
23159 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23160 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23161
23162 if test "$ac_cv_sys_large_files" != no; then
23163 wx_largefile=yes
23164 cat >>confdefs.h <<_ACEOF
23165 #define _LARGE_FILES $ac_cv_sys_large_files
23166 _ACEOF
23167
23168 fi
23169
23170 fi
23171
23172 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23173 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23174 if test "x$wx_largefile" = "xyes"; then
23175 cat >>confdefs.h <<\_ACEOF
23176 #define HAVE_LARGEFILE_SUPPORT 1
23177 _ACEOF
23178
23179 fi
23180 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23181 echo "${ECHO_T}$wx_largefile" >&6; }
23182 fi
23183
23184
23185 if test "x$wx_largefile" = "xyes"; then
23186 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23187 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23188
23189 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23190 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23191 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23192 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23193 echo $ECHO_N "(cached) $ECHO_C" >&6
23194 else
23195
23196 ac_ext=cpp
23197 ac_cpp='$CXXCPP $CPPFLAGS'
23198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23201
23202 cat >conftest.$ac_ext <<_ACEOF
23203 /* confdefs.h. */
23204 _ACEOF
23205 cat confdefs.h >>conftest.$ac_ext
23206 cat >>conftest.$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208
23209 int
23210 main ()
23211 {
23212
23213 #ifndef __STDC_EXT__
23214 choke me
23215 #endif
23216
23217 ;
23218 return 0;
23219 }
23220 _ACEOF
23221 rm -f conftest.$ac_objext
23222 if { (ac_try="$ac_compile"
23223 case "(($ac_try" in
23224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23225 *) ac_try_echo=$ac_try;;
23226 esac
23227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23228 (eval "$ac_compile") 2>conftest.er1
23229 ac_status=$?
23230 grep -v '^ *+' conftest.er1 >conftest.err
23231 rm -f conftest.er1
23232 cat conftest.err >&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } && {
23235 test -z "$ac_cxx_werror_flag" ||
23236 test ! -s conftest.err
23237 } && test -s conftest.$ac_objext; then
23238 wx_cv_STDC_EXT_required=no
23239 else
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.$ac_ext >&5
23242
23243 wx_cv_STDC_EXT_required=yes
23244
23245 fi
23246
23247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23248 ac_ext=c
23249 ac_cpp='$CPP $CPPFLAGS'
23250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23253
23254
23255
23256 fi
23257 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23258 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23259 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23260 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23261 fi
23262 fi
23263 else
23264 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23265 fi
23266 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23267 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23268 if test "${ac_cv_sys_largefile_source+set}" = set; then
23269 echo $ECHO_N "(cached) $ECHO_C" >&6
23270 else
23271 while :; do
23272 cat >conftest.$ac_ext <<_ACEOF
23273 /* confdefs.h. */
23274 _ACEOF
23275 cat confdefs.h >>conftest.$ac_ext
23276 cat >>conftest.$ac_ext <<_ACEOF
23277 /* end confdefs.h. */
23278 #include <sys/types.h> /* for off_t */
23279 #include <stdio.h>
23280 int
23281 main ()
23282 {
23283 int (*fp) (FILE *, off_t, int) = fseeko;
23284 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23285 ;
23286 return 0;
23287 }
23288 _ACEOF
23289 rm -f conftest.$ac_objext conftest$ac_exeext
23290 if { (ac_try="$ac_link"
23291 case "(($ac_try" in
23292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23293 *) ac_try_echo=$ac_try;;
23294 esac
23295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23296 (eval "$ac_link") 2>conftest.er1
23297 ac_status=$?
23298 grep -v '^ *+' conftest.er1 >conftest.err
23299 rm -f conftest.er1
23300 cat conftest.err >&5
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); } && {
23303 test -z "$ac_c_werror_flag" ||
23304 test ! -s conftest.err
23305 } && test -s conftest$ac_exeext &&
23306 $as_test_x conftest$ac_exeext; then
23307 ac_cv_sys_largefile_source=no; break
23308 else
23309 echo "$as_me: failed program was:" >&5
23310 sed 's/^/| /' conftest.$ac_ext >&5
23311
23312
23313 fi
23314
23315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23316 conftest$ac_exeext conftest.$ac_ext
23317 cat >conftest.$ac_ext <<_ACEOF
23318 /* confdefs.h. */
23319 _ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323 #define _LARGEFILE_SOURCE 1
23324 #include <sys/types.h> /* for off_t */
23325 #include <stdio.h>
23326 int
23327 main ()
23328 {
23329 int (*fp) (FILE *, off_t, int) = fseeko;
23330 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23331 ;
23332 return 0;
23333 }
23334 _ACEOF
23335 rm -f conftest.$ac_objext conftest$ac_exeext
23336 if { (ac_try="$ac_link"
23337 case "(($ac_try" in
23338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23339 *) ac_try_echo=$ac_try;;
23340 esac
23341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23342 (eval "$ac_link") 2>conftest.er1
23343 ac_status=$?
23344 grep -v '^ *+' conftest.er1 >conftest.err
23345 rm -f conftest.er1
23346 cat conftest.err >&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); } && {
23349 test -z "$ac_c_werror_flag" ||
23350 test ! -s conftest.err
23351 } && test -s conftest$ac_exeext &&
23352 $as_test_x conftest$ac_exeext; then
23353 ac_cv_sys_largefile_source=1; break
23354 else
23355 echo "$as_me: failed program was:" >&5
23356 sed 's/^/| /' conftest.$ac_ext >&5
23357
23358
23359 fi
23360
23361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23362 conftest$ac_exeext conftest.$ac_ext
23363 ac_cv_sys_largefile_source=unknown
23364 break
23365 done
23366 fi
23367 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23368 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23369 case $ac_cv_sys_largefile_source in #(
23370 no | unknown) ;;
23371 *)
23372 cat >>confdefs.h <<_ACEOF
23373 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23374 _ACEOF
23375 ;;
23376 esac
23377 rm -f conftest*
23378
23379 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23380 # in glibc 2.1.3, but that breaks too many other things.
23381 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23382 if test $ac_cv_sys_largefile_source != unknown; then
23383
23384 cat >>confdefs.h <<\_ACEOF
23385 #define HAVE_FSEEKO 1
23386 _ACEOF
23387
23388 fi
23389
23390 if test "$ac_cv_sys_largefile_source" != no; then
23391 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23392 fi
23393 fi
23394
23395 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23396 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23397 if test "${ac_cv_c_bigendian+set}" = set; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 else
23400 ac_cv_c_bigendian=unknown
23401 # See if sys/param.h defines the BYTE_ORDER macro.
23402 cat >conftest.$ac_ext <<_ACEOF
23403 /* confdefs.h. */
23404 _ACEOF
23405 cat confdefs.h >>conftest.$ac_ext
23406 cat >>conftest.$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 #include <sys/types.h>
23409 #include <sys/param.h>
23410 int
23411 main ()
23412 {
23413
23414 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23415 bogus endian macros
23416 #endif
23417 ;
23418 return 0;
23419 }
23420 _ACEOF
23421 rm -f conftest.$ac_objext
23422 if { (ac_try="$ac_compile"
23423 case "(($ac_try" in
23424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23425 *) ac_try_echo=$ac_try;;
23426 esac
23427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23428 (eval "$ac_compile") 2>conftest.er1
23429 ac_status=$?
23430 grep -v '^ *+' conftest.er1 >conftest.err
23431 rm -f conftest.er1
23432 cat conftest.err >&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); } && {
23435 test -z "$ac_c_werror_flag" ||
23436 test ! -s conftest.err
23437 } && test -s conftest.$ac_objext; then
23438 # It does; now see whether it defined to BIG_ENDIAN or not.
23439 cat >conftest.$ac_ext <<_ACEOF
23440 /* confdefs.h. */
23441 _ACEOF
23442 cat confdefs.h >>conftest.$ac_ext
23443 cat >>conftest.$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23445 #include <sys/types.h>
23446 #include <sys/param.h>
23447 int
23448 main ()
23449 {
23450
23451 #if BYTE_ORDER != BIG_ENDIAN
23452 not big endian
23453 #endif
23454 ;
23455 return 0;
23456 }
23457 _ACEOF
23458 rm -f conftest.$ac_objext
23459 if { (ac_try="$ac_compile"
23460 case "(($ac_try" in
23461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23462 *) ac_try_echo=$ac_try;;
23463 esac
23464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23465 (eval "$ac_compile") 2>conftest.er1
23466 ac_status=$?
23467 grep -v '^ *+' conftest.er1 >conftest.err
23468 rm -f conftest.er1
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } && {
23472 test -z "$ac_c_werror_flag" ||
23473 test ! -s conftest.err
23474 } && test -s conftest.$ac_objext; then
23475 ac_cv_c_bigendian=yes
23476 else
23477 echo "$as_me: failed program was:" >&5
23478 sed 's/^/| /' conftest.$ac_ext >&5
23479
23480 ac_cv_c_bigendian=no
23481 fi
23482
23483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23484 else
23485 echo "$as_me: failed program was:" >&5
23486 sed 's/^/| /' conftest.$ac_ext >&5
23487
23488
23489 fi
23490
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23492 if test $ac_cv_c_bigendian = unknown; then
23493 if test "$cross_compiling" = yes; then
23494 ac_cv_c_bigendian=unknown
23495 else
23496 cat >conftest.$ac_ext <<_ACEOF
23497 /* confdefs.h. */
23498 _ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502 main () {
23503 /* Are we little or big endian? From Harbison&Steele. */
23504 union
23505 {
23506 long l;
23507 char c[sizeof (long)];
23508 } u;
23509 u.l = 1;
23510 exit (u.c[sizeof (long) - 1] == 1);
23511 }
23512 _ACEOF
23513 rm -f conftest$ac_exeext
23514 if { (ac_try="$ac_link"
23515 case "(($ac_try" in
23516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23517 *) ac_try_echo=$ac_try;;
23518 esac
23519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23520 (eval "$ac_link") 2>&5
23521 ac_status=$?
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23524 { (case "(($ac_try" in
23525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23526 *) ac_try_echo=$ac_try;;
23527 esac
23528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23529 (eval "$ac_try") 2>&5
23530 ac_status=$?
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); }; }; then
23533 ac_cv_c_bigendian=no
23534 else
23535 echo "$as_me: program exited with status $ac_status" >&5
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23538
23539 ( exit $ac_status )
23540 ac_cv_c_bigendian=yes
23541 fi
23542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23543 fi
23544
23545
23546 fi
23547 fi
23548 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23549 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23550 if test $ac_cv_c_bigendian = unknown; then
23551 { 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
23552 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;}
23553 fi
23554 if test $ac_cv_c_bigendian = yes; then
23555 cat >>confdefs.h <<\_ACEOF
23556 #define WORDS_BIGENDIAN 1
23557 _ACEOF
23558
23559 fi
23560
23561
23562
23563
23564 ac_ext=cpp
23565 ac_cpp='$CXXCPP $CPPFLAGS'
23566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23569
23570
23571
23572 for ac_header in iostream
23573 do
23574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 else
23580 cat >conftest.$ac_ext <<_ACEOF
23581 /* confdefs.h. */
23582 _ACEOF
23583 cat confdefs.h >>conftest.$ac_ext
23584 cat >>conftest.$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23586
23587
23588 #include <$ac_header>
23589 _ACEOF
23590 rm -f conftest.$ac_objext
23591 if { (ac_try="$ac_compile"
23592 case "(($ac_try" in
23593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23594 *) ac_try_echo=$ac_try;;
23595 esac
23596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23597 (eval "$ac_compile") 2>conftest.er1
23598 ac_status=$?
23599 grep -v '^ *+' conftest.er1 >conftest.err
23600 rm -f conftest.er1
23601 cat conftest.err >&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } && {
23604 test -z "$ac_cxx_werror_flag" ||
23605 test ! -s conftest.err
23606 } && test -s conftest.$ac_objext; then
23607 eval "$as_ac_Header=yes"
23608 else
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.$ac_ext >&5
23611
23612 eval "$as_ac_Header=no"
23613 fi
23614
23615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23616 fi
23617 ac_res=`eval echo '${'$as_ac_Header'}'`
23618 { echo "$as_me:$LINENO: result: $ac_res" >&5
23619 echo "${ECHO_T}$ac_res" >&6; }
23620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23621 cat >>confdefs.h <<_ACEOF
23622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23623 _ACEOF
23624
23625 fi
23626
23627 done
23628
23629
23630 if test "$ac_cv_header_iostream" = "yes" ; then
23631 :
23632 else
23633 cat >>confdefs.h <<\_ACEOF
23634 #define wxUSE_IOSTREAMH 1
23635 _ACEOF
23636
23637 fi
23638
23639 ac_ext=c
23640 ac_cpp='$CPP $CPPFLAGS'
23641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23644
23645
23646
23647
23648 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23649 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23650 if test "${wx_cv_cpp_bool+set}" = set; then
23651 echo $ECHO_N "(cached) $ECHO_C" >&6
23652 else
23653
23654
23655 ac_ext=cpp
23656 ac_cpp='$CXXCPP $CPPFLAGS'
23657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23660
23661
23662 cat >conftest.$ac_ext <<_ACEOF
23663 /* confdefs.h. */
23664 _ACEOF
23665 cat confdefs.h >>conftest.$ac_ext
23666 cat >>conftest.$ac_ext <<_ACEOF
23667 /* end confdefs.h. */
23668
23669
23670 int
23671 main ()
23672 {
23673
23674 bool b = true;
23675
23676 return 0;
23677
23678 ;
23679 return 0;
23680 }
23681 _ACEOF
23682 rm -f conftest.$ac_objext
23683 if { (ac_try="$ac_compile"
23684 case "(($ac_try" in
23685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23686 *) ac_try_echo=$ac_try;;
23687 esac
23688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23689 (eval "$ac_compile") 2>conftest.er1
23690 ac_status=$?
23691 grep -v '^ *+' conftest.er1 >conftest.err
23692 rm -f conftest.er1
23693 cat conftest.err >&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); } && {
23696 test -z "$ac_cxx_werror_flag" ||
23697 test ! -s conftest.err
23698 } && test -s conftest.$ac_objext; then
23699
23700 wx_cv_cpp_bool=yes
23701
23702 else
23703 echo "$as_me: failed program was:" >&5
23704 sed 's/^/| /' conftest.$ac_ext >&5
23705
23706
23707 wx_cv_cpp_bool=no
23708
23709
23710 fi
23711
23712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23713
23714 ac_ext=c
23715 ac_cpp='$CPP $CPPFLAGS'
23716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23719
23720
23721 fi
23722 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23723 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23724
23725 if test "$wx_cv_cpp_bool" = "yes"; then
23726 cat >>confdefs.h <<\_ACEOF
23727 #define HAVE_BOOL 1
23728 _ACEOF
23729
23730 fi
23731
23732
23733
23734 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23735 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23736 if test "${wx_cv_explicit+set}" = set; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23738 else
23739
23740
23741 ac_ext=cpp
23742 ac_cpp='$CXXCPP $CPPFLAGS'
23743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23746
23747
23748 cat >conftest.$ac_ext <<_ACEOF
23749 /* confdefs.h. */
23750 _ACEOF
23751 cat confdefs.h >>conftest.$ac_ext
23752 cat >>conftest.$ac_ext <<_ACEOF
23753 /* end confdefs.h. */
23754
23755 class Foo { public: explicit Foo(int) {} };
23756
23757 int
23758 main ()
23759 {
23760
23761 return 0;
23762
23763 ;
23764 return 0;
23765 }
23766 _ACEOF
23767 rm -f conftest.$ac_objext
23768 if { (ac_try="$ac_compile"
23769 case "(($ac_try" in
23770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23771 *) ac_try_echo=$ac_try;;
23772 esac
23773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23774 (eval "$ac_compile") 2>conftest.er1
23775 ac_status=$?
23776 grep -v '^ *+' conftest.er1 >conftest.err
23777 rm -f conftest.er1
23778 cat conftest.err >&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } && {
23781 test -z "$ac_cxx_werror_flag" ||
23782 test ! -s conftest.err
23783 } && test -s conftest.$ac_objext; then
23784
23785 cat >conftest.$ac_ext <<_ACEOF
23786 /* confdefs.h. */
23787 _ACEOF
23788 cat confdefs.h >>conftest.$ac_ext
23789 cat >>conftest.$ac_ext <<_ACEOF
23790 /* end confdefs.h. */
23791
23792 class Foo { public: explicit Foo(int) {} };
23793 static void TakeFoo(const Foo& foo) { }
23794
23795 int
23796 main ()
23797 {
23798
23799 TakeFoo(17);
23800 return 0;
23801
23802 ;
23803 return 0;
23804 }
23805 _ACEOF
23806 rm -f conftest.$ac_objext
23807 if { (ac_try="$ac_compile"
23808 case "(($ac_try" in
23809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23810 *) ac_try_echo=$ac_try;;
23811 esac
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_compile") 2>conftest.er1
23814 ac_status=$?
23815 grep -v '^ *+' conftest.er1 >conftest.err
23816 rm -f conftest.er1
23817 cat conftest.err >&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); } && {
23820 test -z "$ac_cxx_werror_flag" ||
23821 test ! -s conftest.err
23822 } && test -s conftest.$ac_objext; then
23823 wx_cv_explicit=no
23824 else
23825 echo "$as_me: failed program was:" >&5
23826 sed 's/^/| /' conftest.$ac_ext >&5
23827
23828 wx_cv_explicit=yes
23829
23830 fi
23831
23832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23833
23834 else
23835 echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.$ac_ext >&5
23837
23838 wx_cv_explicit=no
23839
23840 fi
23841
23842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23843
23844 ac_ext=c
23845 ac_cpp='$CPP $CPPFLAGS'
23846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23849
23850
23851 fi
23852 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23853 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23854
23855 if test "$wx_cv_explicit" = "yes"; then
23856 cat >>confdefs.h <<\_ACEOF
23857 #define HAVE_EXPLICIT 1
23858 _ACEOF
23859
23860 fi
23861
23862
23863 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23864 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23865 if test "${ac_cv_cxx_const_cast+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23867 else
23868
23869 ac_ext=cpp
23870 ac_cpp='$CXXCPP $CPPFLAGS'
23871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23874
23875 cat >conftest.$ac_ext <<_ACEOF
23876 /* confdefs.h. */
23877 _ACEOF
23878 cat confdefs.h >>conftest.$ac_ext
23879 cat >>conftest.$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23881
23882 int
23883 main ()
23884 {
23885 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23886 ;
23887 return 0;
23888 }
23889 _ACEOF
23890 rm -f conftest.$ac_objext
23891 if { (ac_try="$ac_compile"
23892 case "(($ac_try" in
23893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23894 *) ac_try_echo=$ac_try;;
23895 esac
23896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23897 (eval "$ac_compile") 2>conftest.er1
23898 ac_status=$?
23899 grep -v '^ *+' conftest.er1 >conftest.err
23900 rm -f conftest.er1
23901 cat conftest.err >&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } && {
23904 test -z "$ac_cxx_werror_flag" ||
23905 test ! -s conftest.err
23906 } && test -s conftest.$ac_objext; then
23907 ac_cv_cxx_const_cast=yes
23908 else
23909 echo "$as_me: failed program was:" >&5
23910 sed 's/^/| /' conftest.$ac_ext >&5
23911
23912 ac_cv_cxx_const_cast=no
23913 fi
23914
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23916 ac_ext=c
23917 ac_cpp='$CPP $CPPFLAGS'
23918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23921
23922
23923 fi
23924 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23925 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23926 if test "$ac_cv_cxx_const_cast" = yes; then
23927
23928 cat >>confdefs.h <<\_ACEOF
23929 #define HAVE_CONST_CAST
23930 _ACEOF
23931
23932 fi
23933
23934 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23935 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23936 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23937 echo $ECHO_N "(cached) $ECHO_C" >&6
23938 else
23939
23940 ac_ext=cpp
23941 ac_cpp='$CXXCPP $CPPFLAGS'
23942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23945
23946 cat >conftest.$ac_ext <<_ACEOF
23947 /* confdefs.h. */
23948 _ACEOF
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952 #include <typeinfo>
23953 class Base { public : Base () {} virtual void f () = 0;};
23954 class Derived : public Base { public : Derived () {} virtual void f () {} };
23955 class Unrelated { public : Unrelated () {} };
23956 int g (Unrelated&) { return 0; }
23957 int
23958 main ()
23959 {
23960
23961 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23962 ;
23963 return 0;
23964 }
23965 _ACEOF
23966 rm -f conftest.$ac_objext
23967 if { (ac_try="$ac_compile"
23968 case "(($ac_try" in
23969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23970 *) ac_try_echo=$ac_try;;
23971 esac
23972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23973 (eval "$ac_compile") 2>conftest.er1
23974 ac_status=$?
23975 grep -v '^ *+' conftest.er1 >conftest.err
23976 rm -f conftest.er1
23977 cat conftest.err >&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } && {
23980 test -z "$ac_cxx_werror_flag" ||
23981 test ! -s conftest.err
23982 } && test -s conftest.$ac_objext; then
23983 ac_cv_cxx_reinterpret_cast=yes
23984 else
23985 echo "$as_me: failed program was:" >&5
23986 sed 's/^/| /' conftest.$ac_ext >&5
23987
23988 ac_cv_cxx_reinterpret_cast=no
23989 fi
23990
23991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23992 ac_ext=c
23993 ac_cpp='$CPP $CPPFLAGS'
23994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23997
23998
23999 fi
24000 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24001 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24002 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24003
24004 cat >>confdefs.h <<\_ACEOF
24005 #define HAVE_REINTERPRET_CAST
24006 _ACEOF
24007
24008 fi
24009
24010 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24011 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24012 if test "${ac_cv_cxx_static_cast+set}" = set; then
24013 echo $ECHO_N "(cached) $ECHO_C" >&6
24014 else
24015
24016 ac_ext=cpp
24017 ac_cpp='$CXXCPP $CPPFLAGS'
24018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24021
24022 cat >conftest.$ac_ext <<_ACEOF
24023 /* confdefs.h. */
24024 _ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 #include <typeinfo>
24029 class Base { public : Base () {} virtual void f () = 0; };
24030 class Derived : public Base { public : Derived () {} virtual void f () {} };
24031 int g (Derived&) { return 0; }
24032 int
24033 main ()
24034 {
24035
24036 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24037 ;
24038 return 0;
24039 }
24040 _ACEOF
24041 rm -f conftest.$ac_objext
24042 if { (ac_try="$ac_compile"
24043 case "(($ac_try" in
24044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24045 *) ac_try_echo=$ac_try;;
24046 esac
24047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24048 (eval "$ac_compile") 2>conftest.er1
24049 ac_status=$?
24050 grep -v '^ *+' conftest.er1 >conftest.err
24051 rm -f conftest.er1
24052 cat conftest.err >&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } && {
24055 test -z "$ac_cxx_werror_flag" ||
24056 test ! -s conftest.err
24057 } && test -s conftest.$ac_objext; then
24058 ac_cv_cxx_static_cast=yes
24059 else
24060 echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.$ac_ext >&5
24062
24063 ac_cv_cxx_static_cast=no
24064 fi
24065
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 ac_ext=c
24068 ac_cpp='$CPP $CPPFLAGS'
24069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24072
24073
24074 fi
24075 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24076 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24077 if test "$ac_cv_cxx_static_cast" = yes; then
24078
24079 cat >>confdefs.h <<\_ACEOF
24080 #define HAVE_STATIC_CAST
24081 _ACEOF
24082
24083 fi
24084
24085
24086 if test "x$SUNCXX" = xyes; then
24087 CXXFLAGS="-features=tmplife $CXXFLAGS"
24088 fi
24089
24090 if test "x$SUNCC" = xyes; then
24091 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24092 fi
24093
24094 if test "x$SGICC" = "xyes"; then
24095 CFLAGS="-woff 3970 $CFLAGS"
24096 fi
24097 if test "x$SGICXX" = "xyes"; then
24098 CXXFLAGS="-woff 3970 $CXXFLAGS"
24099 fi
24100
24101 if test "x$HPCC" = "xyes"; then
24102 CFLAGS="+W 2011,2450 $CFLAGS"
24103 fi
24104 if test "x$HPCXX" = "xyes"; then
24105 CXXFLAGS="+W 2340 $CXXFLAGS"
24106 fi
24107
24108 if test "x$COMPAQCXX" = "xyes"; then
24109 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24110 fi
24111
24112 ac_ext=cpp
24113 ac_cpp='$CXXCPP $CPPFLAGS'
24114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24117
24118
24119 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24120 if test "$wxUSE_UNICODE" = "yes"; then
24121 std_string="std::wstring"
24122 char_type="wchar_t"
24123 else
24124 std_string="std::string"
24125 char_type="char"
24126 fi
24127
24128 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24129 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24130 if test "${wx_cv_class_stdstring+set}" = set; then
24131 echo $ECHO_N "(cached) $ECHO_C" >&6
24132 else
24133
24134 cat >conftest.$ac_ext <<_ACEOF
24135 /* confdefs.h. */
24136 _ACEOF
24137 cat confdefs.h >>conftest.$ac_ext
24138 cat >>conftest.$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24140 #include <string>
24141 int
24142 main ()
24143 {
24144 $std_string foo;
24145 ;
24146 return 0;
24147 }
24148 _ACEOF
24149 rm -f conftest.$ac_objext
24150 if { (ac_try="$ac_compile"
24151 case "(($ac_try" in
24152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;;
24154 esac
24155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156 (eval "$ac_compile") 2>conftest.er1
24157 ac_status=$?
24158 grep -v '^ *+' conftest.er1 >conftest.err
24159 rm -f conftest.er1
24160 cat conftest.err >&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); } && {
24163 test -z "$ac_cxx_werror_flag" ||
24164 test ! -s conftest.err
24165 } && test -s conftest.$ac_objext; then
24166 wx_cv_class_stdstring=yes
24167 else
24168 echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.$ac_ext >&5
24170
24171 wx_cv_class_stdstring=no
24172
24173 fi
24174
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176
24177
24178 fi
24179 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24180 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24181
24182 if test "$wx_cv_class_stdstring" = yes; then
24183 if test "$wxUSE_UNICODE" = "yes"; then
24184 cat >>confdefs.h <<\_ACEOF
24185 #define HAVE_STD_WSTRING 1
24186 _ACEOF
24187
24188 fi
24189 else
24190 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24191 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24192 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24194 else
24195
24196 cat >conftest.$ac_ext <<_ACEOF
24197 /* confdefs.h. */
24198 _ACEOF
24199 cat confdefs.h >>conftest.$ac_ext
24200 cat >>conftest.$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24202
24203 #ifdef HAVE_WCHAR_H
24204 # ifdef __CYGWIN__
24205 # include <stddef.h>
24206 # endif
24207 # include <wchar.h>
24208 #endif
24209 #ifdef HAVE_STDLIB_H
24210 # include <stdlib.h>
24211 #endif
24212 #include <stdio.h>
24213 #include <string>
24214
24215 int
24216 main ()
24217 {
24218 std::basic_string<$char_type> foo;
24219 const $char_type* dummy = foo.c_str();
24220 ;
24221 return 0;
24222 }
24223 _ACEOF
24224 rm -f conftest.$ac_objext
24225 if { (ac_try="$ac_compile"
24226 case "(($ac_try" in
24227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24228 *) ac_try_echo=$ac_try;;
24229 esac
24230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24231 (eval "$ac_compile") 2>conftest.er1
24232 ac_status=$?
24233 grep -v '^ *+' conftest.er1 >conftest.err
24234 rm -f conftest.er1
24235 cat conftest.err >&5
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); } && {
24238 test -z "$ac_cxx_werror_flag" ||
24239 test ! -s conftest.err
24240 } && test -s conftest.$ac_objext; then
24241 wx_cv_class_stdbasicstring=yes
24242 else
24243 echo "$as_me: failed program was:" >&5
24244 sed 's/^/| /' conftest.$ac_ext >&5
24245
24246 wx_cv_class_stdbasicstring=no
24247
24248 fi
24249
24250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24251
24252
24253 fi
24254 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24255 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24256
24257 if test "$wx_cv_class_stdbasicstring" != yes; then
24258 if test "$wxUSE_STL" = "yes"; then
24259 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24260 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24261 { (exit 1); exit 1; }; }
24262 elif test "$wxUSE_STD_STRING" = "yes"; then
24263 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24264 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24265 { (exit 1); exit 1; }; }
24266 else
24267 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24268 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24269 wxUSE_STD_STRING=no
24270 fi
24271 fi
24272 fi
24273 fi
24274
24275 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24276 { echo "$as_me:$LINENO: checking for std::istream" >&5
24277 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24278 if test "${ac_cv_type_std__istream+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 else
24281 cat >conftest.$ac_ext <<_ACEOF
24282 /* confdefs.h. */
24283 _ACEOF
24284 cat confdefs.h >>conftest.$ac_ext
24285 cat >>conftest.$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24287 #include <iostream>
24288
24289 typedef std::istream ac__type_new_;
24290 int
24291 main ()
24292 {
24293 if ((ac__type_new_ *) 0)
24294 return 0;
24295 if (sizeof (ac__type_new_))
24296 return 0;
24297 ;
24298 return 0;
24299 }
24300 _ACEOF
24301 rm -f conftest.$ac_objext
24302 if { (ac_try="$ac_compile"
24303 case "(($ac_try" in
24304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24305 *) ac_try_echo=$ac_try;;
24306 esac
24307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24308 (eval "$ac_compile") 2>conftest.er1
24309 ac_status=$?
24310 grep -v '^ *+' conftest.er1 >conftest.err
24311 rm -f conftest.er1
24312 cat conftest.err >&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } && {
24315 test -z "$ac_cxx_werror_flag" ||
24316 test ! -s conftest.err
24317 } && test -s conftest.$ac_objext; then
24318 ac_cv_type_std__istream=yes
24319 else
24320 echo "$as_me: failed program was:" >&5
24321 sed 's/^/| /' conftest.$ac_ext >&5
24322
24323 ac_cv_type_std__istream=no
24324 fi
24325
24326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24327 fi
24328 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24329 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24330 if test $ac_cv_type_std__istream = yes; then
24331
24332 cat >>confdefs.h <<_ACEOF
24333 #define HAVE_STD__ISTREAM 1
24334 _ACEOF
24335
24336
24337 else
24338 wxUSE_STD_IOSTREAM=no
24339 fi
24340 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24341 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24342 if test "${ac_cv_type_std__ostream+set}" = set; then
24343 echo $ECHO_N "(cached) $ECHO_C" >&6
24344 else
24345 cat >conftest.$ac_ext <<_ACEOF
24346 /* confdefs.h. */
24347 _ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351 #include <iostream>
24352
24353 typedef std::ostream ac__type_new_;
24354 int
24355 main ()
24356 {
24357 if ((ac__type_new_ *) 0)
24358 return 0;
24359 if (sizeof (ac__type_new_))
24360 return 0;
24361 ;
24362 return 0;
24363 }
24364 _ACEOF
24365 rm -f conftest.$ac_objext
24366 if { (ac_try="$ac_compile"
24367 case "(($ac_try" in
24368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24369 *) ac_try_echo=$ac_try;;
24370 esac
24371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24372 (eval "$ac_compile") 2>conftest.er1
24373 ac_status=$?
24374 grep -v '^ *+' conftest.er1 >conftest.err
24375 rm -f conftest.er1
24376 cat conftest.err >&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); } && {
24379 test -z "$ac_cxx_werror_flag" ||
24380 test ! -s conftest.err
24381 } && test -s conftest.$ac_objext; then
24382 ac_cv_type_std__ostream=yes
24383 else
24384 echo "$as_me: failed program was:" >&5
24385 sed 's/^/| /' conftest.$ac_ext >&5
24386
24387 ac_cv_type_std__ostream=no
24388 fi
24389
24390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24391 fi
24392 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24393 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24394 if test $ac_cv_type_std__ostream = yes; then
24395
24396 cat >>confdefs.h <<_ACEOF
24397 #define HAVE_STD__OSTREAM 1
24398 _ACEOF
24399
24400
24401 else
24402 wxUSE_STD_IOSTREAM=no
24403 fi
24404
24405
24406 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24407 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24408 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24409 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24410 { (exit 1); exit 1; }; }
24411 else
24412 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24413 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24414 fi
24415 fi
24416 fi
24417
24418 if test "$wxUSE_STL" = "yes"; then
24419 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24420 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24421 if test "${wx_cv_lib_stl+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 else
24424 cat >conftest.$ac_ext <<_ACEOF
24425 /* confdefs.h. */
24426 _ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 #include <string>
24431 #include <functional>
24432 #include <algorithm>
24433 #include <vector>
24434 #include <list>
24435 int
24436 main ()
24437 {
24438 std::vector<int> moo;
24439 std::list<int> foo;
24440 std::vector<int>::iterator it =
24441 std::find_if(moo.begin(), moo.end(),
24442 std::bind2nd(std::less<int>(), 3));
24443 ;
24444 return 0;
24445 }
24446 _ACEOF
24447 rm -f conftest.$ac_objext
24448 if { (ac_try="$ac_compile"
24449 case "(($ac_try" in
24450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24451 *) ac_try_echo=$ac_try;;
24452 esac
24453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24454 (eval "$ac_compile") 2>conftest.er1
24455 ac_status=$?
24456 grep -v '^ *+' conftest.er1 >conftest.err
24457 rm -f conftest.er1
24458 cat conftest.err >&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); } && {
24461 test -z "$ac_cxx_werror_flag" ||
24462 test ! -s conftest.err
24463 } && test -s conftest.$ac_objext; then
24464 wx_cv_lib_stl=yes
24465 else
24466 echo "$as_me: failed program was:" >&5
24467 sed 's/^/| /' conftest.$ac_ext >&5
24468
24469 wx_cv_lib_stl=no
24470
24471 fi
24472
24473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24474
24475 fi
24476 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24477 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24478
24479 if test "$wx_cv_lib_stl" != yes; then
24480 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24481 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24482 { (exit 1); exit 1; }; }
24483 fi
24484
24485 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24486 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24487 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24488 echo $ECHO_N "(cached) $ECHO_C" >&6
24489 else
24490 cat >conftest.$ac_ext <<_ACEOF
24491 /* confdefs.h. */
24492 _ACEOF
24493 cat confdefs.h >>conftest.$ac_ext
24494 cat >>conftest.$ac_ext <<_ACEOF
24495 /* end confdefs.h. */
24496 #include <string>
24497 int
24498 main ()
24499 {
24500 std::string foo, bar;
24501 foo.compare(bar);
24502 foo.compare(1, 1, bar);
24503 foo.compare(1, 1, bar, 1, 1);
24504 foo.compare("");
24505 foo.compare(1, 1, "");
24506 foo.compare(1, 1, "", 2);
24507 ;
24508 return 0;
24509 }
24510 _ACEOF
24511 rm -f conftest.$ac_objext
24512 if { (ac_try="$ac_compile"
24513 case "(($ac_try" in
24514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24515 *) ac_try_echo=$ac_try;;
24516 esac
24517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24518 (eval "$ac_compile") 2>conftest.er1
24519 ac_status=$?
24520 grep -v '^ *+' conftest.er1 >conftest.err
24521 rm -f conftest.er1
24522 cat conftest.err >&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); } && {
24525 test -z "$ac_cxx_werror_flag" ||
24526 test ! -s conftest.err
24527 } && test -s conftest.$ac_objext; then
24528 wx_cv_func_stdstring_compare=yes
24529 else
24530 echo "$as_me: failed program was:" >&5
24531 sed 's/^/| /' conftest.$ac_ext >&5
24532
24533 wx_cv_func_stdstring_compare=no
24534
24535 fi
24536
24537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24538
24539 fi
24540 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24541 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24542
24543 if test "$wx_cv_func_stdstring_compare" = yes; then
24544 cat >>confdefs.h <<\_ACEOF
24545 #define HAVE_STD_STRING_COMPARE 1
24546 _ACEOF
24547
24548 fi
24549
24550 { echo "$as_me:$LINENO: checking for hash_map" >&5
24551 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24552 if test "${ac_cv_header_hash_map+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 else
24555 cat >conftest.$ac_ext <<_ACEOF
24556 /* confdefs.h. */
24557 _ACEOF
24558 cat confdefs.h >>conftest.$ac_ext
24559 cat >>conftest.$ac_ext <<_ACEOF
24560 /* end confdefs.h. */
24561
24562
24563
24564 #include <hash_map>
24565 _ACEOF
24566 rm -f conftest.$ac_objext
24567 if { (ac_try="$ac_compile"
24568 case "(($ac_try" in
24569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24570 *) ac_try_echo=$ac_try;;
24571 esac
24572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24573 (eval "$ac_compile") 2>conftest.er1
24574 ac_status=$?
24575 grep -v '^ *+' conftest.er1 >conftest.err
24576 rm -f conftest.er1
24577 cat conftest.err >&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } && {
24580 test -z "$ac_cxx_werror_flag" ||
24581 test ! -s conftest.err
24582 } && test -s conftest.$ac_objext; then
24583 ac_cv_header_hash_map=yes
24584 else
24585 echo "$as_me: failed program was:" >&5
24586 sed 's/^/| /' conftest.$ac_ext >&5
24587
24588 ac_cv_header_hash_map=no
24589 fi
24590
24591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24592 fi
24593 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24594 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24595 if test $ac_cv_header_hash_map = yes; then
24596 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24597 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24598 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24599 echo $ECHO_N "(cached) $ECHO_C" >&6
24600 else
24601 cat >conftest.$ac_ext <<_ACEOF
24602 /* confdefs.h. */
24603 _ACEOF
24604 cat confdefs.h >>conftest.$ac_ext
24605 cat >>conftest.$ac_ext <<_ACEOF
24606 /* end confdefs.h. */
24607 #include <hash_map>
24608 #include <hash_set>
24609 int
24610 main ()
24611 {
24612 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24613 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24614 ;
24615 return 0;
24616 }
24617 _ACEOF
24618 rm -f conftest.$ac_objext
24619 if { (ac_try="$ac_compile"
24620 case "(($ac_try" in
24621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24622 *) ac_try_echo=$ac_try;;
24623 esac
24624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24625 (eval "$ac_compile") 2>conftest.er1
24626 ac_status=$?
24627 grep -v '^ *+' conftest.er1 >conftest.err
24628 rm -f conftest.er1
24629 cat conftest.err >&5
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); } && {
24632 test -z "$ac_cxx_werror_flag" ||
24633 test ! -s conftest.err
24634 } && test -s conftest.$ac_objext; then
24635 wx_cv_class_stdhashmapset=yes
24636 else
24637 echo "$as_me: failed program was:" >&5
24638 sed 's/^/| /' conftest.$ac_ext >&5
24639
24640 wx_cv_class_stdhashmapset=no
24641 fi
24642
24643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24644
24645
24646 fi
24647 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24648 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24649 fi
24650
24651
24652
24653 if test "$wx_cv_class_stdhashmapset" = yes; then
24654 cat >>confdefs.h <<\_ACEOF
24655 #define HAVE_HASH_MAP 1
24656 _ACEOF
24657
24658 cat >>confdefs.h <<\_ACEOF
24659 #define HAVE_STD_HASH_MAP 1
24660 _ACEOF
24661
24662 fi
24663
24664 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24665 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24666 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 else
24669 cat >conftest.$ac_ext <<_ACEOF
24670 /* confdefs.h. */
24671 _ACEOF
24672 cat confdefs.h >>conftest.$ac_ext
24673 cat >>conftest.$ac_ext <<_ACEOF
24674 /* end confdefs.h. */
24675
24676
24677
24678 #include <ext/hash_map>
24679 _ACEOF
24680 rm -f conftest.$ac_objext
24681 if { (ac_try="$ac_compile"
24682 case "(($ac_try" in
24683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24684 *) ac_try_echo=$ac_try;;
24685 esac
24686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24687 (eval "$ac_compile") 2>conftest.er1
24688 ac_status=$?
24689 grep -v '^ *+' conftest.er1 >conftest.err
24690 rm -f conftest.er1
24691 cat conftest.err >&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } && {
24694 test -z "$ac_cxx_werror_flag" ||
24695 test ! -s conftest.err
24696 } && test -s conftest.$ac_objext; then
24697 ac_cv_header_ext_hash_map=yes
24698 else
24699 echo "$as_me: failed program was:" >&5
24700 sed 's/^/| /' conftest.$ac_ext >&5
24701
24702 ac_cv_header_ext_hash_map=no
24703 fi
24704
24705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24706 fi
24707 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24708 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24709 if test $ac_cv_header_ext_hash_map = yes; then
24710 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24711 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24712 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24713 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 else
24715 cat >conftest.$ac_ext <<_ACEOF
24716 /* confdefs.h. */
24717 _ACEOF
24718 cat confdefs.h >>conftest.$ac_ext
24719 cat >>conftest.$ac_ext <<_ACEOF
24720 /* end confdefs.h. */
24721 #include <ext/hash_map>
24722 #include <ext/hash_set>
24723 int
24724 main ()
24725 {
24726 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24727 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24728 ;
24729 return 0;
24730 }
24731 _ACEOF
24732 rm -f conftest.$ac_objext
24733 if { (ac_try="$ac_compile"
24734 case "(($ac_try" in
24735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24736 *) ac_try_echo=$ac_try;;
24737 esac
24738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24739 (eval "$ac_compile") 2>conftest.er1
24740 ac_status=$?
24741 grep -v '^ *+' conftest.er1 >conftest.err
24742 rm -f conftest.er1
24743 cat conftest.err >&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); } && {
24746 test -z "$ac_cxx_werror_flag" ||
24747 test ! -s conftest.err
24748 } && test -s conftest.$ac_objext; then
24749 wx_cv_class_gnuhashmapset=yes
24750 else
24751 echo "$as_me: failed program was:" >&5
24752 sed 's/^/| /' conftest.$ac_ext >&5
24753
24754 wx_cv_class_gnuhashmapset=no
24755 fi
24756
24757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24758
24759
24760 fi
24761 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24762 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24763 fi
24764
24765
24766
24767 if test "$wx_cv_class_gnuhashmapset" = yes; then
24768 cat >>confdefs.h <<\_ACEOF
24769 #define HAVE_EXT_HASH_MAP 1
24770 _ACEOF
24771
24772 cat >>confdefs.h <<\_ACEOF
24773 #define HAVE_GNU_CXX_HASH_MAP 1
24774 _ACEOF
24775
24776 fi
24777 fi
24778
24779
24780
24781 if test -n "$GCC"; then
24782 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24783 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24784 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24785 echo $ECHO_N "(cached) $ECHO_C" >&6
24786 else
24787
24788 cat >conftest.$ac_ext <<_ACEOF
24789 /* confdefs.h. */
24790 _ACEOF
24791 cat confdefs.h >>conftest.$ac_ext
24792 cat >>conftest.$ac_ext <<_ACEOF
24793 /* end confdefs.h. */
24794
24795 int
24796 main ()
24797 {
24798
24799 unsigned int value=0;
24800 /* wxAtomicInc doesn't use return value here */
24801 __sync_fetch_and_add(&value, 2);
24802 __sync_sub_and_fetch(&value, 1);
24803 /* but wxAtomicDec does, so mimic that: */
24804 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24805
24806 ;
24807 return 0;
24808 }
24809 _ACEOF
24810 rm -f conftest.$ac_objext conftest$ac_exeext
24811 if { (ac_try="$ac_link"
24812 case "(($ac_try" in
24813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24814 *) ac_try_echo=$ac_try;;
24815 esac
24816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24817 (eval "$ac_link") 2>conftest.er1
24818 ac_status=$?
24819 grep -v '^ *+' conftest.er1 >conftest.err
24820 rm -f conftest.er1
24821 cat conftest.err >&5
24822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24823 (exit $ac_status); } && {
24824 test -z "$ac_cxx_werror_flag" ||
24825 test ! -s conftest.err
24826 } && test -s conftest$ac_exeext &&
24827 $as_test_x conftest$ac_exeext; then
24828 wx_cv_cc_gcc_atomic_builtins=yes
24829 else
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.$ac_ext >&5
24832
24833 wx_cv_cc_gcc_atomic_builtins=no
24834 fi
24835
24836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24837 conftest$ac_exeext conftest.$ac_ext
24838
24839 fi
24840
24841 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24842 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24843 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24844 cat >>confdefs.h <<\_ACEOF
24845 #define HAVE_GCC_ATOMIC_BUILTINS 1
24846 _ACEOF
24847
24848 fi
24849 fi
24850
24851
24852 ac_ext=c
24853 ac_cpp='$CPP $CPPFLAGS'
24854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24857
24858
24859
24860 SEARCH_INCLUDE="\
24861 /usr/local/include \
24862 \
24863 /usr/Motif-2.1/include \
24864 /usr/Motif-1.2/include \
24865 /usr/include/Motif1.2 \
24866 \
24867 /usr/dt/include \
24868 /usr/openwin/include \
24869 \
24870 /usr/include/Xm \
24871 \
24872 /usr/X11R6/include \
24873 /usr/X11R6.4/include \
24874 /usr/X11R5/include \
24875 /usr/X11R4/include \
24876 \
24877 /usr/include/X11R6 \
24878 /usr/include/X11R5 \
24879 /usr/include/X11R4 \
24880 \
24881 /usr/local/X11R6/include \
24882 /usr/local/X11R5/include \
24883 /usr/local/X11R4/include \
24884 \
24885 /usr/local/include/X11R6 \
24886 /usr/local/include/X11R5 \
24887 /usr/local/include/X11R4 \
24888 \
24889 /usr/X11/include \
24890 /usr/include/X11 \
24891 /usr/local/X11/include \
24892 /usr/local/include/X11 \
24893 \
24894 /usr/XFree86/include/X11 \
24895 /usr/pkg/include \
24896 \
24897 /usr/openwin/share/include"
24898
24899 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24900 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24901
24902 case "${host}" in
24903 *-*-irix6* )
24904 if test "${wx_cv_std_libpath+set}" = set; then
24905 echo $ECHO_N "(cached) $ECHO_C" >&6
24906 else
24907
24908 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24909 for e in a so sl dylib dll.a; do
24910 libc="$d/libc.$e"
24911 if test -f $libc; then
24912 save_LIBS="$LIBS"
24913 LIBS="$libc"
24914 cat >conftest.$ac_ext <<_ACEOF
24915 int main() { return 0; }
24916 _ACEOF
24917 rm -f conftest.$ac_objext conftest$ac_exeext
24918 if { (ac_try="$ac_link"
24919 case "(($ac_try" in
24920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24921 *) ac_try_echo=$ac_try;;
24922 esac
24923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24924 (eval "$ac_link") 2>conftest.er1
24925 ac_status=$?
24926 grep -v '^ *+' conftest.er1 >conftest.err
24927 rm -f conftest.er1
24928 cat conftest.err >&5
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); } && {
24931 test -z "$ac_c_werror_flag" ||
24932 test ! -s conftest.err
24933 } && test -s conftest$ac_exeext &&
24934 $as_test_x conftest$ac_exeext; then
24935 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24936 else
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.$ac_ext >&5
24939
24940
24941 fi
24942
24943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24944 conftest$ac_exeext conftest.$ac_ext
24945 LIBS="$save_LIBS"
24946 if test "x$wx_cv_std_libpath" != "x"; then
24947 break 2
24948 fi
24949 fi
24950 done
24951 done
24952 if test "x$wx_cv_std_libpath" = "x"; then
24953 wx_cv_std_libpath="lib"
24954 fi
24955
24956
24957 fi
24958
24959 ;;
24960
24961 *-*-solaris2* )
24962 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24963 wx_cv_std_libpath="lib/64"
24964 else
24965 wx_cv_std_libpath="lib"
24966 fi
24967 ;;
24968
24969 *-*-linux* )
24970 if test "$ac_cv_sizeof_void_p" = 8 -a \
24971 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24972 wx_cv_std_libpath="lib64"
24973 else
24974 wx_cv_std_libpath="lib"
24975 fi
24976 ;;
24977
24978 *)
24979 wx_cv_std_libpath="lib";
24980 ;;
24981 esac
24982
24983 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24984 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24985
24986 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24987
24988 if test "$build" != "$host" -a "$GCC" = yes; then
24989 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24990 cross_root=`dirname $cross_root`
24991 cross_root=`dirname $cross_root`
24992
24993 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24994 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24995 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24996
24997 if test -z "$PKG_CONFIG_PATH"; then
24998 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24999 export PKG_CONFIG_PATH
25000 fi
25001
25002 if test -z "$x_includes" -o "$x_includes" = NONE; then
25003
25004 ac_find_includes=
25005 for ac_dir in $SEARCH_INCLUDE /usr/include;
25006 do
25007 if test -f "$ac_dir/X11/Intrinsic.h"; then
25008 ac_find_includes=$ac_dir
25009 break
25010 fi
25011 done
25012
25013 x_includes=$ac_find_includes
25014 fi
25015 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25016
25017 ac_find_libraries=
25018 for ac_dir in $SEARCH_LIB;
25019 do
25020 for ac_extension in a so sl dylib dll.a; do
25021 if test -f "$ac_dir/libXt.$ac_extension"; then
25022 ac_find_libraries=$ac_dir
25023 break 2
25024 fi
25025 done
25026 done
25027
25028 x_libraries=$ac_find_libraries
25029 fi
25030 fi
25031 fi
25032
25033
25034 cat >confcache <<\_ACEOF
25035 # This file is a shell script that caches the results of configure
25036 # tests run on this system so they can be shared between configure
25037 # scripts and configure runs, see configure's option --config-cache.
25038 # It is not useful on other systems. If it contains results you don't
25039 # want to keep, you may remove or edit it.
25040 #
25041 # config.status only pays attention to the cache file if you give it
25042 # the --recheck option to rerun configure.
25043 #
25044 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25045 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25046 # following values.
25047
25048 _ACEOF
25049
25050 # The following way of writing the cache mishandles newlines in values,
25051 # but we know of no workaround that is simple, portable, and efficient.
25052 # So, we kill variables containing newlines.
25053 # Ultrix sh set writes to stderr and can't be redirected directly,
25054 # and sets the high bit in the cache file unless we assign to the vars.
25055 (
25056 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25057 eval ac_val=\$$ac_var
25058 case $ac_val in #(
25059 *${as_nl}*)
25060 case $ac_var in #(
25061 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25062 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25063 esac
25064 case $ac_var in #(
25065 _ | IFS | as_nl) ;; #(
25066 *) $as_unset $ac_var ;;
25067 esac ;;
25068 esac
25069 done
25070
25071 (set) 2>&1 |
25072 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25073 *${as_nl}ac_space=\ *)
25074 # `set' does not quote correctly, so add quotes (double-quote
25075 # substitution turns \\\\ into \\, and sed turns \\ into \).
25076 sed -n \
25077 "s/'/'\\\\''/g;
25078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25079 ;; #(
25080 *)
25081 # `set' quotes correctly as required by POSIX, so do not add quotes.
25082 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25083 ;;
25084 esac |
25085 sort
25086 ) |
25087 sed '
25088 /^ac_cv_env_/b end
25089 t clear
25090 :clear
25091 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25092 t end
25093 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25094 :end' >>confcache
25095 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25096 if test -w "$cache_file"; then
25097 test "x$cache_file" != "x/dev/null" &&
25098 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25099 echo "$as_me: updating cache $cache_file" >&6;}
25100 cat confcache >$cache_file
25101 else
25102 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25103 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25104 fi
25105 fi
25106 rm -f confcache
25107
25108 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25109 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25110 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25111 if test "${wx_cv_lib_glibc21+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25113 else
25114
25115 cat >conftest.$ac_ext <<_ACEOF
25116 /* confdefs.h. */
25117 _ACEOF
25118 cat confdefs.h >>conftest.$ac_ext
25119 cat >>conftest.$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25121 #include <features.h>
25122 int
25123 main ()
25124 {
25125
25126 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25127 not glibc 2.1
25128 #endif
25129
25130 ;
25131 return 0;
25132 }
25133 _ACEOF
25134 rm -f conftest.$ac_objext
25135 if { (ac_try="$ac_compile"
25136 case "(($ac_try" in
25137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25138 *) ac_try_echo=$ac_try;;
25139 esac
25140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25141 (eval "$ac_compile") 2>conftest.er1
25142 ac_status=$?
25143 grep -v '^ *+' conftest.er1 >conftest.err
25144 rm -f conftest.er1
25145 cat conftest.err >&5
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); } && {
25148 test -z "$ac_c_werror_flag" ||
25149 test ! -s conftest.err
25150 } && test -s conftest.$ac_objext; then
25151
25152 wx_cv_lib_glibc21=yes
25153
25154 else
25155 echo "$as_me: failed program was:" >&5
25156 sed 's/^/| /' conftest.$ac_ext >&5
25157
25158
25159 wx_cv_lib_glibc21=no
25160
25161
25162 fi
25163
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25165
25166 fi
25167 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25168 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25169 if test "$wx_cv_lib_glibc21" = "yes"; then
25170 cat >>confdefs.h <<\_ACEOF
25171 #define wxHAVE_GLIBC2 1
25172 _ACEOF
25173
25174 fi
25175 fi
25176
25177 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25178 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25179 cat >>confdefs.h <<\_ACEOF
25180 #define _GNU_SOURCE 1
25181 _ACEOF
25182
25183 fi
25184 fi
25185
25186 have_cos=0
25187 have_floor=0
25188
25189 for ac_func in cos
25190 do
25191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25192 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25194 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25195 echo $ECHO_N "(cached) $ECHO_C" >&6
25196 else
25197 cat >conftest.$ac_ext <<_ACEOF
25198 /* confdefs.h. */
25199 _ACEOF
25200 cat confdefs.h >>conftest.$ac_ext
25201 cat >>conftest.$ac_ext <<_ACEOF
25202 /* end confdefs.h. */
25203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25205 #define $ac_func innocuous_$ac_func
25206
25207 /* System header to define __stub macros and hopefully few prototypes,
25208 which can conflict with char $ac_func (); below.
25209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25210 <limits.h> exists even on freestanding compilers. */
25211
25212 #ifdef __STDC__
25213 # include <limits.h>
25214 #else
25215 # include <assert.h>
25216 #endif
25217
25218 #undef $ac_func
25219
25220 /* Override any GCC internal prototype to avoid an error.
25221 Use char because int might match the return type of a GCC
25222 builtin and then its argument prototype would still apply. */
25223 #ifdef __cplusplus
25224 extern "C"
25225 #endif
25226 char $ac_func ();
25227 /* The GNU C library defines this for functions which it implements
25228 to always fail with ENOSYS. Some functions are actually named
25229 something starting with __ and the normal name is an alias. */
25230 #if defined __stub_$ac_func || defined __stub___$ac_func
25231 choke me
25232 #endif
25233
25234 int
25235 main ()
25236 {
25237 return $ac_func ();
25238 ;
25239 return 0;
25240 }
25241 _ACEOF
25242 rm -f conftest.$ac_objext conftest$ac_exeext
25243 if { (ac_try="$ac_link"
25244 case "(($ac_try" in
25245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25246 *) ac_try_echo=$ac_try;;
25247 esac
25248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25249 (eval "$ac_link") 2>conftest.er1
25250 ac_status=$?
25251 grep -v '^ *+' conftest.er1 >conftest.err
25252 rm -f conftest.er1
25253 cat conftest.err >&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); } && {
25256 test -z "$ac_c_werror_flag" ||
25257 test ! -s conftest.err
25258 } && test -s conftest$ac_exeext &&
25259 $as_test_x conftest$ac_exeext; then
25260 eval "$as_ac_var=yes"
25261 else
25262 echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.$ac_ext >&5
25264
25265 eval "$as_ac_var=no"
25266 fi
25267
25268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25269 conftest$ac_exeext conftest.$ac_ext
25270 fi
25271 ac_res=`eval echo '${'$as_ac_var'}'`
25272 { echo "$as_me:$LINENO: result: $ac_res" >&5
25273 echo "${ECHO_T}$ac_res" >&6; }
25274 if test `eval echo '${'$as_ac_var'}'` = yes; then
25275 cat >>confdefs.h <<_ACEOF
25276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25277 _ACEOF
25278 have_cos=1
25279 fi
25280 done
25281
25282
25283 for ac_func in floor
25284 do
25285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25289 echo $ECHO_N "(cached) $ECHO_C" >&6
25290 else
25291 cat >conftest.$ac_ext <<_ACEOF
25292 /* confdefs.h. */
25293 _ACEOF
25294 cat confdefs.h >>conftest.$ac_ext
25295 cat >>conftest.$ac_ext <<_ACEOF
25296 /* end confdefs.h. */
25297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25299 #define $ac_func innocuous_$ac_func
25300
25301 /* System header to define __stub macros and hopefully few prototypes,
25302 which can conflict with char $ac_func (); below.
25303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25304 <limits.h> exists even on freestanding compilers. */
25305
25306 #ifdef __STDC__
25307 # include <limits.h>
25308 #else
25309 # include <assert.h>
25310 #endif
25311
25312 #undef $ac_func
25313
25314 /* Override any GCC internal prototype to avoid an error.
25315 Use char because int might match the return type of a GCC
25316 builtin and then its argument prototype would still apply. */
25317 #ifdef __cplusplus
25318 extern "C"
25319 #endif
25320 char $ac_func ();
25321 /* The GNU C library defines this for functions which it implements
25322 to always fail with ENOSYS. Some functions are actually named
25323 something starting with __ and the normal name is an alias. */
25324 #if defined __stub_$ac_func || defined __stub___$ac_func
25325 choke me
25326 #endif
25327
25328 int
25329 main ()
25330 {
25331 return $ac_func ();
25332 ;
25333 return 0;
25334 }
25335 _ACEOF
25336 rm -f conftest.$ac_objext conftest$ac_exeext
25337 if { (ac_try="$ac_link"
25338 case "(($ac_try" in
25339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25340 *) ac_try_echo=$ac_try;;
25341 esac
25342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25343 (eval "$ac_link") 2>conftest.er1
25344 ac_status=$?
25345 grep -v '^ *+' conftest.er1 >conftest.err
25346 rm -f conftest.er1
25347 cat conftest.err >&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } && {
25350 test -z "$ac_c_werror_flag" ||
25351 test ! -s conftest.err
25352 } && test -s conftest$ac_exeext &&
25353 $as_test_x conftest$ac_exeext; then
25354 eval "$as_ac_var=yes"
25355 else
25356 echo "$as_me: failed program was:" >&5
25357 sed 's/^/| /' conftest.$ac_ext >&5
25358
25359 eval "$as_ac_var=no"
25360 fi
25361
25362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25363 conftest$ac_exeext conftest.$ac_ext
25364 fi
25365 ac_res=`eval echo '${'$as_ac_var'}'`
25366 { echo "$as_me:$LINENO: result: $ac_res" >&5
25367 echo "${ECHO_T}$ac_res" >&6; }
25368 if test `eval echo '${'$as_ac_var'}'` = yes; then
25369 cat >>confdefs.h <<_ACEOF
25370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25371 _ACEOF
25372 have_floor=1
25373 fi
25374 done
25375
25376 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25377 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25378 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25379 { echo "$as_me:$LINENO: result: yes" >&5
25380 echo "${ECHO_T}yes" >&6; }
25381 else
25382 { echo "$as_me:$LINENO: result: no" >&5
25383 echo "${ECHO_T}no" >&6; }
25384 LIBS="$LIBS -lm"
25385 # use different functions to avoid configure caching
25386 have_sin=0
25387 have_ceil=0
25388
25389 for ac_func in sin
25390 do
25391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25392 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25394 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25396 else
25397 cat >conftest.$ac_ext <<_ACEOF
25398 /* confdefs.h. */
25399 _ACEOF
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25405 #define $ac_func innocuous_$ac_func
25406
25407 /* System header to define __stub macros and hopefully few prototypes,
25408 which can conflict with char $ac_func (); below.
25409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25410 <limits.h> exists even on freestanding compilers. */
25411
25412 #ifdef __STDC__
25413 # include <limits.h>
25414 #else
25415 # include <assert.h>
25416 #endif
25417
25418 #undef $ac_func
25419
25420 /* Override any GCC internal prototype to avoid an error.
25421 Use char because int might match the return type of a GCC
25422 builtin and then its argument prototype would still apply. */
25423 #ifdef __cplusplus
25424 extern "C"
25425 #endif
25426 char $ac_func ();
25427 /* The GNU C library defines this for functions which it implements
25428 to always fail with ENOSYS. Some functions are actually named
25429 something starting with __ and the normal name is an alias. */
25430 #if defined __stub_$ac_func || defined __stub___$ac_func
25431 choke me
25432 #endif
25433
25434 int
25435 main ()
25436 {
25437 return $ac_func ();
25438 ;
25439 return 0;
25440 }
25441 _ACEOF
25442 rm -f conftest.$ac_objext conftest$ac_exeext
25443 if { (ac_try="$ac_link"
25444 case "(($ac_try" in
25445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25446 *) ac_try_echo=$ac_try;;
25447 esac
25448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25449 (eval "$ac_link") 2>conftest.er1
25450 ac_status=$?
25451 grep -v '^ *+' conftest.er1 >conftest.err
25452 rm -f conftest.er1
25453 cat conftest.err >&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } && {
25456 test -z "$ac_c_werror_flag" ||
25457 test ! -s conftest.err
25458 } && test -s conftest$ac_exeext &&
25459 $as_test_x conftest$ac_exeext; then
25460 eval "$as_ac_var=yes"
25461 else
25462 echo "$as_me: failed program was:" >&5
25463 sed 's/^/| /' conftest.$ac_ext >&5
25464
25465 eval "$as_ac_var=no"
25466 fi
25467
25468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25469 conftest$ac_exeext conftest.$ac_ext
25470 fi
25471 ac_res=`eval echo '${'$as_ac_var'}'`
25472 { echo "$as_me:$LINENO: result: $ac_res" >&5
25473 echo "${ECHO_T}$ac_res" >&6; }
25474 if test `eval echo '${'$as_ac_var'}'` = yes; then
25475 cat >>confdefs.h <<_ACEOF
25476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25477 _ACEOF
25478 have_sin=1
25479 fi
25480 done
25481
25482
25483 for ac_func in ceil
25484 do
25485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25486 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25488 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25489 echo $ECHO_N "(cached) $ECHO_C" >&6
25490 else
25491 cat >conftest.$ac_ext <<_ACEOF
25492 /* confdefs.h. */
25493 _ACEOF
25494 cat confdefs.h >>conftest.$ac_ext
25495 cat >>conftest.$ac_ext <<_ACEOF
25496 /* end confdefs.h. */
25497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25499 #define $ac_func innocuous_$ac_func
25500
25501 /* System header to define __stub macros and hopefully few prototypes,
25502 which can conflict with char $ac_func (); below.
25503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25504 <limits.h> exists even on freestanding compilers. */
25505
25506 #ifdef __STDC__
25507 # include <limits.h>
25508 #else
25509 # include <assert.h>
25510 #endif
25511
25512 #undef $ac_func
25513
25514 /* Override any GCC internal prototype to avoid an error.
25515 Use char because int might match the return type of a GCC
25516 builtin and then its argument prototype would still apply. */
25517 #ifdef __cplusplus
25518 extern "C"
25519 #endif
25520 char $ac_func ();
25521 /* The GNU C library defines this for functions which it implements
25522 to always fail with ENOSYS. Some functions are actually named
25523 something starting with __ and the normal name is an alias. */
25524 #if defined __stub_$ac_func || defined __stub___$ac_func
25525 choke me
25526 #endif
25527
25528 int
25529 main ()
25530 {
25531 return $ac_func ();
25532 ;
25533 return 0;
25534 }
25535 _ACEOF
25536 rm -f conftest.$ac_objext conftest$ac_exeext
25537 if { (ac_try="$ac_link"
25538 case "(($ac_try" in
25539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25540 *) ac_try_echo=$ac_try;;
25541 esac
25542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25543 (eval "$ac_link") 2>conftest.er1
25544 ac_status=$?
25545 grep -v '^ *+' conftest.er1 >conftest.err
25546 rm -f conftest.er1
25547 cat conftest.err >&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); } && {
25550 test -z "$ac_c_werror_flag" ||
25551 test ! -s conftest.err
25552 } && test -s conftest$ac_exeext &&
25553 $as_test_x conftest$ac_exeext; then
25554 eval "$as_ac_var=yes"
25555 else
25556 echo "$as_me: failed program was:" >&5
25557 sed 's/^/| /' conftest.$ac_ext >&5
25558
25559 eval "$as_ac_var=no"
25560 fi
25561
25562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25563 conftest$ac_exeext conftest.$ac_ext
25564 fi
25565 ac_res=`eval echo '${'$as_ac_var'}'`
25566 { echo "$as_me:$LINENO: result: $ac_res" >&5
25567 echo "${ECHO_T}$ac_res" >&6; }
25568 if test `eval echo '${'$as_ac_var'}'` = yes; then
25569 cat >>confdefs.h <<_ACEOF
25570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25571 _ACEOF
25572 have_ceil=1
25573 fi
25574 done
25575
25576 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25577 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25578 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25579 { echo "$as_me:$LINENO: result: yes" >&5
25580 echo "${ECHO_T}yes" >&6; }
25581 else
25582 { echo "$as_me:$LINENO: result: no" >&5
25583 echo "${ECHO_T}no" >&6; }
25584 # not sure we should warn the user, crash, etc.
25585 fi
25586 fi
25587
25588 ac_ext=cpp
25589 ac_cpp='$CXXCPP $CPPFLAGS'
25590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25593
25594 if test "wxUSE_UNICODE" = "yes"; then
25595
25596 for wx_func in wcstoull
25597 do
25598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25602 else
25603
25604 cat >conftest.$ac_ext <<_ACEOF
25605
25606 /* confdefs.h. */
25607 _ACEOF
25608 cat confdefs.h >>conftest.$ac_ext
25609 cat >>conftest.$ac_ext <<_ACEOF
25610 /* end confdefs.h. */
25611
25612
25613 $ac_includes_default
25614
25615 int
25616 main ()
25617 {
25618
25619 #ifndef $wx_func
25620 &$wx_func;
25621 #endif
25622
25623
25624 ;
25625 return 0;
25626 }
25627
25628 _ACEOF
25629 rm -f conftest.$ac_objext conftest$ac_exeext
25630 if { (ac_try="$ac_link"
25631 case "(($ac_try" in
25632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25633 *) ac_try_echo=$ac_try;;
25634 esac
25635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25636 (eval "$ac_link") 2>conftest.er1
25637 ac_status=$?
25638 grep -v '^ *+' conftest.er1 >conftest.err
25639 rm -f conftest.er1
25640 cat conftest.err >&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } && {
25643 test -z "$ac_cxx_werror_flag" ||
25644 test ! -s conftest.err
25645 } && test -s conftest$ac_exeext &&
25646 $as_test_x conftest$ac_exeext; then
25647 eval wx_cv_func_$wx_func=yes
25648 else
25649 echo "$as_me: failed program was:" >&5
25650 sed 's/^/| /' conftest.$ac_ext >&5
25651
25652 eval wx_cv_func_$wx_func=no
25653 fi
25654
25655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25656 conftest$ac_exeext conftest.$ac_ext
25657
25658 fi
25659 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25660 { echo "$as_me:$LINENO: result: $ac_res" >&5
25661 echo "${ECHO_T}$ac_res" >&6; }
25662
25663 if eval test \$wx_cv_func_$wx_func = yes
25664 then
25665 cat >>confdefs.h <<_ACEOF
25666 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25667 _ACEOF
25668
25669
25670 else
25671 :
25672
25673 fi
25674 done
25675
25676 else
25677
25678 for wx_func in strtoull
25679 do
25680 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25682 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25684 else
25685
25686 cat >conftest.$ac_ext <<_ACEOF
25687
25688 /* confdefs.h. */
25689 _ACEOF
25690 cat confdefs.h >>conftest.$ac_ext
25691 cat >>conftest.$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25693
25694
25695 $ac_includes_default
25696
25697 int
25698 main ()
25699 {
25700
25701 #ifndef $wx_func
25702 &$wx_func;
25703 #endif
25704
25705
25706 ;
25707 return 0;
25708 }
25709
25710 _ACEOF
25711 rm -f conftest.$ac_objext conftest$ac_exeext
25712 if { (ac_try="$ac_link"
25713 case "(($ac_try" in
25714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25715 *) ac_try_echo=$ac_try;;
25716 esac
25717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25718 (eval "$ac_link") 2>conftest.er1
25719 ac_status=$?
25720 grep -v '^ *+' conftest.er1 >conftest.err
25721 rm -f conftest.er1
25722 cat conftest.err >&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); } && {
25725 test -z "$ac_cxx_werror_flag" ||
25726 test ! -s conftest.err
25727 } && test -s conftest$ac_exeext &&
25728 $as_test_x conftest$ac_exeext; then
25729 eval wx_cv_func_$wx_func=yes
25730 else
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25733
25734 eval wx_cv_func_$wx_func=no
25735 fi
25736
25737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25738 conftest$ac_exeext conftest.$ac_ext
25739
25740 fi
25741 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25742 { echo "$as_me:$LINENO: result: $ac_res" >&5
25743 echo "${ECHO_T}$ac_res" >&6; }
25744
25745 if eval test \$wx_cv_func_$wx_func = yes
25746 then
25747 cat >>confdefs.h <<_ACEOF
25748 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25749 _ACEOF
25750
25751
25752 else
25753 :
25754
25755 fi
25756 done
25757
25758 fi
25759 ac_ext=c
25760 ac_cpp='$CPP $CPPFLAGS'
25761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25764
25765
25766
25767
25768 if test "$wxUSE_REGEX" != "no"; then
25769 cat >>confdefs.h <<\_ACEOF
25770 #define wxUSE_REGEX 1
25771 _ACEOF
25772
25773
25774 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25775 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25776 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25777 wxUSE_REGEX=builtin
25778 fi
25779
25780 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25781 { echo "$as_me:$LINENO: checking for regex.h" >&5
25782 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25783 if test "${ac_cv_header_regex_h+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 else
25786 cat >conftest.$ac_ext <<_ACEOF
25787 /* confdefs.h. */
25788 _ACEOF
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25792
25793
25794 #include <regex.h>
25795 _ACEOF
25796 rm -f conftest.$ac_objext
25797 if { (ac_try="$ac_compile"
25798 case "(($ac_try" in
25799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25800 *) ac_try_echo=$ac_try;;
25801 esac
25802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25803 (eval "$ac_compile") 2>conftest.er1
25804 ac_status=$?
25805 grep -v '^ *+' conftest.er1 >conftest.err
25806 rm -f conftest.er1
25807 cat conftest.err >&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } && {
25810 test -z "$ac_c_werror_flag" ||
25811 test ! -s conftest.err
25812 } && test -s conftest.$ac_objext; then
25813 ac_cv_header_regex_h=yes
25814 else
25815 echo "$as_me: failed program was:" >&5
25816 sed 's/^/| /' conftest.$ac_ext >&5
25817
25818 ac_cv_header_regex_h=no
25819 fi
25820
25821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25822 fi
25823 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25824 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25825 if test $ac_cv_header_regex_h = yes; then
25826
25827
25828 for ac_func in regcomp re_search
25829 do
25830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25835 else
25836 cat >conftest.$ac_ext <<_ACEOF
25837 /* confdefs.h. */
25838 _ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25844 #define $ac_func innocuous_$ac_func
25845
25846 /* System header to define __stub macros and hopefully few prototypes,
25847 which can conflict with char $ac_func (); below.
25848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25849 <limits.h> exists even on freestanding compilers. */
25850
25851 #ifdef __STDC__
25852 # include <limits.h>
25853 #else
25854 # include <assert.h>
25855 #endif
25856
25857 #undef $ac_func
25858
25859 /* Override any GCC internal prototype to avoid an error.
25860 Use char because int might match the return type of a GCC
25861 builtin and then its argument prototype would still apply. */
25862 #ifdef __cplusplus
25863 extern "C"
25864 #endif
25865 char $ac_func ();
25866 /* The GNU C library defines this for functions which it implements
25867 to always fail with ENOSYS. Some functions are actually named
25868 something starting with __ and the normal name is an alias. */
25869 #if defined __stub_$ac_func || defined __stub___$ac_func
25870 choke me
25871 #endif
25872
25873 int
25874 main ()
25875 {
25876 return $ac_func ();
25877 ;
25878 return 0;
25879 }
25880 _ACEOF
25881 rm -f conftest.$ac_objext conftest$ac_exeext
25882 if { (ac_try="$ac_link"
25883 case "(($ac_try" in
25884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25885 *) ac_try_echo=$ac_try;;
25886 esac
25887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25888 (eval "$ac_link") 2>conftest.er1
25889 ac_status=$?
25890 grep -v '^ *+' conftest.er1 >conftest.err
25891 rm -f conftest.er1
25892 cat conftest.err >&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); } && {
25895 test -z "$ac_c_werror_flag" ||
25896 test ! -s conftest.err
25897 } && test -s conftest$ac_exeext &&
25898 $as_test_x conftest$ac_exeext; then
25899 eval "$as_ac_var=yes"
25900 else
25901 echo "$as_me: failed program was:" >&5
25902 sed 's/^/| /' conftest.$ac_ext >&5
25903
25904 eval "$as_ac_var=no"
25905 fi
25906
25907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25908 conftest$ac_exeext conftest.$ac_ext
25909 fi
25910 ac_res=`eval echo '${'$as_ac_var'}'`
25911 { echo "$as_me:$LINENO: result: $ac_res" >&5
25912 echo "${ECHO_T}$ac_res" >&6; }
25913 if test `eval echo '${'$as_ac_var'}'` = yes; then
25914 cat >>confdefs.h <<_ACEOF
25915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25916 _ACEOF
25917
25918 fi
25919 done
25920
25921 fi
25922
25923
25924
25925 if test "x$ac_cv_func_regcomp" != "xyes"; then
25926 if test "$wxUSE_REGEX" = "sys" ; then
25927 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25928 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25929 { (exit 1); exit 1; }; }
25930 else
25931 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25932 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25933 wxUSE_REGEX=builtin
25934 fi
25935 else
25936 wxUSE_REGEX=sys
25937 cat >>confdefs.h <<\_ACEOF
25938 #define WX_NO_REGEX_ADVANCED 1
25939 _ACEOF
25940
25941 fi
25942 fi
25943 fi
25944
25945
25946 ZLIB_LINK=
25947 if test "$wxUSE_ZLIB" != "no" ; then
25948 cat >>confdefs.h <<\_ACEOF
25949 #define wxUSE_ZLIB 1
25950 _ACEOF
25951
25952
25953 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25954 if test "$USE_DARWIN" = 1; then
25955 system_zlib_h_ok="yes"
25956 else
25957 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25958 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25959 if test "${ac_cv_header_zlib_h+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 else
25962 if test "$cross_compiling" = yes; then
25963 unset ac_cv_header_zlib_h
25964
25965 else
25966 cat >conftest.$ac_ext <<_ACEOF
25967 /* confdefs.h. */
25968 _ACEOF
25969 cat confdefs.h >>conftest.$ac_ext
25970 cat >>conftest.$ac_ext <<_ACEOF
25971 /* end confdefs.h. */
25972
25973 #include <zlib.h>
25974 #include <stdio.h>
25975
25976 int main()
25977 {
25978 FILE *f=fopen("conftestval", "w");
25979 if (!f) exit(1);
25980 fprintf(f, "%s",
25981 ZLIB_VERSION[0] == '1' &&
25982 (ZLIB_VERSION[2] > '1' ||
25983 (ZLIB_VERSION[2] == '1' &&
25984 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25985 exit(0);
25986 }
25987
25988 _ACEOF
25989 rm -f conftest$ac_exeext
25990 if { (ac_try="$ac_link"
25991 case "(($ac_try" in
25992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25993 *) ac_try_echo=$ac_try;;
25994 esac
25995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25996 (eval "$ac_link") 2>&5
25997 ac_status=$?
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26000 { (case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26003 esac
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_try") 2>&5
26006 ac_status=$?
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; }; then
26009 ac_cv_header_zlib_h=`cat conftestval`
26010 else
26011 echo "$as_me: program exited with status $ac_status" >&5
26012 echo "$as_me: failed program was:" >&5
26013 sed 's/^/| /' conftest.$ac_ext >&5
26014
26015 ( exit $ac_status )
26016 ac_cv_header_zlib_h=no
26017 fi
26018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26019 fi
26020
26021
26022
26023 fi
26024 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26025 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26026 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26027 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26028 if test "${ac_cv_header_zlib_h+set}" = set; then
26029 echo $ECHO_N "(cached) $ECHO_C" >&6
26030 else
26031 cat >conftest.$ac_ext <<_ACEOF
26032 /* confdefs.h. */
26033 _ACEOF
26034 cat confdefs.h >>conftest.$ac_ext
26035 cat >>conftest.$ac_ext <<_ACEOF
26036 /* end confdefs.h. */
26037
26038
26039 #include <zlib.h>
26040 _ACEOF
26041 rm -f conftest.$ac_objext
26042 if { (ac_try="$ac_compile"
26043 case "(($ac_try" in
26044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26045 *) ac_try_echo=$ac_try;;
26046 esac
26047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26048 (eval "$ac_compile") 2>conftest.er1
26049 ac_status=$?
26050 grep -v '^ *+' conftest.er1 >conftest.err
26051 rm -f conftest.er1
26052 cat conftest.err >&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && {
26055 test -z "$ac_c_werror_flag" ||
26056 test ! -s conftest.err
26057 } && test -s conftest.$ac_objext; then
26058 ac_cv_header_zlib_h=yes
26059 else
26060 echo "$as_me: failed program was:" >&5
26061 sed 's/^/| /' conftest.$ac_ext >&5
26062
26063 ac_cv_header_zlib_h=no
26064 fi
26065
26066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26067 fi
26068 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26069 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26070
26071
26072
26073 system_zlib_h_ok=$ac_cv_header_zlib_h
26074 fi
26075
26076 if test "$system_zlib_h_ok" = "yes"; then
26077 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26078 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26079 if test "${ac_cv_lib_z_deflate+set}" = set; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26081 else
26082 ac_check_lib_save_LIBS=$LIBS
26083 LIBS="-lz $LIBS"
26084 cat >conftest.$ac_ext <<_ACEOF
26085 /* confdefs.h. */
26086 _ACEOF
26087 cat confdefs.h >>conftest.$ac_ext
26088 cat >>conftest.$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26090
26091 /* Override any GCC internal prototype to avoid an error.
26092 Use char because int might match the return type of a GCC
26093 builtin and then its argument prototype would still apply. */
26094 #ifdef __cplusplus
26095 extern "C"
26096 #endif
26097 char deflate ();
26098 int
26099 main ()
26100 {
26101 return deflate ();
26102 ;
26103 return 0;
26104 }
26105 _ACEOF
26106 rm -f conftest.$ac_objext conftest$ac_exeext
26107 if { (ac_try="$ac_link"
26108 case "(($ac_try" in
26109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26110 *) ac_try_echo=$ac_try;;
26111 esac
26112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26113 (eval "$ac_link") 2>conftest.er1
26114 ac_status=$?
26115 grep -v '^ *+' conftest.er1 >conftest.err
26116 rm -f conftest.er1
26117 cat conftest.err >&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); } && {
26120 test -z "$ac_c_werror_flag" ||
26121 test ! -s conftest.err
26122 } && test -s conftest$ac_exeext &&
26123 $as_test_x conftest$ac_exeext; then
26124 ac_cv_lib_z_deflate=yes
26125 else
26126 echo "$as_me: failed program was:" >&5
26127 sed 's/^/| /' conftest.$ac_ext >&5
26128
26129 ac_cv_lib_z_deflate=no
26130 fi
26131
26132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26133 conftest$ac_exeext conftest.$ac_ext
26134 LIBS=$ac_check_lib_save_LIBS
26135 fi
26136 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26137 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26138 if test $ac_cv_lib_z_deflate = yes; then
26139 ZLIB_LINK=" -lz"
26140 fi
26141
26142 fi
26143
26144 if test "x$ZLIB_LINK" = "x" ; then
26145 if test "$wxUSE_ZLIB" = "sys" ; then
26146 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26147 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26148 { (exit 1); exit 1; }; }
26149 else
26150 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26151 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26152 wxUSE_ZLIB=builtin
26153 fi
26154 else
26155 wxUSE_ZLIB=sys
26156 fi
26157 fi
26158 fi
26159
26160
26161 PNG_LINK=
26162 if test "$wxUSE_LIBPNG" != "no" ; then
26163 cat >>confdefs.h <<\_ACEOF
26164 #define wxUSE_LIBPNG 1
26165 _ACEOF
26166
26167
26168 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26169 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26170 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26171 wxUSE_LIBPNG=sys
26172 fi
26173
26174 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26175 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26176 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26177 wxUSE_LIBPNG=builtin
26178 fi
26179
26180 if test "$wxUSE_MGL" != 1 ; then
26181 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26182 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26183 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26184 if test "${ac_cv_header_png_h+set}" = set; then
26185 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 else
26187 if test "$cross_compiling" = yes; then
26188 unset ac_cv_header_png_h
26189
26190 else
26191 cat >conftest.$ac_ext <<_ACEOF
26192 /* confdefs.h. */
26193 _ACEOF
26194 cat confdefs.h >>conftest.$ac_ext
26195 cat >>conftest.$ac_ext <<_ACEOF
26196 /* end confdefs.h. */
26197
26198 #include <png.h>
26199 #include <stdio.h>
26200
26201 int main()
26202 {
26203 FILE *f=fopen("conftestval", "w");
26204 if (!f) exit(1);
26205 fprintf(f, "%s",
26206 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26207 exit(0);
26208 }
26209
26210 _ACEOF
26211 rm -f conftest$ac_exeext
26212 if { (ac_try="$ac_link"
26213 case "(($ac_try" in
26214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26215 *) ac_try_echo=$ac_try;;
26216 esac
26217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26218 (eval "$ac_link") 2>&5
26219 ac_status=$?
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26222 { (case "(($ac_try" in
26223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26224 *) ac_try_echo=$ac_try;;
26225 esac
26226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26227 (eval "$ac_try") 2>&5
26228 ac_status=$?
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; }; then
26231 ac_cv_header_png_h=`cat conftestval`
26232 else
26233 echo "$as_me: program exited with status $ac_status" >&5
26234 echo "$as_me: failed program was:" >&5
26235 sed 's/^/| /' conftest.$ac_ext >&5
26236
26237 ( exit $ac_status )
26238 ac_cv_header_png_h=no
26239 fi
26240 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26241 fi
26242
26243
26244
26245 fi
26246 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26247 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26248 { echo "$as_me:$LINENO: checking for png.h" >&5
26249 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26250 if test "${ac_cv_header_png_h+set}" = set; then
26251 echo $ECHO_N "(cached) $ECHO_C" >&6
26252 else
26253 cat >conftest.$ac_ext <<_ACEOF
26254 /* confdefs.h. */
26255 _ACEOF
26256 cat confdefs.h >>conftest.$ac_ext
26257 cat >>conftest.$ac_ext <<_ACEOF
26258 /* end confdefs.h. */
26259
26260
26261 #include <png.h>
26262 _ACEOF
26263 rm -f conftest.$ac_objext
26264 if { (ac_try="$ac_compile"
26265 case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26267 *) ac_try_echo=$ac_try;;
26268 esac
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_compile") 2>conftest.er1
26271 ac_status=$?
26272 grep -v '^ *+' conftest.er1 >conftest.err
26273 rm -f conftest.er1
26274 cat conftest.err >&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && {
26277 test -z "$ac_c_werror_flag" ||
26278 test ! -s conftest.err
26279 } && test -s conftest.$ac_objext; then
26280 ac_cv_header_png_h=yes
26281 else
26282 echo "$as_me: failed program was:" >&5
26283 sed 's/^/| /' conftest.$ac_ext >&5
26284
26285 ac_cv_header_png_h=no
26286 fi
26287
26288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26289 fi
26290 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26291 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26292
26293
26294
26295 if test "$ac_cv_header_png_h" = "yes"; then
26296 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26297 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26298 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 else
26301 ac_check_lib_save_LIBS=$LIBS
26302 LIBS="-lpng -lz -lm $LIBS"
26303 cat >conftest.$ac_ext <<_ACEOF
26304 /* confdefs.h. */
26305 _ACEOF
26306 cat confdefs.h >>conftest.$ac_ext
26307 cat >>conftest.$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26309
26310 /* Override any GCC internal prototype to avoid an error.
26311 Use char because int might match the return type of a GCC
26312 builtin and then its argument prototype would still apply. */
26313 #ifdef __cplusplus
26314 extern "C"
26315 #endif
26316 char png_check_sig ();
26317 int
26318 main ()
26319 {
26320 return png_check_sig ();
26321 ;
26322 return 0;
26323 }
26324 _ACEOF
26325 rm -f conftest.$ac_objext conftest$ac_exeext
26326 if { (ac_try="$ac_link"
26327 case "(($ac_try" in
26328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26329 *) ac_try_echo=$ac_try;;
26330 esac
26331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26332 (eval "$ac_link") 2>conftest.er1
26333 ac_status=$?
26334 grep -v '^ *+' conftest.er1 >conftest.err
26335 rm -f conftest.er1
26336 cat conftest.err >&5
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } && {
26339 test -z "$ac_c_werror_flag" ||
26340 test ! -s conftest.err
26341 } && test -s conftest$ac_exeext &&
26342 $as_test_x conftest$ac_exeext; then
26343 ac_cv_lib_png_png_check_sig=yes
26344 else
26345 echo "$as_me: failed program was:" >&5
26346 sed 's/^/| /' conftest.$ac_ext >&5
26347
26348 ac_cv_lib_png_png_check_sig=no
26349 fi
26350
26351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26352 conftest$ac_exeext conftest.$ac_ext
26353 LIBS=$ac_check_lib_save_LIBS
26354 fi
26355 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26356 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26357 if test $ac_cv_lib_png_png_check_sig = yes; then
26358 PNG_LINK=" -lpng -lz"
26359 fi
26360
26361 fi
26362
26363 if test "x$PNG_LINK" = "x" ; then
26364 if test "$wxUSE_LIBPNG" = "sys" ; then
26365 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26366 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26367 { (exit 1); exit 1; }; }
26368 else
26369 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26370 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26371 wxUSE_LIBPNG=builtin
26372 fi
26373 else
26374 wxUSE_LIBPNG=sys
26375 fi
26376 fi
26377 fi
26378 fi
26379
26380
26381 JPEG_LINK=
26382 if test "$wxUSE_LIBJPEG" != "no" ; then
26383 cat >>confdefs.h <<\_ACEOF
26384 #define wxUSE_LIBJPEG 1
26385 _ACEOF
26386
26387
26388 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26389 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26390 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26391 wxUSE_LIBJPEG=sys
26392 fi
26393
26394 if test "$wxUSE_MGL" != 1 ; then
26395 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26396 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26397 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26398 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26399 echo $ECHO_N "(cached) $ECHO_C" >&6
26400 else
26401 cat >conftest.$ac_ext <<_ACEOF
26402 /* confdefs.h. */
26403 _ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26407
26408 #undef HAVE_STDLIB_H
26409 #include <stdio.h>
26410 #include <jpeglib.h>
26411
26412 int
26413 main ()
26414 {
26415
26416
26417 ;
26418 return 0;
26419 }
26420 _ACEOF
26421 rm -f conftest.$ac_objext
26422 if { (ac_try="$ac_compile"
26423 case "(($ac_try" in
26424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26425 *) ac_try_echo=$ac_try;;
26426 esac
26427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26428 (eval "$ac_compile") 2>conftest.er1
26429 ac_status=$?
26430 grep -v '^ *+' conftest.er1 >conftest.err
26431 rm -f conftest.er1
26432 cat conftest.err >&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } && {
26435 test -z "$ac_c_werror_flag" ||
26436 test ! -s conftest.err
26437 } && test -s conftest.$ac_objext; then
26438 ac_cv_header_jpeglib_h=yes
26439 else
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.$ac_ext >&5
26442
26443 ac_cv_header_jpeglib_h=no
26444
26445 fi
26446
26447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26448
26449 fi
26450
26451 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26452 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26453
26454 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26455 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26456 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26457 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26458 echo $ECHO_N "(cached) $ECHO_C" >&6
26459 else
26460 ac_check_lib_save_LIBS=$LIBS
26461 LIBS="-ljpeg $LIBS"
26462 cat >conftest.$ac_ext <<_ACEOF
26463 /* confdefs.h. */
26464 _ACEOF
26465 cat confdefs.h >>conftest.$ac_ext
26466 cat >>conftest.$ac_ext <<_ACEOF
26467 /* end confdefs.h. */
26468
26469 /* Override any GCC internal prototype to avoid an error.
26470 Use char because int might match the return type of a GCC
26471 builtin and then its argument prototype would still apply. */
26472 #ifdef __cplusplus
26473 extern "C"
26474 #endif
26475 char jpeg_read_header ();
26476 int
26477 main ()
26478 {
26479 return jpeg_read_header ();
26480 ;
26481 return 0;
26482 }
26483 _ACEOF
26484 rm -f conftest.$ac_objext conftest$ac_exeext
26485 if { (ac_try="$ac_link"
26486 case "(($ac_try" in
26487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26488 *) ac_try_echo=$ac_try;;
26489 esac
26490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26491 (eval "$ac_link") 2>conftest.er1
26492 ac_status=$?
26493 grep -v '^ *+' conftest.er1 >conftest.err
26494 rm -f conftest.er1
26495 cat conftest.err >&5
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); } && {
26498 test -z "$ac_c_werror_flag" ||
26499 test ! -s conftest.err
26500 } && test -s conftest$ac_exeext &&
26501 $as_test_x conftest$ac_exeext; then
26502 ac_cv_lib_jpeg_jpeg_read_header=yes
26503 else
26504 echo "$as_me: failed program was:" >&5
26505 sed 's/^/| /' conftest.$ac_ext >&5
26506
26507 ac_cv_lib_jpeg_jpeg_read_header=no
26508 fi
26509
26510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26511 conftest$ac_exeext conftest.$ac_ext
26512 LIBS=$ac_check_lib_save_LIBS
26513 fi
26514 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26515 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26516 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26517 JPEG_LINK=" -ljpeg"
26518 fi
26519
26520 fi
26521
26522 if test "x$JPEG_LINK" = "x" ; then
26523 if test "$wxUSE_LIBJPEG" = "sys" ; then
26524 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26525 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26526 { (exit 1); exit 1; }; }
26527 else
26528 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26529 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26530 wxUSE_LIBJPEG=builtin
26531 fi
26532 else
26533 wxUSE_LIBJPEG=sys
26534
26535 if test "$wxUSE_MSW" = 1; then
26536 { echo "$as_me:$LINENO: checking for boolean" >&5
26537 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26538 if test "${ac_cv_type_boolean+set}" = set; then
26539 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 else
26541 cat >conftest.$ac_ext <<_ACEOF
26542 /* confdefs.h. */
26543 _ACEOF
26544 cat confdefs.h >>conftest.$ac_ext
26545 cat >>conftest.$ac_ext <<_ACEOF
26546 /* end confdefs.h. */
26547 #include <windows.h>
26548
26549 typedef boolean ac__type_new_;
26550 int
26551 main ()
26552 {
26553 if ((ac__type_new_ *) 0)
26554 return 0;
26555 if (sizeof (ac__type_new_))
26556 return 0;
26557 ;
26558 return 0;
26559 }
26560 _ACEOF
26561 rm -f conftest.$ac_objext
26562 if { (ac_try="$ac_compile"
26563 case "(($ac_try" in
26564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26565 *) ac_try_echo=$ac_try;;
26566 esac
26567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26568 (eval "$ac_compile") 2>conftest.er1
26569 ac_status=$?
26570 grep -v '^ *+' conftest.er1 >conftest.err
26571 rm -f conftest.er1
26572 cat conftest.err >&5
26573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574 (exit $ac_status); } && {
26575 test -z "$ac_c_werror_flag" ||
26576 test ! -s conftest.err
26577 } && test -s conftest.$ac_objext; then
26578 ac_cv_type_boolean=yes
26579 else
26580 echo "$as_me: failed program was:" >&5
26581 sed 's/^/| /' conftest.$ac_ext >&5
26582
26583 ac_cv_type_boolean=no
26584 fi
26585
26586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26587 fi
26588 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26589 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26590 if test $ac_cv_type_boolean = yes; then
26591
26592 cat >>confdefs.h <<_ACEOF
26593 #define HAVE_BOOLEAN 1
26594 _ACEOF
26595
26596
26597 { echo "$as_me:$LINENO: checking for boolean" >&5
26598 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26599 if test "${ac_cv_type_boolean+set}" = set; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26601 else
26602 cat >conftest.$ac_ext <<_ACEOF
26603 /* confdefs.h. */
26604 _ACEOF
26605 cat confdefs.h >>conftest.$ac_ext
26606 cat >>conftest.$ac_ext <<_ACEOF
26607 /* end confdefs.h. */
26608
26609 #undef HAVE_BOOLEAN
26610 #include <stdio.h>
26611 #include <jpeglib.h>
26612
26613
26614 typedef boolean ac__type_new_;
26615 int
26616 main ()
26617 {
26618 if ((ac__type_new_ *) 0)
26619 return 0;
26620 if (sizeof (ac__type_new_))
26621 return 0;
26622 ;
26623 return 0;
26624 }
26625 _ACEOF
26626 rm -f conftest.$ac_objext
26627 if { (ac_try="$ac_compile"
26628 case "(($ac_try" in
26629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26630 *) ac_try_echo=$ac_try;;
26631 esac
26632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26633 (eval "$ac_compile") 2>conftest.er1
26634 ac_status=$?
26635 grep -v '^ *+' conftest.er1 >conftest.err
26636 rm -f conftest.er1
26637 cat conftest.err >&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); } && {
26640 test -z "$ac_c_werror_flag" ||
26641 test ! -s conftest.err
26642 } && test -s conftest.$ac_objext; then
26643 ac_cv_type_boolean=yes
26644 else
26645 echo "$as_me: failed program was:" >&5
26646 sed 's/^/| /' conftest.$ac_ext >&5
26647
26648 ac_cv_type_boolean=no
26649 fi
26650
26651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26652 fi
26653 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26654 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26655
26656 # The cast to long int works around a bug in the HP C Compiler
26657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26658 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26659 # This bug is HP SR number 8606223364.
26660 { echo "$as_me:$LINENO: checking size of boolean" >&5
26661 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26662 if test "${ac_cv_sizeof_boolean+set}" = set; then
26663 echo $ECHO_N "(cached) $ECHO_C" >&6
26664 else
26665 if test "$cross_compiling" = yes; then
26666 # Depending upon the size, compute the lo and hi bounds.
26667 cat >conftest.$ac_ext <<_ACEOF
26668 /* confdefs.h. */
26669 _ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673
26674 #undef HAVE_BOOLEAN
26675 #include <stdio.h>
26676 #include <jpeglib.h>
26677
26678
26679 typedef boolean ac__type_sizeof_;
26680 int
26681 main ()
26682 {
26683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26684 test_array [0] = 0
26685
26686 ;
26687 return 0;
26688 }
26689 _ACEOF
26690 rm -f conftest.$ac_objext
26691 if { (ac_try="$ac_compile"
26692 case "(($ac_try" in
26693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26694 *) ac_try_echo=$ac_try;;
26695 esac
26696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26697 (eval "$ac_compile") 2>conftest.er1
26698 ac_status=$?
26699 grep -v '^ *+' conftest.er1 >conftest.err
26700 rm -f conftest.er1
26701 cat conftest.err >&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } && {
26704 test -z "$ac_c_werror_flag" ||
26705 test ! -s conftest.err
26706 } && test -s conftest.$ac_objext; then
26707 ac_lo=0 ac_mid=0
26708 while :; do
26709 cat >conftest.$ac_ext <<_ACEOF
26710 /* confdefs.h. */
26711 _ACEOF
26712 cat confdefs.h >>conftest.$ac_ext
26713 cat >>conftest.$ac_ext <<_ACEOF
26714 /* end confdefs.h. */
26715
26716 #undef HAVE_BOOLEAN
26717 #include <stdio.h>
26718 #include <jpeglib.h>
26719
26720
26721 typedef boolean ac__type_sizeof_;
26722 int
26723 main ()
26724 {
26725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26726 test_array [0] = 0
26727
26728 ;
26729 return 0;
26730 }
26731 _ACEOF
26732 rm -f conftest.$ac_objext
26733 if { (ac_try="$ac_compile"
26734 case "(($ac_try" in
26735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26736 *) ac_try_echo=$ac_try;;
26737 esac
26738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26739 (eval "$ac_compile") 2>conftest.er1
26740 ac_status=$?
26741 grep -v '^ *+' conftest.er1 >conftest.err
26742 rm -f conftest.er1
26743 cat conftest.err >&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); } && {
26746 test -z "$ac_c_werror_flag" ||
26747 test ! -s conftest.err
26748 } && test -s conftest.$ac_objext; then
26749 ac_hi=$ac_mid; break
26750 else
26751 echo "$as_me: failed program was:" >&5
26752 sed 's/^/| /' conftest.$ac_ext >&5
26753
26754 ac_lo=`expr $ac_mid + 1`
26755 if test $ac_lo -le $ac_mid; then
26756 ac_lo= ac_hi=
26757 break
26758 fi
26759 ac_mid=`expr 2 '*' $ac_mid + 1`
26760 fi
26761
26762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26763 done
26764 else
26765 echo "$as_me: failed program was:" >&5
26766 sed 's/^/| /' conftest.$ac_ext >&5
26767
26768 cat >conftest.$ac_ext <<_ACEOF
26769 /* confdefs.h. */
26770 _ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774
26775 #undef HAVE_BOOLEAN
26776 #include <stdio.h>
26777 #include <jpeglib.h>
26778
26779
26780 typedef boolean ac__type_sizeof_;
26781 int
26782 main ()
26783 {
26784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26785 test_array [0] = 0
26786
26787 ;
26788 return 0;
26789 }
26790 _ACEOF
26791 rm -f conftest.$ac_objext
26792 if { (ac_try="$ac_compile"
26793 case "(($ac_try" in
26794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26795 *) ac_try_echo=$ac_try;;
26796 esac
26797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26798 (eval "$ac_compile") 2>conftest.er1
26799 ac_status=$?
26800 grep -v '^ *+' conftest.er1 >conftest.err
26801 rm -f conftest.er1
26802 cat conftest.err >&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } && {
26805 test -z "$ac_c_werror_flag" ||
26806 test ! -s conftest.err
26807 } && test -s conftest.$ac_objext; then
26808 ac_hi=-1 ac_mid=-1
26809 while :; do
26810 cat >conftest.$ac_ext <<_ACEOF
26811 /* confdefs.h. */
26812 _ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26816
26817 #undef HAVE_BOOLEAN
26818 #include <stdio.h>
26819 #include <jpeglib.h>
26820
26821
26822 typedef boolean ac__type_sizeof_;
26823 int
26824 main ()
26825 {
26826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26827 test_array [0] = 0
26828
26829 ;
26830 return 0;
26831 }
26832 _ACEOF
26833 rm -f conftest.$ac_objext
26834 if { (ac_try="$ac_compile"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26838 esac
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_compile") 2>conftest.er1
26841 ac_status=$?
26842 grep -v '^ *+' conftest.er1 >conftest.err
26843 rm -f conftest.er1
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_c_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest.$ac_objext; then
26850 ac_lo=$ac_mid; break
26851 else
26852 echo "$as_me: failed program was:" >&5
26853 sed 's/^/| /' conftest.$ac_ext >&5
26854
26855 ac_hi=`expr '(' $ac_mid ')' - 1`
26856 if test $ac_mid -le $ac_hi; then
26857 ac_lo= ac_hi=
26858 break
26859 fi
26860 ac_mid=`expr 2 '*' $ac_mid`
26861 fi
26862
26863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26864 done
26865 else
26866 echo "$as_me: failed program was:" >&5
26867 sed 's/^/| /' conftest.$ac_ext >&5
26868
26869 ac_lo= ac_hi=
26870 fi
26871
26872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26873 fi
26874
26875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26876 # Binary search between lo and hi bounds.
26877 while test "x$ac_lo" != "x$ac_hi"; do
26878 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26879 cat >conftest.$ac_ext <<_ACEOF
26880 /* confdefs.h. */
26881 _ACEOF
26882 cat confdefs.h >>conftest.$ac_ext
26883 cat >>conftest.$ac_ext <<_ACEOF
26884 /* end confdefs.h. */
26885
26886 #undef HAVE_BOOLEAN
26887 #include <stdio.h>
26888 #include <jpeglib.h>
26889
26890
26891 typedef boolean ac__type_sizeof_;
26892 int
26893 main ()
26894 {
26895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26896 test_array [0] = 0
26897
26898 ;
26899 return 0;
26900 }
26901 _ACEOF
26902 rm -f conftest.$ac_objext
26903 if { (ac_try="$ac_compile"
26904 case "(($ac_try" in
26905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26906 *) ac_try_echo=$ac_try;;
26907 esac
26908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26909 (eval "$ac_compile") 2>conftest.er1
26910 ac_status=$?
26911 grep -v '^ *+' conftest.er1 >conftest.err
26912 rm -f conftest.er1
26913 cat conftest.err >&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); } && {
26916 test -z "$ac_c_werror_flag" ||
26917 test ! -s conftest.err
26918 } && test -s conftest.$ac_objext; then
26919 ac_hi=$ac_mid
26920 else
26921 echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.$ac_ext >&5
26923
26924 ac_lo=`expr '(' $ac_mid ')' + 1`
26925 fi
26926
26927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26928 done
26929 case $ac_lo in
26930 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26931 '') if test "$ac_cv_type_boolean" = yes; then
26932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26933 See \`config.log' for more details." >&5
26934 echo "$as_me: error: cannot compute sizeof (boolean)
26935 See \`config.log' for more details." >&2;}
26936 { (exit 77); exit 77; }; }
26937 else
26938 ac_cv_sizeof_boolean=0
26939 fi ;;
26940 esac
26941 else
26942 cat >conftest.$ac_ext <<_ACEOF
26943 /* confdefs.h. */
26944 _ACEOF
26945 cat confdefs.h >>conftest.$ac_ext
26946 cat >>conftest.$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26948
26949 #undef HAVE_BOOLEAN
26950 #include <stdio.h>
26951 #include <jpeglib.h>
26952
26953
26954 typedef boolean ac__type_sizeof_;
26955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26957 #include <stdio.h>
26958 #include <stdlib.h>
26959 int
26960 main ()
26961 {
26962
26963 FILE *f = fopen ("conftest.val", "w");
26964 if (! f)
26965 return 1;
26966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26967 {
26968 long int i = longval ();
26969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26970 return 1;
26971 fprintf (f, "%ld\n", i);
26972 }
26973 else
26974 {
26975 unsigned long int i = ulongval ();
26976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26977 return 1;
26978 fprintf (f, "%lu\n", i);
26979 }
26980 return ferror (f) || fclose (f) != 0;
26981
26982 ;
26983 return 0;
26984 }
26985 _ACEOF
26986 rm -f conftest$ac_exeext
26987 if { (ac_try="$ac_link"
26988 case "(($ac_try" in
26989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26990 *) ac_try_echo=$ac_try;;
26991 esac
26992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26993 (eval "$ac_link") 2>&5
26994 ac_status=$?
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26997 { (case "(($ac_try" in
26998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26999 *) ac_try_echo=$ac_try;;
27000 esac
27001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27002 (eval "$ac_try") 2>&5
27003 ac_status=$?
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); }; }; then
27006 ac_cv_sizeof_boolean=`cat conftest.val`
27007 else
27008 echo "$as_me: program exited with status $ac_status" >&5
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.$ac_ext >&5
27011
27012 ( exit $ac_status )
27013 if test "$ac_cv_type_boolean" = yes; then
27014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27015 See \`config.log' for more details." >&5
27016 echo "$as_me: error: cannot compute sizeof (boolean)
27017 See \`config.log' for more details." >&2;}
27018 { (exit 77); exit 77; }; }
27019 else
27020 ac_cv_sizeof_boolean=0
27021 fi
27022 fi
27023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27024 fi
27025 rm -f conftest.val
27026 fi
27027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27028 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27029
27030
27031
27032 cat >>confdefs.h <<_ACEOF
27033 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27034 _ACEOF
27035
27036
27037 cat >>confdefs.h <<_ACEOF
27038 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27039 _ACEOF
27040
27041
27042 fi
27043
27044 fi
27045 fi
27046 fi
27047 fi
27048 fi
27049
27050
27051 TIFF_LINK=
27052 TIFF_PREREQ_LINKS=-lm
27053 if test "$wxUSE_LIBTIFF" != "no" ; then
27054 cat >>confdefs.h <<\_ACEOF
27055 #define wxUSE_LIBTIFF 1
27056 _ACEOF
27057
27058
27059 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27060 if test "$wxUSE_LIBJPEG" = "sys"; then
27061 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27062 fi
27063 if test "$wxUSE_ZLIB" = "sys"; then
27064 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27065 fi
27066 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27067 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27068 if test "${ac_cv_header_tiffio_h+set}" = set; then
27069 echo $ECHO_N "(cached) $ECHO_C" >&6
27070 else
27071 cat >conftest.$ac_ext <<_ACEOF
27072 /* confdefs.h. */
27073 _ACEOF
27074 cat confdefs.h >>conftest.$ac_ext
27075 cat >>conftest.$ac_ext <<_ACEOF
27076 /* end confdefs.h. */
27077
27078
27079
27080 #include <tiffio.h>
27081 _ACEOF
27082 rm -f conftest.$ac_objext
27083 if { (ac_try="$ac_compile"
27084 case "(($ac_try" in
27085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27086 *) ac_try_echo=$ac_try;;
27087 esac
27088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27089 (eval "$ac_compile") 2>conftest.er1
27090 ac_status=$?
27091 grep -v '^ *+' conftest.er1 >conftest.err
27092 rm -f conftest.er1
27093 cat conftest.err >&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); } && {
27096 test -z "$ac_c_werror_flag" ||
27097 test ! -s conftest.err
27098 } && test -s conftest.$ac_objext; then
27099 ac_cv_header_tiffio_h=yes
27100 else
27101 echo "$as_me: failed program was:" >&5
27102 sed 's/^/| /' conftest.$ac_ext >&5
27103
27104 ac_cv_header_tiffio_h=no
27105 fi
27106
27107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27108 fi
27109 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27110 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27111 if test $ac_cv_header_tiffio_h = yes; then
27112
27113 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27114 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27115 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27116 echo $ECHO_N "(cached) $ECHO_C" >&6
27117 else
27118 ac_check_lib_save_LIBS=$LIBS
27119 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27120 cat >conftest.$ac_ext <<_ACEOF
27121 /* confdefs.h. */
27122 _ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27126
27127 /* Override any GCC internal prototype to avoid an error.
27128 Use char because int might match the return type of a GCC
27129 builtin and then its argument prototype would still apply. */
27130 #ifdef __cplusplus
27131 extern "C"
27132 #endif
27133 char TIFFError ();
27134 int
27135 main ()
27136 {
27137 return TIFFError ();
27138 ;
27139 return 0;
27140 }
27141 _ACEOF
27142 rm -f conftest.$ac_objext conftest$ac_exeext
27143 if { (ac_try="$ac_link"
27144 case "(($ac_try" in
27145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27146 *) ac_try_echo=$ac_try;;
27147 esac
27148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27149 (eval "$ac_link") 2>conftest.er1
27150 ac_status=$?
27151 grep -v '^ *+' conftest.er1 >conftest.err
27152 rm -f conftest.er1
27153 cat conftest.err >&5
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); } && {
27156 test -z "$ac_c_werror_flag" ||
27157 test ! -s conftest.err
27158 } && test -s conftest$ac_exeext &&
27159 $as_test_x conftest$ac_exeext; then
27160 ac_cv_lib_tiff_TIFFError=yes
27161 else
27162 echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.$ac_ext >&5
27164
27165 ac_cv_lib_tiff_TIFFError=no
27166 fi
27167
27168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27169 conftest$ac_exeext conftest.$ac_ext
27170 LIBS=$ac_check_lib_save_LIBS
27171 fi
27172 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27173 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27174 if test $ac_cv_lib_tiff_TIFFError = yes; then
27175 TIFF_LINK=" -ltiff"
27176 fi
27177
27178
27179 fi
27180
27181
27182
27183 if test "x$TIFF_LINK" = "x" ; then
27184 if test "$wxUSE_LIBTIFF" = "sys" ; then
27185 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27186 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27187 { (exit 1); exit 1; }; }
27188 else
27189 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27190 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27191 wxUSE_LIBTIFF=builtin
27192 fi
27193 else
27194 wxUSE_LIBTIFF=sys
27195 fi
27196 fi
27197 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27198 if test "$wxUSE_LIBJPEG" = "no"; then
27199 ac_configure_args="$ac_configure_args --disable-jpeg"
27200 fi
27201 subdirs="$subdirs src/tiff"
27202
27203 fi
27204 fi
27205
27206
27207 if test "$wxUSE_WCHAR_T" != "yes"; then
27208 if test "$wxUSE_EXPAT" != "no"; then
27209 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27210 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27211 wxUSE_EXPAT=no
27212 fi
27213 if test "$wxUSE_XML" != "no"; then
27214 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27215 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27216 wxUSE_XML=no
27217 fi
27218 fi
27219
27220 if test "$wxUSE_EXPAT" != "no"; then
27221 wxUSE_XML=yes
27222 cat >>confdefs.h <<\_ACEOF
27223 #define wxUSE_EXPAT 1
27224 _ACEOF
27225
27226 cat >>confdefs.h <<\_ACEOF
27227 #define wxUSE_XML 1
27228 _ACEOF
27229
27230
27231 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27232 { echo "$as_me:$LINENO: checking for expat.h" >&5
27233 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27234 if test "${ac_cv_header_expat_h+set}" = set; then
27235 echo $ECHO_N "(cached) $ECHO_C" >&6
27236 else
27237 cat >conftest.$ac_ext <<_ACEOF
27238 /* confdefs.h. */
27239 _ACEOF
27240 cat confdefs.h >>conftest.$ac_ext
27241 cat >>conftest.$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27243
27244
27245 #include <expat.h>
27246 _ACEOF
27247 rm -f conftest.$ac_objext
27248 if { (ac_try="$ac_compile"
27249 case "(($ac_try" in
27250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27251 *) ac_try_echo=$ac_try;;
27252 esac
27253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27254 (eval "$ac_compile") 2>conftest.er1
27255 ac_status=$?
27256 grep -v '^ *+' conftest.er1 >conftest.err
27257 rm -f conftest.er1
27258 cat conftest.err >&5
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); } && {
27261 test -z "$ac_c_werror_flag" ||
27262 test ! -s conftest.err
27263 } && test -s conftest.$ac_objext; then
27264 ac_cv_header_expat_h=yes
27265 else
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27268
27269 ac_cv_header_expat_h=no
27270 fi
27271
27272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27273 fi
27274 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27275 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27276 if test $ac_cv_header_expat_h = yes; then
27277 found_expat_h=1
27278 fi
27279
27280
27281 if test "x$found_expat_h" = "x1"; then
27282 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27283 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27284 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27285 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 else
27287
27288 ac_ext=cpp
27289 ac_cpp='$CXXCPP $CPPFLAGS'
27290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27293
27294 cat >conftest.$ac_ext <<_ACEOF
27295 /* confdefs.h. */
27296 _ACEOF
27297 cat confdefs.h >>conftest.$ac_ext
27298 cat >>conftest.$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27300 #include <expat.h>
27301 int
27302 main ()
27303 {
27304
27305 ;
27306 return 0;
27307 }
27308 _ACEOF
27309 rm -f conftest.$ac_objext
27310 if { (ac_try="$ac_compile"
27311 case "(($ac_try" in
27312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27313 *) ac_try_echo=$ac_try;;
27314 esac
27315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27316 (eval "$ac_compile") 2>conftest.er1
27317 ac_status=$?
27318 grep -v '^ *+' conftest.er1 >conftest.err
27319 rm -f conftest.er1
27320 cat conftest.err >&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); } && {
27323 test -z "$ac_cxx_werror_flag" ||
27324 test ! -s conftest.err
27325 } && test -s conftest.$ac_objext; then
27326 wx_cv_expat_is_not_broken=yes
27327 else
27328 echo "$as_me: failed program was:" >&5
27329 sed 's/^/| /' conftest.$ac_ext >&5
27330
27331 wx_cv_expat_is_not_broken=no
27332
27333 fi
27334
27335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336 ac_ext=c
27337 ac_cpp='$CPP $CPPFLAGS'
27338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27341
27342
27343
27344 fi
27345 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27346 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27347 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27348 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27349 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27350 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27352 else
27353 ac_check_lib_save_LIBS=$LIBS
27354 LIBS="-lexpat $LIBS"
27355 cat >conftest.$ac_ext <<_ACEOF
27356 /* confdefs.h. */
27357 _ACEOF
27358 cat confdefs.h >>conftest.$ac_ext
27359 cat >>conftest.$ac_ext <<_ACEOF
27360 /* end confdefs.h. */
27361
27362 /* Override any GCC internal prototype to avoid an error.
27363 Use char because int might match the return type of a GCC
27364 builtin and then its argument prototype would still apply. */
27365 #ifdef __cplusplus
27366 extern "C"
27367 #endif
27368 char XML_ParserCreate ();
27369 int
27370 main ()
27371 {
27372 return XML_ParserCreate ();
27373 ;
27374 return 0;
27375 }
27376 _ACEOF
27377 rm -f conftest.$ac_objext conftest$ac_exeext
27378 if { (ac_try="$ac_link"
27379 case "(($ac_try" in
27380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27381 *) ac_try_echo=$ac_try;;
27382 esac
27383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27384 (eval "$ac_link") 2>conftest.er1
27385 ac_status=$?
27386 grep -v '^ *+' conftest.er1 >conftest.err
27387 rm -f conftest.er1
27388 cat conftest.err >&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } && {
27391 test -z "$ac_c_werror_flag" ||
27392 test ! -s conftest.err
27393 } && test -s conftest$ac_exeext &&
27394 $as_test_x conftest$ac_exeext; then
27395 ac_cv_lib_expat_XML_ParserCreate=yes
27396 else
27397 echo "$as_me: failed program was:" >&5
27398 sed 's/^/| /' conftest.$ac_ext >&5
27399
27400 ac_cv_lib_expat_XML_ParserCreate=no
27401 fi
27402
27403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27404 conftest$ac_exeext conftest.$ac_ext
27405 LIBS=$ac_check_lib_save_LIBS
27406 fi
27407 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27408 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27409 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27410 EXPAT_LINK=" -lexpat"
27411 fi
27412
27413 fi
27414 fi
27415 if test "x$EXPAT_LINK" = "x" ; then
27416 if test "$wxUSE_EXPAT" = "sys" ; then
27417 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27418 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27419 { (exit 1); exit 1; }; }
27420 else
27421 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27422 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27423 wxUSE_EXPAT=builtin
27424 fi
27425 else
27426 wxUSE_EXPAT=sys
27427 fi
27428 fi
27429 if test "$wxUSE_EXPAT" = "builtin" ; then
27430 subdirs="$subdirs src/expat"
27431
27432 fi
27433 fi
27434
27435
27436
27437 if test "$wxUSE_LIBMSPACK" != "no"; then
27438 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27439 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27440 if test "${ac_cv_header_mspack_h+set}" = set; then
27441 echo $ECHO_N "(cached) $ECHO_C" >&6
27442 else
27443 cat >conftest.$ac_ext <<_ACEOF
27444 /* confdefs.h. */
27445 _ACEOF
27446 cat confdefs.h >>conftest.$ac_ext
27447 cat >>conftest.$ac_ext <<_ACEOF
27448 /* end confdefs.h. */
27449
27450
27451 #include <mspack.h>
27452 _ACEOF
27453 rm -f conftest.$ac_objext
27454 if { (ac_try="$ac_compile"
27455 case "(($ac_try" in
27456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27457 *) ac_try_echo=$ac_try;;
27458 esac
27459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27460 (eval "$ac_compile") 2>conftest.er1
27461 ac_status=$?
27462 grep -v '^ *+' conftest.er1 >conftest.err
27463 rm -f conftest.er1
27464 cat conftest.err >&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); } && {
27467 test -z "$ac_c_werror_flag" ||
27468 test ! -s conftest.err
27469 } && test -s conftest.$ac_objext; then
27470 ac_cv_header_mspack_h=yes
27471 else
27472 echo "$as_me: failed program was:" >&5
27473 sed 's/^/| /' conftest.$ac_ext >&5
27474
27475 ac_cv_header_mspack_h=no
27476 fi
27477
27478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27479 fi
27480 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27481 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27482 if test $ac_cv_header_mspack_h = yes; then
27483 found_mspack_h=1
27484 fi
27485
27486
27487 if test "x$found_mspack_h" = "x1"; then
27488 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27489 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27490 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27491 echo $ECHO_N "(cached) $ECHO_C" >&6
27492 else
27493 ac_check_lib_save_LIBS=$LIBS
27494 LIBS="-lmspack $LIBS"
27495 cat >conftest.$ac_ext <<_ACEOF
27496 /* confdefs.h. */
27497 _ACEOF
27498 cat confdefs.h >>conftest.$ac_ext
27499 cat >>conftest.$ac_ext <<_ACEOF
27500 /* end confdefs.h. */
27501
27502 /* Override any GCC internal prototype to avoid an error.
27503 Use char because int might match the return type of a GCC
27504 builtin and then its argument prototype would still apply. */
27505 #ifdef __cplusplus
27506 extern "C"
27507 #endif
27508 char mspack_create_chm_decompressor ();
27509 int
27510 main ()
27511 {
27512 return mspack_create_chm_decompressor ();
27513 ;
27514 return 0;
27515 }
27516 _ACEOF
27517 rm -f conftest.$ac_objext conftest$ac_exeext
27518 if { (ac_try="$ac_link"
27519 case "(($ac_try" in
27520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27521 *) ac_try_echo=$ac_try;;
27522 esac
27523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27524 (eval "$ac_link") 2>conftest.er1
27525 ac_status=$?
27526 grep -v '^ *+' conftest.er1 >conftest.err
27527 rm -f conftest.er1
27528 cat conftest.err >&5
27529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27530 (exit $ac_status); } && {
27531 test -z "$ac_c_werror_flag" ||
27532 test ! -s conftest.err
27533 } && test -s conftest$ac_exeext &&
27534 $as_test_x conftest$ac_exeext; then
27535 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27536 else
27537 echo "$as_me: failed program was:" >&5
27538 sed 's/^/| /' conftest.$ac_ext >&5
27539
27540 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27541 fi
27542
27543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27544 conftest$ac_exeext conftest.$ac_ext
27545 LIBS=$ac_check_lib_save_LIBS
27546 fi
27547 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27548 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27549 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27550 MSPACK_LINK=" -lmspack"
27551 fi
27552
27553 fi
27554 if test "x$MSPACK_LINK" = "x" ; then
27555 wxUSE_LIBMSPACK=no
27556 fi
27557 fi
27558
27559 if test "$wxUSE_LIBMSPACK" != "no"; then
27560 cat >>confdefs.h <<\_ACEOF
27561 #define wxUSE_LIBMSPACK 1
27562 _ACEOF
27563
27564 fi
27565
27566
27567
27568 AFMINSTALL=
27569 WIN32INSTALL=
27570
27571 TOOLKIT=
27572 TOOLKIT_INCLUDE=
27573 WIDGET_SET=
27574
27575 if test "$USE_WIN32" = 1 ; then
27576
27577 for ac_header in w32api.h
27578 do
27579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27580 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27584 else
27585 cat >conftest.$ac_ext <<_ACEOF
27586 /* confdefs.h. */
27587 _ACEOF
27588 cat confdefs.h >>conftest.$ac_ext
27589 cat >>conftest.$ac_ext <<_ACEOF
27590 /* end confdefs.h. */
27591
27592
27593 #include <$ac_header>
27594 _ACEOF
27595 rm -f conftest.$ac_objext
27596 if { (ac_try="$ac_compile"
27597 case "(($ac_try" in
27598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27599 *) ac_try_echo=$ac_try;;
27600 esac
27601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27602 (eval "$ac_compile") 2>conftest.er1
27603 ac_status=$?
27604 grep -v '^ *+' conftest.er1 >conftest.err
27605 rm -f conftest.er1
27606 cat conftest.err >&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } && {
27609 test -z "$ac_c_werror_flag" ||
27610 test ! -s conftest.err
27611 } && test -s conftest.$ac_objext; then
27612 eval "$as_ac_Header=yes"
27613 else
27614 echo "$as_me: failed program was:" >&5
27615 sed 's/^/| /' conftest.$ac_ext >&5
27616
27617 eval "$as_ac_Header=no"
27618 fi
27619
27620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27621 fi
27622 ac_res=`eval echo '${'$as_ac_Header'}'`
27623 { echo "$as_me:$LINENO: result: $ac_res" >&5
27624 echo "${ECHO_T}$ac_res" >&6; }
27625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27626 cat >>confdefs.h <<_ACEOF
27627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27628 _ACEOF
27629
27630 fi
27631
27632 done
27633
27634 { echo "$as_me:$LINENO: checking for windows.h" >&5
27635 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27636 if test "${ac_cv_header_windows_h+set}" = set; then
27637 echo $ECHO_N "(cached) $ECHO_C" >&6
27638 else
27639 cat >conftest.$ac_ext <<_ACEOF
27640 /* confdefs.h. */
27641 _ACEOF
27642 cat confdefs.h >>conftest.$ac_ext
27643 cat >>conftest.$ac_ext <<_ACEOF
27644 /* end confdefs.h. */
27645
27646
27647 #include <windows.h>
27648 _ACEOF
27649 rm -f conftest.$ac_objext
27650 if { (ac_try="$ac_compile"
27651 case "(($ac_try" in
27652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27653 *) ac_try_echo=$ac_try;;
27654 esac
27655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27656 (eval "$ac_compile") 2>conftest.er1
27657 ac_status=$?
27658 grep -v '^ *+' conftest.er1 >conftest.err
27659 rm -f conftest.er1
27660 cat conftest.err >&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); } && {
27663 test -z "$ac_c_werror_flag" ||
27664 test ! -s conftest.err
27665 } && test -s conftest.$ac_objext; then
27666 ac_cv_header_windows_h=yes
27667 else
27668 echo "$as_me: failed program was:" >&5
27669 sed 's/^/| /' conftest.$ac_ext >&5
27670
27671 ac_cv_header_windows_h=no
27672 fi
27673
27674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27675 fi
27676 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27677 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27678 if test $ac_cv_header_windows_h = yes; then
27679 :
27680 else
27681
27682 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27683 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27684 { (exit 1); exit 1; }; }
27685
27686 fi
27687
27688
27689
27690 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27691
27692 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27693 LIBS="$LIBS -loleacc"
27694 fi
27695
27696 case "${host}" in
27697 *-*-cygwin* )
27698 LIBS="$LIBS -lkernel32 -luser32"
27699 esac
27700
27701 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27702 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27703
27704 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27705
27706 WIN32INSTALL=win32install
27707
27708 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27709 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27710 if test "${ac_cv_header_pbt_h+set}" = set; then
27711 echo $ECHO_N "(cached) $ECHO_C" >&6
27712 else
27713 cat >conftest.$ac_ext <<_ACEOF
27714 /* confdefs.h. */
27715 _ACEOF
27716 cat confdefs.h >>conftest.$ac_ext
27717 cat >>conftest.$ac_ext <<_ACEOF
27718 /* end confdefs.h. */
27719
27720
27721 #include <pbt.h>
27722 _ACEOF
27723 rm -f conftest.$ac_objext
27724 if { (ac_try="$ac_compile"
27725 case "(($ac_try" in
27726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27727 *) ac_try_echo=$ac_try;;
27728 esac
27729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27730 (eval "$ac_compile") 2>conftest.er1
27731 ac_status=$?
27732 grep -v '^ *+' conftest.er1 >conftest.err
27733 rm -f conftest.er1
27734 cat conftest.err >&5
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); } && {
27737 test -z "$ac_c_werror_flag" ||
27738 test ! -s conftest.err
27739 } && test -s conftest.$ac_objext; then
27740 ac_cv_header_pbt_h=yes
27741 else
27742 echo "$as_me: failed program was:" >&5
27743 sed 's/^/| /' conftest.$ac_ext >&5
27744
27745 ac_cv_header_pbt_h=no
27746 fi
27747
27748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27749 fi
27750 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27751 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27752 if test $ac_cv_header_pbt_h = yes; then
27753 :
27754 else
27755 cat >>confdefs.h <<\_ACEOF
27756 #define NEED_PBT_H 1
27757 _ACEOF
27758
27759 fi
27760
27761
27762 fi
27763
27764 if test "$wxUSE_GUI" = "yes"; then
27765 USE_GUI=1
27766
27767 GUI_TK_LIBRARY=
27768
27769 WXGTK12=
27770 WXGTK127=
27771 WXGTK2=
27772 WXGPE=
27773
27774 if test "$wxUSE_COCOA" = 1 ; then
27775 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27776 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27777 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27778 wxUSE_PRINTING_ARCHITECTURE=no
27779 fi
27780 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27781 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27782 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27783 wxUSE_DRAG_AND_DROP=no
27784 fi
27785 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27786 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27787 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27788 wxUSE_DRAGIMAGE=no
27789 fi
27790 fi
27791
27792 if test "$wxUSE_MSW" = 1 ; then
27793 TOOLKIT=MSW
27794 GUIDIST=MSW_DIST
27795
27796 case "${host}" in
27797 *-*-mingw32* )
27798 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27799 esac
27800 fi
27801
27802 if test "$wxUSE_GTK" = 1; then
27803 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27804 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27805
27806 gtk_version_cached=1
27807 if test "${wx_cv_lib_gtk+set}" = set; then
27808 echo $ECHO_N "(cached) $ECHO_C" >&6
27809 else
27810
27811 gtk_version_cached=0
27812 { echo "$as_me:$LINENO: result: " >&5
27813 echo "${ECHO_T}" >&6; }
27814
27815 GTK_MODULES=
27816 if test "$wxUSE_THREADS" = "yes"; then
27817 GTK_MODULES=gthread
27818 fi
27819
27820 wx_cv_lib_gtk=
27821 if test "x$wxGTK_VERSION" != "x1"
27822 then
27823 case "${host}" in
27824 *-*-solaris2* )
27825 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27826 enable_gtktest=no
27827 fi
27828 esac
27829
27830 # Check whether --enable-gtktest was given.
27831 if test "${enable_gtktest+set}" = set; then
27832 enableval=$enable_gtktest;
27833 else
27834 enable_gtktest=yes
27835 fi
27836
27837
27838 pkg_config_args=gtk+-2.0
27839 for module in . $GTK_MODULES
27840 do
27841 case "$module" in
27842 gthread)
27843 pkg_config_args="$pkg_config_args gthread-2.0"
27844 ;;
27845 esac
27846 done
27847
27848 no_gtk=""
27849
27850 # Extract the first word of "pkg-config", so it can be a program name with args.
27851 set dummy pkg-config; ac_word=$2
27852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27854 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27855 echo $ECHO_N "(cached) $ECHO_C" >&6
27856 else
27857 case $PKG_CONFIG in
27858 [\\/]* | ?:[\\/]*)
27859 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27860 ;;
27861 *)
27862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27863 for as_dir in $PATH
27864 do
27865 IFS=$as_save_IFS
27866 test -z "$as_dir" && as_dir=.
27867 for ac_exec_ext in '' $ac_executable_extensions; do
27868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27869 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27871 break 2
27872 fi
27873 done
27874 done
27875 IFS=$as_save_IFS
27876
27877 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27878 ;;
27879 esac
27880 fi
27881 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27882 if test -n "$PKG_CONFIG"; then
27883 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27884 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27885 else
27886 { echo "$as_me:$LINENO: result: no" >&5
27887 echo "${ECHO_T}no" >&6; }
27888 fi
27889
27890
27891
27892 if test x$PKG_CONFIG != xno ; then
27893 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27894 :
27895 else
27896 echo "*** pkg-config too old; version 0.7 or better required."
27897 no_gtk=yes
27898 PKG_CONFIG=no
27899 fi
27900 else
27901 no_gtk=yes
27902 fi
27903
27904 min_gtk_version=2.4.0
27905 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27906 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27907
27908 if test x$PKG_CONFIG != xno ; then
27909 ## don't try to run the test against uninstalled libtool libs
27910 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27911 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27912 enable_gtktest=no
27913 fi
27914
27915 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27916 :
27917 else
27918 no_gtk=yes
27919 fi
27920 fi
27921
27922 if test x"$no_gtk" = x ; then
27923 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27924 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27925 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27927 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27929 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27931 if test "x$enable_gtktest" = "xyes" ; then
27932 ac_save_CFLAGS="$CFLAGS"
27933 ac_save_LIBS="$LIBS"
27934 CFLAGS="$CFLAGS $GTK_CFLAGS"
27935 LIBS="$GTK_LIBS $LIBS"
27936 rm -f conf.gtktest
27937 if test "$cross_compiling" = yes; then
27938 echo $ac_n "cross compiling; assumed OK... $ac_c"
27939 else
27940 cat >conftest.$ac_ext <<_ACEOF
27941 /* confdefs.h. */
27942 _ACEOF
27943 cat confdefs.h >>conftest.$ac_ext
27944 cat >>conftest.$ac_ext <<_ACEOF
27945 /* end confdefs.h. */
27946
27947 #include <gtk/gtk.h>
27948 #include <stdio.h>
27949 #include <stdlib.h>
27950
27951 int
27952 main ()
27953 {
27954 int major, minor, micro;
27955 char *tmp_version;
27956
27957 system ("touch conf.gtktest");
27958
27959 /* HP/UX 9 (%@#!) writes to sscanf strings */
27960 tmp_version = g_strdup("$min_gtk_version");
27961 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27962 printf("%s, bad version string\n", "$min_gtk_version");
27963 exit(1);
27964 }
27965
27966 if ((gtk_major_version != $gtk_config_major_version) ||
27967 (gtk_minor_version != $gtk_config_minor_version) ||
27968 (gtk_micro_version != $gtk_config_micro_version))
27969 {
27970 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27971 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27972 gtk_major_version, gtk_minor_version, gtk_micro_version);
27973 printf ("*** was found! If pkg-config was correct, then it is best\n");
27974 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27975 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27976 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27977 printf("*** required on your system.\n");
27978 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27979 printf("*** to point to the correct configuration files\n");
27980 }
27981 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27982 (gtk_minor_version != GTK_MINOR_VERSION) ||
27983 (gtk_micro_version != GTK_MICRO_VERSION))
27984 {
27985 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27986 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27987 printf("*** library (version %d.%d.%d)\n",
27988 gtk_major_version, gtk_minor_version, gtk_micro_version);
27989 }
27990 else
27991 {
27992 if ((gtk_major_version > major) ||
27993 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27994 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27995 {
27996 return 0;
27997 }
27998 else
27999 {
28000 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28001 gtk_major_version, gtk_minor_version, gtk_micro_version);
28002 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28003 major, minor, micro);
28004 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28005 printf("***\n");
28006 printf("*** If you have already installed a sufficiently new version, this error\n");
28007 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28008 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28009 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28010 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28011 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28012 printf("*** so that the correct libraries are found at run-time))\n");
28013 }
28014 }
28015 return 1;
28016 }
28017
28018 _ACEOF
28019 rm -f conftest$ac_exeext
28020 if { (ac_try="$ac_link"
28021 case "(($ac_try" in
28022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28023 *) ac_try_echo=$ac_try;;
28024 esac
28025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28026 (eval "$ac_link") 2>&5
28027 ac_status=$?
28028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28030 { (case "(($ac_try" in
28031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28032 *) ac_try_echo=$ac_try;;
28033 esac
28034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28035 (eval "$ac_try") 2>&5
28036 ac_status=$?
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; }; then
28039 :
28040 else
28041 echo "$as_me: program exited with status $ac_status" >&5
28042 echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28044
28045 ( exit $ac_status )
28046 no_gtk=yes
28047 fi
28048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28049 fi
28050
28051
28052 CFLAGS="$ac_save_CFLAGS"
28053 LIBS="$ac_save_LIBS"
28054 fi
28055 fi
28056 if test "x$no_gtk" = x ; then
28057 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28058 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28059 wx_cv_lib_gtk=2.0
28060 else
28061 { echo "$as_me:$LINENO: result: no" >&5
28062 echo "${ECHO_T}no" >&6; }
28063 if test "$PKG_CONFIG" = "no" ; then
28064 echo "*** A new enough version of pkg-config was not found."
28065 echo "*** See http://pkgconfig.sourceforge.net"
28066 else
28067 if test -f conf.gtktest ; then
28068 :
28069 else
28070 echo "*** Could not run GTK+ test program, checking why..."
28071 ac_save_CFLAGS="$CFLAGS"
28072 ac_save_LIBS="$LIBS"
28073 CFLAGS="$CFLAGS $GTK_CFLAGS"
28074 LIBS="$LIBS $GTK_LIBS"
28075 cat >conftest.$ac_ext <<_ACEOF
28076 /* confdefs.h. */
28077 _ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081
28082 #include <gtk/gtk.h>
28083 #include <stdio.h>
28084
28085 int
28086 main ()
28087 {
28088 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28089 ;
28090 return 0;
28091 }
28092 _ACEOF
28093 rm -f conftest.$ac_objext conftest$ac_exeext
28094 if { (ac_try="$ac_link"
28095 case "(($ac_try" in
28096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28097 *) ac_try_echo=$ac_try;;
28098 esac
28099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28100 (eval "$ac_link") 2>conftest.er1
28101 ac_status=$?
28102 grep -v '^ *+' conftest.er1 >conftest.err
28103 rm -f conftest.er1
28104 cat conftest.err >&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); } && {
28107 test -z "$ac_c_werror_flag" ||
28108 test ! -s conftest.err
28109 } && test -s conftest$ac_exeext &&
28110 $as_test_x conftest$ac_exeext; then
28111 echo "*** The test program compiled, but did not run. This usually means"
28112 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28113 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28114 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28115 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28116 echo "*** is required on your system"
28117 echo "***"
28118 echo "*** If you have an old version installed, it is best to remove it, although"
28119 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28120 else
28121 echo "$as_me: failed program was:" >&5
28122 sed 's/^/| /' conftest.$ac_ext >&5
28123
28124 echo "*** The test program failed to compile or link. See the file config.log for the"
28125 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28126 fi
28127
28128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28129 conftest$ac_exeext conftest.$ac_ext
28130 CFLAGS="$ac_save_CFLAGS"
28131 LIBS="$ac_save_LIBS"
28132 fi
28133 fi
28134 GTK_CFLAGS=""
28135 GTK_LIBS=""
28136 :
28137 fi
28138
28139
28140 rm -f conf.gtktest
28141
28142
28143 case "${host}" in
28144 *-*-solaris2* )
28145 if test "$wxUSE_SHARED" != "yes"; then
28146 GTK_LIBS="$GTK_LIBS -lX11"
28147 fi
28148 esac
28149 fi
28150
28151 if test -z "$wx_cv_lib_gtk"; then
28152 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28153
28154 # Check whether --with-gtk-prefix was given.
28155 if test "${with_gtk_prefix+set}" = set; then
28156 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28157 else
28158 gtk_config_prefix=""
28159 fi
28160
28161
28162 # Check whether --with-gtk-exec-prefix was given.
28163 if test "${with_gtk_exec_prefix+set}" = set; then
28164 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28165 else
28166 gtk_config_exec_prefix=""
28167 fi
28168
28169 # Check whether --enable-gtktest was given.
28170 if test "${enable_gtktest+set}" = set; then
28171 enableval=$enable_gtktest;
28172 else
28173 enable_gtktest=yes
28174 fi
28175
28176
28177 for module in . $GTK_MODULES
28178 do
28179 case "$module" in
28180 gthread)
28181 gtk_config_args="$gtk_config_args gthread"
28182 ;;
28183 esac
28184 done
28185
28186 if test x$gtk_config_exec_prefix != x ; then
28187 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28188 if test x${GTK_CONFIG+set} != xset ; then
28189 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28190 fi
28191 fi
28192 if test x$gtk_config_prefix != x ; then
28193 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28194 if test x${GTK_CONFIG+set} != xset ; then
28195 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28196 fi
28197 fi
28198
28199 # Extract the first word of "gtk-config", so it can be a program name with args.
28200 set dummy gtk-config; ac_word=$2
28201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28203 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28204 echo $ECHO_N "(cached) $ECHO_C" >&6
28205 else
28206 case $GTK_CONFIG in
28207 [\\/]* | ?:[\\/]*)
28208 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28209 ;;
28210 *)
28211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28212 for as_dir in $PATH
28213 do
28214 IFS=$as_save_IFS
28215 test -z "$as_dir" && as_dir=.
28216 for ac_exec_ext in '' $ac_executable_extensions; do
28217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28218 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28220 break 2
28221 fi
28222 done
28223 done
28224 IFS=$as_save_IFS
28225
28226 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28227 ;;
28228 esac
28229 fi
28230 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28231 if test -n "$GTK_CONFIG"; then
28232 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28233 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28234 else
28235 { echo "$as_me:$LINENO: result: no" >&5
28236 echo "${ECHO_T}no" >&6; }
28237 fi
28238
28239
28240 min_gtk_version=1.2.7
28241 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28242 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28243 no_gtk=""
28244 if test "$GTK_CONFIG" = "no" ; then
28245 no_gtk=yes
28246 else
28247 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28248 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28249 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28251 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28252 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28253 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28255 if test "x$enable_gtktest" = "xyes" ; then
28256 ac_save_CFLAGS="$CFLAGS"
28257 ac_save_LIBS="$LIBS"
28258 CFLAGS="$CFLAGS $GTK_CFLAGS"
28259 LIBS="$GTK_LIBS $LIBS"
28260 rm -f conf.gtktest
28261 if test "$cross_compiling" = yes; then
28262 echo $ac_n "cross compiling; assumed OK... $ac_c"
28263 else
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h. */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28270
28271 #include <gtk/gtk.h>
28272 #include <stdio.h>
28273 #include <stdlib.h>
28274
28275 int
28276 main ()
28277 {
28278 int major, minor, micro;
28279 char *tmp_version;
28280
28281 system ("touch conf.gtktest");
28282
28283 /* HP/UX 9 (%@#!) writes to sscanf strings */
28284 tmp_version = g_strdup("$min_gtk_version");
28285 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28286 printf("%s, bad version string\n", "$min_gtk_version");
28287 exit(1);
28288 }
28289
28290 if ((gtk_major_version != $gtk_config_major_version) ||
28291 (gtk_minor_version != $gtk_config_minor_version) ||
28292 (gtk_micro_version != $gtk_config_micro_version))
28293 {
28294 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28295 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28296 gtk_major_version, gtk_minor_version, gtk_micro_version);
28297 printf ("*** was found! If gtk-config was correct, then it is best\n");
28298 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28299 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28300 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28301 printf("*** required on your system.\n");
28302 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28303 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28304 printf("*** before re-running configure\n");
28305 }
28306 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28307 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28308 (gtk_minor_version != GTK_MINOR_VERSION) ||
28309 (gtk_micro_version != GTK_MICRO_VERSION))
28310 {
28311 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28312 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28313 printf("*** library (version %d.%d.%d)\n",
28314 gtk_major_version, gtk_minor_version, gtk_micro_version);
28315 }
28316 #endif /* defined (GTK_MAJOR_VERSION) ... */
28317 else
28318 {
28319 if ((gtk_major_version > major) ||
28320 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28321 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28322 {
28323 return 0;
28324 }
28325 else
28326 {
28327 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28328 gtk_major_version, gtk_minor_version, gtk_micro_version);
28329 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28330 major, minor, micro);
28331 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28332 printf("***\n");
28333 printf("*** If you have already installed a sufficiently new version, this error\n");
28334 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28335 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28336 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28337 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28338 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28339 printf("*** so that the correct libraries are found at run-time))\n");
28340 }
28341 }
28342 return 1;
28343 }
28344
28345 _ACEOF
28346 rm -f conftest$ac_exeext
28347 if { (ac_try="$ac_link"
28348 case "(($ac_try" in
28349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28350 *) ac_try_echo=$ac_try;;
28351 esac
28352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28353 (eval "$ac_link") 2>&5
28354 ac_status=$?
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28357 { (case "(($ac_try" in
28358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28360 esac
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_try") 2>&5
28363 ac_status=$?
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); }; }; then
28366 :
28367 else
28368 echo "$as_me: program exited with status $ac_status" >&5
28369 echo "$as_me: failed program was:" >&5
28370 sed 's/^/| /' conftest.$ac_ext >&5
28371
28372 ( exit $ac_status )
28373 no_gtk=yes
28374 fi
28375 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28376 fi
28377
28378
28379 CFLAGS="$ac_save_CFLAGS"
28380 LIBS="$ac_save_LIBS"
28381 fi
28382 fi
28383 if test "x$no_gtk" = x ; then
28384 { echo "$as_me:$LINENO: result: yes" >&5
28385 echo "${ECHO_T}yes" >&6; }
28386 wx_cv_lib_gtk=1.2.7
28387 else
28388 { echo "$as_me:$LINENO: result: no" >&5
28389 echo "${ECHO_T}no" >&6; }
28390 if test "$GTK_CONFIG" = "no" ; then
28391 echo "*** The gtk-config script installed by GTK could not be found"
28392 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28393 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28394 echo "*** full path to gtk-config."
28395 else
28396 if test -f conf.gtktest ; then
28397 :
28398 else
28399 echo "*** Could not run GTK test program, checking why..."
28400 CFLAGS="$CFLAGS $GTK_CFLAGS"
28401 LIBS="$LIBS $GTK_LIBS"
28402 cat >conftest.$ac_ext <<_ACEOF
28403 /* confdefs.h. */
28404 _ACEOF
28405 cat confdefs.h >>conftest.$ac_ext
28406 cat >>conftest.$ac_ext <<_ACEOF
28407 /* end confdefs.h. */
28408
28409 #include <gtk/gtk.h>
28410 #include <stdio.h>
28411
28412 int
28413 main ()
28414 {
28415 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28416 ;
28417 return 0;
28418 }
28419 _ACEOF
28420 rm -f conftest.$ac_objext conftest$ac_exeext
28421 if { (ac_try="$ac_link"
28422 case "(($ac_try" in
28423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28424 *) ac_try_echo=$ac_try;;
28425 esac
28426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28427 (eval "$ac_link") 2>conftest.er1
28428 ac_status=$?
28429 grep -v '^ *+' conftest.er1 >conftest.err
28430 rm -f conftest.er1
28431 cat conftest.err >&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } && {
28434 test -z "$ac_c_werror_flag" ||
28435 test ! -s conftest.err
28436 } && test -s conftest$ac_exeext &&
28437 $as_test_x conftest$ac_exeext; then
28438 echo "*** The test program compiled, but did not run. This usually means"
28439 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28440 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28441 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28442 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28443 echo "*** is required on your system"
28444 echo "***"
28445 echo "*** If you have an old version installed, it is best to remove it, although"
28446 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28447 echo "***"
28448 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28449 echo "*** came with the system with the command"
28450 echo "***"
28451 echo "*** rpm --erase --nodeps gtk gtk-devel"
28452 else
28453 echo "$as_me: failed program was:" >&5
28454 sed 's/^/| /' conftest.$ac_ext >&5
28455
28456 echo "*** The test program failed to compile or link. See the file config.log for the"
28457 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28458 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28459 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28460 fi
28461
28462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28463 conftest$ac_exeext conftest.$ac_ext
28464 CFLAGS="$ac_save_CFLAGS"
28465 LIBS="$ac_save_LIBS"
28466 fi
28467 fi
28468 GTK_CFLAGS=""
28469 GTK_LIBS=""
28470 :
28471 fi
28472
28473
28474 rm -f conf.gtktest
28475
28476
28477 if test -z "$wx_cv_lib_gtk"; then
28478
28479 # Check whether --with-gtk-prefix was given.
28480 if test "${with_gtk_prefix+set}" = set; then
28481 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28482 else
28483 gtk_config_prefix=""
28484 fi
28485
28486
28487 # Check whether --with-gtk-exec-prefix was given.
28488 if test "${with_gtk_exec_prefix+set}" = set; then
28489 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28490 else
28491 gtk_config_exec_prefix=""
28492 fi
28493
28494 # Check whether --enable-gtktest was given.
28495 if test "${enable_gtktest+set}" = set; then
28496 enableval=$enable_gtktest;
28497 else
28498 enable_gtktest=yes
28499 fi
28500
28501
28502 for module in . $GTK_MODULES
28503 do
28504 case "$module" in
28505 gthread)
28506 gtk_config_args="$gtk_config_args gthread"
28507 ;;
28508 esac
28509 done
28510
28511 if test x$gtk_config_exec_prefix != x ; then
28512 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28513 if test x${GTK_CONFIG+set} != xset ; then
28514 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28515 fi
28516 fi
28517 if test x$gtk_config_prefix != x ; then
28518 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28519 if test x${GTK_CONFIG+set} != xset ; then
28520 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28521 fi
28522 fi
28523
28524 # Extract the first word of "gtk-config", so it can be a program name with args.
28525 set dummy gtk-config; ac_word=$2
28526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28528 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28529 echo $ECHO_N "(cached) $ECHO_C" >&6
28530 else
28531 case $GTK_CONFIG in
28532 [\\/]* | ?:[\\/]*)
28533 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28534 ;;
28535 *)
28536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28537 for as_dir in $PATH
28538 do
28539 IFS=$as_save_IFS
28540 test -z "$as_dir" && as_dir=.
28541 for ac_exec_ext in '' $ac_executable_extensions; do
28542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28543 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28545 break 2
28546 fi
28547 done
28548 done
28549 IFS=$as_save_IFS
28550
28551 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28552 ;;
28553 esac
28554 fi
28555 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28556 if test -n "$GTK_CONFIG"; then
28557 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28558 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28559 else
28560 { echo "$as_me:$LINENO: result: no" >&5
28561 echo "${ECHO_T}no" >&6; }
28562 fi
28563
28564
28565 min_gtk_version=1.2.3
28566 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28567 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28568 no_gtk=""
28569 if test "$GTK_CONFIG" = "no" ; then
28570 no_gtk=yes
28571 else
28572 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28573 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28574 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28575 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28576 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28578 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28580 if test "x$enable_gtktest" = "xyes" ; then
28581 ac_save_CFLAGS="$CFLAGS"
28582 ac_save_LIBS="$LIBS"
28583 CFLAGS="$CFLAGS $GTK_CFLAGS"
28584 LIBS="$GTK_LIBS $LIBS"
28585 rm -f conf.gtktest
28586 if test "$cross_compiling" = yes; then
28587 echo $ac_n "cross compiling; assumed OK... $ac_c"
28588 else
28589 cat >conftest.$ac_ext <<_ACEOF
28590 /* confdefs.h. */
28591 _ACEOF
28592 cat confdefs.h >>conftest.$ac_ext
28593 cat >>conftest.$ac_ext <<_ACEOF
28594 /* end confdefs.h. */
28595
28596 #include <gtk/gtk.h>
28597 #include <stdio.h>
28598 #include <stdlib.h>
28599
28600 int
28601 main ()
28602 {
28603 int major, minor, micro;
28604 char *tmp_version;
28605
28606 system ("touch conf.gtktest");
28607
28608 /* HP/UX 9 (%@#!) writes to sscanf strings */
28609 tmp_version = g_strdup("$min_gtk_version");
28610 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28611 printf("%s, bad version string\n", "$min_gtk_version");
28612 exit(1);
28613 }
28614
28615 if ((gtk_major_version != $gtk_config_major_version) ||
28616 (gtk_minor_version != $gtk_config_minor_version) ||
28617 (gtk_micro_version != $gtk_config_micro_version))
28618 {
28619 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28620 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28621 gtk_major_version, gtk_minor_version, gtk_micro_version);
28622 printf ("*** was found! If gtk-config was correct, then it is best\n");
28623 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28624 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28625 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28626 printf("*** required on your system.\n");
28627 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28628 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28629 printf("*** before re-running configure\n");
28630 }
28631 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28632 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28633 (gtk_minor_version != GTK_MINOR_VERSION) ||
28634 (gtk_micro_version != GTK_MICRO_VERSION))
28635 {
28636 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28637 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28638 printf("*** library (version %d.%d.%d)\n",
28639 gtk_major_version, gtk_minor_version, gtk_micro_version);
28640 }
28641 #endif /* defined (GTK_MAJOR_VERSION) ... */
28642 else
28643 {
28644 if ((gtk_major_version > major) ||
28645 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28646 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28647 {
28648 return 0;
28649 }
28650 else
28651 {
28652 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28653 gtk_major_version, gtk_minor_version, gtk_micro_version);
28654 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28655 major, minor, micro);
28656 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28657 printf("***\n");
28658 printf("*** If you have already installed a sufficiently new version, this error\n");
28659 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28660 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28661 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28662 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28663 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28664 printf("*** so that the correct libraries are found at run-time))\n");
28665 }
28666 }
28667 return 1;
28668 }
28669
28670 _ACEOF
28671 rm -f conftest$ac_exeext
28672 if { (ac_try="$ac_link"
28673 case "(($ac_try" in
28674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28675 *) ac_try_echo=$ac_try;;
28676 esac
28677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28678 (eval "$ac_link") 2>&5
28679 ac_status=$?
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28682 { (case "(($ac_try" in
28683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28684 *) ac_try_echo=$ac_try;;
28685 esac
28686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28687 (eval "$ac_try") 2>&5
28688 ac_status=$?
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); }; }; then
28691 :
28692 else
28693 echo "$as_me: program exited with status $ac_status" >&5
28694 echo "$as_me: failed program was:" >&5
28695 sed 's/^/| /' conftest.$ac_ext >&5
28696
28697 ( exit $ac_status )
28698 no_gtk=yes
28699 fi
28700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28701 fi
28702
28703
28704 CFLAGS="$ac_save_CFLAGS"
28705 LIBS="$ac_save_LIBS"
28706 fi
28707 fi
28708 if test "x$no_gtk" = x ; then
28709 { echo "$as_me:$LINENO: result: yes" >&5
28710 echo "${ECHO_T}yes" >&6; }
28711 wx_cv_lib_gtk=1.2.3
28712 else
28713 { echo "$as_me:$LINENO: result: no" >&5
28714 echo "${ECHO_T}no" >&6; }
28715 if test "$GTK_CONFIG" = "no" ; then
28716 echo "*** The gtk-config script installed by GTK could not be found"
28717 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28718 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28719 echo "*** full path to gtk-config."
28720 else
28721 if test -f conf.gtktest ; then
28722 :
28723 else
28724 echo "*** Could not run GTK test program, checking why..."
28725 CFLAGS="$CFLAGS $GTK_CFLAGS"
28726 LIBS="$LIBS $GTK_LIBS"
28727 cat >conftest.$ac_ext <<_ACEOF
28728 /* confdefs.h. */
28729 _ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733
28734 #include <gtk/gtk.h>
28735 #include <stdio.h>
28736
28737 int
28738 main ()
28739 {
28740 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28741 ;
28742 return 0;
28743 }
28744 _ACEOF
28745 rm -f conftest.$ac_objext conftest$ac_exeext
28746 if { (ac_try="$ac_link"
28747 case "(($ac_try" in
28748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28749 *) ac_try_echo=$ac_try;;
28750 esac
28751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28752 (eval "$ac_link") 2>conftest.er1
28753 ac_status=$?
28754 grep -v '^ *+' conftest.er1 >conftest.err
28755 rm -f conftest.er1
28756 cat conftest.err >&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } && {
28759 test -z "$ac_c_werror_flag" ||
28760 test ! -s conftest.err
28761 } && test -s conftest$ac_exeext &&
28762 $as_test_x conftest$ac_exeext; then
28763 echo "*** The test program compiled, but did not run. This usually means"
28764 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28765 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28766 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28767 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28768 echo "*** is required on your system"
28769 echo "***"
28770 echo "*** If you have an old version installed, it is best to remove it, although"
28771 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28772 echo "***"
28773 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28774 echo "*** came with the system with the command"
28775 echo "***"
28776 echo "*** rpm --erase --nodeps gtk gtk-devel"
28777 else
28778 echo "$as_me: failed program was:" >&5
28779 sed 's/^/| /' conftest.$ac_ext >&5
28780
28781 echo "*** The test program failed to compile or link. See the file config.log for the"
28782 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28783 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28784 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28785 fi
28786
28787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28788 conftest$ac_exeext conftest.$ac_ext
28789 CFLAGS="$ac_save_CFLAGS"
28790 LIBS="$ac_save_LIBS"
28791 fi
28792 fi
28793 GTK_CFLAGS=""
28794 GTK_LIBS=""
28795 :
28796 fi
28797
28798
28799 rm -f conf.gtktest
28800
28801 fi
28802 fi
28803 fi
28804
28805 if test -z "$wx_cv_lib_gtk"; then
28806 wx_cv_lib_gtk=none
28807 else
28808 wx_cv_cflags_gtk=$GTK_CFLAGS
28809 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28810 fi
28811
28812
28813 fi
28814
28815
28816 if test "$gtk_version_cached" = 1; then
28817 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28818 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28819 fi
28820
28821 case "$wx_cv_lib_gtk" in
28822 2.0) WXGTK2=1
28823 TOOLKIT_VERSION=2
28824 ;;
28825 1.2.7) WXGTK127=1
28826 WXGTK12=1
28827 ;;
28828 1.2.3) WXGTK12=1
28829 ;;
28830 *) { { echo "$as_me:$LINENO: error:
28831 The development files for GTK+ were not found. For GTK+ 2, please
28832 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28833 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28834 and that the version is 1.2.3 or above. Also check that the
28835 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28836 --libs' are in the LD_LIBRARY_PATH or equivalent.
28837 " >&5
28838 echo "$as_me: error:
28839 The development files for GTK+ were not found. For GTK+ 2, please
28840 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28841 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28842 and that the version is 1.2.3 or above. Also check that the
28843 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28844 --libs' are in the LD_LIBRARY_PATH or equivalent.
28845 " >&2;}
28846 { (exit 1); exit 1; }; }
28847 ;;
28848 esac
28849
28850 if test "$WXGTK2" = 1; then
28851 save_CFLAGS="$CFLAGS"
28852 save_LIBS="$LIBS"
28853 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28854 LIBS="$LIBS $wx_cv_libs_gtk"
28855
28856 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28857 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28858 cat >conftest.$ac_ext <<_ACEOF
28859 /* confdefs.h. */
28860 _ACEOF
28861 cat confdefs.h >>conftest.$ac_ext
28862 cat >>conftest.$ac_ext <<_ACEOF
28863 /* end confdefs.h. */
28864
28865 #include <gtk/gtk.h>
28866
28867 int
28868 main ()
28869 {
28870
28871 #if !GTK_CHECK_VERSION(2,10,0)
28872 Not GTK+ 2.10
28873 #endif
28874
28875 ;
28876 return 0;
28877 }
28878 _ACEOF
28879 rm -f conftest.$ac_objext
28880 if { (ac_try="$ac_compile"
28881 case "(($ac_try" in
28882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28883 *) ac_try_echo=$ac_try;;
28884 esac
28885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28886 (eval "$ac_compile") 2>conftest.er1
28887 ac_status=$?
28888 grep -v '^ *+' conftest.er1 >conftest.err
28889 rm -f conftest.er1
28890 cat conftest.err >&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); } && {
28893 test -z "$ac_c_werror_flag" ||
28894 test ! -s conftest.err
28895 } && test -s conftest.$ac_objext; then
28896
28897 cat >>confdefs.h <<\_ACEOF
28898 #define __WXGTK210__ 1
28899 _ACEOF
28900
28901 cat >>confdefs.h <<\_ACEOF
28902 #define __WXGTK26__ 1
28903 _ACEOF
28904
28905 { echo "$as_me:$LINENO: result: yes" >&5
28906 echo "${ECHO_T}yes" >&6; }
28907 ac_wxgtk210=1
28908
28909 else
28910 echo "$as_me: failed program was:" >&5
28911 sed 's/^/| /' conftest.$ac_ext >&5
28912
28913
28914 { echo "$as_me:$LINENO: result: no" >&5
28915 echo "${ECHO_T}no" >&6; }
28916 ac_wxgtk210=0
28917
28918 fi
28919
28920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28921
28922 if test "$ac_wxgtk210" = 0; then
28923 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28924 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28925 cat >conftest.$ac_ext <<_ACEOF
28926 /* confdefs.h. */
28927 _ACEOF
28928 cat confdefs.h >>conftest.$ac_ext
28929 cat >>conftest.$ac_ext <<_ACEOF
28930 /* end confdefs.h. */
28931
28932 #include <gtk/gtk.h>
28933
28934 int
28935 main ()
28936 {
28937
28938 #if !GTK_CHECK_VERSION(2,6,0)
28939 Not GTK+ 2.6
28940 #endif
28941
28942 ;
28943 return 0;
28944 }
28945 _ACEOF
28946 rm -f conftest.$ac_objext
28947 if { (ac_try="$ac_compile"
28948 case "(($ac_try" in
28949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28950 *) ac_try_echo=$ac_try;;
28951 esac
28952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28953 (eval "$ac_compile") 2>conftest.er1
28954 ac_status=$?
28955 grep -v '^ *+' conftest.er1 >conftest.err
28956 rm -f conftest.er1
28957 cat conftest.err >&5
28958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959 (exit $ac_status); } && {
28960 test -z "$ac_c_werror_flag" ||
28961 test ! -s conftest.err
28962 } && test -s conftest.$ac_objext; then
28963
28964 cat >>confdefs.h <<\_ACEOF
28965 #define __WXGTK26__ 1
28966 _ACEOF
28967
28968 { echo "$as_me:$LINENO: result: yes" >&5
28969 echo "${ECHO_T}yes" >&6; }
28970 ac_wxgtk26=1
28971
28972 else
28973 echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.$ac_ext >&5
28975
28976
28977 { echo "$as_me:$LINENO: result: no" >&5
28978 echo "${ECHO_T}no" >&6; }
28979 ac_wxgtk26=0
28980
28981 fi
28982
28983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28984 fi
28985
28986 CFLAGS="$save_CFLAGS"
28987 LIBS="$save_LIBS"
28988 else
28989 if test "$wxUSE_UNICODE" = "yes"; then
28990 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28991 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28992 wxUSE_UNICODE=no
28993 fi
28994
28995 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28996 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28997 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28998 echo $ECHO_N "(cached) $ECHO_C" >&6
28999 else
29000 ac_check_lib_save_LIBS=$LIBS
29001 LIBS="-lgdk $LIBS"
29002 cat >conftest.$ac_ext <<_ACEOF
29003 /* confdefs.h. */
29004 _ACEOF
29005 cat confdefs.h >>conftest.$ac_ext
29006 cat >>conftest.$ac_ext <<_ACEOF
29007 /* end confdefs.h. */
29008
29009 /* Override any GCC internal prototype to avoid an error.
29010 Use char because int might match the return type of a GCC
29011 builtin and then its argument prototype would still apply. */
29012 #ifdef __cplusplus
29013 extern "C"
29014 #endif
29015 char gdk_im_open ();
29016 int
29017 main ()
29018 {
29019 return gdk_im_open ();
29020 ;
29021 return 0;
29022 }
29023 _ACEOF
29024 rm -f conftest.$ac_objext conftest$ac_exeext
29025 if { (ac_try="$ac_link"
29026 case "(($ac_try" in
29027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29029 esac
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_link") 2>conftest.er1
29032 ac_status=$?
29033 grep -v '^ *+' conftest.er1 >conftest.err
29034 rm -f conftest.er1
29035 cat conftest.err >&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && {
29038 test -z "$ac_c_werror_flag" ||
29039 test ! -s conftest.err
29040 } && test -s conftest$ac_exeext &&
29041 $as_test_x conftest$ac_exeext; then
29042 ac_cv_lib_gdk_gdk_im_open=yes
29043 else
29044 echo "$as_me: failed program was:" >&5
29045 sed 's/^/| /' conftest.$ac_ext >&5
29046
29047 ac_cv_lib_gdk_gdk_im_open=no
29048 fi
29049
29050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29051 conftest$ac_exeext conftest.$ac_ext
29052 LIBS=$ac_check_lib_save_LIBS
29053 fi
29054 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29055 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29056 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29057 cat >>confdefs.h <<\_ACEOF
29058 #define HAVE_XIM 1
29059 _ACEOF
29060
29061 fi
29062
29063
29064 if test "$USE_DARWIN" != 1; then
29065
29066 for ac_func in poll
29067 do
29068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29069 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29071 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29072 echo $ECHO_N "(cached) $ECHO_C" >&6
29073 else
29074 cat >conftest.$ac_ext <<_ACEOF
29075 /* confdefs.h. */
29076 _ACEOF
29077 cat confdefs.h >>conftest.$ac_ext
29078 cat >>conftest.$ac_ext <<_ACEOF
29079 /* end confdefs.h. */
29080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29082 #define $ac_func innocuous_$ac_func
29083
29084 /* System header to define __stub macros and hopefully few prototypes,
29085 which can conflict with char $ac_func (); below.
29086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29087 <limits.h> exists even on freestanding compilers. */
29088
29089 #ifdef __STDC__
29090 # include <limits.h>
29091 #else
29092 # include <assert.h>
29093 #endif
29094
29095 #undef $ac_func
29096
29097 /* Override any GCC internal prototype to avoid an error.
29098 Use char because int might match the return type of a GCC
29099 builtin and then its argument prototype would still apply. */
29100 #ifdef __cplusplus
29101 extern "C"
29102 #endif
29103 char $ac_func ();
29104 /* The GNU C library defines this for functions which it implements
29105 to always fail with ENOSYS. Some functions are actually named
29106 something starting with __ and the normal name is an alias. */
29107 #if defined __stub_$ac_func || defined __stub___$ac_func
29108 choke me
29109 #endif
29110
29111 int
29112 main ()
29113 {
29114 return $ac_func ();
29115 ;
29116 return 0;
29117 }
29118 _ACEOF
29119 rm -f conftest.$ac_objext conftest$ac_exeext
29120 if { (ac_try="$ac_link"
29121 case "(($ac_try" in
29122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29123 *) ac_try_echo=$ac_try;;
29124 esac
29125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29126 (eval "$ac_link") 2>conftest.er1
29127 ac_status=$?
29128 grep -v '^ *+' conftest.er1 >conftest.err
29129 rm -f conftest.er1
29130 cat conftest.err >&5
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); } && {
29133 test -z "$ac_c_werror_flag" ||
29134 test ! -s conftest.err
29135 } && test -s conftest$ac_exeext &&
29136 $as_test_x conftest$ac_exeext; then
29137 eval "$as_ac_var=yes"
29138 else
29139 echo "$as_me: failed program was:" >&5
29140 sed 's/^/| /' conftest.$ac_ext >&5
29141
29142 eval "$as_ac_var=no"
29143 fi
29144
29145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29146 conftest$ac_exeext conftest.$ac_ext
29147 fi
29148 ac_res=`eval echo '${'$as_ac_var'}'`
29149 { echo "$as_me:$LINENO: result: $ac_res" >&5
29150 echo "${ECHO_T}$ac_res" >&6; }
29151 if test `eval echo '${'$as_ac_var'}'` = yes; then
29152 cat >>confdefs.h <<_ACEOF
29153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29154 _ACEOF
29155
29156 fi
29157 done
29158
29159 fi
29160 fi
29161
29162 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29163 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29164
29165 AFMINSTALL=afminstall
29166 TOOLKIT=GTK
29167 GUIDIST=GTK_DIST
29168
29169 if test "$wxUSE_GPE" = "yes"; then
29170 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29171 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29172
29173 ac_find_libraries=
29174 for ac_dir in $SEARCH_LIB;
29175 do
29176 for ac_extension in a so sl dylib dll.a; do
29177 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29178 ac_find_libraries=$ac_dir
29179 break 2
29180 fi
29181 done
29182 done
29183
29184 if test "$ac_find_libraries" != "" ; then
29185
29186 if test "$ac_find_libraries" = "default location"; then
29187 ac_path_to_link=""
29188 else
29189 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29190 result=$?
29191 if test $result = 0; then
29192 ac_path_to_link=""
29193 else
29194 ac_path_to_link=" -L$ac_find_libraries"
29195 fi
29196 fi
29197
29198 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29199 WXGPE=1
29200 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29201 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29202 else
29203 { echo "$as_me:$LINENO: result: not found" >&5
29204 echo "${ECHO_T}not found" >&6; }
29205 fi
29206
29207 fi
29208 fi
29209
29210 if test "$wxUSE_MGL" = 1; then
29211 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29212 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29213 if test "x$MGL_ROOT" = x ; then
29214 { echo "$as_me:$LINENO: result: not found" >&5
29215 echo "${ECHO_T}not found" >&6; }
29216 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29217 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29218 { (exit 1); exit 1; }; }
29219 else
29220 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29221 echo "${ECHO_T}$MGL_ROOT" >&6; }
29222 fi
29223
29224 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29225 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29226 case "${host}" in
29227 *-*-linux* )
29228 if test "x$wxUSE_SHARED" = xyes ; then
29229 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29230 else
29231 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29232 fi
29233 ;;
29234 *-pc-msdosdjgpp )
29235 mgl_os_candidates="dos32/dj2"
29236 ;;
29237 *)
29238 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29239 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29240 { (exit 1); exit 1; }; }
29241 esac
29242
29243 mgl_lib_type=""
29244 mgl_os=""
29245
29246 for mgl_os_i in $mgl_os_candidates ; do
29247 if test "x$mgl_os" = x ; then
29248 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29249 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29250 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29251 mgl_lib_type=debug
29252 mgl_os=$mgl_os_i
29253 fi
29254 fi
29255 if test "x$mgl_lib_type" = x ; then
29256 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29257 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29258 mgl_lib_type=release
29259 mgl_os=$mgl_os_i
29260 fi
29261 fi
29262 fi
29263 done
29264
29265 if test "x$mgl_os" = x ; then
29266 { echo "$as_me:$LINENO: result: not found" >&5
29267 echo "${ECHO_T}not found" >&6; }
29268 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29269 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29270 { (exit 1); exit 1; }; }
29271 fi
29272 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29273 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29274
29275 wxUSE_UNIVERSAL="yes"
29276
29277 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29278 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29279
29280 AFMINSTALL=afminstall
29281 TOOLKIT=MGL
29282 GUIDIST=MGL_DIST
29283 fi
29284
29285 if test "$wxUSE_DFB" = 1; then
29286
29287
29288 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29289 if test -n "$ac_tool_prefix"; then
29290 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29291 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29294 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29295 echo $ECHO_N "(cached) $ECHO_C" >&6
29296 else
29297 case $PKG_CONFIG in
29298 [\\/]* | ?:[\\/]*)
29299 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29300 ;;
29301 *)
29302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29303 for as_dir in $PATH
29304 do
29305 IFS=$as_save_IFS
29306 test -z "$as_dir" && as_dir=.
29307 for ac_exec_ext in '' $ac_executable_extensions; do
29308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29309 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29311 break 2
29312 fi
29313 done
29314 done
29315 IFS=$as_save_IFS
29316
29317 ;;
29318 esac
29319 fi
29320 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29321 if test -n "$PKG_CONFIG"; then
29322 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29323 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29324 else
29325 { echo "$as_me:$LINENO: result: no" >&5
29326 echo "${ECHO_T}no" >&6; }
29327 fi
29328
29329
29330 fi
29331 if test -z "$ac_cv_path_PKG_CONFIG"; then
29332 ac_pt_PKG_CONFIG=$PKG_CONFIG
29333 # Extract the first word of "pkg-config", so it can be a program name with args.
29334 set dummy pkg-config; ac_word=$2
29335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29337 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29339 else
29340 case $ac_pt_PKG_CONFIG in
29341 [\\/]* | ?:[\\/]*)
29342 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29343 ;;
29344 *)
29345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29346 for as_dir in $PATH
29347 do
29348 IFS=$as_save_IFS
29349 test -z "$as_dir" && as_dir=.
29350 for ac_exec_ext in '' $ac_executable_extensions; do
29351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29352 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29354 break 2
29355 fi
29356 done
29357 done
29358 IFS=$as_save_IFS
29359
29360 ;;
29361 esac
29362 fi
29363 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29364 if test -n "$ac_pt_PKG_CONFIG"; then
29365 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29366 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29367 else
29368 { echo "$as_me:$LINENO: result: no" >&5
29369 echo "${ECHO_T}no" >&6; }
29370 fi
29371
29372 if test "x$ac_pt_PKG_CONFIG" = x; then
29373 PKG_CONFIG=""
29374 else
29375 case $cross_compiling:$ac_tool_warned in
29376 yes:)
29377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29378 whose name does not start with the host triplet. If you think this
29379 configuration is useful to you, please write to autoconf@gnu.org." >&5
29380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29381 whose name does not start with the host triplet. If you think this
29382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29383 ac_tool_warned=yes ;;
29384 esac
29385 PKG_CONFIG=$ac_pt_PKG_CONFIG
29386 fi
29387 else
29388 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29389 fi
29390
29391 fi
29392 if test -n "$PKG_CONFIG"; then
29393 _pkg_min_version=0.9.0
29394 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29395 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29396 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29397 { echo "$as_me:$LINENO: result: yes" >&5
29398 echo "${ECHO_T}yes" >&6; }
29399 else
29400 { echo "$as_me:$LINENO: result: no" >&5
29401 echo "${ECHO_T}no" >&6; }
29402 PKG_CONFIG=""
29403 fi
29404
29405 fi
29406
29407
29408 pkg_failed=no
29409 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29410 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29411
29412 if test -n "$PKG_CONFIG"; then
29413 if test -n "$DIRECTFB_CFLAGS"; then
29414 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29415 else
29416 if test -n "$PKG_CONFIG" && \
29417 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29418 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29419 ac_status=$?
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); }; then
29422 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29423 else
29424 pkg_failed=yes
29425 fi
29426 fi
29427 else
29428 pkg_failed=untried
29429 fi
29430 if test -n "$PKG_CONFIG"; then
29431 if test -n "$DIRECTFB_LIBS"; then
29432 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29433 else
29434 if test -n "$PKG_CONFIG" && \
29435 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29436 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29437 ac_status=$?
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); }; then
29440 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29441 else
29442 pkg_failed=yes
29443 fi
29444 fi
29445 else
29446 pkg_failed=untried
29447 fi
29448
29449
29450
29451 if test $pkg_failed = yes; then
29452
29453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29454 _pkg_short_errors_supported=yes
29455 else
29456 _pkg_short_errors_supported=no
29457 fi
29458 if test $_pkg_short_errors_supported = yes; then
29459 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29460 else
29461 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29462 fi
29463 # Put the nasty error message in config.log where it belongs
29464 echo "$DIRECTFB_PKG_ERRORS" >&5
29465
29466
29467 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29468 echo "$as_me: error: DirectFB not found." >&2;}
29469 { (exit 1); exit 1; }; }
29470
29471
29472 elif test $pkg_failed = untried; then
29473
29474 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29475 echo "$as_me: error: DirectFB not found." >&2;}
29476 { (exit 1); exit 1; }; }
29477
29478
29479 else
29480 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29481 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29482 { echo "$as_me:$LINENO: result: yes" >&5
29483 echo "${ECHO_T}yes" >&6; }
29484
29485 wxUSE_UNIVERSAL="yes"
29486 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29487 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29488 TOOLKIT=DFB
29489 GUIDIST=DFB_DIST
29490
29491 fi
29492 fi
29493
29494 if test "$wxUSE_MICROWIN" = 1; then
29495 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29496 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29497 if test "x$MICROWINDOWS" = x ; then
29498 { echo "$as_me:$LINENO: result: not found" >&5
29499 echo "${ECHO_T}not found" >&6; }
29500 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29501 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29502 { (exit 1); exit 1; }; }
29503 else
29504 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29505 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29506 fi
29507
29508 if test -f $MICROWINDOWS/lib/libmwin.a; then
29509 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29510 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29511 else
29512 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29513 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29514 { (exit 1); exit 1; }; }
29515 fi
29516
29517 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29518 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29519
29520 wxUSE_UNIVERSAL="yes"
29521
29522 AFMINSTALL=afminstall
29523 TOOLKIT=MICROWIN
29524 GUIDIST=MICROWIN_DIST
29525
29526 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29527 fi
29528
29529 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29530 { echo "$as_me:$LINENO: checking for X" >&5
29531 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29532
29533
29534 # Check whether --with-x was given.
29535 if test "${with_x+set}" = set; then
29536 withval=$with_x;
29537 fi
29538
29539 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29540 if test "x$with_x" = xno; then
29541 # The user explicitly disabled X.
29542 have_x=disabled
29543 else
29544 case $x_includes,$x_libraries in #(
29545 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29546 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29547 { (exit 1); exit 1; }; };; #(
29548 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29549 echo $ECHO_N "(cached) $ECHO_C" >&6
29550 else
29551 # One or both of the vars are not set, and there is no cached value.
29552 ac_x_includes=no ac_x_libraries=no
29553 rm -f -r conftest.dir
29554 if mkdir conftest.dir; then
29555 cd conftest.dir
29556 cat >Imakefile <<'_ACEOF'
29557 incroot:
29558 @echo incroot='${INCROOT}'
29559 usrlibdir:
29560 @echo usrlibdir='${USRLIBDIR}'
29561 libdir:
29562 @echo libdir='${LIBDIR}'
29563 _ACEOF
29564 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29565 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29566 for ac_var in incroot usrlibdir libdir; do
29567 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29568 done
29569 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29570 for ac_extension in a so sl; do
29571 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29572 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29573 ac_im_usrlibdir=$ac_im_libdir; break
29574 fi
29575 done
29576 # Screen out bogus values from the imake configuration. They are
29577 # bogus both because they are the default anyway, and because
29578 # using them would break gcc on systems where it needs fixed includes.
29579 case $ac_im_incroot in
29580 /usr/include) ac_x_includes= ;;
29581 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29582 esac
29583 case $ac_im_usrlibdir in
29584 /usr/lib | /lib) ;;
29585 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29586 esac
29587 fi
29588 cd ..
29589 rm -f -r conftest.dir
29590 fi
29591
29592 # Standard set of common directories for X headers.
29593 # Check X11 before X11Rn because it is often a symlink to the current release.
29594 ac_x_header_dirs='
29595 /usr/X11/include
29596 /usr/X11R6/include
29597 /usr/X11R5/include
29598 /usr/X11R4/include
29599
29600 /usr/include/X11
29601 /usr/include/X11R6
29602 /usr/include/X11R5
29603 /usr/include/X11R4
29604
29605 /usr/local/X11/include
29606 /usr/local/X11R6/include
29607 /usr/local/X11R5/include
29608 /usr/local/X11R4/include
29609
29610 /usr/local/include/X11
29611 /usr/local/include/X11R6
29612 /usr/local/include/X11R5
29613 /usr/local/include/X11R4
29614
29615 /usr/X386/include
29616 /usr/x386/include
29617 /usr/XFree86/include/X11
29618
29619 /usr/include
29620 /usr/local/include
29621 /usr/unsupported/include
29622 /usr/athena/include
29623 /usr/local/x11r5/include
29624 /usr/lpp/Xamples/include
29625
29626 /usr/openwin/include
29627 /usr/openwin/share/include'
29628
29629 if test "$ac_x_includes" = no; then
29630 # Guess where to find include files, by looking for Xlib.h.
29631 # First, try using that file with no special directory specified.
29632 cat >conftest.$ac_ext <<_ACEOF
29633 /* confdefs.h. */
29634 _ACEOF
29635 cat confdefs.h >>conftest.$ac_ext
29636 cat >>conftest.$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29638 #include <X11/Xlib.h>
29639 _ACEOF
29640 if { (ac_try="$ac_cpp conftest.$ac_ext"
29641 case "(($ac_try" in
29642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29643 *) ac_try_echo=$ac_try;;
29644 esac
29645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29647 ac_status=$?
29648 grep -v '^ *+' conftest.er1 >conftest.err
29649 rm -f conftest.er1
29650 cat conftest.err >&5
29651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29652 (exit $ac_status); } >/dev/null && {
29653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29654 test ! -s conftest.err
29655 }; then
29656 # We can compile using X headers with no special include directory.
29657 ac_x_includes=
29658 else
29659 echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.$ac_ext >&5
29661
29662 for ac_dir in $ac_x_header_dirs; do
29663 if test -r "$ac_dir/X11/Xlib.h"; then
29664 ac_x_includes=$ac_dir
29665 break
29666 fi
29667 done
29668 fi
29669
29670 rm -f conftest.err conftest.$ac_ext
29671 fi # $ac_x_includes = no
29672
29673 if test "$ac_x_libraries" = no; then
29674 # Check for the libraries.
29675 # See if we find them without any special options.
29676 # Don't add to $LIBS permanently.
29677 ac_save_LIBS=$LIBS
29678 LIBS="-lX11 $LIBS"
29679 cat >conftest.$ac_ext <<_ACEOF
29680 /* confdefs.h. */
29681 _ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29685 #include <X11/Xlib.h>
29686 int
29687 main ()
29688 {
29689 XrmInitialize ()
29690 ;
29691 return 0;
29692 }
29693 _ACEOF
29694 rm -f conftest.$ac_objext conftest$ac_exeext
29695 if { (ac_try="$ac_link"
29696 case "(($ac_try" in
29697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29698 *) ac_try_echo=$ac_try;;
29699 esac
29700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29701 (eval "$ac_link") 2>conftest.er1
29702 ac_status=$?
29703 grep -v '^ *+' conftest.er1 >conftest.err
29704 rm -f conftest.er1
29705 cat conftest.err >&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); } && {
29708 test -z "$ac_c_werror_flag" ||
29709 test ! -s conftest.err
29710 } && test -s conftest$ac_exeext &&
29711 $as_test_x conftest$ac_exeext; then
29712 LIBS=$ac_save_LIBS
29713 # We can link X programs with no special library path.
29714 ac_x_libraries=
29715 else
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29718
29719 LIBS=$ac_save_LIBS
29720 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29721 do
29722 # Don't even attempt the hair of trying to link an X program!
29723 for ac_extension in a so sl; do
29724 if test -r "$ac_dir/libX11.$ac_extension"; then
29725 ac_x_libraries=$ac_dir
29726 break 2
29727 fi
29728 done
29729 done
29730 fi
29731
29732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29733 conftest$ac_exeext conftest.$ac_ext
29734 fi # $ac_x_libraries = no
29735
29736 case $ac_x_includes,$ac_x_libraries in #(
29737 no,* | *,no | *\'*)
29738 # Didn't find X, or a directory has "'" in its name.
29739 ac_cv_have_x="have_x=no";; #(
29740 *)
29741 # Record where we found X for the cache.
29742 ac_cv_have_x="have_x=yes\
29743 ac_x_includes='$ac_x_includes'\
29744 ac_x_libraries='$ac_x_libraries'"
29745 esac
29746 fi
29747 ;; #(
29748 *) have_x=yes;;
29749 esac
29750 eval "$ac_cv_have_x"
29751 fi # $with_x != no
29752
29753 if test "$have_x" != yes; then
29754 { echo "$as_me:$LINENO: result: $have_x" >&5
29755 echo "${ECHO_T}$have_x" >&6; }
29756 no_x=yes
29757 else
29758 # If each of the values was on the command line, it overrides each guess.
29759 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29760 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29761 # Update the cache value to reflect the command line values.
29762 ac_cv_have_x="have_x=yes\
29763 ac_x_includes='$x_includes'\
29764 ac_x_libraries='$x_libraries'"
29765 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29766 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29767 fi
29768
29769 if test "$no_x" = yes; then
29770 # Not all programs may use this symbol, but it does not hurt to define it.
29771
29772 cat >>confdefs.h <<\_ACEOF
29773 #define X_DISPLAY_MISSING 1
29774 _ACEOF
29775
29776 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29777 else
29778 if test -n "$x_includes"; then
29779 X_CFLAGS="$X_CFLAGS -I$x_includes"
29780 fi
29781
29782 # It would also be nice to do this for all -L options, not just this one.
29783 if test -n "$x_libraries"; then
29784 X_LIBS="$X_LIBS -L$x_libraries"
29785 # For Solaris; some versions of Sun CC require a space after -R and
29786 # others require no space. Words are not sufficient . . . .
29787 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29788 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29789 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29790 ac_xsave_c_werror_flag=$ac_c_werror_flag
29791 ac_c_werror_flag=yes
29792 cat >conftest.$ac_ext <<_ACEOF
29793 /* confdefs.h. */
29794 _ACEOF
29795 cat confdefs.h >>conftest.$ac_ext
29796 cat >>conftest.$ac_ext <<_ACEOF
29797 /* end confdefs.h. */
29798
29799 int
29800 main ()
29801 {
29802
29803 ;
29804 return 0;
29805 }
29806 _ACEOF
29807 rm -f conftest.$ac_objext conftest$ac_exeext
29808 if { (ac_try="$ac_link"
29809 case "(($ac_try" in
29810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29811 *) ac_try_echo=$ac_try;;
29812 esac
29813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29814 (eval "$ac_link") 2>conftest.er1
29815 ac_status=$?
29816 grep -v '^ *+' conftest.er1 >conftest.err
29817 rm -f conftest.er1
29818 cat conftest.err >&5
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); } && {
29821 test -z "$ac_c_werror_flag" ||
29822 test ! -s conftest.err
29823 } && test -s conftest$ac_exeext &&
29824 $as_test_x conftest$ac_exeext; then
29825 { echo "$as_me:$LINENO: result: no" >&5
29826 echo "${ECHO_T}no" >&6; }
29827 X_LIBS="$X_LIBS -R$x_libraries"
29828 else
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29831
29832 LIBS="$ac_xsave_LIBS -R $x_libraries"
29833 cat >conftest.$ac_ext <<_ACEOF
29834 /* confdefs.h. */
29835 _ACEOF
29836 cat confdefs.h >>conftest.$ac_ext
29837 cat >>conftest.$ac_ext <<_ACEOF
29838 /* end confdefs.h. */
29839
29840 int
29841 main ()
29842 {
29843
29844 ;
29845 return 0;
29846 }
29847 _ACEOF
29848 rm -f conftest.$ac_objext conftest$ac_exeext
29849 if { (ac_try="$ac_link"
29850 case "(($ac_try" in
29851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29852 *) ac_try_echo=$ac_try;;
29853 esac
29854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29855 (eval "$ac_link") 2>conftest.er1
29856 ac_status=$?
29857 grep -v '^ *+' conftest.er1 >conftest.err
29858 rm -f conftest.er1
29859 cat conftest.err >&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } && {
29862 test -z "$ac_c_werror_flag" ||
29863 test ! -s conftest.err
29864 } && test -s conftest$ac_exeext &&
29865 $as_test_x conftest$ac_exeext; then
29866 { echo "$as_me:$LINENO: result: yes" >&5
29867 echo "${ECHO_T}yes" >&6; }
29868 X_LIBS="$X_LIBS -R $x_libraries"
29869 else
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.$ac_ext >&5
29872
29873 { echo "$as_me:$LINENO: result: neither works" >&5
29874 echo "${ECHO_T}neither works" >&6; }
29875 fi
29876
29877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29878 conftest$ac_exeext conftest.$ac_ext
29879 fi
29880
29881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29882 conftest$ac_exeext conftest.$ac_ext
29883 ac_c_werror_flag=$ac_xsave_c_werror_flag
29884 LIBS=$ac_xsave_LIBS
29885 fi
29886
29887 # Check for system-dependent libraries X programs must link with.
29888 # Do this before checking for the system-independent R6 libraries
29889 # (-lICE), since we may need -lsocket or whatever for X linking.
29890
29891 if test "$ISC" = yes; then
29892 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29893 else
29894 # Martyn Johnson says this is needed for Ultrix, if the X
29895 # libraries were built with DECnet support. And Karl Berry says
29896 # the Alpha needs dnet_stub (dnet does not exist).
29897 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29898 cat >conftest.$ac_ext <<_ACEOF
29899 /* confdefs.h. */
29900 _ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904
29905 /* Override any GCC internal prototype to avoid an error.
29906 Use char because int might match the return type of a GCC
29907 builtin and then its argument prototype would still apply. */
29908 #ifdef __cplusplus
29909 extern "C"
29910 #endif
29911 char XOpenDisplay ();
29912 int
29913 main ()
29914 {
29915 return XOpenDisplay ();
29916 ;
29917 return 0;
29918 }
29919 _ACEOF
29920 rm -f conftest.$ac_objext conftest$ac_exeext
29921 if { (ac_try="$ac_link"
29922 case "(($ac_try" in
29923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29924 *) ac_try_echo=$ac_try;;
29925 esac
29926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29927 (eval "$ac_link") 2>conftest.er1
29928 ac_status=$?
29929 grep -v '^ *+' conftest.er1 >conftest.err
29930 rm -f conftest.er1
29931 cat conftest.err >&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } && {
29934 test -z "$ac_c_werror_flag" ||
29935 test ! -s conftest.err
29936 } && test -s conftest$ac_exeext &&
29937 $as_test_x conftest$ac_exeext; then
29938 :
29939 else
29940 echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.$ac_ext >&5
29942
29943 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29944 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29945 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29946 echo $ECHO_N "(cached) $ECHO_C" >&6
29947 else
29948 ac_check_lib_save_LIBS=$LIBS
29949 LIBS="-ldnet $LIBS"
29950 cat >conftest.$ac_ext <<_ACEOF
29951 /* confdefs.h. */
29952 _ACEOF
29953 cat confdefs.h >>conftest.$ac_ext
29954 cat >>conftest.$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29956
29957 /* Override any GCC internal prototype to avoid an error.
29958 Use char because int might match the return type of a GCC
29959 builtin and then its argument prototype would still apply. */
29960 #ifdef __cplusplus
29961 extern "C"
29962 #endif
29963 char dnet_ntoa ();
29964 int
29965 main ()
29966 {
29967 return dnet_ntoa ();
29968 ;
29969 return 0;
29970 }
29971 _ACEOF
29972 rm -f conftest.$ac_objext conftest$ac_exeext
29973 if { (ac_try="$ac_link"
29974 case "(($ac_try" in
29975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29976 *) ac_try_echo=$ac_try;;
29977 esac
29978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29979 (eval "$ac_link") 2>conftest.er1
29980 ac_status=$?
29981 grep -v '^ *+' conftest.er1 >conftest.err
29982 rm -f conftest.er1
29983 cat conftest.err >&5
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); } && {
29986 test -z "$ac_c_werror_flag" ||
29987 test ! -s conftest.err
29988 } && test -s conftest$ac_exeext &&
29989 $as_test_x conftest$ac_exeext; then
29990 ac_cv_lib_dnet_dnet_ntoa=yes
29991 else
29992 echo "$as_me: failed program was:" >&5
29993 sed 's/^/| /' conftest.$ac_ext >&5
29994
29995 ac_cv_lib_dnet_dnet_ntoa=no
29996 fi
29997
29998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29999 conftest$ac_exeext conftest.$ac_ext
30000 LIBS=$ac_check_lib_save_LIBS
30001 fi
30002 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30003 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30004 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30005 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30006 fi
30007
30008 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30009 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30010 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30011 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30012 echo $ECHO_N "(cached) $ECHO_C" >&6
30013 else
30014 ac_check_lib_save_LIBS=$LIBS
30015 LIBS="-ldnet_stub $LIBS"
30016 cat >conftest.$ac_ext <<_ACEOF
30017 /* confdefs.h. */
30018 _ACEOF
30019 cat confdefs.h >>conftest.$ac_ext
30020 cat >>conftest.$ac_ext <<_ACEOF
30021 /* end confdefs.h. */
30022
30023 /* Override any GCC internal prototype to avoid an error.
30024 Use char because int might match the return type of a GCC
30025 builtin and then its argument prototype would still apply. */
30026 #ifdef __cplusplus
30027 extern "C"
30028 #endif
30029 char dnet_ntoa ();
30030 int
30031 main ()
30032 {
30033 return dnet_ntoa ();
30034 ;
30035 return 0;
30036 }
30037 _ACEOF
30038 rm -f conftest.$ac_objext conftest$ac_exeext
30039 if { (ac_try="$ac_link"
30040 case "(($ac_try" in
30041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30042 *) ac_try_echo=$ac_try;;
30043 esac
30044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30045 (eval "$ac_link") 2>conftest.er1
30046 ac_status=$?
30047 grep -v '^ *+' conftest.er1 >conftest.err
30048 rm -f conftest.er1
30049 cat conftest.err >&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); } && {
30052 test -z "$ac_c_werror_flag" ||
30053 test ! -s conftest.err
30054 } && test -s conftest$ac_exeext &&
30055 $as_test_x conftest$ac_exeext; then
30056 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30057 else
30058 echo "$as_me: failed program was:" >&5
30059 sed 's/^/| /' conftest.$ac_ext >&5
30060
30061 ac_cv_lib_dnet_stub_dnet_ntoa=no
30062 fi
30063
30064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30065 conftest$ac_exeext conftest.$ac_ext
30066 LIBS=$ac_check_lib_save_LIBS
30067 fi
30068 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30069 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30070 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30071 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30072 fi
30073
30074 fi
30075 fi
30076
30077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30078 conftest$ac_exeext conftest.$ac_ext
30079 LIBS="$ac_xsave_LIBS"
30080
30081 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30082 # to get the SysV transport functions.
30083 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30084 # needs -lnsl.
30085 # The nsl library prevents programs from opening the X display
30086 # on Irix 5.2, according to T.E. Dickey.
30087 # The functions gethostbyname, getservbyname, and inet_addr are
30088 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30089 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30090 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30091 if test "${ac_cv_func_gethostbyname+set}" = set; then
30092 echo $ECHO_N "(cached) $ECHO_C" >&6
30093 else
30094 cat >conftest.$ac_ext <<_ACEOF
30095 /* confdefs.h. */
30096 _ACEOF
30097 cat confdefs.h >>conftest.$ac_ext
30098 cat >>conftest.$ac_ext <<_ACEOF
30099 /* end confdefs.h. */
30100 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30102 #define gethostbyname innocuous_gethostbyname
30103
30104 /* System header to define __stub macros and hopefully few prototypes,
30105 which can conflict with char gethostbyname (); below.
30106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30107 <limits.h> exists even on freestanding compilers. */
30108
30109 #ifdef __STDC__
30110 # include <limits.h>
30111 #else
30112 # include <assert.h>
30113 #endif
30114
30115 #undef gethostbyname
30116
30117 /* Override any GCC internal prototype to avoid an error.
30118 Use char because int might match the return type of a GCC
30119 builtin and then its argument prototype would still apply. */
30120 #ifdef __cplusplus
30121 extern "C"
30122 #endif
30123 char gethostbyname ();
30124 /* The GNU C library defines this for functions which it implements
30125 to always fail with ENOSYS. Some functions are actually named
30126 something starting with __ and the normal name is an alias. */
30127 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30128 choke me
30129 #endif
30130
30131 int
30132 main ()
30133 {
30134 return gethostbyname ();
30135 ;
30136 return 0;
30137 }
30138 _ACEOF
30139 rm -f conftest.$ac_objext conftest$ac_exeext
30140 if { (ac_try="$ac_link"
30141 case "(($ac_try" in
30142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30143 *) ac_try_echo=$ac_try;;
30144 esac
30145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30146 (eval "$ac_link") 2>conftest.er1
30147 ac_status=$?
30148 grep -v '^ *+' conftest.er1 >conftest.err
30149 rm -f conftest.er1
30150 cat conftest.err >&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); } && {
30153 test -z "$ac_c_werror_flag" ||
30154 test ! -s conftest.err
30155 } && test -s conftest$ac_exeext &&
30156 $as_test_x conftest$ac_exeext; then
30157 ac_cv_func_gethostbyname=yes
30158 else
30159 echo "$as_me: failed program was:" >&5
30160 sed 's/^/| /' conftest.$ac_ext >&5
30161
30162 ac_cv_func_gethostbyname=no
30163 fi
30164
30165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30166 conftest$ac_exeext conftest.$ac_ext
30167 fi
30168 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30169 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30170
30171 if test $ac_cv_func_gethostbyname = no; then
30172 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30173 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30174 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30175 echo $ECHO_N "(cached) $ECHO_C" >&6
30176 else
30177 ac_check_lib_save_LIBS=$LIBS
30178 LIBS="-lnsl $LIBS"
30179 cat >conftest.$ac_ext <<_ACEOF
30180 /* confdefs.h. */
30181 _ACEOF
30182 cat confdefs.h >>conftest.$ac_ext
30183 cat >>conftest.$ac_ext <<_ACEOF
30184 /* end confdefs.h. */
30185
30186 /* Override any GCC internal prototype to avoid an error.
30187 Use char because int might match the return type of a GCC
30188 builtin and then its argument prototype would still apply. */
30189 #ifdef __cplusplus
30190 extern "C"
30191 #endif
30192 char gethostbyname ();
30193 int
30194 main ()
30195 {
30196 return gethostbyname ();
30197 ;
30198 return 0;
30199 }
30200 _ACEOF
30201 rm -f conftest.$ac_objext conftest$ac_exeext
30202 if { (ac_try="$ac_link"
30203 case "(($ac_try" in
30204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30205 *) ac_try_echo=$ac_try;;
30206 esac
30207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30208 (eval "$ac_link") 2>conftest.er1
30209 ac_status=$?
30210 grep -v '^ *+' conftest.er1 >conftest.err
30211 rm -f conftest.er1
30212 cat conftest.err >&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } && {
30215 test -z "$ac_c_werror_flag" ||
30216 test ! -s conftest.err
30217 } && test -s conftest$ac_exeext &&
30218 $as_test_x conftest$ac_exeext; then
30219 ac_cv_lib_nsl_gethostbyname=yes
30220 else
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.$ac_ext >&5
30223
30224 ac_cv_lib_nsl_gethostbyname=no
30225 fi
30226
30227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30228 conftest$ac_exeext conftest.$ac_ext
30229 LIBS=$ac_check_lib_save_LIBS
30230 fi
30231 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30232 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30233 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30234 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30235 fi
30236
30237 if test $ac_cv_lib_nsl_gethostbyname = no; then
30238 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30239 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30240 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30242 else
30243 ac_check_lib_save_LIBS=$LIBS
30244 LIBS="-lbsd $LIBS"
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h. */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251
30252 /* Override any GCC internal prototype to avoid an error.
30253 Use char because int might match the return type of a GCC
30254 builtin and then its argument prototype would still apply. */
30255 #ifdef __cplusplus
30256 extern "C"
30257 #endif
30258 char gethostbyname ();
30259 int
30260 main ()
30261 {
30262 return gethostbyname ();
30263 ;
30264 return 0;
30265 }
30266 _ACEOF
30267 rm -f conftest.$ac_objext conftest$ac_exeext
30268 if { (ac_try="$ac_link"
30269 case "(($ac_try" in
30270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30271 *) ac_try_echo=$ac_try;;
30272 esac
30273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30274 (eval "$ac_link") 2>conftest.er1
30275 ac_status=$?
30276 grep -v '^ *+' conftest.er1 >conftest.err
30277 rm -f conftest.er1
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } && {
30281 test -z "$ac_c_werror_flag" ||
30282 test ! -s conftest.err
30283 } && test -s conftest$ac_exeext &&
30284 $as_test_x conftest$ac_exeext; then
30285 ac_cv_lib_bsd_gethostbyname=yes
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30289
30290 ac_cv_lib_bsd_gethostbyname=no
30291 fi
30292
30293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30294 conftest$ac_exeext conftest.$ac_ext
30295 LIBS=$ac_check_lib_save_LIBS
30296 fi
30297 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30298 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30299 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30300 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30301 fi
30302
30303 fi
30304 fi
30305
30306 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30307 # socket/setsockopt and other routines are undefined under SCO ODT
30308 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30309 # on later versions), says Simon Leinen: it contains gethostby*
30310 # variants that don't use the name server (or something). -lsocket
30311 # must be given before -lnsl if both are needed. We assume that
30312 # if connect needs -lnsl, so does gethostbyname.
30313 { echo "$as_me:$LINENO: checking for connect" >&5
30314 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30315 if test "${ac_cv_func_connect+set}" = set; then
30316 echo $ECHO_N "(cached) $ECHO_C" >&6
30317 else
30318 cat >conftest.$ac_ext <<_ACEOF
30319 /* confdefs.h. */
30320 _ACEOF
30321 cat confdefs.h >>conftest.$ac_ext
30322 cat >>conftest.$ac_ext <<_ACEOF
30323 /* end confdefs.h. */
30324 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30326 #define connect innocuous_connect
30327
30328 /* System header to define __stub macros and hopefully few prototypes,
30329 which can conflict with char connect (); below.
30330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30331 <limits.h> exists even on freestanding compilers. */
30332
30333 #ifdef __STDC__
30334 # include <limits.h>
30335 #else
30336 # include <assert.h>
30337 #endif
30338
30339 #undef connect
30340
30341 /* Override any GCC internal prototype to avoid an error.
30342 Use char because int might match the return type of a GCC
30343 builtin and then its argument prototype would still apply. */
30344 #ifdef __cplusplus
30345 extern "C"
30346 #endif
30347 char connect ();
30348 /* The GNU C library defines this for functions which it implements
30349 to always fail with ENOSYS. Some functions are actually named
30350 something starting with __ and the normal name is an alias. */
30351 #if defined __stub_connect || defined __stub___connect
30352 choke me
30353 #endif
30354
30355 int
30356 main ()
30357 {
30358 return connect ();
30359 ;
30360 return 0;
30361 }
30362 _ACEOF
30363 rm -f conftest.$ac_objext conftest$ac_exeext
30364 if { (ac_try="$ac_link"
30365 case "(($ac_try" in
30366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30367 *) ac_try_echo=$ac_try;;
30368 esac
30369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30370 (eval "$ac_link") 2>conftest.er1
30371 ac_status=$?
30372 grep -v '^ *+' conftest.er1 >conftest.err
30373 rm -f conftest.er1
30374 cat conftest.err >&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); } && {
30377 test -z "$ac_c_werror_flag" ||
30378 test ! -s conftest.err
30379 } && test -s conftest$ac_exeext &&
30380 $as_test_x conftest$ac_exeext; then
30381 ac_cv_func_connect=yes
30382 else
30383 echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.$ac_ext >&5
30385
30386 ac_cv_func_connect=no
30387 fi
30388
30389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30390 conftest$ac_exeext conftest.$ac_ext
30391 fi
30392 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30393 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30394
30395 if test $ac_cv_func_connect = no; then
30396 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30397 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30398 if test "${ac_cv_lib_socket_connect+set}" = set; then
30399 echo $ECHO_N "(cached) $ECHO_C" >&6
30400 else
30401 ac_check_lib_save_LIBS=$LIBS
30402 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30403 cat >conftest.$ac_ext <<_ACEOF
30404 /* confdefs.h. */
30405 _ACEOF
30406 cat confdefs.h >>conftest.$ac_ext
30407 cat >>conftest.$ac_ext <<_ACEOF
30408 /* end confdefs.h. */
30409
30410 /* Override any GCC internal prototype to avoid an error.
30411 Use char because int might match the return type of a GCC
30412 builtin and then its argument prototype would still apply. */
30413 #ifdef __cplusplus
30414 extern "C"
30415 #endif
30416 char connect ();
30417 int
30418 main ()
30419 {
30420 return connect ();
30421 ;
30422 return 0;
30423 }
30424 _ACEOF
30425 rm -f conftest.$ac_objext conftest$ac_exeext
30426 if { (ac_try="$ac_link"
30427 case "(($ac_try" in
30428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30429 *) ac_try_echo=$ac_try;;
30430 esac
30431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30432 (eval "$ac_link") 2>conftest.er1
30433 ac_status=$?
30434 grep -v '^ *+' conftest.er1 >conftest.err
30435 rm -f conftest.er1
30436 cat conftest.err >&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } && {
30439 test -z "$ac_c_werror_flag" ||
30440 test ! -s conftest.err
30441 } && test -s conftest$ac_exeext &&
30442 $as_test_x conftest$ac_exeext; then
30443 ac_cv_lib_socket_connect=yes
30444 else
30445 echo "$as_me: failed program was:" >&5
30446 sed 's/^/| /' conftest.$ac_ext >&5
30447
30448 ac_cv_lib_socket_connect=no
30449 fi
30450
30451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30452 conftest$ac_exeext conftest.$ac_ext
30453 LIBS=$ac_check_lib_save_LIBS
30454 fi
30455 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30456 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30457 if test $ac_cv_lib_socket_connect = yes; then
30458 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30459 fi
30460
30461 fi
30462
30463 # Guillermo Gomez says -lposix is necessary on A/UX.
30464 { echo "$as_me:$LINENO: checking for remove" >&5
30465 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30466 if test "${ac_cv_func_remove+set}" = set; then
30467 echo $ECHO_N "(cached) $ECHO_C" >&6
30468 else
30469 cat >conftest.$ac_ext <<_ACEOF
30470 /* confdefs.h. */
30471 _ACEOF
30472 cat confdefs.h >>conftest.$ac_ext
30473 cat >>conftest.$ac_ext <<_ACEOF
30474 /* end confdefs.h. */
30475 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30477 #define remove innocuous_remove
30478
30479 /* System header to define __stub macros and hopefully few prototypes,
30480 which can conflict with char remove (); below.
30481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30482 <limits.h> exists even on freestanding compilers. */
30483
30484 #ifdef __STDC__
30485 # include <limits.h>
30486 #else
30487 # include <assert.h>
30488 #endif
30489
30490 #undef remove
30491
30492 /* Override any GCC internal prototype to avoid an error.
30493 Use char because int might match the return type of a GCC
30494 builtin and then its argument prototype would still apply. */
30495 #ifdef __cplusplus
30496 extern "C"
30497 #endif
30498 char remove ();
30499 /* The GNU C library defines this for functions which it implements
30500 to always fail with ENOSYS. Some functions are actually named
30501 something starting with __ and the normal name is an alias. */
30502 #if defined __stub_remove || defined __stub___remove
30503 choke me
30504 #endif
30505
30506 int
30507 main ()
30508 {
30509 return remove ();
30510 ;
30511 return 0;
30512 }
30513 _ACEOF
30514 rm -f conftest.$ac_objext conftest$ac_exeext
30515 if { (ac_try="$ac_link"
30516 case "(($ac_try" in
30517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30518 *) ac_try_echo=$ac_try;;
30519 esac
30520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30521 (eval "$ac_link") 2>conftest.er1
30522 ac_status=$?
30523 grep -v '^ *+' conftest.er1 >conftest.err
30524 rm -f conftest.er1
30525 cat conftest.err >&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); } && {
30528 test -z "$ac_c_werror_flag" ||
30529 test ! -s conftest.err
30530 } && test -s conftest$ac_exeext &&
30531 $as_test_x conftest$ac_exeext; then
30532 ac_cv_func_remove=yes
30533 else
30534 echo "$as_me: failed program was:" >&5
30535 sed 's/^/| /' conftest.$ac_ext >&5
30536
30537 ac_cv_func_remove=no
30538 fi
30539
30540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30541 conftest$ac_exeext conftest.$ac_ext
30542 fi
30543 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30544 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30545
30546 if test $ac_cv_func_remove = no; then
30547 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30548 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30549 if test "${ac_cv_lib_posix_remove+set}" = set; then
30550 echo $ECHO_N "(cached) $ECHO_C" >&6
30551 else
30552 ac_check_lib_save_LIBS=$LIBS
30553 LIBS="-lposix $LIBS"
30554 cat >conftest.$ac_ext <<_ACEOF
30555 /* confdefs.h. */
30556 _ACEOF
30557 cat confdefs.h >>conftest.$ac_ext
30558 cat >>conftest.$ac_ext <<_ACEOF
30559 /* end confdefs.h. */
30560
30561 /* Override any GCC internal prototype to avoid an error.
30562 Use char because int might match the return type of a GCC
30563 builtin and then its argument prototype would still apply. */
30564 #ifdef __cplusplus
30565 extern "C"
30566 #endif
30567 char remove ();
30568 int
30569 main ()
30570 {
30571 return remove ();
30572 ;
30573 return 0;
30574 }
30575 _ACEOF
30576 rm -f conftest.$ac_objext conftest$ac_exeext
30577 if { (ac_try="$ac_link"
30578 case "(($ac_try" in
30579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30580 *) ac_try_echo=$ac_try;;
30581 esac
30582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30583 (eval "$ac_link") 2>conftest.er1
30584 ac_status=$?
30585 grep -v '^ *+' conftest.er1 >conftest.err
30586 rm -f conftest.er1
30587 cat conftest.err >&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); } && {
30590 test -z "$ac_c_werror_flag" ||
30591 test ! -s conftest.err
30592 } && test -s conftest$ac_exeext &&
30593 $as_test_x conftest$ac_exeext; then
30594 ac_cv_lib_posix_remove=yes
30595 else
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.$ac_ext >&5
30598
30599 ac_cv_lib_posix_remove=no
30600 fi
30601
30602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30603 conftest$ac_exeext conftest.$ac_ext
30604 LIBS=$ac_check_lib_save_LIBS
30605 fi
30606 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30607 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30608 if test $ac_cv_lib_posix_remove = yes; then
30609 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30610 fi
30611
30612 fi
30613
30614 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30615 { echo "$as_me:$LINENO: checking for shmat" >&5
30616 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30617 if test "${ac_cv_func_shmat+set}" = set; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 else
30620 cat >conftest.$ac_ext <<_ACEOF
30621 /* confdefs.h. */
30622 _ACEOF
30623 cat confdefs.h >>conftest.$ac_ext
30624 cat >>conftest.$ac_ext <<_ACEOF
30625 /* end confdefs.h. */
30626 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30628 #define shmat innocuous_shmat
30629
30630 /* System header to define __stub macros and hopefully few prototypes,
30631 which can conflict with char shmat (); below.
30632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30633 <limits.h> exists even on freestanding compilers. */
30634
30635 #ifdef __STDC__
30636 # include <limits.h>
30637 #else
30638 # include <assert.h>
30639 #endif
30640
30641 #undef shmat
30642
30643 /* Override any GCC internal prototype to avoid an error.
30644 Use char because int might match the return type of a GCC
30645 builtin and then its argument prototype would still apply. */
30646 #ifdef __cplusplus
30647 extern "C"
30648 #endif
30649 char shmat ();
30650 /* The GNU C library defines this for functions which it implements
30651 to always fail with ENOSYS. Some functions are actually named
30652 something starting with __ and the normal name is an alias. */
30653 #if defined __stub_shmat || defined __stub___shmat
30654 choke me
30655 #endif
30656
30657 int
30658 main ()
30659 {
30660 return shmat ();
30661 ;
30662 return 0;
30663 }
30664 _ACEOF
30665 rm -f conftest.$ac_objext conftest$ac_exeext
30666 if { (ac_try="$ac_link"
30667 case "(($ac_try" in
30668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30669 *) ac_try_echo=$ac_try;;
30670 esac
30671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30672 (eval "$ac_link") 2>conftest.er1
30673 ac_status=$?
30674 grep -v '^ *+' conftest.er1 >conftest.err
30675 rm -f conftest.er1
30676 cat conftest.err >&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); } && {
30679 test -z "$ac_c_werror_flag" ||
30680 test ! -s conftest.err
30681 } && test -s conftest$ac_exeext &&
30682 $as_test_x conftest$ac_exeext; then
30683 ac_cv_func_shmat=yes
30684 else
30685 echo "$as_me: failed program was:" >&5
30686 sed 's/^/| /' conftest.$ac_ext >&5
30687
30688 ac_cv_func_shmat=no
30689 fi
30690
30691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30692 conftest$ac_exeext conftest.$ac_ext
30693 fi
30694 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30695 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30696
30697 if test $ac_cv_func_shmat = no; then
30698 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30699 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30700 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30701 echo $ECHO_N "(cached) $ECHO_C" >&6
30702 else
30703 ac_check_lib_save_LIBS=$LIBS
30704 LIBS="-lipc $LIBS"
30705 cat >conftest.$ac_ext <<_ACEOF
30706 /* confdefs.h. */
30707 _ACEOF
30708 cat confdefs.h >>conftest.$ac_ext
30709 cat >>conftest.$ac_ext <<_ACEOF
30710 /* end confdefs.h. */
30711
30712 /* Override any GCC internal prototype to avoid an error.
30713 Use char because int might match the return type of a GCC
30714 builtin and then its argument prototype would still apply. */
30715 #ifdef __cplusplus
30716 extern "C"
30717 #endif
30718 char shmat ();
30719 int
30720 main ()
30721 {
30722 return shmat ();
30723 ;
30724 return 0;
30725 }
30726 _ACEOF
30727 rm -f conftest.$ac_objext conftest$ac_exeext
30728 if { (ac_try="$ac_link"
30729 case "(($ac_try" in
30730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30731 *) ac_try_echo=$ac_try;;
30732 esac
30733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30734 (eval "$ac_link") 2>conftest.er1
30735 ac_status=$?
30736 grep -v '^ *+' conftest.er1 >conftest.err
30737 rm -f conftest.er1
30738 cat conftest.err >&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } && {
30741 test -z "$ac_c_werror_flag" ||
30742 test ! -s conftest.err
30743 } && test -s conftest$ac_exeext &&
30744 $as_test_x conftest$ac_exeext; then
30745 ac_cv_lib_ipc_shmat=yes
30746 else
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.$ac_ext >&5
30749
30750 ac_cv_lib_ipc_shmat=no
30751 fi
30752
30753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30754 conftest$ac_exeext conftest.$ac_ext
30755 LIBS=$ac_check_lib_save_LIBS
30756 fi
30757 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30758 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30759 if test $ac_cv_lib_ipc_shmat = yes; then
30760 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30761 fi
30762
30763 fi
30764 fi
30765
30766 # Check for libraries that X11R6 Xt/Xaw programs need.
30767 ac_save_LDFLAGS=$LDFLAGS
30768 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30769 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30770 # check for ICE first), but we must link in the order -lSM -lICE or
30771 # we get undefined symbols. So assume we have SM if we have ICE.
30772 # These have to be linked with before -lX11, unlike the other
30773 # libraries we check for below, so use a different variable.
30774 # John Interrante, Karl Berry
30775 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30776 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30777 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30778 echo $ECHO_N "(cached) $ECHO_C" >&6
30779 else
30780 ac_check_lib_save_LIBS=$LIBS
30781 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30782 cat >conftest.$ac_ext <<_ACEOF
30783 /* confdefs.h. */
30784 _ACEOF
30785 cat confdefs.h >>conftest.$ac_ext
30786 cat >>conftest.$ac_ext <<_ACEOF
30787 /* end confdefs.h. */
30788
30789 /* Override any GCC internal prototype to avoid an error.
30790 Use char because int might match the return type of a GCC
30791 builtin and then its argument prototype would still apply. */
30792 #ifdef __cplusplus
30793 extern "C"
30794 #endif
30795 char IceConnectionNumber ();
30796 int
30797 main ()
30798 {
30799 return IceConnectionNumber ();
30800 ;
30801 return 0;
30802 }
30803 _ACEOF
30804 rm -f conftest.$ac_objext conftest$ac_exeext
30805 if { (ac_try="$ac_link"
30806 case "(($ac_try" in
30807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30808 *) ac_try_echo=$ac_try;;
30809 esac
30810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30811 (eval "$ac_link") 2>conftest.er1
30812 ac_status=$?
30813 grep -v '^ *+' conftest.er1 >conftest.err
30814 rm -f conftest.er1
30815 cat conftest.err >&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } && {
30818 test -z "$ac_c_werror_flag" ||
30819 test ! -s conftest.err
30820 } && test -s conftest$ac_exeext &&
30821 $as_test_x conftest$ac_exeext; then
30822 ac_cv_lib_ICE_IceConnectionNumber=yes
30823 else
30824 echo "$as_me: failed program was:" >&5
30825 sed 's/^/| /' conftest.$ac_ext >&5
30826
30827 ac_cv_lib_ICE_IceConnectionNumber=no
30828 fi
30829
30830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30831 conftest$ac_exeext conftest.$ac_ext
30832 LIBS=$ac_check_lib_save_LIBS
30833 fi
30834 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30835 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30836 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30837 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30838 fi
30839
30840 LDFLAGS=$ac_save_LDFLAGS
30841
30842 fi
30843
30844
30845 if test "$no_x" = "yes"; then
30846 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30847 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30848 { (exit 1); exit 1; }; }
30849 fi
30850
30851 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30852 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30853 AFMINSTALL=afminstall
30854 COMPILED_X_PROGRAM=0
30855
30856 fi
30857
30858 if test "$wxUSE_X11" = 1; then
30859 if test "$wxUSE_NANOX" = "yes"; then
30860 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30861 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30862 if test "x$MICROWIN" = x ; then
30863 { echo "$as_me:$LINENO: result: not found" >&5
30864 echo "${ECHO_T}not found" >&6; }
30865 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30866 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30867 { (exit 1); exit 1; }; }
30868 else
30869 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30870 echo "${ECHO_T}$MICROWIN" >&6; }
30871 cat >>confdefs.h <<\_ACEOF
30872 #define wxUSE_NANOX 1
30873 _ACEOF
30874
30875 fi
30876 fi
30877
30878 if test "$wxUSE_UNICODE" = "yes"; then
30879
30880
30881 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30882 if test -n "$ac_tool_prefix"; then
30883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30884 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30887 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 else
30890 case $PKG_CONFIG in
30891 [\\/]* | ?:[\\/]*)
30892 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30893 ;;
30894 *)
30895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30896 for as_dir in $PATH
30897 do
30898 IFS=$as_save_IFS
30899 test -z "$as_dir" && as_dir=.
30900 for ac_exec_ext in '' $ac_executable_extensions; do
30901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30902 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30904 break 2
30905 fi
30906 done
30907 done
30908 IFS=$as_save_IFS
30909
30910 ;;
30911 esac
30912 fi
30913 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30914 if test -n "$PKG_CONFIG"; then
30915 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30916 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30917 else
30918 { echo "$as_me:$LINENO: result: no" >&5
30919 echo "${ECHO_T}no" >&6; }
30920 fi
30921
30922
30923 fi
30924 if test -z "$ac_cv_path_PKG_CONFIG"; then
30925 ac_pt_PKG_CONFIG=$PKG_CONFIG
30926 # Extract the first word of "pkg-config", so it can be a program name with args.
30927 set dummy pkg-config; ac_word=$2
30928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30930 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30932 else
30933 case $ac_pt_PKG_CONFIG in
30934 [\\/]* | ?:[\\/]*)
30935 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30936 ;;
30937 *)
30938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30939 for as_dir in $PATH
30940 do
30941 IFS=$as_save_IFS
30942 test -z "$as_dir" && as_dir=.
30943 for ac_exec_ext in '' $ac_executable_extensions; do
30944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30945 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30947 break 2
30948 fi
30949 done
30950 done
30951 IFS=$as_save_IFS
30952
30953 ;;
30954 esac
30955 fi
30956 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30957 if test -n "$ac_pt_PKG_CONFIG"; then
30958 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30959 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30960 else
30961 { echo "$as_me:$LINENO: result: no" >&5
30962 echo "${ECHO_T}no" >&6; }
30963 fi
30964
30965 if test "x$ac_pt_PKG_CONFIG" = x; then
30966 PKG_CONFIG=""
30967 else
30968 case $cross_compiling:$ac_tool_warned in
30969 yes:)
30970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30971 whose name does not start with the host triplet. If you think this
30972 configuration is useful to you, please write to autoconf@gnu.org." >&5
30973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30974 whose name does not start with the host triplet. If you think this
30975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30976 ac_tool_warned=yes ;;
30977 esac
30978 PKG_CONFIG=$ac_pt_PKG_CONFIG
30979 fi
30980 else
30981 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30982 fi
30983
30984 fi
30985 if test -n "$PKG_CONFIG"; then
30986 _pkg_min_version=0.9.0
30987 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30988 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30989 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30990 { echo "$as_me:$LINENO: result: yes" >&5
30991 echo "${ECHO_T}yes" >&6; }
30992 else
30993 { echo "$as_me:$LINENO: result: no" >&5
30994 echo "${ECHO_T}no" >&6; }
30995 PKG_CONFIG=""
30996 fi
30997
30998 fi
30999
31000
31001 pkg_failed=no
31002 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31003 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31004
31005 if test -n "$PKG_CONFIG"; then
31006 if test -n "$PANGOX_CFLAGS"; then
31007 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31008 else
31009 if test -n "$PKG_CONFIG" && \
31010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31011 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31012 ac_status=$?
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; then
31015 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31016 else
31017 pkg_failed=yes
31018 fi
31019 fi
31020 else
31021 pkg_failed=untried
31022 fi
31023 if test -n "$PKG_CONFIG"; then
31024 if test -n "$PANGOX_LIBS"; then
31025 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31026 else
31027 if test -n "$PKG_CONFIG" && \
31028 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31029 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31030 ac_status=$?
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; then
31033 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31034 else
31035 pkg_failed=yes
31036 fi
31037 fi
31038 else
31039 pkg_failed=untried
31040 fi
31041
31042
31043
31044 if test $pkg_failed = yes; then
31045
31046 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31047 _pkg_short_errors_supported=yes
31048 else
31049 _pkg_short_errors_supported=no
31050 fi
31051 if test $_pkg_short_errors_supported = yes; then
31052 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31053 else
31054 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31055 fi
31056 # Put the nasty error message in config.log where it belongs
31057 echo "$PANGOX_PKG_ERRORS" >&5
31058
31059
31060 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31061 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31062 { (exit 1); exit 1; }; }
31063
31064
31065 elif test $pkg_failed = untried; then
31066
31067 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31068 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31069 { (exit 1); exit 1; }; }
31070
31071
31072 else
31073 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31074 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31075 { echo "$as_me:$LINENO: result: yes" >&5
31076 echo "${ECHO_T}yes" >&6; }
31077
31078 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31079 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31080 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31081
31082 fi
31083
31084 pkg_failed=no
31085 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31086 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31087
31088 if test -n "$PKG_CONFIG"; then
31089 if test -n "$PANGOFT2_CFLAGS"; then
31090 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31091 else
31092 if test -n "$PKG_CONFIG" && \
31093 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31094 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31095 ac_status=$?
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); }; then
31098 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31099 else
31100 pkg_failed=yes
31101 fi
31102 fi
31103 else
31104 pkg_failed=untried
31105 fi
31106 if test -n "$PKG_CONFIG"; then
31107 if test -n "$PANGOFT2_LIBS"; then
31108 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31109 else
31110 if test -n "$PKG_CONFIG" && \
31111 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31112 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31113 ac_status=$?
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); }; then
31116 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31117 else
31118 pkg_failed=yes
31119 fi
31120 fi
31121 else
31122 pkg_failed=untried
31123 fi
31124
31125
31126
31127 if test $pkg_failed = yes; then
31128
31129 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31130 _pkg_short_errors_supported=yes
31131 else
31132 _pkg_short_errors_supported=no
31133 fi
31134 if test $_pkg_short_errors_supported = yes; then
31135 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31136 else
31137 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31138 fi
31139 # Put the nasty error message in config.log where it belongs
31140 echo "$PANGOFT2_PKG_ERRORS" >&5
31141
31142
31143 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31144 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31145 wxUSE_PRINTING_ARCHITECTURE="no"
31146
31147
31148 elif test $pkg_failed = untried; then
31149
31150 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31151 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31152 wxUSE_PRINTING_ARCHITECTURE="no"
31153
31154
31155 else
31156 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31157 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31158 { echo "$as_me:$LINENO: result: yes" >&5
31159 echo "${ECHO_T}yes" >&6; }
31160
31161 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31162 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31163 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31164
31165 fi
31166
31167 pkg_failed=no
31168 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31169 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31170
31171 if test -n "$PKG_CONFIG"; then
31172 if test -n "$PANGOXFT_CFLAGS"; then
31173 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31174 else
31175 if test -n "$PKG_CONFIG" && \
31176 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31177 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31178 ac_status=$?
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; then
31181 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31182 else
31183 pkg_failed=yes
31184 fi
31185 fi
31186 else
31187 pkg_failed=untried
31188 fi
31189 if test -n "$PKG_CONFIG"; then
31190 if test -n "$PANGOXFT_LIBS"; then
31191 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31192 else
31193 if test -n "$PKG_CONFIG" && \
31194 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31195 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31196 ac_status=$?
31197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31198 (exit $ac_status); }; then
31199 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31200 else
31201 pkg_failed=yes
31202 fi
31203 fi
31204 else
31205 pkg_failed=untried
31206 fi
31207
31208
31209
31210 if test $pkg_failed = yes; then
31211
31212 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31213 _pkg_short_errors_supported=yes
31214 else
31215 _pkg_short_errors_supported=no
31216 fi
31217 if test $_pkg_short_errors_supported = yes; then
31218 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31219 else
31220 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31221 fi
31222 # Put the nasty error message in config.log where it belongs
31223 echo "$PANGOXFT_PKG_ERRORS" >&5
31224
31225
31226 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31227 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31228
31229
31230 elif test $pkg_failed = untried; then
31231
31232 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31233 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31234
31235
31236 else
31237 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31238 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31239 { echo "$as_me:$LINENO: result: yes" >&5
31240 echo "${ECHO_T}yes" >&6; }
31241
31242 cat >>confdefs.h <<\_ACEOF
31243 #define HAVE_PANGO_XFT 1
31244 _ACEOF
31245
31246 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31247 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31248 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31249
31250 fi
31251 save_LIBS="$LIBS"
31252 LIBS="$LIBS $PANGOX_LIBS"
31253
31254 for ac_func in pango_font_family_is_monospace
31255 do
31256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31257 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31259 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31260 echo $ECHO_N "(cached) $ECHO_C" >&6
31261 else
31262 cat >conftest.$ac_ext <<_ACEOF
31263 /* confdefs.h. */
31264 _ACEOF
31265 cat confdefs.h >>conftest.$ac_ext
31266 cat >>conftest.$ac_ext <<_ACEOF
31267 /* end confdefs.h. */
31268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31270 #define $ac_func innocuous_$ac_func
31271
31272 /* System header to define __stub macros and hopefully few prototypes,
31273 which can conflict with char $ac_func (); below.
31274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31275 <limits.h> exists even on freestanding compilers. */
31276
31277 #ifdef __STDC__
31278 # include <limits.h>
31279 #else
31280 # include <assert.h>
31281 #endif
31282
31283 #undef $ac_func
31284
31285 /* Override any GCC internal prototype to avoid an error.
31286 Use char because int might match the return type of a GCC
31287 builtin and then its argument prototype would still apply. */
31288 #ifdef __cplusplus
31289 extern "C"
31290 #endif
31291 char $ac_func ();
31292 /* The GNU C library defines this for functions which it implements
31293 to always fail with ENOSYS. Some functions are actually named
31294 something starting with __ and the normal name is an alias. */
31295 #if defined __stub_$ac_func || defined __stub___$ac_func
31296 choke me
31297 #endif
31298
31299 int
31300 main ()
31301 {
31302 return $ac_func ();
31303 ;
31304 return 0;
31305 }
31306 _ACEOF
31307 rm -f conftest.$ac_objext conftest$ac_exeext
31308 if { (ac_try="$ac_link"
31309 case "(($ac_try" in
31310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31311 *) ac_try_echo=$ac_try;;
31312 esac
31313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31314 (eval "$ac_link") 2>conftest.er1
31315 ac_status=$?
31316 grep -v '^ *+' conftest.er1 >conftest.err
31317 rm -f conftest.er1
31318 cat conftest.err >&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); } && {
31321 test -z "$ac_c_werror_flag" ||
31322 test ! -s conftest.err
31323 } && test -s conftest$ac_exeext &&
31324 $as_test_x conftest$ac_exeext; then
31325 eval "$as_ac_var=yes"
31326 else
31327 echo "$as_me: failed program was:" >&5
31328 sed 's/^/| /' conftest.$ac_ext >&5
31329
31330 eval "$as_ac_var=no"
31331 fi
31332
31333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31334 conftest$ac_exeext conftest.$ac_ext
31335 fi
31336 ac_res=`eval echo '${'$as_ac_var'}'`
31337 { echo "$as_me:$LINENO: result: $ac_res" >&5
31338 echo "${ECHO_T}$ac_res" >&6; }
31339 if test `eval echo '${'$as_ac_var'}'` = yes; then
31340 cat >>confdefs.h <<_ACEOF
31341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31342 _ACEOF
31343
31344 fi
31345 done
31346
31347 LIBS="$save_LIBS"
31348 fi
31349
31350 wxUSE_UNIVERSAL="yes"
31351
31352 if test "$wxUSE_NANOX" = "yes"; then
31353 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31354 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"
31355 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31356 else
31357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31358 fi
31359
31360 TOOLKIT=X11
31361 GUIDIST=X11_DIST
31362 fi
31363
31364 if test "$wxUSE_MOTIF" = 1; then
31365 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31366 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31367
31368 ac_find_includes=
31369 for ac_dir in $SEARCH_INCLUDE /usr/include;
31370 do
31371 if test -f "$ac_dir/Xm/Xm.h"; then
31372 ac_find_includes=$ac_dir
31373 break
31374 fi
31375 done
31376
31377 if test "$ac_find_includes" != "" ; then
31378 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31379 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31380
31381 if test "x$ac_find_includes" = "x/usr/include"; then
31382 ac_path_to_include=""
31383 else
31384 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31385 result=$?
31386 if test $result = 0; then
31387 ac_path_to_include=""
31388 else
31389 ac_path_to_include=" -I$ac_find_includes"
31390 fi
31391 fi
31392
31393 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31394 else
31395 save_CFLAGS=$CFLAGS
31396 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31397
31398 cat >conftest.$ac_ext <<_ACEOF
31399 /* confdefs.h. */
31400 _ACEOF
31401 cat confdefs.h >>conftest.$ac_ext
31402 cat >>conftest.$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31404
31405 #include <Xm/Xm.h>
31406
31407 int
31408 main ()
31409 {
31410
31411 int version;
31412 version = xmUseVersion;
31413
31414 ;
31415 return 0;
31416 }
31417 _ACEOF
31418 rm -f conftest.$ac_objext
31419 if { (ac_try="$ac_compile"
31420 case "(($ac_try" in
31421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31422 *) ac_try_echo=$ac_try;;
31423 esac
31424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31425 (eval "$ac_compile") 2>conftest.er1
31426 ac_status=$?
31427 grep -v '^ *+' conftest.er1 >conftest.err
31428 rm -f conftest.er1
31429 cat conftest.err >&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } && {
31432 test -z "$ac_c_werror_flag" ||
31433 test ! -s conftest.err
31434 } && test -s conftest.$ac_objext; then
31435
31436 { echo "$as_me:$LINENO: result: found in default search path" >&5
31437 echo "${ECHO_T}found in default search path" >&6; }
31438 COMPILED_X_PROGRAM=1
31439
31440 else
31441 echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.$ac_ext >&5
31443
31444
31445 { echo "$as_me:$LINENO: result: no" >&5
31446 echo "${ECHO_T}no" >&6; }
31447 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31448 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31449 { (exit 1); exit 1; }; }
31450
31451
31452 fi
31453
31454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31455
31456 CFLAGS=$save_CFLAGS
31457 fi
31458
31459
31460 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31461 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31462
31463 ac_find_libraries=
31464 for ac_dir in $SEARCH_LIB;
31465 do
31466 for ac_extension in a so sl dylib dll.a; do
31467 if test -f "$ac_dir/libXm.$ac_extension"; then
31468 ac_find_libraries=$ac_dir
31469 break 2
31470 fi
31471 done
31472 done
31473
31474
31475 if test "x$ac_find_libraries" != "x" ; then
31476 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31477 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31478
31479
31480 if test "$ac_find_libraries" = "default location"; then
31481 ac_path_to_link=""
31482 else
31483 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31484 result=$?
31485 if test $result = 0; then
31486 ac_path_to_link=""
31487 else
31488 ac_path_to_link=" -L$ac_find_libraries"
31489 fi
31490 fi
31491
31492 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31493 else
31494 save_CFLAGS=$CFLAGS
31495 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31496 save_LIBS="$LIBS"
31497 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31498
31499 cat >conftest.$ac_ext <<_ACEOF
31500 /* confdefs.h. */
31501 _ACEOF
31502 cat confdefs.h >>conftest.$ac_ext
31503 cat >>conftest.$ac_ext <<_ACEOF
31504 /* end confdefs.h. */
31505
31506 #include <Xm/Xm.h>
31507
31508 int
31509 main ()
31510 {
31511
31512 int version;
31513 version = xmUseVersion;
31514
31515 ;
31516 return 0;
31517 }
31518 _ACEOF
31519 rm -f conftest.$ac_objext conftest$ac_exeext
31520 if { (ac_try="$ac_link"
31521 case "(($ac_try" in
31522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31523 *) ac_try_echo=$ac_try;;
31524 esac
31525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31526 (eval "$ac_link") 2>conftest.er1
31527 ac_status=$?
31528 grep -v '^ *+' conftest.er1 >conftest.err
31529 rm -f conftest.er1
31530 cat conftest.err >&5
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); } && {
31533 test -z "$ac_c_werror_flag" ||
31534 test ! -s conftest.err
31535 } && test -s conftest$ac_exeext &&
31536 $as_test_x conftest$ac_exeext; then
31537
31538 { echo "$as_me:$LINENO: result: found in default search path" >&5
31539 echo "${ECHO_T}found in default search path" >&6; }
31540 COMPILED_X_PROGRAM=1
31541
31542 else
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.$ac_ext >&5
31545
31546
31547 { echo "$as_me:$LINENO: result: no" >&5
31548 echo "${ECHO_T}no" >&6; }
31549 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31550 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31551 { (exit 1); exit 1; }; }
31552
31553
31554 fi
31555
31556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31557 conftest$ac_exeext conftest.$ac_ext
31558
31559 CFLAGS=$save_CFLAGS
31560 LIBS="$save_LIBS"
31561 fi
31562
31563 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31564 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31565 libp_link=""
31566 libsm_ice_link=""
31567 libs_found=0
31568 for libp in "" " -lXp"; do
31569 if test "$libs_found" = 0; then
31570 for libsm_ice in "" " -lSM -lICE"; do
31571 if test "$libs_found" = 0; then
31572 save_LIBS="$LIBS"
31573 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31574 save_CFLAGS=$CFLAGS
31575 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31576
31577 cat >conftest.$ac_ext <<_ACEOF
31578 /* confdefs.h. */
31579 _ACEOF
31580 cat confdefs.h >>conftest.$ac_ext
31581 cat >>conftest.$ac_ext <<_ACEOF
31582 /* end confdefs.h. */
31583
31584 #include <Xm/Xm.h>
31585 #include <Xm/List.h>
31586
31587 int
31588 main ()
31589 {
31590
31591 XmString string = NULL;
31592 Widget w = NULL;
31593 int position = 0;
31594 XmListAddItem(w, string, position);
31595
31596 ;
31597 return 0;
31598 }
31599 _ACEOF
31600 rm -f conftest.$ac_objext conftest$ac_exeext
31601 if { (ac_try="$ac_link"
31602 case "(($ac_try" in
31603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31604 *) ac_try_echo=$ac_try;;
31605 esac
31606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31607 (eval "$ac_link") 2>conftest.er1
31608 ac_status=$?
31609 grep -v '^ *+' conftest.er1 >conftest.err
31610 rm -f conftest.er1
31611 cat conftest.err >&5
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); } && {
31614 test -z "$ac_c_werror_flag" ||
31615 test ! -s conftest.err
31616 } && test -s conftest$ac_exeext &&
31617 $as_test_x conftest$ac_exeext; then
31618
31619 libp_link="$libp"
31620 libsm_ice_link="$libsm_ice"
31621 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31622 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31623 libs_found=1
31624
31625 else
31626 echo "$as_me: failed program was:" >&5
31627 sed 's/^/| /' conftest.$ac_ext >&5
31628
31629
31630
31631 fi
31632
31633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31634 conftest$ac_exeext conftest.$ac_ext
31635
31636 LIBS="$save_LIBS"
31637 CFLAGS=$save_CFLAGS
31638 fi
31639 done
31640 fi
31641 done
31642
31643 if test "$libs_found" = 0; then
31644 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31645 echo "${ECHO_T}can't find the right libraries" >&6; }
31646 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31647 echo "$as_me: error: can't link a simple motif program" >&2;}
31648 { (exit 1); exit 1; }; }
31649 fi
31650
31651 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31652 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31653 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31654 echo $ECHO_N "(cached) $ECHO_C" >&6
31655 else
31656 ac_check_lib_save_LIBS=$LIBS
31657 LIBS="-lSgm $LIBS"
31658 cat >conftest.$ac_ext <<_ACEOF
31659 /* confdefs.h. */
31660 _ACEOF
31661 cat confdefs.h >>conftest.$ac_ext
31662 cat >>conftest.$ac_ext <<_ACEOF
31663 /* end confdefs.h. */
31664
31665 /* Override any GCC internal prototype to avoid an error.
31666 Use char because int might match the return type of a GCC
31667 builtin and then its argument prototype would still apply. */
31668 #ifdef __cplusplus
31669 extern "C"
31670 #endif
31671 char SgCreateList ();
31672 int
31673 main ()
31674 {
31675 return SgCreateList ();
31676 ;
31677 return 0;
31678 }
31679 _ACEOF
31680 rm -f conftest.$ac_objext conftest$ac_exeext
31681 if { (ac_try="$ac_link"
31682 case "(($ac_try" in
31683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31684 *) ac_try_echo=$ac_try;;
31685 esac
31686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31687 (eval "$ac_link") 2>conftest.er1
31688 ac_status=$?
31689 grep -v '^ *+' conftest.er1 >conftest.err
31690 rm -f conftest.er1
31691 cat conftest.err >&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } && {
31694 test -z "$ac_c_werror_flag" ||
31695 test ! -s conftest.err
31696 } && test -s conftest$ac_exeext &&
31697 $as_test_x conftest$ac_exeext; then
31698 ac_cv_lib_Sgm_SgCreateList=yes
31699 else
31700 echo "$as_me: failed program was:" >&5
31701 sed 's/^/| /' conftest.$ac_ext >&5
31702
31703 ac_cv_lib_Sgm_SgCreateList=no
31704 fi
31705
31706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31707 conftest$ac_exeext conftest.$ac_ext
31708 LIBS=$ac_check_lib_save_LIBS
31709 fi
31710 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31711 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31712 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31713 libsgm_link=" -lSgm"
31714 fi
31715
31716
31717 save_CFLAGS=$CFLAGS
31718 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31719
31720 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31721 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31722 if test "${wx_cv_lib_motif2+set}" = set; then
31723 echo $ECHO_N "(cached) $ECHO_C" >&6
31724 else
31725 cat >conftest.$ac_ext <<_ACEOF
31726 /* confdefs.h. */
31727 _ACEOF
31728 cat confdefs.h >>conftest.$ac_ext
31729 cat >>conftest.$ac_ext <<_ACEOF
31730 /* end confdefs.h. */
31731
31732 #include <Xm/Xm.h>
31733
31734 int
31735 main ()
31736 {
31737
31738 #if XmVersion < 2000
31739 Not Motif 2
31740 #endif
31741
31742 ;
31743 return 0;
31744 }
31745 _ACEOF
31746 rm -f conftest.$ac_objext
31747 if { (ac_try="$ac_compile"
31748 case "(($ac_try" in
31749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31750 *) ac_try_echo=$ac_try;;
31751 esac
31752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31753 (eval "$ac_compile") 2>conftest.er1
31754 ac_status=$?
31755 grep -v '^ *+' conftest.er1 >conftest.err
31756 rm -f conftest.er1
31757 cat conftest.err >&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); } && {
31760 test -z "$ac_c_werror_flag" ||
31761 test ! -s conftest.err
31762 } && test -s conftest.$ac_objext; then
31763 wx_cv_lib_motif2="yes"
31764 else
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.$ac_ext >&5
31767
31768 wx_cv_lib_motif2="no"
31769 fi
31770
31771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31772 fi
31773 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31774 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31775 if test "$wx_cv_lib_motif2" = "yes"; then
31776 cat >>confdefs.h <<\_ACEOF
31777 #define __WXMOTIF20__ 1
31778 _ACEOF
31779
31780 else
31781 cat >>confdefs.h <<\_ACEOF
31782 #define __WXMOTIF20__ 0
31783 _ACEOF
31784
31785 fi
31786
31787 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31788 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31789 if test "${wx_cv_lib_lesstif+set}" = set; then
31790 echo $ECHO_N "(cached) $ECHO_C" >&6
31791 else
31792 cat >conftest.$ac_ext <<_ACEOF
31793 /* confdefs.h. */
31794 _ACEOF
31795 cat confdefs.h >>conftest.$ac_ext
31796 cat >>conftest.$ac_ext <<_ACEOF
31797 /* end confdefs.h. */
31798
31799 #include <Xm/Xm.h>
31800
31801 int
31802 main ()
31803 {
31804
31805 #if !defined(LesstifVersion) || LesstifVersion <= 0
31806 Not Lesstif
31807 #endif
31808
31809 ;
31810 return 0;
31811 }
31812 _ACEOF
31813 rm -f conftest.$ac_objext
31814 if { (ac_try="$ac_compile"
31815 case "(($ac_try" in
31816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31817 *) ac_try_echo=$ac_try;;
31818 esac
31819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31820 (eval "$ac_compile") 2>conftest.er1
31821 ac_status=$?
31822 grep -v '^ *+' conftest.er1 >conftest.err
31823 rm -f conftest.er1
31824 cat conftest.err >&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } && {
31827 test -z "$ac_c_werror_flag" ||
31828 test ! -s conftest.err
31829 } && test -s conftest.$ac_objext; then
31830 wx_cv_lib_lesstif="yes"
31831 else
31832 echo "$as_me: failed program was:" >&5
31833 sed 's/^/| /' conftest.$ac_ext >&5
31834
31835 wx_cv_lib_lesstif="no"
31836 fi
31837
31838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31839
31840 fi
31841 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31842 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31843 if test "$wx_cv_lib_lesstif" = "yes"; then
31844 cat >>confdefs.h <<\_ACEOF
31845 #define __WXLESSTIF__ 1
31846 _ACEOF
31847
31848 else
31849 cat >>confdefs.h <<\_ACEOF
31850 #define __WXLESSTIF__ 0
31851 _ACEOF
31852
31853 fi
31854
31855 CFLAGS=$save_CFLAGS
31856
31857 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31858 TOOLKIT=MOTIF
31859 GUIDIST=MOTIF_DIST
31860 fi
31861
31862 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31863 if test "$wxUSE_LIBXPM" = "sys"; then
31864 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31865 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31866
31867 ac_find_libraries=
31868 for ac_dir in $SEARCH_LIB;
31869 do
31870 for ac_extension in a so sl dylib dll.a; do
31871 if test -f "$ac_dir/libXpm.$ac_extension"; then
31872 ac_find_libraries=$ac_dir
31873 break 2
31874 fi
31875 done
31876 done
31877
31878 if test "$ac_find_libraries" != "" ; then
31879
31880 if test "$ac_find_libraries" = "default location"; then
31881 ac_path_to_link=""
31882 else
31883 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31884 result=$?
31885 if test $result = 0; then
31886 ac_path_to_link=""
31887 else
31888 ac_path_to_link=" -L$ac_find_libraries"
31889 fi
31890 fi
31891
31892 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31893 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31894 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31895
31896 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31897 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31898 if test "${wx_cv_x11_xpm_h+set}" = set; then
31899 echo $ECHO_N "(cached) $ECHO_C" >&6
31900 else
31901
31902 save_CFLAGS=$CFLAGS
31903 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31904
31905 cat >conftest.$ac_ext <<_ACEOF
31906 /* confdefs.h. */
31907 _ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31911
31912 #include <X11/xpm.h>
31913
31914 int
31915 main ()
31916 {
31917
31918 int version;
31919 version = XpmLibraryVersion();
31920
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 rm -f conftest.$ac_objext
31926 if { (ac_try="$ac_compile"
31927 case "(($ac_try" in
31928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31929 *) ac_try_echo=$ac_try;;
31930 esac
31931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31932 (eval "$ac_compile") 2>conftest.er1
31933 ac_status=$?
31934 grep -v '^ *+' conftest.er1 >conftest.err
31935 rm -f conftest.er1
31936 cat conftest.err >&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); } && {
31939 test -z "$ac_c_werror_flag" ||
31940 test ! -s conftest.err
31941 } && test -s conftest.$ac_objext; then
31942 wx_cv_x11_xpm_h=yes
31943 else
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.$ac_ext >&5
31946
31947 wx_cv_x11_xpm_h=no
31948
31949 fi
31950
31951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31952
31953 CFLAGS=$save_CFLAGS
31954
31955
31956 fi
31957 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31958 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31959
31960 if test $wx_cv_x11_xpm_h = "yes"; then
31961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31962 cat >>confdefs.h <<\_ACEOF
31963 #define wxHAVE_LIB_XPM 1
31964 _ACEOF
31965
31966 else
31967 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31968 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31969 fi
31970 fi
31971
31972 fi
31973
31974 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31975 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31976 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31977 echo $ECHO_N "(cached) $ECHO_C" >&6
31978 else
31979 ac_check_lib_save_LIBS=$LIBS
31980 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31981 cat >conftest.$ac_ext <<_ACEOF
31982 /* confdefs.h. */
31983 _ACEOF
31984 cat confdefs.h >>conftest.$ac_ext
31985 cat >>conftest.$ac_ext <<_ACEOF
31986 /* end confdefs.h. */
31987
31988 /* Override any GCC internal prototype to avoid an error.
31989 Use char because int might match the return type of a GCC
31990 builtin and then its argument prototype would still apply. */
31991 #ifdef __cplusplus
31992 extern "C"
31993 #endif
31994 char XShapeQueryExtension ();
31995 int
31996 main ()
31997 {
31998 return XShapeQueryExtension ();
31999 ;
32000 return 0;
32001 }
32002 _ACEOF
32003 rm -f conftest.$ac_objext conftest$ac_exeext
32004 if { (ac_try="$ac_link"
32005 case "(($ac_try" in
32006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32007 *) ac_try_echo=$ac_try;;
32008 esac
32009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32010 (eval "$ac_link") 2>conftest.er1
32011 ac_status=$?
32012 grep -v '^ *+' conftest.er1 >conftest.err
32013 rm -f conftest.er1
32014 cat conftest.err >&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } && {
32017 test -z "$ac_c_werror_flag" ||
32018 test ! -s conftest.err
32019 } && test -s conftest$ac_exeext &&
32020 $as_test_x conftest$ac_exeext; then
32021 ac_cv_lib_Xext_XShapeQueryExtension=yes
32022 else
32023 echo "$as_me: failed program was:" >&5
32024 sed 's/^/| /' conftest.$ac_ext >&5
32025
32026 ac_cv_lib_Xext_XShapeQueryExtension=no
32027 fi
32028
32029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32030 conftest$ac_exeext conftest.$ac_ext
32031 LIBS=$ac_check_lib_save_LIBS
32032 fi
32033 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32034 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32035 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32036
32037 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32038 wxHAVE_XEXT_LIB=1
32039
32040 fi
32041
32042
32043 if test "$wxHAVE_XEXT_LIB" = 1; then
32044 save_CFLAGS="$CFLAGS"
32045 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32046
32047 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32048 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32049 cat >conftest.$ac_ext <<_ACEOF
32050 /* confdefs.h. */
32051 _ACEOF
32052 cat confdefs.h >>conftest.$ac_ext
32053 cat >>conftest.$ac_ext <<_ACEOF
32054 /* end confdefs.h. */
32055
32056 #include <X11/Xlib.h>
32057 #include <X11/extensions/shape.h>
32058
32059 int
32060 main ()
32061 {
32062
32063 int dummy1, dummy2;
32064 XShapeQueryExtension((Display*)NULL,
32065 (int*)NULL, (int*)NULL);
32066
32067 ;
32068 return 0;
32069 }
32070 _ACEOF
32071 rm -f conftest.$ac_objext
32072 if { (ac_try="$ac_compile"
32073 case "(($ac_try" in
32074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32075 *) ac_try_echo=$ac_try;;
32076 esac
32077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32078 (eval "$ac_compile") 2>conftest.er1
32079 ac_status=$?
32080 grep -v '^ *+' conftest.er1 >conftest.err
32081 rm -f conftest.er1
32082 cat conftest.err >&5
32083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084 (exit $ac_status); } && {
32085 test -z "$ac_c_werror_flag" ||
32086 test ! -s conftest.err
32087 } && test -s conftest.$ac_objext; then
32088
32089 cat >>confdefs.h <<\_ACEOF
32090 #define HAVE_XSHAPE 1
32091 _ACEOF
32092
32093 { echo "$as_me:$LINENO: result: found" >&5
32094 echo "${ECHO_T}found" >&6; }
32095
32096 else
32097 echo "$as_me: failed program was:" >&5
32098 sed 's/^/| /' conftest.$ac_ext >&5
32099
32100
32101 { echo "$as_me:$LINENO: result: not found" >&5
32102 echo "${ECHO_T}not found" >&6; }
32103
32104 fi
32105
32106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32107 CFLAGS="$save_CFLAGS"
32108
32109 fi
32110 fi
32111
32112 if test "$wxUSE_MAC" = 1; then
32113 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32114 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32115 if test "$GCC" = yes; then
32116 { echo "$as_me:$LINENO: result: gcc" >&5
32117 echo "${ECHO_T}gcc" >&6; }
32118 CPPFLAGS_PASCAL="-fpascal-strings"
32119 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32120 { echo "$as_me:$LINENO: result: xlc" >&5
32121 echo "${ECHO_T}xlc" >&6; }
32122 CPPFLAGS_PASCAL="-qmacpstr"
32123 else
32124 { echo "$as_me:$LINENO: result: none" >&5
32125 echo "${ECHO_T}none" >&6; }
32126 fi
32127
32128 if test "x$wxUSE_UNIX" = "xyes"; then
32129 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32130 else
32131 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32132 fi
32133
32134 TOOLKIT=MAC
32135 GUIDIST=MACX_DIST
32136 WXBASEPORT="_carbon"
32137 fi
32138
32139 if test "$wxUSE_COCOA" = 1; then
32140 TOOLKIT=COCOA
32141 GUIDIST=COCOA_DIST
32142 fi
32143
32144 if test "$wxUSE_PM" = 1; then
32145 TOOLKIT=PM
32146 GUIDIST=PM_DIST
32147 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32148 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32149 if test "${wx_cv_spbcdata+set}" = set; then
32150 echo $ECHO_N "(cached) $ECHO_C" >&6
32151 else
32152
32153 cat >conftest.$ac_ext <<_ACEOF
32154 /* confdefs.h. */
32155 _ACEOF
32156 cat confdefs.h >>conftest.$ac_ext
32157 cat >>conftest.$ac_ext <<_ACEOF
32158 /* end confdefs.h. */
32159
32160 #define INCL_PM
32161 #include <os2.h>
32162
32163 int
32164 main ()
32165 {
32166
32167 SPBCDATA test;
32168
32169 ;
32170 return 0;
32171 }
32172 _ACEOF
32173 rm -f conftest.$ac_objext
32174 if { (ac_try="$ac_compile"
32175 case "(($ac_try" in
32176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32177 *) ac_try_echo=$ac_try;;
32178 esac
32179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32180 (eval "$ac_compile") 2>conftest.er1
32181 ac_status=$?
32182 grep -v '^ *+' conftest.er1 >conftest.err
32183 rm -f conftest.er1
32184 cat conftest.err >&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } && {
32187 test -z "$ac_c_werror_flag" ||
32188 test ! -s conftest.err
32189 } && test -s conftest.$ac_objext; then
32190 wx_cv_spbcdata=yes
32191 else
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.$ac_ext >&5
32194
32195 wx_cv_spbcdata=no
32196
32197 fi
32198
32199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32200
32201
32202 fi
32203 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32204 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32205
32206 if test $wx_cv_spbcdata = "yes"; then
32207 cat >>confdefs.h <<\_ACEOF
32208 #define HAVE_SPBCDATA 1
32209 _ACEOF
32210
32211 fi
32212 fi
32213
32214 if test "$TOOLKIT" = "PM" ; then
32215 TOOLKIT_DIR="os2"
32216 else
32217 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32218 fi
32219
32220 if test "$wxUSE_UNIVERSAL" = "yes"; then
32221 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32222 WIDGET_SET=univ
32223 fi
32224
32225 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32226 DISTDIR="wx\$(TOOLKIT)"
32227 else
32228 USE_GUI=0
32229
32230 TOOLKIT_DIR="base"
32231
32232 if test "$USE_WIN32" = 1 ; then
32233 TOOLKIT="MSW"
32234 fi
32235
32236 GUIDIST="BASE_DIST"
32237 DISTDIR="wxBase"
32238 fi
32239
32240
32241
32242 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32243 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32244 wxUSE_UNICODE_UTF8=yes
32245 elif test "$USE_OS2" = 1 ; then
32246 wxUSE_UNICODE_UTF8=yes
32247 else
32248 wxUSE_UNICODE_UTF8=no
32249 fi
32250 fi
32251
32252
32253 if test "$wxUSE_GUI" = "yes"; then
32254 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32255
32256 for ac_header in X11/Xlib.h
32257 do
32258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32259 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32262 echo $ECHO_N "(cached) $ECHO_C" >&6
32263 else
32264 cat >conftest.$ac_ext <<_ACEOF
32265 /* confdefs.h. */
32266 _ACEOF
32267 cat confdefs.h >>conftest.$ac_ext
32268 cat >>conftest.$ac_ext <<_ACEOF
32269 /* end confdefs.h. */
32270
32271
32272 #include <$ac_header>
32273 _ACEOF
32274 rm -f conftest.$ac_objext
32275 if { (ac_try="$ac_compile"
32276 case "(($ac_try" in
32277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32278 *) ac_try_echo=$ac_try;;
32279 esac
32280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32281 (eval "$ac_compile") 2>conftest.er1
32282 ac_status=$?
32283 grep -v '^ *+' conftest.er1 >conftest.err
32284 rm -f conftest.er1
32285 cat conftest.err >&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } && {
32288 test -z "$ac_c_werror_flag" ||
32289 test ! -s conftest.err
32290 } && test -s conftest.$ac_objext; then
32291 eval "$as_ac_Header=yes"
32292 else
32293 echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.$ac_ext >&5
32295
32296 eval "$as_ac_Header=no"
32297 fi
32298
32299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32300 fi
32301 ac_res=`eval echo '${'$as_ac_Header'}'`
32302 { echo "$as_me:$LINENO: result: $ac_res" >&5
32303 echo "${ECHO_T}$ac_res" >&6; }
32304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32305 cat >>confdefs.h <<_ACEOF
32306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32307 _ACEOF
32308
32309 fi
32310
32311 done
32312
32313
32314 for ac_header in X11/XKBlib.h
32315 do
32316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32317 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32319 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32321 else
32322 cat >conftest.$ac_ext <<_ACEOF
32323 /* confdefs.h. */
32324 _ACEOF
32325 cat confdefs.h >>conftest.$ac_ext
32326 cat >>conftest.$ac_ext <<_ACEOF
32327 /* end confdefs.h. */
32328
32329 #if HAVE_X11_XLIB_H
32330 #include <X11/Xlib.h>
32331 #endif
32332
32333
32334 #include <$ac_header>
32335 _ACEOF
32336 rm -f conftest.$ac_objext
32337 if { (ac_try="$ac_compile"
32338 case "(($ac_try" in
32339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32340 *) ac_try_echo=$ac_try;;
32341 esac
32342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32343 (eval "$ac_compile") 2>conftest.er1
32344 ac_status=$?
32345 grep -v '^ *+' conftest.er1 >conftest.err
32346 rm -f conftest.er1
32347 cat conftest.err >&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } && {
32350 test -z "$ac_c_werror_flag" ||
32351 test ! -s conftest.err
32352 } && test -s conftest.$ac_objext; then
32353 eval "$as_ac_Header=yes"
32354 else
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.$ac_ext >&5
32357
32358 eval "$as_ac_Header=no"
32359 fi
32360
32361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32362 fi
32363 ac_res=`eval echo '${'$as_ac_Header'}'`
32364 { echo "$as_me:$LINENO: result: $ac_res" >&5
32365 echo "${ECHO_T}$ac_res" >&6; }
32366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32367 cat >>confdefs.h <<_ACEOF
32368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32369 _ACEOF
32370
32371 fi
32372
32373 done
32374
32375 fi
32376 fi
32377
32378
32379
32380 if test "$wxUSE_DISPLAY" = "yes"; then
32381 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32382 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32383 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32384
32385 ac_find_libraries=
32386 for ac_dir in $SEARCH_LIB;
32387 do
32388 for ac_extension in a so sl dylib dll.a; do
32389 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32390 ac_find_libraries=$ac_dir
32391 break 2
32392 fi
32393 done
32394 done
32395
32396 if test "$ac_find_libraries" != "" ; then
32397
32398 if test "$ac_find_libraries" = "default location"; then
32399 ac_path_to_link=""
32400 else
32401 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32402 result=$?
32403 if test $result = 0; then
32404 ac_path_to_link=""
32405 else
32406 ac_path_to_link=" -L$ac_find_libraries"
32407 fi
32408 fi
32409
32410 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32411 LDFLAGS="$LDFLAGS $ac_path_to_link"
32412 fi
32413 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32414 { echo "$as_me:$LINENO: result: yes" >&5
32415 echo "${ECHO_T}yes" >&6; }
32416
32417 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32418 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32419
32420 ac_find_libraries=
32421 for ac_dir in $SEARCH_LIB;
32422 do
32423 for ac_extension in a so sl dylib dll.a; do
32424 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32425 ac_find_libraries=$ac_dir
32426 break 2
32427 fi
32428 done
32429 done
32430
32431 if test "$ac_find_libraries" != "" ; then
32432 { echo "$as_me:$LINENO: result: yes" >&5
32433 echo "${ECHO_T}yes" >&6; }
32434
32435 for ac_header in X11/extensions/xf86vmode.h
32436 do
32437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 else
32443 cat >conftest.$ac_ext <<_ACEOF
32444 /* confdefs.h. */
32445 _ACEOF
32446 cat confdefs.h >>conftest.$ac_ext
32447 cat >>conftest.$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32449
32450 #if HAVE_X11_XLIB_H
32451 #include <X11/Xlib.h>
32452 #endif
32453
32454
32455 #include <$ac_header>
32456 _ACEOF
32457 rm -f conftest.$ac_objext
32458 if { (ac_try="$ac_compile"
32459 case "(($ac_try" in
32460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32461 *) ac_try_echo=$ac_try;;
32462 esac
32463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32464 (eval "$ac_compile") 2>conftest.er1
32465 ac_status=$?
32466 grep -v '^ *+' conftest.er1 >conftest.err
32467 rm -f conftest.er1
32468 cat conftest.err >&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } && {
32471 test -z "$ac_c_werror_flag" ||
32472 test ! -s conftest.err
32473 } && test -s conftest.$ac_objext; then
32474 eval "$as_ac_Header=yes"
32475 else
32476 echo "$as_me: failed program was:" >&5
32477 sed 's/^/| /' conftest.$ac_ext >&5
32478
32479 eval "$as_ac_Header=no"
32480 fi
32481
32482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32483 fi
32484 ac_res=`eval echo '${'$as_ac_Header'}'`
32485 { echo "$as_me:$LINENO: result: $ac_res" >&5
32486 echo "${ECHO_T}$ac_res" >&6; }
32487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32488 cat >>confdefs.h <<_ACEOF
32489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32490 _ACEOF
32491
32492 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32493
32494 fi
32495
32496 done
32497
32498 else
32499 { echo "$as_me:$LINENO: result: no" >&5
32500 echo "${ECHO_T}no" >&6; }
32501 fi
32502
32503 else
32504 { echo "$as_me:$LINENO: result: no" >&5
32505 echo "${ECHO_T}no" >&6; }
32506 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32507 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32508 wxUSE_DISPLAY="no"
32509 fi
32510 elif test "$wxUSE_MSW" = 1; then
32511 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32512 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32513 if test "${ac_cv_header_ddraw_h+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515 else
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522 #include <windows.h>
32523
32524 #include <ddraw.h>
32525 _ACEOF
32526 rm -f conftest.$ac_objext
32527 if { (ac_try="$ac_compile"
32528 case "(($ac_try" in
32529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32530 *) ac_try_echo=$ac_try;;
32531 esac
32532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32533 (eval "$ac_compile") 2>conftest.er1
32534 ac_status=$?
32535 grep -v '^ *+' conftest.er1 >conftest.err
32536 rm -f conftest.er1
32537 cat conftest.err >&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } && {
32540 test -z "$ac_c_werror_flag" ||
32541 test ! -s conftest.err
32542 } && test -s conftest.$ac_objext; then
32543 ac_cv_header_ddraw_h=yes
32544 else
32545 echo "$as_me: failed program was:" >&5
32546 sed 's/^/| /' conftest.$ac_ext >&5
32547
32548 ac_cv_header_ddraw_h=no
32549 fi
32550
32551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32552 fi
32553 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32554 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32555
32556
32557 fi
32558 fi
32559
32560 if test "$wxUSE_DETECT_SM" = "yes"; then
32561 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32562 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32563 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32564
32565 ac_find_libraries=
32566 for ac_dir in $SEARCH_LIB;
32567 do
32568 for ac_extension in a so sl dylib dll.a; do
32569 if test -f "$ac_dir/libSM.$ac_extension"; then
32570 ac_find_libraries=$ac_dir
32571 break 2
32572 fi
32573 done
32574 done
32575
32576 if test "$ac_find_libraries" != "" ; then
32577
32578 if test "$ac_find_libraries" = "default location"; then
32579 ac_path_to_link=""
32580 else
32581 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32582 result=$?
32583 if test $result = 0; then
32584 ac_path_to_link=""
32585 else
32586 ac_path_to_link=" -L$ac_find_libraries"
32587 fi
32588 fi
32589
32590 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32591 LDFLAGS="$LDFLAGS $ac_path_to_link"
32592 fi
32593 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32594 { echo "$as_me:$LINENO: result: yes" >&5
32595 echo "${ECHO_T}yes" >&6; }
32596 else
32597 { echo "$as_me:$LINENO: result: no" >&5
32598 echo "${ECHO_T}no" >&6; }
32599 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32600 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32601 wxUSE_DETECT_SM="no"
32602 fi
32603 else
32604 wxUSE_DETECT_SM="no"
32605 fi
32606 fi
32607
32608
32609
32610 USE_OPENGL=0
32611 if test "$wxUSE_OPENGL" = "yes"; then
32612 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32613 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32614 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32615 wxUSE_OPENGL="no"
32616 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32617 OPENGL_LIBS="-framework OpenGL -framework AGL"
32618 elif test "$wxUSE_MSW" = 1; then
32619 OPENGL_LIBS="-lopengl32 -lglu32"
32620 else
32621 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32622 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32623
32624 ac_find_includes=
32625 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32626 do
32627 if test -f "$ac_dir/GL/gl.h"; then
32628 ac_find_includes=$ac_dir
32629 break
32630 fi
32631 done
32632
32633 if test "$ac_find_includes" != "" ; then
32634 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32635 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32636
32637 if test "x$ac_find_includes" = "x/usr/include"; then
32638 ac_path_to_include=""
32639 else
32640 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32641 result=$?
32642 if test $result = 0; then
32643 ac_path_to_include=""
32644 else
32645 ac_path_to_include=" -I$ac_find_includes"
32646 fi
32647 fi
32648
32649 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32650 else
32651 { echo "$as_me:$LINENO: result: not found" >&5
32652 echo "${ECHO_T}not found" >&6; }
32653 fi
32654
32655 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32656 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32657 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32658 echo $ECHO_N "(cached) $ECHO_C" >&6
32659 else
32660 cat >conftest.$ac_ext <<_ACEOF
32661 /* confdefs.h. */
32662 _ACEOF
32663 cat confdefs.h >>conftest.$ac_ext
32664 cat >>conftest.$ac_ext <<_ACEOF
32665 /* end confdefs.h. */
32666
32667
32668 #include <GL/gl.h>
32669 _ACEOF
32670 rm -f conftest.$ac_objext
32671 if { (ac_try="$ac_compile"
32672 case "(($ac_try" in
32673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32674 *) ac_try_echo=$ac_try;;
32675 esac
32676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32677 (eval "$ac_compile") 2>conftest.er1
32678 ac_status=$?
32679 grep -v '^ *+' conftest.er1 >conftest.err
32680 rm -f conftest.er1
32681 cat conftest.err >&5
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); } && {
32684 test -z "$ac_c_werror_flag" ||
32685 test ! -s conftest.err
32686 } && test -s conftest.$ac_objext; then
32687 ac_cv_header_GL_gl_h=yes
32688 else
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32691
32692 ac_cv_header_GL_gl_h=no
32693 fi
32694
32695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32696 fi
32697 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32698 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32699 if test $ac_cv_header_GL_gl_h = yes; then
32700
32701 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32702 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32703 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32704 echo $ECHO_N "(cached) $ECHO_C" >&6
32705 else
32706 cat >conftest.$ac_ext <<_ACEOF
32707 /* confdefs.h. */
32708 _ACEOF
32709 cat confdefs.h >>conftest.$ac_ext
32710 cat >>conftest.$ac_ext <<_ACEOF
32711 /* end confdefs.h. */
32712
32713
32714 #include <GL/glu.h>
32715 _ACEOF
32716 rm -f conftest.$ac_objext
32717 if { (ac_try="$ac_compile"
32718 case "(($ac_try" in
32719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32720 *) ac_try_echo=$ac_try;;
32721 esac
32722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32723 (eval "$ac_compile") 2>conftest.er1
32724 ac_status=$?
32725 grep -v '^ *+' conftest.er1 >conftest.err
32726 rm -f conftest.er1
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); } && {
32730 test -z "$ac_c_werror_flag" ||
32731 test ! -s conftest.err
32732 } && test -s conftest.$ac_objext; then
32733 ac_cv_header_GL_glu_h=yes
32734 else
32735 echo "$as_me: failed program was:" >&5
32736 sed 's/^/| /' conftest.$ac_ext >&5
32737
32738 ac_cv_header_GL_glu_h=no
32739 fi
32740
32741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32742 fi
32743 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32744 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32745 if test $ac_cv_header_GL_glu_h = yes; then
32746
32747 found_gl=0
32748
32749 { echo "$as_me:$LINENO: checking for -lGL" >&5
32750 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32751
32752 ac_find_libraries=
32753 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32754 do
32755 for ac_extension in a so sl dylib dll.a; do
32756 if test -f "$ac_dir/libGL.$ac_extension"; then
32757 ac_find_libraries=$ac_dir
32758 break 2
32759 fi
32760 done
32761 done
32762
32763 if test "$ac_find_libraries" != "" ; then
32764 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32765 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32766
32767
32768 if test "$ac_find_libraries" = "default location"; then
32769 ac_path_to_link=""
32770 else
32771 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32772 result=$?
32773 if test $result = 0; then
32774 ac_path_to_link=""
32775 else
32776 ac_path_to_link=" -L$ac_find_libraries"
32777 fi
32778 fi
32779
32780 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32781 LDFLAGS_GL="$ac_path_to_link"
32782 fi
32783
32784 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32785 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32786
32787 ac_find_libraries=
32788 for ac_dir in $SEARCH_LIB;
32789 do
32790 for ac_extension in a so sl dylib dll.a; do
32791 if test -f "$ac_dir/libGLU.$ac_extension"; then
32792 ac_find_libraries=$ac_dir
32793 break 2
32794 fi
32795 done
32796 done
32797
32798 if test "$ac_find_libraries" != "" ; then
32799
32800 if test "$ac_find_libraries" = "default location"; then
32801 ac_path_to_link=""
32802 else
32803 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32804 result=$?
32805 if test $result = 0; then
32806 ac_path_to_link=""
32807 else
32808 ac_path_to_link=" -L$ac_find_libraries"
32809 fi
32810 fi
32811
32812 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32813 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32814 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32815 fi
32816
32817 found_gl=1
32818 OPENGL_LIBS="-lGL -lGLU"
32819 { echo "$as_me:$LINENO: result: yes" >&5
32820 echo "${ECHO_T}yes" >&6; }
32821 else
32822 { echo "$as_me:$LINENO: result: no" >&5
32823 echo "${ECHO_T}no" >&6; }
32824 fi
32825 else
32826 { echo "$as_me:$LINENO: result: no" >&5
32827 echo "${ECHO_T}no" >&6; }
32828 fi
32829
32830 if test "$found_gl" != 1; then
32831 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32832 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32833
32834 ac_find_libraries=
32835 for ac_dir in $SEARCH_LIB;
32836 do
32837 for ac_extension in a so sl dylib dll.a; do
32838 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32839 ac_find_libraries=$ac_dir
32840 break 2
32841 fi
32842 done
32843 done
32844
32845 if test "$ac_find_libraries" != "" ; then
32846
32847 if test "$ac_find_libraries" = "default location"; then
32848 ac_path_to_link=""
32849 else
32850 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32851 result=$?
32852 if test $result = 0; then
32853 ac_path_to_link=""
32854 else
32855 ac_path_to_link=" -L$ac_find_libraries"
32856 fi
32857 fi
32858
32859 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32860 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32861 { echo "$as_me:$LINENO: result: yes" >&5
32862 echo "${ECHO_T}yes" >&6; }
32863 else
32864 { echo "$as_me:$LINENO: result: no" >&5
32865 echo "${ECHO_T}no" >&6; }
32866 fi
32867 fi
32868
32869 fi
32870
32871
32872
32873 fi
32874
32875
32876
32877 if test "x$OPENGL_LIBS" = "x"; then
32878 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32879 echo "$as_me: error: OpenGL libraries not available" >&2;}
32880 { (exit 1); exit 1; }; }
32881 fi
32882 fi
32883
32884 if test "$wxUSE_OPENGL" = "yes"; then
32885 USE_OPENGL=1
32886 cat >>confdefs.h <<\_ACEOF
32887 #define wxUSE_OPENGL 1
32888 _ACEOF
32889
32890 cat >>confdefs.h <<\_ACEOF
32891 #define wxUSE_GLCANVAS 1
32892 _ACEOF
32893
32894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32895 fi
32896 fi
32897
32898
32899 if test -n "$TOOLKIT" ; then
32900 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32901 fi
32902
32903
32904
32905 if test "$wxUSE_SHARED" = "yes"; then
32906 case "${host}" in
32907 *-pc-msdosdjgpp )
32908 wxUSE_SHARED=no
32909 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32910 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32911 ;;
32912 esac
32913 fi
32914
32915 if test "$wxUSE_SHARED" = "yes"; then
32916
32917
32918 case "${host}" in
32919 *-*-cygwin* | *-*-mingw* )
32920 wx_cv_version_script=no
32921 ;;
32922
32923 *)
32924 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32925 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32926 if test "${wx_cv_version_script+set}" = set; then
32927 echo $ECHO_N "(cached) $ECHO_C" >&6
32928 else
32929
32930 echo "VER_1 { *; };" >conftest.sym
32931 echo "int main() { return 0; }" >conftest.cpp
32932
32933 if { ac_try='
32934 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32935 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32937 (eval $ac_try) 2>&5
32938 ac_status=$?
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); }; } ; then
32941 if test -s conftest.stderr ; then
32942 wx_cv_version_script=no
32943 else
32944 wx_cv_version_script=yes
32945 fi
32946 else
32947 wx_cv_version_script=no
32948 fi
32949
32950 if test $wx_cv_version_script = yes
32951 then
32952 echo "struct B { virtual ~B() { } }; \
32953 struct D : public B { }; \
32954 void F() { D d; }" > conftest.cpp
32955
32956 if { ac_try='
32957 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32958 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32960 (eval $ac_try) 2>&5
32961 ac_status=$?
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); }; } &&
32964 { ac_try='
32965 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32966 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32968 (eval $ac_try) 2>&5
32969 ac_status=$?
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); }; }
32972 then
32973 if { ac_try='
32974 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32975 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32977 (eval $ac_try) 2>&5
32978 ac_status=$?
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; }
32981 then
32982 wx_cv_version_script=yes
32983 else
32984 wx_cv_version_script=no
32985 fi
32986 fi
32987 fi
32988
32989 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32990 rm -f conftest1.output conftest2.output conftest3.output
32991
32992 fi
32993 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32994 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32995
32996 if test $wx_cv_version_script = yes ; then
32997 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32998 fi
32999 ;;
33000 esac
33001
33002
33003 if test "$wxUSE_VISIBILITY" != "no"; then
33004
33005
33006 if test -n "$GCC"; then
33007 CFLAGS_VISIBILITY="-fvisibility=hidden"
33008 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33009 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33010 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33011 if test "${wx_cv_cc_visibility+set}" = set; then
33012 echo $ECHO_N "(cached) $ECHO_C" >&6
33013 else
33014
33015 wx_save_CXXFLAGS="$CXXFLAGS"
33016 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33017 ac_ext=cpp
33018 ac_cpp='$CXXCPP $CPPFLAGS'
33019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33022
33023 cat >conftest.$ac_ext <<_ACEOF
33024 /* confdefs.h. */
33025 _ACEOF
33026 cat confdefs.h >>conftest.$ac_ext
33027 cat >>conftest.$ac_ext <<_ACEOF
33028 /* end confdefs.h. */
33029
33030 /* we need gcc >= 4.0, older versions with visibility support
33031 didn't have class visibility: */
33032 #if defined(__GNUC__) && __GNUC__ < 4
33033 error this gcc is too old;
33034 #endif
33035
33036 /* visibility only makes sense for ELF shared libs: */
33037 #if !defined(__ELF__) && !defined(__APPLE__)
33038 error this platform has no visibility;
33039 #endif
33040
33041 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33042 extern __attribute__((__visibility__("default"))) int exportedvar;
33043 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33044 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33045 class __attribute__((__visibility__("default"))) Foo {
33046 Foo() {}
33047 };
33048
33049 int
33050 main ()
33051 {
33052
33053 ;
33054 return 0;
33055 }
33056 _ACEOF
33057 rm -f conftest.$ac_objext
33058 if { (ac_try="$ac_compile"
33059 case "(($ac_try" in
33060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33061 *) ac_try_echo=$ac_try;;
33062 esac
33063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33064 (eval "$ac_compile") 2>conftest.er1
33065 ac_status=$?
33066 grep -v '^ *+' conftest.er1 >conftest.err
33067 rm -f conftest.er1
33068 cat conftest.err >&5
33069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33070 (exit $ac_status); } && {
33071 test -z "$ac_cxx_werror_flag" ||
33072 test ! -s conftest.err
33073 } && test -s conftest.$ac_objext; then
33074 wx_cv_cc_visibility=yes
33075 else
33076 echo "$as_me: failed program was:" >&5
33077 sed 's/^/| /' conftest.$ac_ext >&5
33078
33079 wx_cv_cc_visibility=no
33080 fi
33081
33082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33083 ac_ext=c
33084 ac_cpp='$CPP $CPPFLAGS'
33085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33088
33089 CXXFLAGS="$wx_save_CXXFLAGS"
33090 fi
33091
33092 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33093 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33094 if test $wx_cv_cc_visibility = yes; then
33095 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33096 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33097 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 else
33100
33101 wx_save_CXXFLAGS="$CXXFLAGS"
33102 wx_save_LDFLAGS="$LDFLAGS"
33103 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33104 LDFLAGS="$LDFLAGS -shared -fPIC"
33105 ac_ext=cpp
33106 ac_cpp='$CXXCPP $CPPFLAGS'
33107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33110
33111 cat >conftest.$ac_ext <<_ACEOF
33112 /* confdefs.h. */
33113 _ACEOF
33114 cat confdefs.h >>conftest.$ac_ext
33115 cat >>conftest.$ac_ext <<_ACEOF
33116 /* end confdefs.h. */
33117
33118 #include <string>
33119
33120 int
33121 main ()
33122 {
33123
33124 std::string s("hello");
33125 return s.length();
33126
33127 ;
33128 return 0;
33129 }
33130 _ACEOF
33131 rm -f conftest.$ac_objext conftest$ac_exeext
33132 if { (ac_try="$ac_link"
33133 case "(($ac_try" in
33134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33135 *) ac_try_echo=$ac_try;;
33136 esac
33137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33138 (eval "$ac_link") 2>conftest.er1
33139 ac_status=$?
33140 grep -v '^ *+' conftest.er1 >conftest.err
33141 rm -f conftest.er1
33142 cat conftest.err >&5
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); } && {
33145 test -z "$ac_cxx_werror_flag" ||
33146 test ! -s conftest.err
33147 } && test -s conftest$ac_exeext &&
33148 $as_test_x conftest$ac_exeext; then
33149 wx_cv_cc_broken_libstdcxx_visibility=no
33150 else
33151 echo "$as_me: failed program was:" >&5
33152 sed 's/^/| /' conftest.$ac_ext >&5
33153
33154 wx_cv_cc_broken_libstdcxx_visibility=yes
33155 fi
33156
33157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33158 conftest$ac_exeext conftest.$ac_ext
33159 ac_ext=c
33160 ac_cpp='$CPP $CPPFLAGS'
33161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33164
33165 CXXFLAGS="$wx_save_CXXFLAGS"
33166 LDFLAGS="$wx_save_LDFLAGS"
33167 fi
33168
33169 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33170 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33171
33172 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33173 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33174 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33175 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 else
33178
33179 ac_ext=cpp
33180 ac_cpp='$CXXCPP $CPPFLAGS'
33181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33184
33185 cat >conftest.$ac_ext <<_ACEOF
33186 /* confdefs.h. */
33187 _ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191
33192 #pragma GCC visibility push(default)
33193 #include <string>
33194 #pragma GCC visibility pop
33195
33196 int
33197 main ()
33198 {
33199
33200 std::string s("hello");
33201 return s.length();
33202
33203 ;
33204 return 0;
33205 }
33206 _ACEOF
33207 rm -f conftest.$ac_objext conftest$ac_exeext
33208 if { (ac_try="$ac_link"
33209 case "(($ac_try" in
33210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33211 *) ac_try_echo=$ac_try;;
33212 esac
33213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33214 (eval "$ac_link") 2>conftest.er1
33215 ac_status=$?
33216 grep -v '^ *+' conftest.er1 >conftest.err
33217 rm -f conftest.er1
33218 cat conftest.err >&5
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); } && {
33221 test -z "$ac_cxx_werror_flag" ||
33222 test ! -s conftest.err
33223 } && test -s conftest$ac_exeext &&
33224 $as_test_x conftest$ac_exeext; then
33225 wx_cv_cc_visibility_workaround=no
33226 else
33227 echo "$as_me: failed program was:" >&5
33228 sed 's/^/| /' conftest.$ac_ext >&5
33229
33230 wx_cv_cc_visibility_workaround=yes
33231 fi
33232
33233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33234 conftest$ac_exeext conftest.$ac_ext
33235 ac_ext=c
33236 ac_cpp='$CPP $CPPFLAGS'
33237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33240
33241
33242 fi
33243
33244 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33245 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33246
33247 if test $wx_cv_cc_visibility_workaround = no; then
33248 wx_cv_cc_visibility=no
33249 fi
33250 fi
33251 fi
33252
33253 if test $wx_cv_cc_visibility = yes; then
33254 cat >>confdefs.h <<\_ACEOF
33255 #define HAVE_VISIBILITY 1
33256 _ACEOF
33257
33258 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33259 cat >>confdefs.h <<\_ACEOF
33260 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33261 _ACEOF
33262
33263 fi
33264 else
33265 CFLAGS_VISIBILITY=""
33266 CXXFLAGS_VISIBILITY=""
33267 fi
33268
33269
33270 fi
33271
33272 fi
33273
33274 if test "x$SUNCXX" = xyes; then
33275 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33276 WXCONFIG_RPATH="-R\$libdir"
33277 else
33278 case "${host}" in
33279 *-*-linux* | *-*-gnu* )
33280 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33281 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33282 ;;
33283
33284 *-*-solaris2* )
33285
33286 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33287
33288 saveLdflags="$LDFLAGS"
33289 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33290 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33291 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33292 cat >conftest.$ac_ext <<_ACEOF
33293 /* confdefs.h. */
33294 _ACEOF
33295 cat confdefs.h >>conftest.$ac_ext
33296 cat >>conftest.$ac_ext <<_ACEOF
33297 /* end confdefs.h. */
33298
33299 int
33300 main ()
33301 {
33302
33303 ;
33304 return 0;
33305 }
33306 _ACEOF
33307 rm -f conftest.$ac_objext conftest$ac_exeext
33308 if { (ac_try="$ac_link"
33309 case "(($ac_try" in
33310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33311 *) ac_try_echo=$ac_try;;
33312 esac
33313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33314 (eval "$ac_link") 2>conftest.er1
33315 ac_status=$?
33316 grep -v '^ *+' conftest.er1 >conftest.err
33317 rm -f conftest.er1
33318 cat conftest.err >&5
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); } && {
33321 test -z "$ac_c_werror_flag" ||
33322 test ! -s conftest.err
33323 } && test -s conftest$ac_exeext &&
33324 $as_test_x conftest$ac_exeext; then
33325
33326 { echo "$as_me:$LINENO: result: yes" >&5
33327 echo "${ECHO_T}yes" >&6; }
33328 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33329 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33330
33331 else
33332 echo "$as_me: failed program was:" >&5
33333 sed 's/^/| /' conftest.$ac_ext >&5
33334
33335
33336 { echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6; }
33338 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33339 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33340 LDFLAGS="$saveLdflags -Wl,-R,/"
33341 cat >conftest.$ac_ext <<_ACEOF
33342 /* confdefs.h. */
33343 _ACEOF
33344 cat confdefs.h >>conftest.$ac_ext
33345 cat >>conftest.$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33347
33348 int
33349 main ()
33350 {
33351
33352 ;
33353 return 0;
33354 }
33355 _ACEOF
33356 rm -f conftest.$ac_objext conftest$ac_exeext
33357 if { (ac_try="$ac_link"
33358 case "(($ac_try" in
33359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33360 *) ac_try_echo=$ac_try;;
33361 esac
33362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33363 (eval "$ac_link") 2>conftest.er1
33364 ac_status=$?
33365 grep -v '^ *+' conftest.er1 >conftest.err
33366 rm -f conftest.er1
33367 cat conftest.err >&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); } && {
33370 test -z "$ac_c_werror_flag" ||
33371 test ! -s conftest.err
33372 } && test -s conftest$ac_exeext &&
33373 $as_test_x conftest$ac_exeext; then
33374
33375 { echo "$as_me:$LINENO: result: yes" >&5
33376 echo "${ECHO_T}yes" >&6; }
33377 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33378 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33379
33380 else
33381 echo "$as_me: failed program was:" >&5
33382 sed 's/^/| /' conftest.$ac_ext >&5
33383
33384
33385 { echo "$as_me:$LINENO: result: no" >&5
33386 echo "${ECHO_T}no" >&6; }
33387
33388 fi
33389
33390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33391 conftest$ac_exeext conftest.$ac_ext
33392
33393 fi
33394
33395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33396 conftest$ac_exeext conftest.$ac_ext
33397 LDFLAGS="$saveLdflags"
33398 ;;
33399
33400 *-*-darwin* )
33401 install_name_tool=`which install_name_tool`
33402 if test "$install_name_tool" -a -x "$install_name_tool"; then
33403 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33404 cat <<EOF >change-install-names
33405 #!/bin/sh
33406 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33407 inst_cmd="install_name_tool "
33408 for i in \${libnames} ; do
33409 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33410 done
33411 \${inst_cmd} \${3}
33412 EOF
33413 chmod +x change-install-names
33414 fi
33415 ;;
33416
33417 *-*-cygwin* | *-*-mingw32* )
33418 ;;
33419
33420 *-*-hpux* )
33421 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33422 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33423 ;;
33424
33425 esac
33426 fi
33427
33428 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33429
33430 if test $wxUSE_RPATH = "no"; then
33431 SAMPLES_RPATH_FLAG=''
33432 SAMPLES_RPATH_POSTLINK=''
33433 WXCONFIG_RPATH=''
33434 fi
33435
33436 SHARED=1
33437
33438 else
33439
33440 config_linkage_component="-static"
33441 SHARED=0
33442
33443 fi
33444
33445
33446 UNICODE=0
33447 lib_unicode_suffix=
33448 WX_CHARTYPE="ansi"
33449 if test "$wxUSE_UNICODE" = "yes"; then
33450 lib_unicode_suffix=u
33451 WX_CHARTYPE="unicode"
33452 UNICODE=1
33453 fi
33454
33455 lib_debug_suffix=
33456 WX_DEBUGTYPE="release"
33457 DEBUG_FLAG=0
33458 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33459 lib_debug_suffix=d
33460 WX_DEBUGTYPE="debug"
33461 DEBUG_FLAG=1
33462 fi
33463
33464 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33465 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33466
33467 DEBUG_INFO=0
33468 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33469 DEBUG_INFO=1
33470 fi
33471
33472 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33473
33474 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33475
33476 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33477
33478 if test "$cross_compiling" = "yes"; then
33479 HOST_SUFFIX="-$host_alias"
33480 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33481 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33482 fi
33483
33484 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33485 if test "${TOOLKIT_DIR}" = "os2"; then
33486 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33487 else
33488 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33489 fi
33490
33491
33492
33493 if test "$wxUSE_COCOA" = 1; then
33494
33495 ac_ext=c
33496 ac_cpp='$CPP $CPPFLAGS'
33497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33500
33501 ac_ext=m
33502
33503 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33504 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33505 cat >conftest.$ac_ext <<_ACEOF
33506 /* confdefs.h. */
33507 _ACEOF
33508 cat confdefs.h >>conftest.$ac_ext
33509 cat >>conftest.$ac_ext <<_ACEOF
33510 /* end confdefs.h. */
33511 #include <AppKit/NSEvent.h>
33512 #include <CoreFoundation/CoreFoundation.h>
33513
33514 int
33515 main ()
33516 {
33517
33518 ;
33519 return 0;
33520 }
33521 _ACEOF
33522 rm -f conftest.$ac_objext
33523 if { (ac_try="$ac_compile"
33524 case "(($ac_try" in
33525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33526 *) ac_try_echo=$ac_try;;
33527 esac
33528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33529 (eval "$ac_compile") 2>conftest.er1
33530 ac_status=$?
33531 grep -v '^ *+' conftest.er1 >conftest.err
33532 rm -f conftest.er1
33533 cat conftest.err >&5
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); } && {
33536 test -z "$ac_c_werror_flag" ||
33537 test ! -s conftest.err
33538 } && test -s conftest.$ac_objext; then
33539 { echo "$as_me:$LINENO: result: no" >&5
33540 echo "${ECHO_T}no" >&6; }
33541 else
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.$ac_ext >&5
33544
33545 { echo "$as_me:$LINENO: result: yes" >&5
33546 echo "${ECHO_T}yes" >&6; }
33547 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33548 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33549 cat >conftest.$ac_ext <<_ACEOF
33550 /* confdefs.h. */
33551 _ACEOF
33552 cat confdefs.h >>conftest.$ac_ext
33553 cat >>conftest.$ac_ext <<_ACEOF
33554 /* end confdefs.h. */
33555 #define __Point__ 1
33556 #include <AppKit/NSEvent.h>
33557 #include <CoreFoundation/CoreFoundation.h>
33558
33559 int
33560 main ()
33561 {
33562
33563 ;
33564 return 0;
33565 }
33566 _ACEOF
33567 rm -f conftest.$ac_objext
33568 if { (ac_try="$ac_compile"
33569 case "(($ac_try" in
33570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33571 *) ac_try_echo=$ac_try;;
33572 esac
33573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33574 (eval "$ac_compile") 2>conftest.er1
33575 ac_status=$?
33576 grep -v '^ *+' conftest.er1 >conftest.err
33577 rm -f conftest.er1
33578 cat conftest.err >&5
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); } && {
33581 test -z "$ac_c_werror_flag" ||
33582 test ! -s conftest.err
33583 } && test -s conftest.$ac_objext; then
33584 { echo "$as_me:$LINENO: result: yes" >&5
33585 echo "${ECHO_T}yes" >&6; }
33586 cat >>confdefs.h <<\_ACEOF
33587 #define __Point__ 1
33588 _ACEOF
33589
33590
33591 else
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33594
33595 { { echo "$as_me:$LINENO: error: no
33596 See \`config.log' for more details." >&5
33597 echo "$as_me: error: no
33598 See \`config.log' for more details." >&2;}
33599 { (exit 1); exit 1; }; }
33600
33601 fi
33602
33603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33604
33605 fi
33606
33607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33608 ac_ext=c
33609 ac_cpp='$CPP $CPPFLAGS'
33610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33613
33614 fi
33615
33616
33617 { echo "$as_me:$LINENO: checking for mode_t" >&5
33618 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33619 if test "${ac_cv_type_mode_t+set}" = set; then
33620 echo $ECHO_N "(cached) $ECHO_C" >&6
33621 else
33622 cat >conftest.$ac_ext <<_ACEOF
33623 /* confdefs.h. */
33624 _ACEOF
33625 cat confdefs.h >>conftest.$ac_ext
33626 cat >>conftest.$ac_ext <<_ACEOF
33627 /* end confdefs.h. */
33628 $ac_includes_default
33629 typedef mode_t ac__type_new_;
33630 int
33631 main ()
33632 {
33633 if ((ac__type_new_ *) 0)
33634 return 0;
33635 if (sizeof (ac__type_new_))
33636 return 0;
33637 ;
33638 return 0;
33639 }
33640 _ACEOF
33641 rm -f conftest.$ac_objext
33642 if { (ac_try="$ac_compile"
33643 case "(($ac_try" in
33644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33645 *) ac_try_echo=$ac_try;;
33646 esac
33647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33648 (eval "$ac_compile") 2>conftest.er1
33649 ac_status=$?
33650 grep -v '^ *+' conftest.er1 >conftest.err
33651 rm -f conftest.er1
33652 cat conftest.err >&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); } && {
33655 test -z "$ac_c_werror_flag" ||
33656 test ! -s conftest.err
33657 } && test -s conftest.$ac_objext; then
33658 ac_cv_type_mode_t=yes
33659 else
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33662
33663 ac_cv_type_mode_t=no
33664 fi
33665
33666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33667 fi
33668 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33669 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33670 if test $ac_cv_type_mode_t = yes; then
33671 :
33672 else
33673
33674 cat >>confdefs.h <<_ACEOF
33675 #define mode_t int
33676 _ACEOF
33677
33678 fi
33679
33680 { echo "$as_me:$LINENO: checking for off_t" >&5
33681 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33682 if test "${ac_cv_type_off_t+set}" = set; then
33683 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 else
33685 cat >conftest.$ac_ext <<_ACEOF
33686 /* confdefs.h. */
33687 _ACEOF
33688 cat confdefs.h >>conftest.$ac_ext
33689 cat >>conftest.$ac_ext <<_ACEOF
33690 /* end confdefs.h. */
33691 $ac_includes_default
33692 typedef off_t ac__type_new_;
33693 int
33694 main ()
33695 {
33696 if ((ac__type_new_ *) 0)
33697 return 0;
33698 if (sizeof (ac__type_new_))
33699 return 0;
33700 ;
33701 return 0;
33702 }
33703 _ACEOF
33704 rm -f conftest.$ac_objext
33705 if { (ac_try="$ac_compile"
33706 case "(($ac_try" in
33707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33708 *) ac_try_echo=$ac_try;;
33709 esac
33710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33711 (eval "$ac_compile") 2>conftest.er1
33712 ac_status=$?
33713 grep -v '^ *+' conftest.er1 >conftest.err
33714 rm -f conftest.er1
33715 cat conftest.err >&5
33716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717 (exit $ac_status); } && {
33718 test -z "$ac_c_werror_flag" ||
33719 test ! -s conftest.err
33720 } && test -s conftest.$ac_objext; then
33721 ac_cv_type_off_t=yes
33722 else
33723 echo "$as_me: failed program was:" >&5
33724 sed 's/^/| /' conftest.$ac_ext >&5
33725
33726 ac_cv_type_off_t=no
33727 fi
33728
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730 fi
33731 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33732 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33733 if test $ac_cv_type_off_t = yes; then
33734 :
33735 else
33736
33737 cat >>confdefs.h <<_ACEOF
33738 #define off_t long int
33739 _ACEOF
33740
33741 fi
33742
33743 { echo "$as_me:$LINENO: checking for pid_t" >&5
33744 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33745 if test "${ac_cv_type_pid_t+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33747 else
33748 cat >conftest.$ac_ext <<_ACEOF
33749 /* confdefs.h. */
33750 _ACEOF
33751 cat confdefs.h >>conftest.$ac_ext
33752 cat >>conftest.$ac_ext <<_ACEOF
33753 /* end confdefs.h. */
33754 $ac_includes_default
33755 typedef pid_t ac__type_new_;
33756 int
33757 main ()
33758 {
33759 if ((ac__type_new_ *) 0)
33760 return 0;
33761 if (sizeof (ac__type_new_))
33762 return 0;
33763 ;
33764 return 0;
33765 }
33766 _ACEOF
33767 rm -f conftest.$ac_objext
33768 if { (ac_try="$ac_compile"
33769 case "(($ac_try" in
33770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33771 *) ac_try_echo=$ac_try;;
33772 esac
33773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33774 (eval "$ac_compile") 2>conftest.er1
33775 ac_status=$?
33776 grep -v '^ *+' conftest.er1 >conftest.err
33777 rm -f conftest.er1
33778 cat conftest.err >&5
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); } && {
33781 test -z "$ac_c_werror_flag" ||
33782 test ! -s conftest.err
33783 } && test -s conftest.$ac_objext; then
33784 ac_cv_type_pid_t=yes
33785 else
33786 echo "$as_me: failed program was:" >&5
33787 sed 's/^/| /' conftest.$ac_ext >&5
33788
33789 ac_cv_type_pid_t=no
33790 fi
33791
33792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33793 fi
33794 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33795 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33796 if test $ac_cv_type_pid_t = yes; then
33797 :
33798 else
33799
33800 cat >>confdefs.h <<_ACEOF
33801 #define pid_t int
33802 _ACEOF
33803
33804 fi
33805
33806 { echo "$as_me:$LINENO: checking for size_t" >&5
33807 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33808 if test "${ac_cv_type_size_t+set}" = set; then
33809 echo $ECHO_N "(cached) $ECHO_C" >&6
33810 else
33811 cat >conftest.$ac_ext <<_ACEOF
33812 /* confdefs.h. */
33813 _ACEOF
33814 cat confdefs.h >>conftest.$ac_ext
33815 cat >>conftest.$ac_ext <<_ACEOF
33816 /* end confdefs.h. */
33817 $ac_includes_default
33818 typedef size_t ac__type_new_;
33819 int
33820 main ()
33821 {
33822 if ((ac__type_new_ *) 0)
33823 return 0;
33824 if (sizeof (ac__type_new_))
33825 return 0;
33826 ;
33827 return 0;
33828 }
33829 _ACEOF
33830 rm -f conftest.$ac_objext
33831 if { (ac_try="$ac_compile"
33832 case "(($ac_try" in
33833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33834 *) ac_try_echo=$ac_try;;
33835 esac
33836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33837 (eval "$ac_compile") 2>conftest.er1
33838 ac_status=$?
33839 grep -v '^ *+' conftest.er1 >conftest.err
33840 rm -f conftest.er1
33841 cat conftest.err >&5
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); } && {
33844 test -z "$ac_c_werror_flag" ||
33845 test ! -s conftest.err
33846 } && test -s conftest.$ac_objext; then
33847 ac_cv_type_size_t=yes
33848 else
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.$ac_ext >&5
33851
33852 ac_cv_type_size_t=no
33853 fi
33854
33855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33856 fi
33857 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33858 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33859 if test $ac_cv_type_size_t = yes; then
33860 :
33861 else
33862
33863 cat >>confdefs.h <<_ACEOF
33864 #define size_t unsigned int
33865 _ACEOF
33866
33867 fi
33868
33869
33870 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33871 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33872 if test "${ac_cv_type_ssize_t+set}" = set; then
33873 echo $ECHO_N "(cached) $ECHO_C" >&6
33874 else
33875 cat >conftest.$ac_ext <<_ACEOF
33876 /* confdefs.h. */
33877 _ACEOF
33878 cat confdefs.h >>conftest.$ac_ext
33879 cat >>conftest.$ac_ext <<_ACEOF
33880 /* end confdefs.h. */
33881 $ac_includes_default
33882 typedef ssize_t ac__type_new_;
33883 int
33884 main ()
33885 {
33886 if ((ac__type_new_ *) 0)
33887 return 0;
33888 if (sizeof (ac__type_new_))
33889 return 0;
33890 ;
33891 return 0;
33892 }
33893 _ACEOF
33894 rm -f conftest.$ac_objext
33895 if { (ac_try="$ac_compile"
33896 case "(($ac_try" in
33897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33898 *) ac_try_echo=$ac_try;;
33899 esac
33900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33901 (eval "$ac_compile") 2>conftest.er1
33902 ac_status=$?
33903 grep -v '^ *+' conftest.er1 >conftest.err
33904 rm -f conftest.er1
33905 cat conftest.err >&5
33906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33907 (exit $ac_status); } && {
33908 test -z "$ac_c_werror_flag" ||
33909 test ! -s conftest.err
33910 } && test -s conftest.$ac_objext; then
33911 ac_cv_type_ssize_t=yes
33912 else
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.$ac_ext >&5
33915
33916 ac_cv_type_ssize_t=no
33917 fi
33918
33919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33920 fi
33921 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33922 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33923 if test $ac_cv_type_ssize_t = yes; then
33924
33925 cat >>confdefs.h <<_ACEOF
33926 #define HAVE_SSIZE_T 1
33927 _ACEOF
33928
33929
33930 fi
33931
33932
33933 ac_ext=cpp
33934 ac_cpp='$CXXCPP $CPPFLAGS'
33935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33938 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33939 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33940 if test "${wx_cv_size_t_is_uint+set}" = set; then
33941 echo $ECHO_N "(cached) $ECHO_C" >&6
33942 else
33943
33944 cat >conftest.$ac_ext <<_ACEOF
33945 /* confdefs.h. */
33946 _ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 #include <stddef.h>
33951 int
33952 main ()
33953 {
33954
33955 return 0; }
33956
33957 struct Foo { void foo(size_t); void foo(unsigned int); };
33958
33959 int bar() {
33960
33961 ;
33962 return 0;
33963 }
33964 _ACEOF
33965 rm -f conftest.$ac_objext
33966 if { (ac_try="$ac_compile"
33967 case "(($ac_try" in
33968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33969 *) ac_try_echo=$ac_try;;
33970 esac
33971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33972 (eval "$ac_compile") 2>conftest.er1
33973 ac_status=$?
33974 grep -v '^ *+' conftest.er1 >conftest.err
33975 rm -f conftest.er1
33976 cat conftest.err >&5
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); } && {
33979 test -z "$ac_cxx_werror_flag" ||
33980 test ! -s conftest.err
33981 } && test -s conftest.$ac_objext; then
33982 wx_cv_size_t_is_uint=no
33983 else
33984 echo "$as_me: failed program was:" >&5
33985 sed 's/^/| /' conftest.$ac_ext >&5
33986
33987 wx_cv_size_t_is_uint=yes
33988
33989 fi
33990
33991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33992
33993
33994 fi
33995 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33996 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33997
33998 if test "$wx_cv_size_t_is_uint" = "yes"; then
33999 cat >>confdefs.h <<\_ACEOF
34000 #define wxSIZE_T_IS_UINT 1
34001 _ACEOF
34002
34003 else
34004 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34005 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34006 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34007 echo $ECHO_N "(cached) $ECHO_C" >&6
34008 else
34009 cat >conftest.$ac_ext <<_ACEOF
34010 /* confdefs.h. */
34011 _ACEOF
34012 cat confdefs.h >>conftest.$ac_ext
34013 cat >>conftest.$ac_ext <<_ACEOF
34014 /* end confdefs.h. */
34015 #include <stddef.h>
34016 int
34017 main ()
34018 {
34019
34020 return 0; }
34021
34022 struct Foo { void foo(size_t); void foo(unsigned long); };
34023
34024 int bar() {
34025
34026 ;
34027 return 0;
34028 }
34029 _ACEOF
34030 rm -f conftest.$ac_objext
34031 if { (ac_try="$ac_compile"
34032 case "(($ac_try" in
34033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34034 *) ac_try_echo=$ac_try;;
34035 esac
34036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34037 (eval "$ac_compile") 2>conftest.er1
34038 ac_status=$?
34039 grep -v '^ *+' conftest.er1 >conftest.err
34040 rm -f conftest.er1
34041 cat conftest.err >&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } && {
34044 test -z "$ac_cxx_werror_flag" ||
34045 test ! -s conftest.err
34046 } && test -s conftest.$ac_objext; then
34047 wx_cv_size_t_is_ulong=no
34048 else
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.$ac_ext >&5
34051
34052 wx_cv_size_t_is_ulong=yes
34053
34054 fi
34055
34056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34057
34058 fi
34059 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34060 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34061
34062 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34063 cat >>confdefs.h <<\_ACEOF
34064 #define wxSIZE_T_IS_ULONG 1
34065 _ACEOF
34066
34067 fi
34068 fi
34069
34070 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34071 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34072 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 else
34075 cat >conftest.$ac_ext <<_ACEOF
34076 /* confdefs.h. */
34077 _ACEOF
34078 cat confdefs.h >>conftest.$ac_ext
34079 cat >>conftest.$ac_ext <<_ACEOF
34080 /* end confdefs.h. */
34081 #include <wchar.h>
34082 int
34083 main ()
34084 {
34085
34086 return 0; }
34087
34088 struct Foo { void foo(wchar_t);
34089 void foo(unsigned short);
34090 void foo(unsigned int);
34091 void foo(unsigned long); };
34092
34093 int bar() {
34094
34095 ;
34096 return 0;
34097 }
34098 _ACEOF
34099 rm -f conftest.$ac_objext
34100 if { (ac_try="$ac_compile"
34101 case "(($ac_try" in
34102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34103 *) ac_try_echo=$ac_try;;
34104 esac
34105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34106 (eval "$ac_compile") 2>conftest.er1
34107 ac_status=$?
34108 grep -v '^ *+' conftest.er1 >conftest.err
34109 rm -f conftest.er1
34110 cat conftest.err >&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } && {
34113 test -z "$ac_cxx_werror_flag" ||
34114 test ! -s conftest.err
34115 } && test -s conftest.$ac_objext; then
34116 wx_cv_wchar_t_is_separate_type=yes
34117 else
34118 echo "$as_me: failed program was:" >&5
34119 sed 's/^/| /' conftest.$ac_ext >&5
34120
34121 wx_cv_wchar_t_is_separate_type=no
34122
34123 fi
34124
34125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34126
34127 fi
34128 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34129 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34130
34131 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34132 cat >>confdefs.h <<\_ACEOF
34133 #define wxWCHAR_T_IS_REAL_TYPE 1
34134 _ACEOF
34135
34136 else
34137 cat >>confdefs.h <<\_ACEOF
34138 #define wxWCHAR_T_IS_REAL_TYPE 0
34139 _ACEOF
34140
34141 fi
34142
34143 ac_ext=c
34144 ac_cpp='$CPP $CPPFLAGS'
34145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34148
34149
34150 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34151 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34152 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34153 echo $ECHO_N "(cached) $ECHO_C" >&6
34154 else
34155
34156 cat >conftest.$ac_ext <<_ACEOF
34157 /* confdefs.h. */
34158 _ACEOF
34159 cat confdefs.h >>conftest.$ac_ext
34160 cat >>conftest.$ac_ext <<_ACEOF
34161 /* end confdefs.h. */
34162 #include <pwd.h>
34163 int
34164 main ()
34165 {
34166
34167 char *p;
34168 struct passwd *pw;
34169 p = pw->pw_gecos;
34170
34171 ;
34172 return 0;
34173 }
34174 _ACEOF
34175 rm -f conftest.$ac_objext
34176 if { (ac_try="$ac_compile"
34177 case "(($ac_try" in
34178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34179 *) ac_try_echo=$ac_try;;
34180 esac
34181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34182 (eval "$ac_compile") 2>conftest.er1
34183 ac_status=$?
34184 grep -v '^ *+' conftest.er1 >conftest.err
34185 rm -f conftest.er1
34186 cat conftest.err >&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); } && {
34189 test -z "$ac_c_werror_flag" ||
34190 test ! -s conftest.err
34191 } && test -s conftest.$ac_objext; then
34192
34193 wx_cv_struct_pw_gecos=yes
34194
34195 else
34196 echo "$as_me: failed program was:" >&5
34197 sed 's/^/| /' conftest.$ac_ext >&5
34198
34199
34200 wx_cv_struct_pw_gecos=no
34201
34202
34203 fi
34204
34205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34206
34207
34208 fi
34209 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34210 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34211
34212 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34213 cat >>confdefs.h <<\_ACEOF
34214 #define HAVE_PW_GECOS 1
34215 _ACEOF
34216
34217 fi
34218
34219
34220 if test "$wxUSE_WCHAR_T" = "yes"; then
34221 cat >>confdefs.h <<\_ACEOF
34222 #define wxUSE_WCHAR_T 1
34223 _ACEOF
34224
34225
34226 WCSLEN_FOUND=0
34227 WCHAR_LINK=
34228
34229 for ac_func in wcslen
34230 do
34231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34232 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34234 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34235 echo $ECHO_N "(cached) $ECHO_C" >&6
34236 else
34237 cat >conftest.$ac_ext <<_ACEOF
34238 /* confdefs.h. */
34239 _ACEOF
34240 cat confdefs.h >>conftest.$ac_ext
34241 cat >>conftest.$ac_ext <<_ACEOF
34242 /* end confdefs.h. */
34243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34245 #define $ac_func innocuous_$ac_func
34246
34247 /* System header to define __stub macros and hopefully few prototypes,
34248 which can conflict with char $ac_func (); below.
34249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34250 <limits.h> exists even on freestanding compilers. */
34251
34252 #ifdef __STDC__
34253 # include <limits.h>
34254 #else
34255 # include <assert.h>
34256 #endif
34257
34258 #undef $ac_func
34259
34260 /* Override any GCC internal prototype to avoid an error.
34261 Use char because int might match the return type of a GCC
34262 builtin and then its argument prototype would still apply. */
34263 #ifdef __cplusplus
34264 extern "C"
34265 #endif
34266 char $ac_func ();
34267 /* The GNU C library defines this for functions which it implements
34268 to always fail with ENOSYS. Some functions are actually named
34269 something starting with __ and the normal name is an alias. */
34270 #if defined __stub_$ac_func || defined __stub___$ac_func
34271 choke me
34272 #endif
34273
34274 int
34275 main ()
34276 {
34277 return $ac_func ();
34278 ;
34279 return 0;
34280 }
34281 _ACEOF
34282 rm -f conftest.$ac_objext conftest$ac_exeext
34283 if { (ac_try="$ac_link"
34284 case "(($ac_try" in
34285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34286 *) ac_try_echo=$ac_try;;
34287 esac
34288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34289 (eval "$ac_link") 2>conftest.er1
34290 ac_status=$?
34291 grep -v '^ *+' conftest.er1 >conftest.err
34292 rm -f conftest.er1
34293 cat conftest.err >&5
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); } && {
34296 test -z "$ac_c_werror_flag" ||
34297 test ! -s conftest.err
34298 } && test -s conftest$ac_exeext &&
34299 $as_test_x conftest$ac_exeext; then
34300 eval "$as_ac_var=yes"
34301 else
34302 echo "$as_me: failed program was:" >&5
34303 sed 's/^/| /' conftest.$ac_ext >&5
34304
34305 eval "$as_ac_var=no"
34306 fi
34307
34308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34309 conftest$ac_exeext conftest.$ac_ext
34310 fi
34311 ac_res=`eval echo '${'$as_ac_var'}'`
34312 { echo "$as_me:$LINENO: result: $ac_res" >&5
34313 echo "${ECHO_T}$ac_res" >&6; }
34314 if test `eval echo '${'$as_ac_var'}'` = yes; then
34315 cat >>confdefs.h <<_ACEOF
34316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34317 _ACEOF
34318 WCSLEN_FOUND=1
34319 fi
34320 done
34321
34322
34323 if test "$WCSLEN_FOUND" = 0; then
34324 if test "$TOOLKIT" = "MSW"; then
34325 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34326 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34327 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34329 else
34330 ac_check_lib_save_LIBS=$LIBS
34331 LIBS="-lmsvcrt $LIBS"
34332 cat >conftest.$ac_ext <<_ACEOF
34333 /* confdefs.h. */
34334 _ACEOF
34335 cat confdefs.h >>conftest.$ac_ext
34336 cat >>conftest.$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34338
34339 /* Override any GCC internal prototype to avoid an error.
34340 Use char because int might match the return type of a GCC
34341 builtin and then its argument prototype would still apply. */
34342 #ifdef __cplusplus
34343 extern "C"
34344 #endif
34345 char wcslen ();
34346 int
34347 main ()
34348 {
34349 return wcslen ();
34350 ;
34351 return 0;
34352 }
34353 _ACEOF
34354 rm -f conftest.$ac_objext conftest$ac_exeext
34355 if { (ac_try="$ac_link"
34356 case "(($ac_try" in
34357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34358 *) ac_try_echo=$ac_try;;
34359 esac
34360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34361 (eval "$ac_link") 2>conftest.er1
34362 ac_status=$?
34363 grep -v '^ *+' conftest.er1 >conftest.err
34364 rm -f conftest.er1
34365 cat conftest.err >&5
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); } && {
34368 test -z "$ac_c_werror_flag" ||
34369 test ! -s conftest.err
34370 } && test -s conftest$ac_exeext &&
34371 $as_test_x conftest$ac_exeext; then
34372 ac_cv_lib_msvcrt_wcslen=yes
34373 else
34374 echo "$as_me: failed program was:" >&5
34375 sed 's/^/| /' conftest.$ac_ext >&5
34376
34377 ac_cv_lib_msvcrt_wcslen=no
34378 fi
34379
34380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34381 conftest$ac_exeext conftest.$ac_ext
34382 LIBS=$ac_check_lib_save_LIBS
34383 fi
34384 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34385 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34386 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34387 WCHAR_OK=1
34388 fi
34389
34390 else
34391 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34392 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34393 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34394 echo $ECHO_N "(cached) $ECHO_C" >&6
34395 else
34396 ac_check_lib_save_LIBS=$LIBS
34397 LIBS="-lw $LIBS"
34398 cat >conftest.$ac_ext <<_ACEOF
34399 /* confdefs.h. */
34400 _ACEOF
34401 cat confdefs.h >>conftest.$ac_ext
34402 cat >>conftest.$ac_ext <<_ACEOF
34403 /* end confdefs.h. */
34404
34405 /* Override any GCC internal prototype to avoid an error.
34406 Use char because int might match the return type of a GCC
34407 builtin and then its argument prototype would still apply. */
34408 #ifdef __cplusplus
34409 extern "C"
34410 #endif
34411 char wcslen ();
34412 int
34413 main ()
34414 {
34415 return wcslen ();
34416 ;
34417 return 0;
34418 }
34419 _ACEOF
34420 rm -f conftest.$ac_objext conftest$ac_exeext
34421 if { (ac_try="$ac_link"
34422 case "(($ac_try" in
34423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34424 *) ac_try_echo=$ac_try;;
34425 esac
34426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34427 (eval "$ac_link") 2>conftest.er1
34428 ac_status=$?
34429 grep -v '^ *+' conftest.er1 >conftest.err
34430 rm -f conftest.er1
34431 cat conftest.err >&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); } && {
34434 test -z "$ac_c_werror_flag" ||
34435 test ! -s conftest.err
34436 } && test -s conftest$ac_exeext &&
34437 $as_test_x conftest$ac_exeext; then
34438 ac_cv_lib_w_wcslen=yes
34439 else
34440 echo "$as_me: failed program was:" >&5
34441 sed 's/^/| /' conftest.$ac_ext >&5
34442
34443 ac_cv_lib_w_wcslen=no
34444 fi
34445
34446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34447 conftest$ac_exeext conftest.$ac_ext
34448 LIBS=$ac_check_lib_save_LIBS
34449 fi
34450 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34451 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34452 if test $ac_cv_lib_w_wcslen = yes; then
34453
34454 WCHAR_LINK=" -lw"
34455 WCSLEN_FOUND=1
34456
34457 fi
34458
34459 fi
34460 fi
34461
34462 if test "$WCSLEN_FOUND" = 1; then
34463 cat >>confdefs.h <<\_ACEOF
34464 #define HAVE_WCSLEN 1
34465 _ACEOF
34466
34467 fi
34468
34469
34470 for ac_func in wcsdup
34471 do
34472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34473 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34475 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34476 echo $ECHO_N "(cached) $ECHO_C" >&6
34477 else
34478 cat >conftest.$ac_ext <<_ACEOF
34479 /* confdefs.h. */
34480 _ACEOF
34481 cat confdefs.h >>conftest.$ac_ext
34482 cat >>conftest.$ac_ext <<_ACEOF
34483 /* end confdefs.h. */
34484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34486 #define $ac_func innocuous_$ac_func
34487
34488 /* System header to define __stub macros and hopefully few prototypes,
34489 which can conflict with char $ac_func (); below.
34490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34491 <limits.h> exists even on freestanding compilers. */
34492
34493 #ifdef __STDC__
34494 # include <limits.h>
34495 #else
34496 # include <assert.h>
34497 #endif
34498
34499 #undef $ac_func
34500
34501 /* Override any GCC internal prototype to avoid an error.
34502 Use char because int might match the return type of a GCC
34503 builtin and then its argument prototype would still apply. */
34504 #ifdef __cplusplus
34505 extern "C"
34506 #endif
34507 char $ac_func ();
34508 /* The GNU C library defines this for functions which it implements
34509 to always fail with ENOSYS. Some functions are actually named
34510 something starting with __ and the normal name is an alias. */
34511 #if defined __stub_$ac_func || defined __stub___$ac_func
34512 choke me
34513 #endif
34514
34515 int
34516 main ()
34517 {
34518 return $ac_func ();
34519 ;
34520 return 0;
34521 }
34522 _ACEOF
34523 rm -f conftest.$ac_objext conftest$ac_exeext
34524 if { (ac_try="$ac_link"
34525 case "(($ac_try" in
34526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34527 *) ac_try_echo=$ac_try;;
34528 esac
34529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34530 (eval "$ac_link") 2>conftest.er1
34531 ac_status=$?
34532 grep -v '^ *+' conftest.er1 >conftest.err
34533 rm -f conftest.er1
34534 cat conftest.err >&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } && {
34537 test -z "$ac_c_werror_flag" ||
34538 test ! -s conftest.err
34539 } && test -s conftest$ac_exeext &&
34540 $as_test_x conftest$ac_exeext; then
34541 eval "$as_ac_var=yes"
34542 else
34543 echo "$as_me: failed program was:" >&5
34544 sed 's/^/| /' conftest.$ac_ext >&5
34545
34546 eval "$as_ac_var=no"
34547 fi
34548
34549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34550 conftest$ac_exeext conftest.$ac_ext
34551 fi
34552 ac_res=`eval echo '${'$as_ac_var'}'`
34553 { echo "$as_me:$LINENO: result: $ac_res" >&5
34554 echo "${ECHO_T}$ac_res" >&6; }
34555 if test `eval echo '${'$as_ac_var'}'` = yes; then
34556 cat >>confdefs.h <<_ACEOF
34557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34558 _ACEOF
34559
34560 fi
34561 done
34562
34563
34564 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34565 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34566 fi
34567
34568 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34569 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34570 if test "${ac_cv_type_mbstate_t+set}" = set; then
34571 echo $ECHO_N "(cached) $ECHO_C" >&6
34572 else
34573 cat >conftest.$ac_ext <<_ACEOF
34574 /* confdefs.h. */
34575 _ACEOF
34576 cat confdefs.h >>conftest.$ac_ext
34577 cat >>conftest.$ac_ext <<_ACEOF
34578 /* end confdefs.h. */
34579 #include <wchar.h>
34580
34581 typedef mbstate_t ac__type_new_;
34582 int
34583 main ()
34584 {
34585 if ((ac__type_new_ *) 0)
34586 return 0;
34587 if (sizeof (ac__type_new_))
34588 return 0;
34589 ;
34590 return 0;
34591 }
34592 _ACEOF
34593 rm -f conftest.$ac_objext
34594 if { (ac_try="$ac_compile"
34595 case "(($ac_try" in
34596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34597 *) ac_try_echo=$ac_try;;
34598 esac
34599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34600 (eval "$ac_compile") 2>conftest.er1
34601 ac_status=$?
34602 grep -v '^ *+' conftest.er1 >conftest.err
34603 rm -f conftest.er1
34604 cat conftest.err >&5
34605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34606 (exit $ac_status); } && {
34607 test -z "$ac_c_werror_flag" ||
34608 test ! -s conftest.err
34609 } && test -s conftest.$ac_objext; then
34610 ac_cv_type_mbstate_t=yes
34611 else
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.$ac_ext >&5
34614
34615 ac_cv_type_mbstate_t=no
34616 fi
34617
34618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34619 fi
34620 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34621 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34622 if test $ac_cv_type_mbstate_t = yes; then
34623
34624 cat >>confdefs.h <<_ACEOF
34625 #define HAVE_MBSTATE_T 1
34626 _ACEOF
34627
34628
34629 for ac_func in wcsrtombs
34630 do
34631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34632 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34634 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34635 echo $ECHO_N "(cached) $ECHO_C" >&6
34636 else
34637 cat >conftest.$ac_ext <<_ACEOF
34638 /* confdefs.h. */
34639 _ACEOF
34640 cat confdefs.h >>conftest.$ac_ext
34641 cat >>conftest.$ac_ext <<_ACEOF
34642 /* end confdefs.h. */
34643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34645 #define $ac_func innocuous_$ac_func
34646
34647 /* System header to define __stub macros and hopefully few prototypes,
34648 which can conflict with char $ac_func (); below.
34649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34650 <limits.h> exists even on freestanding compilers. */
34651
34652 #ifdef __STDC__
34653 # include <limits.h>
34654 #else
34655 # include <assert.h>
34656 #endif
34657
34658 #undef $ac_func
34659
34660 /* Override any GCC internal prototype to avoid an error.
34661 Use char because int might match the return type of a GCC
34662 builtin and then its argument prototype would still apply. */
34663 #ifdef __cplusplus
34664 extern "C"
34665 #endif
34666 char $ac_func ();
34667 /* The GNU C library defines this for functions which it implements
34668 to always fail with ENOSYS. Some functions are actually named
34669 something starting with __ and the normal name is an alias. */
34670 #if defined __stub_$ac_func || defined __stub___$ac_func
34671 choke me
34672 #endif
34673
34674 int
34675 main ()
34676 {
34677 return $ac_func ();
34678 ;
34679 return 0;
34680 }
34681 _ACEOF
34682 rm -f conftest.$ac_objext conftest$ac_exeext
34683 if { (ac_try="$ac_link"
34684 case "(($ac_try" in
34685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34686 *) ac_try_echo=$ac_try;;
34687 esac
34688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34689 (eval "$ac_link") 2>conftest.er1
34690 ac_status=$?
34691 grep -v '^ *+' conftest.er1 >conftest.err
34692 rm -f conftest.er1
34693 cat conftest.err >&5
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); } && {
34696 test -z "$ac_c_werror_flag" ||
34697 test ! -s conftest.err
34698 } && test -s conftest$ac_exeext &&
34699 $as_test_x conftest$ac_exeext; then
34700 eval "$as_ac_var=yes"
34701 else
34702 echo "$as_me: failed program was:" >&5
34703 sed 's/^/| /' conftest.$ac_ext >&5
34704
34705 eval "$as_ac_var=no"
34706 fi
34707
34708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34709 conftest$ac_exeext conftest.$ac_ext
34710 fi
34711 ac_res=`eval echo '${'$as_ac_var'}'`
34712 { echo "$as_me:$LINENO: result: $ac_res" >&5
34713 echo "${ECHO_T}$ac_res" >&6; }
34714 if test `eval echo '${'$as_ac_var'}'` = yes; then
34715 cat >>confdefs.h <<_ACEOF
34716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34717 _ACEOF
34718
34719 fi
34720 done
34721
34722 fi
34723
34724 else
34725 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34726 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34727 fi
34728
34729
34730
34731 for ac_func in snprintf vsnprintf
34732 do
34733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 else
34739 cat >conftest.$ac_ext <<_ACEOF
34740 /* confdefs.h. */
34741 _ACEOF
34742 cat confdefs.h >>conftest.$ac_ext
34743 cat >>conftest.$ac_ext <<_ACEOF
34744 /* end confdefs.h. */
34745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34747 #define $ac_func innocuous_$ac_func
34748
34749 /* System header to define __stub macros and hopefully few prototypes,
34750 which can conflict with char $ac_func (); below.
34751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34752 <limits.h> exists even on freestanding compilers. */
34753
34754 #ifdef __STDC__
34755 # include <limits.h>
34756 #else
34757 # include <assert.h>
34758 #endif
34759
34760 #undef $ac_func
34761
34762 /* Override any GCC internal prototype to avoid an error.
34763 Use char because int might match the return type of a GCC
34764 builtin and then its argument prototype would still apply. */
34765 #ifdef __cplusplus
34766 extern "C"
34767 #endif
34768 char $ac_func ();
34769 /* The GNU C library defines this for functions which it implements
34770 to always fail with ENOSYS. Some functions are actually named
34771 something starting with __ and the normal name is an alias. */
34772 #if defined __stub_$ac_func || defined __stub___$ac_func
34773 choke me
34774 #endif
34775
34776 int
34777 main ()
34778 {
34779 return $ac_func ();
34780 ;
34781 return 0;
34782 }
34783 _ACEOF
34784 rm -f conftest.$ac_objext conftest$ac_exeext
34785 if { (ac_try="$ac_link"
34786 case "(($ac_try" in
34787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34788 *) ac_try_echo=$ac_try;;
34789 esac
34790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34791 (eval "$ac_link") 2>conftest.er1
34792 ac_status=$?
34793 grep -v '^ *+' conftest.er1 >conftest.err
34794 rm -f conftest.er1
34795 cat conftest.err >&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } && {
34798 test -z "$ac_c_werror_flag" ||
34799 test ! -s conftest.err
34800 } && test -s conftest$ac_exeext &&
34801 $as_test_x conftest$ac_exeext; then
34802 eval "$as_ac_var=yes"
34803 else
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34806
34807 eval "$as_ac_var=no"
34808 fi
34809
34810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34811 conftest$ac_exeext conftest.$ac_ext
34812 fi
34813 ac_res=`eval echo '${'$as_ac_var'}'`
34814 { echo "$as_me:$LINENO: result: $ac_res" >&5
34815 echo "${ECHO_T}$ac_res" >&6; }
34816 if test `eval echo '${'$as_ac_var'}'` = yes; then
34817 cat >>confdefs.h <<_ACEOF
34818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34819 _ACEOF
34820
34821 fi
34822 done
34823
34824
34825 if test "$ac_cv_func_vsnprintf" = "yes"; then
34826 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34827 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34828 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34829 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 else
34831
34832 cat >conftest.$ac_ext <<_ACEOF
34833 /* confdefs.h. */
34834 _ACEOF
34835 cat confdefs.h >>conftest.$ac_ext
34836 cat >>conftest.$ac_ext <<_ACEOF
34837 /* end confdefs.h. */
34838
34839 #include <stdio.h>
34840 #include <stdarg.h>
34841 #ifdef __MSL__
34842 #if __MSL__ >= 0x6000
34843 namespace std {}
34844 using namespace std;
34845 #endif
34846 #endif
34847
34848 int
34849 main ()
34850 {
34851
34852 char *buf;
34853 va_list ap;
34854 vsnprintf(buf, 10u, "%s", ap);
34855
34856 ;
34857 return 0;
34858 }
34859 _ACEOF
34860 rm -f conftest.$ac_objext
34861 if { (ac_try="$ac_compile"
34862 case "(($ac_try" in
34863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34864 *) ac_try_echo=$ac_try;;
34865 esac
34866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34867 (eval "$ac_compile") 2>conftest.er1
34868 ac_status=$?
34869 grep -v '^ *+' conftest.er1 >conftest.err
34870 rm -f conftest.er1
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } && {
34874 test -z "$ac_c_werror_flag" ||
34875 test ! -s conftest.err
34876 } && test -s conftest.$ac_objext; then
34877 wx_cv_func_vsnprintf_decl=yes
34878 else
34879 echo "$as_me: failed program was:" >&5
34880 sed 's/^/| /' conftest.$ac_ext >&5
34881
34882 wx_cv_func_vsnprintf_decl=no
34883
34884 fi
34885
34886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34887
34888
34889 fi
34890 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34891 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34892
34893 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34894 cat >>confdefs.h <<\_ACEOF
34895 #define HAVE_VSNPRINTF_DECL 1
34896 _ACEOF
34897
34898
34899 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34900 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34901 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34902 echo $ECHO_N "(cached) $ECHO_C" >&6
34903 else
34904
34905 cat >conftest.$ac_ext <<_ACEOF
34906 /* confdefs.h. */
34907 _ACEOF
34908 cat confdefs.h >>conftest.$ac_ext
34909 cat >>conftest.$ac_ext <<_ACEOF
34910 /* end confdefs.h. */
34911
34912 #include <stdio.h>
34913 #include <stdarg.h>
34914 #ifdef __MSL__
34915 #if __MSL__ >= 0x6000
34916 namespace std {}
34917 using namespace std;
34918 #endif
34919 #endif
34920
34921 int
34922 main ()
34923 {
34924
34925 char *buf;
34926 va_list ap;
34927 const char *fmt = "%s";
34928 vsnprintf(buf, 10u, fmt, ap);
34929
34930 ;
34931 return 0;
34932 }
34933 _ACEOF
34934 rm -f conftest.$ac_objext
34935 if { (ac_try="$ac_compile"
34936 case "(($ac_try" in
34937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34938 *) ac_try_echo=$ac_try;;
34939 esac
34940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34941 (eval "$ac_compile") 2>conftest.er1
34942 ac_status=$?
34943 grep -v '^ *+' conftest.er1 >conftest.err
34944 rm -f conftest.er1
34945 cat conftest.err >&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); } && {
34948 test -z "$ac_c_werror_flag" ||
34949 test ! -s conftest.err
34950 } && test -s conftest.$ac_objext; then
34951 wx_cv_func_broken_vsnprintf_decl=no
34952 else
34953 echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.$ac_ext >&5
34955
34956 wx_cv_func_broken_vsnprintf_decl=yes
34957
34958 fi
34959
34960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34961
34962
34963 fi
34964 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34965 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34966
34967 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34968 cat >>confdefs.h <<\_ACEOF
34969 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34970 _ACEOF
34971
34972 fi
34973 fi
34974 fi
34975
34976 if test "$ac_cv_func_snprintf" = "yes"; then
34977 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34978 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34979 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34980 echo $ECHO_N "(cached) $ECHO_C" >&6
34981 else
34982
34983 cat >conftest.$ac_ext <<_ACEOF
34984 /* confdefs.h. */
34985 _ACEOF
34986 cat confdefs.h >>conftest.$ac_ext
34987 cat >>conftest.$ac_ext <<_ACEOF
34988 /* end confdefs.h. */
34989
34990 #include <stdio.h>
34991 #include <stdarg.h>
34992 #ifdef __MSL__
34993 #if __MSL__ >= 0x6000
34994 namespace std {}
34995 using namespace std;
34996 #endif
34997 #endif
34998
34999 int
35000 main ()
35001 {
35002
35003 char *buf;
35004 snprintf(buf, 10u, "%s", "wx");
35005
35006 ;
35007 return 0;
35008 }
35009 _ACEOF
35010 rm -f conftest.$ac_objext
35011 if { (ac_try="$ac_compile"
35012 case "(($ac_try" in
35013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35014 *) ac_try_echo=$ac_try;;
35015 esac
35016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35017 (eval "$ac_compile") 2>conftest.er1
35018 ac_status=$?
35019 grep -v '^ *+' conftest.er1 >conftest.err
35020 rm -f conftest.er1
35021 cat conftest.err >&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); } && {
35024 test -z "$ac_c_werror_flag" ||
35025 test ! -s conftest.err
35026 } && test -s conftest.$ac_objext; then
35027 wx_cv_func_snprintf_decl=yes
35028 else
35029 echo "$as_me: failed program was:" >&5
35030 sed 's/^/| /' conftest.$ac_ext >&5
35031
35032 wx_cv_func_snprintf_decl=no
35033
35034 fi
35035
35036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35037
35038
35039 fi
35040 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35041 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35042
35043 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35044 cat >>confdefs.h <<\_ACEOF
35045 #define HAVE_SNPRINTF_DECL 1
35046 _ACEOF
35047
35048 fi
35049
35050 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35051
35052 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35053 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35054 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35055 echo $ECHO_N "(cached) $ECHO_C" >&6
35056 else
35057
35058 if test "$cross_compiling" = yes; then
35059
35060 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35061 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35062 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35063 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35064 wx_cv_func_snprintf_pos_params=no
35065
35066
35067 else
35068 cat >conftest.$ac_ext <<_ACEOF
35069 /* confdefs.h. */
35070 _ACEOF
35071 cat confdefs.h >>conftest.$ac_ext
35072 cat >>conftest.$ac_ext <<_ACEOF
35073 /* end confdefs.h. */
35074
35075 #include <stdio.h>
35076
35077 int main (void)
35078 {
35079 char buffer[128];
35080 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35081 if (strcmp ("2 3 1", buffer) == 0)
35082 exit (0);
35083 exit (1);
35084 }
35085
35086 _ACEOF
35087 rm -f conftest$ac_exeext
35088 if { (ac_try="$ac_link"
35089 case "(($ac_try" in
35090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35091 *) ac_try_echo=$ac_try;;
35092 esac
35093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35094 (eval "$ac_link") 2>&5
35095 ac_status=$?
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35098 { (case "(($ac_try" in
35099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35100 *) ac_try_echo=$ac_try;;
35101 esac
35102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35103 (eval "$ac_try") 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; }; then
35107 wx_cv_func_snprintf_pos_params=no
35108 else
35109 echo "$as_me: program exited with status $ac_status" >&5
35110 echo "$as_me: failed program was:" >&5
35111 sed 's/^/| /' conftest.$ac_ext >&5
35112
35113 ( exit $ac_status )
35114 wx_cv_func_snprintf_pos_params=yes
35115 fi
35116 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35117 fi
35118
35119
35120
35121
35122 fi
35123 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35124 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35125
35126 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35127 cat >>confdefs.h <<\_ACEOF
35128 #define HAVE_UNIX98_PRINTF 1
35129 _ACEOF
35130
35131 fi
35132 fi
35133 fi
35134
35135 if test "$wxUSE_UNICODE" = yes; then
35136
35137 wchar_headers="#include <stdio.h>
35138 #include <wchar.h>"
35139 case "${host}" in
35140 *-*-solaris2* )
35141
35142 for ac_header in widec.h
35143 do
35144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35145 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35148 echo $ECHO_N "(cached) $ECHO_C" >&6
35149 else
35150 cat >conftest.$ac_ext <<_ACEOF
35151 /* confdefs.h. */
35152 _ACEOF
35153 cat confdefs.h >>conftest.$ac_ext
35154 cat >>conftest.$ac_ext <<_ACEOF
35155 /* end confdefs.h. */
35156 $ac_includes_default
35157
35158 #include <$ac_header>
35159 _ACEOF
35160 rm -f conftest.$ac_objext
35161 if { (ac_try="$ac_compile"
35162 case "(($ac_try" in
35163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35164 *) ac_try_echo=$ac_try;;
35165 esac
35166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35167 (eval "$ac_compile") 2>conftest.er1
35168 ac_status=$?
35169 grep -v '^ *+' conftest.er1 >conftest.err
35170 rm -f conftest.er1
35171 cat conftest.err >&5
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); } && {
35174 test -z "$ac_c_werror_flag" ||
35175 test ! -s conftest.err
35176 } && test -s conftest.$ac_objext; then
35177 eval "$as_ac_Header=yes"
35178 else
35179 echo "$as_me: failed program was:" >&5
35180 sed 's/^/| /' conftest.$ac_ext >&5
35181
35182 eval "$as_ac_Header=no"
35183 fi
35184
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186 fi
35187 ac_res=`eval echo '${'$as_ac_Header'}'`
35188 { echo "$as_me:$LINENO: result: $ac_res" >&5
35189 echo "${ECHO_T}$ac_res" >&6; }
35190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35191 cat >>confdefs.h <<_ACEOF
35192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35193 _ACEOF
35194
35195 fi
35196
35197 done
35198
35199 if test "$ac_cv_header_widec_h" = "yes"; then
35200 wchar_headers="$wchar_headers
35201 #include <widec.h>"
35202 fi
35203 esac
35204
35205
35206 for wx_func in putws fputws wprintf vswprintf
35207 do
35208 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35209 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35210 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35211 echo $ECHO_N "(cached) $ECHO_C" >&6
35212 else
35213
35214 cat >conftest.$ac_ext <<_ACEOF
35215
35216 /* confdefs.h. */
35217 _ACEOF
35218 cat confdefs.h >>conftest.$ac_ext
35219 cat >>conftest.$ac_ext <<_ACEOF
35220 /* end confdefs.h. */
35221
35222 $wchar_headers
35223 $ac_includes_default
35224
35225 int
35226 main ()
35227 {
35228
35229 #ifndef $wx_func
35230 &$wx_func;
35231 #endif
35232
35233
35234 ;
35235 return 0;
35236 }
35237
35238 _ACEOF
35239 rm -f conftest.$ac_objext conftest$ac_exeext
35240 if { (ac_try="$ac_link"
35241 case "(($ac_try" in
35242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35243 *) ac_try_echo=$ac_try;;
35244 esac
35245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35246 (eval "$ac_link") 2>conftest.er1
35247 ac_status=$?
35248 grep -v '^ *+' conftest.er1 >conftest.err
35249 rm -f conftest.er1
35250 cat conftest.err >&5
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); } && {
35253 test -z "$ac_c_werror_flag" ||
35254 test ! -s conftest.err
35255 } && test -s conftest$ac_exeext &&
35256 $as_test_x conftest$ac_exeext; then
35257 eval wx_cv_func_$wx_func=yes
35258 else
35259 echo "$as_me: failed program was:" >&5
35260 sed 's/^/| /' conftest.$ac_ext >&5
35261
35262 eval wx_cv_func_$wx_func=no
35263 fi
35264
35265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35266 conftest$ac_exeext conftest.$ac_ext
35267
35268 fi
35269 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35270 { echo "$as_me:$LINENO: result: $ac_res" >&5
35271 echo "${ECHO_T}$ac_res" >&6; }
35272
35273 if eval test \$wx_cv_func_$wx_func = yes
35274 then
35275 cat >>confdefs.h <<_ACEOF
35276 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35277 _ACEOF
35278
35279
35280 else
35281 :
35282
35283 fi
35284 done
35285
35286
35287 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35288 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35289 cat >conftest.$ac_ext <<_ACEOF
35290 /* confdefs.h. */
35291 _ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295 #include <wchar.h>
35296 int
35297 main ()
35298 {
35299 &_vsnwprintf;
35300 ;
35301 return 0;
35302 }
35303 _ACEOF
35304 rm -f conftest.$ac_objext
35305 if { (ac_try="$ac_compile"
35306 case "(($ac_try" in
35307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35308 *) ac_try_echo=$ac_try;;
35309 esac
35310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35311 (eval "$ac_compile") 2>conftest.er1
35312 ac_status=$?
35313 grep -v '^ *+' conftest.er1 >conftest.err
35314 rm -f conftest.er1
35315 cat conftest.err >&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } && {
35318 test -z "$ac_c_werror_flag" ||
35319 test ! -s conftest.err
35320 } && test -s conftest.$ac_objext; then
35321 { echo "$as_me:$LINENO: result: yes" >&5
35322 echo "${ECHO_T}yes" >&6; }
35323 cat >>confdefs.h <<\_ACEOF
35324 #define HAVE__VSNWPRINTF 1
35325 _ACEOF
35326
35327 else
35328 echo "$as_me: failed program was:" >&5
35329 sed 's/^/| /' conftest.$ac_ext >&5
35330
35331 { echo "$as_me:$LINENO: result: no" >&5
35332 echo "${ECHO_T}no" >&6; }
35333 fi
35334
35335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35336 fi
35337
35338 if test "$wxUSE_FILE" = "yes"; then
35339
35340 for wx_func in fsync
35341 do
35342 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35343 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35344 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35345 echo $ECHO_N "(cached) $ECHO_C" >&6
35346 else
35347
35348 cat >conftest.$ac_ext <<_ACEOF
35349
35350 /* confdefs.h. */
35351 _ACEOF
35352 cat confdefs.h >>conftest.$ac_ext
35353 cat >>conftest.$ac_ext <<_ACEOF
35354 /* end confdefs.h. */
35355
35356
35357 $ac_includes_default
35358
35359 int
35360 main ()
35361 {
35362
35363 #ifndef $wx_func
35364 &$wx_func;
35365 #endif
35366
35367
35368 ;
35369 return 0;
35370 }
35371
35372 _ACEOF
35373 rm -f conftest.$ac_objext conftest$ac_exeext
35374 if { (ac_try="$ac_link"
35375 case "(($ac_try" in
35376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35377 *) ac_try_echo=$ac_try;;
35378 esac
35379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35380 (eval "$ac_link") 2>conftest.er1
35381 ac_status=$?
35382 grep -v '^ *+' conftest.er1 >conftest.err
35383 rm -f conftest.er1
35384 cat conftest.err >&5
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); } && {
35387 test -z "$ac_c_werror_flag" ||
35388 test ! -s conftest.err
35389 } && test -s conftest$ac_exeext &&
35390 $as_test_x conftest$ac_exeext; then
35391 eval wx_cv_func_$wx_func=yes
35392 else
35393 echo "$as_me: failed program was:" >&5
35394 sed 's/^/| /' conftest.$ac_ext >&5
35395
35396 eval wx_cv_func_$wx_func=no
35397 fi
35398
35399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35400 conftest$ac_exeext conftest.$ac_ext
35401
35402 fi
35403 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35404 { echo "$as_me:$LINENO: result: $ac_res" >&5
35405 echo "${ECHO_T}$ac_res" >&6; }
35406
35407 if eval test \$wx_cv_func_$wx_func = yes
35408 then
35409 cat >>confdefs.h <<_ACEOF
35410 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35411 _ACEOF
35412
35413
35414 else
35415 :
35416
35417 fi
35418 done
35419
35420 fi
35421
35422 ac_ext=cpp
35423 ac_cpp='$CXXCPP $CPPFLAGS'
35424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35427
35428
35429 for wx_func in round
35430 do
35431 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35432 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35433 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35434 echo $ECHO_N "(cached) $ECHO_C" >&6
35435 else
35436
35437 cat >conftest.$ac_ext <<_ACEOF
35438
35439 /* confdefs.h. */
35440 _ACEOF
35441 cat confdefs.h >>conftest.$ac_ext
35442 cat >>conftest.$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444
35445 #include <math.h>
35446 $ac_includes_default
35447
35448 int
35449 main ()
35450 {
35451
35452 #ifndef $wx_func
35453 &$wx_func;
35454 #endif
35455
35456
35457 ;
35458 return 0;
35459 }
35460
35461 _ACEOF
35462 rm -f conftest.$ac_objext conftest$ac_exeext
35463 if { (ac_try="$ac_link"
35464 case "(($ac_try" in
35465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35466 *) ac_try_echo=$ac_try;;
35467 esac
35468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35469 (eval "$ac_link") 2>conftest.er1
35470 ac_status=$?
35471 grep -v '^ *+' conftest.er1 >conftest.err
35472 rm -f conftest.er1
35473 cat conftest.err >&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } && {
35476 test -z "$ac_cxx_werror_flag" ||
35477 test ! -s conftest.err
35478 } && test -s conftest$ac_exeext &&
35479 $as_test_x conftest$ac_exeext; then
35480 eval wx_cv_func_$wx_func=yes
35481 else
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.$ac_ext >&5
35484
35485 eval wx_cv_func_$wx_func=no
35486 fi
35487
35488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35489 conftest$ac_exeext conftest.$ac_ext
35490
35491 fi
35492 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35493 { echo "$as_me:$LINENO: result: $ac_res" >&5
35494 echo "${ECHO_T}$ac_res" >&6; }
35495
35496 if eval test \$wx_cv_func_$wx_func = yes
35497 then
35498 cat >>confdefs.h <<_ACEOF
35499 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35500 _ACEOF
35501
35502
35503 else
35504 :
35505
35506 fi
35507 done
35508
35509 ac_ext=c
35510 ac_cpp='$CPP $CPPFLAGS'
35511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35514
35515
35516 if test "$TOOLKIT" != "MSW"; then
35517
35518
35519
35520
35521
35522 # Check whether --with-libiconv-prefix was given.
35523 if test "${with_libiconv_prefix+set}" = set; then
35524 withval=$with_libiconv_prefix;
35525 for dir in `echo "$withval" | tr : ' '`; do
35526 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35527 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35528 done
35529
35530 fi
35531
35532
35533 { echo "$as_me:$LINENO: checking for iconv" >&5
35534 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35535 if test "${am_cv_func_iconv+set}" = set; then
35536 echo $ECHO_N "(cached) $ECHO_C" >&6
35537 else
35538
35539 am_cv_func_iconv="no, consider installing GNU libiconv"
35540 am_cv_lib_iconv=no
35541 cat >conftest.$ac_ext <<_ACEOF
35542 /* confdefs.h. */
35543 _ACEOF
35544 cat confdefs.h >>conftest.$ac_ext
35545 cat >>conftest.$ac_ext <<_ACEOF
35546 /* end confdefs.h. */
35547 #include <stdlib.h>
35548 #include <iconv.h>
35549 int
35550 main ()
35551 {
35552 iconv_t cd = iconv_open("","");
35553 iconv(cd,NULL,NULL,NULL,NULL);
35554 iconv_close(cd);
35555 ;
35556 return 0;
35557 }
35558 _ACEOF
35559 rm -f conftest.$ac_objext conftest$ac_exeext
35560 if { (ac_try="$ac_link"
35561 case "(($ac_try" in
35562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35563 *) ac_try_echo=$ac_try;;
35564 esac
35565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35566 (eval "$ac_link") 2>conftest.er1
35567 ac_status=$?
35568 grep -v '^ *+' conftest.er1 >conftest.err
35569 rm -f conftest.er1
35570 cat conftest.err >&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } && {
35573 test -z "$ac_c_werror_flag" ||
35574 test ! -s conftest.err
35575 } && test -s conftest$ac_exeext &&
35576 $as_test_x conftest$ac_exeext; then
35577 am_cv_func_iconv=yes
35578 else
35579 echo "$as_me: failed program was:" >&5
35580 sed 's/^/| /' conftest.$ac_ext >&5
35581
35582
35583 fi
35584
35585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35586 conftest$ac_exeext conftest.$ac_ext
35587 if test "$am_cv_func_iconv" != yes; then
35588 am_save_LIBS="$LIBS"
35589 LIBS="$LIBS -liconv"
35590 cat >conftest.$ac_ext <<_ACEOF
35591 /* confdefs.h. */
35592 _ACEOF
35593 cat confdefs.h >>conftest.$ac_ext
35594 cat >>conftest.$ac_ext <<_ACEOF
35595 /* end confdefs.h. */
35596 #include <stdlib.h>
35597 #include <iconv.h>
35598 int
35599 main ()
35600 {
35601 iconv_t cd = iconv_open("","");
35602 iconv(cd,NULL,NULL,NULL,NULL);
35603 iconv_close(cd);
35604 ;
35605 return 0;
35606 }
35607 _ACEOF
35608 rm -f conftest.$ac_objext conftest$ac_exeext
35609 if { (ac_try="$ac_link"
35610 case "(($ac_try" in
35611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35612 *) ac_try_echo=$ac_try;;
35613 esac
35614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35615 (eval "$ac_link") 2>conftest.er1
35616 ac_status=$?
35617 grep -v '^ *+' conftest.er1 >conftest.err
35618 rm -f conftest.er1
35619 cat conftest.err >&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } && {
35622 test -z "$ac_c_werror_flag" ||
35623 test ! -s conftest.err
35624 } && test -s conftest$ac_exeext &&
35625 $as_test_x conftest$ac_exeext; then
35626 am_cv_lib_iconv=yes
35627 am_cv_func_iconv=yes
35628 else
35629 echo "$as_me: failed program was:" >&5
35630 sed 's/^/| /' conftest.$ac_ext >&5
35631
35632
35633 fi
35634
35635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35636 conftest$ac_exeext conftest.$ac_ext
35637 LIBS="$am_save_LIBS"
35638 fi
35639
35640 fi
35641 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35642 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35643 if test "$am_cv_func_iconv" = yes; then
35644
35645 cat >>confdefs.h <<\_ACEOF
35646 #define HAVE_ICONV 1
35647 _ACEOF
35648
35649 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35650 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35651 if test "${wx_cv_func_iconv_const+set}" = set; then
35652 echo $ECHO_N "(cached) $ECHO_C" >&6
35653 else
35654 cat >conftest.$ac_ext <<_ACEOF
35655 /* confdefs.h. */
35656 _ACEOF
35657 cat confdefs.h >>conftest.$ac_ext
35658 cat >>conftest.$ac_ext <<_ACEOF
35659 /* end confdefs.h. */
35660
35661 #include <stdlib.h>
35662 #include <iconv.h>
35663 extern
35664 #ifdef __cplusplus
35665 "C"
35666 #endif
35667 #if defined(__STDC__) || defined(__cplusplus)
35668 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35669 #else
35670 size_t iconv();
35671 #endif
35672
35673 int
35674 main ()
35675 {
35676
35677 ;
35678 return 0;
35679 }
35680 _ACEOF
35681 rm -f conftest.$ac_objext
35682 if { (ac_try="$ac_compile"
35683 case "(($ac_try" in
35684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35685 *) ac_try_echo=$ac_try;;
35686 esac
35687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35688 (eval "$ac_compile") 2>conftest.er1
35689 ac_status=$?
35690 grep -v '^ *+' conftest.er1 >conftest.err
35691 rm -f conftest.er1
35692 cat conftest.err >&5
35693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35694 (exit $ac_status); } && {
35695 test -z "$ac_c_werror_flag" ||
35696 test ! -s conftest.err
35697 } && test -s conftest.$ac_objext; then
35698 wx_cv_func_iconv_const="no"
35699 else
35700 echo "$as_me: failed program was:" >&5
35701 sed 's/^/| /' conftest.$ac_ext >&5
35702
35703 wx_cv_func_iconv_const="yes"
35704
35705 fi
35706
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35708
35709 fi
35710 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35711 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35712
35713 iconv_const=
35714 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35715 iconv_const="const"
35716 fi
35717
35718
35719 cat >>confdefs.h <<_ACEOF
35720 #define ICONV_CONST $iconv_const
35721 _ACEOF
35722
35723 fi
35724 LIBICONV=
35725 if test "$am_cv_lib_iconv" = yes; then
35726 LIBICONV="-liconv"
35727 fi
35728
35729
35730 LIBS="$LIBICONV $LIBS"
35731
35732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35733
35734 for ac_func in sigaction
35735 do
35736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35740 echo $ECHO_N "(cached) $ECHO_C" >&6
35741 else
35742 cat >conftest.$ac_ext <<_ACEOF
35743 /* confdefs.h. */
35744 _ACEOF
35745 cat confdefs.h >>conftest.$ac_ext
35746 cat >>conftest.$ac_ext <<_ACEOF
35747 /* end confdefs.h. */
35748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35750 #define $ac_func innocuous_$ac_func
35751
35752 /* System header to define __stub macros and hopefully few prototypes,
35753 which can conflict with char $ac_func (); below.
35754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35755 <limits.h> exists even on freestanding compilers. */
35756
35757 #ifdef __STDC__
35758 # include <limits.h>
35759 #else
35760 # include <assert.h>
35761 #endif
35762
35763 #undef $ac_func
35764
35765 /* Override any GCC internal prototype to avoid an error.
35766 Use char because int might match the return type of a GCC
35767 builtin and then its argument prototype would still apply. */
35768 #ifdef __cplusplus
35769 extern "C"
35770 #endif
35771 char $ac_func ();
35772 /* The GNU C library defines this for functions which it implements
35773 to always fail with ENOSYS. Some functions are actually named
35774 something starting with __ and the normal name is an alias. */
35775 #if defined __stub_$ac_func || defined __stub___$ac_func
35776 choke me
35777 #endif
35778
35779 int
35780 main ()
35781 {
35782 return $ac_func ();
35783 ;
35784 return 0;
35785 }
35786 _ACEOF
35787 rm -f conftest.$ac_objext conftest$ac_exeext
35788 if { (ac_try="$ac_link"
35789 case "(($ac_try" in
35790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35791 *) ac_try_echo=$ac_try;;
35792 esac
35793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35794 (eval "$ac_link") 2>conftest.er1
35795 ac_status=$?
35796 grep -v '^ *+' conftest.er1 >conftest.err
35797 rm -f conftest.er1
35798 cat conftest.err >&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); } && {
35801 test -z "$ac_c_werror_flag" ||
35802 test ! -s conftest.err
35803 } && test -s conftest$ac_exeext &&
35804 $as_test_x conftest$ac_exeext; then
35805 eval "$as_ac_var=yes"
35806 else
35807 echo "$as_me: failed program was:" >&5
35808 sed 's/^/| /' conftest.$ac_ext >&5
35809
35810 eval "$as_ac_var=no"
35811 fi
35812
35813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35814 conftest$ac_exeext conftest.$ac_ext
35815 fi
35816 ac_res=`eval echo '${'$as_ac_var'}'`
35817 { echo "$as_me:$LINENO: result: $ac_res" >&5
35818 echo "${ECHO_T}$ac_res" >&6; }
35819 if test `eval echo '${'$as_ac_var'}'` = yes; then
35820 cat >>confdefs.h <<_ACEOF
35821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35822 _ACEOF
35823
35824 fi
35825 done
35826
35827
35828 if test "$ac_cv_func_sigaction" = "no"; then
35829 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35830 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35831 wxUSE_ON_FATAL_EXCEPTION=no
35832 fi
35833
35834 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35835 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35836 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35837 if test "${wx_cv_type_sa_handler+set}" = set; then
35838 echo $ECHO_N "(cached) $ECHO_C" >&6
35839 else
35840
35841 ac_ext=cpp
35842 ac_cpp='$CXXCPP $CPPFLAGS'
35843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35846
35847 cat >conftest.$ac_ext <<_ACEOF
35848 /* confdefs.h. */
35849 _ACEOF
35850 cat confdefs.h >>conftest.$ac_ext
35851 cat >>conftest.$ac_ext <<_ACEOF
35852 /* end confdefs.h. */
35853 #include <signal.h>
35854 int
35855 main ()
35856 {
35857
35858 extern void testSigHandler(int);
35859
35860 struct sigaction sa;
35861 sa.sa_handler = testSigHandler;
35862
35863 ;
35864 return 0;
35865 }
35866 _ACEOF
35867 rm -f conftest.$ac_objext
35868 if { (ac_try="$ac_compile"
35869 case "(($ac_try" in
35870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35871 *) ac_try_echo=$ac_try;;
35872 esac
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_compile") 2>conftest.er1
35875 ac_status=$?
35876 grep -v '^ *+' conftest.er1 >conftest.err
35877 rm -f conftest.er1
35878 cat conftest.err >&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } && {
35881 test -z "$ac_cxx_werror_flag" ||
35882 test ! -s conftest.err
35883 } && test -s conftest.$ac_objext; then
35884
35885 wx_cv_type_sa_handler=int
35886
35887 else
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.$ac_ext >&5
35890
35891
35892 wx_cv_type_sa_handler=void
35893
35894 fi
35895
35896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897 ac_ext=c
35898 ac_cpp='$CPP $CPPFLAGS'
35899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35902
35903
35904 fi
35905 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35906 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35907
35908 cat >>confdefs.h <<_ACEOF
35909 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35910 _ACEOF
35911
35912 fi
35913 fi
35914
35915 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35916 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35917 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35918 if test "${wx_cv_func_backtrace+set}" = set; then
35919 echo $ECHO_N "(cached) $ECHO_C" >&6
35920 else
35921
35922 ac_ext=cpp
35923 ac_cpp='$CXXCPP $CPPFLAGS'
35924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35927
35928 cat >conftest.$ac_ext <<_ACEOF
35929 /* confdefs.h. */
35930 _ACEOF
35931 cat confdefs.h >>conftest.$ac_ext
35932 cat >>conftest.$ac_ext <<_ACEOF
35933 /* end confdefs.h. */
35934 #include <execinfo.h>
35935 int
35936 main ()
35937 {
35938
35939 void *trace[1];
35940 char **messages;
35941
35942 backtrace(trace, 1);
35943 messages = backtrace_symbols(trace, 1);
35944
35945 ;
35946 return 0;
35947 }
35948 _ACEOF
35949 rm -f conftest.$ac_objext
35950 if { (ac_try="$ac_compile"
35951 case "(($ac_try" in
35952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35953 *) ac_try_echo=$ac_try;;
35954 esac
35955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35956 (eval "$ac_compile") 2>conftest.er1
35957 ac_status=$?
35958 grep -v '^ *+' conftest.er1 >conftest.err
35959 rm -f conftest.er1
35960 cat conftest.err >&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); } && {
35963 test -z "$ac_cxx_werror_flag" ||
35964 test ! -s conftest.err
35965 } && test -s conftest.$ac_objext; then
35966 wx_cv_func_backtrace=yes
35967 else
35968 echo "$as_me: failed program was:" >&5
35969 sed 's/^/| /' conftest.$ac_ext >&5
35970
35971 wx_cv_func_backtrace=no
35972
35973 fi
35974
35975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35976 ac_ext=c
35977 ac_cpp='$CPP $CPPFLAGS'
35978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35981
35982
35983
35984 fi
35985 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35986 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35987
35988
35989 if test "$wx_cv_func_backtrace" = "no"; then
35990 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35991 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35992 wxUSE_STACKWALKER=no
35993 else
35994 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35995 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35996 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35998 else
35999
36000 ac_ext=cpp
36001 ac_cpp='$CXXCPP $CPPFLAGS'
36002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36005
36006 cat >conftest.$ac_ext <<_ACEOF
36007 /* confdefs.h. */
36008 _ACEOF
36009 cat confdefs.h >>conftest.$ac_ext
36010 cat >>conftest.$ac_ext <<_ACEOF
36011 /* end confdefs.h. */
36012 #include <cxxabi.h>
36013 int
36014 main ()
36015 {
36016
36017 int rc;
36018 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36019
36020 ;
36021 return 0;
36022 }
36023 _ACEOF
36024 rm -f conftest.$ac_objext conftest$ac_exeext
36025 if { (ac_try="$ac_link"
36026 case "(($ac_try" in
36027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36028 *) ac_try_echo=$ac_try;;
36029 esac
36030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36031 (eval "$ac_link") 2>conftest.er1
36032 ac_status=$?
36033 grep -v '^ *+' conftest.er1 >conftest.err
36034 rm -f conftest.er1
36035 cat conftest.err >&5
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); } && {
36038 test -z "$ac_cxx_werror_flag" ||
36039 test ! -s conftest.err
36040 } && test -s conftest$ac_exeext &&
36041 $as_test_x conftest$ac_exeext; then
36042 wx_cv_func_cxa_demangle=yes
36043 else
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36046
36047 wx_cv_func_cxa_demangle=no
36048
36049 fi
36050
36051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36052 conftest$ac_exeext conftest.$ac_ext
36053 ac_ext=c
36054 ac_cpp='$CPP $CPPFLAGS'
36055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058
36059
36060
36061 fi
36062 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36063 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36064
36065 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36066 cat >>confdefs.h <<\_ACEOF
36067 #define HAVE_CXA_DEMANGLE 1
36068 _ACEOF
36069
36070 fi
36071 fi
36072 fi
36073
36074 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36075 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36076 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36077 wxUSE_STACKWALKER=no
36078 fi
36079
36080
36081
36082
36083 for ac_func in mkstemp mktemp
36084 do
36085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36089 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 else
36091 cat >conftest.$ac_ext <<_ACEOF
36092 /* confdefs.h. */
36093 _ACEOF
36094 cat confdefs.h >>conftest.$ac_ext
36095 cat >>conftest.$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36099 #define $ac_func innocuous_$ac_func
36100
36101 /* System header to define __stub macros and hopefully few prototypes,
36102 which can conflict with char $ac_func (); below.
36103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36104 <limits.h> exists even on freestanding compilers. */
36105
36106 #ifdef __STDC__
36107 # include <limits.h>
36108 #else
36109 # include <assert.h>
36110 #endif
36111
36112 #undef $ac_func
36113
36114 /* Override any GCC internal prototype to avoid an error.
36115 Use char because int might match the return type of a GCC
36116 builtin and then its argument prototype would still apply. */
36117 #ifdef __cplusplus
36118 extern "C"
36119 #endif
36120 char $ac_func ();
36121 /* The GNU C library defines this for functions which it implements
36122 to always fail with ENOSYS. Some functions are actually named
36123 something starting with __ and the normal name is an alias. */
36124 #if defined __stub_$ac_func || defined __stub___$ac_func
36125 choke me
36126 #endif
36127
36128 int
36129 main ()
36130 {
36131 return $ac_func ();
36132 ;
36133 return 0;
36134 }
36135 _ACEOF
36136 rm -f conftest.$ac_objext conftest$ac_exeext
36137 if { (ac_try="$ac_link"
36138 case "(($ac_try" in
36139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36140 *) ac_try_echo=$ac_try;;
36141 esac
36142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36143 (eval "$ac_link") 2>conftest.er1
36144 ac_status=$?
36145 grep -v '^ *+' conftest.er1 >conftest.err
36146 rm -f conftest.er1
36147 cat conftest.err >&5
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); } && {
36150 test -z "$ac_c_werror_flag" ||
36151 test ! -s conftest.err
36152 } && test -s conftest$ac_exeext &&
36153 $as_test_x conftest$ac_exeext; then
36154 eval "$as_ac_var=yes"
36155 else
36156 echo "$as_me: failed program was:" >&5
36157 sed 's/^/| /' conftest.$ac_ext >&5
36158
36159 eval "$as_ac_var=no"
36160 fi
36161
36162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36163 conftest$ac_exeext conftest.$ac_ext
36164 fi
36165 ac_res=`eval echo '${'$as_ac_var'}'`
36166 { echo "$as_me:$LINENO: result: $ac_res" >&5
36167 echo "${ECHO_T}$ac_res" >&6; }
36168 if test `eval echo '${'$as_ac_var'}'` = yes; then
36169 cat >>confdefs.h <<_ACEOF
36170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36171 _ACEOF
36172 break
36173 fi
36174 done
36175
36176
36177 { echo "$as_me:$LINENO: checking for statfs" >&5
36178 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36179 if test "${wx_cv_func_statfs+set}" = set; then
36180 echo $ECHO_N "(cached) $ECHO_C" >&6
36181 else
36182 cat >conftest.$ac_ext <<_ACEOF
36183 /* confdefs.h. */
36184 _ACEOF
36185 cat confdefs.h >>conftest.$ac_ext
36186 cat >>conftest.$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36188
36189 #if defined(__BSD__)
36190 #include <sys/param.h>
36191 #include <sys/mount.h>
36192 #else
36193 #include <sys/vfs.h>
36194 #endif
36195
36196 int
36197 main ()
36198 {
36199
36200 long l;
36201 struct statfs fs;
36202 statfs("/", &fs);
36203 l = fs.f_bsize;
36204 l += fs.f_blocks;
36205 l += fs.f_bavail;
36206
36207 ;
36208 return 0;
36209 }
36210 _ACEOF
36211 rm -f conftest.$ac_objext
36212 if { (ac_try="$ac_compile"
36213 case "(($ac_try" in
36214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36215 *) ac_try_echo=$ac_try;;
36216 esac
36217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36218 (eval "$ac_compile") 2>conftest.er1
36219 ac_status=$?
36220 grep -v '^ *+' conftest.er1 >conftest.err
36221 rm -f conftest.er1
36222 cat conftest.err >&5
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); } && {
36225 test -z "$ac_c_werror_flag" ||
36226 test ! -s conftest.err
36227 } && test -s conftest.$ac_objext; then
36228 wx_cv_func_statfs=yes
36229 else
36230 echo "$as_me: failed program was:" >&5
36231 sed 's/^/| /' conftest.$ac_ext >&5
36232
36233 wx_cv_func_statfs=no
36234
36235 fi
36236
36237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36238
36239 fi
36240 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36241 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36242
36243 if test "$wx_cv_func_statfs" = "yes"; then
36244 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36245 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36246 if test "${wx_cv_func_statfs_decl+set}" = set; then
36247 echo $ECHO_N "(cached) $ECHO_C" >&6
36248 else
36249 ac_ext=cpp
36250 ac_cpp='$CXXCPP $CPPFLAGS'
36251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36254
36255 cat >conftest.$ac_ext <<_ACEOF
36256 /* confdefs.h. */
36257 _ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36261
36262 #if defined(__BSD__)
36263 #include <sys/param.h>
36264 #include <sys/mount.h>
36265 #else
36266 #include <sys/vfs.h>
36267 #endif
36268
36269 int
36270 main ()
36271 {
36272
36273 struct statfs fs;
36274 statfs("", &fs);
36275
36276 ;
36277 return 0;
36278 }
36279 _ACEOF
36280 rm -f conftest.$ac_objext
36281 if { (ac_try="$ac_compile"
36282 case "(($ac_try" in
36283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36284 *) ac_try_echo=$ac_try;;
36285 esac
36286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36287 (eval "$ac_compile") 2>conftest.er1
36288 ac_status=$?
36289 grep -v '^ *+' conftest.er1 >conftest.err
36290 rm -f conftest.er1
36291 cat conftest.err >&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); } && {
36294 test -z "$ac_cxx_werror_flag" ||
36295 test ! -s conftest.err
36296 } && test -s conftest.$ac_objext; then
36297 wx_cv_func_statfs_decl=yes
36298 else
36299 echo "$as_me: failed program was:" >&5
36300 sed 's/^/| /' conftest.$ac_ext >&5
36301
36302 wx_cv_func_statfs_decl=no
36303
36304 fi
36305
36306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36307 ac_ext=c
36308 ac_cpp='$CPP $CPPFLAGS'
36309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36312
36313
36314 fi
36315 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36316 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36317
36318 if test "$wx_cv_func_statfs_decl" = "yes"; then
36319 cat >>confdefs.h <<\_ACEOF
36320 #define HAVE_STATFS_DECL 1
36321 _ACEOF
36322
36323 fi
36324
36325 wx_cv_type_statvfs_t="struct statfs"
36326 cat >>confdefs.h <<\_ACEOF
36327 #define HAVE_STATFS 1
36328 _ACEOF
36329
36330 else
36331 { echo "$as_me:$LINENO: checking for statvfs" >&5
36332 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36333 if test "${wx_cv_func_statvfs+set}" = set; then
36334 echo $ECHO_N "(cached) $ECHO_C" >&6
36335 else
36336 cat >conftest.$ac_ext <<_ACEOF
36337 /* confdefs.h. */
36338 _ACEOF
36339 cat confdefs.h >>conftest.$ac_ext
36340 cat >>conftest.$ac_ext <<_ACEOF
36341 /* end confdefs.h. */
36342
36343 #include <stddef.h>
36344 #include <sys/statvfs.h>
36345
36346 int
36347 main ()
36348 {
36349
36350 statvfs("/", NULL);
36351
36352 ;
36353 return 0;
36354 }
36355 _ACEOF
36356 rm -f conftest.$ac_objext
36357 if { (ac_try="$ac_compile"
36358 case "(($ac_try" in
36359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36360 *) ac_try_echo=$ac_try;;
36361 esac
36362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36363 (eval "$ac_compile") 2>conftest.er1
36364 ac_status=$?
36365 grep -v '^ *+' conftest.er1 >conftest.err
36366 rm -f conftest.er1
36367 cat conftest.err >&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } && {
36370 test -z "$ac_c_werror_flag" ||
36371 test ! -s conftest.err
36372 } && test -s conftest.$ac_objext; then
36373 wx_cv_func_statvfs=yes
36374 else
36375 echo "$as_me: failed program was:" >&5
36376 sed 's/^/| /' conftest.$ac_ext >&5
36377
36378 wx_cv_func_statvfs=no
36379
36380 fi
36381
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36383
36384 fi
36385 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36386 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36387
36388 if test "$wx_cv_func_statvfs" = "yes"; then
36389 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36390 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36391 if test "${wx_cv_type_statvfs_t+set}" = set; then
36392 echo $ECHO_N "(cached) $ECHO_C" >&6
36393 else
36394 ac_ext=cpp
36395 ac_cpp='$CXXCPP $CPPFLAGS'
36396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36399
36400 cat >conftest.$ac_ext <<_ACEOF
36401 /* confdefs.h. */
36402 _ACEOF
36403 cat confdefs.h >>conftest.$ac_ext
36404 cat >>conftest.$ac_ext <<_ACEOF
36405 /* end confdefs.h. */
36406
36407 #include <sys/statvfs.h>
36408
36409 int
36410 main ()
36411 {
36412
36413 long l;
36414 statvfs_t fs;
36415 statvfs("/", &fs);
36416 l = fs.f_bsize;
36417 l += fs.f_blocks;
36418 l += fs.f_bavail;
36419
36420 ;
36421 return 0;
36422 }
36423 _ACEOF
36424 rm -f conftest.$ac_objext
36425 if { (ac_try="$ac_compile"
36426 case "(($ac_try" in
36427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36428 *) ac_try_echo=$ac_try;;
36429 esac
36430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36431 (eval "$ac_compile") 2>conftest.er1
36432 ac_status=$?
36433 grep -v '^ *+' conftest.er1 >conftest.err
36434 rm -f conftest.er1
36435 cat conftest.err >&5
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); } && {
36438 test -z "$ac_cxx_werror_flag" ||
36439 test ! -s conftest.err
36440 } && test -s conftest.$ac_objext; then
36441 wx_cv_type_statvfs_t=statvfs_t
36442 else
36443 echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.$ac_ext >&5
36445
36446
36447 cat >conftest.$ac_ext <<_ACEOF
36448 /* confdefs.h. */
36449 _ACEOF
36450 cat confdefs.h >>conftest.$ac_ext
36451 cat >>conftest.$ac_ext <<_ACEOF
36452 /* end confdefs.h. */
36453
36454 #include <sys/statvfs.h>
36455
36456 int
36457 main ()
36458 {
36459
36460 long l;
36461 struct statvfs fs;
36462 statvfs("/", &fs);
36463 l = fs.f_bsize;
36464 l += fs.f_blocks;
36465 l += fs.f_bavail;
36466
36467 ;
36468 return 0;
36469 }
36470 _ACEOF
36471 rm -f conftest.$ac_objext
36472 if { (ac_try="$ac_compile"
36473 case "(($ac_try" in
36474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36475 *) ac_try_echo=$ac_try;;
36476 esac
36477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36478 (eval "$ac_compile") 2>conftest.er1
36479 ac_status=$?
36480 grep -v '^ *+' conftest.er1 >conftest.err
36481 rm -f conftest.er1
36482 cat conftest.err >&5
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); } && {
36485 test -z "$ac_cxx_werror_flag" ||
36486 test ! -s conftest.err
36487 } && test -s conftest.$ac_objext; then
36488 wx_cv_type_statvfs_t="struct statvfs"
36489 else
36490 echo "$as_me: failed program was:" >&5
36491 sed 's/^/| /' conftest.$ac_ext >&5
36492
36493 wx_cv_type_statvfs_t="unknown"
36494
36495 fi
36496
36497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36498
36499
36500 fi
36501
36502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36503 ac_ext=c
36504 ac_cpp='$CPP $CPPFLAGS'
36505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36508
36509
36510 fi
36511 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36512 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36513
36514 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36515 cat >>confdefs.h <<\_ACEOF
36516 #define HAVE_STATVFS 1
36517 _ACEOF
36518
36519 fi
36520 else
36521 wx_cv_type_statvfs_t="unknown"
36522 fi
36523 fi
36524
36525 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36526 cat >>confdefs.h <<_ACEOF
36527 #define WX_STATFS_T $wx_cv_type_statvfs_t
36528 _ACEOF
36529
36530 else
36531 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36532 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36533 fi
36534
36535 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36536
36537
36538 for ac_func in fcntl flock
36539 do
36540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36544 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 else
36546 cat >conftest.$ac_ext <<_ACEOF
36547 /* confdefs.h. */
36548 _ACEOF
36549 cat confdefs.h >>conftest.$ac_ext
36550 cat >>conftest.$ac_ext <<_ACEOF
36551 /* end confdefs.h. */
36552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36554 #define $ac_func innocuous_$ac_func
36555
36556 /* System header to define __stub macros and hopefully few prototypes,
36557 which can conflict with char $ac_func (); below.
36558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36559 <limits.h> exists even on freestanding compilers. */
36560
36561 #ifdef __STDC__
36562 # include <limits.h>
36563 #else
36564 # include <assert.h>
36565 #endif
36566
36567 #undef $ac_func
36568
36569 /* Override any GCC internal prototype to avoid an error.
36570 Use char because int might match the return type of a GCC
36571 builtin and then its argument prototype would still apply. */
36572 #ifdef __cplusplus
36573 extern "C"
36574 #endif
36575 char $ac_func ();
36576 /* The GNU C library defines this for functions which it implements
36577 to always fail with ENOSYS. Some functions are actually named
36578 something starting with __ and the normal name is an alias. */
36579 #if defined __stub_$ac_func || defined __stub___$ac_func
36580 choke me
36581 #endif
36582
36583 int
36584 main ()
36585 {
36586 return $ac_func ();
36587 ;
36588 return 0;
36589 }
36590 _ACEOF
36591 rm -f conftest.$ac_objext conftest$ac_exeext
36592 if { (ac_try="$ac_link"
36593 case "(($ac_try" in
36594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36595 *) ac_try_echo=$ac_try;;
36596 esac
36597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36598 (eval "$ac_link") 2>conftest.er1
36599 ac_status=$?
36600 grep -v '^ *+' conftest.er1 >conftest.err
36601 rm -f conftest.er1
36602 cat conftest.err >&5
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); } && {
36605 test -z "$ac_c_werror_flag" ||
36606 test ! -s conftest.err
36607 } && test -s conftest$ac_exeext &&
36608 $as_test_x conftest$ac_exeext; then
36609 eval "$as_ac_var=yes"
36610 else
36611 echo "$as_me: failed program was:" >&5
36612 sed 's/^/| /' conftest.$ac_ext >&5
36613
36614 eval "$as_ac_var=no"
36615 fi
36616
36617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36618 conftest$ac_exeext conftest.$ac_ext
36619 fi
36620 ac_res=`eval echo '${'$as_ac_var'}'`
36621 { echo "$as_me:$LINENO: result: $ac_res" >&5
36622 echo "${ECHO_T}$ac_res" >&6; }
36623 if test `eval echo '${'$as_ac_var'}'` = yes; then
36624 cat >>confdefs.h <<_ACEOF
36625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36626 _ACEOF
36627 break
36628 fi
36629 done
36630
36631
36632 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36633 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36634 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36635 wxUSE_SNGLINST_CHECKER=no
36636 fi
36637 fi
36638
36639
36640
36641 for ac_func in setenv putenv
36642 do
36643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36647 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 else
36649 cat >conftest.$ac_ext <<_ACEOF
36650 /* confdefs.h. */
36651 _ACEOF
36652 cat confdefs.h >>conftest.$ac_ext
36653 cat >>conftest.$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36657 #define $ac_func innocuous_$ac_func
36658
36659 /* System header to define __stub macros and hopefully few prototypes,
36660 which can conflict with char $ac_func (); below.
36661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36662 <limits.h> exists even on freestanding compilers. */
36663
36664 #ifdef __STDC__
36665 # include <limits.h>
36666 #else
36667 # include <assert.h>
36668 #endif
36669
36670 #undef $ac_func
36671
36672 /* Override any GCC internal prototype to avoid an error.
36673 Use char because int might match the return type of a GCC
36674 builtin and then its argument prototype would still apply. */
36675 #ifdef __cplusplus
36676 extern "C"
36677 #endif
36678 char $ac_func ();
36679 /* The GNU C library defines this for functions which it implements
36680 to always fail with ENOSYS. Some functions are actually named
36681 something starting with __ and the normal name is an alias. */
36682 #if defined __stub_$ac_func || defined __stub___$ac_func
36683 choke me
36684 #endif
36685
36686 int
36687 main ()
36688 {
36689 return $ac_func ();
36690 ;
36691 return 0;
36692 }
36693 _ACEOF
36694 rm -f conftest.$ac_objext conftest$ac_exeext
36695 if { (ac_try="$ac_link"
36696 case "(($ac_try" in
36697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36698 *) ac_try_echo=$ac_try;;
36699 esac
36700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36701 (eval "$ac_link") 2>conftest.er1
36702 ac_status=$?
36703 grep -v '^ *+' conftest.er1 >conftest.err
36704 rm -f conftest.er1
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } && {
36708 test -z "$ac_c_werror_flag" ||
36709 test ! -s conftest.err
36710 } && test -s conftest$ac_exeext &&
36711 $as_test_x conftest$ac_exeext; then
36712 eval "$as_ac_var=yes"
36713 else
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36716
36717 eval "$as_ac_var=no"
36718 fi
36719
36720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36721 conftest$ac_exeext conftest.$ac_ext
36722 fi
36723 ac_res=`eval echo '${'$as_ac_var'}'`
36724 { echo "$as_me:$LINENO: result: $ac_res" >&5
36725 echo "${ECHO_T}$ac_res" >&6; }
36726 if test `eval echo '${'$as_ac_var'}'` = yes; then
36727 cat >>confdefs.h <<_ACEOF
36728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36729 _ACEOF
36730 break
36731 fi
36732 done
36733
36734 if test "$ac_cv_func_setenv" = "yes"; then
36735
36736 for ac_func in unsetenv
36737 do
36738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36742 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 else
36744 cat >conftest.$ac_ext <<_ACEOF
36745 /* confdefs.h. */
36746 _ACEOF
36747 cat confdefs.h >>conftest.$ac_ext
36748 cat >>conftest.$ac_ext <<_ACEOF
36749 /* end confdefs.h. */
36750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36752 #define $ac_func innocuous_$ac_func
36753
36754 /* System header to define __stub macros and hopefully few prototypes,
36755 which can conflict with char $ac_func (); below.
36756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36757 <limits.h> exists even on freestanding compilers. */
36758
36759 #ifdef __STDC__
36760 # include <limits.h>
36761 #else
36762 # include <assert.h>
36763 #endif
36764
36765 #undef $ac_func
36766
36767 /* Override any GCC internal prototype to avoid an error.
36768 Use char because int might match the return type of a GCC
36769 builtin and then its argument prototype would still apply. */
36770 #ifdef __cplusplus
36771 extern "C"
36772 #endif
36773 char $ac_func ();
36774 /* The GNU C library defines this for functions which it implements
36775 to always fail with ENOSYS. Some functions are actually named
36776 something starting with __ and the normal name is an alias. */
36777 #if defined __stub_$ac_func || defined __stub___$ac_func
36778 choke me
36779 #endif
36780
36781 int
36782 main ()
36783 {
36784 return $ac_func ();
36785 ;
36786 return 0;
36787 }
36788 _ACEOF
36789 rm -f conftest.$ac_objext conftest$ac_exeext
36790 if { (ac_try="$ac_link"
36791 case "(($ac_try" in
36792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36793 *) ac_try_echo=$ac_try;;
36794 esac
36795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36796 (eval "$ac_link") 2>conftest.er1
36797 ac_status=$?
36798 grep -v '^ *+' conftest.er1 >conftest.err
36799 rm -f conftest.er1
36800 cat conftest.err >&5
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); } && {
36803 test -z "$ac_c_werror_flag" ||
36804 test ! -s conftest.err
36805 } && test -s conftest$ac_exeext &&
36806 $as_test_x conftest$ac_exeext; then
36807 eval "$as_ac_var=yes"
36808 else
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36811
36812 eval "$as_ac_var=no"
36813 fi
36814
36815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36816 conftest$ac_exeext conftest.$ac_ext
36817 fi
36818 ac_res=`eval echo '${'$as_ac_var'}'`
36819 { echo "$as_me:$LINENO: result: $ac_res" >&5
36820 echo "${ECHO_T}$ac_res" >&6; }
36821 if test `eval echo '${'$as_ac_var'}'` = yes; then
36822 cat >>confdefs.h <<_ACEOF
36823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36824 _ACEOF
36825
36826 fi
36827 done
36828
36829 fi
36830
36831 HAVE_SOME_SLEEP_FUNC=0
36832 if test "$USE_BEOS" = 1; then
36833 cat >>confdefs.h <<\_ACEOF
36834 #define HAVE_SLEEP 1
36835 _ACEOF
36836
36837 HAVE_SOME_SLEEP_FUNC=1
36838 fi
36839
36840 if test "$USE_DARWIN" = 1; then
36841 cat >>confdefs.h <<\_ACEOF
36842 #define HAVE_USLEEP 1
36843 _ACEOF
36844
36845 HAVE_SOME_SLEEP_FUNC=1
36846 fi
36847
36848 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36849 POSIX4_LINK=
36850
36851 for ac_func in nanosleep
36852 do
36853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36857 echo $ECHO_N "(cached) $ECHO_C" >&6
36858 else
36859 cat >conftest.$ac_ext <<_ACEOF
36860 /* confdefs.h. */
36861 _ACEOF
36862 cat confdefs.h >>conftest.$ac_ext
36863 cat >>conftest.$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36867 #define $ac_func innocuous_$ac_func
36868
36869 /* System header to define __stub macros and hopefully few prototypes,
36870 which can conflict with char $ac_func (); below.
36871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36872 <limits.h> exists even on freestanding compilers. */
36873
36874 #ifdef __STDC__
36875 # include <limits.h>
36876 #else
36877 # include <assert.h>
36878 #endif
36879
36880 #undef $ac_func
36881
36882 /* Override any GCC internal prototype to avoid an error.
36883 Use char because int might match the return type of a GCC
36884 builtin and then its argument prototype would still apply. */
36885 #ifdef __cplusplus
36886 extern "C"
36887 #endif
36888 char $ac_func ();
36889 /* The GNU C library defines this for functions which it implements
36890 to always fail with ENOSYS. Some functions are actually named
36891 something starting with __ and the normal name is an alias. */
36892 #if defined __stub_$ac_func || defined __stub___$ac_func
36893 choke me
36894 #endif
36895
36896 int
36897 main ()
36898 {
36899 return $ac_func ();
36900 ;
36901 return 0;
36902 }
36903 _ACEOF
36904 rm -f conftest.$ac_objext conftest$ac_exeext
36905 if { (ac_try="$ac_link"
36906 case "(($ac_try" in
36907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36908 *) ac_try_echo=$ac_try;;
36909 esac
36910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36911 (eval "$ac_link") 2>conftest.er1
36912 ac_status=$?
36913 grep -v '^ *+' conftest.er1 >conftest.err
36914 rm -f conftest.er1
36915 cat conftest.err >&5
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); } && {
36918 test -z "$ac_c_werror_flag" ||
36919 test ! -s conftest.err
36920 } && test -s conftest$ac_exeext &&
36921 $as_test_x conftest$ac_exeext; then
36922 eval "$as_ac_var=yes"
36923 else
36924 echo "$as_me: failed program was:" >&5
36925 sed 's/^/| /' conftest.$ac_ext >&5
36926
36927 eval "$as_ac_var=no"
36928 fi
36929
36930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36931 conftest$ac_exeext conftest.$ac_ext
36932 fi
36933 ac_res=`eval echo '${'$as_ac_var'}'`
36934 { echo "$as_me:$LINENO: result: $ac_res" >&5
36935 echo "${ECHO_T}$ac_res" >&6; }
36936 if test `eval echo '${'$as_ac_var'}'` = yes; then
36937 cat >>confdefs.h <<_ACEOF
36938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36939 _ACEOF
36940 cat >>confdefs.h <<\_ACEOF
36941 #define HAVE_NANOSLEEP 1
36942 _ACEOF
36943
36944 else
36945
36946 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36947 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36948 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36949 echo $ECHO_N "(cached) $ECHO_C" >&6
36950 else
36951 ac_check_lib_save_LIBS=$LIBS
36952 LIBS="-lposix4 $LIBS"
36953 cat >conftest.$ac_ext <<_ACEOF
36954 /* confdefs.h. */
36955 _ACEOF
36956 cat confdefs.h >>conftest.$ac_ext
36957 cat >>conftest.$ac_ext <<_ACEOF
36958 /* end confdefs.h. */
36959
36960 /* Override any GCC internal prototype to avoid an error.
36961 Use char because int might match the return type of a GCC
36962 builtin and then its argument prototype would still apply. */
36963 #ifdef __cplusplus
36964 extern "C"
36965 #endif
36966 char nanosleep ();
36967 int
36968 main ()
36969 {
36970 return nanosleep ();
36971 ;
36972 return 0;
36973 }
36974 _ACEOF
36975 rm -f conftest.$ac_objext conftest$ac_exeext
36976 if { (ac_try="$ac_link"
36977 case "(($ac_try" in
36978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36979 *) ac_try_echo=$ac_try;;
36980 esac
36981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36982 (eval "$ac_link") 2>conftest.er1
36983 ac_status=$?
36984 grep -v '^ *+' conftest.er1 >conftest.err
36985 rm -f conftest.er1
36986 cat conftest.err >&5
36987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36988 (exit $ac_status); } && {
36989 test -z "$ac_c_werror_flag" ||
36990 test ! -s conftest.err
36991 } && test -s conftest$ac_exeext &&
36992 $as_test_x conftest$ac_exeext; then
36993 ac_cv_lib_posix4_nanosleep=yes
36994 else
36995 echo "$as_me: failed program was:" >&5
36996 sed 's/^/| /' conftest.$ac_ext >&5
36997
36998 ac_cv_lib_posix4_nanosleep=no
36999 fi
37000
37001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37002 conftest$ac_exeext conftest.$ac_ext
37003 LIBS=$ac_check_lib_save_LIBS
37004 fi
37005 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37006 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37007 if test $ac_cv_lib_posix4_nanosleep = yes; then
37008
37009 cat >>confdefs.h <<\_ACEOF
37010 #define HAVE_NANOSLEEP 1
37011 _ACEOF
37012
37013 POSIX4_LINK=" -lposix4"
37014
37015 else
37016
37017
37018 for wx_func in usleep
37019 do
37020 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37021 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37022 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37023 echo $ECHO_N "(cached) $ECHO_C" >&6
37024 else
37025
37026 cat >conftest.$ac_ext <<_ACEOF
37027
37028 /* confdefs.h. */
37029 _ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033
37034
37035 $ac_includes_default
37036
37037 int
37038 main ()
37039 {
37040
37041 #ifndef $wx_func
37042 &$wx_func;
37043 #endif
37044
37045
37046 ;
37047 return 0;
37048 }
37049
37050 _ACEOF
37051 rm -f conftest.$ac_objext conftest$ac_exeext
37052 if { (ac_try="$ac_link"
37053 case "(($ac_try" in
37054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37056 esac
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_link") 2>conftest.er1
37059 ac_status=$?
37060 grep -v '^ *+' conftest.er1 >conftest.err
37061 rm -f conftest.er1
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } && {
37065 test -z "$ac_c_werror_flag" ||
37066 test ! -s conftest.err
37067 } && test -s conftest$ac_exeext &&
37068 $as_test_x conftest$ac_exeext; then
37069 eval wx_cv_func_$wx_func=yes
37070 else
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.$ac_ext >&5
37073
37074 eval wx_cv_func_$wx_func=no
37075 fi
37076
37077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37078 conftest$ac_exeext conftest.$ac_ext
37079
37080 fi
37081 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37082 { echo "$as_me:$LINENO: result: $ac_res" >&5
37083 echo "${ECHO_T}$ac_res" >&6; }
37084
37085 if eval test \$wx_cv_func_$wx_func = yes
37086 then
37087 cat >>confdefs.h <<_ACEOF
37088 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37089 _ACEOF
37090
37091
37092 else
37093 :
37094 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37095 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37096
37097 fi
37098 done
37099
37100
37101
37102 fi
37103
37104
37105
37106 fi
37107 done
37108
37109 fi
37110
37111
37112 for wx_func in uname
37113 do
37114 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37115 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37116 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37117 echo $ECHO_N "(cached) $ECHO_C" >&6
37118 else
37119
37120 cat >conftest.$ac_ext <<_ACEOF
37121
37122 /* confdefs.h. */
37123 _ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37127
37128 #include <sys/utsname.h>
37129 $ac_includes_default
37130
37131 int
37132 main ()
37133 {
37134
37135 #ifndef $wx_func
37136 &$wx_func;
37137 #endif
37138
37139
37140 ;
37141 return 0;
37142 }
37143
37144 _ACEOF
37145 rm -f conftest.$ac_objext conftest$ac_exeext
37146 if { (ac_try="$ac_link"
37147 case "(($ac_try" in
37148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37149 *) ac_try_echo=$ac_try;;
37150 esac
37151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37152 (eval "$ac_link") 2>conftest.er1
37153 ac_status=$?
37154 grep -v '^ *+' conftest.er1 >conftest.err
37155 rm -f conftest.er1
37156 cat conftest.err >&5
37157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37158 (exit $ac_status); } && {
37159 test -z "$ac_c_werror_flag" ||
37160 test ! -s conftest.err
37161 } && test -s conftest$ac_exeext &&
37162 $as_test_x conftest$ac_exeext; then
37163 eval wx_cv_func_$wx_func=yes
37164 else
37165 echo "$as_me: failed program was:" >&5
37166 sed 's/^/| /' conftest.$ac_ext >&5
37167
37168 eval wx_cv_func_$wx_func=no
37169 fi
37170
37171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37172 conftest$ac_exeext conftest.$ac_ext
37173
37174 fi
37175 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37176 { echo "$as_me:$LINENO: result: $ac_res" >&5
37177 echo "${ECHO_T}$ac_res" >&6; }
37178
37179 if eval test \$wx_cv_func_$wx_func = yes
37180 then
37181 cat >>confdefs.h <<_ACEOF
37182 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37183 _ACEOF
37184
37185
37186 else
37187 :
37188
37189 fi
37190 done
37191
37192 if test "$wx_cv_func_uname" != yes; then
37193
37194 for wx_func in gethostname
37195 do
37196 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37197 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37198 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37199 echo $ECHO_N "(cached) $ECHO_C" >&6
37200 else
37201
37202 cat >conftest.$ac_ext <<_ACEOF
37203
37204 /* confdefs.h. */
37205 _ACEOF
37206 cat confdefs.h >>conftest.$ac_ext
37207 cat >>conftest.$ac_ext <<_ACEOF
37208 /* end confdefs.h. */
37209
37210
37211 $ac_includes_default
37212
37213 int
37214 main ()
37215 {
37216
37217 #ifndef $wx_func
37218 &$wx_func;
37219 #endif
37220
37221
37222 ;
37223 return 0;
37224 }
37225
37226 _ACEOF
37227 rm -f conftest.$ac_objext conftest$ac_exeext
37228 if { (ac_try="$ac_link"
37229 case "(($ac_try" in
37230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37231 *) ac_try_echo=$ac_try;;
37232 esac
37233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37234 (eval "$ac_link") 2>conftest.er1
37235 ac_status=$?
37236 grep -v '^ *+' conftest.er1 >conftest.err
37237 rm -f conftest.er1
37238 cat conftest.err >&5
37239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37240 (exit $ac_status); } && {
37241 test -z "$ac_c_werror_flag" ||
37242 test ! -s conftest.err
37243 } && test -s conftest$ac_exeext &&
37244 $as_test_x conftest$ac_exeext; then
37245 eval wx_cv_func_$wx_func=yes
37246 else
37247 echo "$as_me: failed program was:" >&5
37248 sed 's/^/| /' conftest.$ac_ext >&5
37249
37250 eval wx_cv_func_$wx_func=no
37251 fi
37252
37253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37254 conftest$ac_exeext conftest.$ac_ext
37255
37256 fi
37257 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37258 { echo "$as_me:$LINENO: result: $ac_res" >&5
37259 echo "${ECHO_T}$ac_res" >&6; }
37260
37261 if eval test \$wx_cv_func_$wx_func = yes
37262 then
37263 cat >>confdefs.h <<_ACEOF
37264 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37265 _ACEOF
37266
37267
37268 else
37269 :
37270
37271 fi
37272 done
37273
37274 fi
37275
37276
37277 for wx_func in strtok_r
37278 do
37279 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37280 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37281 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37282 echo $ECHO_N "(cached) $ECHO_C" >&6
37283 else
37284
37285 cat >conftest.$ac_ext <<_ACEOF
37286
37287 /* confdefs.h. */
37288 _ACEOF
37289 cat confdefs.h >>conftest.$ac_ext
37290 cat >>conftest.$ac_ext <<_ACEOF
37291 /* end confdefs.h. */
37292
37293 #define _REENTRANT
37294 $ac_includes_default
37295
37296 int
37297 main ()
37298 {
37299
37300 #ifndef $wx_func
37301 &$wx_func;
37302 #endif
37303
37304
37305 ;
37306 return 0;
37307 }
37308
37309 _ACEOF
37310 rm -f conftest.$ac_objext conftest$ac_exeext
37311 if { (ac_try="$ac_link"
37312 case "(($ac_try" in
37313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37314 *) ac_try_echo=$ac_try;;
37315 esac
37316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37317 (eval "$ac_link") 2>conftest.er1
37318 ac_status=$?
37319 grep -v '^ *+' conftest.er1 >conftest.err
37320 rm -f conftest.er1
37321 cat conftest.err >&5
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); } && {
37324 test -z "$ac_c_werror_flag" ||
37325 test ! -s conftest.err
37326 } && test -s conftest$ac_exeext &&
37327 $as_test_x conftest$ac_exeext; then
37328 eval wx_cv_func_$wx_func=yes
37329 else
37330 echo "$as_me: failed program was:" >&5
37331 sed 's/^/| /' conftest.$ac_ext >&5
37332
37333 eval wx_cv_func_$wx_func=no
37334 fi
37335
37336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37337 conftest$ac_exeext conftest.$ac_ext
37338
37339 fi
37340 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37341 { echo "$as_me:$LINENO: result: $ac_res" >&5
37342 echo "${ECHO_T}$ac_res" >&6; }
37343
37344 if eval test \$wx_cv_func_$wx_func = yes
37345 then
37346 cat >>confdefs.h <<_ACEOF
37347 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37348 _ACEOF
37349
37350
37351 else
37352 :
37353
37354 fi
37355 done
37356
37357
37358 INET_LINK=
37359
37360 for ac_func in inet_addr
37361 do
37362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37365 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37366 echo $ECHO_N "(cached) $ECHO_C" >&6
37367 else
37368 cat >conftest.$ac_ext <<_ACEOF
37369 /* confdefs.h. */
37370 _ACEOF
37371 cat confdefs.h >>conftest.$ac_ext
37372 cat >>conftest.$ac_ext <<_ACEOF
37373 /* end confdefs.h. */
37374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37376 #define $ac_func innocuous_$ac_func
37377
37378 /* System header to define __stub macros and hopefully few prototypes,
37379 which can conflict with char $ac_func (); below.
37380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37381 <limits.h> exists even on freestanding compilers. */
37382
37383 #ifdef __STDC__
37384 # include <limits.h>
37385 #else
37386 # include <assert.h>
37387 #endif
37388
37389 #undef $ac_func
37390
37391 /* Override any GCC internal prototype to avoid an error.
37392 Use char because int might match the return type of a GCC
37393 builtin and then its argument prototype would still apply. */
37394 #ifdef __cplusplus
37395 extern "C"
37396 #endif
37397 char $ac_func ();
37398 /* The GNU C library defines this for functions which it implements
37399 to always fail with ENOSYS. Some functions are actually named
37400 something starting with __ and the normal name is an alias. */
37401 #if defined __stub_$ac_func || defined __stub___$ac_func
37402 choke me
37403 #endif
37404
37405 int
37406 main ()
37407 {
37408 return $ac_func ();
37409 ;
37410 return 0;
37411 }
37412 _ACEOF
37413 rm -f conftest.$ac_objext conftest$ac_exeext
37414 if { (ac_try="$ac_link"
37415 case "(($ac_try" in
37416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37417 *) ac_try_echo=$ac_try;;
37418 esac
37419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37420 (eval "$ac_link") 2>conftest.er1
37421 ac_status=$?
37422 grep -v '^ *+' conftest.er1 >conftest.err
37423 rm -f conftest.er1
37424 cat conftest.err >&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); } && {
37427 test -z "$ac_c_werror_flag" ||
37428 test ! -s conftest.err
37429 } && test -s conftest$ac_exeext &&
37430 $as_test_x conftest$ac_exeext; then
37431 eval "$as_ac_var=yes"
37432 else
37433 echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.$ac_ext >&5
37435
37436 eval "$as_ac_var=no"
37437 fi
37438
37439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37440 conftest$ac_exeext conftest.$ac_ext
37441 fi
37442 ac_res=`eval echo '${'$as_ac_var'}'`
37443 { echo "$as_me:$LINENO: result: $ac_res" >&5
37444 echo "${ECHO_T}$ac_res" >&6; }
37445 if test `eval echo '${'$as_ac_var'}'` = yes; then
37446 cat >>confdefs.h <<_ACEOF
37447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37448 _ACEOF
37449 cat >>confdefs.h <<\_ACEOF
37450 #define HAVE_INET_ADDR 1
37451 _ACEOF
37452
37453 else
37454
37455 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37456 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37457 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37458 echo $ECHO_N "(cached) $ECHO_C" >&6
37459 else
37460 ac_check_lib_save_LIBS=$LIBS
37461 LIBS="-lnsl $LIBS"
37462 cat >conftest.$ac_ext <<_ACEOF
37463 /* confdefs.h. */
37464 _ACEOF
37465 cat confdefs.h >>conftest.$ac_ext
37466 cat >>conftest.$ac_ext <<_ACEOF
37467 /* end confdefs.h. */
37468
37469 /* Override any GCC internal prototype to avoid an error.
37470 Use char because int might match the return type of a GCC
37471 builtin and then its argument prototype would still apply. */
37472 #ifdef __cplusplus
37473 extern "C"
37474 #endif
37475 char inet_addr ();
37476 int
37477 main ()
37478 {
37479 return inet_addr ();
37480 ;
37481 return 0;
37482 }
37483 _ACEOF
37484 rm -f conftest.$ac_objext conftest$ac_exeext
37485 if { (ac_try="$ac_link"
37486 case "(($ac_try" in
37487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37488 *) ac_try_echo=$ac_try;;
37489 esac
37490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37491 (eval "$ac_link") 2>conftest.er1
37492 ac_status=$?
37493 grep -v '^ *+' conftest.er1 >conftest.err
37494 rm -f conftest.er1
37495 cat conftest.err >&5
37496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37497 (exit $ac_status); } && {
37498 test -z "$ac_c_werror_flag" ||
37499 test ! -s conftest.err
37500 } && test -s conftest$ac_exeext &&
37501 $as_test_x conftest$ac_exeext; then
37502 ac_cv_lib_nsl_inet_addr=yes
37503 else
37504 echo "$as_me: failed program was:" >&5
37505 sed 's/^/| /' conftest.$ac_ext >&5
37506
37507 ac_cv_lib_nsl_inet_addr=no
37508 fi
37509
37510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37511 conftest$ac_exeext conftest.$ac_ext
37512 LIBS=$ac_check_lib_save_LIBS
37513 fi
37514 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37515 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37516 if test $ac_cv_lib_nsl_inet_addr = yes; then
37517 INET_LINK="nsl"
37518 else
37519
37520 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37521 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37522 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37523 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 else
37525 ac_check_lib_save_LIBS=$LIBS
37526 LIBS="-lresolv $LIBS"
37527 cat >conftest.$ac_ext <<_ACEOF
37528 /* confdefs.h. */
37529 _ACEOF
37530 cat confdefs.h >>conftest.$ac_ext
37531 cat >>conftest.$ac_ext <<_ACEOF
37532 /* end confdefs.h. */
37533
37534 /* Override any GCC internal prototype to avoid an error.
37535 Use char because int might match the return type of a GCC
37536 builtin and then its argument prototype would still apply. */
37537 #ifdef __cplusplus
37538 extern "C"
37539 #endif
37540 char inet_addr ();
37541 int
37542 main ()
37543 {
37544 return inet_addr ();
37545 ;
37546 return 0;
37547 }
37548 _ACEOF
37549 rm -f conftest.$ac_objext conftest$ac_exeext
37550 if { (ac_try="$ac_link"
37551 case "(($ac_try" in
37552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37553 *) ac_try_echo=$ac_try;;
37554 esac
37555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37556 (eval "$ac_link") 2>conftest.er1
37557 ac_status=$?
37558 grep -v '^ *+' conftest.er1 >conftest.err
37559 rm -f conftest.er1
37560 cat conftest.err >&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } && {
37563 test -z "$ac_c_werror_flag" ||
37564 test ! -s conftest.err
37565 } && test -s conftest$ac_exeext &&
37566 $as_test_x conftest$ac_exeext; then
37567 ac_cv_lib_resolv_inet_addr=yes
37568 else
37569 echo "$as_me: failed program was:" >&5
37570 sed 's/^/| /' conftest.$ac_ext >&5
37571
37572 ac_cv_lib_resolv_inet_addr=no
37573 fi
37574
37575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37576 conftest$ac_exeext conftest.$ac_ext
37577 LIBS=$ac_check_lib_save_LIBS
37578 fi
37579 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37580 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37581 if test $ac_cv_lib_resolv_inet_addr = yes; then
37582 INET_LINK="resolv"
37583 else
37584
37585 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37586 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37587 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37589 else
37590 ac_check_lib_save_LIBS=$LIBS
37591 LIBS="-lsocket $LIBS"
37592 cat >conftest.$ac_ext <<_ACEOF
37593 /* confdefs.h. */
37594 _ACEOF
37595 cat confdefs.h >>conftest.$ac_ext
37596 cat >>conftest.$ac_ext <<_ACEOF
37597 /* end confdefs.h. */
37598
37599 /* Override any GCC internal prototype to avoid an error.
37600 Use char because int might match the return type of a GCC
37601 builtin and then its argument prototype would still apply. */
37602 #ifdef __cplusplus
37603 extern "C"
37604 #endif
37605 char inet_addr ();
37606 int
37607 main ()
37608 {
37609 return inet_addr ();
37610 ;
37611 return 0;
37612 }
37613 _ACEOF
37614 rm -f conftest.$ac_objext conftest$ac_exeext
37615 if { (ac_try="$ac_link"
37616 case "(($ac_try" in
37617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37618 *) ac_try_echo=$ac_try;;
37619 esac
37620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37621 (eval "$ac_link") 2>conftest.er1
37622 ac_status=$?
37623 grep -v '^ *+' conftest.er1 >conftest.err
37624 rm -f conftest.er1
37625 cat conftest.err >&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } && {
37628 test -z "$ac_c_werror_flag" ||
37629 test ! -s conftest.err
37630 } && test -s conftest$ac_exeext &&
37631 $as_test_x conftest$ac_exeext; then
37632 ac_cv_lib_socket_inet_addr=yes
37633 else
37634 echo "$as_me: failed program was:" >&5
37635 sed 's/^/| /' conftest.$ac_ext >&5
37636
37637 ac_cv_lib_socket_inet_addr=no
37638 fi
37639
37640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37641 conftest$ac_exeext conftest.$ac_ext
37642 LIBS=$ac_check_lib_save_LIBS
37643 fi
37644 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37645 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37646 if test $ac_cv_lib_socket_inet_addr = yes; then
37647 INET_LINK="socket"
37648
37649 fi
37650
37651
37652
37653 fi
37654
37655
37656
37657 fi
37658
37659
37660
37661 fi
37662 done
37663
37664
37665
37666 for ac_func in inet_aton
37667 do
37668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37669 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37671 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37672 echo $ECHO_N "(cached) $ECHO_C" >&6
37673 else
37674 cat >conftest.$ac_ext <<_ACEOF
37675 /* confdefs.h. */
37676 _ACEOF
37677 cat confdefs.h >>conftest.$ac_ext
37678 cat >>conftest.$ac_ext <<_ACEOF
37679 /* end confdefs.h. */
37680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37682 #define $ac_func innocuous_$ac_func
37683
37684 /* System header to define __stub macros and hopefully few prototypes,
37685 which can conflict with char $ac_func (); below.
37686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37687 <limits.h> exists even on freestanding compilers. */
37688
37689 #ifdef __STDC__
37690 # include <limits.h>
37691 #else
37692 # include <assert.h>
37693 #endif
37694
37695 #undef $ac_func
37696
37697 /* Override any GCC internal prototype to avoid an error.
37698 Use char because int might match the return type of a GCC
37699 builtin and then its argument prototype would still apply. */
37700 #ifdef __cplusplus
37701 extern "C"
37702 #endif
37703 char $ac_func ();
37704 /* The GNU C library defines this for functions which it implements
37705 to always fail with ENOSYS. Some functions are actually named
37706 something starting with __ and the normal name is an alias. */
37707 #if defined __stub_$ac_func || defined __stub___$ac_func
37708 choke me
37709 #endif
37710
37711 int
37712 main ()
37713 {
37714 return $ac_func ();
37715 ;
37716 return 0;
37717 }
37718 _ACEOF
37719 rm -f conftest.$ac_objext conftest$ac_exeext
37720 if { (ac_try="$ac_link"
37721 case "(($ac_try" in
37722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37723 *) ac_try_echo=$ac_try;;
37724 esac
37725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37726 (eval "$ac_link") 2>conftest.er1
37727 ac_status=$?
37728 grep -v '^ *+' conftest.er1 >conftest.err
37729 rm -f conftest.er1
37730 cat conftest.err >&5
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); } && {
37733 test -z "$ac_c_werror_flag" ||
37734 test ! -s conftest.err
37735 } && test -s conftest$ac_exeext &&
37736 $as_test_x conftest$ac_exeext; then
37737 eval "$as_ac_var=yes"
37738 else
37739 echo "$as_me: failed program was:" >&5
37740 sed 's/^/| /' conftest.$ac_ext >&5
37741
37742 eval "$as_ac_var=no"
37743 fi
37744
37745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37746 conftest$ac_exeext conftest.$ac_ext
37747 fi
37748 ac_res=`eval echo '${'$as_ac_var'}'`
37749 { echo "$as_me:$LINENO: result: $ac_res" >&5
37750 echo "${ECHO_T}$ac_res" >&6; }
37751 if test `eval echo '${'$as_ac_var'}'` = yes; then
37752 cat >>confdefs.h <<_ACEOF
37753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37754 _ACEOF
37755 cat >>confdefs.h <<\_ACEOF
37756 #define HAVE_INET_ATON 1
37757 _ACEOF
37758
37759 else
37760
37761 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37762 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37763 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37764 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37765 echo $ECHO_N "(cached) $ECHO_C" >&6
37766 else
37767 ac_check_lib_save_LIBS=$LIBS
37768 LIBS="-l$INET_LINK $LIBS"
37769 cat >conftest.$ac_ext <<_ACEOF
37770 /* confdefs.h. */
37771 _ACEOF
37772 cat confdefs.h >>conftest.$ac_ext
37773 cat >>conftest.$ac_ext <<_ACEOF
37774 /* end confdefs.h. */
37775
37776 /* Override any GCC internal prototype to avoid an error.
37777 Use char because int might match the return type of a GCC
37778 builtin and then its argument prototype would still apply. */
37779 #ifdef __cplusplus
37780 extern "C"
37781 #endif
37782 char inet_aton ();
37783 int
37784 main ()
37785 {
37786 return inet_aton ();
37787 ;
37788 return 0;
37789 }
37790 _ACEOF
37791 rm -f conftest.$ac_objext conftest$ac_exeext
37792 if { (ac_try="$ac_link"
37793 case "(($ac_try" in
37794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37795 *) ac_try_echo=$ac_try;;
37796 esac
37797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37798 (eval "$ac_link") 2>conftest.er1
37799 ac_status=$?
37800 grep -v '^ *+' conftest.er1 >conftest.err
37801 rm -f conftest.er1
37802 cat conftest.err >&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); } && {
37805 test -z "$ac_c_werror_flag" ||
37806 test ! -s conftest.err
37807 } && test -s conftest$ac_exeext &&
37808 $as_test_x conftest$ac_exeext; then
37809 eval "$as_ac_Lib=yes"
37810 else
37811 echo "$as_me: failed program was:" >&5
37812 sed 's/^/| /' conftest.$ac_ext >&5
37813
37814 eval "$as_ac_Lib=no"
37815 fi
37816
37817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37818 conftest$ac_exeext conftest.$ac_ext
37819 LIBS=$ac_check_lib_save_LIBS
37820 fi
37821 ac_res=`eval echo '${'$as_ac_Lib'}'`
37822 { echo "$as_me:$LINENO: result: $ac_res" >&5
37823 echo "${ECHO_T}$ac_res" >&6; }
37824 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37825 cat >>confdefs.h <<\_ACEOF
37826 #define HAVE_INET_ATON 1
37827 _ACEOF
37828
37829 fi
37830
37831
37832 fi
37833 done
37834
37835
37836 if test "x$INET_LINK" != "x"; then
37837 cat >>confdefs.h <<\_ACEOF
37838 #define HAVE_INET_ADDR 1
37839 _ACEOF
37840
37841 INET_LINK=" -l$INET_LINK"
37842 fi
37843
37844
37845 for wx_func in fdopen
37846 do
37847 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37848 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37849 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37850 echo $ECHO_N "(cached) $ECHO_C" >&6
37851 else
37852
37853 cat >conftest.$ac_ext <<_ACEOF
37854
37855 /* confdefs.h. */
37856 _ACEOF
37857 cat confdefs.h >>conftest.$ac_ext
37858 cat >>conftest.$ac_ext <<_ACEOF
37859 /* end confdefs.h. */
37860
37861
37862 $ac_includes_default
37863
37864 int
37865 main ()
37866 {
37867
37868 #ifndef $wx_func
37869 &$wx_func;
37870 #endif
37871
37872
37873 ;
37874 return 0;
37875 }
37876
37877 _ACEOF
37878 rm -f conftest.$ac_objext conftest$ac_exeext
37879 if { (ac_try="$ac_link"
37880 case "(($ac_try" in
37881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37882 *) ac_try_echo=$ac_try;;
37883 esac
37884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37885 (eval "$ac_link") 2>conftest.er1
37886 ac_status=$?
37887 grep -v '^ *+' conftest.er1 >conftest.err
37888 rm -f conftest.er1
37889 cat conftest.err >&5
37890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37891 (exit $ac_status); } && {
37892 test -z "$ac_c_werror_flag" ||
37893 test ! -s conftest.err
37894 } && test -s conftest$ac_exeext &&
37895 $as_test_x conftest$ac_exeext; then
37896 eval wx_cv_func_$wx_func=yes
37897 else
37898 echo "$as_me: failed program was:" >&5
37899 sed 's/^/| /' conftest.$ac_ext >&5
37900
37901 eval wx_cv_func_$wx_func=no
37902 fi
37903
37904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37905 conftest$ac_exeext conftest.$ac_ext
37906
37907 fi
37908 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37909 { echo "$as_me:$LINENO: result: $ac_res" >&5
37910 echo "${ECHO_T}$ac_res" >&6; }
37911
37912 if eval test \$wx_cv_func_$wx_func = yes
37913 then
37914 cat >>confdefs.h <<_ACEOF
37915 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37916 _ACEOF
37917
37918
37919 else
37920 :
37921
37922 fi
37923 done
37924
37925
37926 if test "$wxUSE_TARSTREAM" = "yes"; then
37927
37928 for wx_func in sysconf
37929 do
37930 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37931 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37932 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37933 echo $ECHO_N "(cached) $ECHO_C" >&6
37934 else
37935
37936 cat >conftest.$ac_ext <<_ACEOF
37937
37938 /* confdefs.h. */
37939 _ACEOF
37940 cat confdefs.h >>conftest.$ac_ext
37941 cat >>conftest.$ac_ext <<_ACEOF
37942 /* end confdefs.h. */
37943
37944
37945 $ac_includes_default
37946
37947 int
37948 main ()
37949 {
37950
37951 #ifndef $wx_func
37952 &$wx_func;
37953 #endif
37954
37955
37956 ;
37957 return 0;
37958 }
37959
37960 _ACEOF
37961 rm -f conftest.$ac_objext conftest$ac_exeext
37962 if { (ac_try="$ac_link"
37963 case "(($ac_try" in
37964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37965 *) ac_try_echo=$ac_try;;
37966 esac
37967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37968 (eval "$ac_link") 2>conftest.er1
37969 ac_status=$?
37970 grep -v '^ *+' conftest.er1 >conftest.err
37971 rm -f conftest.er1
37972 cat conftest.err >&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } && {
37975 test -z "$ac_c_werror_flag" ||
37976 test ! -s conftest.err
37977 } && test -s conftest$ac_exeext &&
37978 $as_test_x conftest$ac_exeext; then
37979 eval wx_cv_func_$wx_func=yes
37980 else
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.$ac_ext >&5
37983
37984 eval wx_cv_func_$wx_func=no
37985 fi
37986
37987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37988 conftest$ac_exeext conftest.$ac_ext
37989
37990 fi
37991 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37992 { echo "$as_me:$LINENO: result: $ac_res" >&5
37993 echo "${ECHO_T}$ac_res" >&6; }
37994
37995 if eval test \$wx_cv_func_$wx_func = yes
37996 then
37997 cat >>confdefs.h <<_ACEOF
37998 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37999 _ACEOF
38000
38001
38002 else
38003 :
38004
38005 fi
38006 done
38007
38008
38009
38010 for wx_func in getpwuid_r
38011 do
38012 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38013 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38014 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38015 echo $ECHO_N "(cached) $ECHO_C" >&6
38016 else
38017
38018 cat >conftest.$ac_ext <<_ACEOF
38019
38020 /* confdefs.h. */
38021 _ACEOF
38022 cat confdefs.h >>conftest.$ac_ext
38023 cat >>conftest.$ac_ext <<_ACEOF
38024 /* end confdefs.h. */
38025
38026
38027 #define _REENTRANT
38028 #include <pwd.h>
38029
38030 $ac_includes_default
38031
38032 int
38033 main ()
38034 {
38035
38036 #ifndef $wx_func
38037 &$wx_func;
38038 #endif
38039
38040 struct passwd pw, *ppw;
38041 char buf[1024];
38042 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38043
38044
38045 ;
38046 return 0;
38047 }
38048
38049 _ACEOF
38050 rm -f conftest.$ac_objext conftest$ac_exeext
38051 if { (ac_try="$ac_link"
38052 case "(($ac_try" in
38053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38054 *) ac_try_echo=$ac_try;;
38055 esac
38056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38057 (eval "$ac_link") 2>conftest.er1
38058 ac_status=$?
38059 grep -v '^ *+' conftest.er1 >conftest.err
38060 rm -f conftest.er1
38061 cat conftest.err >&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); } && {
38064 test -z "$ac_c_werror_flag" ||
38065 test ! -s conftest.err
38066 } && test -s conftest$ac_exeext &&
38067 $as_test_x conftest$ac_exeext; then
38068 eval wx_cv_func_$wx_func=yes
38069 else
38070 echo "$as_me: failed program was:" >&5
38071 sed 's/^/| /' conftest.$ac_ext >&5
38072
38073 eval wx_cv_func_$wx_func=no
38074 fi
38075
38076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38077 conftest$ac_exeext conftest.$ac_ext
38078
38079 fi
38080 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38081 { echo "$as_me:$LINENO: result: $ac_res" >&5
38082 echo "${ECHO_T}$ac_res" >&6; }
38083
38084 if eval test \$wx_cv_func_$wx_func = yes
38085 then
38086 cat >>confdefs.h <<_ACEOF
38087 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38088 _ACEOF
38089
38090
38091 else
38092 :
38093
38094 fi
38095 done
38096
38097
38098
38099 for wx_func in getgrgid_r
38100 do
38101 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38102 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38103 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38104 echo $ECHO_N "(cached) $ECHO_C" >&6
38105 else
38106
38107 cat >conftest.$ac_ext <<_ACEOF
38108
38109 /* confdefs.h. */
38110 _ACEOF
38111 cat confdefs.h >>conftest.$ac_ext
38112 cat >>conftest.$ac_ext <<_ACEOF
38113 /* end confdefs.h. */
38114
38115
38116 #define _REENTRANT
38117 #include <grp.h>
38118
38119 $ac_includes_default
38120
38121 int
38122 main ()
38123 {
38124
38125 #ifndef $wx_func
38126 &$wx_func;
38127 #endif
38128
38129 struct group grp, *pgrp;
38130 char buf[1024];
38131 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38132
38133
38134 ;
38135 return 0;
38136 }
38137
38138 _ACEOF
38139 rm -f conftest.$ac_objext conftest$ac_exeext
38140 if { (ac_try="$ac_link"
38141 case "(($ac_try" in
38142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38143 *) ac_try_echo=$ac_try;;
38144 esac
38145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38146 (eval "$ac_link") 2>conftest.er1
38147 ac_status=$?
38148 grep -v '^ *+' conftest.er1 >conftest.err
38149 rm -f conftest.er1
38150 cat conftest.err >&5
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); } && {
38153 test -z "$ac_c_werror_flag" ||
38154 test ! -s conftest.err
38155 } && test -s conftest$ac_exeext &&
38156 $as_test_x conftest$ac_exeext; then
38157 eval wx_cv_func_$wx_func=yes
38158 else
38159 echo "$as_me: failed program was:" >&5
38160 sed 's/^/| /' conftest.$ac_ext >&5
38161
38162 eval wx_cv_func_$wx_func=no
38163 fi
38164
38165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38166 conftest$ac_exeext conftest.$ac_ext
38167
38168 fi
38169 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38170 { echo "$as_me:$LINENO: result: $ac_res" >&5
38171 echo "${ECHO_T}$ac_res" >&6; }
38172
38173 if eval test \$wx_cv_func_$wx_func = yes
38174 then
38175 cat >>confdefs.h <<_ACEOF
38176 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38177 _ACEOF
38178
38179
38180 else
38181 :
38182
38183 fi
38184 done
38185
38186 fi
38187
38188 fi
38189
38190
38191
38192 cat >confcache <<\_ACEOF
38193 # This file is a shell script that caches the results of configure
38194 # tests run on this system so they can be shared between configure
38195 # scripts and configure runs, see configure's option --config-cache.
38196 # It is not useful on other systems. If it contains results you don't
38197 # want to keep, you may remove or edit it.
38198 #
38199 # config.status only pays attention to the cache file if you give it
38200 # the --recheck option to rerun configure.
38201 #
38202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38204 # following values.
38205
38206 _ACEOF
38207
38208 # The following way of writing the cache mishandles newlines in values,
38209 # but we know of no workaround that is simple, portable, and efficient.
38210 # So, we kill variables containing newlines.
38211 # Ultrix sh set writes to stderr and can't be redirected directly,
38212 # and sets the high bit in the cache file unless we assign to the vars.
38213 (
38214 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38215 eval ac_val=\$$ac_var
38216 case $ac_val in #(
38217 *${as_nl}*)
38218 case $ac_var in #(
38219 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38220 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38221 esac
38222 case $ac_var in #(
38223 _ | IFS | as_nl) ;; #(
38224 *) $as_unset $ac_var ;;
38225 esac ;;
38226 esac
38227 done
38228
38229 (set) 2>&1 |
38230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38231 *${as_nl}ac_space=\ *)
38232 # `set' does not quote correctly, so add quotes (double-quote
38233 # substitution turns \\\\ into \\, and sed turns \\ into \).
38234 sed -n \
38235 "s/'/'\\\\''/g;
38236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38237 ;; #(
38238 *)
38239 # `set' quotes correctly as required by POSIX, so do not add quotes.
38240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38241 ;;
38242 esac |
38243 sort
38244 ) |
38245 sed '
38246 /^ac_cv_env_/b end
38247 t clear
38248 :clear
38249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38250 t end
38251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38252 :end' >>confcache
38253 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38254 if test -w "$cache_file"; then
38255 test "x$cache_file" != "x/dev/null" &&
38256 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38257 echo "$as_me: updating cache $cache_file" >&6;}
38258 cat confcache >$cache_file
38259 else
38260 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38261 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38262 fi
38263 fi
38264 rm -f confcache
38265
38266
38267 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38268
38269
38270 THREADS_LINK=
38271 THREADS_CFLAGS=
38272
38273 if test "$wxUSE_THREADS" = "yes" ; then
38274 if test "$USE_BEOS" = 1; then
38275 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38276 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38277 wxUSE_THREADS="no"
38278 fi
38279 fi
38280
38281 if test "$wxUSE_THREADS" = "yes" ; then
38282
38283
38284 THREAD_OPTS="-pthread"
38285 if test "x$SUNCXX" = xyes; then
38286 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38287 fi
38288
38289 case "${host}" in
38290 *-*-solaris2* | *-*-sunos4* )
38291 if test "x$GCC" = "xyes"; then
38292 THREAD_OPTS="-pthreads $THREAD_OPTS"
38293 fi
38294 ;;
38295 *-*-freebsd*)
38296 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38297 ;;
38298 *-*-darwin* | *-*-cygwin* )
38299 THREAD_OPTS=""
38300 ;;
38301 *-*-aix*)
38302 THREAD_OPTS="pthreads"
38303 ;;
38304 *-hp-hpux* )
38305 if test "x$GCC" = "xyes"; then
38306 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38307 THREAD_OPTS=""
38308 else
38309 THREAD_OPTS="-mt"
38310 fi
38311 ;;
38312
38313 *-*-irix* )
38314 if test "x$GCC" = "xyes"; then
38315 THREAD_OPTS=""
38316 fi
38317 ;;
38318
38319 *-*-*UnixWare*)
38320 if test "x$GCC" != "xyes"; then
38321 THREAD_OPTS="-Ethread"
38322 fi
38323 ;;
38324 esac
38325
38326 THREAD_OPTS="$THREAD_OPTS pthread none"
38327
38328 THREADS_OK=no
38329 for flag in $THREAD_OPTS; do
38330 case $flag in
38331 none)
38332 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38333 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38334 ;;
38335
38336 -*)
38337 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38338 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38339 THREADS_CFLAGS="$flag"
38340 ;;
38341
38342 *)
38343 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38344 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38345 THREADS_LINK="-l$flag"
38346 ;;
38347 esac
38348
38349 save_LIBS="$LIBS"
38350 save_CFLAGS="$CFLAGS"
38351 LIBS="$THREADS_LINK $LIBS"
38352 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38353
38354 cat >conftest.$ac_ext <<_ACEOF
38355 /* confdefs.h. */
38356 _ACEOF
38357 cat confdefs.h >>conftest.$ac_ext
38358 cat >>conftest.$ac_ext <<_ACEOF
38359 /* end confdefs.h. */
38360 #include <pthread.h>
38361 int
38362 main ()
38363 {
38364 pthread_create(0,0,0,0);
38365 ;
38366 return 0;
38367 }
38368 _ACEOF
38369 rm -f conftest.$ac_objext conftest$ac_exeext
38370 if { (ac_try="$ac_link"
38371 case "(($ac_try" in
38372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38373 *) ac_try_echo=$ac_try;;
38374 esac
38375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38376 (eval "$ac_link") 2>conftest.er1
38377 ac_status=$?
38378 grep -v '^ *+' conftest.er1 >conftest.err
38379 rm -f conftest.er1
38380 cat conftest.err >&5
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); } && {
38383 test -z "$ac_c_werror_flag" ||
38384 test ! -s conftest.err
38385 } && test -s conftest$ac_exeext &&
38386 $as_test_x conftest$ac_exeext; then
38387 THREADS_OK=yes
38388 else
38389 echo "$as_me: failed program was:" >&5
38390 sed 's/^/| /' conftest.$ac_ext >&5
38391
38392
38393 fi
38394
38395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38396 conftest$ac_exeext conftest.$ac_ext
38397
38398 LIBS="$save_LIBS"
38399 CFLAGS="$save_CFLAGS"
38400
38401 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38402 echo "${ECHO_T}$THREADS_OK" >&6; }
38403 if test "x$THREADS_OK" = "xyes"; then
38404 break;
38405 fi
38406
38407 THREADS_LINK=""
38408 THREADS_CFLAGS=""
38409 done
38410
38411 if test "x$THREADS_OK" != "xyes"; then
38412 wxUSE_THREADS=no
38413 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38414 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38415 else
38416 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38417 LIBS="$THREADS_LINK $LIBS"
38418
38419 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38420 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38421 flag=no
38422 case "${host}" in
38423 *-aix*)
38424 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38425 flag="-D_THREAD_SAFE"
38426 ;;
38427 *-freebsd*)
38428 flag="-D_THREAD_SAFE"
38429 ;;
38430 *-hp-hpux* )
38431 flag="-D_REENTRANT"
38432 if test "x$GCC" != "xyes"; then
38433 flag="$flag -D_RWSTD_MULTI_THREAD"
38434 fi
38435 ;;
38436 *solaris* | alpha*-osf*)
38437 flag="-D_REENTRANT"
38438 ;;
38439 esac
38440 { echo "$as_me:$LINENO: result: ${flag}" >&5
38441 echo "${ECHO_T}${flag}" >&6; }
38442 if test "x$flag" != xno; then
38443 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38444 fi
38445
38446 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38447 fi
38448 fi
38449
38450 if test "$wxUSE_THREADS" = "yes" ; then
38451
38452 for ac_func in thr_setconcurrency
38453 do
38454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38455 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38457 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38459 else
38460 cat >conftest.$ac_ext <<_ACEOF
38461 /* confdefs.h. */
38462 _ACEOF
38463 cat confdefs.h >>conftest.$ac_ext
38464 cat >>conftest.$ac_ext <<_ACEOF
38465 /* end confdefs.h. */
38466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38468 #define $ac_func innocuous_$ac_func
38469
38470 /* System header to define __stub macros and hopefully few prototypes,
38471 which can conflict with char $ac_func (); below.
38472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38473 <limits.h> exists even on freestanding compilers. */
38474
38475 #ifdef __STDC__
38476 # include <limits.h>
38477 #else
38478 # include <assert.h>
38479 #endif
38480
38481 #undef $ac_func
38482
38483 /* Override any GCC internal prototype to avoid an error.
38484 Use char because int might match the return type of a GCC
38485 builtin and then its argument prototype would still apply. */
38486 #ifdef __cplusplus
38487 extern "C"
38488 #endif
38489 char $ac_func ();
38490 /* The GNU C library defines this for functions which it implements
38491 to always fail with ENOSYS. Some functions are actually named
38492 something starting with __ and the normal name is an alias. */
38493 #if defined __stub_$ac_func || defined __stub___$ac_func
38494 choke me
38495 #endif
38496
38497 int
38498 main ()
38499 {
38500 return $ac_func ();
38501 ;
38502 return 0;
38503 }
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (ac_try="$ac_link"
38507 case "(($ac_try" in
38508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38509 *) ac_try_echo=$ac_try;;
38510 esac
38511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38512 (eval "$ac_link") 2>conftest.er1
38513 ac_status=$?
38514 grep -v '^ *+' conftest.er1 >conftest.err
38515 rm -f conftest.er1
38516 cat conftest.err >&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); } && {
38519 test -z "$ac_c_werror_flag" ||
38520 test ! -s conftest.err
38521 } && test -s conftest$ac_exeext &&
38522 $as_test_x conftest$ac_exeext; then
38523 eval "$as_ac_var=yes"
38524 else
38525 echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.$ac_ext >&5
38527
38528 eval "$as_ac_var=no"
38529 fi
38530
38531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38532 conftest$ac_exeext conftest.$ac_ext
38533 fi
38534 ac_res=`eval echo '${'$as_ac_var'}'`
38535 { echo "$as_me:$LINENO: result: $ac_res" >&5
38536 echo "${ECHO_T}$ac_res" >&6; }
38537 if test `eval echo '${'$as_ac_var'}'` = yes; then
38538 cat >>confdefs.h <<_ACEOF
38539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38540 _ACEOF
38541
38542 fi
38543 done
38544
38545
38546 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38547 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38548 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38549 echo $ECHO_N "(cached) $ECHO_C" >&6
38550 else
38551
38552 ac_ext=cpp
38553 ac_cpp='$CXXCPP $CPPFLAGS'
38554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38557
38558 cat >conftest.$ac_ext <<_ACEOF
38559 /* confdefs.h. */
38560 _ACEOF
38561 cat confdefs.h >>conftest.$ac_ext
38562 cat >>conftest.$ac_ext <<_ACEOF
38563 /* end confdefs.h. */
38564 #include <pthread.h>
38565 void ThreadCleanupFunc(void *p);
38566
38567 int
38568 main ()
38569 {
38570
38571 void *p;
38572 pthread_cleanup_push(ThreadCleanupFunc, p);
38573 pthread_cleanup_pop(0);
38574
38575 ;
38576 return 0;
38577 }
38578 _ACEOF
38579 rm -f conftest.$ac_objext
38580 if { (ac_try="$ac_compile"
38581 case "(($ac_try" in
38582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38583 *) ac_try_echo=$ac_try;;
38584 esac
38585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38586 (eval "$ac_compile") 2>conftest.er1
38587 ac_status=$?
38588 grep -v '^ *+' conftest.er1 >conftest.err
38589 rm -f conftest.er1
38590 cat conftest.err >&5
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); } && {
38593 test -z "$ac_cxx_werror_flag" ||
38594 test ! -s conftest.err
38595 } && test -s conftest.$ac_objext; then
38596
38597 wx_cv_func_pthread_cleanup=yes
38598
38599 else
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.$ac_ext >&5
38602
38603
38604 wx_cv_func_pthread_cleanup=no
38605
38606
38607 fi
38608
38609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38610 ac_ext=c
38611 ac_cpp='$CPP $CPPFLAGS'
38612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38615
38616
38617 fi
38618 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38619 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38620 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38621 cat >>confdefs.h <<\_ACEOF
38622 #define wxHAVE_PTHREAD_CLEANUP 1
38623 _ACEOF
38624
38625 fi
38626
38627
38628 for ac_header in sched.h
38629 do
38630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38631 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38635 else
38636 cat >conftest.$ac_ext <<_ACEOF
38637 /* confdefs.h. */
38638 _ACEOF
38639 cat confdefs.h >>conftest.$ac_ext
38640 cat >>conftest.$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642 $ac_includes_default
38643
38644 #include <$ac_header>
38645 _ACEOF
38646 rm -f conftest.$ac_objext
38647 if { (ac_try="$ac_compile"
38648 case "(($ac_try" in
38649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38650 *) ac_try_echo=$ac_try;;
38651 esac
38652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38653 (eval "$ac_compile") 2>conftest.er1
38654 ac_status=$?
38655 grep -v '^ *+' conftest.er1 >conftest.err
38656 rm -f conftest.er1
38657 cat conftest.err >&5
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); } && {
38660 test -z "$ac_c_werror_flag" ||
38661 test ! -s conftest.err
38662 } && test -s conftest.$ac_objext; then
38663 eval "$as_ac_Header=yes"
38664 else
38665 echo "$as_me: failed program was:" >&5
38666 sed 's/^/| /' conftest.$ac_ext >&5
38667
38668 eval "$as_ac_Header=no"
38669 fi
38670
38671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38672 fi
38673 ac_res=`eval echo '${'$as_ac_Header'}'`
38674 { echo "$as_me:$LINENO: result: $ac_res" >&5
38675 echo "${ECHO_T}$ac_res" >&6; }
38676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38677 cat >>confdefs.h <<_ACEOF
38678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38679 _ACEOF
38680
38681 fi
38682
38683 done
38684
38685 if test "$ac_cv_header_sched_h" = "yes"; then
38686 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38687 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38688 if test "${ac_cv_func_sched_yield+set}" = set; then
38689 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 else
38691 cat >conftest.$ac_ext <<_ACEOF
38692 /* confdefs.h. */
38693 _ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38699 #define sched_yield innocuous_sched_yield
38700
38701 /* System header to define __stub macros and hopefully few prototypes,
38702 which can conflict with char sched_yield (); below.
38703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38704 <limits.h> exists even on freestanding compilers. */
38705
38706 #ifdef __STDC__
38707 # include <limits.h>
38708 #else
38709 # include <assert.h>
38710 #endif
38711
38712 #undef sched_yield
38713
38714 /* Override any GCC internal prototype to avoid an error.
38715 Use char because int might match the return type of a GCC
38716 builtin and then its argument prototype would still apply. */
38717 #ifdef __cplusplus
38718 extern "C"
38719 #endif
38720 char sched_yield ();
38721 /* The GNU C library defines this for functions which it implements
38722 to always fail with ENOSYS. Some functions are actually named
38723 something starting with __ and the normal name is an alias. */
38724 #if defined __stub_sched_yield || defined __stub___sched_yield
38725 choke me
38726 #endif
38727
38728 int
38729 main ()
38730 {
38731 return sched_yield ();
38732 ;
38733 return 0;
38734 }
38735 _ACEOF
38736 rm -f conftest.$ac_objext conftest$ac_exeext
38737 if { (ac_try="$ac_link"
38738 case "(($ac_try" in
38739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38740 *) ac_try_echo=$ac_try;;
38741 esac
38742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38743 (eval "$ac_link") 2>conftest.er1
38744 ac_status=$?
38745 grep -v '^ *+' conftest.er1 >conftest.err
38746 rm -f conftest.er1
38747 cat conftest.err >&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } && {
38750 test -z "$ac_c_werror_flag" ||
38751 test ! -s conftest.err
38752 } && test -s conftest$ac_exeext &&
38753 $as_test_x conftest$ac_exeext; then
38754 ac_cv_func_sched_yield=yes
38755 else
38756 echo "$as_me: failed program was:" >&5
38757 sed 's/^/| /' conftest.$ac_ext >&5
38758
38759 ac_cv_func_sched_yield=no
38760 fi
38761
38762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38763 conftest$ac_exeext conftest.$ac_ext
38764 fi
38765 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38766 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38767 if test $ac_cv_func_sched_yield = yes; then
38768 cat >>confdefs.h <<\_ACEOF
38769 #define HAVE_SCHED_YIELD 1
38770 _ACEOF
38771
38772 else
38773
38774 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38775 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38776 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38777 echo $ECHO_N "(cached) $ECHO_C" >&6
38778 else
38779 ac_check_lib_save_LIBS=$LIBS
38780 LIBS="-lposix4 $LIBS"
38781 cat >conftest.$ac_ext <<_ACEOF
38782 /* confdefs.h. */
38783 _ACEOF
38784 cat confdefs.h >>conftest.$ac_ext
38785 cat >>conftest.$ac_ext <<_ACEOF
38786 /* end confdefs.h. */
38787
38788 /* Override any GCC internal prototype to avoid an error.
38789 Use char because int might match the return type of a GCC
38790 builtin and then its argument prototype would still apply. */
38791 #ifdef __cplusplus
38792 extern "C"
38793 #endif
38794 char sched_yield ();
38795 int
38796 main ()
38797 {
38798 return sched_yield ();
38799 ;
38800 return 0;
38801 }
38802 _ACEOF
38803 rm -f conftest.$ac_objext conftest$ac_exeext
38804 if { (ac_try="$ac_link"
38805 case "(($ac_try" in
38806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38807 *) ac_try_echo=$ac_try;;
38808 esac
38809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38810 (eval "$ac_link") 2>conftest.er1
38811 ac_status=$?
38812 grep -v '^ *+' conftest.er1 >conftest.err
38813 rm -f conftest.er1
38814 cat conftest.err >&5
38815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); } && {
38817 test -z "$ac_c_werror_flag" ||
38818 test ! -s conftest.err
38819 } && test -s conftest$ac_exeext &&
38820 $as_test_x conftest$ac_exeext; then
38821 ac_cv_lib_posix4_sched_yield=yes
38822 else
38823 echo "$as_me: failed program was:" >&5
38824 sed 's/^/| /' conftest.$ac_ext >&5
38825
38826 ac_cv_lib_posix4_sched_yield=no
38827 fi
38828
38829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38830 conftest$ac_exeext conftest.$ac_ext
38831 LIBS=$ac_check_lib_save_LIBS
38832 fi
38833 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38834 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38835 if test $ac_cv_lib_posix4_sched_yield = yes; then
38836 cat >>confdefs.h <<\_ACEOF
38837 #define HAVE_SCHED_YIELD 1
38838 _ACEOF
38839 POSIX4_LINK=" -lposix4"
38840 else
38841 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38842 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38843
38844 fi
38845
38846
38847
38848 fi
38849
38850 fi
38851
38852 HAVE_PRIOR_FUNCS=0
38853 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38854 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38855 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38856 echo $ECHO_N "(cached) $ECHO_C" >&6
38857 else
38858 cat >conftest.$ac_ext <<_ACEOF
38859 /* confdefs.h. */
38860 _ACEOF
38861 cat confdefs.h >>conftest.$ac_ext
38862 cat >>conftest.$ac_ext <<_ACEOF
38863 /* end confdefs.h. */
38864 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38866 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38867
38868 /* System header to define __stub macros and hopefully few prototypes,
38869 which can conflict with char pthread_attr_getschedpolicy (); below.
38870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38871 <limits.h> exists even on freestanding compilers. */
38872
38873 #ifdef __STDC__
38874 # include <limits.h>
38875 #else
38876 # include <assert.h>
38877 #endif
38878
38879 #undef pthread_attr_getschedpolicy
38880
38881 /* Override any GCC internal prototype to avoid an error.
38882 Use char because int might match the return type of a GCC
38883 builtin and then its argument prototype would still apply. */
38884 #ifdef __cplusplus
38885 extern "C"
38886 #endif
38887 char pthread_attr_getschedpolicy ();
38888 /* The GNU C library defines this for functions which it implements
38889 to always fail with ENOSYS. Some functions are actually named
38890 something starting with __ and the normal name is an alias. */
38891 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38892 choke me
38893 #endif
38894
38895 int
38896 main ()
38897 {
38898 return pthread_attr_getschedpolicy ();
38899 ;
38900 return 0;
38901 }
38902 _ACEOF
38903 rm -f conftest.$ac_objext conftest$ac_exeext
38904 if { (ac_try="$ac_link"
38905 case "(($ac_try" in
38906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38907 *) ac_try_echo=$ac_try;;
38908 esac
38909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38910 (eval "$ac_link") 2>conftest.er1
38911 ac_status=$?
38912 grep -v '^ *+' conftest.er1 >conftest.err
38913 rm -f conftest.er1
38914 cat conftest.err >&5
38915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38916 (exit $ac_status); } && {
38917 test -z "$ac_c_werror_flag" ||
38918 test ! -s conftest.err
38919 } && test -s conftest$ac_exeext &&
38920 $as_test_x conftest$ac_exeext; then
38921 ac_cv_func_pthread_attr_getschedpolicy=yes
38922 else
38923 echo "$as_me: failed program was:" >&5
38924 sed 's/^/| /' conftest.$ac_ext >&5
38925
38926 ac_cv_func_pthread_attr_getschedpolicy=no
38927 fi
38928
38929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38930 conftest$ac_exeext conftest.$ac_ext
38931 fi
38932 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38933 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38934 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38935 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38936 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38937 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38938 echo $ECHO_N "(cached) $ECHO_C" >&6
38939 else
38940 cat >conftest.$ac_ext <<_ACEOF
38941 /* confdefs.h. */
38942 _ACEOF
38943 cat confdefs.h >>conftest.$ac_ext
38944 cat >>conftest.$ac_ext <<_ACEOF
38945 /* end confdefs.h. */
38946 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38948 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38949
38950 /* System header to define __stub macros and hopefully few prototypes,
38951 which can conflict with char pthread_attr_setschedparam (); below.
38952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38953 <limits.h> exists even on freestanding compilers. */
38954
38955 #ifdef __STDC__
38956 # include <limits.h>
38957 #else
38958 # include <assert.h>
38959 #endif
38960
38961 #undef pthread_attr_setschedparam
38962
38963 /* Override any GCC internal prototype to avoid an error.
38964 Use char because int might match the return type of a GCC
38965 builtin and then its argument prototype would still apply. */
38966 #ifdef __cplusplus
38967 extern "C"
38968 #endif
38969 char pthread_attr_setschedparam ();
38970 /* The GNU C library defines this for functions which it implements
38971 to always fail with ENOSYS. Some functions are actually named
38972 something starting with __ and the normal name is an alias. */
38973 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38974 choke me
38975 #endif
38976
38977 int
38978 main ()
38979 {
38980 return pthread_attr_setschedparam ();
38981 ;
38982 return 0;
38983 }
38984 _ACEOF
38985 rm -f conftest.$ac_objext conftest$ac_exeext
38986 if { (ac_try="$ac_link"
38987 case "(($ac_try" in
38988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38989 *) ac_try_echo=$ac_try;;
38990 esac
38991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38992 (eval "$ac_link") 2>conftest.er1
38993 ac_status=$?
38994 grep -v '^ *+' conftest.er1 >conftest.err
38995 rm -f conftest.er1
38996 cat conftest.err >&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); } && {
38999 test -z "$ac_c_werror_flag" ||
39000 test ! -s conftest.err
39001 } && test -s conftest$ac_exeext &&
39002 $as_test_x conftest$ac_exeext; then
39003 ac_cv_func_pthread_attr_setschedparam=yes
39004 else
39005 echo "$as_me: failed program was:" >&5
39006 sed 's/^/| /' conftest.$ac_ext >&5
39007
39008 ac_cv_func_pthread_attr_setschedparam=no
39009 fi
39010
39011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39012 conftest$ac_exeext conftest.$ac_ext
39013 fi
39014 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39015 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39016 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39017 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39018 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39019 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39020 echo $ECHO_N "(cached) $ECHO_C" >&6
39021 else
39022 cat >conftest.$ac_ext <<_ACEOF
39023 /* confdefs.h. */
39024 _ACEOF
39025 cat confdefs.h >>conftest.$ac_ext
39026 cat >>conftest.$ac_ext <<_ACEOF
39027 /* end confdefs.h. */
39028 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39030 #define sched_get_priority_max innocuous_sched_get_priority_max
39031
39032 /* System header to define __stub macros and hopefully few prototypes,
39033 which can conflict with char sched_get_priority_max (); below.
39034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39035 <limits.h> exists even on freestanding compilers. */
39036
39037 #ifdef __STDC__
39038 # include <limits.h>
39039 #else
39040 # include <assert.h>
39041 #endif
39042
39043 #undef sched_get_priority_max
39044
39045 /* Override any GCC internal prototype to avoid an error.
39046 Use char because int might match the return type of a GCC
39047 builtin and then its argument prototype would still apply. */
39048 #ifdef __cplusplus
39049 extern "C"
39050 #endif
39051 char sched_get_priority_max ();
39052 /* The GNU C library defines this for functions which it implements
39053 to always fail with ENOSYS. Some functions are actually named
39054 something starting with __ and the normal name is an alias. */
39055 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39056 choke me
39057 #endif
39058
39059 int
39060 main ()
39061 {
39062 return sched_get_priority_max ();
39063 ;
39064 return 0;
39065 }
39066 _ACEOF
39067 rm -f conftest.$ac_objext conftest$ac_exeext
39068 if { (ac_try="$ac_link"
39069 case "(($ac_try" in
39070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39071 *) ac_try_echo=$ac_try;;
39072 esac
39073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39074 (eval "$ac_link") 2>conftest.er1
39075 ac_status=$?
39076 grep -v '^ *+' conftest.er1 >conftest.err
39077 rm -f conftest.er1
39078 cat conftest.err >&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); } && {
39081 test -z "$ac_c_werror_flag" ||
39082 test ! -s conftest.err
39083 } && test -s conftest$ac_exeext &&
39084 $as_test_x conftest$ac_exeext; then
39085 ac_cv_func_sched_get_priority_max=yes
39086 else
39087 echo "$as_me: failed program was:" >&5
39088 sed 's/^/| /' conftest.$ac_ext >&5
39089
39090 ac_cv_func_sched_get_priority_max=no
39091 fi
39092
39093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39094 conftest$ac_exeext conftest.$ac_ext
39095 fi
39096 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39097 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39098 if test $ac_cv_func_sched_get_priority_max = yes; then
39099 HAVE_PRIOR_FUNCS=1
39100 else
39101 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39102 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39103 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39104 echo $ECHO_N "(cached) $ECHO_C" >&6
39105 else
39106 ac_check_lib_save_LIBS=$LIBS
39107 LIBS="-lposix4 $LIBS"
39108 cat >conftest.$ac_ext <<_ACEOF
39109 /* confdefs.h. */
39110 _ACEOF
39111 cat confdefs.h >>conftest.$ac_ext
39112 cat >>conftest.$ac_ext <<_ACEOF
39113 /* end confdefs.h. */
39114
39115 /* Override any GCC internal prototype to avoid an error.
39116 Use char because int might match the return type of a GCC
39117 builtin and then its argument prototype would still apply. */
39118 #ifdef __cplusplus
39119 extern "C"
39120 #endif
39121 char sched_get_priority_max ();
39122 int
39123 main ()
39124 {
39125 return sched_get_priority_max ();
39126 ;
39127 return 0;
39128 }
39129 _ACEOF
39130 rm -f conftest.$ac_objext conftest$ac_exeext
39131 if { (ac_try="$ac_link"
39132 case "(($ac_try" in
39133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39134 *) ac_try_echo=$ac_try;;
39135 esac
39136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39137 (eval "$ac_link") 2>conftest.er1
39138 ac_status=$?
39139 grep -v '^ *+' conftest.er1 >conftest.err
39140 rm -f conftest.er1
39141 cat conftest.err >&5
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); } && {
39144 test -z "$ac_c_werror_flag" ||
39145 test ! -s conftest.err
39146 } && test -s conftest$ac_exeext &&
39147 $as_test_x conftest$ac_exeext; then
39148 ac_cv_lib_posix4_sched_get_priority_max=yes
39149 else
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.$ac_ext >&5
39152
39153 ac_cv_lib_posix4_sched_get_priority_max=no
39154 fi
39155
39156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39157 conftest$ac_exeext conftest.$ac_ext
39158 LIBS=$ac_check_lib_save_LIBS
39159 fi
39160 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39161 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39162 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39163
39164 HAVE_PRIOR_FUNCS=1
39165 POSIX4_LINK=" -lposix4"
39166
39167 fi
39168
39169
39170 fi
39171
39172
39173 fi
39174
39175
39176 fi
39177
39178
39179 if test "$HAVE_PRIOR_FUNCS" = 1; then
39180 cat >>confdefs.h <<\_ACEOF
39181 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39182 _ACEOF
39183
39184 else
39185 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39186 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39187 fi
39188
39189 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39190 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39191 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39192 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 else
39194 cat >conftest.$ac_ext <<_ACEOF
39195 /* confdefs.h. */
39196 _ACEOF
39197 cat confdefs.h >>conftest.$ac_ext
39198 cat >>conftest.$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39202 #define pthread_cancel innocuous_pthread_cancel
39203
39204 /* System header to define __stub macros and hopefully few prototypes,
39205 which can conflict with char pthread_cancel (); below.
39206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39207 <limits.h> exists even on freestanding compilers. */
39208
39209 #ifdef __STDC__
39210 # include <limits.h>
39211 #else
39212 # include <assert.h>
39213 #endif
39214
39215 #undef pthread_cancel
39216
39217 /* Override any GCC internal prototype to avoid an error.
39218 Use char because int might match the return type of a GCC
39219 builtin and then its argument prototype would still apply. */
39220 #ifdef __cplusplus
39221 extern "C"
39222 #endif
39223 char pthread_cancel ();
39224 /* The GNU C library defines this for functions which it implements
39225 to always fail with ENOSYS. Some functions are actually named
39226 something starting with __ and the normal name is an alias. */
39227 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39228 choke me
39229 #endif
39230
39231 int
39232 main ()
39233 {
39234 return pthread_cancel ();
39235 ;
39236 return 0;
39237 }
39238 _ACEOF
39239 rm -f conftest.$ac_objext conftest$ac_exeext
39240 if { (ac_try="$ac_link"
39241 case "(($ac_try" in
39242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39243 *) ac_try_echo=$ac_try;;
39244 esac
39245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39246 (eval "$ac_link") 2>conftest.er1
39247 ac_status=$?
39248 grep -v '^ *+' conftest.er1 >conftest.err
39249 rm -f conftest.er1
39250 cat conftest.err >&5
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); } && {
39253 test -z "$ac_c_werror_flag" ||
39254 test ! -s conftest.err
39255 } && test -s conftest$ac_exeext &&
39256 $as_test_x conftest$ac_exeext; then
39257 ac_cv_func_pthread_cancel=yes
39258 else
39259 echo "$as_me: failed program was:" >&5
39260 sed 's/^/| /' conftest.$ac_ext >&5
39261
39262 ac_cv_func_pthread_cancel=no
39263 fi
39264
39265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39266 conftest$ac_exeext conftest.$ac_ext
39267 fi
39268 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39269 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39270 if test $ac_cv_func_pthread_cancel = yes; then
39271 cat >>confdefs.h <<\_ACEOF
39272 #define HAVE_PTHREAD_CANCEL 1
39273 _ACEOF
39274
39275 else
39276 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39277 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39278 fi
39279
39280
39281 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39282 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39283 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39284 echo $ECHO_N "(cached) $ECHO_C" >&6
39285 else
39286 cat >conftest.$ac_ext <<_ACEOF
39287 /* confdefs.h. */
39288 _ACEOF
39289 cat confdefs.h >>conftest.$ac_ext
39290 cat >>conftest.$ac_ext <<_ACEOF
39291 /* end confdefs.h. */
39292 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39294 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39295
39296 /* System header to define __stub macros and hopefully few prototypes,
39297 which can conflict with char pthread_mutex_timedlock (); below.
39298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39299 <limits.h> exists even on freestanding compilers. */
39300
39301 #ifdef __STDC__
39302 # include <limits.h>
39303 #else
39304 # include <assert.h>
39305 #endif
39306
39307 #undef pthread_mutex_timedlock
39308
39309 /* Override any GCC internal prototype to avoid an error.
39310 Use char because int might match the return type of a GCC
39311 builtin and then its argument prototype would still apply. */
39312 #ifdef __cplusplus
39313 extern "C"
39314 #endif
39315 char pthread_mutex_timedlock ();
39316 /* The GNU C library defines this for functions which it implements
39317 to always fail with ENOSYS. Some functions are actually named
39318 something starting with __ and the normal name is an alias. */
39319 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39320 choke me
39321 #endif
39322
39323 int
39324 main ()
39325 {
39326 return pthread_mutex_timedlock ();
39327 ;
39328 return 0;
39329 }
39330 _ACEOF
39331 rm -f conftest.$ac_objext conftest$ac_exeext
39332 if { (ac_try="$ac_link"
39333 case "(($ac_try" in
39334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39335 *) ac_try_echo=$ac_try;;
39336 esac
39337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39338 (eval "$ac_link") 2>conftest.er1
39339 ac_status=$?
39340 grep -v '^ *+' conftest.er1 >conftest.err
39341 rm -f conftest.er1
39342 cat conftest.err >&5
39343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39344 (exit $ac_status); } && {
39345 test -z "$ac_c_werror_flag" ||
39346 test ! -s conftest.err
39347 } && test -s conftest$ac_exeext &&
39348 $as_test_x conftest$ac_exeext; then
39349 ac_cv_func_pthread_mutex_timedlock=yes
39350 else
39351 echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.$ac_ext >&5
39353
39354 ac_cv_func_pthread_mutex_timedlock=no
39355 fi
39356
39357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39358 conftest$ac_exeext conftest.$ac_ext
39359 fi
39360 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39361 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39362 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39363 cat >>confdefs.h <<\_ACEOF
39364 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39365 _ACEOF
39366
39367 else
39368 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39369 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39370 fi
39371
39372
39373 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39374 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39375 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39376 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 else
39378 cat >conftest.$ac_ext <<_ACEOF
39379 /* confdefs.h. */
39380 _ACEOF
39381 cat confdefs.h >>conftest.$ac_ext
39382 cat >>conftest.$ac_ext <<_ACEOF
39383 /* end confdefs.h. */
39384 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39386 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39387
39388 /* System header to define __stub macros and hopefully few prototypes,
39389 which can conflict with char pthread_attr_setstacksize (); below.
39390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39391 <limits.h> exists even on freestanding compilers. */
39392
39393 #ifdef __STDC__
39394 # include <limits.h>
39395 #else
39396 # include <assert.h>
39397 #endif
39398
39399 #undef pthread_attr_setstacksize
39400
39401 /* Override any GCC internal prototype to avoid an error.
39402 Use char because int might match the return type of a GCC
39403 builtin and then its argument prototype would still apply. */
39404 #ifdef __cplusplus
39405 extern "C"
39406 #endif
39407 char pthread_attr_setstacksize ();
39408 /* The GNU C library defines this for functions which it implements
39409 to always fail with ENOSYS. Some functions are actually named
39410 something starting with __ and the normal name is an alias. */
39411 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39412 choke me
39413 #endif
39414
39415 int
39416 main ()
39417 {
39418 return pthread_attr_setstacksize ();
39419 ;
39420 return 0;
39421 }
39422 _ACEOF
39423 rm -f conftest.$ac_objext conftest$ac_exeext
39424 if { (ac_try="$ac_link"
39425 case "(($ac_try" in
39426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39427 *) ac_try_echo=$ac_try;;
39428 esac
39429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39430 (eval "$ac_link") 2>conftest.er1
39431 ac_status=$?
39432 grep -v '^ *+' conftest.er1 >conftest.err
39433 rm -f conftest.er1
39434 cat conftest.err >&5
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); } && {
39437 test -z "$ac_c_werror_flag" ||
39438 test ! -s conftest.err
39439 } && test -s conftest$ac_exeext &&
39440 $as_test_x conftest$ac_exeext; then
39441 ac_cv_func_pthread_attr_setstacksize=yes
39442 else
39443 echo "$as_me: failed program was:" >&5
39444 sed 's/^/| /' conftest.$ac_ext >&5
39445
39446 ac_cv_func_pthread_attr_setstacksize=no
39447 fi
39448
39449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39450 conftest$ac_exeext conftest.$ac_ext
39451 fi
39452 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39453 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39454 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39455 cat >>confdefs.h <<\_ACEOF
39456 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39457 _ACEOF
39458
39459 fi
39460
39461
39462
39463 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39464 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39465 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39466 echo $ECHO_N "(cached) $ECHO_C" >&6
39467 else
39468
39469 cat >conftest.$ac_ext <<_ACEOF
39470 /* confdefs.h. */
39471 _ACEOF
39472 cat confdefs.h >>conftest.$ac_ext
39473 cat >>conftest.$ac_ext <<_ACEOF
39474 /* end confdefs.h. */
39475 #include <pthread.h>
39476 int
39477 main ()
39478 {
39479
39480 pthread_mutexattr_t attr;
39481 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39482
39483 ;
39484 return 0;
39485 }
39486 _ACEOF
39487 rm -f conftest.$ac_objext
39488 if { (ac_try="$ac_compile"
39489 case "(($ac_try" in
39490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39491 *) ac_try_echo=$ac_try;;
39492 esac
39493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39494 (eval "$ac_compile") 2>conftest.er1
39495 ac_status=$?
39496 grep -v '^ *+' conftest.er1 >conftest.err
39497 rm -f conftest.er1
39498 cat conftest.err >&5
39499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39500 (exit $ac_status); } && {
39501 test -z "$ac_c_werror_flag" ||
39502 test ! -s conftest.err
39503 } && test -s conftest.$ac_objext; then
39504 wx_cv_type_pthread_mutexattr_t=yes
39505 else
39506 echo "$as_me: failed program was:" >&5
39507 sed 's/^/| /' conftest.$ac_ext >&5
39508
39509 wx_cv_type_pthread_mutexattr_t=no
39510
39511 fi
39512
39513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39514
39515 fi
39516 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39517 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39518
39519 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39520 cat >>confdefs.h <<\_ACEOF
39521 #define HAVE_PTHREAD_MUTEXATTR_T 1
39522 _ACEOF
39523
39524
39525 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39526 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39527 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39528 echo $ECHO_N "(cached) $ECHO_C" >&6
39529 else
39530
39531 cat >conftest.$ac_ext <<_ACEOF
39532 /* confdefs.h. */
39533 _ACEOF
39534 cat confdefs.h >>conftest.$ac_ext
39535 cat >>conftest.$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39537 #include <pthread.h>
39538 int
39539 main ()
39540 {
39541
39542 pthread_mutexattr_t attr;
39543 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39544
39545 ;
39546 return 0;
39547 }
39548 _ACEOF
39549 rm -f conftest.$ac_objext
39550 if { (ac_try="$ac_compile"
39551 case "(($ac_try" in
39552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39553 *) ac_try_echo=$ac_try;;
39554 esac
39555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39556 (eval "$ac_compile") 2>conftest.er1
39557 ac_status=$?
39558 grep -v '^ *+' conftest.er1 >conftest.err
39559 rm -f conftest.er1
39560 cat conftest.err >&5
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); } && {
39563 test -z "$ac_c_werror_flag" ||
39564 test ! -s conftest.err
39565 } && test -s conftest.$ac_objext; then
39566 wx_cv_func_pthread_mutexattr_settype_decl=yes
39567 else
39568 echo "$as_me: failed program was:" >&5
39569 sed 's/^/| /' conftest.$ac_ext >&5
39570
39571 wx_cv_func_pthread_mutexattr_settype_decl=no
39572
39573 fi
39574
39575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39576
39577 fi
39578 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39579 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39580 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39581 cat >>confdefs.h <<\_ACEOF
39582 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39583 _ACEOF
39584
39585 fi
39586 else
39587 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39588 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39589 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39590 echo $ECHO_N "(cached) $ECHO_C" >&6
39591 else
39592
39593 cat >conftest.$ac_ext <<_ACEOF
39594 /* confdefs.h. */
39595 _ACEOF
39596 cat confdefs.h >>conftest.$ac_ext
39597 cat >>conftest.$ac_ext <<_ACEOF
39598 /* end confdefs.h. */
39599 #include <pthread.h>
39600 int
39601 main ()
39602 {
39603
39604 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39605
39606 ;
39607 return 0;
39608 }
39609 _ACEOF
39610 rm -f conftest.$ac_objext
39611 if { (ac_try="$ac_compile"
39612 case "(($ac_try" in
39613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39614 *) ac_try_echo=$ac_try;;
39615 esac
39616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39617 (eval "$ac_compile") 2>conftest.er1
39618 ac_status=$?
39619 grep -v '^ *+' conftest.er1 >conftest.err
39620 rm -f conftest.er1
39621 cat conftest.err >&5
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); } && {
39624 test -z "$ac_c_werror_flag" ||
39625 test ! -s conftest.err
39626 } && test -s conftest.$ac_objext; then
39627
39628 wx_cv_type_pthread_rec_mutex_init=yes
39629
39630 else
39631 echo "$as_me: failed program was:" >&5
39632 sed 's/^/| /' conftest.$ac_ext >&5
39633
39634
39635 wx_cv_type_pthread_rec_mutex_init=no
39636
39637
39638 fi
39639
39640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39641
39642 fi
39643 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39644 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39645 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39646 cat >>confdefs.h <<\_ACEOF
39647 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39648 _ACEOF
39649
39650 else
39651 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39652 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39653 fi
39654 fi
39655 fi
39656
39657 else
39658 if test "$wxUSE_THREADS" = "yes" ; then
39659 case "${host}" in
39660 *-*-mingw32* )
39661 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39662 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39663 if test "${wx_cv_cflags_mthread+set}" = set; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39665 else
39666
39667 CFLAGS_OLD="$CFLAGS"
39668 CFLAGS="-mthreads $CFLAGS"
39669 cat >conftest.$ac_ext <<_ACEOF
39670 /* confdefs.h. */
39671 _ACEOF
39672 cat confdefs.h >>conftest.$ac_ext
39673 cat >>conftest.$ac_ext <<_ACEOF
39674 /* end confdefs.h. */
39675
39676 int
39677 main ()
39678 {
39679
39680 ;
39681 return 0;
39682 }
39683 _ACEOF
39684 rm -f conftest.$ac_objext
39685 if { (ac_try="$ac_compile"
39686 case "(($ac_try" in
39687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39688 *) ac_try_echo=$ac_try;;
39689 esac
39690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39691 (eval "$ac_compile") 2>conftest.er1
39692 ac_status=$?
39693 grep -v '^ *+' conftest.er1 >conftest.err
39694 rm -f conftest.er1
39695 cat conftest.err >&5
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); } && {
39698 test -z "$ac_c_werror_flag" ||
39699 test ! -s conftest.err
39700 } && test -s conftest.$ac_objext; then
39701 wx_cv_cflags_mthread=yes
39702 else
39703 echo "$as_me: failed program was:" >&5
39704 sed 's/^/| /' conftest.$ac_ext >&5
39705
39706 wx_cv_cflags_mthread=no
39707
39708 fi
39709
39710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39711
39712
39713 fi
39714 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39715 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39716
39717 if test "$wx_cv_cflags_mthread" = "yes"; then
39718 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39719 LDFLAGS="$LDFLAGS -mthreads"
39720 else
39721 CFLAGS="$CFLAGS_OLD"
39722 fi
39723 ;;
39724 *-pc-os2*emx )
39725 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39726 LDFLAGS="$LDFLAGS -Zmt"
39727 ;;
39728 esac
39729 fi
39730 fi
39731
39732 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39733 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39734 if test "${ac_cv_func_localtime_r+set}" = set; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39736 else
39737 cat >conftest.$ac_ext <<_ACEOF
39738 /* confdefs.h. */
39739 _ACEOF
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39743 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39745 #define localtime_r innocuous_localtime_r
39746
39747 /* System header to define __stub macros and hopefully few prototypes,
39748 which can conflict with char localtime_r (); below.
39749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39750 <limits.h> exists even on freestanding compilers. */
39751
39752 #ifdef __STDC__
39753 # include <limits.h>
39754 #else
39755 # include <assert.h>
39756 #endif
39757
39758 #undef localtime_r
39759
39760 /* Override any GCC internal prototype to avoid an error.
39761 Use char because int might match the return type of a GCC
39762 builtin and then its argument prototype would still apply. */
39763 #ifdef __cplusplus
39764 extern "C"
39765 #endif
39766 char localtime_r ();
39767 /* The GNU C library defines this for functions which it implements
39768 to always fail with ENOSYS. Some functions are actually named
39769 something starting with __ and the normal name is an alias. */
39770 #if defined __stub_localtime_r || defined __stub___localtime_r
39771 choke me
39772 #endif
39773
39774 int
39775 main ()
39776 {
39777 return localtime_r ();
39778 ;
39779 return 0;
39780 }
39781 _ACEOF
39782 rm -f conftest.$ac_objext conftest$ac_exeext
39783 if { (ac_try="$ac_link"
39784 case "(($ac_try" in
39785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39786 *) ac_try_echo=$ac_try;;
39787 esac
39788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39789 (eval "$ac_link") 2>conftest.er1
39790 ac_status=$?
39791 grep -v '^ *+' conftest.er1 >conftest.err
39792 rm -f conftest.er1
39793 cat conftest.err >&5
39794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39795 (exit $ac_status); } && {
39796 test -z "$ac_c_werror_flag" ||
39797 test ! -s conftest.err
39798 } && test -s conftest$ac_exeext &&
39799 $as_test_x conftest$ac_exeext; then
39800 ac_cv_func_localtime_r=yes
39801 else
39802 echo "$as_me: failed program was:" >&5
39803 sed 's/^/| /' conftest.$ac_ext >&5
39804
39805 ac_cv_func_localtime_r=no
39806 fi
39807
39808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39809 conftest$ac_exeext conftest.$ac_ext
39810 fi
39811 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39812 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39813 if test $ac_cv_func_localtime_r = yes; then
39814 cat >>confdefs.h <<\_ACEOF
39815 #define HAVE_LOCALTIME_R 1
39816 _ACEOF
39817
39818 fi
39819
39820 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39821 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39822 if test "${ac_cv_func_gmtime_r+set}" = set; then
39823 echo $ECHO_N "(cached) $ECHO_C" >&6
39824 else
39825 cat >conftest.$ac_ext <<_ACEOF
39826 /* confdefs.h. */
39827 _ACEOF
39828 cat confdefs.h >>conftest.$ac_ext
39829 cat >>conftest.$ac_ext <<_ACEOF
39830 /* end confdefs.h. */
39831 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39833 #define gmtime_r innocuous_gmtime_r
39834
39835 /* System header to define __stub macros and hopefully few prototypes,
39836 which can conflict with char gmtime_r (); below.
39837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39838 <limits.h> exists even on freestanding compilers. */
39839
39840 #ifdef __STDC__
39841 # include <limits.h>
39842 #else
39843 # include <assert.h>
39844 #endif
39845
39846 #undef gmtime_r
39847
39848 /* Override any GCC internal prototype to avoid an error.
39849 Use char because int might match the return type of a GCC
39850 builtin and then its argument prototype would still apply. */
39851 #ifdef __cplusplus
39852 extern "C"
39853 #endif
39854 char gmtime_r ();
39855 /* The GNU C library defines this for functions which it implements
39856 to always fail with ENOSYS. Some functions are actually named
39857 something starting with __ and the normal name is an alias. */
39858 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39859 choke me
39860 #endif
39861
39862 int
39863 main ()
39864 {
39865 return gmtime_r ();
39866 ;
39867 return 0;
39868 }
39869 _ACEOF
39870 rm -f conftest.$ac_objext conftest$ac_exeext
39871 if { (ac_try="$ac_link"
39872 case "(($ac_try" in
39873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39874 *) ac_try_echo=$ac_try;;
39875 esac
39876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39877 (eval "$ac_link") 2>conftest.er1
39878 ac_status=$?
39879 grep -v '^ *+' conftest.er1 >conftest.err
39880 rm -f conftest.er1
39881 cat conftest.err >&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } && {
39884 test -z "$ac_c_werror_flag" ||
39885 test ! -s conftest.err
39886 } && test -s conftest$ac_exeext &&
39887 $as_test_x conftest$ac_exeext; then
39888 ac_cv_func_gmtime_r=yes
39889 else
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.$ac_ext >&5
39892
39893 ac_cv_func_gmtime_r=no
39894 fi
39895
39896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39897 conftest$ac_exeext conftest.$ac_ext
39898 fi
39899 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39900 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39901 if test $ac_cv_func_gmtime_r = yes; then
39902 cat >>confdefs.h <<\_ACEOF
39903 #define HAVE_GMTIME_R 1
39904 _ACEOF
39905
39906 fi
39907
39908
39909
39910
39911 ac_ext=c
39912 ac_cpp='$CPP $CPPFLAGS'
39913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39916
39917 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39918 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39919
39920 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39921 echo $ECHO_N "(cached) $ECHO_C" >&6
39922 else
39923
39924
39925 ################################################################
39926
39927 ac_cv_func_which_gethostbyname_r=unknown
39928
39929 #
39930 # ONE ARGUMENT (sanity check)
39931 #
39932
39933 # This should fail, as there is no variant of gethostbyname_r() that takes
39934 # a single argument. If it actually compiles, then we can assume that
39935 # netdb.h is not declaring the function, and the compiler is thereby
39936 # assuming an implicit prototype. In which case, we're out of luck.
39937 #
39938 cat >conftest.$ac_ext <<_ACEOF
39939 /* confdefs.h. */
39940 _ACEOF
39941 cat confdefs.h >>conftest.$ac_ext
39942 cat >>conftest.$ac_ext <<_ACEOF
39943 /* end confdefs.h. */
39944 #include <netdb.h>
39945 int
39946 main ()
39947 {
39948
39949 char *name = "www.gnu.org";
39950 (void)gethostbyname_r(name) /* ; */
39951
39952 ;
39953 return 0;
39954 }
39955 _ACEOF
39956 rm -f conftest.$ac_objext
39957 if { (ac_try="$ac_compile"
39958 case "(($ac_try" in
39959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39960 *) ac_try_echo=$ac_try;;
39961 esac
39962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39963 (eval "$ac_compile") 2>conftest.er1
39964 ac_status=$?
39965 grep -v '^ *+' conftest.er1 >conftest.err
39966 rm -f conftest.er1
39967 cat conftest.err >&5
39968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39969 (exit $ac_status); } && {
39970 test -z "$ac_c_werror_flag" ||
39971 test ! -s conftest.err
39972 } && test -s conftest.$ac_objext; then
39973 ac_cv_func_which_gethostbyname_r=no
39974 else
39975 echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.$ac_ext >&5
39977
39978
39979 fi
39980
39981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39982
39983 #
39984 # SIX ARGUMENTS
39985 # (e.g. Linux)
39986 #
39987
39988 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39989
39990 cat >conftest.$ac_ext <<_ACEOF
39991 /* confdefs.h. */
39992 _ACEOF
39993 cat confdefs.h >>conftest.$ac_ext
39994 cat >>conftest.$ac_ext <<_ACEOF
39995 /* end confdefs.h. */
39996 #include <netdb.h>
39997 int
39998 main ()
39999 {
40000
40001 char *name = "www.gnu.org";
40002 struct hostent ret, *retp;
40003 char buf[1024];
40004 int buflen = 1024;
40005 int my_h_errno;
40006 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40007
40008 ;
40009 return 0;
40010 }
40011 _ACEOF
40012 rm -f conftest.$ac_objext
40013 if { (ac_try="$ac_compile"
40014 case "(($ac_try" in
40015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40016 *) ac_try_echo=$ac_try;;
40017 esac
40018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40019 (eval "$ac_compile") 2>conftest.er1
40020 ac_status=$?
40021 grep -v '^ *+' conftest.er1 >conftest.err
40022 rm -f conftest.er1
40023 cat conftest.err >&5
40024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40025 (exit $ac_status); } && {
40026 test -z "$ac_c_werror_flag" ||
40027 test ! -s conftest.err
40028 } && test -s conftest.$ac_objext; then
40029 ac_cv_func_which_gethostbyname_r=six
40030 else
40031 echo "$as_me: failed program was:" >&5
40032 sed 's/^/| /' conftest.$ac_ext >&5
40033
40034
40035 fi
40036
40037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40038
40039 fi
40040
40041 #
40042 # FIVE ARGUMENTS
40043 # (e.g. Solaris)
40044 #
40045
40046 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40047
40048 cat >conftest.$ac_ext <<_ACEOF
40049 /* confdefs.h. */
40050 _ACEOF
40051 cat confdefs.h >>conftest.$ac_ext
40052 cat >>conftest.$ac_ext <<_ACEOF
40053 /* end confdefs.h. */
40054 #include <netdb.h>
40055 int
40056 main ()
40057 {
40058
40059 char *name = "www.gnu.org";
40060 struct hostent ret;
40061 char buf[1024];
40062 int buflen = 1024;
40063 int my_h_errno;
40064 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40065
40066 ;
40067 return 0;
40068 }
40069 _ACEOF
40070 rm -f conftest.$ac_objext
40071 if { (ac_try="$ac_compile"
40072 case "(($ac_try" in
40073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40074 *) ac_try_echo=$ac_try;;
40075 esac
40076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40077 (eval "$ac_compile") 2>conftest.er1
40078 ac_status=$?
40079 grep -v '^ *+' conftest.er1 >conftest.err
40080 rm -f conftest.er1
40081 cat conftest.err >&5
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); } && {
40084 test -z "$ac_c_werror_flag" ||
40085 test ! -s conftest.err
40086 } && test -s conftest.$ac_objext; then
40087 ac_cv_func_which_gethostbyname_r=five
40088 else
40089 echo "$as_me: failed program was:" >&5
40090 sed 's/^/| /' conftest.$ac_ext >&5
40091
40092
40093 fi
40094
40095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40096
40097 fi
40098
40099 #
40100 # THREE ARGUMENTS
40101 # (e.g. AIX, HP-UX, Tru64)
40102 #
40103
40104 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40105
40106 cat >conftest.$ac_ext <<_ACEOF
40107 /* confdefs.h. */
40108 _ACEOF
40109 cat confdefs.h >>conftest.$ac_ext
40110 cat >>conftest.$ac_ext <<_ACEOF
40111 /* end confdefs.h. */
40112 #include <netdb.h>
40113 int
40114 main ()
40115 {
40116
40117 char *name = "www.gnu.org";
40118 struct hostent ret;
40119 struct hostent_data data;
40120 (void)gethostbyname_r(name, &ret, &data) /* ; */
40121
40122 ;
40123 return 0;
40124 }
40125 _ACEOF
40126 rm -f conftest.$ac_objext
40127 if { (ac_try="$ac_compile"
40128 case "(($ac_try" in
40129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40130 *) ac_try_echo=$ac_try;;
40131 esac
40132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40133 (eval "$ac_compile") 2>conftest.er1
40134 ac_status=$?
40135 grep -v '^ *+' conftest.er1 >conftest.err
40136 rm -f conftest.er1
40137 cat conftest.err >&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); } && {
40140 test -z "$ac_c_werror_flag" ||
40141 test ! -s conftest.err
40142 } && test -s conftest.$ac_objext; then
40143 ac_cv_func_which_gethostbyname_r=three
40144 else
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40147
40148
40149 fi
40150
40151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40152
40153 fi
40154
40155 ################################################################
40156
40157
40158 fi
40159
40160 case "$ac_cv_func_which_gethostbyname_r" in
40161 three)
40162 { echo "$as_me:$LINENO: result: three" >&5
40163 echo "${ECHO_T}three" >&6; }
40164 cat >>confdefs.h <<\_ACEOF
40165 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40166 _ACEOF
40167
40168 ;;
40169
40170 five)
40171 { echo "$as_me:$LINENO: result: five" >&5
40172 echo "${ECHO_T}five" >&6; }
40173 cat >>confdefs.h <<\_ACEOF
40174 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40175 _ACEOF
40176
40177 ;;
40178
40179 six)
40180 { echo "$as_me:$LINENO: result: six" >&5
40181 echo "${ECHO_T}six" >&6; }
40182 cat >>confdefs.h <<\_ACEOF
40183 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40184 _ACEOF
40185
40186 ;;
40187
40188 no)
40189 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40190 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40191 ;;
40192
40193 unknown)
40194 { echo "$as_me:$LINENO: result: can't tell" >&5
40195 echo "${ECHO_T}can't tell" >&6; }
40196 ;;
40197
40198 *)
40199 { { echo "$as_me:$LINENO: error: internal error" >&5
40200 echo "$as_me: error: internal error" >&2;}
40201 { (exit 1); exit 1; }; }
40202 ;;
40203 esac
40204
40205 ac_ext=c
40206 ac_cpp='$CPP $CPPFLAGS'
40207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40210
40211
40212
40213 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40214 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40215 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40216 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40217 if test "${ac_cv_func_gethostbyname+set}" = set; then
40218 echo $ECHO_N "(cached) $ECHO_C" >&6
40219 else
40220 cat >conftest.$ac_ext <<_ACEOF
40221 /* confdefs.h. */
40222 _ACEOF
40223 cat confdefs.h >>conftest.$ac_ext
40224 cat >>conftest.$ac_ext <<_ACEOF
40225 /* end confdefs.h. */
40226 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40228 #define gethostbyname innocuous_gethostbyname
40229
40230 /* System header to define __stub macros and hopefully few prototypes,
40231 which can conflict with char gethostbyname (); below.
40232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40233 <limits.h> exists even on freestanding compilers. */
40234
40235 #ifdef __STDC__
40236 # include <limits.h>
40237 #else
40238 # include <assert.h>
40239 #endif
40240
40241 #undef gethostbyname
40242
40243 /* Override any GCC internal prototype to avoid an error.
40244 Use char because int might match the return type of a GCC
40245 builtin and then its argument prototype would still apply. */
40246 #ifdef __cplusplus
40247 extern "C"
40248 #endif
40249 char gethostbyname ();
40250 /* The GNU C library defines this for functions which it implements
40251 to always fail with ENOSYS. Some functions are actually named
40252 something starting with __ and the normal name is an alias. */
40253 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40254 choke me
40255 #endif
40256
40257 int
40258 main ()
40259 {
40260 return gethostbyname ();
40261 ;
40262 return 0;
40263 }
40264 _ACEOF
40265 rm -f conftest.$ac_objext conftest$ac_exeext
40266 if { (ac_try="$ac_link"
40267 case "(($ac_try" in
40268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40269 *) ac_try_echo=$ac_try;;
40270 esac
40271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40272 (eval "$ac_link") 2>conftest.er1
40273 ac_status=$?
40274 grep -v '^ *+' conftest.er1 >conftest.err
40275 rm -f conftest.er1
40276 cat conftest.err >&5
40277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40278 (exit $ac_status); } && {
40279 test -z "$ac_c_werror_flag" ||
40280 test ! -s conftest.err
40281 } && test -s conftest$ac_exeext &&
40282 $as_test_x conftest$ac_exeext; then
40283 ac_cv_func_gethostbyname=yes
40284 else
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.$ac_ext >&5
40287
40288 ac_cv_func_gethostbyname=no
40289 fi
40290
40291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40292 conftest$ac_exeext conftest.$ac_ext
40293 fi
40294 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40295 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40296 if test $ac_cv_func_gethostbyname = yes; then
40297 cat >>confdefs.h <<\_ACEOF
40298 #define HAVE_GETHOSTBYNAME 1
40299 _ACEOF
40300
40301 fi
40302
40303 fi
40304
40305 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40306 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40307 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40308 echo $ECHO_N "(cached) $ECHO_C" >&6
40309 else
40310
40311 ac_ext=cpp
40312 ac_cpp='$CXXCPP $CPPFLAGS'
40313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40316
40317
40318 cat >conftest.$ac_ext <<_ACEOF
40319 /* confdefs.h. */
40320 _ACEOF
40321 cat confdefs.h >>conftest.$ac_ext
40322 cat >>conftest.$ac_ext <<_ACEOF
40323 /* end confdefs.h. */
40324 #include <netdb.h>
40325 int
40326 main ()
40327 {
40328
40329 char *name;
40330 char *proto;
40331 struct servent *se, *res;
40332 char buffer[2048];
40333 int buflen = 2048;
40334 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40335
40336 ;
40337 return 0;
40338 }
40339 _ACEOF
40340 rm -f conftest.$ac_objext
40341 if { (ac_try="$ac_compile"
40342 case "(($ac_try" in
40343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40344 *) ac_try_echo=$ac_try;;
40345 esac
40346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40347 (eval "$ac_compile") 2>conftest.er1
40348 ac_status=$?
40349 grep -v '^ *+' conftest.er1 >conftest.err
40350 rm -f conftest.er1
40351 cat conftest.err >&5
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); } && {
40354 test -z "$ac_cxx_werror_flag" ||
40355 test ! -s conftest.err
40356 } && test -s conftest.$ac_objext; then
40357 ac_cv_func_which_getservbyname_r=six
40358 else
40359 echo "$as_me: failed program was:" >&5
40360 sed 's/^/| /' conftest.$ac_ext >&5
40361
40362
40363 cat >conftest.$ac_ext <<_ACEOF
40364 /* confdefs.h. */
40365 _ACEOF
40366 cat confdefs.h >>conftest.$ac_ext
40367 cat >>conftest.$ac_ext <<_ACEOF
40368 /* end confdefs.h. */
40369 #include <netdb.h>
40370 int
40371 main ()
40372 {
40373
40374 char *name;
40375 char *proto;
40376 struct servent *se;
40377 char buffer[2048];
40378 int buflen = 2048;
40379 (void) getservbyname_r(name, proto, se, buffer, buflen)
40380
40381 ;
40382 return 0;
40383 }
40384 _ACEOF
40385 rm -f conftest.$ac_objext
40386 if { (ac_try="$ac_compile"
40387 case "(($ac_try" in
40388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40389 *) ac_try_echo=$ac_try;;
40390 esac
40391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40392 (eval "$ac_compile") 2>conftest.er1
40393 ac_status=$?
40394 grep -v '^ *+' conftest.er1 >conftest.err
40395 rm -f conftest.er1
40396 cat conftest.err >&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); } && {
40399 test -z "$ac_cxx_werror_flag" ||
40400 test ! -s conftest.err
40401 } && test -s conftest.$ac_objext; then
40402 ac_cv_func_which_getservbyname_r=five
40403 else
40404 echo "$as_me: failed program was:" >&5
40405 sed 's/^/| /' conftest.$ac_ext >&5
40406
40407
40408 cat >conftest.$ac_ext <<_ACEOF
40409 /* confdefs.h. */
40410 _ACEOF
40411 cat confdefs.h >>conftest.$ac_ext
40412 cat >>conftest.$ac_ext <<_ACEOF
40413 /* end confdefs.h. */
40414 #include <netdb.h>
40415 int
40416 main ()
40417 {
40418
40419 char *name;
40420 char *proto;
40421 struct servent *se;
40422 struct servent_data data;
40423 (void) getservbyname_r(name, proto, se, &data);
40424
40425 ;
40426 return 0;
40427 }
40428 _ACEOF
40429 rm -f conftest.$ac_objext
40430 if { (ac_try="$ac_compile"
40431 case "(($ac_try" in
40432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40433 *) ac_try_echo=$ac_try;;
40434 esac
40435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40436 (eval "$ac_compile") 2>conftest.er1
40437 ac_status=$?
40438 grep -v '^ *+' conftest.er1 >conftest.err
40439 rm -f conftest.er1
40440 cat conftest.err >&5
40441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40442 (exit $ac_status); } && {
40443 test -z "$ac_cxx_werror_flag" ||
40444 test ! -s conftest.err
40445 } && test -s conftest.$ac_objext; then
40446 ac_cv_func_which_getservbyname_r=four
40447 else
40448 echo "$as_me: failed program was:" >&5
40449 sed 's/^/| /' conftest.$ac_ext >&5
40450
40451 ac_cv_func_which_getservbyname_r=no
40452
40453 fi
40454
40455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40456
40457
40458 fi
40459
40460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40461
40462
40463 fi
40464
40465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40466 ac_ext=c
40467 ac_cpp='$CPP $CPPFLAGS'
40468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40471
40472
40473
40474 fi
40475 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40476 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40477
40478 if test $ac_cv_func_which_getservbyname_r = six; then
40479 cat >>confdefs.h <<\_ACEOF
40480 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40481 _ACEOF
40482
40483 elif test $ac_cv_func_which_getservbyname_r = five; then
40484 cat >>confdefs.h <<\_ACEOF
40485 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40486 _ACEOF
40487
40488 elif test $ac_cv_func_which_getservbyname_r = four; then
40489 cat >>confdefs.h <<\_ACEOF
40490 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40491 _ACEOF
40492
40493 fi
40494
40495
40496 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40497 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40498
40499 for ac_func in getservbyname
40500 do
40501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40504 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40505 echo $ECHO_N "(cached) $ECHO_C" >&6
40506 else
40507 cat >conftest.$ac_ext <<_ACEOF
40508 /* confdefs.h. */
40509 _ACEOF
40510 cat confdefs.h >>conftest.$ac_ext
40511 cat >>conftest.$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40515 #define $ac_func innocuous_$ac_func
40516
40517 /* System header to define __stub macros and hopefully few prototypes,
40518 which can conflict with char $ac_func (); below.
40519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40520 <limits.h> exists even on freestanding compilers. */
40521
40522 #ifdef __STDC__
40523 # include <limits.h>
40524 #else
40525 # include <assert.h>
40526 #endif
40527
40528 #undef $ac_func
40529
40530 /* Override any GCC internal prototype to avoid an error.
40531 Use char because int might match the return type of a GCC
40532 builtin and then its argument prototype would still apply. */
40533 #ifdef __cplusplus
40534 extern "C"
40535 #endif
40536 char $ac_func ();
40537 /* The GNU C library defines this for functions which it implements
40538 to always fail with ENOSYS. Some functions are actually named
40539 something starting with __ and the normal name is an alias. */
40540 #if defined __stub_$ac_func || defined __stub___$ac_func
40541 choke me
40542 #endif
40543
40544 int
40545 main ()
40546 {
40547 return $ac_func ();
40548 ;
40549 return 0;
40550 }
40551 _ACEOF
40552 rm -f conftest.$ac_objext conftest$ac_exeext
40553 if { (ac_try="$ac_link"
40554 case "(($ac_try" in
40555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40556 *) ac_try_echo=$ac_try;;
40557 esac
40558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40559 (eval "$ac_link") 2>conftest.er1
40560 ac_status=$?
40561 grep -v '^ *+' conftest.er1 >conftest.err
40562 rm -f conftest.er1
40563 cat conftest.err >&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); } && {
40566 test -z "$ac_c_werror_flag" ||
40567 test ! -s conftest.err
40568 } && test -s conftest$ac_exeext &&
40569 $as_test_x conftest$ac_exeext; then
40570 eval "$as_ac_var=yes"
40571 else
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.$ac_ext >&5
40574
40575 eval "$as_ac_var=no"
40576 fi
40577
40578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40579 conftest$ac_exeext conftest.$ac_ext
40580 fi
40581 ac_res=`eval echo '${'$as_ac_var'}'`
40582 { echo "$as_me:$LINENO: result: $ac_res" >&5
40583 echo "${ECHO_T}$ac_res" >&6; }
40584 if test `eval echo '${'$as_ac_var'}'` = yes; then
40585 cat >>confdefs.h <<_ACEOF
40586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40587 _ACEOF
40588 cat >>confdefs.h <<\_ACEOF
40589 #define HAVE_GETSERVBYNAME 1
40590 _ACEOF
40591
40592 fi
40593 done
40594
40595 fi
40596
40597 if test "$wxUSE_THREADS" = "yes"; then
40598 cat >>confdefs.h <<\_ACEOF
40599 #define wxUSE_THREADS 1
40600 _ACEOF
40601
40602
40603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40604 else
40605 if test "$wx_cv_func_strtok_r" = "yes"; then
40606 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40607 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40608 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40609 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40610 { echo "$as_me:$LINENO: result: yes" >&5
40611 echo "${ECHO_T}yes" >&6; }
40612 else
40613 { echo "$as_me:$LINENO: result: no" >&5
40614 echo "${ECHO_T}no" >&6; }
40615 fi
40616 fi
40617 fi
40618
40619 if test "$WXGTK2" = 1 ; then
40620 cat >>confdefs.h <<_ACEOF
40621 #define __WXGTK20__ $WXGTK2
40622 _ACEOF
40623
40624 WXGTK12=1
40625 fi
40626
40627 if test "$WXGTK12" = 1 ; then
40628 cat >>confdefs.h <<_ACEOF
40629 #define __WXGTK12__ $WXGTK12
40630 _ACEOF
40631
40632 fi
40633
40634 if test "$WXGTK127" = 1 ; then
40635 cat >>confdefs.h <<_ACEOF
40636 #define __WXGTK127__ $WXGTK127
40637 _ACEOF
40638
40639 fi
40640
40641 if test "$WXGPE" = 1 ; then
40642 cat >>confdefs.h <<_ACEOF
40643 #define __WXGPE__ $WXGPE
40644 _ACEOF
40645
40646 fi
40647
40648 DEBUG_CFLAGS=
40649 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40650 DEBUG_CFLAGS="-g"
40651 wxUSE_OPTIMISE=no
40652 fi
40653
40654 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40655 wxUSE_DEBUG_INFO=yes
40656 if test "$GCC" = yes; then
40657 DEBUG_CFLAGS="-ggdb"
40658 fi
40659 fi
40660
40661 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40662 cat >>confdefs.h <<\_ACEOF
40663 #define WXDEBUG 1
40664 _ACEOF
40665
40666 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40667 else
40668 if test "$wxUSE_GTK" = 1 ; then
40669 if test "x$wxGTK_VERSION" = "x1" ; then
40670 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40671 fi
40672 fi
40673 fi
40674
40675 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40676 cat >>confdefs.h <<\_ACEOF
40677 #define wxUSE_MEMORY_TRACING 1
40678 _ACEOF
40679
40680 cat >>confdefs.h <<\_ACEOF
40681 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40682 _ACEOF
40683
40684 cat >>confdefs.h <<\_ACEOF
40685 #define wxUSE_DEBUG_NEW_ALWAYS 1
40686 _ACEOF
40687
40688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40689 fi
40690
40691 if test "$wxUSE_DMALLOC" = "yes" ; then
40692 DMALLOC_LIBS="-ldmallocthcxx"
40693 fi
40694
40695 PROFILE_FLAGS=
40696 if test "$wxUSE_PROFILE" = "yes" ; then
40697 PROFILE_FLAGS=" -pg"
40698 fi
40699
40700 if test "$GCC" = "yes" ; then
40701 if test "$wxUSE_NO_RTTI" = "yes" ; then
40702 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40703 fi
40704 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40705 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40706 fi
40707 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40708 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40709 fi
40710
40711 case "${host}" in
40712 powerpc*-*-aix* )
40713 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40714 ;;
40715 *-hppa* )
40716 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40717 ;;
40718 esac
40719 fi
40720
40721 OPTIMISE_CFLAGS=
40722 if test "$wxUSE_OPTIMISE" = "no" ; then
40723 if test "$GCC" = yes ; then
40724 OPTIMISE_CFLAGS="-O0"
40725 fi
40726 else
40727 if test "$GCC" = yes ; then
40728 case "${host}" in
40729 *-pc-os2_emx | *-pc-os2-emx )
40730 OPTIMISE_CFLAGS="-O2"
40731 ;;
40732 *)
40733 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40734 ;;
40735 esac
40736 else
40737 OPTIMISE_CFLAGS="-O"
40738 fi
40739 fi
40740
40741
40742 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40743 cat >>confdefs.h <<\_ACEOF
40744 #define WXWIN_COMPATIBILITY_2_6 1
40745 _ACEOF
40746
40747
40748 WXWIN_COMPATIBILITY_2_8="yes"
40749 fi
40750
40751 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40752 cat >>confdefs.h <<\_ACEOF
40753 #define WXWIN_COMPATIBILITY_2_8 1
40754 _ACEOF
40755
40756 fi
40757
40758
40759 if test "$wxUSE_GUI" = "yes"; then
40760 cat >>confdefs.h <<\_ACEOF
40761 #define wxUSE_GUI 1
40762 _ACEOF
40763
40764
40765 fi
40766
40767
40768 if test "$wxUSE_UNIX" = "yes"; then
40769 cat >>confdefs.h <<\_ACEOF
40770 #define wxUSE_UNIX 1
40771 _ACEOF
40772
40773 fi
40774
40775
40776 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40777
40778 HAVE_DL_FUNCS=0
40779 HAVE_SHL_FUNCS=0
40780 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40781 if test "$USE_DARWIN" = 1; then
40782 HAVE_DL_FUNCS=1
40783 elif test "$USE_DOS" = 1; then
40784 HAVE_DL_FUNCS=0
40785 else
40786
40787 for ac_func in dlopen
40788 do
40789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40790 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40793 echo $ECHO_N "(cached) $ECHO_C" >&6
40794 else
40795 cat >conftest.$ac_ext <<_ACEOF
40796 /* confdefs.h. */
40797 _ACEOF
40798 cat confdefs.h >>conftest.$ac_ext
40799 cat >>conftest.$ac_ext <<_ACEOF
40800 /* end confdefs.h. */
40801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40803 #define $ac_func innocuous_$ac_func
40804
40805 /* System header to define __stub macros and hopefully few prototypes,
40806 which can conflict with char $ac_func (); below.
40807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40808 <limits.h> exists even on freestanding compilers. */
40809
40810 #ifdef __STDC__
40811 # include <limits.h>
40812 #else
40813 # include <assert.h>
40814 #endif
40815
40816 #undef $ac_func
40817
40818 /* Override any GCC internal prototype to avoid an error.
40819 Use char because int might match the return type of a GCC
40820 builtin and then its argument prototype would still apply. */
40821 #ifdef __cplusplus
40822 extern "C"
40823 #endif
40824 char $ac_func ();
40825 /* The GNU C library defines this for functions which it implements
40826 to always fail with ENOSYS. Some functions are actually named
40827 something starting with __ and the normal name is an alias. */
40828 #if defined __stub_$ac_func || defined __stub___$ac_func
40829 choke me
40830 #endif
40831
40832 int
40833 main ()
40834 {
40835 return $ac_func ();
40836 ;
40837 return 0;
40838 }
40839 _ACEOF
40840 rm -f conftest.$ac_objext conftest$ac_exeext
40841 if { (ac_try="$ac_link"
40842 case "(($ac_try" in
40843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40844 *) ac_try_echo=$ac_try;;
40845 esac
40846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40847 (eval "$ac_link") 2>conftest.er1
40848 ac_status=$?
40849 grep -v '^ *+' conftest.er1 >conftest.err
40850 rm -f conftest.er1
40851 cat conftest.err >&5
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); } && {
40854 test -z "$ac_c_werror_flag" ||
40855 test ! -s conftest.err
40856 } && test -s conftest$ac_exeext &&
40857 $as_test_x conftest$ac_exeext; then
40858 eval "$as_ac_var=yes"
40859 else
40860 echo "$as_me: failed program was:" >&5
40861 sed 's/^/| /' conftest.$ac_ext >&5
40862
40863 eval "$as_ac_var=no"
40864 fi
40865
40866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40867 conftest$ac_exeext conftest.$ac_ext
40868 fi
40869 ac_res=`eval echo '${'$as_ac_var'}'`
40870 { echo "$as_me:$LINENO: result: $ac_res" >&5
40871 echo "${ECHO_T}$ac_res" >&6; }
40872 if test `eval echo '${'$as_ac_var'}'` = yes; then
40873 cat >>confdefs.h <<_ACEOF
40874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40875 _ACEOF
40876
40877 cat >>confdefs.h <<\_ACEOF
40878 #define HAVE_DLOPEN 1
40879 _ACEOF
40880
40881 HAVE_DL_FUNCS=1
40882
40883 else
40884
40885 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40886 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40887 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40888 echo $ECHO_N "(cached) $ECHO_C" >&6
40889 else
40890 ac_check_lib_save_LIBS=$LIBS
40891 LIBS="-ldl $LIBS"
40892 cat >conftest.$ac_ext <<_ACEOF
40893 /* confdefs.h. */
40894 _ACEOF
40895 cat confdefs.h >>conftest.$ac_ext
40896 cat >>conftest.$ac_ext <<_ACEOF
40897 /* end confdefs.h. */
40898
40899 /* Override any GCC internal prototype to avoid an error.
40900 Use char because int might match the return type of a GCC
40901 builtin and then its argument prototype would still apply. */
40902 #ifdef __cplusplus
40903 extern "C"
40904 #endif
40905 char dlopen ();
40906 int
40907 main ()
40908 {
40909 return dlopen ();
40910 ;
40911 return 0;
40912 }
40913 _ACEOF
40914 rm -f conftest.$ac_objext conftest$ac_exeext
40915 if { (ac_try="$ac_link"
40916 case "(($ac_try" in
40917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40918 *) ac_try_echo=$ac_try;;
40919 esac
40920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40921 (eval "$ac_link") 2>conftest.er1
40922 ac_status=$?
40923 grep -v '^ *+' conftest.er1 >conftest.err
40924 rm -f conftest.er1
40925 cat conftest.err >&5
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); } && {
40928 test -z "$ac_c_werror_flag" ||
40929 test ! -s conftest.err
40930 } && test -s conftest$ac_exeext &&
40931 $as_test_x conftest$ac_exeext; then
40932 ac_cv_lib_dl_dlopen=yes
40933 else
40934 echo "$as_me: failed program was:" >&5
40935 sed 's/^/| /' conftest.$ac_ext >&5
40936
40937 ac_cv_lib_dl_dlopen=no
40938 fi
40939
40940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40941 conftest$ac_exeext conftest.$ac_ext
40942 LIBS=$ac_check_lib_save_LIBS
40943 fi
40944 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40945 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40946 if test $ac_cv_lib_dl_dlopen = yes; then
40947
40948 cat >>confdefs.h <<\_ACEOF
40949 #define HAVE_DLOPEN 1
40950 _ACEOF
40951
40952 HAVE_DL_FUNCS=1
40953 DL_LINK=" -ldl$DL_LINK"
40954
40955 else
40956
40957
40958 for ac_func in shl_load
40959 do
40960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40961 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40963 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40964 echo $ECHO_N "(cached) $ECHO_C" >&6
40965 else
40966 cat >conftest.$ac_ext <<_ACEOF
40967 /* confdefs.h. */
40968 _ACEOF
40969 cat confdefs.h >>conftest.$ac_ext
40970 cat >>conftest.$ac_ext <<_ACEOF
40971 /* end confdefs.h. */
40972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40974 #define $ac_func innocuous_$ac_func
40975
40976 /* System header to define __stub macros and hopefully few prototypes,
40977 which can conflict with char $ac_func (); below.
40978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40979 <limits.h> exists even on freestanding compilers. */
40980
40981 #ifdef __STDC__
40982 # include <limits.h>
40983 #else
40984 # include <assert.h>
40985 #endif
40986
40987 #undef $ac_func
40988
40989 /* Override any GCC internal prototype to avoid an error.
40990 Use char because int might match the return type of a GCC
40991 builtin and then its argument prototype would still apply. */
40992 #ifdef __cplusplus
40993 extern "C"
40994 #endif
40995 char $ac_func ();
40996 /* The GNU C library defines this for functions which it implements
40997 to always fail with ENOSYS. Some functions are actually named
40998 something starting with __ and the normal name is an alias. */
40999 #if defined __stub_$ac_func || defined __stub___$ac_func
41000 choke me
41001 #endif
41002
41003 int
41004 main ()
41005 {
41006 return $ac_func ();
41007 ;
41008 return 0;
41009 }
41010 _ACEOF
41011 rm -f conftest.$ac_objext conftest$ac_exeext
41012 if { (ac_try="$ac_link"
41013 case "(($ac_try" in
41014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41015 *) ac_try_echo=$ac_try;;
41016 esac
41017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41018 (eval "$ac_link") 2>conftest.er1
41019 ac_status=$?
41020 grep -v '^ *+' conftest.er1 >conftest.err
41021 rm -f conftest.er1
41022 cat conftest.err >&5
41023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41024 (exit $ac_status); } && {
41025 test -z "$ac_c_werror_flag" ||
41026 test ! -s conftest.err
41027 } && test -s conftest$ac_exeext &&
41028 $as_test_x conftest$ac_exeext; then
41029 eval "$as_ac_var=yes"
41030 else
41031 echo "$as_me: failed program was:" >&5
41032 sed 's/^/| /' conftest.$ac_ext >&5
41033
41034 eval "$as_ac_var=no"
41035 fi
41036
41037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41038 conftest$ac_exeext conftest.$ac_ext
41039 fi
41040 ac_res=`eval echo '${'$as_ac_var'}'`
41041 { echo "$as_me:$LINENO: result: $ac_res" >&5
41042 echo "${ECHO_T}$ac_res" >&6; }
41043 if test `eval echo '${'$as_ac_var'}'` = yes; then
41044 cat >>confdefs.h <<_ACEOF
41045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41046 _ACEOF
41047
41048 cat >>confdefs.h <<\_ACEOF
41049 #define HAVE_SHL_LOAD 1
41050 _ACEOF
41051
41052 HAVE_SHL_FUNCS=1
41053
41054 else
41055
41056 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41057 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41058 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41059 echo $ECHO_N "(cached) $ECHO_C" >&6
41060 else
41061 ac_check_lib_save_LIBS=$LIBS
41062 LIBS="-lshl_load $LIBS"
41063 cat >conftest.$ac_ext <<_ACEOF
41064 /* confdefs.h. */
41065 _ACEOF
41066 cat confdefs.h >>conftest.$ac_ext
41067 cat >>conftest.$ac_ext <<_ACEOF
41068 /* end confdefs.h. */
41069
41070 /* Override any GCC internal prototype to avoid an error.
41071 Use char because int might match the return type of a GCC
41072 builtin and then its argument prototype would still apply. */
41073 #ifdef __cplusplus
41074 extern "C"
41075 #endif
41076 char dld ();
41077 int
41078 main ()
41079 {
41080 return dld ();
41081 ;
41082 return 0;
41083 }
41084 _ACEOF
41085 rm -f conftest.$ac_objext conftest$ac_exeext
41086 if { (ac_try="$ac_link"
41087 case "(($ac_try" in
41088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41089 *) ac_try_echo=$ac_try;;
41090 esac
41091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41092 (eval "$ac_link") 2>conftest.er1
41093 ac_status=$?
41094 grep -v '^ *+' conftest.er1 >conftest.err
41095 rm -f conftest.er1
41096 cat conftest.err >&5
41097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098 (exit $ac_status); } && {
41099 test -z "$ac_c_werror_flag" ||
41100 test ! -s conftest.err
41101 } && test -s conftest$ac_exeext &&
41102 $as_test_x conftest$ac_exeext; then
41103 ac_cv_lib_shl_load_dld=yes
41104 else
41105 echo "$as_me: failed program was:" >&5
41106 sed 's/^/| /' conftest.$ac_ext >&5
41107
41108 ac_cv_lib_shl_load_dld=no
41109 fi
41110
41111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41112 conftest$ac_exeext conftest.$ac_ext
41113 LIBS=$ac_check_lib_save_LIBS
41114 fi
41115 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41116 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41117 if test $ac_cv_lib_shl_load_dld = yes; then
41118
41119 HAVE_SHL_FUNCS=1
41120 DL_LINK=" -ldld$DL_LINK"
41121
41122 fi
41123
41124
41125 fi
41126 done
41127
41128
41129 fi
41130
41131
41132 fi
41133 done
41134
41135
41136 if test "$HAVE_DL_FUNCS" = 1; then
41137
41138 for ac_func in dlerror
41139 do
41140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41144 echo $ECHO_N "(cached) $ECHO_C" >&6
41145 else
41146 cat >conftest.$ac_ext <<_ACEOF
41147 /* confdefs.h. */
41148 _ACEOF
41149 cat confdefs.h >>conftest.$ac_ext
41150 cat >>conftest.$ac_ext <<_ACEOF
41151 /* end confdefs.h. */
41152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41154 #define $ac_func innocuous_$ac_func
41155
41156 /* System header to define __stub macros and hopefully few prototypes,
41157 which can conflict with char $ac_func (); below.
41158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41159 <limits.h> exists even on freestanding compilers. */
41160
41161 #ifdef __STDC__
41162 # include <limits.h>
41163 #else
41164 # include <assert.h>
41165 #endif
41166
41167 #undef $ac_func
41168
41169 /* Override any GCC internal prototype to avoid an error.
41170 Use char because int might match the return type of a GCC
41171 builtin and then its argument prototype would still apply. */
41172 #ifdef __cplusplus
41173 extern "C"
41174 #endif
41175 char $ac_func ();
41176 /* The GNU C library defines this for functions which it implements
41177 to always fail with ENOSYS. Some functions are actually named
41178 something starting with __ and the normal name is an alias. */
41179 #if defined __stub_$ac_func || defined __stub___$ac_func
41180 choke me
41181 #endif
41182
41183 int
41184 main ()
41185 {
41186 return $ac_func ();
41187 ;
41188 return 0;
41189 }
41190 _ACEOF
41191 rm -f conftest.$ac_objext conftest$ac_exeext
41192 if { (ac_try="$ac_link"
41193 case "(($ac_try" in
41194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41195 *) ac_try_echo=$ac_try;;
41196 esac
41197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41198 (eval "$ac_link") 2>conftest.er1
41199 ac_status=$?
41200 grep -v '^ *+' conftest.er1 >conftest.err
41201 rm -f conftest.er1
41202 cat conftest.err >&5
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); } && {
41205 test -z "$ac_c_werror_flag" ||
41206 test ! -s conftest.err
41207 } && test -s conftest$ac_exeext &&
41208 $as_test_x conftest$ac_exeext; then
41209 eval "$as_ac_var=yes"
41210 else
41211 echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.$ac_ext >&5
41213
41214 eval "$as_ac_var=no"
41215 fi
41216
41217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41218 conftest$ac_exeext conftest.$ac_ext
41219 fi
41220 ac_res=`eval echo '${'$as_ac_var'}'`
41221 { echo "$as_me:$LINENO: result: $ac_res" >&5
41222 echo "${ECHO_T}$ac_res" >&6; }
41223 if test `eval echo '${'$as_ac_var'}'` = yes; then
41224 cat >>confdefs.h <<_ACEOF
41225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41226 _ACEOF
41227 cat >>confdefs.h <<\_ACEOF
41228 #define HAVE_DLERROR 1
41229 _ACEOF
41230
41231 else
41232
41233 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41234 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41235 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41236 echo $ECHO_N "(cached) $ECHO_C" >&6
41237 else
41238 ac_check_lib_save_LIBS=$LIBS
41239 LIBS="-ldl $LIBS"
41240 cat >conftest.$ac_ext <<_ACEOF
41241 /* confdefs.h. */
41242 _ACEOF
41243 cat confdefs.h >>conftest.$ac_ext
41244 cat >>conftest.$ac_ext <<_ACEOF
41245 /* end confdefs.h. */
41246
41247 /* Override any GCC internal prototype to avoid an error.
41248 Use char because int might match the return type of a GCC
41249 builtin and then its argument prototype would still apply. */
41250 #ifdef __cplusplus
41251 extern "C"
41252 #endif
41253 char dlerror ();
41254 int
41255 main ()
41256 {
41257 return dlerror ();
41258 ;
41259 return 0;
41260 }
41261 _ACEOF
41262 rm -f conftest.$ac_objext conftest$ac_exeext
41263 if { (ac_try="$ac_link"
41264 case "(($ac_try" in
41265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41266 *) ac_try_echo=$ac_try;;
41267 esac
41268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41269 (eval "$ac_link") 2>conftest.er1
41270 ac_status=$?
41271 grep -v '^ *+' conftest.er1 >conftest.err
41272 rm -f conftest.er1
41273 cat conftest.err >&5
41274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41275 (exit $ac_status); } && {
41276 test -z "$ac_c_werror_flag" ||
41277 test ! -s conftest.err
41278 } && test -s conftest$ac_exeext &&
41279 $as_test_x conftest$ac_exeext; then
41280 ac_cv_lib_dl_dlerror=yes
41281 else
41282 echo "$as_me: failed program was:" >&5
41283 sed 's/^/| /' conftest.$ac_ext >&5
41284
41285 ac_cv_lib_dl_dlerror=no
41286 fi
41287
41288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41289 conftest$ac_exeext conftest.$ac_ext
41290 LIBS=$ac_check_lib_save_LIBS
41291 fi
41292 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41293 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41294 if test $ac_cv_lib_dl_dlerror = yes; then
41295 cat >>confdefs.h <<\_ACEOF
41296 #define HAVE_DLERROR 1
41297 _ACEOF
41298
41299 fi
41300
41301
41302
41303 fi
41304 done
41305
41306 fi
41307 fi
41308
41309 if test "$HAVE_DL_FUNCS" = 0; then
41310 if test "$HAVE_SHL_FUNCS" = 0; then
41311 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41312 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41313 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41314 wxUSE_DYNAMIC_LOADER=no
41315 wxUSE_DYNLIB_CLASS=no
41316 else
41317 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41318 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41319 fi
41320 fi
41321 fi
41322 fi
41323 fi
41324
41325 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41326 cat >>confdefs.h <<\_ACEOF
41327 #define wxUSE_DYNAMIC_LOADER 1
41328 _ACEOF
41329
41330 fi
41331 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41332 cat >>confdefs.h <<\_ACEOF
41333 #define wxUSE_DYNLIB_CLASS 1
41334 _ACEOF
41335
41336 fi
41337
41338
41339
41340 if test "$wxUSE_PLUGINS" = "yes" ; then
41341 if test "$wxUSE_SHARED" = "no" ; then
41342 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41343 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41344 wxUSE_PLUGINS=no
41345 fi
41346 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41347 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41348 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41349 wxUSE_PLUGINS=no
41350 fi
41351 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41352 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41353 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41354 wxUSE_PLUGINS=no
41355 fi
41356 if test "$wxUSE_PLUGINS" = "yes" ; then
41357 cat >>confdefs.h <<\_ACEOF
41358 #define wxUSE_PLUGINS 1
41359 _ACEOF
41360
41361 fi
41362 fi
41363
41364
41365 if test "$wxUSE_STL" = "yes"; then
41366 cat >>confdefs.h <<\_ACEOF
41367 #define wxUSE_STL 1
41368 _ACEOF
41369
41370 fi
41371
41372 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41373 cat >>confdefs.h <<\_ACEOF
41374 #define wxUSE_EXTENDED_RTTI 1
41375 _ACEOF
41376
41377 fi
41378
41379 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41380 cat >>confdefs.h <<\_ACEOF
41381 #define wxUSE_APPLE_IEEE 1
41382 _ACEOF
41383
41384 fi
41385
41386 if test "$wxUSE_TIMER" = "yes"; then
41387 cat >>confdefs.h <<\_ACEOF
41388 #define wxUSE_TIMER 1
41389 _ACEOF
41390
41391 fi
41392
41393 if test "$USE_UNIX" = 1 ; then
41394 if test "$wxUSE_MGL" != 1; then
41395 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41396 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41397 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41399 else
41400
41401 cat >conftest.$ac_ext <<_ACEOF
41402 /* confdefs.h. */
41403 _ACEOF
41404 cat confdefs.h >>conftest.$ac_ext
41405 cat >>conftest.$ac_ext <<_ACEOF
41406 /* end confdefs.h. */
41407
41408 #include <sys/ioctl.h>
41409 #include <sys/soundcard.h>
41410
41411 int
41412 main ()
41413 {
41414
41415 ioctl(0, SNDCTL_DSP_SPEED, 0);
41416
41417 ;
41418 return 0;
41419 }
41420 _ACEOF
41421 rm -f conftest.$ac_objext conftest$ac_exeext
41422 if { (ac_try="$ac_link"
41423 case "(($ac_try" in
41424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41425 *) ac_try_echo=$ac_try;;
41426 esac
41427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41428 (eval "$ac_link") 2>conftest.er1
41429 ac_status=$?
41430 grep -v '^ *+' conftest.er1 >conftest.err
41431 rm -f conftest.er1
41432 cat conftest.err >&5
41433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41434 (exit $ac_status); } && {
41435 test -z "$ac_c_werror_flag" ||
41436 test ! -s conftest.err
41437 } && test -s conftest$ac_exeext &&
41438 $as_test_x conftest$ac_exeext; then
41439 ac_cv_header_sys_soundcard=yes
41440 else
41441 echo "$as_me: failed program was:" >&5
41442 sed 's/^/| /' conftest.$ac_ext >&5
41443
41444
41445 saveLibs="$LIBS"
41446 LIBS="$saveLibs -lossaudio"
41447 cat >conftest.$ac_ext <<_ACEOF
41448 /* confdefs.h. */
41449 _ACEOF
41450 cat confdefs.h >>conftest.$ac_ext
41451 cat >>conftest.$ac_ext <<_ACEOF
41452 /* end confdefs.h. */
41453
41454 #include <sys/ioctl.h>
41455 #include <sys/soundcard.h>
41456
41457 int
41458 main ()
41459 {
41460
41461 ioctl(0, SNDCTL_DSP_SPEED, 0);
41462
41463 ;
41464 return 0;
41465 }
41466 _ACEOF
41467 rm -f conftest.$ac_objext conftest$ac_exeext
41468 if { (ac_try="$ac_link"
41469 case "(($ac_try" in
41470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41471 *) ac_try_echo=$ac_try;;
41472 esac
41473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41474 (eval "$ac_link") 2>conftest.er1
41475 ac_status=$?
41476 grep -v '^ *+' conftest.er1 >conftest.err
41477 rm -f conftest.er1
41478 cat conftest.err >&5
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); } && {
41481 test -z "$ac_c_werror_flag" ||
41482 test ! -s conftest.err
41483 } && test -s conftest$ac_exeext &&
41484 $as_test_x conftest$ac_exeext; then
41485 ac_cv_header_sys_soundcard=yes
41486 else
41487 echo "$as_me: failed program was:" >&5
41488 sed 's/^/| /' conftest.$ac_ext >&5
41489
41490
41491 LIBS="$saveLibs"
41492 ac_cv_header_sys_soundcard=no
41493
41494
41495 fi
41496
41497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41498 conftest$ac_exeext conftest.$ac_ext
41499
41500
41501 fi
41502
41503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41504 conftest$ac_exeext conftest.$ac_ext
41505
41506 fi
41507 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41508 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41509 fi
41510
41511 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41512 cat >>confdefs.h <<\_ACEOF
41513 #define HAVE_SYS_SOUNDCARD_H 1
41514 _ACEOF
41515
41516 fi
41517 fi
41518
41519 WITH_PLUGIN_SDL=0
41520 if test "$wxUSE_SOUND" = "yes"; then
41521 if test "$USE_UNIX" = 1 ; then
41522 if test "$wxUSE_LIBSDL" != "no"; then
41523
41524 # Check whether --with-sdl-prefix was given.
41525 if test "${with_sdl_prefix+set}" = set; then
41526 withval=$with_sdl_prefix; sdl_prefix="$withval"
41527 else
41528 sdl_prefix=""
41529 fi
41530
41531
41532 # Check whether --with-sdl-exec-prefix was given.
41533 if test "${with_sdl_exec_prefix+set}" = set; then
41534 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41535 else
41536 sdl_exec_prefix=""
41537 fi
41538
41539 # Check whether --enable-sdltest was given.
41540 if test "${enable_sdltest+set}" = set; then
41541 enableval=$enable_sdltest;
41542 else
41543 enable_sdltest=yes
41544 fi
41545
41546
41547 if test x$sdl_exec_prefix != x ; then
41548 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41549 if test x${SDL_CONFIG+set} != xset ; then
41550 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41551 fi
41552 fi
41553 if test x$sdl_prefix != x ; then
41554 sdl_args="$sdl_args --prefix=$sdl_prefix"
41555 if test x${SDL_CONFIG+set} != xset ; then
41556 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41557 fi
41558 fi
41559
41560 if test "x$prefix" != xNONE; then
41561 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41562 fi
41563 # Extract the first word of "sdl-config", so it can be a program name with args.
41564 set dummy sdl-config; ac_word=$2
41565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41567 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41568 echo $ECHO_N "(cached) $ECHO_C" >&6
41569 else
41570 case $SDL_CONFIG in
41571 [\\/]* | ?:[\\/]*)
41572 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41573 ;;
41574 *)
41575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41576 for as_dir in $PATH
41577 do
41578 IFS=$as_save_IFS
41579 test -z "$as_dir" && as_dir=.
41580 for ac_exec_ext in '' $ac_executable_extensions; do
41581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41582 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41584 break 2
41585 fi
41586 done
41587 done
41588 IFS=$as_save_IFS
41589
41590 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41591 ;;
41592 esac
41593 fi
41594 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41595 if test -n "$SDL_CONFIG"; then
41596 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41597 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41598 else
41599 { echo "$as_me:$LINENO: result: no" >&5
41600 echo "${ECHO_T}no" >&6; }
41601 fi
41602
41603
41604 min_sdl_version=1.2.0
41605 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41606 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41607 no_sdl=""
41608 if test "$SDL_CONFIG" = "no" ; then
41609 no_sdl=yes
41610 else
41611 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41612 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41613
41614 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41615 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41616 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41617 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41618 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41619 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41620 if test "x$enable_sdltest" = "xyes" ; then
41621 ac_save_CFLAGS="$CFLAGS"
41622 ac_save_CXXFLAGS="$CXXFLAGS"
41623 ac_save_LIBS="$LIBS"
41624 CFLAGS="$CFLAGS $SDL_CFLAGS"
41625 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41626 LIBS="$LIBS $SDL_LIBS"
41627 rm -f conf.sdltest
41628 if test "$cross_compiling" = yes; then
41629 echo $ac_n "cross compiling; assumed OK... $ac_c"
41630 else
41631 cat >conftest.$ac_ext <<_ACEOF
41632 /* confdefs.h. */
41633 _ACEOF
41634 cat confdefs.h >>conftest.$ac_ext
41635 cat >>conftest.$ac_ext <<_ACEOF
41636 /* end confdefs.h. */
41637
41638 #include <stdio.h>
41639 #include <stdlib.h>
41640 #include <string.h>
41641 #include "SDL.h"
41642
41643 char*
41644 my_strdup (char *str)
41645 {
41646 char *new_str;
41647
41648 if (str)
41649 {
41650 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41651 strcpy (new_str, str);
41652 }
41653 else
41654 new_str = NULL;
41655
41656 return new_str;
41657 }
41658
41659 int main (int argc, char *argv[])
41660 {
41661 int major, minor, micro;
41662 char *tmp_version;
41663
41664 /* This hangs on some systems (?)
41665 system ("touch conf.sdltest");
41666 */
41667 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41668
41669 /* HP/UX 9 (%@#!) writes to sscanf strings */
41670 tmp_version = my_strdup("$min_sdl_version");
41671 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41672 printf("%s, bad version string\n", "$min_sdl_version");
41673 exit(1);
41674 }
41675
41676 if (($sdl_major_version > major) ||
41677 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41678 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41679 {
41680 return 0;
41681 }
41682 else
41683 {
41684 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41685 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41686 printf("*** best to upgrade to the required version.\n");
41687 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41688 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41689 printf("*** config.cache before re-running configure\n");
41690 return 1;
41691 }
41692 }
41693
41694
41695 _ACEOF
41696 rm -f conftest$ac_exeext
41697 if { (ac_try="$ac_link"
41698 case "(($ac_try" in
41699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41700 *) ac_try_echo=$ac_try;;
41701 esac
41702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41703 (eval "$ac_link") 2>&5
41704 ac_status=$?
41705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41707 { (case "(($ac_try" in
41708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41709 *) ac_try_echo=$ac_try;;
41710 esac
41711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41712 (eval "$ac_try") 2>&5
41713 ac_status=$?
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); }; }; then
41716 :
41717 else
41718 echo "$as_me: program exited with status $ac_status" >&5
41719 echo "$as_me: failed program was:" >&5
41720 sed 's/^/| /' conftest.$ac_ext >&5
41721
41722 ( exit $ac_status )
41723 no_sdl=yes
41724 fi
41725 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41726 fi
41727
41728
41729 CFLAGS="$ac_save_CFLAGS"
41730 CXXFLAGS="$ac_save_CXXFLAGS"
41731 LIBS="$ac_save_LIBS"
41732 fi
41733 fi
41734 if test "x$no_sdl" = x ; then
41735 { echo "$as_me:$LINENO: result: yes" >&5
41736 echo "${ECHO_T}yes" >&6; }
41737
41738 EXTRALIBS_SDL="$SDL_LIBS"
41739 CFLAGS="$SDL_CFLAGS $CFLAGS"
41740 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41741 cat >>confdefs.h <<\_ACEOF
41742 #define wxUSE_LIBSDL 1
41743 _ACEOF
41744
41745
41746 else
41747 { echo "$as_me:$LINENO: result: no" >&5
41748 echo "${ECHO_T}no" >&6; }
41749 if test "$SDL_CONFIG" = "no" ; then
41750 echo "*** The sdl-config script installed by SDL could not be found"
41751 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41752 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41753 echo "*** full path to sdl-config."
41754 else
41755 if test -f conf.sdltest ; then
41756 :
41757 else
41758 echo "*** Could not run SDL test program, checking why..."
41759 CFLAGS="$CFLAGS $SDL_CFLAGS"
41760 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41761 LIBS="$LIBS $SDL_LIBS"
41762 cat >conftest.$ac_ext <<_ACEOF
41763 /* confdefs.h. */
41764 _ACEOF
41765 cat confdefs.h >>conftest.$ac_ext
41766 cat >>conftest.$ac_ext <<_ACEOF
41767 /* end confdefs.h. */
41768
41769 #include <stdio.h>
41770 #include "SDL.h"
41771
41772 int main(int argc, char *argv[])
41773 { return 0; }
41774 #undef main
41775 #define main K_and_R_C_main
41776
41777 int
41778 main ()
41779 {
41780 return 0;
41781 ;
41782 return 0;
41783 }
41784 _ACEOF
41785 rm -f conftest.$ac_objext conftest$ac_exeext
41786 if { (ac_try="$ac_link"
41787 case "(($ac_try" in
41788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41789 *) ac_try_echo=$ac_try;;
41790 esac
41791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41792 (eval "$ac_link") 2>conftest.er1
41793 ac_status=$?
41794 grep -v '^ *+' conftest.er1 >conftest.err
41795 rm -f conftest.er1
41796 cat conftest.err >&5
41797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41798 (exit $ac_status); } && {
41799 test -z "$ac_c_werror_flag" ||
41800 test ! -s conftest.err
41801 } && test -s conftest$ac_exeext &&
41802 $as_test_x conftest$ac_exeext; then
41803 echo "*** The test program compiled, but did not run. This usually means"
41804 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41805 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41806 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41807 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41808 echo "*** is required on your system"
41809 echo "***"
41810 echo "*** If you have an old version installed, it is best to remove it, although"
41811 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41812 else
41813 echo "$as_me: failed program was:" >&5
41814 sed 's/^/| /' conftest.$ac_ext >&5
41815
41816 echo "*** The test program failed to compile or link. See the file config.log for the"
41817 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41818 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41819 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41820 fi
41821
41822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41823 conftest$ac_exeext conftest.$ac_ext
41824 CFLAGS="$ac_save_CFLAGS"
41825 CXXFLAGS="$ac_save_CXXFLAGS"
41826 LIBS="$ac_save_LIBS"
41827 fi
41828 fi
41829 SDL_CFLAGS=""
41830 SDL_LIBS=""
41831 wxUSE_LIBSDL="no"
41832 fi
41833
41834
41835 rm -f conf.sdltest
41836
41837 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41838 WITH_PLUGIN_SDL=1
41839 fi
41840 fi
41841 else
41842 if test "$wxUSE_MGL" = 1; then
41843 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41844 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41845 wxUSE_SOUND="no"
41846 fi
41847 fi
41848 fi
41849
41850 if test "$wxUSE_SOUND" = "yes"; then
41851 cat >>confdefs.h <<\_ACEOF
41852 #define wxUSE_SOUND 1
41853 _ACEOF
41854
41855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41856 fi
41857
41858 if test "$WXGTK2" = 1; then
41859
41860
41861 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41862 if test -n "$ac_tool_prefix"; then
41863 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41864 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41867 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41868 echo $ECHO_N "(cached) $ECHO_C" >&6
41869 else
41870 case $PKG_CONFIG in
41871 [\\/]* | ?:[\\/]*)
41872 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41873 ;;
41874 *)
41875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41876 for as_dir in $PATH
41877 do
41878 IFS=$as_save_IFS
41879 test -z "$as_dir" && as_dir=.
41880 for ac_exec_ext in '' $ac_executable_extensions; do
41881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41882 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41884 break 2
41885 fi
41886 done
41887 done
41888 IFS=$as_save_IFS
41889
41890 ;;
41891 esac
41892 fi
41893 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41894 if test -n "$PKG_CONFIG"; then
41895 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41896 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41897 else
41898 { echo "$as_me:$LINENO: result: no" >&5
41899 echo "${ECHO_T}no" >&6; }
41900 fi
41901
41902
41903 fi
41904 if test -z "$ac_cv_path_PKG_CONFIG"; then
41905 ac_pt_PKG_CONFIG=$PKG_CONFIG
41906 # Extract the first word of "pkg-config", so it can be a program name with args.
41907 set dummy pkg-config; ac_word=$2
41908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41910 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41911 echo $ECHO_N "(cached) $ECHO_C" >&6
41912 else
41913 case $ac_pt_PKG_CONFIG in
41914 [\\/]* | ?:[\\/]*)
41915 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41916 ;;
41917 *)
41918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41919 for as_dir in $PATH
41920 do
41921 IFS=$as_save_IFS
41922 test -z "$as_dir" && as_dir=.
41923 for ac_exec_ext in '' $ac_executable_extensions; do
41924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41925 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41927 break 2
41928 fi
41929 done
41930 done
41931 IFS=$as_save_IFS
41932
41933 ;;
41934 esac
41935 fi
41936 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41937 if test -n "$ac_pt_PKG_CONFIG"; then
41938 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41939 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41940 else
41941 { echo "$as_me:$LINENO: result: no" >&5
41942 echo "${ECHO_T}no" >&6; }
41943 fi
41944
41945 if test "x$ac_pt_PKG_CONFIG" = x; then
41946 PKG_CONFIG=""
41947 else
41948 case $cross_compiling:$ac_tool_warned in
41949 yes:)
41950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41951 whose name does not start with the host triplet. If you think this
41952 configuration is useful to you, please write to autoconf@gnu.org." >&5
41953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41954 whose name does not start with the host triplet. If you think this
41955 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41956 ac_tool_warned=yes ;;
41957 esac
41958 PKG_CONFIG=$ac_pt_PKG_CONFIG
41959 fi
41960 else
41961 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41962 fi
41963
41964 fi
41965 if test -n "$PKG_CONFIG"; then
41966 _pkg_min_version=0.9.0
41967 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41968 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41969 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41970 { echo "$as_me:$LINENO: result: yes" >&5
41971 echo "${ECHO_T}yes" >&6; }
41972 else
41973 { echo "$as_me:$LINENO: result: no" >&5
41974 echo "${ECHO_T}no" >&6; }
41975 PKG_CONFIG=""
41976 fi
41977
41978 fi
41979
41980 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41981
41982 if test "$wxUSE_GTKPRINT" = "yes" ; then
41983
41984
41985 pkg_failed=no
41986 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41987 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41988
41989 if test -n "$PKG_CONFIG"; then
41990 if test -n "$GTKPRINT_CFLAGS"; then
41991 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41992 else
41993 if test -n "$PKG_CONFIG" && \
41994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41995 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41996 ac_status=$?
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); }; then
41999 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42000 else
42001 pkg_failed=yes
42002 fi
42003 fi
42004 else
42005 pkg_failed=untried
42006 fi
42007 if test -n "$PKG_CONFIG"; then
42008 if test -n "$GTKPRINT_LIBS"; then
42009 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42010 else
42011 if test -n "$PKG_CONFIG" && \
42012 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42013 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42014 ac_status=$?
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; then
42017 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42018 else
42019 pkg_failed=yes
42020 fi
42021 fi
42022 else
42023 pkg_failed=untried
42024 fi
42025
42026
42027
42028 if test $pkg_failed = yes; then
42029
42030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42031 _pkg_short_errors_supported=yes
42032 else
42033 _pkg_short_errors_supported=no
42034 fi
42035 if test $_pkg_short_errors_supported = yes; then
42036 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42037 else
42038 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42039 fi
42040 # Put the nasty error message in config.log where it belongs
42041 echo "$GTKPRINT_PKG_ERRORS" >&5
42042
42043
42044 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42045 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42046 wxUSE_GTKPRINT="no"
42047
42048
42049 elif test $pkg_failed = untried; then
42050
42051 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42052 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42053 wxUSE_GTKPRINT="no"
42054
42055
42056 else
42057 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42058 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42059 { echo "$as_me:$LINENO: result: yes" >&5
42060 echo "${ECHO_T}yes" >&6; }
42061
42062 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42063 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42064 cat >>confdefs.h <<\_ACEOF
42065 #define wxUSE_GTKPRINT 1
42066 _ACEOF
42067
42068
42069 fi
42070 fi
42071
42072 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42073
42074
42075 pkg_failed=no
42076 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42077 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42078
42079 if test -n "$PKG_CONFIG"; then
42080 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42081 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42082 else
42083 if test -n "$PKG_CONFIG" && \
42084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42085 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42086 ac_status=$?
42087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42088 (exit $ac_status); }; then
42089 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42090 else
42091 pkg_failed=yes
42092 fi
42093 fi
42094 else
42095 pkg_failed=untried
42096 fi
42097 if test -n "$PKG_CONFIG"; then
42098 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42099 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42100 else
42101 if test -n "$PKG_CONFIG" && \
42102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42103 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42104 ac_status=$?
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); }; then
42107 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42108 else
42109 pkg_failed=yes
42110 fi
42111 fi
42112 else
42113 pkg_failed=untried
42114 fi
42115
42116
42117
42118 if test $pkg_failed = yes; then
42119
42120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42121 _pkg_short_errors_supported=yes
42122 else
42123 _pkg_short_errors_supported=no
42124 fi
42125 if test $_pkg_short_errors_supported = yes; then
42126 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42127 else
42128 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42129 fi
42130 # Put the nasty error message in config.log where it belongs
42131 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42132
42133
42134 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42135 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42136 wxUSE_LIBGNOMEPRINT="no"
42137
42138
42139 elif test $pkg_failed = untried; then
42140
42141 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42142 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42143 wxUSE_LIBGNOMEPRINT="no"
42144
42145
42146 else
42147 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42148 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42149 { echo "$as_me:$LINENO: result: yes" >&5
42150 echo "${ECHO_T}yes" >&6; }
42151
42152 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42153 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42154 cat >>confdefs.h <<\_ACEOF
42155 #define wxUSE_LIBGNOMEPRINT 1
42156 _ACEOF
42157
42158
42159 fi
42160 fi
42161 fi
42162
42163 if test "$wxUSE_MIMETYPE" = "yes" ; then
42164 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42165
42166
42167 pkg_failed=no
42168 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42169 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42170
42171 if test -n "$PKG_CONFIG"; then
42172 if test -n "$GNOMEVFS_CFLAGS"; then
42173 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42174 else
42175 if test -n "$PKG_CONFIG" && \
42176 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42177 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42178 ac_status=$?
42179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42180 (exit $ac_status); }; then
42181 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42182 else
42183 pkg_failed=yes
42184 fi
42185 fi
42186 else
42187 pkg_failed=untried
42188 fi
42189 if test -n "$PKG_CONFIG"; then
42190 if test -n "$GNOMEVFS_LIBS"; then
42191 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42192 else
42193 if test -n "$PKG_CONFIG" && \
42194 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42195 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42196 ac_status=$?
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); }; then
42199 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42200 else
42201 pkg_failed=yes
42202 fi
42203 fi
42204 else
42205 pkg_failed=untried
42206 fi
42207
42208
42209
42210 if test $pkg_failed = yes; then
42211
42212 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42213 _pkg_short_errors_supported=yes
42214 else
42215 _pkg_short_errors_supported=no
42216 fi
42217 if test $_pkg_short_errors_supported = yes; then
42218 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42219 else
42220 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42221 fi
42222 # Put the nasty error message in config.log where it belongs
42223 echo "$GNOMEVFS_PKG_ERRORS" >&5
42224
42225
42226 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42227 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42228 wxUSE_LIBGNOMEVFS="no"
42229
42230
42231 elif test $pkg_failed = untried; then
42232
42233 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42234 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42235 wxUSE_LIBGNOMEVFS="no"
42236
42237
42238 else
42239 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42240 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42241 { echo "$as_me:$LINENO: result: yes" >&5
42242 echo "${ECHO_T}yes" >&6; }
42243
42244 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42245 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42246 cat >>confdefs.h <<\_ACEOF
42247 #define wxUSE_LIBGNOMEVFS 1
42248 _ACEOF
42249
42250
42251 fi
42252 fi
42253 fi
42254
42255 if test "$wxUSE_LIBHILDON" = "yes" ; then
42256
42257 pkg_failed=no
42258 { echo "$as_me:$LINENO: checking for HILDON" >&5
42259 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42260
42261 if test -n "$PKG_CONFIG"; then
42262 if test -n "$HILDON_CFLAGS"; then
42263 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42264 else
42265 if test -n "$PKG_CONFIG" && \
42266 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42267 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42268 ac_status=$?
42269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42270 (exit $ac_status); }; then
42271 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42272 else
42273 pkg_failed=yes
42274 fi
42275 fi
42276 else
42277 pkg_failed=untried
42278 fi
42279 if test -n "$PKG_CONFIG"; then
42280 if test -n "$HILDON_LIBS"; then
42281 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42282 else
42283 if test -n "$PKG_CONFIG" && \
42284 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42285 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42286 ac_status=$?
42287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288 (exit $ac_status); }; then
42289 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42290 else
42291 pkg_failed=yes
42292 fi
42293 fi
42294 else
42295 pkg_failed=untried
42296 fi
42297
42298
42299
42300 if test $pkg_failed = yes; then
42301
42302 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42303 _pkg_short_errors_supported=yes
42304 else
42305 _pkg_short_errors_supported=no
42306 fi
42307 if test $_pkg_short_errors_supported = yes; then
42308 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42309 else
42310 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42311 fi
42312 # Put the nasty error message in config.log where it belongs
42313 echo "$HILDON_PKG_ERRORS" >&5
42314
42315
42316 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42317 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42318 wxUSE_LIBHILDON="no"
42319
42320
42321 elif test $pkg_failed = untried; then
42322
42323 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42324 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42325 wxUSE_LIBHILDON="no"
42326
42327
42328 else
42329 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42330 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42331 { echo "$as_me:$LINENO: result: yes" >&5
42332 echo "${ECHO_T}yes" >&6; }
42333
42334 EXTRALIBS_HILDON="$HILDON_LIBS"
42335 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42336 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42337 cat >>confdefs.h <<\_ACEOF
42338 #define wxUSE_LIBHILDON 1
42339 _ACEOF
42340
42341
42342 fi
42343 fi
42344 fi
42345
42346 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42347 cat >>confdefs.h <<\_ACEOF
42348 #define wxUSE_CMDLINE_PARSER 1
42349 _ACEOF
42350
42351 fi
42352
42353 if test "$wxUSE_STOPWATCH" = "yes"; then
42354 cat >>confdefs.h <<\_ACEOF
42355 #define wxUSE_STOPWATCH 1
42356 _ACEOF
42357
42358 fi
42359
42360 if test "$wxUSE_DATETIME" = "yes"; then
42361 cat >>confdefs.h <<\_ACEOF
42362 #define wxUSE_DATETIME 1
42363 _ACEOF
42364
42365 fi
42366
42367 if test "$wxUSE_FILE" = "yes"; then
42368 cat >>confdefs.h <<\_ACEOF
42369 #define wxUSE_FILE 1
42370 _ACEOF
42371
42372 fi
42373
42374 if test "$wxUSE_FFILE" = "yes"; then
42375 cat >>confdefs.h <<\_ACEOF
42376 #define wxUSE_FFILE 1
42377 _ACEOF
42378
42379 fi
42380
42381 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42382 if test "$wxUSE_STREAMS" != yes; then
42383 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42384 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42385 wxUSE_ARCHIVE_STREAMS=no
42386 else
42387 cat >>confdefs.h <<\_ACEOF
42388 #define wxUSE_ARCHIVE_STREAMS 1
42389 _ACEOF
42390
42391 fi
42392 fi
42393
42394 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42395 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42396 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42397 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42398 elif test "$wxUSE_ZLIB" = "no"; then
42399 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42400 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42401 else
42402 cat >>confdefs.h <<\_ACEOF
42403 #define wxUSE_ZIPSTREAM 1
42404 _ACEOF
42405
42406 fi
42407 fi
42408
42409 if test "$wxUSE_TARSTREAM" = "yes"; then
42410 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42411 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42412 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42413 else
42414 cat >>confdefs.h <<\_ACEOF
42415 #define wxUSE_TARSTREAM 1
42416 _ACEOF
42417
42418 fi
42419 fi
42420
42421 if test "$wxUSE_FILESYSTEM" = "yes"; then
42422 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42423 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42424 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42425 wxUSE_FILESYSTEM=no
42426 else
42427 cat >>confdefs.h <<\_ACEOF
42428 #define wxUSE_FILESYSTEM 1
42429 _ACEOF
42430
42431 fi
42432 fi
42433
42434 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42435 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42436 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42437 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42438 else
42439 cat >>confdefs.h <<\_ACEOF
42440 #define wxUSE_FS_ARCHIVE 1
42441 _ACEOF
42442
42443 fi
42444 fi
42445
42446 if test "$wxUSE_FS_ZIP" = "yes"; then
42447 if test "$wxUSE_FS_ARCHIVE" != yes; then
42448 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42449 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42450 else
42451 cat >>confdefs.h <<\_ACEOF
42452 #define wxUSE_FS_ZIP 1
42453 _ACEOF
42454
42455 fi
42456 fi
42457
42458 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42459 if test "$USE_UNIX" != 1; then
42460 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42461 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42462 wxUSE_ON_FATAL_EXCEPTION=no
42463 else
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_ON_FATAL_EXCEPTION 1
42466 _ACEOF
42467
42468 fi
42469 fi
42470
42471 if test "$wxUSE_STACKWALKER" = "yes"; then
42472 cat >>confdefs.h <<\_ACEOF
42473 #define wxUSE_STACKWALKER 1
42474 _ACEOF
42475
42476 fi
42477
42478 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42479 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42480 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42481 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42482 wxUSE_DEBUGREPORT=no
42483 else
42484 cat >>confdefs.h <<\_ACEOF
42485 #define wxUSE_DEBUGREPORT 1
42486 _ACEOF
42487
42488 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42490 fi
42491 fi
42492 fi
42493
42494 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42495 cat >>confdefs.h <<\_ACEOF
42496 #define wxUSE_SNGLINST_CHECKER 1
42497 _ACEOF
42498
42499 fi
42500
42501 if test "$wxUSE_BUSYINFO" = "yes"; then
42502 cat >>confdefs.h <<\_ACEOF
42503 #define wxUSE_BUSYINFO 1
42504 _ACEOF
42505
42506 fi
42507
42508 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42509 cat >>confdefs.h <<\_ACEOF
42510 #define wxUSE_STD_IOSTREAM 1
42511 _ACEOF
42512
42513 fi
42514
42515 if test "$wxUSE_STD_STRING" = "yes"; then
42516 cat >>confdefs.h <<\_ACEOF
42517 #define wxUSE_STD_STRING 1
42518 _ACEOF
42519
42520 fi
42521
42522 if test "$wxUSE_STDPATHS" = "yes"; then
42523 cat >>confdefs.h <<\_ACEOF
42524 #define wxUSE_STDPATHS 1
42525 _ACEOF
42526
42527 fi
42528
42529 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42530 cat >>confdefs.h <<\_ACEOF
42531 #define wxUSE_TEXTBUFFER 1
42532 _ACEOF
42533
42534 fi
42535
42536 if test "$wxUSE_TEXTFILE" = "yes"; then
42537 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42538 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42539 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42540 else
42541 cat >>confdefs.h <<\_ACEOF
42542 #define wxUSE_TEXTFILE 1
42543 _ACEOF
42544
42545 fi
42546 fi
42547
42548 if test "$wxUSE_CONFIG" = "yes" ; then
42549 if test "$wxUSE_TEXTFILE" != "yes"; then
42550 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42551 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42552 else
42553 cat >>confdefs.h <<\_ACEOF
42554 #define wxUSE_CONFIG 1
42555 _ACEOF
42556
42557 cat >>confdefs.h <<\_ACEOF
42558 #define wxUSE_CONFIG_NATIVE 1
42559 _ACEOF
42560
42561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42562 fi
42563 fi
42564
42565 if test "$wxUSE_INTL" = "yes" ; then
42566 if test "$wxUSE_FILE" != "yes"; then
42567 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42568 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42569 else
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_INTL 1
42572 _ACEOF
42573
42574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42575 GUIDIST="$GUIDIST INTL_DIST"
42576 fi
42577 fi
42578
42579 if test "$wxUSE_LOG" = "yes"; then
42580 cat >>confdefs.h <<\_ACEOF
42581 #define wxUSE_LOG 1
42582 _ACEOF
42583
42584
42585 if test "$wxUSE_LOGGUI" = "yes"; then
42586 cat >>confdefs.h <<\_ACEOF
42587 #define wxUSE_LOGGUI 1
42588 _ACEOF
42589
42590 fi
42591
42592 if test "$wxUSE_LOGWINDOW" = "yes"; then
42593 cat >>confdefs.h <<\_ACEOF
42594 #define wxUSE_LOGWINDOW 1
42595 _ACEOF
42596
42597 fi
42598
42599 if test "$wxUSE_LOGDIALOG" = "yes"; then
42600 cat >>confdefs.h <<\_ACEOF
42601 #define wxUSE_LOG_DIALOG 1
42602 _ACEOF
42603
42604 fi
42605
42606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42607 fi
42608
42609 if test "$wxUSE_LONGLONG" = "yes"; then
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_LONGLONG 1
42612 _ACEOF
42613
42614 fi
42615
42616 if test "$wxUSE_GEOMETRY" = "yes"; then
42617 cat >>confdefs.h <<\_ACEOF
42618 #define wxUSE_GEOMETRY 1
42619 _ACEOF
42620
42621 fi
42622
42623 if test "$wxUSE_BASE64" = "yes"; then
42624 cat >>confdefs.h <<\_ACEOF
42625 #define wxUSE_BASE64 1
42626 _ACEOF
42627
42628 fi
42629
42630 if test "$wxUSE_STREAMS" = "yes" ; then
42631 cat >>confdefs.h <<\_ACEOF
42632 #define wxUSE_STREAMS 1
42633 _ACEOF
42634
42635 fi
42636
42637 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42638 cat >>confdefs.h <<\_ACEOF
42639 #define wxUSE_PRINTF_POS_PARAMS 1
42640 _ACEOF
42641
42642 fi
42643
42644 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42645 cat >>confdefs.h <<\_ACEOF
42646 #define wxUSE_OBJC_UNIQUIFYING 1
42647 _ACEOF
42648
42649 fi
42650
42651
42652 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42653 cat >>confdefs.h <<\_ACEOF
42654 #define wxUSE_CONSOLE_EVENTLOOP 1
42655 _ACEOF
42656
42657
42658 if test "$wxUSE_UNIX" = "yes"; then
42659 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_SELECT_DISPATCHER 1
42662 _ACEOF
42663
42664 fi
42665
42666 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42667
42668 for ac_header in sys/epoll.h
42669 do
42670 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42671 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42674 echo $ECHO_N "(cached) $ECHO_C" >&6
42675 else
42676 cat >conftest.$ac_ext <<_ACEOF
42677 /* confdefs.h. */
42678 _ACEOF
42679 cat confdefs.h >>conftest.$ac_ext
42680 cat >>conftest.$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42682 $ac_includes_default
42683
42684 #include <$ac_header>
42685 _ACEOF
42686 rm -f conftest.$ac_objext
42687 if { (ac_try="$ac_compile"
42688 case "(($ac_try" in
42689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42690 *) ac_try_echo=$ac_try;;
42691 esac
42692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693 (eval "$ac_compile") 2>conftest.er1
42694 ac_status=$?
42695 grep -v '^ *+' conftest.er1 >conftest.err
42696 rm -f conftest.er1
42697 cat conftest.err >&5
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); } && {
42700 test -z "$ac_c_werror_flag" ||
42701 test ! -s conftest.err
42702 } && test -s conftest.$ac_objext; then
42703 eval "$as_ac_Header=yes"
42704 else
42705 echo "$as_me: failed program was:" >&5
42706 sed 's/^/| /' conftest.$ac_ext >&5
42707
42708 eval "$as_ac_Header=no"
42709 fi
42710
42711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42712 fi
42713 ac_res=`eval echo '${'$as_ac_Header'}'`
42714 { echo "$as_me:$LINENO: result: $ac_res" >&5
42715 echo "${ECHO_T}$ac_res" >&6; }
42716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42717 cat >>confdefs.h <<_ACEOF
42718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42719 _ACEOF
42720
42721 fi
42722
42723 done
42724
42725 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42726 cat >>confdefs.h <<\_ACEOF
42727 #define wxUSE_EPOLL_DISPATCHER 1
42728 _ACEOF
42729
42730 else
42731 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42732 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42733 fi
42734 fi
42735 fi
42736 fi
42737
42738
42739
42740
42741 for ac_func in gettimeofday ftime
42742 do
42743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 else
42749 cat >conftest.$ac_ext <<_ACEOF
42750 /* confdefs.h. */
42751 _ACEOF
42752 cat confdefs.h >>conftest.$ac_ext
42753 cat >>conftest.$ac_ext <<_ACEOF
42754 /* end confdefs.h. */
42755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42757 #define $ac_func innocuous_$ac_func
42758
42759 /* System header to define __stub macros and hopefully few prototypes,
42760 which can conflict with char $ac_func (); below.
42761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42762 <limits.h> exists even on freestanding compilers. */
42763
42764 #ifdef __STDC__
42765 # include <limits.h>
42766 #else
42767 # include <assert.h>
42768 #endif
42769
42770 #undef $ac_func
42771
42772 /* Override any GCC internal prototype to avoid an error.
42773 Use char because int might match the return type of a GCC
42774 builtin and then its argument prototype would still apply. */
42775 #ifdef __cplusplus
42776 extern "C"
42777 #endif
42778 char $ac_func ();
42779 /* The GNU C library defines this for functions which it implements
42780 to always fail with ENOSYS. Some functions are actually named
42781 something starting with __ and the normal name is an alias. */
42782 #if defined __stub_$ac_func || defined __stub___$ac_func
42783 choke me
42784 #endif
42785
42786 int
42787 main ()
42788 {
42789 return $ac_func ();
42790 ;
42791 return 0;
42792 }
42793 _ACEOF
42794 rm -f conftest.$ac_objext conftest$ac_exeext
42795 if { (ac_try="$ac_link"
42796 case "(($ac_try" in
42797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42798 *) ac_try_echo=$ac_try;;
42799 esac
42800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42801 (eval "$ac_link") 2>conftest.er1
42802 ac_status=$?
42803 grep -v '^ *+' conftest.er1 >conftest.err
42804 rm -f conftest.er1
42805 cat conftest.err >&5
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); } && {
42808 test -z "$ac_c_werror_flag" ||
42809 test ! -s conftest.err
42810 } && test -s conftest$ac_exeext &&
42811 $as_test_x conftest$ac_exeext; then
42812 eval "$as_ac_var=yes"
42813 else
42814 echo "$as_me: failed program was:" >&5
42815 sed 's/^/| /' conftest.$ac_ext >&5
42816
42817 eval "$as_ac_var=no"
42818 fi
42819
42820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42821 conftest$ac_exeext conftest.$ac_ext
42822 fi
42823 ac_res=`eval echo '${'$as_ac_var'}'`
42824 { echo "$as_me:$LINENO: result: $ac_res" >&5
42825 echo "${ECHO_T}$ac_res" >&6; }
42826 if test `eval echo '${'$as_ac_var'}'` = yes; then
42827 cat >>confdefs.h <<_ACEOF
42828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42829 _ACEOF
42830 break
42831 fi
42832 done
42833
42834
42835 if test "$ac_cv_func_gettimeofday" = "yes"; then
42836 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42837 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42838 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42839 echo $ECHO_N "(cached) $ECHO_C" >&6
42840 else
42841
42842 cat >conftest.$ac_ext <<_ACEOF
42843 /* confdefs.h. */
42844 _ACEOF
42845 cat confdefs.h >>conftest.$ac_ext
42846 cat >>conftest.$ac_ext <<_ACEOF
42847 /* end confdefs.h. */
42848
42849 #include <sys/time.h>
42850 #include <unistd.h>
42851
42852 int
42853 main ()
42854 {
42855
42856 struct timeval tv;
42857 gettimeofday(&tv, NULL);
42858
42859 ;
42860 return 0;
42861 }
42862 _ACEOF
42863 rm -f conftest.$ac_objext
42864 if { (ac_try="$ac_compile"
42865 case "(($ac_try" in
42866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42867 *) ac_try_echo=$ac_try;;
42868 esac
42869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42870 (eval "$ac_compile") 2>conftest.er1
42871 ac_status=$?
42872 grep -v '^ *+' conftest.er1 >conftest.err
42873 rm -f conftest.er1
42874 cat conftest.err >&5
42875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42876 (exit $ac_status); } && {
42877 test -z "$ac_c_werror_flag" ||
42878 test ! -s conftest.err
42879 } && test -s conftest.$ac_objext; then
42880 wx_cv_func_gettimeofday_has_2_args=yes
42881 else
42882 echo "$as_me: failed program was:" >&5
42883 sed 's/^/| /' conftest.$ac_ext >&5
42884
42885 cat >conftest.$ac_ext <<_ACEOF
42886 /* confdefs.h. */
42887 _ACEOF
42888 cat confdefs.h >>conftest.$ac_ext
42889 cat >>conftest.$ac_ext <<_ACEOF
42890 /* end confdefs.h. */
42891
42892 #include <sys/time.h>
42893 #include <unistd.h>
42894
42895 int
42896 main ()
42897 {
42898
42899 struct timeval tv;
42900 gettimeofday(&tv);
42901
42902 ;
42903 return 0;
42904 }
42905 _ACEOF
42906 rm -f conftest.$ac_objext
42907 if { (ac_try="$ac_compile"
42908 case "(($ac_try" in
42909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42910 *) ac_try_echo=$ac_try;;
42911 esac
42912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42913 (eval "$ac_compile") 2>conftest.er1
42914 ac_status=$?
42915 grep -v '^ *+' conftest.er1 >conftest.err
42916 rm -f conftest.er1
42917 cat conftest.err >&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); } && {
42920 test -z "$ac_c_werror_flag" ||
42921 test ! -s conftest.err
42922 } && test -s conftest.$ac_objext; then
42923 wx_cv_func_gettimeofday_has_2_args=no
42924 else
42925 echo "$as_me: failed program was:" >&5
42926 sed 's/^/| /' conftest.$ac_ext >&5
42927
42928
42929 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42930 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42931 wx_cv_func_gettimeofday_has_2_args=unknown
42932
42933
42934 fi
42935
42936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42937
42938 fi
42939
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941
42942 fi
42943 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42944 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42945
42946 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42947 cat >>confdefs.h <<\_ACEOF
42948 #define WX_GETTIMEOFDAY_NO_TZ 1
42949 _ACEOF
42950
42951 fi
42952 fi
42953
42954 if test "$wxUSE_DATETIME" = "yes"; then
42955 { echo "$as_me:$LINENO: checking for strptime" >&5
42956 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42957 if test "${ac_cv_func_strptime+set}" = set; then
42958 echo $ECHO_N "(cached) $ECHO_C" >&6
42959 else
42960 cat >conftest.$ac_ext <<_ACEOF
42961 /* confdefs.h. */
42962 _ACEOF
42963 cat confdefs.h >>conftest.$ac_ext
42964 cat >>conftest.$ac_ext <<_ACEOF
42965 /* end confdefs.h. */
42966 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42968 #define strptime innocuous_strptime
42969
42970 /* System header to define __stub macros and hopefully few prototypes,
42971 which can conflict with char strptime (); below.
42972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42973 <limits.h> exists even on freestanding compilers. */
42974
42975 #ifdef __STDC__
42976 # include <limits.h>
42977 #else
42978 # include <assert.h>
42979 #endif
42980
42981 #undef strptime
42982
42983 /* Override any GCC internal prototype to avoid an error.
42984 Use char because int might match the return type of a GCC
42985 builtin and then its argument prototype would still apply. */
42986 #ifdef __cplusplus
42987 extern "C"
42988 #endif
42989 char strptime ();
42990 /* The GNU C library defines this for functions which it implements
42991 to always fail with ENOSYS. Some functions are actually named
42992 something starting with __ and the normal name is an alias. */
42993 #if defined __stub_strptime || defined __stub___strptime
42994 choke me
42995 #endif
42996
42997 int
42998 main ()
42999 {
43000 return strptime ();
43001 ;
43002 return 0;
43003 }
43004 _ACEOF
43005 rm -f conftest.$ac_objext conftest$ac_exeext
43006 if { (ac_try="$ac_link"
43007 case "(($ac_try" in
43008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43009 *) ac_try_echo=$ac_try;;
43010 esac
43011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43012 (eval "$ac_link") 2>conftest.er1
43013 ac_status=$?
43014 grep -v '^ *+' conftest.er1 >conftest.err
43015 rm -f conftest.er1
43016 cat conftest.err >&5
43017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); } && {
43019 test -z "$ac_c_werror_flag" ||
43020 test ! -s conftest.err
43021 } && test -s conftest$ac_exeext &&
43022 $as_test_x conftest$ac_exeext; then
43023 ac_cv_func_strptime=yes
43024 else
43025 echo "$as_me: failed program was:" >&5
43026 sed 's/^/| /' conftest.$ac_ext >&5
43027
43028 ac_cv_func_strptime=no
43029 fi
43030
43031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43032 conftest$ac_exeext conftest.$ac_ext
43033 fi
43034 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43035 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43036
43037 if test "$ac_cv_func_strptime" = "yes"; then
43038 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43039 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43040 if test "${wx_cv_func_strptime_decl+set}" = set; then
43041 echo $ECHO_N "(cached) $ECHO_C" >&6
43042 else
43043
43044 ac_ext=cpp
43045 ac_cpp='$CXXCPP $CPPFLAGS'
43046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43049
43050 cat >conftest.$ac_ext <<_ACEOF
43051 /* confdefs.h. */
43052 _ACEOF
43053 cat confdefs.h >>conftest.$ac_ext
43054 cat >>conftest.$ac_ext <<_ACEOF
43055 /* end confdefs.h. */
43056
43057 #include <time.h>
43058
43059 int
43060 main ()
43061 {
43062
43063 struct tm t;
43064 strptime("foo", "bar", &t);
43065
43066 ;
43067 return 0;
43068 }
43069 _ACEOF
43070 rm -f conftest.$ac_objext
43071 if { (ac_try="$ac_compile"
43072 case "(($ac_try" in
43073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43074 *) ac_try_echo=$ac_try;;
43075 esac
43076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43077 (eval "$ac_compile") 2>conftest.er1
43078 ac_status=$?
43079 grep -v '^ *+' conftest.er1 >conftest.err
43080 rm -f conftest.er1
43081 cat conftest.err >&5
43082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43083 (exit $ac_status); } && {
43084 test -z "$ac_cxx_werror_flag" ||
43085 test ! -s conftest.err
43086 } && test -s conftest.$ac_objext; then
43087 wx_cv_func_strptime_decl=yes
43088 else
43089 echo "$as_me: failed program was:" >&5
43090 sed 's/^/| /' conftest.$ac_ext >&5
43091
43092 wx_cv_func_strptime_decl=no
43093
43094 fi
43095
43096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43097 ac_ext=c
43098 ac_cpp='$CPP $CPPFLAGS'
43099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43102
43103
43104
43105 fi
43106 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43107 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43108 fi
43109 if test "$wx_cv_func_strptime_decl" = "yes"; then
43110 cat >>confdefs.h <<\_ACEOF
43111 #define HAVE_STRPTIME_DECL 1
43112 _ACEOF
43113
43114 else
43115 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43116 fi
43117 if test "$ac_cv_func_strptime" = "yes"; then
43118 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43119 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43120 if test "${wx_cv_func_strptime_ok+set}" = set; then
43121 echo $ECHO_N "(cached) $ECHO_C" >&6
43122 else
43123 if test "$cross_compiling" = yes; then
43124 wx_cv_func_strptime_ok=no
43125
43126 else
43127 cat >conftest.$ac_ext <<_ACEOF
43128
43129 #include <stdlib.h>
43130 #include <time.h>
43131 #include "confdefs.h"
43132
43133 $wx_strptime_decl
43134
43135 int main()
43136 {
43137 struct tm t;
43138 return !!strptime("", "%x", &t);
43139 }
43140
43141 _ACEOF
43142 rm -f conftest$ac_exeext
43143 if { (ac_try="$ac_link"
43144 case "(($ac_try" in
43145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43146 *) ac_try_echo=$ac_try;;
43147 esac
43148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43149 (eval "$ac_link") 2>&5
43150 ac_status=$?
43151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43153 { (case "(($ac_try" in
43154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43155 *) ac_try_echo=$ac_try;;
43156 esac
43157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43158 (eval "$ac_try") 2>&5
43159 ac_status=$?
43160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43161 (exit $ac_status); }; }; then
43162 wx_cv_func_strptime_ok=yes
43163 else
43164 echo "$as_me: program exited with status $ac_status" >&5
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43167
43168 ( exit $ac_status )
43169 wx_cv_func_strptime_ok=no
43170 fi
43171 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43172 fi
43173
43174
43175
43176 fi
43177 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43178 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43179
43180 if test "$wx_cv_func_strptime_ok" = "yes"; then
43181 cat >>confdefs.h <<\_ACEOF
43182 #define HAVE_STRPTIME 1
43183 _ACEOF
43184
43185 fi
43186 fi
43187
43188 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43189 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43190 if test "${wx_cv_var_timezone+set}" = set; then
43191 echo $ECHO_N "(cached) $ECHO_C" >&6
43192 else
43193
43194 ac_ext=cpp
43195 ac_cpp='$CXXCPP $CPPFLAGS'
43196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199
43200 cat >conftest.$ac_ext <<_ACEOF
43201 /* confdefs.h. */
43202 _ACEOF
43203 cat confdefs.h >>conftest.$ac_ext
43204 cat >>conftest.$ac_ext <<_ACEOF
43205 /* end confdefs.h. */
43206
43207 #include <time.h>
43208
43209 int
43210 main ()
43211 {
43212
43213 int tz;
43214 tz = timezone;
43215
43216 ;
43217 return 0;
43218 }
43219 _ACEOF
43220 rm -f conftest.$ac_objext
43221 if { (ac_try="$ac_compile"
43222 case "(($ac_try" in
43223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43224 *) ac_try_echo=$ac_try;;
43225 esac
43226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43227 (eval "$ac_compile") 2>conftest.er1
43228 ac_status=$?
43229 grep -v '^ *+' conftest.er1 >conftest.err
43230 rm -f conftest.er1
43231 cat conftest.err >&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } && {
43234 test -z "$ac_cxx_werror_flag" ||
43235 test ! -s conftest.err
43236 } && test -s conftest.$ac_objext; then
43237
43238 wx_cv_var_timezone=timezone
43239
43240 else
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.$ac_ext >&5
43243
43244
43245 cat >conftest.$ac_ext <<_ACEOF
43246 /* confdefs.h. */
43247 _ACEOF
43248 cat confdefs.h >>conftest.$ac_ext
43249 cat >>conftest.$ac_ext <<_ACEOF
43250 /* end confdefs.h. */
43251
43252 #include <time.h>
43253
43254 int
43255 main ()
43256 {
43257
43258 int tz;
43259 tz = _timezone;
43260
43261 ;
43262 return 0;
43263 }
43264 _ACEOF
43265 rm -f conftest.$ac_objext
43266 if { (ac_try="$ac_compile"
43267 case "(($ac_try" in
43268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43269 *) ac_try_echo=$ac_try;;
43270 esac
43271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43272 (eval "$ac_compile") 2>conftest.er1
43273 ac_status=$?
43274 grep -v '^ *+' conftest.er1 >conftest.err
43275 rm -f conftest.er1
43276 cat conftest.err >&5
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); } && {
43279 test -z "$ac_cxx_werror_flag" ||
43280 test ! -s conftest.err
43281 } && test -s conftest.$ac_objext; then
43282
43283 wx_cv_var_timezone=_timezone
43284
43285 else
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.$ac_ext >&5
43288
43289
43290 cat >conftest.$ac_ext <<_ACEOF
43291 /* confdefs.h. */
43292 _ACEOF
43293 cat confdefs.h >>conftest.$ac_ext
43294 cat >>conftest.$ac_ext <<_ACEOF
43295 /* end confdefs.h. */
43296
43297 #include <time.h>
43298
43299 int
43300 main ()
43301 {
43302
43303 int tz;
43304 tz = __timezone;
43305
43306 ;
43307 return 0;
43308 }
43309 _ACEOF
43310 rm -f conftest.$ac_objext
43311 if { (ac_try="$ac_compile"
43312 case "(($ac_try" in
43313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43314 *) ac_try_echo=$ac_try;;
43315 esac
43316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43317 (eval "$ac_compile") 2>conftest.er1
43318 ac_status=$?
43319 grep -v '^ *+' conftest.er1 >conftest.err
43320 rm -f conftest.er1
43321 cat conftest.err >&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); } && {
43324 test -z "$ac_cxx_werror_flag" ||
43325 test ! -s conftest.err
43326 } && test -s conftest.$ac_objext; then
43327
43328 wx_cv_var_timezone=__timezone
43329
43330 else
43331 echo "$as_me: failed program was:" >&5
43332 sed 's/^/| /' conftest.$ac_ext >&5
43333
43334
43335 if test "$USE_DOS" = 0 ; then
43336 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43337 echo "$as_me: WARNING: no timezone variable" >&2;}
43338 fi
43339
43340
43341 fi
43342
43343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43344
43345
43346 fi
43347
43348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43349
43350
43351 fi
43352
43353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43354 ac_ext=c
43355 ac_cpp='$CPP $CPPFLAGS'
43356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43359
43360
43361
43362 fi
43363 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43364 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43365
43366 if test "x$wx_cv_var_timezone" != x ; then
43367 cat >>confdefs.h <<_ACEOF
43368 #define WX_TIMEZONE $wx_cv_var_timezone
43369 _ACEOF
43370
43371 fi
43372
43373
43374 for ac_func in localtime
43375 do
43376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43380 echo $ECHO_N "(cached) $ECHO_C" >&6
43381 else
43382 cat >conftest.$ac_ext <<_ACEOF
43383 /* confdefs.h. */
43384 _ACEOF
43385 cat confdefs.h >>conftest.$ac_ext
43386 cat >>conftest.$ac_ext <<_ACEOF
43387 /* end confdefs.h. */
43388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43390 #define $ac_func innocuous_$ac_func
43391
43392 /* System header to define __stub macros and hopefully few prototypes,
43393 which can conflict with char $ac_func (); below.
43394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43395 <limits.h> exists even on freestanding compilers. */
43396
43397 #ifdef __STDC__
43398 # include <limits.h>
43399 #else
43400 # include <assert.h>
43401 #endif
43402
43403 #undef $ac_func
43404
43405 /* Override any GCC internal prototype to avoid an error.
43406 Use char because int might match the return type of a GCC
43407 builtin and then its argument prototype would still apply. */
43408 #ifdef __cplusplus
43409 extern "C"
43410 #endif
43411 char $ac_func ();
43412 /* The GNU C library defines this for functions which it implements
43413 to always fail with ENOSYS. Some functions are actually named
43414 something starting with __ and the normal name is an alias. */
43415 #if defined __stub_$ac_func || defined __stub___$ac_func
43416 choke me
43417 #endif
43418
43419 int
43420 main ()
43421 {
43422 return $ac_func ();
43423 ;
43424 return 0;
43425 }
43426 _ACEOF
43427 rm -f conftest.$ac_objext conftest$ac_exeext
43428 if { (ac_try="$ac_link"
43429 case "(($ac_try" in
43430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43431 *) ac_try_echo=$ac_try;;
43432 esac
43433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43434 (eval "$ac_link") 2>conftest.er1
43435 ac_status=$?
43436 grep -v '^ *+' conftest.er1 >conftest.err
43437 rm -f conftest.er1
43438 cat conftest.err >&5
43439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43440 (exit $ac_status); } && {
43441 test -z "$ac_c_werror_flag" ||
43442 test ! -s conftest.err
43443 } && test -s conftest$ac_exeext &&
43444 $as_test_x conftest$ac_exeext; then
43445 eval "$as_ac_var=yes"
43446 else
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43449
43450 eval "$as_ac_var=no"
43451 fi
43452
43453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43454 conftest$ac_exeext conftest.$ac_ext
43455 fi
43456 ac_res=`eval echo '${'$as_ac_var'}'`
43457 { echo "$as_me:$LINENO: result: $ac_res" >&5
43458 echo "${ECHO_T}$ac_res" >&6; }
43459 if test `eval echo '${'$as_ac_var'}'` = yes; then
43460 cat >>confdefs.h <<_ACEOF
43461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43462 _ACEOF
43463
43464 fi
43465 done
43466
43467
43468 if test "$ac_cv_func_localtime" = "yes"; then
43469 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43470 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43471 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43472 echo $ECHO_N "(cached) $ECHO_C" >&6
43473 else
43474
43475 cat >conftest.$ac_ext <<_ACEOF
43476 /* confdefs.h. */
43477 _ACEOF
43478 cat confdefs.h >>conftest.$ac_ext
43479 cat >>conftest.$ac_ext <<_ACEOF
43480 /* end confdefs.h. */
43481
43482 #include <time.h>
43483
43484 int
43485 main ()
43486 {
43487
43488 struct tm tm;
43489 tm.tm_gmtoff++;
43490
43491 ;
43492 return 0;
43493 }
43494 _ACEOF
43495 rm -f conftest.$ac_objext
43496 if { (ac_try="$ac_compile"
43497 case "(($ac_try" in
43498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43499 *) ac_try_echo=$ac_try;;
43500 esac
43501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43502 (eval "$ac_compile") 2>conftest.er1
43503 ac_status=$?
43504 grep -v '^ *+' conftest.er1 >conftest.err
43505 rm -f conftest.er1
43506 cat conftest.err >&5
43507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43508 (exit $ac_status); } && {
43509 test -z "$ac_c_werror_flag" ||
43510 test ! -s conftest.err
43511 } && test -s conftest.$ac_objext; then
43512
43513 wx_cv_struct_tm_has_gmtoff=yes
43514
43515 else
43516 echo "$as_me: failed program was:" >&5
43517 sed 's/^/| /' conftest.$ac_ext >&5
43518
43519 wx_cv_struct_tm_has_gmtoff=no
43520
43521 fi
43522
43523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43524
43525 fi
43526 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43527 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43528 fi
43529
43530 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43531 cat >>confdefs.h <<\_ACEOF
43532 #define WX_GMTOFF_IN_TM 1
43533 _ACEOF
43534
43535 fi
43536
43537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43538 fi
43539
43540
43541 if test "$wxUSE_SOCKETS" = "yes"; then
43542 if test "$wxUSE_MGL" = 1; then
43543 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43544 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43545 wxUSE_SOCKETS="no"
43546 fi
43547 fi
43548
43549 if test "$wxUSE_SOCKETS" = "yes"; then
43550 if test "$TOOLKIT" != "MSW"; then
43551 { echo "$as_me:$LINENO: checking for socket" >&5
43552 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43553 if test "${ac_cv_func_socket+set}" = set; then
43554 echo $ECHO_N "(cached) $ECHO_C" >&6
43555 else
43556 cat >conftest.$ac_ext <<_ACEOF
43557 /* confdefs.h. */
43558 _ACEOF
43559 cat confdefs.h >>conftest.$ac_ext
43560 cat >>conftest.$ac_ext <<_ACEOF
43561 /* end confdefs.h. */
43562 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43564 #define socket innocuous_socket
43565
43566 /* System header to define __stub macros and hopefully few prototypes,
43567 which can conflict with char socket (); below.
43568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43569 <limits.h> exists even on freestanding compilers. */
43570
43571 #ifdef __STDC__
43572 # include <limits.h>
43573 #else
43574 # include <assert.h>
43575 #endif
43576
43577 #undef socket
43578
43579 /* Override any GCC internal prototype to avoid an error.
43580 Use char because int might match the return type of a GCC
43581 builtin and then its argument prototype would still apply. */
43582 #ifdef __cplusplus
43583 extern "C"
43584 #endif
43585 char socket ();
43586 /* The GNU C library defines this for functions which it implements
43587 to always fail with ENOSYS. Some functions are actually named
43588 something starting with __ and the normal name is an alias. */
43589 #if defined __stub_socket || defined __stub___socket
43590 choke me
43591 #endif
43592
43593 int
43594 main ()
43595 {
43596 return socket ();
43597 ;
43598 return 0;
43599 }
43600 _ACEOF
43601 rm -f conftest.$ac_objext conftest$ac_exeext
43602 if { (ac_try="$ac_link"
43603 case "(($ac_try" in
43604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43605 *) ac_try_echo=$ac_try;;
43606 esac
43607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43608 (eval "$ac_link") 2>conftest.er1
43609 ac_status=$?
43610 grep -v '^ *+' conftest.er1 >conftest.err
43611 rm -f conftest.er1
43612 cat conftest.err >&5
43613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43614 (exit $ac_status); } && {
43615 test -z "$ac_c_werror_flag" ||
43616 test ! -s conftest.err
43617 } && test -s conftest$ac_exeext &&
43618 $as_test_x conftest$ac_exeext; then
43619 ac_cv_func_socket=yes
43620 else
43621 echo "$as_me: failed program was:" >&5
43622 sed 's/^/| /' conftest.$ac_ext >&5
43623
43624 ac_cv_func_socket=no
43625 fi
43626
43627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43628 conftest$ac_exeext conftest.$ac_ext
43629 fi
43630 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43631 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43632 if test $ac_cv_func_socket = yes; then
43633 :
43634 else
43635
43636 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43637 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43638 if test "${ac_cv_lib_socket_socket+set}" = set; then
43639 echo $ECHO_N "(cached) $ECHO_C" >&6
43640 else
43641 ac_check_lib_save_LIBS=$LIBS
43642 LIBS="-lsocket $LIBS"
43643 cat >conftest.$ac_ext <<_ACEOF
43644 /* confdefs.h. */
43645 _ACEOF
43646 cat confdefs.h >>conftest.$ac_ext
43647 cat >>conftest.$ac_ext <<_ACEOF
43648 /* end confdefs.h. */
43649
43650 /* Override any GCC internal prototype to avoid an error.
43651 Use char because int might match the return type of a GCC
43652 builtin and then its argument prototype would still apply. */
43653 #ifdef __cplusplus
43654 extern "C"
43655 #endif
43656 char socket ();
43657 int
43658 main ()
43659 {
43660 return socket ();
43661 ;
43662 return 0;
43663 }
43664 _ACEOF
43665 rm -f conftest.$ac_objext conftest$ac_exeext
43666 if { (ac_try="$ac_link"
43667 case "(($ac_try" in
43668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43669 *) ac_try_echo=$ac_try;;
43670 esac
43671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43672 (eval "$ac_link") 2>conftest.er1
43673 ac_status=$?
43674 grep -v '^ *+' conftest.er1 >conftest.err
43675 rm -f conftest.er1
43676 cat conftest.err >&5
43677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43678 (exit $ac_status); } && {
43679 test -z "$ac_c_werror_flag" ||
43680 test ! -s conftest.err
43681 } && test -s conftest$ac_exeext &&
43682 $as_test_x conftest$ac_exeext; then
43683 ac_cv_lib_socket_socket=yes
43684 else
43685 echo "$as_me: failed program was:" >&5
43686 sed 's/^/| /' conftest.$ac_ext >&5
43687
43688 ac_cv_lib_socket_socket=no
43689 fi
43690
43691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43692 conftest$ac_exeext conftest.$ac_ext
43693 LIBS=$ac_check_lib_save_LIBS
43694 fi
43695 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43696 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43697 if test $ac_cv_lib_socket_socket = yes; then
43698 if test "$INET_LINK" != " -lsocket"; then
43699 INET_LINK="$INET_LINK -lsocket"
43700 fi
43701 else
43702
43703 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43704 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43705 wxUSE_SOCKETS=no
43706
43707
43708 fi
43709
43710
43711
43712 fi
43713
43714 fi
43715 fi
43716
43717 if test "$wxUSE_SOCKETS" = "yes" ; then
43718 if test "$TOOLKIT" != "MSW"; then
43719 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43720 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43721 if test "${wx_cv_type_getsockname3+set}" = set; then
43722 echo $ECHO_N "(cached) $ECHO_C" >&6
43723 else
43724
43725 ac_ext=cpp
43726 ac_cpp='$CXXCPP $CPPFLAGS'
43727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43730
43731 cat >conftest.$ac_ext <<_ACEOF
43732 /* confdefs.h. */
43733 _ACEOF
43734 cat confdefs.h >>conftest.$ac_ext
43735 cat >>conftest.$ac_ext <<_ACEOF
43736 /* end confdefs.h. */
43737
43738 #include <sys/types.h>
43739 #include <sys/socket.h>
43740
43741 int
43742 main ()
43743 {
43744
43745 socklen_t len;
43746 getsockname(0, 0, &len);
43747
43748 ;
43749 return 0;
43750 }
43751 _ACEOF
43752 rm -f conftest.$ac_objext
43753 if { (ac_try="$ac_compile"
43754 case "(($ac_try" in
43755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43756 *) ac_try_echo=$ac_try;;
43757 esac
43758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43759 (eval "$ac_compile") 2>conftest.er1
43760 ac_status=$?
43761 grep -v '^ *+' conftest.er1 >conftest.err
43762 rm -f conftest.er1
43763 cat conftest.err >&5
43764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43765 (exit $ac_status); } && {
43766 test -z "$ac_cxx_werror_flag" ||
43767 test ! -s conftest.err
43768 } && test -s conftest.$ac_objext; then
43769 wx_cv_type_getsockname3=socklen_t
43770 else
43771 echo "$as_me: failed program was:" >&5
43772 sed 's/^/| /' conftest.$ac_ext >&5
43773
43774
43775 CFLAGS_OLD="$CFLAGS"
43776 if test "$GCC" = yes ; then
43777 CFLAGS="-Werror $CFLAGS"
43778 fi
43779
43780 cat >conftest.$ac_ext <<_ACEOF
43781 /* confdefs.h. */
43782 _ACEOF
43783 cat confdefs.h >>conftest.$ac_ext
43784 cat >>conftest.$ac_ext <<_ACEOF
43785 /* end confdefs.h. */
43786
43787 #include <sys/types.h>
43788 #include <sys/socket.h>
43789
43790 int
43791 main ()
43792 {
43793
43794 size_t len;
43795 getsockname(0, 0, &len);
43796
43797 ;
43798 return 0;
43799 }
43800 _ACEOF
43801 rm -f conftest.$ac_objext
43802 if { (ac_try="$ac_compile"
43803 case "(($ac_try" in
43804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43805 *) ac_try_echo=$ac_try;;
43806 esac
43807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43808 (eval "$ac_compile") 2>conftest.er1
43809 ac_status=$?
43810 grep -v '^ *+' conftest.er1 >conftest.err
43811 rm -f conftest.er1
43812 cat conftest.err >&5
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); } && {
43815 test -z "$ac_cxx_werror_flag" ||
43816 test ! -s conftest.err
43817 } && test -s conftest.$ac_objext; then
43818 wx_cv_type_getsockname3=size_t
43819 else
43820 echo "$as_me: failed program was:" >&5
43821 sed 's/^/| /' conftest.$ac_ext >&5
43822
43823 cat >conftest.$ac_ext <<_ACEOF
43824 /* confdefs.h. */
43825 _ACEOF
43826 cat confdefs.h >>conftest.$ac_ext
43827 cat >>conftest.$ac_ext <<_ACEOF
43828 /* end confdefs.h. */
43829
43830 #include <sys/types.h>
43831 #include <sys/socket.h>
43832
43833 int
43834 main ()
43835 {
43836
43837 int len;
43838 getsockname(0, 0, &len);
43839
43840 ;
43841 return 0;
43842 }
43843 _ACEOF
43844 rm -f conftest.$ac_objext
43845 if { (ac_try="$ac_compile"
43846 case "(($ac_try" in
43847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43848 *) ac_try_echo=$ac_try;;
43849 esac
43850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43851 (eval "$ac_compile") 2>conftest.er1
43852 ac_status=$?
43853 grep -v '^ *+' conftest.er1 >conftest.err
43854 rm -f conftest.er1
43855 cat conftest.err >&5
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); } && {
43858 test -z "$ac_cxx_werror_flag" ||
43859 test ! -s conftest.err
43860 } && test -s conftest.$ac_objext; then
43861 wx_cv_type_getsockname3=int
43862 else
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43865
43866 wx_cv_type_getsockname3=unknown
43867
43868 fi
43869
43870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43871
43872 fi
43873
43874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43875
43876 CFLAGS="$CFLAGS_OLD"
43877
43878
43879 fi
43880
43881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43882 ac_ext=c
43883 ac_cpp='$CPP $CPPFLAGS'
43884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43887
43888
43889 fi
43890 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43891 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43892
43893 if test "$wx_cv_type_getsockname3" = "unknown"; then
43894 wxUSE_SOCKETS=no
43895 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43896 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43897 else
43898 cat >>confdefs.h <<_ACEOF
43899 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43900 _ACEOF
43901
43902 fi
43903 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43904 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43905 if test "${wx_cv_type_getsockopt5+set}" = set; then
43906 echo $ECHO_N "(cached) $ECHO_C" >&6
43907 else
43908
43909 ac_ext=cpp
43910 ac_cpp='$CXXCPP $CPPFLAGS'
43911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43914
43915 cat >conftest.$ac_ext <<_ACEOF
43916 /* confdefs.h. */
43917 _ACEOF
43918 cat confdefs.h >>conftest.$ac_ext
43919 cat >>conftest.$ac_ext <<_ACEOF
43920 /* end confdefs.h. */
43921
43922 #include <sys/types.h>
43923 #include <sys/socket.h>
43924
43925 int
43926 main ()
43927 {
43928
43929 socklen_t len;
43930 getsockopt(0, 0, 0, 0, &len);
43931
43932 ;
43933 return 0;
43934 }
43935 _ACEOF
43936 rm -f conftest.$ac_objext
43937 if { (ac_try="$ac_compile"
43938 case "(($ac_try" in
43939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43940 *) ac_try_echo=$ac_try;;
43941 esac
43942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43943 (eval "$ac_compile") 2>conftest.er1
43944 ac_status=$?
43945 grep -v '^ *+' conftest.er1 >conftest.err
43946 rm -f conftest.er1
43947 cat conftest.err >&5
43948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43949 (exit $ac_status); } && {
43950 test -z "$ac_cxx_werror_flag" ||
43951 test ! -s conftest.err
43952 } && test -s conftest.$ac_objext; then
43953 wx_cv_type_getsockopt5=socklen_t
43954 else
43955 echo "$as_me: failed program was:" >&5
43956 sed 's/^/| /' conftest.$ac_ext >&5
43957
43958
43959 cat >conftest.$ac_ext <<_ACEOF
43960 /* confdefs.h. */
43961 _ACEOF
43962 cat confdefs.h >>conftest.$ac_ext
43963 cat >>conftest.$ac_ext <<_ACEOF
43964 /* end confdefs.h. */
43965
43966 #include <sys/types.h>
43967 #include <sys/socket.h>
43968
43969 int
43970 main ()
43971 {
43972
43973 size_t len;
43974 getsockopt(0, 0, 0, 0, &len);
43975
43976 ;
43977 return 0;
43978 }
43979 _ACEOF
43980 rm -f conftest.$ac_objext
43981 if { (ac_try="$ac_compile"
43982 case "(($ac_try" in
43983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43984 *) ac_try_echo=$ac_try;;
43985 esac
43986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43987 (eval "$ac_compile") 2>conftest.er1
43988 ac_status=$?
43989 grep -v '^ *+' conftest.er1 >conftest.err
43990 rm -f conftest.er1
43991 cat conftest.err >&5
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); } && {
43994 test -z "$ac_cxx_werror_flag" ||
43995 test ! -s conftest.err
43996 } && test -s conftest.$ac_objext; then
43997 wx_cv_type_getsockopt5=size_t
43998 else
43999 echo "$as_me: failed program was:" >&5
44000 sed 's/^/| /' conftest.$ac_ext >&5
44001
44002 cat >conftest.$ac_ext <<_ACEOF
44003 /* confdefs.h. */
44004 _ACEOF
44005 cat confdefs.h >>conftest.$ac_ext
44006 cat >>conftest.$ac_ext <<_ACEOF
44007 /* end confdefs.h. */
44008
44009 #include <sys/types.h>
44010 #include <sys/socket.h>
44011
44012 int
44013 main ()
44014 {
44015
44016 int len;
44017 getsockopt(0, 0, 0, 0, &len);
44018
44019 ;
44020 return 0;
44021 }
44022 _ACEOF
44023 rm -f conftest.$ac_objext
44024 if { (ac_try="$ac_compile"
44025 case "(($ac_try" in
44026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44027 *) ac_try_echo=$ac_try;;
44028 esac
44029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44030 (eval "$ac_compile") 2>conftest.er1
44031 ac_status=$?
44032 grep -v '^ *+' conftest.er1 >conftest.err
44033 rm -f conftest.er1
44034 cat conftest.err >&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); } && {
44037 test -z "$ac_cxx_werror_flag" ||
44038 test ! -s conftest.err
44039 } && test -s conftest.$ac_objext; then
44040 wx_cv_type_getsockopt5=int
44041 else
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.$ac_ext >&5
44044
44045 wx_cv_type_getsockopt5=unknown
44046
44047 fi
44048
44049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44050
44051 fi
44052
44053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44054
44055
44056 fi
44057
44058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44059 ac_ext=c
44060 ac_cpp='$CPP $CPPFLAGS'
44061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44064
44065
44066 fi
44067 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44068 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44069
44070 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44071 wxUSE_SOCKETS=no
44072 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44073 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44074 else
44075 cat >>confdefs.h <<_ACEOF
44076 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44077 _ACEOF
44078
44079 fi
44080 fi
44081 fi
44082
44083 if test "$wxUSE_SOCKETS" = "yes" ; then
44084 if test "$wxUSE_IPV6" = "yes"; then
44085 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44086 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44087 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44088 echo $ECHO_N "(cached) $ECHO_C" >&6
44089 else
44090
44091 cat >conftest.$ac_ext <<_ACEOF
44092 /* confdefs.h. */
44093 _ACEOF
44094 cat confdefs.h >>conftest.$ac_ext
44095 cat >>conftest.$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44097
44098 #include <sys/types.h>
44099 #include <sys/socket.h>
44100 #include <netinet/in.h>
44101
44102 int
44103 main ()
44104 {
44105
44106 struct sockaddr_in6 sa6;
44107
44108 ;
44109 return 0;
44110 }
44111 _ACEOF
44112 rm -f conftest.$ac_objext
44113 if { (ac_try="$ac_compile"
44114 case "(($ac_try" in
44115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44116 *) ac_try_echo=$ac_try;;
44117 esac
44118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44119 (eval "$ac_compile") 2>conftest.er1
44120 ac_status=$?
44121 grep -v '^ *+' conftest.er1 >conftest.err
44122 rm -f conftest.er1
44123 cat conftest.err >&5
44124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44125 (exit $ac_status); } && {
44126 test -z "$ac_c_werror_flag" ||
44127 test ! -s conftest.err
44128 } && test -s conftest.$ac_objext; then
44129 wx_cv_type_sockaddr_in6=yes
44130 else
44131 echo "$as_me: failed program was:" >&5
44132 sed 's/^/| /' conftest.$ac_ext >&5
44133
44134 wx_cv_type_sockaddr_in6=no
44135
44136 fi
44137
44138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44139
44140
44141 fi
44142 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44143 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44144
44145 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_IPV6 1
44148 _ACEOF
44149
44150 else
44151 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44152 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44153 fi
44154 fi
44155
44156 cat >>confdefs.h <<\_ACEOF
44157 #define wxUSE_SOCKETS 1
44158 _ACEOF
44159
44160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44161 fi
44162
44163 if test "$wxUSE_PROTOCOL" = "yes"; then
44164 if test "$wxUSE_SOCKETS" != "yes"; then
44165 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44166 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44167 wxUSE_PROTOCOL=no
44168 fi
44169 fi
44170
44171 if test "$wxUSE_PROTOCOL" = "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_PROTOCOL 1
44174 _ACEOF
44175
44176
44177 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_PROTOCOL_HTTP 1
44180 _ACEOF
44181
44182 fi
44183 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44184 cat >>confdefs.h <<\_ACEOF
44185 #define wxUSE_PROTOCOL_FTP 1
44186 _ACEOF
44187
44188 fi
44189 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44190 cat >>confdefs.h <<\_ACEOF
44191 #define wxUSE_PROTOCOL_FILE 1
44192 _ACEOF
44193
44194 fi
44195 else
44196 if test "$wxUSE_FS_INET" = "yes"; then
44197 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44198 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44199 wxUSE_FS_INET="no"
44200 fi
44201 fi
44202
44203 if test "$wxUSE_URL" = "yes"; then
44204 if test "$wxUSE_PROTOCOL" != "yes"; then
44205 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44206 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44207 wxUSE_URL=no
44208 fi
44209 if test "$wxUSE_URL" = "yes"; then
44210 cat >>confdefs.h <<\_ACEOF
44211 #define wxUSE_URL 1
44212 _ACEOF
44213
44214 fi
44215 fi
44216
44217 if test "$wxUSE_VARIANT" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_VARIANT 1
44220 _ACEOF
44221
44222 fi
44223
44224 if test "$wxUSE_FS_INET" = "yes"; then
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_FS_INET 1
44227 _ACEOF
44228
44229 fi
44230
44231
44232 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44233 wxUSE_JOYSTICK=no
44234
44235 if test "$TOOLKIT" = "MSW"; then
44236 wxUSE_JOYSTICK=yes
44237
44238 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44239 if test "$USE_DARWIN" = 1; then
44240 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44241 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44242 ac_ext=cpp
44243 ac_cpp='$CXXCPP $CPPFLAGS'
44244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44247
44248 cat >conftest.$ac_ext <<_ACEOF
44249 /* confdefs.h. */
44250 _ACEOF
44251 cat confdefs.h >>conftest.$ac_ext
44252 cat >>conftest.$ac_ext <<_ACEOF
44253 /* end confdefs.h. */
44254 #include <IOKit/hid/IOHIDLib.h>
44255 int
44256 main ()
44257 {
44258 IOHIDQueueInterface *qi = NULL;
44259 IOHIDCallbackFunction cb = NULL;
44260 qi->setEventCallout(NULL, cb, NULL, NULL);
44261 ;
44262 return 0;
44263 }
44264 _ACEOF
44265 rm -f conftest.$ac_objext
44266 if { (ac_try="$ac_compile"
44267 case "(($ac_try" in
44268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44269 *) ac_try_echo=$ac_try;;
44270 esac
44271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44272 (eval "$ac_compile") 2>conftest.er1
44273 ac_status=$?
44274 grep -v '^ *+' conftest.er1 >conftest.err
44275 rm -f conftest.er1
44276 cat conftest.err >&5
44277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44278 (exit $ac_status); } && {
44279 test -z "$ac_cxx_werror_flag" ||
44280 test ! -s conftest.err
44281 } && test -s conftest.$ac_objext; then
44282 wxUSE_JOYSTICK=yes
44283
44284 else
44285 echo "$as_me: failed program was:" >&5
44286 sed 's/^/| /' conftest.$ac_ext >&5
44287
44288
44289 fi
44290
44291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44292 ac_ext=c
44293 ac_cpp='$CPP $CPPFLAGS'
44294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44297
44298 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44299 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44300 fi
44301
44302 else
44303 if test "$wxUSE_MGL" != 1; then
44304
44305 for ac_header in linux/joystick.h
44306 do
44307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44311 echo $ECHO_N "(cached) $ECHO_C" >&6
44312 else
44313 cat >conftest.$ac_ext <<_ACEOF
44314 /* confdefs.h. */
44315 _ACEOF
44316 cat confdefs.h >>conftest.$ac_ext
44317 cat >>conftest.$ac_ext <<_ACEOF
44318 /* end confdefs.h. */
44319 $ac_includes_default
44320
44321 #include <$ac_header>
44322 _ACEOF
44323 rm -f conftest.$ac_objext
44324 if { (ac_try="$ac_compile"
44325 case "(($ac_try" in
44326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44327 *) ac_try_echo=$ac_try;;
44328 esac
44329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44330 (eval "$ac_compile") 2>conftest.er1
44331 ac_status=$?
44332 grep -v '^ *+' conftest.er1 >conftest.err
44333 rm -f conftest.er1
44334 cat conftest.err >&5
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); } && {
44337 test -z "$ac_c_werror_flag" ||
44338 test ! -s conftest.err
44339 } && test -s conftest.$ac_objext; then
44340 eval "$as_ac_Header=yes"
44341 else
44342 echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.$ac_ext >&5
44344
44345 eval "$as_ac_Header=no"
44346 fi
44347
44348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44349 fi
44350 ac_res=`eval echo '${'$as_ac_Header'}'`
44351 { echo "$as_me:$LINENO: result: $ac_res" >&5
44352 echo "${ECHO_T}$ac_res" >&6; }
44353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44354 cat >>confdefs.h <<_ACEOF
44355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44356 _ACEOF
44357 wxUSE_JOYSTICK=yes
44358 fi
44359
44360 done
44361
44362 fi
44363 fi
44364
44365 if test "$wxUSE_JOYSTICK" = "yes"; then
44366 cat >>confdefs.h <<\_ACEOF
44367 #define wxUSE_JOYSTICK 1
44368 _ACEOF
44369
44370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44371 else
44372 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44373 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44374 fi
44375 fi
44376
44377
44378
44379 if test "$wxUSE_FONTENUM" = "yes" ; then
44380 cat >>confdefs.h <<\_ACEOF
44381 #define wxUSE_FONTENUM 1
44382 _ACEOF
44383
44384 fi
44385
44386 if test "$wxUSE_FONTMAP" = "yes" ; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_FONTMAP 1
44389 _ACEOF
44390
44391 fi
44392
44393 if test "$wxUSE_UNICODE" = "yes" ; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define wxUSE_UNICODE 1
44396 _ACEOF
44397
44398
44399 if test "$USE_WIN32" != 1; then
44400 wxUSE_UNICODE_MSLU=no
44401 fi
44402
44403 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44404 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44405 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44406 if test "${ac_cv_lib_unicows_main+set}" = set; then
44407 echo $ECHO_N "(cached) $ECHO_C" >&6
44408 else
44409 ac_check_lib_save_LIBS=$LIBS
44410 LIBS="-lunicows $LIBS"
44411 cat >conftest.$ac_ext <<_ACEOF
44412 /* confdefs.h. */
44413 _ACEOF
44414 cat confdefs.h >>conftest.$ac_ext
44415 cat >>conftest.$ac_ext <<_ACEOF
44416 /* end confdefs.h. */
44417
44418
44419 int
44420 main ()
44421 {
44422 return main ();
44423 ;
44424 return 0;
44425 }
44426 _ACEOF
44427 rm -f conftest.$ac_objext conftest$ac_exeext
44428 if { (ac_try="$ac_link"
44429 case "(($ac_try" in
44430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44431 *) ac_try_echo=$ac_try;;
44432 esac
44433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44434 (eval "$ac_link") 2>conftest.er1
44435 ac_status=$?
44436 grep -v '^ *+' conftest.er1 >conftest.err
44437 rm -f conftest.er1
44438 cat conftest.err >&5
44439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44440 (exit $ac_status); } && {
44441 test -z "$ac_c_werror_flag" ||
44442 test ! -s conftest.err
44443 } && test -s conftest$ac_exeext &&
44444 $as_test_x conftest$ac_exeext; then
44445 ac_cv_lib_unicows_main=yes
44446 else
44447 echo "$as_me: failed program was:" >&5
44448 sed 's/^/| /' conftest.$ac_ext >&5
44449
44450 ac_cv_lib_unicows_main=no
44451 fi
44452
44453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44454 conftest$ac_exeext conftest.$ac_ext
44455 LIBS=$ac_check_lib_save_LIBS
44456 fi
44457 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44458 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44459 if test $ac_cv_lib_unicows_main = yes; then
44460
44461 cat >>confdefs.h <<\_ACEOF
44462 #define wxUSE_UNICODE_MSLU 1
44463 _ACEOF
44464
44465
44466 else
44467
44468 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44469 Applications will only run on Windows NT/2000/XP!" >&5
44470 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44471 Applications will only run on Windows NT/2000/XP!" >&2;}
44472 wxUSE_UNICODE_MSLU=no
44473
44474 fi
44475
44476 fi
44477 fi
44478
44479 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44480 cat >>confdefs.h <<\_ACEOF
44481 #define wxUSE_UNICODE_UTF8 1
44482 _ACEOF
44483
44484
44485 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44486 cat >>confdefs.h <<\_ACEOF
44487 #define wxUSE_UTF8_LOCALE_ONLY 1
44488 _ACEOF
44489
44490 fi
44491 fi
44492
44493
44494 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44495 cat >>confdefs.h <<\_ACEOF
44496 #define wxUSE_CONSTRAINTS 1
44497 _ACEOF
44498
44499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44500 fi
44501
44502 if test "$wxUSE_MDI" = "yes"; then
44503 cat >>confdefs.h <<\_ACEOF
44504 #define wxUSE_MDI 1
44505 _ACEOF
44506
44507
44508 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44509 cat >>confdefs.h <<\_ACEOF
44510 #define wxUSE_MDI_ARCHITECTURE 1
44511 _ACEOF
44512
44513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44514 fi
44515 fi
44516
44517 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44520 _ACEOF
44521
44522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44523 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44525 fi
44526 fi
44527
44528 if test "$wxUSE_HELP" = "yes"; then
44529 cat >>confdefs.h <<\_ACEOF
44530 #define wxUSE_HELP 1
44531 _ACEOF
44532
44533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44534
44535 if test "$wxUSE_MSW" = 1; then
44536 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44537 cat >>confdefs.h <<\_ACEOF
44538 #define wxUSE_MS_HTML_HELP 1
44539 _ACEOF
44540
44541 fi
44542 fi
44543
44544 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44545 if test "$wxUSE_HTML" = "yes"; then
44546 cat >>confdefs.h <<\_ACEOF
44547 #define wxUSE_WXHTML_HELP 1
44548 _ACEOF
44549
44550 else
44551 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44552 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44553 wxUSE_WXHTML_HELP=no
44554 fi
44555 fi
44556 fi
44557
44558 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44559 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44560 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44561 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44562 else
44563 cat >>confdefs.h <<\_ACEOF
44564 #define wxUSE_PRINTING_ARCHITECTURE 1
44565 _ACEOF
44566
44567 fi
44568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44569 fi
44570
44571 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_POSTSCRIPT 1
44574 _ACEOF
44575
44576 fi
44577
44578 cat >>confdefs.h <<\_ACEOF
44579 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44580 _ACEOF
44581
44582
44583 if test "$wxUSE_SVG" = "yes"; then
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_SVG 1
44586 _ACEOF
44587
44588 fi
44589
44590
44591 if test "$wxUSE_METAFILE" = "yes"; then
44592 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44593 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44594 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44595 wxUSE_METAFILE=no
44596 fi
44597 fi
44598
44599
44600 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44601 -o "$wxUSE_CLIPBOARD" = "yes" \
44602 -o "$wxUSE_OLE" = "yes" \
44603 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44604 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44605 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44606 if test "${ac_cv_header_ole2_h+set}" = set; then
44607 echo $ECHO_N "(cached) $ECHO_C" >&6
44608 else
44609 cat >conftest.$ac_ext <<_ACEOF
44610 /* confdefs.h. */
44611 _ACEOF
44612 cat confdefs.h >>conftest.$ac_ext
44613 cat >>conftest.$ac_ext <<_ACEOF
44614 /* end confdefs.h. */
44615
44616
44617 #include <ole2.h>
44618 _ACEOF
44619 rm -f conftest.$ac_objext
44620 if { (ac_try="$ac_compile"
44621 case "(($ac_try" in
44622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44623 *) ac_try_echo=$ac_try;;
44624 esac
44625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44626 (eval "$ac_compile") 2>conftest.er1
44627 ac_status=$?
44628 grep -v '^ *+' conftest.er1 >conftest.err
44629 rm -f conftest.er1
44630 cat conftest.err >&5
44631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632 (exit $ac_status); } && {
44633 test -z "$ac_c_werror_flag" ||
44634 test ! -s conftest.err
44635 } && test -s conftest.$ac_objext; then
44636 ac_cv_header_ole2_h=yes
44637 else
44638 echo "$as_me: failed program was:" >&5
44639 sed 's/^/| /' conftest.$ac_ext >&5
44640
44641 ac_cv_header_ole2_h=no
44642 fi
44643
44644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44645 fi
44646 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44647 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44648
44649
44650
44651 if test "$ac_cv_header_ole2_h" = "yes" ; then
44652 if test "$GCC" = yes ; then
44653 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44654 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44655 cat >conftest.$ac_ext <<_ACEOF
44656 /* confdefs.h. */
44657 _ACEOF
44658 cat confdefs.h >>conftest.$ac_ext
44659 cat >>conftest.$ac_ext <<_ACEOF
44660 /* end confdefs.h. */
44661 #include <windows.h>
44662 #include <ole2.h>
44663 int
44664 main ()
44665 {
44666
44667 ;
44668 return 0;
44669 }
44670 _ACEOF
44671 rm -f conftest.$ac_objext
44672 if { (ac_try="$ac_compile"
44673 case "(($ac_try" in
44674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44675 *) ac_try_echo=$ac_try;;
44676 esac
44677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44678 (eval "$ac_compile") 2>conftest.er1
44679 ac_status=$?
44680 grep -v '^ *+' conftest.er1 >conftest.err
44681 rm -f conftest.er1
44682 cat conftest.err >&5
44683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684 (exit $ac_status); } && {
44685 test -z "$ac_c_werror_flag" ||
44686 test ! -s conftest.err
44687 } && test -s conftest.$ac_objext; then
44688 { echo "$as_me:$LINENO: result: no" >&5
44689 echo "${ECHO_T}no" >&6; }
44690 else
44691 echo "$as_me: failed program was:" >&5
44692 sed 's/^/| /' conftest.$ac_ext >&5
44693
44694 { echo "$as_me:$LINENO: result: yes" >&5
44695 echo "${ECHO_T}yes" >&6; }
44696 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44697 fi
44698
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44701 if test "$wxUSE_OLE" = "yes" ; then
44702 cat >>confdefs.h <<\_ACEOF
44703 #define wxUSE_OLE 1
44704 _ACEOF
44705
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_OLE_AUTOMATION 1
44708 _ACEOF
44709
44710 cat >>confdefs.h <<\_ACEOF
44711 #define wxUSE_ACTIVEX 1
44712 _ACEOF
44713
44714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44715 fi
44716 fi
44717
44718 if test "$wxUSE_DATAOBJ" = "yes" ; then
44719 cat >>confdefs.h <<\_ACEOF
44720 #define wxUSE_DATAOBJ 1
44721 _ACEOF
44722
44723 fi
44724 else
44725 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44726 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44727
44728 wxUSE_CLIPBOARD=no
44729 wxUSE_DRAG_AND_DROP=no
44730 wxUSE_DATAOBJ=no
44731 wxUSE_OLE=no
44732 fi
44733
44734 if test "$wxUSE_METAFILE" = "yes"; then
44735 cat >>confdefs.h <<\_ACEOF
44736 #define wxUSE_METAFILE 1
44737 _ACEOF
44738
44739
44740 cat >>confdefs.h <<\_ACEOF
44741 #define wxUSE_ENH_METAFILE 1
44742 _ACEOF
44743
44744 fi
44745 fi
44746
44747 if test "$wxUSE_IPC" = "yes"; then
44748 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44749 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44750 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44751 wxUSE_IPC=no
44752 fi
44753
44754 if test "$wxUSE_IPC" = "yes"; then
44755 cat >>confdefs.h <<\_ACEOF
44756 #define wxUSE_IPC 1
44757 _ACEOF
44758
44759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44760 fi
44761 fi
44762
44763 if test "$wxUSE_DATAOBJ" = "yes"; then
44764 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44765 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44766 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44767 wxUSE_DATAOBJ=no
44768 else
44769 cat >>confdefs.h <<\_ACEOF
44770 #define wxUSE_DATAOBJ 1
44771 _ACEOF
44772
44773 fi
44774 else
44775 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44776 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44777 wxUSE_CLIPBOARD=no
44778 wxUSE_DRAG_AND_DROP=no
44779 fi
44780
44781 if test "$wxUSE_CLIPBOARD" = "yes"; then
44782 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44783 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44784 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44785 wxUSE_CLIPBOARD=no
44786 fi
44787
44788 if test "$wxUSE_CLIPBOARD" = "yes"; then
44789 cat >>confdefs.h <<\_ACEOF
44790 #define wxUSE_CLIPBOARD 1
44791 _ACEOF
44792
44793 fi
44794 fi
44795
44796 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44797 if test "$wxUSE_GTK" = 1; then
44798 if test "$WXGTK12" != 1; then
44799 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44800 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44801 wxUSE_DRAG_AND_DROP=no
44802 fi
44803 fi
44804
44805 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44806 "$wxUSE_DFB" = 1; then
44807 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44808 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44809 wxUSE_DRAG_AND_DROP=no
44810 fi
44811
44812 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_DRAG_AND_DROP 1
44815 _ACEOF
44816
44817 fi
44818
44819 fi
44820
44821 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44823 fi
44824
44825 if test "$wxUSE_SPLINES" = "yes" ; then
44826 cat >>confdefs.h <<\_ACEOF
44827 #define wxUSE_SPLINES 1
44828 _ACEOF
44829
44830 fi
44831
44832 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44833 cat >>confdefs.h <<\_ACEOF
44834 #define wxUSE_MOUSEWHEEL 1
44835 _ACEOF
44836
44837 fi
44838
44839
44840 USES_CONTROLS=0
44841 if test "$wxUSE_CONTROLS" = "yes"; then
44842 USES_CONTROLS=1
44843 fi
44844
44845 if test "$wxUSE_ACCEL" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_ACCEL 1
44848 _ACEOF
44849
44850 USES_CONTROLS=1
44851 fi
44852
44853 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44854 cat >>confdefs.h <<\_ACEOF
44855 #define wxUSE_ANIMATIONCTRL 1
44856 _ACEOF
44857
44858 USES_CONTROLS=1
44859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44860 fi
44861
44862 if test "$wxUSE_BUTTON" = "yes"; then
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_BUTTON 1
44865 _ACEOF
44866
44867 USES_CONTROLS=1
44868 fi
44869
44870 if test "$wxUSE_BMPBUTTON" = "yes"; then
44871 cat >>confdefs.h <<\_ACEOF
44872 #define wxUSE_BMPBUTTON 1
44873 _ACEOF
44874
44875 USES_CONTROLS=1
44876 fi
44877
44878 if test "$wxUSE_CALCTRL" = "yes"; then
44879 cat >>confdefs.h <<\_ACEOF
44880 #define wxUSE_CALENDARCTRL 1
44881 _ACEOF
44882
44883 USES_CONTROLS=1
44884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44885 fi
44886
44887 if test "$wxUSE_CARET" = "yes"; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_CARET 1
44890 _ACEOF
44891
44892 USES_CONTROLS=1
44893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44894 fi
44895
44896 if test "$wxUSE_COLLPANE" = "yes"; then
44897 cat >>confdefs.h <<\_ACEOF
44898 #define wxUSE_COLLPANE 1
44899 _ACEOF
44900
44901 USES_CONTROLS=1
44902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44903 fi
44904
44905 if test "$wxUSE_COMBOBOX" = "yes"; then
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_COMBOBOX 1
44908 _ACEOF
44909
44910 USES_CONTROLS=1
44911 fi
44912
44913 if test "$wxUSE_COMBOCTRL" = "yes"; then
44914 cat >>confdefs.h <<\_ACEOF
44915 #define wxUSE_COMBOCTRL 1
44916 _ACEOF
44917
44918 USES_CONTROLS=1
44919 fi
44920
44921 if test "$wxUSE_CHOICE" = "yes"; then
44922 cat >>confdefs.h <<\_ACEOF
44923 #define wxUSE_CHOICE 1
44924 _ACEOF
44925
44926 USES_CONTROLS=1
44927 fi
44928
44929 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44930 cat >>confdefs.h <<\_ACEOF
44931 #define wxUSE_CHOICEBOOK 1
44932 _ACEOF
44933
44934 USES_CONTROLS=1
44935 fi
44936
44937 if test "$wxUSE_CHECKBOX" = "yes"; then
44938 cat >>confdefs.h <<\_ACEOF
44939 #define wxUSE_CHECKBOX 1
44940 _ACEOF
44941
44942 USES_CONTROLS=1
44943 fi
44944
44945 if test "$wxUSE_CHECKLST" = "yes"; then
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_CHECKLISTBOX 1
44948 _ACEOF
44949
44950 USES_CONTROLS=1
44951 fi
44952
44953 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44954 cat >>confdefs.h <<\_ACEOF
44955 #define wxUSE_COLOURPICKERCTRL 1
44956 _ACEOF
44957
44958 USES_CONTROLS=1
44959 fi
44960
44961 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44962 cat >>confdefs.h <<\_ACEOF
44963 #define wxUSE_DATEPICKCTRL 1
44964 _ACEOF
44965
44966 USES_CONTROLS=1
44967 fi
44968
44969 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44970 cat >>confdefs.h <<\_ACEOF
44971 #define wxUSE_DIRPICKERCTRL 1
44972 _ACEOF
44973
44974 USES_CONTROLS=1
44975 fi
44976
44977 if test "$wxUSE_FILECTRL" = "yes"; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define wxUSE_FILECTRL 1
44980 _ACEOF
44981
44982 USES_CONTROLS=1
44983 fi
44984
44985 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44986 cat >>confdefs.h <<\_ACEOF
44987 #define wxUSE_FILEPICKERCTRL 1
44988 _ACEOF
44989
44990 USES_CONTROLS=1
44991 fi
44992
44993 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44994 cat >>confdefs.h <<\_ACEOF
44995 #define wxUSE_FONTPICKERCTRL 1
44996 _ACEOF
44997
44998 USES_CONTROLS=1
44999 fi
45000
45001 if test "$wxUSE_DISPLAY" = "yes"; then
45002 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45003 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45004 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45005 wxUSE_DISPLAY=no
45006 else
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_DISPLAY 1
45009 _ACEOF
45010
45011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45012 fi
45013 fi
45014
45015 if test "$wxUSE_DETECT_SM" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_DETECT_SM 1
45018 _ACEOF
45019
45020 fi
45021
45022 if test "$wxUSE_GAUGE" = "yes"; then
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_GAUGE 1
45025 _ACEOF
45026
45027 USES_CONTROLS=1
45028 fi
45029
45030 if test "$wxUSE_GRID" = "yes"; then
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_GRID 1
45033 _ACEOF
45034
45035 USES_CONTROLS=1
45036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45037 fi
45038
45039 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_HYPERLINKCTRL 1
45042 _ACEOF
45043
45044 USES_CONTROLS=1
45045 fi
45046
45047 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_BITMAPCOMBOBOX 1
45050 _ACEOF
45051
45052 USES_CONTROLS=1
45053 fi
45054
45055 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_DATAVIEWCTRL 1
45058 _ACEOF
45059
45060 USES_CONTROLS=1
45061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45062 fi
45063
45064 if test "$wxUSE_IMAGLIST" = "yes"; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_IMAGLIST 1
45067 _ACEOF
45068
45069 fi
45070
45071 if test "$wxUSE_LISTBOOK" = "yes"; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_LISTBOOK 1
45074 _ACEOF
45075
45076 USES_CONTROLS=1
45077 fi
45078
45079 if test "$wxUSE_LISTBOX" = "yes"; then
45080 cat >>confdefs.h <<\_ACEOF
45081 #define wxUSE_LISTBOX 1
45082 _ACEOF
45083
45084 USES_CONTROLS=1
45085 fi
45086
45087 if test "$wxUSE_LISTCTRL" = "yes"; then
45088 if test "$wxUSE_IMAGLIST" = "yes"; then
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_LISTCTRL 1
45091 _ACEOF
45092
45093 USES_CONTROLS=1
45094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45095 else
45096 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45097 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45098 fi
45099 fi
45100
45101 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_EDITABLELISTBOX 1
45104 _ACEOF
45105
45106 USES_CONTROLS=1
45107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45108 fi
45109
45110 if test "$wxUSE_NOTEBOOK" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_NOTEBOOK 1
45113 _ACEOF
45114
45115 USES_CONTROLS=1
45116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45117 fi
45118
45119 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_NOTIFICATION_MESSAGE 1
45122 _ACEOF
45123
45124 fi
45125
45126 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_ODCOMBOBOX 1
45129 _ACEOF
45130
45131 USES_CONTROLS=1
45132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45133 fi
45134
45135 if test "$wxUSE_RADIOBOX" = "yes"; then
45136 cat >>confdefs.h <<\_ACEOF
45137 #define wxUSE_RADIOBOX 1
45138 _ACEOF
45139
45140 USES_CONTROLS=1
45141 fi
45142
45143 if test "$wxUSE_RADIOBTN" = "yes"; then
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_RADIOBTN 1
45146 _ACEOF
45147
45148 USES_CONTROLS=1
45149 fi
45150
45151 if test "$wxUSE_SASH" = "yes"; then
45152 cat >>confdefs.h <<\_ACEOF
45153 #define wxUSE_SASH 1
45154 _ACEOF
45155
45156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45157 fi
45158
45159 if test "$wxUSE_SCROLLBAR" = "yes"; then
45160 cat >>confdefs.h <<\_ACEOF
45161 #define wxUSE_SCROLLBAR 1
45162 _ACEOF
45163
45164 USES_CONTROLS=1
45165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45166 fi
45167
45168 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_SEARCHCTRL 1
45171 _ACEOF
45172
45173 USES_CONTROLS=1
45174 fi
45175
45176 if test "$wxUSE_SLIDER" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_SLIDER 1
45179 _ACEOF
45180
45181 USES_CONTROLS=1
45182 fi
45183
45184 if test "$wxUSE_SPINBTN" = "yes"; then
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_SPINBTN 1
45187 _ACEOF
45188
45189 USES_CONTROLS=1
45190 fi
45191
45192 if test "$wxUSE_SPINCTRL" = "yes"; then
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_SPINCTRL 1
45195 _ACEOF
45196
45197 USES_CONTROLS=1
45198 fi
45199
45200 if test "$wxUSE_SPLITTER" = "yes"; then
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_SPLITTER 1
45203 _ACEOF
45204
45205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45206 fi
45207
45208 if test "$wxUSE_STATBMP" = "yes"; then
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_STATBMP 1
45211 _ACEOF
45212
45213 USES_CONTROLS=1
45214 fi
45215
45216 if test "$wxUSE_STATBOX" = "yes"; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_STATBOX 1
45219 _ACEOF
45220
45221 USES_CONTROLS=1
45222 fi
45223
45224 if test "$wxUSE_STATTEXT" = "yes"; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_STATTEXT 1
45227 _ACEOF
45228
45229 USES_CONTROLS=1
45230 fi
45231
45232 if test "$wxUSE_STATLINE" = "yes"; then
45233 cat >>confdefs.h <<\_ACEOF
45234 #define wxUSE_STATLINE 1
45235 _ACEOF
45236
45237 USES_CONTROLS=1
45238 fi
45239
45240 if test "$wxUSE_STATUSBAR" = "yes"; then
45241 cat >>confdefs.h <<\_ACEOF
45242 #define wxUSE_NATIVE_STATUSBAR 1
45243 _ACEOF
45244
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_STATUSBAR 1
45247 _ACEOF
45248
45249 USES_CONTROLS=1
45250
45251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45252 fi
45253
45254 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_TAB_DIALOG 1
45257 _ACEOF
45258
45259 fi
45260
45261 if test "$wxUSE_TEXTCTRL" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_TEXTCTRL 1
45264 _ACEOF
45265
45266 USES_CONTROLS=1
45267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45268 fi
45269
45270 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45271 if test "$wxUSE_COCOA" = 1 ; then
45272 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45273 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45274 wxUSE_TOGGLEBTN=no
45275 fi
45276
45277 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define wxUSE_TOGGLEBTN 1
45280 _ACEOF
45281
45282 USES_CONTROLS=1
45283 fi
45284 fi
45285
45286 if test "$wxUSE_TOOLBAR" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_TOOLBAR 1
45289 _ACEOF
45290
45291 USES_CONTROLS=1
45292
45293 if test "$wxUSE_UNIVERSAL" = "yes"; then
45294 wxUSE_TOOLBAR_NATIVE="no"
45295 else
45296 wxUSE_TOOLBAR_NATIVE="yes"
45297 cat >>confdefs.h <<\_ACEOF
45298 #define wxUSE_TOOLBAR_NATIVE 1
45299 _ACEOF
45300
45301 fi
45302
45303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45304 fi
45305
45306 if test "$wxUSE_TOOLTIPS" = "yes"; then
45307 if test "$wxUSE_MOTIF" = 1; then
45308 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45309 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45310 else
45311 if test "$wxUSE_UNIVERSAL" = "yes"; then
45312 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45313 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45314 else
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_TOOLTIPS 1
45317 _ACEOF
45318
45319 fi
45320 fi
45321 fi
45322
45323 if test "$wxUSE_TREEBOOK" = "yes"; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_TREEBOOK 1
45326 _ACEOF
45327
45328 USES_CONTROLS=1
45329 fi
45330
45331 if test "$wxUSE_TOOLBOOK" = "yes"; then
45332 cat >>confdefs.h <<\_ACEOF
45333 #define wxUSE_TOOLBOOK 1
45334 _ACEOF
45335
45336 USES_CONTROLS=1
45337 fi
45338
45339 if test "$wxUSE_TREECTRL" = "yes"; then
45340 if test "$wxUSE_IMAGLIST" = "yes"; then
45341 cat >>confdefs.h <<\_ACEOF
45342 #define wxUSE_TREECTRL 1
45343 _ACEOF
45344
45345 USES_CONTROLS=1
45346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45347 else
45348 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45349 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45350 fi
45351 fi
45352
45353 if test "$wxUSE_POPUPWIN" = "yes"; then
45354 if test "$wxUSE_COCOA" = 1 ; then
45355 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45356 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45357 else
45358 if test "$wxUSE_PM" = 1; then
45359 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45360 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45361 else
45362 cat >>confdefs.h <<\_ACEOF
45363 #define wxUSE_POPUPWIN 1
45364 _ACEOF
45365
45366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45367
45368 USES_CONTROLS=1
45369 fi
45370 fi
45371 fi
45372
45373 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45374 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45375 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45376 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45377 else
45378 cat >>confdefs.h <<\_ACEOF
45379 #define wxUSE_DIALUP_MANAGER 1
45380 _ACEOF
45381
45382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45383 fi
45384 fi
45385
45386 if test "$wxUSE_TIPWINDOW" = "yes"; then
45387 if test "$wxUSE_PM" = 1; then
45388 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45389 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45390 else
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_TIPWINDOW 1
45393 _ACEOF
45394
45395 fi
45396 fi
45397
45398 if test "$USES_CONTROLS" = 1; then
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_CONTROLS 1
45401 _ACEOF
45402
45403 fi
45404
45405
45406 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_ACCESSIBILITY 1
45409 _ACEOF
45410
45411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45412 fi
45413
45414 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_DRAGIMAGE 1
45417 _ACEOF
45418
45419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45420 fi
45421
45422 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45423 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45424 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45425 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45426 else
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_EXCEPTIONS 1
45429 _ACEOF
45430
45431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45432 fi
45433 fi
45434
45435 USE_HTML=0
45436 if test "$wxUSE_HTML" = "yes"; then
45437 cat >>confdefs.h <<\_ACEOF
45438 #define wxUSE_HTML 1
45439 _ACEOF
45440
45441 USE_HTML=1
45442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45443 if test "$wxUSE_MAC" = 1; then
45444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45445 fi
45446 fi
45447 if test "$wxUSE_WEBKIT" = "yes"; then
45448 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45449 old_CPPFLAGS="$CPPFLAGS"
45450 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45451 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45452 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45453 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45454 echo $ECHO_N "(cached) $ECHO_C" >&6
45455 else
45456 cat >conftest.$ac_ext <<_ACEOF
45457 /* confdefs.h. */
45458 _ACEOF
45459 cat confdefs.h >>conftest.$ac_ext
45460 cat >>conftest.$ac_ext <<_ACEOF
45461 /* end confdefs.h. */
45462
45463 #include <Carbon/Carbon.h>
45464 #include <WebKit/WebKit.h>
45465
45466
45467 #include <WebKit/HIWebView.h>
45468 _ACEOF
45469 rm -f conftest.$ac_objext
45470 if { (ac_try="$ac_compile"
45471 case "(($ac_try" in
45472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45473 *) ac_try_echo=$ac_try;;
45474 esac
45475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45476 (eval "$ac_compile") 2>conftest.er1
45477 ac_status=$?
45478 grep -v '^ *+' conftest.er1 >conftest.err
45479 rm -f conftest.er1
45480 cat conftest.err >&5
45481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45482 (exit $ac_status); } && {
45483 test -z "$ac_c_werror_flag" ||
45484 test ! -s conftest.err
45485 } && test -s conftest.$ac_objext; then
45486 ac_cv_header_WebKit_HIWebView_h=yes
45487 else
45488 echo "$as_me: failed program was:" >&5
45489 sed 's/^/| /' conftest.$ac_ext >&5
45490
45491 ac_cv_header_WebKit_HIWebView_h=no
45492 fi
45493
45494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45495 fi
45496 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45497 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45498 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45499
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_WEBKIT 1
45502 _ACEOF
45503
45504 WEBKIT_LINK="-framework WebKit"
45505
45506 else
45507
45508 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45509 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45510 wxUSE_WEBKIT=no
45511
45512 fi
45513
45514
45515 CPPFLAGS="$old_CPPFLAGS"
45516 elif test "$wxUSE_COCOA" = 1; then
45517 cat >>confdefs.h <<\_ACEOF
45518 #define wxUSE_WEBKIT 1
45519 _ACEOF
45520
45521 else
45522 wxUSE_WEBKIT=no
45523 fi
45524 fi
45525
45526 USE_XRC=0
45527 if test "$wxUSE_XRC" = "yes"; then
45528 if test "$wxUSE_XML" != "yes"; then
45529 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45530 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45531 wxUSE_XRC=no
45532 else
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_XRC 1
45535 _ACEOF
45536
45537 USE_XRC=1
45538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45539 fi
45540 fi
45541
45542 USE_AUI=0
45543 if test "$wxUSE_AUI" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_AUI 1
45546 _ACEOF
45547
45548 USE_AUI=1
45549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45550 fi
45551
45552 USE_STC=0
45553 if test "$wxUSE_STC" = "yes"; then
45554 cat >>confdefs.h <<\_ACEOF
45555 #define wxUSE_STC 1
45556 _ACEOF
45557
45558 USE_STC=1
45559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45560 fi
45561
45562 if test "$wxUSE_MENUS" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_MENUS 1
45565 _ACEOF
45566
45567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45568 fi
45569
45570 if test "$wxUSE_METAFILE" = "yes"; then
45571 cat >>confdefs.h <<\_ACEOF
45572 #define wxUSE_METAFILE 1
45573 _ACEOF
45574
45575 fi
45576
45577 if test "$wxUSE_MIMETYPE" = "yes"; then
45578 cat >>confdefs.h <<\_ACEOF
45579 #define wxUSE_MIMETYPE 1
45580 _ACEOF
45581
45582 fi
45583
45584 if test "$wxUSE_MINIFRAME" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_MINIFRAME 1
45587 _ACEOF
45588
45589 fi
45590
45591 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_SYSTEM_OPTIONS 1
45594 _ACEOF
45595
45596 fi
45597
45598 if test "$wxUSE_TASKBARICON" = "yes"; then
45599 cat >>confdefs.h <<\_ACEOF
45600 #define wxUSE_TASKBARICON 1
45601 _ACEOF
45602
45603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45604 fi
45605
45606
45607 if test "$wxUSE_VALIDATORS" = "yes"; then
45608 cat >>confdefs.h <<\_ACEOF
45609 #define wxUSE_VALIDATORS 1
45610 _ACEOF
45611
45612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45613 fi
45614
45615 if test "$wxUSE_PALETTE" = "yes" ; then
45616 if test "$wxUSE_DFB" = 1; then
45617 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45618 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45619 wxUSE_PALETTE=no
45620 else
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_PALETTE 1
45623 _ACEOF
45624
45625 fi
45626 fi
45627
45628 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45629 LIBS=" -lunicows $LIBS"
45630 fi
45631
45632 USE_RICHTEXT=0
45633 if test "$wxUSE_RICHTEXT" = "yes"; then
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_RICHTEXT 1
45636 _ACEOF
45637
45638 USE_RICHTEXT=1
45639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45640 fi
45641
45642
45643 if test "$wxUSE_IMAGE" = "yes" ; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_IMAGE 1
45646 _ACEOF
45647
45648
45649 if test "$wxUSE_GIF" = "yes" ; then
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_GIF 1
45652 _ACEOF
45653
45654 fi
45655
45656 if test "$wxUSE_PCX" = "yes" ; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_PCX 1
45659 _ACEOF
45660
45661 fi
45662
45663 if test "$wxUSE_TGA" = "yes" ; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_TGA 1
45666 _ACEOF
45667
45668 fi
45669
45670 if test "$wxUSE_IFF" = "yes" ; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_IFF 1
45673 _ACEOF
45674
45675 fi
45676
45677 if test "$wxUSE_PNM" = "yes" ; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_PNM 1
45680 _ACEOF
45681
45682 fi
45683
45684 if test "$wxUSE_XPM" = "yes" ; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_XPM 1
45687 _ACEOF
45688
45689 fi
45690
45691 if test "$wxUSE_ICO_CUR" = "yes" ; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_ICO_CUR 1
45694 _ACEOF
45695
45696 fi
45697 fi
45698
45699
45700 if test "$wxUSE_ABOUTDLG" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_ABOUTDLG 1
45703 _ACEOF
45704
45705 fi
45706
45707 if test "$wxUSE_CHOICEDLG" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_CHOICEDLG 1
45710 _ACEOF
45711
45712 fi
45713
45714 if test "$wxUSE_COLOURDLG" = "yes"; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_COLOURDLG 1
45717 _ACEOF
45718
45719 fi
45720
45721 if test "$wxUSE_FILEDLG" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_FILEDLG 1
45724 _ACEOF
45725
45726 fi
45727
45728 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_FINDREPLDLG 1
45731 _ACEOF
45732
45733 fi
45734
45735 if test "$wxUSE_FONTDLG" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_FONTDLG 1
45738 _ACEOF
45739
45740 fi
45741
45742 if test "$wxUSE_DIRDLG" = "yes"; then
45743 if test "$wxUSE_TREECTRL" != "yes"; then
45744 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45745 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45746 else
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_DIRDLG 1
45749 _ACEOF
45750
45751 fi
45752 fi
45753
45754 if test "$wxUSE_MSGDLG" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_MSGDLG 1
45757 _ACEOF
45758
45759 fi
45760
45761 if test "$wxUSE_NUMBERDLG" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_NUMBERDLG 1
45764 _ACEOF
45765
45766 fi
45767
45768 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45769 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45770 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45771 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45772 else
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_PROGRESSDLG 1
45775 _ACEOF
45776
45777 fi
45778 fi
45779
45780 if test "$wxUSE_SPLASH" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_SPLASH 1
45783 _ACEOF
45784
45785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45786 fi
45787
45788 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45789 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45790 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45791 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45792 else
45793 cat >>confdefs.h <<\_ACEOF
45794 #define wxUSE_STARTUP_TIPS 1
45795 _ACEOF
45796
45797 fi
45798 fi
45799
45800 if test "$wxUSE_TEXTDLG" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_TEXTDLG 1
45803 _ACEOF
45804
45805 fi
45806
45807 if test "$wxUSE_WIZARDDLG" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_WIZARDDLG 1
45810 _ACEOF
45811
45812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45813 fi
45814
45815
45816 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45817 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_OWNER_DRAWN 1
45820 _ACEOF
45821
45822 fi
45823 fi
45824
45825
45826 if test "$wxUSE_MSW" = 1 ; then
45827
45828 if test "$wxUSE_DC_CACHEING" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_DC_CACHEING 1
45831 _ACEOF
45832
45833 fi
45834
45835 if test "$wxUSE_DIB" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_WXDIB 1
45838 _ACEOF
45839
45840 fi
45841
45842 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45845 _ACEOF
45846
45847 fi
45848
45849 if test "$wxUSE_UXTHEME" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_UXTHEME 1
45852 _ACEOF
45853
45854 fi
45855
45856 fi
45857
45858
45859 if test "$USE_WIN32" = 1 ; then
45860 if test "$wxUSE_INICONF" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_INICONF 1
45863 _ACEOF
45864
45865 fi
45866
45867 if test "$wxUSE_REGKEY" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_REGKEY 1
45870 _ACEOF
45871
45872 fi
45873 fi
45874
45875
45876 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45877 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_GRAPHICS_CONTEXT 1
45880 _ACEOF
45881
45882 elif test "$wxUSE_GTK" != 1; then
45883 cat >>confdefs.h <<\_ACEOF
45884 #define wxUSE_GRAPHICS_CONTEXT 1
45885 _ACEOF
45886
45887 else
45888
45889 pkg_failed=no
45890 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45891 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45892
45893 if test -n "$PKG_CONFIG"; then
45894 if test -n "$CAIRO_CFLAGS"; then
45895 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45896 else
45897 if test -n "$PKG_CONFIG" && \
45898 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45899 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45900 ac_status=$?
45901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45902 (exit $ac_status); }; then
45903 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45904 else
45905 pkg_failed=yes
45906 fi
45907 fi
45908 else
45909 pkg_failed=untried
45910 fi
45911 if test -n "$PKG_CONFIG"; then
45912 if test -n "$CAIRO_LIBS"; then
45913 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45914 else
45915 if test -n "$PKG_CONFIG" && \
45916 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45917 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45918 ac_status=$?
45919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920 (exit $ac_status); }; then
45921 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45922 else
45923 pkg_failed=yes
45924 fi
45925 fi
45926 else
45927 pkg_failed=untried
45928 fi
45929
45930
45931
45932 if test $pkg_failed = yes; then
45933
45934 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45935 _pkg_short_errors_supported=yes
45936 else
45937 _pkg_short_errors_supported=no
45938 fi
45939 if test $_pkg_short_errors_supported = yes; then
45940 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45941 else
45942 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45943 fi
45944 # Put the nasty error message in config.log where it belongs
45945 echo "$CAIRO_PKG_ERRORS" >&5
45946
45947 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45948 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45949
45950 elif test $pkg_failed = untried; then
45951 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45952 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45953
45954 else
45955 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45956 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45957 { echo "$as_me:$LINENO: result: yes" >&5
45958 echo "${ECHO_T}yes" >&6; }
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_GRAPHICS_CONTEXT 1
45961 _ACEOF
45962
45963 fi
45964 fi
45965 fi
45966
45967
45968 USE_MEDIA=0
45969
45970 if test "$wxUSE_MEDIACTRL" = "yes"; then
45971 USE_MEDIA=1
45972
45973 if test "$wxUSE_GTK" = 1; then
45974 wxUSE_GSTREAMER="no"
45975
45976 GST_VERSION_MAJOR=0
45977 GST_VERSION_MINOR=10
45978 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45979
45980 if test "$wxUSE_GSTREAMER8" = "no"; then
45981
45982 pkg_failed=no
45983 { echo "$as_me:$LINENO: checking for GST" >&5
45984 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45985
45986 if test -n "$PKG_CONFIG"; then
45987 if test -n "$GST_CFLAGS"; then
45988 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45989 else
45990 if test -n "$PKG_CONFIG" && \
45991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45992 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45993 ac_status=$?
45994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45995 (exit $ac_status); }; then
45996 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45997 else
45998 pkg_failed=yes
45999 fi
46000 fi
46001 else
46002 pkg_failed=untried
46003 fi
46004 if test -n "$PKG_CONFIG"; then
46005 if test -n "$GST_LIBS"; then
46006 pkg_cv_GST_LIBS="$GST_LIBS"
46007 else
46008 if test -n "$PKG_CONFIG" && \
46009 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46010 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46011 ac_status=$?
46012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013 (exit $ac_status); }; then
46014 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46015 else
46016 pkg_failed=yes
46017 fi
46018 fi
46019 else
46020 pkg_failed=untried
46021 fi
46022
46023
46024
46025 if test $pkg_failed = yes; then
46026
46027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46028 _pkg_short_errors_supported=yes
46029 else
46030 _pkg_short_errors_supported=no
46031 fi
46032 if test $_pkg_short_errors_supported = yes; then
46033 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46034 else
46035 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46036 fi
46037 # Put the nasty error message in config.log where it belongs
46038 echo "$GST_PKG_ERRORS" >&5
46039
46040
46041 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46042 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46043 GST_VERSION_MINOR=8
46044
46045
46046 elif test $pkg_failed = untried; then
46047
46048 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46049 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46050 GST_VERSION_MINOR=8
46051
46052
46053 else
46054 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46055 GST_LIBS=$pkg_cv_GST_LIBS
46056 { echo "$as_me:$LINENO: result: yes" >&5
46057 echo "${ECHO_T}yes" >&6; }
46058
46059 wxUSE_GSTREAMER="yes"
46060 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46061
46062 fi
46063 else
46064 GST_VERSION_MINOR=8
46065 fi
46066
46067 if test $GST_VERSION_MINOR = "8"; then
46068 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46069
46070 pkg_failed=no
46071 { echo "$as_me:$LINENO: checking for GST" >&5
46072 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46073
46074 if test -n "$PKG_CONFIG"; then
46075 if test -n "$GST_CFLAGS"; then
46076 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46077 else
46078 if test -n "$PKG_CONFIG" && \
46079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46080 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46081 ac_status=$?
46082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46083 (exit $ac_status); }; then
46084 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46085 else
46086 pkg_failed=yes
46087 fi
46088 fi
46089 else
46090 pkg_failed=untried
46091 fi
46092 if test -n "$PKG_CONFIG"; then
46093 if test -n "$GST_LIBS"; then
46094 pkg_cv_GST_LIBS="$GST_LIBS"
46095 else
46096 if test -n "$PKG_CONFIG" && \
46097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46098 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46099 ac_status=$?
46100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46101 (exit $ac_status); }; then
46102 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46103 else
46104 pkg_failed=yes
46105 fi
46106 fi
46107 else
46108 pkg_failed=untried
46109 fi
46110
46111
46112
46113 if test $pkg_failed = yes; then
46114
46115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46116 _pkg_short_errors_supported=yes
46117 else
46118 _pkg_short_errors_supported=no
46119 fi
46120 if test $_pkg_short_errors_supported = yes; then
46121 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46122 else
46123 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46124 fi
46125 # Put the nasty error message in config.log where it belongs
46126 echo "$GST_PKG_ERRORS" >&5
46127
46128
46129 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46130 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46131
46132 elif test $pkg_failed = untried; then
46133
46134 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46135 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46136
46137 else
46138 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46139 GST_LIBS=$pkg_cv_GST_LIBS
46140 { echo "$as_me:$LINENO: result: yes" >&5
46141 echo "${ECHO_T}yes" >&6; }
46142 wxUSE_GSTREAMER="yes"
46143 fi
46144 fi
46145
46146
46147 if test "$wxUSE_GSTREAMER" = "yes"; then
46148 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46149 EXTRALIBS_MEDIA="$GST_LIBS"
46150
46151 cat >>confdefs.h <<\_ACEOF
46152 #define wxUSE_GSTREAMER 1
46153 _ACEOF
46154
46155 else
46156 USE_MEDIA=0
46157 fi
46158 fi
46159
46160 if test $USE_MEDIA = 1; then
46161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46162 cat >>confdefs.h <<\_ACEOF
46163 #define wxUSE_MEDIACTRL 1
46164 _ACEOF
46165
46166 fi
46167 fi
46168
46169
46170 if test "$cross_compiling" = "yes"; then
46171 OSINFO="\"$host\""
46172 else
46173 OSINFO=`uname -s -r -m`
46174 OSINFO="\"$OSINFO\""
46175 fi
46176
46177 cat >>confdefs.h <<_ACEOF
46178 #define WXWIN_OS_DESCRIPTION $OSINFO
46179 _ACEOF
46180
46181
46182
46183 if test "x$prefix" != "xNONE"; then
46184 wxPREFIX=$prefix
46185 else
46186 wxPREFIX=$ac_default_prefix
46187 fi
46188
46189 cat >>confdefs.h <<_ACEOF
46190 #define wxINSTALL_PREFIX "$wxPREFIX"
46191 _ACEOF
46192
46193
46194
46195
46196 STD_BASE_LIBS="base"
46197 STD_GUI_LIBS=""
46198 BUILT_WX_LIBS="base"
46199 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46200
46201 if test "$wxUSE_SOCKETS" = "yes" ; then
46202 STD_BASE_LIBS="net $STD_BASE_LIBS"
46203 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46204 fi
46205 if test "$wxUSE_XML" = "yes" ; then
46206 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46207 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46208 fi
46209
46210 if test "$wxUSE_GUI" = "yes"; then
46211 STD_GUI_LIBS="adv core"
46212 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46213
46214 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46215 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46216 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46217 fi
46218 if test "$wxUSE_HTML" = "yes" ; then
46219 STD_GUI_LIBS="html $STD_GUI_LIBS"
46220 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46221 fi
46222 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46223 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46224 fi
46225 if test "$wxUSE_OPENGL" = "yes" ; then
46226 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46227 fi
46228 if test "$wxUSE_AUI" = "yes" ; then
46229 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46230 fi
46231 if test "$wxUSE_STC" = "yes" ; then
46232 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46233 fi
46234 if test "$wxUSE_XRC" = "yes" ; then
46235 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46236 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46237 fi
46238 fi
46239
46240
46241
46242
46243
46244
46245
46246
46247 if test "$wxUSE_MAC" = 1 ; then
46248 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46249 if test "$USE_DARWIN" = 1; then
46250 LDFLAGS="$LDFLAGS -framework QuickTime"
46251 else
46252 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46253 fi
46254 fi
46255 if test "$USE_DARWIN" = 1; then
46256 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46257 else
46258 LDFLAGS="$LDFLAGS -lCarbonLib"
46259 fi
46260 fi
46261 if test "$wxUSE_COCOA" = 1 ; then
46262 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46263 if test "$wxUSE_MEDIACTRL" = "yes"; then
46264 LDFLAGS="$LDFLAGS -framework QuickTime"
46265 fi
46266 fi
46267 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46268 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46269 fi
46270
46271 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46272
46273 if test "$wxUSE_GUI" = "yes"; then
46274
46275
46276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46277 erase event exec font image minimal mobile \
46278 mobile/wxedit mobile/styles render \
46279 shaped svg taborder vscroll widgets"
46280
46281 if test "$wxUSE_MONOLITHIC" != "yes"; then
46282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46283 fi
46284 if test "$TOOLKIT" = "MSW"; then
46285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46286 if test "$wxUSE_UNIVERSAL" != "yes"; then
46287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46288 fi
46289 fi
46290 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46292 fi
46293 else
46294 SAMPLES_SUBDIRS="console"
46295 if test "$wxUSE_SOCKETS" = "yes" ; then
46296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46297 fi
46298 fi
46299
46300
46301 if test "x$INTELCC" = "xyes" ; then
46302 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46303 elif test "$GCC" = yes ; then
46304 CWARNINGS="-Wall -Wundef"
46305 fi
46306
46307 if test "x$INTELCXX" = "xyes" ; then
46308 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46309 elif test "$GXX" = yes ; then
46310 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46311 fi
46312
46313
46314 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46315 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46316
46317
46318 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46319 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46320 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46321 $CPPFLAGS `
46322
46323 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46324 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46325 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46326
46327 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46328
46329
46330 if test "x$MWCC" = "xyes"; then
46331
46332 CC="$CC -cwd source -I-"
46333 CXX="$CXX -cwd source -I-"
46334 fi
46335
46336
46337 LIBS=`echo $LIBS`
46338 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46339 EXTRALIBS_XML="$EXPAT_LINK"
46340 EXTRALIBS_HTML="$MSPACK_LINK"
46341 EXTRALIBS_MEDIA="$GST_LIBS"
46342 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46343 if test "$wxUSE_GUI" = "yes"; then
46344 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46345 fi
46346 if test "$wxUSE_OPENGL" = "yes"; then
46347 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46348 fi
46349
46350 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46351
46352 WXCONFIG_LIBS="$LIBS"
46353
46354 if test "$wxUSE_REGEX" = "builtin" ; then
46355 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46356 fi
46357 if test "$wxUSE_EXPAT" = "builtin" ; then
46358 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46359 fi
46360 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46361 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46362 fi
46363 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46364 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46365 fi
46366 if test "$wxUSE_LIBPNG" = "builtin" ; then
46367 wxconfig_3rdparty="png $wxconfig_3rdparty"
46368 fi
46369 if test "$wxUSE_ZLIB" = "builtin" ; then
46370 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46371 fi
46372
46373 for i in $wxconfig_3rdparty ; do
46374 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46375 done
46376
46377
46378 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46379 WXUNIV=1
46380
46381 case "$wxUNIV_THEMES" in
46382 ''|all)
46383 cat >>confdefs.h <<\_ACEOF
46384 #define wxUSE_ALL_THEMES 1
46385 _ACEOF
46386
46387 ;;
46388
46389 *)
46390 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46391 cat >>confdefs.h <<_ACEOF
46392 #define wxUSE_THEME_$t 1
46393 _ACEOF
46394
46395 done
46396 esac
46397 else
46398 WXUNIV=0
46399 fi
46400
46401
46402
46403
46404
46405
46406
46407
46408 if test $wxUSE_MONOLITHIC = "yes" ; then
46409 MONOLITHIC=1
46410 else
46411 MONOLITHIC=0
46412 fi
46413
46414 if test $wxUSE_PLUGINS = "yes" ; then
46415 USE_PLUGINS=1
46416 else
46417 USE_PLUGINS=0
46418 fi
46419
46420 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46421 USE_QA=1
46422 else
46423 USE_QA=0
46424 fi
46425
46426 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46427 OFFICIAL_BUILD=1
46428 else
46429 OFFICIAL_BUILD=0
46430 fi
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448
46449
46450
46451
46452
46453
46454
46455
46456
46457
46458 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46459
46460
46461
46462
46463
46464
46465
46466
46467 case "$TOOLKIT" in
46468 GTK)
46469 TOOLKIT_DESC="GTK+"
46470 if test "$WXGTK2" = 1; then
46471 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46472 if test "$wxUSE_GTKPRINT" = "yes" ; then
46473 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46474 fi
46475 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46476 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46477 fi
46478 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46479 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46480 fi
46481 if test "$wxUSE_LIBHILDON" = "yes"; then
46482 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46483 fi
46484
46485 if test "$TOOLKIT_EXTRA" != ""; then
46486 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46487 fi
46488 fi
46489 ;;
46490
46491 ?*)
46492 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46493 ;;
46494
46495 *)
46496 TOOLKIT_DESC="base only"
46497 ;;
46498 esac
46499
46500 if test "$wxUSE_WINE" = "yes"; then
46501 BAKEFILE_FORCE_PLATFORM=win32
46502 fi
46503
46504 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46505 then
46506 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46507 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46508 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46509 echo $ECHO_N "(cached) $ECHO_C" >&6
46510 else
46511
46512 echo '#include <stdio.h>
46513 const wchar_t test_var[] = L"awidetest";' > conftest.h
46514
46515 echo '#include "conftest.h"
46516 int main()
46517 {
46518 printf("%ls", test_var);
46519 return 0;
46520 }' > conftest.cpp
46521
46522 wx_cv_gcc_pch_bug="pch not supported"
46523
46524 if $CXX conftest.h >/dev/null 2>&1
46525 then
46526 wx_cv_gcc_pch_bug=
46527
46528 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46529 then
46530 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46531 grep awidetest >/dev/null
46532 then
46533 wx_cv_gcc_pch_bug=no
46534 else
46535 wx_cv_gcc_pch_bug=yes
46536 fi
46537 fi
46538 fi
46539
46540 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46541
46542 fi
46543 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46544 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46545
46546 if test "$wx_cv_gcc_pch_bug" = yes; then
46547 bk_use_pch=no
46548 fi
46549 fi
46550
46551
46552
46553
46554 if test "x$BAKEFILE_HOST" = "x"; then
46555 if test "x${host}" = "x" ; then
46556 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46557 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46558 { (exit 1); exit 1; }; }
46559 fi
46560
46561 BAKEFILE_HOST="${host}"
46562 fi
46563
46564 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46565
46566 if test -n "$ac_tool_prefix"; then
46567 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46568 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46571 if test "${ac_cv_prog_RANLIB+set}" = set; then
46572 echo $ECHO_N "(cached) $ECHO_C" >&6
46573 else
46574 if test -n "$RANLIB"; then
46575 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46576 else
46577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46578 for as_dir in $PATH
46579 do
46580 IFS=$as_save_IFS
46581 test -z "$as_dir" && as_dir=.
46582 for ac_exec_ext in '' $ac_executable_extensions; do
46583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46584 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46586 break 2
46587 fi
46588 done
46589 done
46590 IFS=$as_save_IFS
46591
46592 fi
46593 fi
46594 RANLIB=$ac_cv_prog_RANLIB
46595 if test -n "$RANLIB"; then
46596 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46597 echo "${ECHO_T}$RANLIB" >&6; }
46598 else
46599 { echo "$as_me:$LINENO: result: no" >&5
46600 echo "${ECHO_T}no" >&6; }
46601 fi
46602
46603
46604 fi
46605 if test -z "$ac_cv_prog_RANLIB"; then
46606 ac_ct_RANLIB=$RANLIB
46607 # Extract the first word of "ranlib", so it can be a program name with args.
46608 set dummy ranlib; ac_word=$2
46609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46611 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46612 echo $ECHO_N "(cached) $ECHO_C" >&6
46613 else
46614 if test -n "$ac_ct_RANLIB"; then
46615 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46616 else
46617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46618 for as_dir in $PATH
46619 do
46620 IFS=$as_save_IFS
46621 test -z "$as_dir" && as_dir=.
46622 for ac_exec_ext in '' $ac_executable_extensions; do
46623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46624 ac_cv_prog_ac_ct_RANLIB="ranlib"
46625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46626 break 2
46627 fi
46628 done
46629 done
46630 IFS=$as_save_IFS
46631
46632 fi
46633 fi
46634 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46635 if test -n "$ac_ct_RANLIB"; then
46636 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46637 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46638 else
46639 { echo "$as_me:$LINENO: result: no" >&5
46640 echo "${ECHO_T}no" >&6; }
46641 fi
46642
46643 if test "x$ac_ct_RANLIB" = x; then
46644 RANLIB=":"
46645 else
46646 case $cross_compiling:$ac_tool_warned in
46647 yes:)
46648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46649 whose name does not start with the host triplet. If you think this
46650 configuration is useful to you, please write to autoconf@gnu.org." >&5
46651 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46652 whose name does not start with the host triplet. If you think this
46653 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46654 ac_tool_warned=yes ;;
46655 esac
46656 RANLIB=$ac_ct_RANLIB
46657 fi
46658 else
46659 RANLIB="$ac_cv_prog_RANLIB"
46660 fi
46661
46662 # Find a good install program. We prefer a C program (faster),
46663 # so one script is as good as another. But avoid the broken or
46664 # incompatible versions:
46665 # SysV /etc/install, /usr/sbin/install
46666 # SunOS /usr/etc/install
46667 # IRIX /sbin/install
46668 # AIX /bin/install
46669 # AmigaOS /C/install, which installs bootblocks on floppy discs
46670 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46671 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46672 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46673 # OS/2's system install, which has a completely different semantic
46674 # ./install, which can be erroneously created by make from ./install.sh.
46675 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46676 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46677 if test -z "$INSTALL"; then
46678 if test "${ac_cv_path_install+set}" = set; then
46679 echo $ECHO_N "(cached) $ECHO_C" >&6
46680 else
46681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46682 for as_dir in $PATH
46683 do
46684 IFS=$as_save_IFS
46685 test -z "$as_dir" && as_dir=.
46686 # Account for people who put trailing slashes in PATH elements.
46687 case $as_dir/ in
46688 ./ | .// | /cC/* | \
46689 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46690 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46691 /usr/ucb/* ) ;;
46692 *)
46693 # OSF1 and SCO ODT 3.0 have their own names for install.
46694 # Don't use installbsd from OSF since it installs stuff as root
46695 # by default.
46696 for ac_prog in ginstall scoinst install; do
46697 for ac_exec_ext in '' $ac_executable_extensions; do
46698 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46699 if test $ac_prog = install &&
46700 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46701 # AIX install. It has an incompatible calling convention.
46702 :
46703 elif test $ac_prog = install &&
46704 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46705 # program-specific install script used by HP pwplus--don't use.
46706 :
46707 else
46708 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46709 break 3
46710 fi
46711 fi
46712 done
46713 done
46714 ;;
46715 esac
46716 done
46717 IFS=$as_save_IFS
46718
46719
46720 fi
46721 if test "${ac_cv_path_install+set}" = set; then
46722 INSTALL=$ac_cv_path_install
46723 else
46724 # As a last resort, use the slow shell script. Don't cache a
46725 # value for INSTALL within a source directory, because that will
46726 # break other packages using the cache if that directory is
46727 # removed, or if the value is a relative name.
46728 INSTALL=$ac_install_sh
46729 fi
46730 fi
46731 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46732 echo "${ECHO_T}$INSTALL" >&6; }
46733
46734 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46735 # It thinks the first close brace ends the variable substitution.
46736 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46737
46738 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46739
46740 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46741
46742 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46743 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46744 LN_S=$as_ln_s
46745 if test "$LN_S" = "ln -s"; then
46746 { echo "$as_me:$LINENO: result: yes" >&5
46747 echo "${ECHO_T}yes" >&6; }
46748 else
46749 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46750 echo "${ECHO_T}no, using $LN_S" >&6; }
46751 fi
46752
46753
46754 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46755 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46756 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46757 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46758 echo $ECHO_N "(cached) $ECHO_C" >&6
46759 else
46760 cat >conftest.make <<\_ACEOF
46761 SHELL = /bin/sh
46762 all:
46763 @echo '@@@%%%=$(MAKE)=@@@%%%'
46764 _ACEOF
46765 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46766 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46767 *@@@%%%=?*=@@@%%%*)
46768 eval ac_cv_prog_make_${ac_make}_set=yes;;
46769 *)
46770 eval ac_cv_prog_make_${ac_make}_set=no;;
46771 esac
46772 rm -f conftest.make
46773 fi
46774 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46775 { echo "$as_me:$LINENO: result: yes" >&5
46776 echo "${ECHO_T}yes" >&6; }
46777 SET_MAKE=
46778 else
46779 { echo "$as_me:$LINENO: result: no" >&5
46780 echo "${ECHO_T}no" >&6; }
46781 SET_MAKE="MAKE=${MAKE-make}"
46782 fi
46783
46784
46785
46786 if test "x$SUNCXX" = "xyes"; then
46787 AR=$CXX
46788 AROPTIONS="-xar -o"
46789
46790 elif test "x$SGICC" = "xyes"; then
46791 AR=$CXX
46792 AROPTIONS="-ar -o"
46793
46794 else
46795 if test -n "$ac_tool_prefix"; then
46796 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46797 set dummy ${ac_tool_prefix}ar; ac_word=$2
46798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46800 if test "${ac_cv_prog_AR+set}" = set; then
46801 echo $ECHO_N "(cached) $ECHO_C" >&6
46802 else
46803 if test -n "$AR"; then
46804 ac_cv_prog_AR="$AR" # Let the user override the test.
46805 else
46806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46807 for as_dir in $PATH
46808 do
46809 IFS=$as_save_IFS
46810 test -z "$as_dir" && as_dir=.
46811 for ac_exec_ext in '' $ac_executable_extensions; do
46812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46813 ac_cv_prog_AR="${ac_tool_prefix}ar"
46814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46815 break 2
46816 fi
46817 done
46818 done
46819 IFS=$as_save_IFS
46820
46821 fi
46822 fi
46823 AR=$ac_cv_prog_AR
46824 if test -n "$AR"; then
46825 { echo "$as_me:$LINENO: result: $AR" >&5
46826 echo "${ECHO_T}$AR" >&6; }
46827 else
46828 { echo "$as_me:$LINENO: result: no" >&5
46829 echo "${ECHO_T}no" >&6; }
46830 fi
46831
46832
46833 fi
46834 if test -z "$ac_cv_prog_AR"; then
46835 ac_ct_AR=$AR
46836 # Extract the first word of "ar", so it can be a program name with args.
46837 set dummy ar; ac_word=$2
46838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46840 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46841 echo $ECHO_N "(cached) $ECHO_C" >&6
46842 else
46843 if test -n "$ac_ct_AR"; then
46844 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46845 else
46846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46847 for as_dir in $PATH
46848 do
46849 IFS=$as_save_IFS
46850 test -z "$as_dir" && as_dir=.
46851 for ac_exec_ext in '' $ac_executable_extensions; do
46852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46853 ac_cv_prog_ac_ct_AR="ar"
46854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46855 break 2
46856 fi
46857 done
46858 done
46859 IFS=$as_save_IFS
46860
46861 fi
46862 fi
46863 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46864 if test -n "$ac_ct_AR"; then
46865 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46866 echo "${ECHO_T}$ac_ct_AR" >&6; }
46867 else
46868 { echo "$as_me:$LINENO: result: no" >&5
46869 echo "${ECHO_T}no" >&6; }
46870 fi
46871
46872 if test "x$ac_ct_AR" = x; then
46873 AR="ar"
46874 else
46875 case $cross_compiling:$ac_tool_warned in
46876 yes:)
46877 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46878 whose name does not start with the host triplet. If you think this
46879 configuration is useful to you, please write to autoconf@gnu.org." >&5
46880 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46881 whose name does not start with the host triplet. If you think this
46882 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46883 ac_tool_warned=yes ;;
46884 esac
46885 AR=$ac_ct_AR
46886 fi
46887 else
46888 AR="$ac_cv_prog_AR"
46889 fi
46890
46891 AROPTIONS=rcu
46892 fi
46893
46894
46895 if test -n "$ac_tool_prefix"; then
46896 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46897 set dummy ${ac_tool_prefix}strip; ac_word=$2
46898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46900 if test "${ac_cv_prog_STRIP+set}" = set; then
46901 echo $ECHO_N "(cached) $ECHO_C" >&6
46902 else
46903 if test -n "$STRIP"; then
46904 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46905 else
46906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46907 for as_dir in $PATH
46908 do
46909 IFS=$as_save_IFS
46910 test -z "$as_dir" && as_dir=.
46911 for ac_exec_ext in '' $ac_executable_extensions; do
46912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46913 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46915 break 2
46916 fi
46917 done
46918 done
46919 IFS=$as_save_IFS
46920
46921 fi
46922 fi
46923 STRIP=$ac_cv_prog_STRIP
46924 if test -n "$STRIP"; then
46925 { echo "$as_me:$LINENO: result: $STRIP" >&5
46926 echo "${ECHO_T}$STRIP" >&6; }
46927 else
46928 { echo "$as_me:$LINENO: result: no" >&5
46929 echo "${ECHO_T}no" >&6; }
46930 fi
46931
46932
46933 fi
46934 if test -z "$ac_cv_prog_STRIP"; then
46935 ac_ct_STRIP=$STRIP
46936 # Extract the first word of "strip", so it can be a program name with args.
46937 set dummy strip; ac_word=$2
46938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46940 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46941 echo $ECHO_N "(cached) $ECHO_C" >&6
46942 else
46943 if test -n "$ac_ct_STRIP"; then
46944 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46945 else
46946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46947 for as_dir in $PATH
46948 do
46949 IFS=$as_save_IFS
46950 test -z "$as_dir" && as_dir=.
46951 for ac_exec_ext in '' $ac_executable_extensions; do
46952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46953 ac_cv_prog_ac_ct_STRIP="strip"
46954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46955 break 2
46956 fi
46957 done
46958 done
46959 IFS=$as_save_IFS
46960
46961 fi
46962 fi
46963 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46964 if test -n "$ac_ct_STRIP"; then
46965 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46966 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46967 else
46968 { echo "$as_me:$LINENO: result: no" >&5
46969 echo "${ECHO_T}no" >&6; }
46970 fi
46971
46972 if test "x$ac_ct_STRIP" = x; then
46973 STRIP=":"
46974 else
46975 case $cross_compiling:$ac_tool_warned in
46976 yes:)
46977 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46978 whose name does not start with the host triplet. If you think this
46979 configuration is useful to you, please write to autoconf@gnu.org." >&5
46980 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46981 whose name does not start with the host triplet. If you think this
46982 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46983 ac_tool_warned=yes ;;
46984 esac
46985 STRIP=$ac_ct_STRIP
46986 fi
46987 else
46988 STRIP="$ac_cv_prog_STRIP"
46989 fi
46990
46991 if test -n "$ac_tool_prefix"; then
46992 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46993 set dummy ${ac_tool_prefix}nm; ac_word=$2
46994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46996 if test "${ac_cv_prog_NM+set}" = set; then
46997 echo $ECHO_N "(cached) $ECHO_C" >&6
46998 else
46999 if test -n "$NM"; then
47000 ac_cv_prog_NM="$NM" # Let the user override the test.
47001 else
47002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47003 for as_dir in $PATH
47004 do
47005 IFS=$as_save_IFS
47006 test -z "$as_dir" && as_dir=.
47007 for ac_exec_ext in '' $ac_executable_extensions; do
47008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47009 ac_cv_prog_NM="${ac_tool_prefix}nm"
47010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47011 break 2
47012 fi
47013 done
47014 done
47015 IFS=$as_save_IFS
47016
47017 fi
47018 fi
47019 NM=$ac_cv_prog_NM
47020 if test -n "$NM"; then
47021 { echo "$as_me:$LINENO: result: $NM" >&5
47022 echo "${ECHO_T}$NM" >&6; }
47023 else
47024 { echo "$as_me:$LINENO: result: no" >&5
47025 echo "${ECHO_T}no" >&6; }
47026 fi
47027
47028
47029 fi
47030 if test -z "$ac_cv_prog_NM"; then
47031 ac_ct_NM=$NM
47032 # Extract the first word of "nm", so it can be a program name with args.
47033 set dummy nm; ac_word=$2
47034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47036 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47037 echo $ECHO_N "(cached) $ECHO_C" >&6
47038 else
47039 if test -n "$ac_ct_NM"; then
47040 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47041 else
47042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47043 for as_dir in $PATH
47044 do
47045 IFS=$as_save_IFS
47046 test -z "$as_dir" && as_dir=.
47047 for ac_exec_ext in '' $ac_executable_extensions; do
47048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47049 ac_cv_prog_ac_ct_NM="nm"
47050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47051 break 2
47052 fi
47053 done
47054 done
47055 IFS=$as_save_IFS
47056
47057 fi
47058 fi
47059 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47060 if test -n "$ac_ct_NM"; then
47061 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47062 echo "${ECHO_T}$ac_ct_NM" >&6; }
47063 else
47064 { echo "$as_me:$LINENO: result: no" >&5
47065 echo "${ECHO_T}no" >&6; }
47066 fi
47067
47068 if test "x$ac_ct_NM" = x; then
47069 NM=":"
47070 else
47071 case $cross_compiling:$ac_tool_warned in
47072 yes:)
47073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47074 whose name does not start with the host triplet. If you think this
47075 configuration is useful to you, please write to autoconf@gnu.org." >&5
47076 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47077 whose name does not start with the host triplet. If you think this
47078 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47079 ac_tool_warned=yes ;;
47080 esac
47081 NM=$ac_ct_NM
47082 fi
47083 else
47084 NM="$ac_cv_prog_NM"
47085 fi
47086
47087
47088 case ${BAKEFILE_HOST} in
47089 *-hp-hpux* )
47090 INSTALL_DIR="mkdir -p"
47091 ;;
47092 * )
47093 INSTALL_DIR='$(INSTALL) -d'
47094 ;;
47095 esac
47096
47097
47098 LDFLAGS_GUI=
47099 case ${BAKEFILE_HOST} in
47100 *-*-cygwin* | *-*-mingw32* )
47101 LDFLAGS_GUI="-mwindows"
47102 esac
47103
47104
47105 fi
47106
47107 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47108 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47109 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47110 echo $ECHO_N "(cached) $ECHO_C" >&6
47111 else
47112
47113 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47114 egrep -s GNU > /dev/null); then
47115 bakefile_cv_prog_makeisgnu="yes"
47116 else
47117 bakefile_cv_prog_makeisgnu="no"
47118 fi
47119
47120 fi
47121 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47122 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47123
47124 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47125 IF_GNU_MAKE=""
47126 else
47127 IF_GNU_MAKE="#"
47128 fi
47129
47130
47131
47132 PLATFORM_UNIX=0
47133 PLATFORM_WIN32=0
47134 PLATFORM_MSDOS=0
47135 PLATFORM_MAC=0
47136 PLATFORM_MACOS=0
47137 PLATFORM_MACOSX=0
47138 PLATFORM_OS2=0
47139 PLATFORM_BEOS=0
47140
47141 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47142 case "${BAKEFILE_HOST}" in
47143 *-*-mingw32* )
47144 PLATFORM_WIN32=1
47145 ;;
47146 *-pc-msdosdjgpp )
47147 PLATFORM_MSDOS=1
47148 ;;
47149 *-pc-os2_emx | *-pc-os2-emx )
47150 PLATFORM_OS2=1
47151 ;;
47152 *-*-darwin* )
47153 PLATFORM_MAC=1
47154 PLATFORM_MACOSX=1
47155 ;;
47156 *-*-beos* )
47157 PLATFORM_BEOS=1
47158 ;;
47159 powerpc-apple-macos* )
47160 PLATFORM_MAC=1
47161 PLATFORM_MACOS=1
47162 ;;
47163 * )
47164 PLATFORM_UNIX=1
47165 ;;
47166 esac
47167 else
47168 case "$BAKEFILE_FORCE_PLATFORM" in
47169 win32 )
47170 PLATFORM_WIN32=1
47171 ;;
47172 msdos )
47173 PLATFORM_MSDOS=1
47174 ;;
47175 os2 )
47176 PLATFORM_OS2=1
47177 ;;
47178 darwin )
47179 PLATFORM_MAC=1
47180 PLATFORM_MACOSX=1
47181 ;;
47182 unix )
47183 PLATFORM_UNIX=1
47184 ;;
47185 beos )
47186 PLATFORM_BEOS=1
47187 ;;
47188 * )
47189 ;;
47190 esac
47191 fi
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203 # Check whether --enable-omf was given.
47204 if test "${enable_omf+set}" = set; then
47205 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47206 fi
47207
47208
47209 case "${BAKEFILE_HOST}" in
47210 *-*-darwin* )
47211 if test "x$GCC" = "xyes"; then
47212 CFLAGS="$CFLAGS -fno-common"
47213 CXXFLAGS="$CXXFLAGS -fno-common"
47214 fi
47215 if test "x$XLCC" = "xyes"; then
47216 CFLAGS="$CFLAGS -qnocommon"
47217 CXXFLAGS="$CXXFLAGS -qnocommon"
47218 fi
47219 ;;
47220
47221 *-pc-os2_emx | *-pc-os2-emx )
47222 if test "x$bk_os2_use_omf" = "xyes" ; then
47223 AR=emxomfar
47224 RANLIB=:
47225 LDFLAGS="-Zomf $LDFLAGS"
47226 CFLAGS="-Zomf $CFLAGS"
47227 CXXFLAGS="-Zomf $CXXFLAGS"
47228 OS2_LIBEXT="lib"
47229 else
47230 OS2_LIBEXT="a"
47231 fi
47232 ;;
47233
47234 i*86-*-beos* )
47235 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47236 ;;
47237 esac
47238
47239
47240 SO_SUFFIX="so"
47241 SO_SUFFIX_MODULE="so"
47242 EXEEXT=""
47243 LIBPREFIX="lib"
47244 LIBEXT=".a"
47245 DLLPREFIX="lib"
47246 DLLPREFIX_MODULE=""
47247 DLLIMP_SUFFIX=""
47248 dlldir="$libdir"
47249
47250 case "${BAKEFILE_HOST}" in
47251 *-hp-hpux* )
47252 SO_SUFFIX="sl"
47253 SO_SUFFIX_MODULE="sl"
47254 ;;
47255 *-*-aix* )
47256 SO_SUFFIX="a"
47257 SO_SUFFIX_MODULE="a"
47258 ;;
47259 *-*-cygwin* )
47260 SO_SUFFIX="dll"
47261 SO_SUFFIX_MODULE="dll"
47262 DLLIMP_SUFFIX="dll.a"
47263 EXEEXT=".exe"
47264 DLLPREFIX="cyg"
47265 dlldir="$bindir"
47266 ;;
47267 *-*-mingw32* )
47268 SO_SUFFIX="dll"
47269 SO_SUFFIX_MODULE="dll"
47270 DLLIMP_SUFFIX="dll.a"
47271 EXEEXT=".exe"
47272 DLLPREFIX=""
47273 dlldir="$bindir"
47274 ;;
47275 *-pc-msdosdjgpp )
47276 EXEEXT=".exe"
47277 DLLPREFIX=""
47278 dlldir="$bindir"
47279 ;;
47280 *-pc-os2_emx | *-pc-os2-emx )
47281 SO_SUFFIX="dll"
47282 SO_SUFFIX_MODULE="dll"
47283 DLLIMP_SUFFIX=$OS2_LIBEXT
47284 EXEEXT=".exe"
47285 DLLPREFIX=""
47286 LIBPREFIX=""
47287 LIBEXT=".$OS2_LIBEXT"
47288 dlldir="$bindir"
47289 ;;
47290 *-*-darwin* )
47291 SO_SUFFIX="dylib"
47292 SO_SUFFIX_MODULE="bundle"
47293 ;;
47294 esac
47295
47296 if test "x$DLLIMP_SUFFIX" = "x" ; then
47297 DLLIMP_SUFFIX="$SO_SUFFIX"
47298 fi
47299
47300
47301
47302
47303
47304
47305
47306
47307
47308
47309
47310
47311 PIC_FLAG=""
47312 if test "x$GCC" = "xyes"; then
47313 PIC_FLAG="-fPIC"
47314 fi
47315
47316 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47317 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47318 WINDOWS_IMPLIB=0
47319
47320 case "${BAKEFILE_HOST}" in
47321 *-hp-hpux* )
47322 if test "x$GCC" != "xyes"; then
47323 LDFLAGS="$LDFLAGS -L/usr/lib"
47324
47325 SHARED_LD_CC="${CC} -b -o"
47326 SHARED_LD_CXX="${CXX} -b -o"
47327 PIC_FLAG="+Z"
47328 fi
47329 ;;
47330
47331 *-*-linux* )
47332 if test "$INTELCC" = "yes"; then
47333 PIC_FLAG="-KPIC"
47334 elif test "x$SUNCXX" = "xyes"; then
47335 SHARED_LD_CC="${CC} -G -o"
47336 SHARED_LD_CXX="${CXX} -G -o"
47337 PIC_FLAG="-KPIC"
47338 fi
47339 ;;
47340
47341 *-*-solaris2* )
47342 if test "x$SUNCXX" = xyes ; then
47343 SHARED_LD_CC="${CC} -G -o"
47344 SHARED_LD_CXX="${CXX} -G -o"
47345 PIC_FLAG="-KPIC"
47346 fi
47347 ;;
47348
47349 *-*-darwin* )
47350
47351 D='$'
47352 cat <<EOF >shared-ld-sh
47353 #!/bin/sh
47354 #-----------------------------------------------------------------------------
47355 #-- Name: distrib/mac/shared-ld-sh
47356 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47357 #-- Author: Gilles Depeyrot
47358 #-- Copyright: (c) 2002 Gilles Depeyrot
47359 #-- Licence: any use permitted
47360 #-----------------------------------------------------------------------------
47361
47362 verbose=0
47363 args=""
47364 objects=""
47365 linking_flag="-dynamiclib"
47366 ldargs="-r -keep_private_externs -nostdlib"
47367
47368 while test ${D}# -gt 0; do
47369 case ${D}1 in
47370
47371 -v)
47372 verbose=1
47373 ;;
47374
47375 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47376 # collect these options and values
47377 args="${D}{args} ${D}1 ${D}2"
47378 shift
47379 ;;
47380
47381 -s|-Wl,*)
47382 # collect these load args
47383 ldargs="${D}{ldargs} ${D}1"
47384 ;;
47385
47386 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47387 # collect these options
47388 args="${D}{args} ${D}1"
47389 ;;
47390
47391 -dynamiclib|-bundle)
47392 linking_flag="${D}1"
47393 ;;
47394
47395 -*)
47396 echo "shared-ld: unhandled option '${D}1'"
47397 exit 1
47398 ;;
47399
47400 *.o | *.a | *.dylib)
47401 # collect object files
47402 objects="${D}{objects} ${D}1"
47403 ;;
47404
47405 *)
47406 echo "shared-ld: unhandled argument '${D}1'"
47407 exit 1
47408 ;;
47409
47410 esac
47411 shift
47412 done
47413
47414 status=0
47415
47416 #
47417 # Link one module containing all the others
47418 #
47419 if test ${D}{verbose} = 1; then
47420 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47421 fi
47422 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47423 status=${D}?
47424
47425 #
47426 # Link the shared library from the single module created, but only if the
47427 # previous command didn't fail:
47428 #
47429 if test ${D}{status} = 0; then
47430 if test ${D}{verbose} = 1; then
47431 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47432 fi
47433 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47434 status=${D}?
47435 fi
47436
47437 #
47438 # Remove intermediate module
47439 #
47440 rm -f master.${D}${D}.o
47441
47442 exit ${D}status
47443 EOF
47444
47445 chmod +x shared-ld-sh
47446
47447 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47448 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47449
47450
47451 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47452 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47453 if test "${bakefile_cv_gcc31+set}" = set; then
47454 echo $ECHO_N "(cached) $ECHO_C" >&6
47455 else
47456
47457 cat >conftest.$ac_ext <<_ACEOF
47458 /* confdefs.h. */
47459 _ACEOF
47460 cat confdefs.h >>conftest.$ac_ext
47461 cat >>conftest.$ac_ext <<_ACEOF
47462 /* end confdefs.h. */
47463
47464 int
47465 main ()
47466 {
47467
47468 #if (__GNUC__ < 3) || \
47469 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47470 This is old gcc
47471 #endif
47472
47473 ;
47474 return 0;
47475 }
47476 _ACEOF
47477 rm -f conftest.$ac_objext
47478 if { (ac_try="$ac_compile"
47479 case "(($ac_try" in
47480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47481 *) ac_try_echo=$ac_try;;
47482 esac
47483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47484 (eval "$ac_compile") 2>conftest.er1
47485 ac_status=$?
47486 grep -v '^ *+' conftest.er1 >conftest.err
47487 rm -f conftest.er1
47488 cat conftest.err >&5
47489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47490 (exit $ac_status); } && {
47491 test -z "$ac_c_werror_flag" ||
47492 test ! -s conftest.err
47493 } && test -s conftest.$ac_objext; then
47494
47495 bakefile_cv_gcc31=yes
47496
47497 else
47498 echo "$as_me: failed program was:" >&5
47499 sed 's/^/| /' conftest.$ac_ext >&5
47500
47501
47502 bakefile_cv_gcc31=no
47503
47504
47505 fi
47506
47507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47508
47509 fi
47510 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47511 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47512 if test "$bakefile_cv_gcc31" = "no"; then
47513 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47514 SHARED_LD_CXX="$SHARED_LD_CC"
47515 else
47516 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47517 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47518 fi
47519
47520 if test "x$GCC" == "xyes"; then
47521 PIC_FLAG="-dynamic -fPIC"
47522 fi
47523 if test "x$XLCC" = "xyes"; then
47524 PIC_FLAG="-dynamic -DPIC"
47525 fi
47526 ;;
47527
47528 *-*-aix* )
47529 if test "x$GCC" = "xyes"; then
47530 PIC_FLAG=""
47531
47532 case "${BAKEFILE_HOST}" in
47533 *-*-aix5* )
47534 LD_EXPFULL="-Wl,-bexpfull"
47535 ;;
47536 esac
47537
47538 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47539 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47540 else
47541 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47542 set dummy makeC++SharedLib; ac_word=$2
47543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47545 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47546 echo $ECHO_N "(cached) $ECHO_C" >&6
47547 else
47548 if test -n "$AIX_CXX_LD"; then
47549 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47550 else
47551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47552 for as_dir in $PATH
47553 do
47554 IFS=$as_save_IFS
47555 test -z "$as_dir" && as_dir=.
47556 for ac_exec_ext in '' $ac_executable_extensions; do
47557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47558 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47560 break 2
47561 fi
47562 done
47563 done
47564 IFS=$as_save_IFS
47565
47566 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47567 fi
47568 fi
47569 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47570 if test -n "$AIX_CXX_LD"; then
47571 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47572 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47573 else
47574 { echo "$as_me:$LINENO: result: no" >&5
47575 echo "${ECHO_T}no" >&6; }
47576 fi
47577
47578
47579 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47580 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47581 fi
47582 ;;
47583
47584 *-*-beos* )
47585 SHARED_LD_CC="${LD} -nostart -o"
47586 SHARED_LD_CXX="${LD} -nostart -o"
47587 ;;
47588
47589 *-*-irix* )
47590 if test "x$GCC" != "xyes"; then
47591 PIC_FLAG="-KPIC"
47592 fi
47593 ;;
47594
47595 *-*-cygwin* | *-*-mingw32* )
47596 PIC_FLAG=""
47597 SHARED_LD_CC="\$(CC) -shared -o"
47598 SHARED_LD_CXX="\$(CXX) -shared -o"
47599 WINDOWS_IMPLIB=1
47600 ;;
47601
47602 *-pc-os2_emx | *-pc-os2-emx )
47603 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47604 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47605 PIC_FLAG=""
47606
47607 D='$'
47608 cat <<EOF >dllar.sh
47609 #!/bin/sh
47610 #
47611 # dllar - a tool to build both a .dll and an .a file
47612 # from a set of object (.o) files for EMX/OS2.
47613 #
47614 # Written by Andrew Zabolotny, bit@freya.etu.ru
47615 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47616 #
47617 # This script will accept a set of files on the command line.
47618 # All the public symbols from the .o files will be exported into
47619 # a .DEF file, then linker will be run (through gcc) against them to
47620 # build a shared library consisting of all given .o files. All libraries
47621 # (.a) will be first decompressed into component .o files then act as
47622 # described above. You can optionally give a description (-d "description")
47623 # which will be put into .DLL. To see the list of accepted options (as well
47624 # as command-line format) simply run this program without options. The .DLL
47625 # is built to be imported by name (there is no guarantee that new versions
47626 # of the library you build will have same ordinals for same symbols).
47627 #
47628 # dllar is free software; you can redistribute it and/or modify
47629 # it under the terms of the GNU General Public License as published by
47630 # the Free Software Foundation; either version 2, or (at your option)
47631 # any later version.
47632 #
47633 # dllar is distributed in the hope that it will be useful,
47634 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47635 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47636 # GNU General Public License for more details.
47637 #
47638 # You should have received a copy of the GNU General Public License
47639 # along with dllar; see the file COPYING. If not, write to the Free
47640 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47641 # 02111-1307, USA.
47642
47643 # To successfuly run this program you will need:
47644 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47645 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47646 # - gcc
47647 # (used to build the .dll)
47648 # - emxexp
47649 # (used to create .def file from .o files)
47650 # - emximp
47651 # (used to create .a file from .def file)
47652 # - GNU text utilites (cat, sort, uniq)
47653 # used to process emxexp output
47654 # - GNU file utilities (mv, rm)
47655 # - GNU sed
47656 # - lxlite (optional, see flag below)
47657 # (used for general .dll cleanup)
47658 #
47659
47660 flag_USE_LXLITE=1;
47661
47662 #
47663 # helper functions
47664 # basnam, variant of basename, which does _not_ remove the path, _iff_
47665 # second argument (suffix to remove) is given
47666 basnam(){
47667 case ${D}# in
47668 1)
47669 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47670 ;;
47671 2)
47672 echo ${D}1 | sed 's/'${D}2'${D}//'
47673 ;;
47674 *)
47675 echo "error in basnam ${D}*"
47676 exit 8
47677 ;;
47678 esac
47679 }
47680
47681 # Cleanup temporary files and output
47682 CleanUp() {
47683 cd ${D}curDir
47684 for i in ${D}inputFiles ; do
47685 case ${D}i in
47686 *!)
47687 rm -rf \`basnam ${D}i !\`
47688 ;;
47689 *)
47690 ;;
47691 esac
47692 done
47693
47694 # Kill result in case of failure as there is just to many stupid make/nmake
47695 # things out there which doesn't do this.
47696 if [ ${D}# -eq 0 ]; then
47697 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47698 fi
47699 }
47700
47701 # Print usage and exit script with rc=1.
47702 PrintHelp() {
47703 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47704 echo ' [-name-mangler-script script.sh]'
47705 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47706 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47707 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47708 echo ' [*.o] [*.a]'
47709 echo '*> "output_file" should have no extension.'
47710 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47711 echo ' The import library name is derived from this and is set to "name".a,'
47712 echo ' unless overridden by -import'
47713 echo '*> "importlib_name" should have no extension.'
47714 echo ' If it has the .o, or .a extension, it is automatically removed.'
47715 echo ' This name is used as the import library name and may be longer and'
47716 echo ' more descriptive than the DLL name which has to follow the old '
47717 echo ' 8.3 convention of FAT.'
47718 echo '*> "script.sh may be given to override the output_file name by a'
47719 echo ' different name. It is mainly useful if the regular make process'
47720 echo ' of some package does not take into account OS/2 restriction of'
47721 echo ' DLL name lengths. It takes the importlib name as input and is'
47722 echo ' supposed to procude a shorter name as output. The script should'
47723 echo ' expect to get importlib_name without extension and should produce'
47724 echo ' a (max.) 8 letter name without extension.'
47725 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47726 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47727 echo ' These flags will be put at the start of GCC command line.'
47728 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47729 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47730 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47731 echo ' If the last character of a symbol is "*", all symbols beginning'
47732 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47733 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47734 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47735 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47736 echo ' C runtime DLLs.'
47737 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47738 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47739 echo ' unchanged to GCC at the end of command line.'
47740 echo '*> If you create a DLL from a library and you do not specify -o,'
47741 echo ' the basename for DLL and import library will be set to library name,'
47742 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47743 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47744 echo ' library will be renamed into gcc_s.a.'
47745 echo '--------'
47746 echo 'Example:'
47747 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47748 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47749 CleanUp
47750 exit 1
47751 }
47752
47753 # Execute a command.
47754 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47755 # @Uses Whatever CleanUp() uses.
47756 doCommand() {
47757 echo "${D}*"
47758 eval ${D}*
47759 rcCmd=${D}?
47760
47761 if [ ${D}rcCmd -ne 0 ]; then
47762 echo "command failed, exit code="${D}rcCmd
47763 CleanUp
47764 exit ${D}rcCmd
47765 fi
47766 }
47767
47768 # main routine
47769 # setup globals
47770 cmdLine=${D}*
47771 outFile=""
47772 outimpFile=""
47773 inputFiles=""
47774 renameScript=""
47775 description=""
47776 CC=gcc.exe
47777 CFLAGS="-s -Zcrtdll"
47778 EXTRA_CFLAGS=""
47779 EXPORT_BY_ORDINALS=0
47780 exclude_symbols=""
47781 library_flags=""
47782 curDir=\`pwd\`
47783 curDirS=curDir
47784 case ${D}curDirS in
47785 */)
47786 ;;
47787 *)
47788 curDirS=${D}{curDirS}"/"
47789 ;;
47790 esac
47791 # Parse commandline
47792 libsToLink=0
47793 omfLinking=0
47794 while [ ${D}1 ]; do
47795 case ${D}1 in
47796 -ord*)
47797 EXPORT_BY_ORDINALS=1;
47798 ;;
47799 -o*)
47800 shift
47801 outFile=${D}1
47802 ;;
47803 -i*)
47804 shift
47805 outimpFile=${D}1
47806 ;;
47807 -name-mangler-script)
47808 shift
47809 renameScript=${D}1
47810 ;;
47811 -d*)
47812 shift
47813 description=${D}1
47814 ;;
47815 -f*)
47816 shift
47817 CFLAGS=${D}1
47818 ;;
47819 -c*)
47820 shift
47821 CC=${D}1
47822 ;;
47823 -h*)
47824 PrintHelp
47825 ;;
47826 -ex*)
47827 shift
47828 exclude_symbols=${D}{exclude_symbols}${D}1" "
47829 ;;
47830 -libf*)
47831 shift
47832 library_flags=${D}{library_flags}${D}1" "
47833 ;;
47834 -nocrt*)
47835 CFLAGS="-s"
47836 ;;
47837 -nolxl*)
47838 flag_USE_LXLITE=0
47839 ;;
47840 -* | /*)
47841 case ${D}1 in
47842 -L* | -l*)
47843 libsToLink=1
47844 ;;
47845 -Zomf)
47846 omfLinking=1
47847 ;;
47848 *)
47849 ;;
47850 esac
47851 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47852 ;;
47853 *.dll)
47854 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47855 if [ ${D}omfLinking -eq 1 ]; then
47856 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47857 else
47858 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47859 fi
47860 ;;
47861 *)
47862 found=0;
47863 if [ ${D}libsToLink -ne 0 ]; then
47864 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47865 else
47866 for file in ${D}1 ; do
47867 if [ -f ${D}file ]; then
47868 inputFiles="${D}{inputFiles} ${D}file"
47869 found=1
47870 fi
47871 done
47872 if [ ${D}found -eq 0 ]; then
47873 echo "ERROR: No file(s) found: "${D}1
47874 exit 8
47875 fi
47876 fi
47877 ;;
47878 esac
47879 shift
47880 done # iterate cmdline words
47881
47882 #
47883 if [ -z "${D}inputFiles" ]; then
47884 echo "dllar: no input files"
47885 PrintHelp
47886 fi
47887
47888 # Now extract all .o files from .a files
47889 newInputFiles=""
47890 for file in ${D}inputFiles ; do
47891 case ${D}file in
47892 *.a | *.lib)
47893 case ${D}file in
47894 *.a)
47895 suffix=".a"
47896 AR="ar"
47897 ;;
47898 *.lib)
47899 suffix=".lib"
47900 AR="emxomfar"
47901 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47902 ;;
47903 *)
47904 ;;
47905 esac
47906 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47907 mkdir ${D}dirname
47908 if [ ${D}? -ne 0 ]; then
47909 echo "Failed to create subdirectory ./${D}dirname"
47910 CleanUp
47911 exit 8;
47912 fi
47913 # Append '!' to indicate archive
47914 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47915 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47916 cd ${D}curDir
47917 found=0;
47918 for subfile in ${D}dirname/*.o* ; do
47919 if [ -f ${D}subfile ]; then
47920 found=1
47921 if [ -s ${D}subfile ]; then
47922 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47923 newInputFiles="${D}newInputFiles ${D}subfile"
47924 fi
47925 fi
47926 done
47927 if [ ${D}found -eq 0 ]; then
47928 echo "WARNING: there are no files in archive \\'${D}file\\'"
47929 fi
47930 ;;
47931 *)
47932 newInputFiles="${D}{newInputFiles} ${D}file"
47933 ;;
47934 esac
47935 done
47936 inputFiles="${D}newInputFiles"
47937
47938 # Output filename(s).
47939 do_backup=0;
47940 if [ -z ${D}outFile ]; then
47941 do_backup=1;
47942 set outFile ${D}inputFiles; outFile=${D}2
47943 fi
47944
47945 # If it is an archive, remove the '!' and the '_%' suffixes
47946 case ${D}outFile in
47947 *_%!)
47948 outFile=\`basnam ${D}outFile _%!\`
47949 ;;
47950 *)
47951 ;;
47952 esac
47953 case ${D}outFile in
47954 *.dll)
47955 outFile=\`basnam ${D}outFile .dll\`
47956 ;;
47957 *.DLL)
47958 outFile=\`basnam ${D}outFile .DLL\`
47959 ;;
47960 *.o)
47961 outFile=\`basnam ${D}outFile .o\`
47962 ;;
47963 *.obj)
47964 outFile=\`basnam ${D}outFile .obj\`
47965 ;;
47966 *.a)
47967 outFile=\`basnam ${D}outFile .a\`
47968 ;;
47969 *.lib)
47970 outFile=\`basnam ${D}outFile .lib\`
47971 ;;
47972 *)
47973 ;;
47974 esac
47975 case ${D}outimpFile in
47976 *.a)
47977 outimpFile=\`basnam ${D}outimpFile .a\`
47978 ;;
47979 *.lib)
47980 outimpFile=\`basnam ${D}outimpFile .lib\`
47981 ;;
47982 *)
47983 ;;
47984 esac
47985 if [ -z ${D}outimpFile ]; then
47986 outimpFile=${D}outFile
47987 fi
47988 defFile="${D}{outFile}.def"
47989 arcFile="${D}{outimpFile}.a"
47990 arcFile2="${D}{outimpFile}.lib"
47991
47992 #create ${D}dllFile as something matching 8.3 restrictions,
47993 if [ -z ${D}renameScript ] ; then
47994 dllFile="${D}outFile"
47995 else
47996 dllFile=\`${D}renameScript ${D}outimpFile\`
47997 fi
47998
47999 if [ ${D}do_backup -ne 0 ] ; then
48000 if [ -f ${D}arcFile ] ; then
48001 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48002 fi
48003 if [ -f ${D}arcFile2 ] ; then
48004 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48005 fi
48006 fi
48007
48008 # Extract public symbols from all the object files.
48009 tmpdefFile=${D}{defFile}_%
48010 rm -f ${D}tmpdefFile
48011 for file in ${D}inputFiles ; do
48012 case ${D}file in
48013 *!)
48014 ;;
48015 *)
48016 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48017 ;;
48018 esac
48019 done
48020
48021 # Create the def file.
48022 rm -f ${D}defFile
48023 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48024 dllFile="${D}{dllFile}.dll"
48025 if [ ! -z ${D}description ]; then
48026 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48027 fi
48028 echo "EXPORTS" >> ${D}defFile
48029
48030 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48031 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48032
48033 # Checks if the export is ok or not.
48034 for word in ${D}exclude_symbols; do
48035 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48036 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48037 done
48038
48039
48040 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48041 sed "=" < ${D}tmpdefFile | \\
48042 sed '
48043 N
48044 : loop
48045 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48046 t loop
48047 ' > ${D}{tmpdefFile}%
48048 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48049 else
48050 rm -f ${D}{tmpdefFile}%
48051 fi
48052 cat ${D}tmpdefFile >> ${D}defFile
48053 rm -f ${D}tmpdefFile
48054
48055 # Do linking, create implib, and apply lxlite.
48056 gccCmdl="";
48057 for file in ${D}inputFiles ; do
48058 case ${D}file in
48059 *!)
48060 ;;
48061 *)
48062 gccCmdl="${D}gccCmdl ${D}file"
48063 ;;
48064 esac
48065 done
48066 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48067 touch "${D}{outFile}.dll"
48068
48069 doCommand "emximp -o ${D}arcFile ${D}defFile"
48070 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48071 add_flags="";
48072 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48073 add_flags="-ynd"
48074 fi
48075 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48076 fi
48077 doCommand "emxomf -s -l ${D}arcFile"
48078
48079 # Successful exit.
48080 CleanUp 1
48081 exit 0
48082 EOF
48083
48084 chmod +x dllar.sh
48085 ;;
48086
48087 powerpc-apple-macos* | \
48088 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48089 *-*-mirbsd* | \
48090 *-*-sunos4* | \
48091 *-*-osf* | \
48092 *-*-dgux5* | \
48093 *-*-sysv5* | \
48094 *-pc-msdosdjgpp )
48095 ;;
48096
48097 *)
48098 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48099 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48100 { (exit 1); exit 1; }; }
48101 esac
48102
48103 if test "x$PIC_FLAG" != "x" ; then
48104 PIC_FLAG="$PIC_FLAG -DPIC"
48105 fi
48106
48107 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48108 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48109 fi
48110 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48111 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48112 fi
48113
48114
48115
48116
48117
48118
48119
48120
48121
48122 USE_SOVERSION=0
48123 USE_SOVERLINUX=0
48124 USE_SOVERSOLARIS=0
48125 USE_SOVERCYGWIN=0
48126 USE_SOSYMLINKS=0
48127 USE_MACVERSION=0
48128 SONAME_FLAG=
48129
48130 case "${BAKEFILE_HOST}" in
48131 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48132 if test "x$SUNCXX" = "xyes"; then
48133 SONAME_FLAG="-h "
48134 else
48135 SONAME_FLAG="-Wl,-soname,"
48136 fi
48137 USE_SOVERSION=1
48138 USE_SOVERLINUX=1
48139 USE_SOSYMLINKS=1
48140 ;;
48141
48142 *-*-solaris2* )
48143 SONAME_FLAG="-h "
48144 USE_SOVERSION=1
48145 USE_SOVERSOLARIS=1
48146 USE_SOSYMLINKS=1
48147 ;;
48148
48149 *-*-darwin* )
48150 USE_MACVERSION=1
48151 USE_SOVERSION=1
48152 USE_SOSYMLINKS=1
48153 ;;
48154
48155 *-*-cygwin* )
48156 USE_SOVERSION=1
48157 USE_SOVERCYGWIN=1
48158 ;;
48159 esac
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170 # Check whether --enable-dependency-tracking was given.
48171 if test "${enable_dependency_tracking+set}" = set; then
48172 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48173 fi
48174
48175
48176 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48177 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48178
48179 BK_DEPS=""
48180 if test "x$bk_use_trackdeps" = "xno" ; then
48181 DEPS_TRACKING=0
48182 { echo "$as_me:$LINENO: result: disabled" >&5
48183 echo "${ECHO_T}disabled" >&6; }
48184 else
48185 DEPS_TRACKING=1
48186
48187 if test "x$GCC" = "xyes"; then
48188 DEPSMODE=gcc
48189 case "${BAKEFILE_HOST}" in
48190 *-*-darwin* )
48191 DEPSFLAG="-no-cpp-precomp -MMD"
48192 ;;
48193 * )
48194 DEPSFLAG="-MMD"
48195 ;;
48196 esac
48197 { echo "$as_me:$LINENO: result: gcc" >&5
48198 echo "${ECHO_T}gcc" >&6; }
48199 elif test "x$MWCC" = "xyes"; then
48200 DEPSMODE=mwcc
48201 DEPSFLAG="-MM"
48202 { echo "$as_me:$LINENO: result: mwcc" >&5
48203 echo "${ECHO_T}mwcc" >&6; }
48204 elif test "x$SUNCC" = "xyes"; then
48205 DEPSMODE=unixcc
48206 DEPSFLAG="-xM1"
48207 { echo "$as_me:$LINENO: result: Sun cc" >&5
48208 echo "${ECHO_T}Sun cc" >&6; }
48209 elif test "x$SGICC" = "xyes"; then
48210 DEPSMODE=unixcc
48211 DEPSFLAG="-M"
48212 { echo "$as_me:$LINENO: result: SGI cc" >&5
48213 echo "${ECHO_T}SGI cc" >&6; }
48214 elif test "x$HPCC" = "xyes"; then
48215 DEPSMODE=unixcc
48216 DEPSFLAG="+make"
48217 { echo "$as_me:$LINENO: result: HP cc" >&5
48218 echo "${ECHO_T}HP cc" >&6; }
48219 elif test "x$COMPAQCC" = "xyes"; then
48220 DEPSMODE=gcc
48221 DEPSFLAG="-MD"
48222 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48223 echo "${ECHO_T}Compaq cc" >&6; }
48224 else
48225 DEPS_TRACKING=0
48226 { echo "$as_me:$LINENO: result: none" >&5
48227 echo "${ECHO_T}none" >&6; }
48228 fi
48229
48230 if test $DEPS_TRACKING = 1 ; then
48231
48232 D='$'
48233 cat <<EOF >bk-deps
48234 #!/bin/sh
48235
48236 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48237 # script. It is used to track C/C++ files dependencies in portable way.
48238 #
48239 # Permission is given to use this file in any way.
48240
48241 DEPSMODE=${DEPSMODE}
48242 DEPSDIR=.deps
48243 DEPSFLAG="${DEPSFLAG}"
48244
48245 mkdir -p ${D}DEPSDIR
48246
48247 if test ${D}DEPSMODE = gcc ; then
48248 ${D}* ${D}{DEPSFLAG}
48249 status=${D}?
48250 if test ${D}{status} != 0 ; then
48251 exit ${D}{status}
48252 fi
48253 # move created file to the location we want it in:
48254 while test ${D}# -gt 0; do
48255 case "${D}1" in
48256 -o )
48257 shift
48258 objfile=${D}1
48259 ;;
48260 -* )
48261 ;;
48262 * )
48263 srcfile=${D}1
48264 ;;
48265 esac
48266 shift
48267 done
48268 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48269 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48270 if test -f ${D}depfile ; then
48271 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48272 rm -f ${D}depfile
48273 else
48274 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48275 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48276 if test ! -f ${D}depfile ; then
48277 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48278 depfile="${D}objfile.d"
48279 fi
48280 if test -f ${D}depfile ; then
48281 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48282 rm -f ${D}depfile
48283 fi
48284 fi
48285 exit 0
48286 elif test ${D}DEPSMODE = mwcc ; then
48287 ${D}* || exit ${D}?
48288 # Run mwcc again with -MM and redirect into the dep file we want
48289 # NOTE: We can't use shift here because we need ${D}* to be valid
48290 prevarg=
48291 for arg in ${D}* ; do
48292 if test "${D}prevarg" = "-o"; then
48293 objfile=${D}arg
48294 else
48295 case "${D}arg" in
48296 -* )
48297 ;;
48298 * )
48299 srcfile=${D}arg
48300 ;;
48301 esac
48302 fi
48303 prevarg="${D}arg"
48304 done
48305 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48306 exit 0
48307 elif test ${D}DEPSMODE = unixcc; then
48308 ${D}* || exit ${D}?
48309 # Run compiler again with deps flag and redirect into the dep file.
48310 # It doesn't work if the '-o FILE' option is used, but without it the
48311 # dependency file will contain the wrong name for the object. So it is
48312 # removed from the command line, and the dep file is fixed with sed.
48313 cmd=""
48314 while test ${D}# -gt 0; do
48315 case "${D}1" in
48316 -o )
48317 shift
48318 objfile=${D}1
48319 ;;
48320 * )
48321 eval arg${D}#=\\${D}1
48322 cmd="${D}cmd \\${D}arg${D}#"
48323 ;;
48324 esac
48325 shift
48326 done
48327 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48328 exit 0
48329 else
48330 ${D}*
48331 exit ${D}?
48332 fi
48333 EOF
48334
48335 chmod +x bk-deps
48336 BK_DEPS="`pwd`/bk-deps"
48337 fi
48338 fi
48339
48340
48341
48342
48343
48344 case ${BAKEFILE_HOST} in
48345 *-*-cygwin* | *-*-mingw32* )
48346 if test -n "$ac_tool_prefix"; then
48347 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48348 set dummy ${ac_tool_prefix}windres; ac_word=$2
48349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48351 if test "${ac_cv_prog_WINDRES+set}" = set; then
48352 echo $ECHO_N "(cached) $ECHO_C" >&6
48353 else
48354 if test -n "$WINDRES"; then
48355 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48356 else
48357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48358 for as_dir in $PATH
48359 do
48360 IFS=$as_save_IFS
48361 test -z "$as_dir" && as_dir=.
48362 for ac_exec_ext in '' $ac_executable_extensions; do
48363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48364 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48366 break 2
48367 fi
48368 done
48369 done
48370 IFS=$as_save_IFS
48371
48372 fi
48373 fi
48374 WINDRES=$ac_cv_prog_WINDRES
48375 if test -n "$WINDRES"; then
48376 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48377 echo "${ECHO_T}$WINDRES" >&6; }
48378 else
48379 { echo "$as_me:$LINENO: result: no" >&5
48380 echo "${ECHO_T}no" >&6; }
48381 fi
48382
48383
48384 fi
48385 if test -z "$ac_cv_prog_WINDRES"; then
48386 ac_ct_WINDRES=$WINDRES
48387 # Extract the first word of "windres", so it can be a program name with args.
48388 set dummy windres; ac_word=$2
48389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48391 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48392 echo $ECHO_N "(cached) $ECHO_C" >&6
48393 else
48394 if test -n "$ac_ct_WINDRES"; then
48395 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48396 else
48397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48398 for as_dir in $PATH
48399 do
48400 IFS=$as_save_IFS
48401 test -z "$as_dir" && as_dir=.
48402 for ac_exec_ext in '' $ac_executable_extensions; do
48403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48404 ac_cv_prog_ac_ct_WINDRES="windres"
48405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48406 break 2
48407 fi
48408 done
48409 done
48410 IFS=$as_save_IFS
48411
48412 fi
48413 fi
48414 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48415 if test -n "$ac_ct_WINDRES"; then
48416 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48417 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48418 else
48419 { echo "$as_me:$LINENO: result: no" >&5
48420 echo "${ECHO_T}no" >&6; }
48421 fi
48422
48423 if test "x$ac_ct_WINDRES" = x; then
48424 WINDRES=""
48425 else
48426 case $cross_compiling:$ac_tool_warned in
48427 yes:)
48428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48429 whose name does not start with the host triplet. If you think this
48430 configuration is useful to you, please write to autoconf@gnu.org." >&5
48431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48432 whose name does not start with the host triplet. If you think this
48433 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48434 ac_tool_warned=yes ;;
48435 esac
48436 WINDRES=$ac_ct_WINDRES
48437 fi
48438 else
48439 WINDRES="$ac_cv_prog_WINDRES"
48440 fi
48441
48442 ;;
48443
48444 *-*-darwin* | powerpc-apple-macos* )
48445 # Extract the first word of "Rez", so it can be a program name with args.
48446 set dummy Rez; ac_word=$2
48447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48449 if test "${ac_cv_prog_REZ+set}" = set; then
48450 echo $ECHO_N "(cached) $ECHO_C" >&6
48451 else
48452 if test -n "$REZ"; then
48453 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48454 else
48455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48456 for as_dir in $PATH
48457 do
48458 IFS=$as_save_IFS
48459 test -z "$as_dir" && as_dir=.
48460 for ac_exec_ext in '' $ac_executable_extensions; do
48461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48462 ac_cv_prog_REZ="Rez"
48463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48464 break 2
48465 fi
48466 done
48467 done
48468 IFS=$as_save_IFS
48469
48470 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48471 fi
48472 fi
48473 REZ=$ac_cv_prog_REZ
48474 if test -n "$REZ"; then
48475 { echo "$as_me:$LINENO: result: $REZ" >&5
48476 echo "${ECHO_T}$REZ" >&6; }
48477 else
48478 { echo "$as_me:$LINENO: result: no" >&5
48479 echo "${ECHO_T}no" >&6; }
48480 fi
48481
48482
48483 # Extract the first word of "SetFile", so it can be a program name with args.
48484 set dummy SetFile; ac_word=$2
48485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48487 if test "${ac_cv_prog_SETFILE+set}" = set; then
48488 echo $ECHO_N "(cached) $ECHO_C" >&6
48489 else
48490 if test -n "$SETFILE"; then
48491 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48492 else
48493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48494 for as_dir in $PATH
48495 do
48496 IFS=$as_save_IFS
48497 test -z "$as_dir" && as_dir=.
48498 for ac_exec_ext in '' $ac_executable_extensions; do
48499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48500 ac_cv_prog_SETFILE="SetFile"
48501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48502 break 2
48503 fi
48504 done
48505 done
48506 IFS=$as_save_IFS
48507
48508 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48509 fi
48510 fi
48511 SETFILE=$ac_cv_prog_SETFILE
48512 if test -n "$SETFILE"; then
48513 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48514 echo "${ECHO_T}$SETFILE" >&6; }
48515 else
48516 { echo "$as_me:$LINENO: result: no" >&5
48517 echo "${ECHO_T}no" >&6; }
48518 fi
48519
48520
48521 ;;
48522 esac
48523
48524
48525
48526
48527
48528
48529 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48530
48531
48532 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48533
48534
48535
48536 # Check whether --enable-precomp-headers was given.
48537 if test "${enable_precomp_headers+set}" = set; then
48538 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48539 fi
48540
48541
48542 GCC_PCH=0
48543 ICC_PCH=0
48544 USE_PCH=0
48545 BK_MAKE_PCH=""
48546
48547 case ${BAKEFILE_HOST} in
48548 *-*-cygwin* )
48549 bk_use_pch="no"
48550 ;;
48551 esac
48552
48553 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48554 if test "x$GCC" = "xyes"; then
48555 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48556 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48557 cat >conftest.$ac_ext <<_ACEOF
48558 /* confdefs.h. */
48559 _ACEOF
48560 cat confdefs.h >>conftest.$ac_ext
48561 cat >>conftest.$ac_ext <<_ACEOF
48562 /* end confdefs.h. */
48563
48564 int
48565 main ()
48566 {
48567
48568 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48569 There is no PCH support
48570 #endif
48571 #if (__GNUC__ < 3)
48572 There is no PCH support
48573 #endif
48574 #if (__GNUC__ == 3) && \
48575 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48576 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48577 ( defined(__INTEL_COMPILER) )
48578 There is no PCH support
48579 #endif
48580
48581 ;
48582 return 0;
48583 }
48584 _ACEOF
48585 rm -f conftest.$ac_objext
48586 if { (ac_try="$ac_compile"
48587 case "(($ac_try" in
48588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48589 *) ac_try_echo=$ac_try;;
48590 esac
48591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48592 (eval "$ac_compile") 2>conftest.er1
48593 ac_status=$?
48594 grep -v '^ *+' conftest.er1 >conftest.err
48595 rm -f conftest.er1
48596 cat conftest.err >&5
48597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48598 (exit $ac_status); } && {
48599 test -z "$ac_c_werror_flag" ||
48600 test ! -s conftest.err
48601 } && test -s conftest.$ac_objext; then
48602
48603 { echo "$as_me:$LINENO: result: yes" >&5
48604 echo "${ECHO_T}yes" >&6; }
48605 GCC_PCH=1
48606
48607 else
48608 echo "$as_me: failed program was:" >&5
48609 sed 's/^/| /' conftest.$ac_ext >&5
48610
48611
48612 cat >conftest.$ac_ext <<_ACEOF
48613 /* confdefs.h. */
48614 _ACEOF
48615 cat confdefs.h >>conftest.$ac_ext
48616 cat >>conftest.$ac_ext <<_ACEOF
48617 /* end confdefs.h. */
48618
48619 int
48620 main ()
48621 {
48622
48623 #if !defined(__INTEL_COMPILER) || \
48624 (__INTEL_COMPILER < 800)
48625 There is no PCH support
48626 #endif
48627
48628 ;
48629 return 0;
48630 }
48631 _ACEOF
48632 rm -f conftest.$ac_objext
48633 if { (ac_try="$ac_compile"
48634 case "(($ac_try" in
48635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48636 *) ac_try_echo=$ac_try;;
48637 esac
48638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48639 (eval "$ac_compile") 2>conftest.er1
48640 ac_status=$?
48641 grep -v '^ *+' conftest.er1 >conftest.err
48642 rm -f conftest.er1
48643 cat conftest.err >&5
48644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48645 (exit $ac_status); } && {
48646 test -z "$ac_c_werror_flag" ||
48647 test ! -s conftest.err
48648 } && test -s conftest.$ac_objext; then
48649
48650 { echo "$as_me:$LINENO: result: yes" >&5
48651 echo "${ECHO_T}yes" >&6; }
48652 ICC_PCH=1
48653
48654 else
48655 echo "$as_me: failed program was:" >&5
48656 sed 's/^/| /' conftest.$ac_ext >&5
48657
48658
48659 { echo "$as_me:$LINENO: result: no" >&5
48660 echo "${ECHO_T}no" >&6; }
48661
48662 fi
48663
48664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48665
48666 fi
48667
48668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48669 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48670 USE_PCH=1
48671
48672 D='$'
48673 cat <<EOF >bk-make-pch
48674 #!/bin/sh
48675
48676 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48677 # script. It is used to generated precompiled headers.
48678 #
48679 # Permission is given to use this file in any way.
48680
48681 outfile="${D}{1}"
48682 header="${D}{2}"
48683 shift
48684 shift
48685
48686 compiler=""
48687 headerfile=""
48688
48689 while test ${D}{#} -gt 0; do
48690 add_to_cmdline=1
48691 case "${D}{1}" in
48692 -I* )
48693 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48694 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48695 headerfile="${D}{incdir}/${D}{header}"
48696 fi
48697 ;;
48698 -use-pch|-use_pch )
48699 shift
48700 add_to_cmdline=0
48701 ;;
48702 esac
48703 if test ${D}add_to_cmdline = 1 ; then
48704 compiler="${D}{compiler} ${D}{1}"
48705 fi
48706 shift
48707 done
48708
48709 if test "x${D}{headerfile}" = "x" ; then
48710 echo "error: can't find header ${D}{header} in include paths" >&2
48711 else
48712 if test -f ${D}{outfile} ; then
48713 rm -f ${D}{outfile}
48714 else
48715 mkdir -p \`dirname ${D}{outfile}\`
48716 fi
48717 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48718 mkdir -p .deps
48719 if test "x${GCC_PCH}" = "x1" ; then
48720 # can do this because gcc is >= 3.4:
48721 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48722 elif test "x${ICC_PCH}" = "x1" ; then
48723 filename=pch_gen-${D}${D}
48724 file=${D}{filename}.c
48725 dfile=${D}{filename}.d
48726 cat > ${D}file <<EOT
48727 #include "${D}header"
48728 EOT
48729 # using -MF icc complains about differing command lines in creation/use
48730 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48731 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48732 rm -f ${D}file ${D}dfile ${D}{filename}.o
48733 fi
48734 exit ${D}{?}
48735 fi
48736 EOF
48737
48738 chmod +x bk-make-pch
48739 BK_MAKE_PCH="`pwd`/bk-make-pch"
48740 fi
48741 fi
48742 fi
48743
48744
48745
48746
48747
48748 COND_BUILD_DEBUG="#"
48749 if test "x$BUILD" = "xdebug" ; then
48750 COND_BUILD_DEBUG=""
48751 fi
48752
48753 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48754 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48755 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48756 fi
48757
48758 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48759 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48760 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48761 fi
48762
48763 COND_BUILD_DEBUG_UNICODE_0="#"
48764 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48765 COND_BUILD_DEBUG_UNICODE_0=""
48766 fi
48767
48768 COND_BUILD_DEBUG_UNICODE_1="#"
48769 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48770 COND_BUILD_DEBUG_UNICODE_1=""
48771 fi
48772
48773 COND_BUILD_RELEASE="#"
48774 if test "x$BUILD" = "xrelease" ; then
48775 COND_BUILD_RELEASE=""
48776 fi
48777
48778 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48779 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48780 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48781 fi
48782
48783 COND_BUILD_RELEASE_UNICODE_0="#"
48784 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48785 COND_BUILD_RELEASE_UNICODE_0=""
48786 fi
48787
48788 COND_BUILD_RELEASE_UNICODE_1="#"
48789 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48790 COND_BUILD_RELEASE_UNICODE_1=""
48791 fi
48792
48793 COND_DEBUG_FLAG_1="#"
48794 if test "x$DEBUG_FLAG" = "x1" ; then
48795 COND_DEBUG_FLAG_1=""
48796 fi
48797
48798 COND_DEBUG_INFO_0="#"
48799 if test "x$DEBUG_INFO" = "x0" ; then
48800 COND_DEBUG_INFO_0=""
48801 fi
48802
48803 COND_DEBUG_INFO_1="#"
48804 if test "x$DEBUG_INFO" = "x1" ; then
48805 COND_DEBUG_INFO_1=""
48806 fi
48807
48808 COND_DEPS_TRACKING_0="#"
48809 if test "x$DEPS_TRACKING" = "x0" ; then
48810 COND_DEPS_TRACKING_0=""
48811 fi
48812
48813 COND_DEPS_TRACKING_1="#"
48814 if test "x$DEPS_TRACKING" = "x1" ; then
48815 COND_DEPS_TRACKING_1=""
48816 fi
48817
48818 COND_GCC_PCH_1="#"
48819 if test "x$GCC_PCH" = "x1" ; then
48820 COND_GCC_PCH_1=""
48821 fi
48822
48823 COND_ICC_PCH_1="#"
48824 if test "x$ICC_PCH" = "x1" ; then
48825 COND_ICC_PCH_1=""
48826 fi
48827
48828 COND_MONOLITHIC_0="#"
48829 if test "x$MONOLITHIC" = "x0" ; then
48830 COND_MONOLITHIC_0=""
48831 fi
48832
48833 COND_MONOLITHIC_0_SHARED_0="#"
48834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48835 COND_MONOLITHIC_0_SHARED_0=""
48836 fi
48837
48838 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48841 fi
48842
48843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48846 fi
48847
48848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48851 fi
48852
48853 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48855 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48856 fi
48857
48858 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48861 fi
48862
48863 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48865 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48866 fi
48867
48868 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48870 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48871 fi
48872
48873 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48875 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48876 fi
48877
48878 COND_MONOLITHIC_0_SHARED_1="#"
48879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48880 COND_MONOLITHIC_0_SHARED_1=""
48881 fi
48882
48883 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48885 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48886 fi
48887
48888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48891 fi
48892
48893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48896 fi
48897
48898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48900 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48901 fi
48902
48903 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48905 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48906 fi
48907
48908 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48910 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48911 fi
48912
48913 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48915 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48916 fi
48917
48918 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48920 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48921 fi
48922
48923 COND_MONOLITHIC_0_USE_AUI_1="#"
48924 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48925 COND_MONOLITHIC_0_USE_AUI_1=""
48926 fi
48927
48928 COND_MONOLITHIC_0_USE_GUI_1="#"
48929 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48930 COND_MONOLITHIC_0_USE_GUI_1=""
48931 fi
48932
48933 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48934 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48935 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48936 fi
48937
48938 COND_MONOLITHIC_0_USE_HTML_1="#"
48939 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48940 COND_MONOLITHIC_0_USE_HTML_1=""
48941 fi
48942
48943 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48944 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48945 COND_MONOLITHIC_0_USE_MEDIA_1=""
48946 fi
48947
48948 COND_MONOLITHIC_0_USE_QA_1="#"
48949 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48950 COND_MONOLITHIC_0_USE_QA_1=""
48951 fi
48952
48953 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48954 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48955 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48956 fi
48957
48958 COND_MONOLITHIC_0_USE_STC_1="#"
48959 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48960 COND_MONOLITHIC_0_USE_STC_1=""
48961 fi
48962
48963 COND_MONOLITHIC_0_USE_XRC_1="#"
48964 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48965 COND_MONOLITHIC_0_USE_XRC_1=""
48966 fi
48967
48968 COND_MONOLITHIC_1="#"
48969 if test "x$MONOLITHIC" = "x1" ; then
48970 COND_MONOLITHIC_1=""
48971 fi
48972
48973 COND_MONOLITHIC_1_SHARED_0="#"
48974 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48975 COND_MONOLITHIC_1_SHARED_0=""
48976 fi
48977
48978 COND_MONOLITHIC_1_SHARED_1="#"
48979 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48980 COND_MONOLITHIC_1_SHARED_1=""
48981 fi
48982
48983 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48984 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48985 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48986 fi
48987
48988 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48989 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48990 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48991 fi
48992
48993 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48994 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48995 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48996 fi
48997
48998 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48999 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49000 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49001 fi
49002
49003 COND_PLATFORM_MACOSX_1="#"
49004 if test "x$PLATFORM_MACOSX" = "x1" ; then
49005 COND_PLATFORM_MACOSX_1=""
49006 fi
49007
49008 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49010 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49011 fi
49012
49013 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49015 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49016 fi
49017
49018 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49020 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49021 fi
49022
49023 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49025 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49026 fi
49027
49028 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49030 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49031 fi
49032
49033 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49035 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49036 fi
49037
49038 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49039 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49040 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49041 fi
49042
49043 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49044 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49045 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49046 fi
49047
49048 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49049 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49050 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49051 fi
49052
49053 COND_PLATFORM_MACOS_1="#"
49054 if test "x$PLATFORM_MACOS" = "x1" ; then
49055 COND_PLATFORM_MACOS_1=""
49056 fi
49057
49058 COND_PLATFORM_MAC_1="#"
49059 if test "x$PLATFORM_MAC" = "x1" ; then
49060 COND_PLATFORM_MAC_1=""
49061 fi
49062
49063 COND_PLATFORM_MSDOS_0="#"
49064 if test "x$PLATFORM_MSDOS" = "x0" ; then
49065 COND_PLATFORM_MSDOS_0=""
49066 fi
49067
49068 COND_PLATFORM_MSDOS_1="#"
49069 if test "x$PLATFORM_MSDOS" = "x1" ; then
49070 COND_PLATFORM_MSDOS_1=""
49071 fi
49072
49073 COND_PLATFORM_OS2_1="#"
49074 if test "x$PLATFORM_OS2" = "x1" ; then
49075 COND_PLATFORM_OS2_1=""
49076 fi
49077
49078 COND_PLATFORM_UNIX_0="#"
49079 if test "x$PLATFORM_UNIX" = "x0" ; then
49080 COND_PLATFORM_UNIX_0=""
49081 fi
49082
49083 COND_PLATFORM_UNIX_1="#"
49084 if test "x$PLATFORM_UNIX" = "x1" ; then
49085 COND_PLATFORM_UNIX_1=""
49086 fi
49087
49088 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49089 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49090 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49091 fi
49092
49093 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49094 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49095 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49096 fi
49097
49098 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49099 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49100 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49101 fi
49102
49103 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49104 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49105 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49106 fi
49107
49108 COND_PLATFORM_WIN32_0="#"
49109 if test "x$PLATFORM_WIN32" = "x0" ; then
49110 COND_PLATFORM_WIN32_0=""
49111 fi
49112
49113 COND_PLATFORM_WIN32_1="#"
49114 if test "x$PLATFORM_WIN32" = "x1" ; then
49115 COND_PLATFORM_WIN32_1=""
49116 fi
49117
49118 COND_SHARED_0="#"
49119 if test "x$SHARED" = "x0" ; then
49120 COND_SHARED_0=""
49121 fi
49122
49123 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49124 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49125 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49126 fi
49127
49128 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49129 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49130 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49131 fi
49132
49133 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49134 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49135 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49136 fi
49137
49138 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49139 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49140 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49141 fi
49142
49143 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49144 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49145 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49146 fi
49147
49148 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49149 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49150 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49151 fi
49152
49153 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49154 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49155 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49156 fi
49157
49158 COND_SHARED_0_USE_STC_1="#"
49159 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49160 COND_SHARED_0_USE_STC_1=""
49161 fi
49162
49163 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49164 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49165 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49166 fi
49167
49168 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49169 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49170 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49171 fi
49172
49173 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49174 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49175 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49176 fi
49177
49178 COND_SHARED_1="#"
49179 if test "x$SHARED" = "x1" ; then
49180 COND_SHARED_1=""
49181 fi
49182
49183 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49184 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49185 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49186 fi
49187
49188 COND_TOOLKIT_="#"
49189 if test "x$TOOLKIT" = "x" ; then
49190 COND_TOOLKIT_=""
49191 fi
49192
49193 COND_TOOLKIT_COCOA="#"
49194 if test "x$TOOLKIT" = "xCOCOA" ; then
49195 COND_TOOLKIT_COCOA=""
49196 fi
49197
49198 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49199 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49200 COND_TOOLKIT_COCOA_USE_GUI_1=""
49201 fi
49202
49203 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49204 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49205 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49206 fi
49207
49208 COND_TOOLKIT_DFB="#"
49209 if test "x$TOOLKIT" = "xDFB" ; then
49210 COND_TOOLKIT_DFB=""
49211 fi
49212
49213 COND_TOOLKIT_DFB_USE_GUI_1="#"
49214 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49215 COND_TOOLKIT_DFB_USE_GUI_1=""
49216 fi
49217
49218 COND_TOOLKIT_GTK="#"
49219 if test "x$TOOLKIT" = "xGTK" ; then
49220 COND_TOOLKIT_GTK=""
49221 fi
49222
49223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49226 fi
49227
49228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49231 fi
49232
49233 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49235 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49236 fi
49237
49238 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49239 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49240 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49241 fi
49242
49243 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49244 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49245 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49246 fi
49247
49248 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49249 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49250 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49251 fi
49252
49253 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49254 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49255 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49256 fi
49257
49258 COND_TOOLKIT_GTK_USE_GUI_1="#"
49259 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49260 COND_TOOLKIT_GTK_USE_GUI_1=""
49261 fi
49262
49263 COND_TOOLKIT_MAC="#"
49264 if test "x$TOOLKIT" = "xMAC" ; then
49265 COND_TOOLKIT_MAC=""
49266 fi
49267
49268 COND_TOOLKIT_MAC_USE_GUI_1="#"
49269 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49270 COND_TOOLKIT_MAC_USE_GUI_1=""
49271 fi
49272
49273 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49274 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49275 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49276 fi
49277
49278 COND_TOOLKIT_MGL="#"
49279 if test "x$TOOLKIT" = "xMGL" ; then
49280 COND_TOOLKIT_MGL=""
49281 fi
49282
49283 COND_TOOLKIT_MGL_USE_GUI_1="#"
49284 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49285 COND_TOOLKIT_MGL_USE_GUI_1=""
49286 fi
49287
49288 COND_TOOLKIT_MOTIF="#"
49289 if test "x$TOOLKIT" = "xMOTIF" ; then
49290 COND_TOOLKIT_MOTIF=""
49291 fi
49292
49293 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49294 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49295 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49296 fi
49297
49298 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49299 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49300 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49301 fi
49302
49303 COND_TOOLKIT_MSW="#"
49304 if test "x$TOOLKIT" = "xMSW" ; then
49305 COND_TOOLKIT_MSW=""
49306 fi
49307
49308 COND_TOOLKIT_MSW_USE_GUI_1="#"
49309 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49310 COND_TOOLKIT_MSW_USE_GUI_1=""
49311 fi
49312
49313 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49314 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49315 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49316 fi
49317
49318 COND_TOOLKIT_MSW_WXUNIV_0="#"
49319 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49320 COND_TOOLKIT_MSW_WXUNIV_0=""
49321 fi
49322
49323 COND_TOOLKIT_PM="#"
49324 if test "x$TOOLKIT" = "xPM" ; then
49325 COND_TOOLKIT_PM=""
49326 fi
49327
49328 COND_TOOLKIT_PM_USE_GUI_1="#"
49329 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49330 COND_TOOLKIT_PM_USE_GUI_1=""
49331 fi
49332
49333 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49334 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49335 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49336 fi
49337
49338 COND_TOOLKIT_WINCE="#"
49339 if test "x$TOOLKIT" = "xWINCE" ; then
49340 COND_TOOLKIT_WINCE=""
49341 fi
49342
49343 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49344 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49345 COND_TOOLKIT_WINCE_USE_GUI_1=""
49346 fi
49347
49348 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49349 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49350 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49351 fi
49352
49353 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49354 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49355 COND_TOOLKIT_WINCE_WXUNIV_0=""
49356 fi
49357
49358 COND_TOOLKIT_X11="#"
49359 if test "x$TOOLKIT" = "xX11" ; then
49360 COND_TOOLKIT_X11=""
49361 fi
49362
49363 COND_TOOLKIT_X11_USE_GUI_1="#"
49364 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49365 COND_TOOLKIT_X11_USE_GUI_1=""
49366 fi
49367
49368 COND_UNICODE_1="#"
49369 if test "x$UNICODE" = "x1" ; then
49370 COND_UNICODE_1=""
49371 fi
49372
49373 COND_USE_EXCEPTIONS_0="#"
49374 if test "x$USE_EXCEPTIONS" = "x0" ; then
49375 COND_USE_EXCEPTIONS_0=""
49376 fi
49377
49378 COND_USE_EXCEPTIONS_1="#"
49379 if test "x$USE_EXCEPTIONS" = "x1" ; then
49380 COND_USE_EXCEPTIONS_1=""
49381 fi
49382
49383 COND_USE_GUI_0="#"
49384 if test "x$USE_GUI" = "x0" ; then
49385 COND_USE_GUI_0=""
49386 fi
49387
49388 COND_USE_GUI_1="#"
49389 if test "x$USE_GUI" = "x1" ; then
49390 COND_USE_GUI_1=""
49391 fi
49392
49393 COND_USE_GUI_1_USE_OPENGL_1="#"
49394 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49395 COND_USE_GUI_1_USE_OPENGL_1=""
49396 fi
49397
49398 COND_USE_GUI_1_WXUNIV_0="#"
49399 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49400 COND_USE_GUI_1_WXUNIV_0=""
49401 fi
49402
49403 COND_USE_GUI_1_WXUNIV_1="#"
49404 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49405 COND_USE_GUI_1_WXUNIV_1=""
49406 fi
49407
49408 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49409 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49410 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49411 fi
49412
49413 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49414 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49415 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49416 fi
49417
49418 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49419 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49420 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49421 fi
49422
49423 COND_USE_OPENGL_1="#"
49424 if test "x$USE_OPENGL" = "x1" ; then
49425 COND_USE_OPENGL_1=""
49426 fi
49427
49428 COND_USE_PCH_1="#"
49429 if test "x$USE_PCH" = "x1" ; then
49430 COND_USE_PCH_1=""
49431 fi
49432
49433 COND_USE_PLUGINS_0="#"
49434 if test "x$USE_PLUGINS" = "x0" ; then
49435 COND_USE_PLUGINS_0=""
49436 fi
49437
49438 COND_USE_RTTI_0="#"
49439 if test "x$USE_RTTI" = "x0" ; then
49440 COND_USE_RTTI_0=""
49441 fi
49442
49443 COND_USE_RTTI_1="#"
49444 if test "x$USE_RTTI" = "x1" ; then
49445 COND_USE_RTTI_1=""
49446 fi
49447
49448 COND_USE_SOSYMLINKS_1="#"
49449 if test "x$USE_SOSYMLINKS" = "x1" ; then
49450 COND_USE_SOSYMLINKS_1=""
49451 fi
49452
49453 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49454 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49455 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49456 fi
49457
49458 COND_USE_SOVERLINUX_1="#"
49459 if test "x$USE_SOVERLINUX" = "x1" ; then
49460 COND_USE_SOVERLINUX_1=""
49461 fi
49462
49463 COND_USE_SOVERSION_0="#"
49464 if test "x$USE_SOVERSION" = "x0" ; then
49465 COND_USE_SOVERSION_0=""
49466 fi
49467
49468 COND_USE_SOVERSOLARIS_1="#"
49469 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49470 COND_USE_SOVERSOLARIS_1=""
49471 fi
49472
49473 COND_USE_STC_1="#"
49474 if test "x$USE_STC" = "x1" ; then
49475 COND_USE_STC_1=""
49476 fi
49477
49478 COND_USE_THREADS_0="#"
49479 if test "x$USE_THREADS" = "x0" ; then
49480 COND_USE_THREADS_0=""
49481 fi
49482
49483 COND_USE_THREADS_1="#"
49484 if test "x$USE_THREADS" = "x1" ; then
49485 COND_USE_THREADS_1=""
49486 fi
49487
49488 COND_USE_XRC_1="#"
49489 if test "x$USE_XRC" = "x1" ; then
49490 COND_USE_XRC_1=""
49491 fi
49492
49493 COND_WINDOWS_IMPLIB_1="#"
49494 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49495 COND_WINDOWS_IMPLIB_1=""
49496 fi
49497
49498 COND_WITH_PLUGIN_SDL_1="#"
49499 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49500 COND_WITH_PLUGIN_SDL_1=""
49501 fi
49502
49503 COND_WXUNIV_0="#"
49504 if test "x$WXUNIV" = "x0" ; then
49505 COND_WXUNIV_0=""
49506 fi
49507
49508 COND_WXUNIV_1="#"
49509 if test "x$WXUNIV" = "x1" ; then
49510 COND_WXUNIV_1=""
49511 fi
49512
49513 COND_WXUSE_EXPAT_BUILTIN="#"
49514 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49515 COND_WXUSE_EXPAT_BUILTIN=""
49516 fi
49517
49518 COND_WXUSE_LIBJPEG_BUILTIN="#"
49519 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49520 COND_WXUSE_LIBJPEG_BUILTIN=""
49521 fi
49522
49523 COND_WXUSE_LIBPNG_BUILTIN="#"
49524 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49525 COND_WXUSE_LIBPNG_BUILTIN=""
49526 fi
49527
49528 COND_WXUSE_LIBTIFF_BUILTIN="#"
49529 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49530 COND_WXUSE_LIBTIFF_BUILTIN=""
49531 fi
49532
49533 COND_WXUSE_REGEX_BUILTIN="#"
49534 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49535 COND_WXUSE_REGEX_BUILTIN=""
49536 fi
49537
49538 COND_WXUSE_ZLIB_BUILTIN="#"
49539 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49540 COND_WXUSE_ZLIB_BUILTIN=""
49541 fi
49542
49543
49544
49545 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49546 { { 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
49547 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;}
49548 { (exit 1); exit 1; }; }
49549 fi
49550
49551 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49552 { { 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
49553 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;}
49554 { (exit 1); exit 1; }; }
49555 fi
49556
49557
49558 case ${INSTALL} in
49559 /* ) # Absolute
49560 ;;
49561 ?:* ) # Drive letter, considered as absolute.
49562 ;;
49563 *)
49564 INSTALL=`pwd`/${INSTALL} ;;
49565 esac
49566
49567 if test "$wxUSE_GUI" = "yes"; then
49568
49569 if test "$wxUSE_MSW" = 1 ; then
49570 if test "x$WINDRES" = "x"; then
49571 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49572 echo "$as_me: error: Required windres program not found" >&2;}
49573 { (exit 1); exit 1; }; }
49574 fi
49575
49576 RESCOMP="$WINDRES"
49577 fi
49578
49579 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49580 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49581 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49582
49583 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49584
49585 # Extract the first word of "DeRez", so it can be a program name with args.
49586 set dummy DeRez; ac_word=$2
49587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49589 if test "${ac_cv_prog_DEREZ+set}" = set; then
49590 echo $ECHO_N "(cached) $ECHO_C" >&6
49591 else
49592 if test -n "$DEREZ"; then
49593 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49594 else
49595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49596 for as_dir in $PATH
49597 do
49598 IFS=$as_save_IFS
49599 test -z "$as_dir" && as_dir=.
49600 for ac_exec_ext in '' $ac_executable_extensions; do
49601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49602 ac_cv_prog_DEREZ="DeRez"
49603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49604 break 2
49605 fi
49606 done
49607 done
49608 IFS=$as_save_IFS
49609
49610 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49611 fi
49612 fi
49613 DEREZ=$ac_cv_prog_DEREZ
49614 if test -n "$DEREZ"; then
49615 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49616 echo "${ECHO_T}$DEREZ" >&6; }
49617 else
49618 { echo "$as_me:$LINENO: result: no" >&5
49619 echo "${ECHO_T}no" >&6; }
49620 fi
49621
49622
49623
49624 MACSETFILE="\$(SETFILE)"
49625
49626 if test "$wxUSE_MAC" = 1; then
49627 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49628 RESCOMP="$REZ"
49629 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49630 else
49631 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49632 RESCOMP="cat /dev/null \| $REZ"
49633 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49634 fi
49635
49636 else
49637 MACSETFILE="@true"
49638
49639 if test "$wxUSE_PM" = 1; then
49640 RESCOMP="emxbind"
49641 WXCONFIG_RESFLAGS="-ep"
49642
49643 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49644 else
49645 POSTLINK_COMMAND="@true"
49646 fi
49647 fi
49648
49649 fi
49650
49651
49652 if test $GCC_PCH = 1
49653 then
49654 if test "$wx_cv_gcc_pch_bug" = yes; then
49655 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49656 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49657 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49658 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49659 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49660 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49661 fi
49662
49663 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49664 fi
49665
49666
49667 if test "$wxUSE_MAC" = 1 ; then
49668 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49669 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49670 mv temp bk-deps
49671 chmod +x bk-deps
49672 fi
49673 fi
49674
49675 if test "$wxUSE_SHARED" = "yes"; then
49676 case "${host}" in
49677 *-pc-os2_emx | *-pc-os2-emx )
49678 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49679 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49680 cp -p ${srcdir}/src/os2/dllnames.sh .
49681 cp -p ${srcdir}/src/os2/dllar.sh .
49682 ;;
49683 esac
49684 fi
49685 if test "$wxUSE_OMF" = "yes"; then
49686 case "${host}" in
49687 *-pc-os2_emx | *-pc-os2-emx )
49688 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49689 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49690 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49691 ;;
49692 esac
49693 fi
49694
49695 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49696
49697
49698 case "${host}" in
49699 *-*-solaris2* )
49700 if test "$GCC" = yes; then
49701 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49702 LIBS=`echo $LIBS | sed 's/-mt//'`
49703 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49704 fi
49705 ;;
49706
49707 *-*-linux* )
49708 if test "x$SUNCXX" = xyes; then
49709 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49710 LIBS=`echo $LIBS | sed 's/-pthread//'`
49711 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49712 fi
49713 ;;
49714 esac
49715
49716 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49717 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49718
49719 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737
49738
49739
49740
49741
49742
49743
49744
49745
49746
49747
49748
49749
49750
49751
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778
49779
49780 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49781 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49782 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49783 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49784 echo $ECHO_N "(cached) $ECHO_C" >&6
49785 else
49786 cat >conftest.make <<\_ACEOF
49787 SHELL = /bin/sh
49788 all:
49789 @echo '@@@%%%=$(MAKE)=@@@%%%'
49790 _ACEOF
49791 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49792 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49793 *@@@%%%=?*=@@@%%%*)
49794 eval ac_cv_prog_make_${ac_make}_set=yes;;
49795 *)
49796 eval ac_cv_prog_make_${ac_make}_set=no;;
49797 esac
49798 rm -f conftest.make
49799 fi
49800 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49801 { echo "$as_me:$LINENO: result: yes" >&5
49802 echo "${ECHO_T}yes" >&6; }
49803 SET_MAKE=
49804 else
49805 { echo "$as_me:$LINENO: result: no" >&5
49806 echo "${ECHO_T}no" >&6; }
49807 SET_MAKE="MAKE=${MAKE-make}"
49808 fi
49809
49810
49811
49812 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49813
49814
49815 if test "$USE_WIN32" = 1; then
49816 ac_config_commands="$ac_config_commands
49817 rcdefs.h
49818 "
49819
49820 fi
49821
49822 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49823
49824
49825 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49826
49827
49828 if test "$wx_cv_version_script" = "yes"; then
49829 ac_config_files="$ac_config_files version-script"
49830
49831 fi
49832 ac_config_files="$ac_config_files Makefile"
49833
49834
49835 ac_config_commands="$ac_config_commands wx-config"
49836
49837
49838
49839 if test "$wxWITH_SUBDIRS" != "no"; then
49840 if test "$wxUSE_GUI" = "yes"; then
49841 SUBDIRS="samples demos utils"
49842 else
49843 SUBDIRS="samples utils"
49844 fi
49845
49846
49847
49848 # Check whether --with-cppunit-prefix was given.
49849 if test "${with_cppunit_prefix+set}" = set; then
49850 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49851 else
49852 cppunit_config_prefix=""
49853 fi
49854
49855
49856 # Check whether --with-cppunit-exec-prefix was given.
49857 if test "${with_cppunit_exec_prefix+set}" = set; then
49858 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49859 else
49860 cppunit_config_exec_prefix=""
49861 fi
49862
49863
49864 if test x$cppunit_config_exec_prefix != x ; then
49865 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49866 if test x${CPPUNIT_CONFIG+set} != xset ; then
49867 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49868 fi
49869 fi
49870 if test x$cppunit_config_prefix != x ; then
49871 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49872 if test x${CPPUNIT_CONFIG+set} != xset ; then
49873 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49874 fi
49875 fi
49876
49877 # Extract the first word of "cppunit-config", so it can be a program name with args.
49878 set dummy cppunit-config; ac_word=$2
49879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49881 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49882 echo $ECHO_N "(cached) $ECHO_C" >&6
49883 else
49884 case $CPPUNIT_CONFIG in
49885 [\\/]* | ?:[\\/]*)
49886 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49887 ;;
49888 *)
49889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49890 for as_dir in $PATH
49891 do
49892 IFS=$as_save_IFS
49893 test -z "$as_dir" && as_dir=.
49894 for ac_exec_ext in '' $ac_executable_extensions; do
49895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49896 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49898 break 2
49899 fi
49900 done
49901 done
49902 IFS=$as_save_IFS
49903
49904 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49905 ;;
49906 esac
49907 fi
49908 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49909 if test -n "$CPPUNIT_CONFIG"; then
49910 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49911 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49912 else
49913 { echo "$as_me:$LINENO: result: no" >&5
49914 echo "${ECHO_T}no" >&6; }
49915 fi
49916
49917
49918 cppunit_version_min=1.8.0
49919
49920 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49921 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49922 no_cppunit=""
49923 if test "$CPPUNIT_CONFIG" = "no" ; then
49924 { echo "$as_me:$LINENO: result: no" >&5
49925 echo "${ECHO_T}no" >&6; }
49926 no_cppunit=yes
49927 else
49928 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49929 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49930 cppunit_version=`$CPPUNIT_CONFIG --version`
49931
49932 cppunit_major_version=`echo $cppunit_version | \
49933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49934 cppunit_minor_version=`echo $cppunit_version | \
49935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49936 cppunit_micro_version=`echo $cppunit_version | \
49937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49938
49939 cppunit_major_min=`echo $cppunit_version_min | \
49940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49941 cppunit_minor_min=`echo $cppunit_version_min | \
49942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49943 cppunit_micro_min=`echo $cppunit_version_min | \
49944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49945
49946 cppunit_version_proper=`expr \
49947 $cppunit_major_version \> $cppunit_major_min \| \
49948 $cppunit_major_version \= $cppunit_major_min \& \
49949 $cppunit_minor_version \> $cppunit_minor_min \| \
49950 $cppunit_major_version \= $cppunit_major_min \& \
49951 $cppunit_minor_version \= $cppunit_minor_min \& \
49952 $cppunit_micro_version \>= $cppunit_micro_min `
49953
49954 if test "$cppunit_version_proper" = "1" ; then
49955 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49956 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49957 else
49958 { echo "$as_me:$LINENO: result: no" >&5
49959 echo "${ECHO_T}no" >&6; }
49960 no_cppunit=yes
49961 fi
49962 fi
49963
49964 if test "x$no_cppunit" = x ; then
49965 SUBDIRS="$SUBDIRS tests"
49966 else
49967 CPPUNIT_CFLAGS=""
49968 CPPUNIT_LIBS=""
49969 :
49970 fi
49971
49972
49973
49974
49975
49976 for subdir in $SUBDIRS; do
49977 if test -d ${srcdir}/${subdir} ; then
49978 if test "$wxUSE_GUI" = "yes"; then
49979 if test ${subdir} = "samples"; then
49980 makefiles="samples/Makefile.in $makefiles"
49981 for sample in $SAMPLES_SUBDIRS; do
49982 if test -d $srcdir/samples/$sample; then
49983 makefiles="samples/$sample/Makefile.in $makefiles"
49984 fi
49985 done
49986 else
49987 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
49988 eval "disabled=\$$disabled_var"
49989 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49990 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49991 fi
49992 else
49993 if test ${subdir} = "samples"; then
49994 makefiles="samples/Makefile.in $makefiles"
49995 for sample in `echo $SAMPLES_SUBDIRS`; do
49996 if test -d $srcdir/samples/$sample; then
49997 makefiles="samples/$sample/Makefile.in $makefiles"
49998 fi
49999 done
50000 elif test ${subdir} = "utils"; then
50001 makefiles=""
50002 for util in HelpGen tex2rtf ; do
50003 if test -d $srcdir/utils/$util ; then
50004 makefiles="utils/$util/Makefile.in \
50005 utils/$util/src/Makefile.in \
50006 $makefiles"
50007 fi
50008 done
50009 else
50010 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50011 fi
50012 fi
50013
50014 for mkin in $makefiles ; do
50015 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50016 ac_config_files="$ac_config_files $mk"
50017
50018 done
50019 fi
50020 done
50021 fi
50022 cat >confcache <<\_ACEOF
50023 # This file is a shell script that caches the results of configure
50024 # tests run on this system so they can be shared between configure
50025 # scripts and configure runs, see configure's option --config-cache.
50026 # It is not useful on other systems. If it contains results you don't
50027 # want to keep, you may remove or edit it.
50028 #
50029 # config.status only pays attention to the cache file if you give it
50030 # the --recheck option to rerun configure.
50031 #
50032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50034 # following values.
50035
50036 _ACEOF
50037
50038 # The following way of writing the cache mishandles newlines in values,
50039 # but we know of no workaround that is simple, portable, and efficient.
50040 # So, we kill variables containing newlines.
50041 # Ultrix sh set writes to stderr and can't be redirected directly,
50042 # and sets the high bit in the cache file unless we assign to the vars.
50043 (
50044 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50045 eval ac_val=\$$ac_var
50046 case $ac_val in #(
50047 *${as_nl}*)
50048 case $ac_var in #(
50049 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50050 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50051 esac
50052 case $ac_var in #(
50053 _ | IFS | as_nl) ;; #(
50054 *) $as_unset $ac_var ;;
50055 esac ;;
50056 esac
50057 done
50058
50059 (set) 2>&1 |
50060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50061 *${as_nl}ac_space=\ *)
50062 # `set' does not quote correctly, so add quotes (double-quote
50063 # substitution turns \\\\ into \\, and sed turns \\ into \).
50064 sed -n \
50065 "s/'/'\\\\''/g;
50066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50067 ;; #(
50068 *)
50069 # `set' quotes correctly as required by POSIX, so do not add quotes.
50070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50071 ;;
50072 esac |
50073 sort
50074 ) |
50075 sed '
50076 /^ac_cv_env_/b end
50077 t clear
50078 :clear
50079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50080 t end
50081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50082 :end' >>confcache
50083 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50084 if test -w "$cache_file"; then
50085 test "x$cache_file" != "x/dev/null" &&
50086 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50087 echo "$as_me: updating cache $cache_file" >&6;}
50088 cat confcache >$cache_file
50089 else
50090 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50091 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50092 fi
50093 fi
50094 rm -f confcache
50095
50096 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50097 # Let make expand exec_prefix.
50098 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50099
50100 DEFS=-DHAVE_CONFIG_H
50101
50102 ac_libobjs=
50103 ac_ltlibobjs=
50104 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50105 # 1. Remove the extension, and $U if already installed.
50106 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50107 ac_i=`echo "$ac_i" | sed "$ac_script"`
50108 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50109 # will be set to the directory where LIBOBJS objects are built.
50110 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50111 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50112 done
50113 LIBOBJS=$ac_libobjs
50114
50115 LTLIBOBJS=$ac_ltlibobjs
50116
50117
50118
50119 : ${CONFIG_STATUS=./config.status}
50120 ac_clean_files_save=$ac_clean_files
50121 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50122 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50123 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50124 cat >$CONFIG_STATUS <<_ACEOF
50125 #! $SHELL
50126 # Generated by $as_me.
50127 # Run this file to recreate the current configuration.
50128 # Compiler output produced by configure, useful for debugging
50129 # configure, is in config.log if it exists.
50130
50131 debug=false
50132 ac_cs_recheck=false
50133 ac_cs_silent=false
50134 SHELL=\${CONFIG_SHELL-$SHELL}
50135 _ACEOF
50136
50137 cat >>$CONFIG_STATUS <<\_ACEOF
50138 ## --------------------- ##
50139 ## M4sh Initialization. ##
50140 ## --------------------- ##
50141
50142 # Be more Bourne compatible
50143 DUALCASE=1; export DUALCASE # for MKS sh
50144 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50145 emulate sh
50146 NULLCMD=:
50147 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50148 # is contrary to our usage. Disable this feature.
50149 alias -g '${1+"$@"}'='"$@"'
50150 setopt NO_GLOB_SUBST
50151 else
50152 case `(set -o) 2>/dev/null` in
50153 *posix*) set -o posix ;;
50154 esac
50155
50156 fi
50157
50158
50159
50160
50161 # PATH needs CR
50162 # Avoid depending upon Character Ranges.
50163 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50164 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50165 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50166 as_cr_digits='0123456789'
50167 as_cr_alnum=$as_cr_Letters$as_cr_digits
50168
50169 # The user is always right.
50170 if test "${PATH_SEPARATOR+set}" != set; then
50171 echo "#! /bin/sh" >conf$$.sh
50172 echo "exit 0" >>conf$$.sh
50173 chmod +x conf$$.sh
50174 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50175 PATH_SEPARATOR=';'
50176 else
50177 PATH_SEPARATOR=:
50178 fi
50179 rm -f conf$$.sh
50180 fi
50181
50182 # Support unset when possible.
50183 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50184 as_unset=unset
50185 else
50186 as_unset=false
50187 fi
50188
50189
50190 # IFS
50191 # We need space, tab and new line, in precisely that order. Quoting is
50192 # there to prevent editors from complaining about space-tab.
50193 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50194 # splitting by setting IFS to empty value.)
50195 as_nl='
50196 '
50197 IFS=" "" $as_nl"
50198
50199 # Find who we are. Look in the path if we contain no directory separator.
50200 case $0 in
50201 *[\\/]* ) as_myself=$0 ;;
50202 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50203 for as_dir in $PATH
50204 do
50205 IFS=$as_save_IFS
50206 test -z "$as_dir" && as_dir=.
50207 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50208 done
50209 IFS=$as_save_IFS
50210
50211 ;;
50212 esac
50213 # We did not find ourselves, most probably we were run as `sh COMMAND'
50214 # in which case we are not to be found in the path.
50215 if test "x$as_myself" = x; then
50216 as_myself=$0
50217 fi
50218 if test ! -f "$as_myself"; then
50219 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50220 { (exit 1); exit 1; }
50221 fi
50222
50223 # Work around bugs in pre-3.0 UWIN ksh.
50224 for as_var in ENV MAIL MAILPATH
50225 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50226 done
50227 PS1='$ '
50228 PS2='> '
50229 PS4='+ '
50230
50231 # NLS nuisances.
50232 for as_var in \
50233 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50234 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50235 LC_TELEPHONE LC_TIME
50236 do
50237 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50238 eval $as_var=C; export $as_var
50239 else
50240 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50241 fi
50242 done
50243
50244 # Required to use basename.
50245 if expr a : '\(a\)' >/dev/null 2>&1 &&
50246 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50247 as_expr=expr
50248 else
50249 as_expr=false
50250 fi
50251
50252 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50253 as_basename=basename
50254 else
50255 as_basename=false
50256 fi
50257
50258
50259 # Name of the executable.
50260 as_me=`$as_basename -- "$0" ||
50261 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50262 X"$0" : 'X\(//\)$' \| \
50263 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50264 echo X/"$0" |
50265 sed '/^.*\/\([^/][^/]*\)\/*$/{
50266 s//\1/
50267 q
50268 }
50269 /^X\/\(\/\/\)$/{
50270 s//\1/
50271 q
50272 }
50273 /^X\/\(\/\).*/{
50274 s//\1/
50275 q
50276 }
50277 s/.*/./; q'`
50278
50279 # CDPATH.
50280 $as_unset CDPATH
50281
50282
50283
50284 as_lineno_1=$LINENO
50285 as_lineno_2=$LINENO
50286 test "x$as_lineno_1" != "x$as_lineno_2" &&
50287 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50288
50289 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50290 # uniformly replaced by the line number. The first 'sed' inserts a
50291 # line-number line after each line using $LINENO; the second 'sed'
50292 # does the real work. The second script uses 'N' to pair each
50293 # line-number line with the line containing $LINENO, and appends
50294 # trailing '-' during substitution so that $LINENO is not a special
50295 # case at line end.
50296 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50297 # scripts with optimization help from Paolo Bonzini. Blame Lee
50298 # E. McMahon (1931-1989) for sed's syntax. :-)
50299 sed -n '
50300 p
50301 /[$]LINENO/=
50302 ' <$as_myself |
50303 sed '
50304 s/[$]LINENO.*/&-/
50305 t lineno
50306 b
50307 :lineno
50308 N
50309 :loop
50310 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50311 t loop
50312 s/-\n.*//
50313 ' >$as_me.lineno &&
50314 chmod +x "$as_me.lineno" ||
50315 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50316 { (exit 1); exit 1; }; }
50317
50318 # Don't try to exec as it changes $[0], causing all sort of problems
50319 # (the dirname of $[0] is not the place where we might find the
50320 # original and so on. Autoconf is especially sensitive to this).
50321 . "./$as_me.lineno"
50322 # Exit status is that of the last command.
50323 exit
50324 }
50325
50326
50327 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50328 as_dirname=dirname
50329 else
50330 as_dirname=false
50331 fi
50332
50333 ECHO_C= ECHO_N= ECHO_T=
50334 case `echo -n x` in
50335 -n*)
50336 case `echo 'x\c'` in
50337 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50338 *) ECHO_C='\c';;
50339 esac;;
50340 *)
50341 ECHO_N='-n';;
50342 esac
50343
50344 if expr a : '\(a\)' >/dev/null 2>&1 &&
50345 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50346 as_expr=expr
50347 else
50348 as_expr=false
50349 fi
50350
50351 rm -f conf$$ conf$$.exe conf$$.file
50352 if test -d conf$$.dir; then
50353 rm -f conf$$.dir/conf$$.file
50354 else
50355 rm -f conf$$.dir
50356 mkdir conf$$.dir
50357 fi
50358 echo >conf$$.file
50359 if ln -s conf$$.file conf$$ 2>/dev/null; then
50360 as_ln_s='ln -s'
50361 # ... but there are two gotchas:
50362 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50363 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50364 # In both cases, we have to default to `cp -p'.
50365 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50366 as_ln_s='cp -p'
50367 elif ln conf$$.file conf$$ 2>/dev/null; then
50368 as_ln_s=ln
50369 else
50370 as_ln_s='cp -p'
50371 fi
50372 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50373 rmdir conf$$.dir 2>/dev/null
50374
50375 if mkdir -p . 2>/dev/null; then
50376 as_mkdir_p=:
50377 else
50378 test -d ./-p && rmdir ./-p
50379 as_mkdir_p=false
50380 fi
50381
50382 if test -x / >/dev/null 2>&1; then
50383 as_test_x='test -x'
50384 else
50385 if ls -dL / >/dev/null 2>&1; then
50386 as_ls_L_option=L
50387 else
50388 as_ls_L_option=
50389 fi
50390 as_test_x='
50391 eval sh -c '\''
50392 if test -d "$1"; then
50393 test -d "$1/.";
50394 else
50395 case $1 in
50396 -*)set "./$1";;
50397 esac;
50398 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50399 ???[sx]*):;;*)false;;esac;fi
50400 '\'' sh
50401 '
50402 fi
50403 as_executable_p=$as_test_x
50404
50405 # Sed expression to map a string onto a valid CPP name.
50406 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50407
50408 # Sed expression to map a string onto a valid variable name.
50409 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50410
50411
50412 exec 6>&1
50413
50414 # Save the log message, to keep $[0] and so on meaningful, and to
50415 # report actual input values of CONFIG_FILES etc. instead of their
50416 # values after options handling.
50417 ac_log="
50418 This file was extended by wxWidgets $as_me 2.9.0, which was
50419 generated by GNU Autoconf 2.61. Invocation command line was
50420
50421 CONFIG_FILES = $CONFIG_FILES
50422 CONFIG_HEADERS = $CONFIG_HEADERS
50423 CONFIG_LINKS = $CONFIG_LINKS
50424 CONFIG_COMMANDS = $CONFIG_COMMANDS
50425 $ $0 $@
50426
50427 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50428 "
50429
50430 _ACEOF
50431
50432 cat >>$CONFIG_STATUS <<_ACEOF
50433 # Files that config.status was made for.
50434 config_files="$ac_config_files"
50435 config_headers="$ac_config_headers"
50436 config_commands="$ac_config_commands"
50437
50438 _ACEOF
50439
50440 cat >>$CONFIG_STATUS <<\_ACEOF
50441 ac_cs_usage="\
50442 \`$as_me' instantiates files from templates according to the
50443 current configuration.
50444
50445 Usage: $0 [OPTIONS] [FILE]...
50446
50447 -h, --help print this help, then exit
50448 -V, --version print version number and configuration settings, then exit
50449 -q, --quiet do not print progress messages
50450 -d, --debug don't remove temporary files
50451 --recheck update $as_me by reconfiguring in the same conditions
50452 --file=FILE[:TEMPLATE]
50453 instantiate the configuration file FILE
50454 --header=FILE[:TEMPLATE]
50455 instantiate the configuration header FILE
50456
50457 Configuration files:
50458 $config_files
50459
50460 Configuration headers:
50461 $config_headers
50462
50463 Configuration commands:
50464 $config_commands
50465
50466 Report bugs to <bug-autoconf@gnu.org>."
50467
50468 _ACEOF
50469 cat >>$CONFIG_STATUS <<_ACEOF
50470 ac_cs_version="\\
50471 wxWidgets config.status 2.9.0
50472 configured by $0, generated by GNU Autoconf 2.61,
50473 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50474
50475 Copyright (C) 2006 Free Software Foundation, Inc.
50476 This config.status script is free software; the Free Software Foundation
50477 gives unlimited permission to copy, distribute and modify it."
50478
50479 ac_pwd='$ac_pwd'
50480 srcdir='$srcdir'
50481 INSTALL='$INSTALL'
50482 _ACEOF
50483
50484 cat >>$CONFIG_STATUS <<\_ACEOF
50485 # If no file are specified by the user, then we need to provide default
50486 # value. By we need to know if files were specified by the user.
50487 ac_need_defaults=:
50488 while test $# != 0
50489 do
50490 case $1 in
50491 --*=*)
50492 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50493 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50494 ac_shift=:
50495 ;;
50496 *)
50497 ac_option=$1
50498 ac_optarg=$2
50499 ac_shift=shift
50500 ;;
50501 esac
50502
50503 case $ac_option in
50504 # Handling of the options.
50505 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50506 ac_cs_recheck=: ;;
50507 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50508 echo "$ac_cs_version"; exit ;;
50509 --debug | --debu | --deb | --de | --d | -d )
50510 debug=: ;;
50511 --file | --fil | --fi | --f )
50512 $ac_shift
50513 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50514 ac_need_defaults=false;;
50515 --header | --heade | --head | --hea )
50516 $ac_shift
50517 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50518 ac_need_defaults=false;;
50519 --he | --h)
50520 # Conflict between --help and --header
50521 { echo "$as_me: error: ambiguous option: $1
50522 Try \`$0 --help' for more information." >&2
50523 { (exit 1); exit 1; }; };;
50524 --help | --hel | -h )
50525 echo "$ac_cs_usage"; exit ;;
50526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50527 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50528 ac_cs_silent=: ;;
50529
50530 # This is an error.
50531 -*) { echo "$as_me: error: unrecognized option: $1
50532 Try \`$0 --help' for more information." >&2
50533 { (exit 1); exit 1; }; } ;;
50534
50535 *) ac_config_targets="$ac_config_targets $1"
50536 ac_need_defaults=false ;;
50537
50538 esac
50539 shift
50540 done
50541
50542 ac_configure_extra_args=
50543
50544 if $ac_cs_silent; then
50545 exec 6>/dev/null
50546 ac_configure_extra_args="$ac_configure_extra_args --silent"
50547 fi
50548
50549 _ACEOF
50550 cat >>$CONFIG_STATUS <<_ACEOF
50551 if \$ac_cs_recheck; then
50552 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50553 CONFIG_SHELL=$SHELL
50554 export CONFIG_SHELL
50555 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50556 fi
50557
50558 _ACEOF
50559 cat >>$CONFIG_STATUS <<\_ACEOF
50560 exec 5>>config.log
50561 {
50562 echo
50563 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50564 ## Running $as_me. ##
50565 _ASBOX
50566 echo "$ac_log"
50567 } >&5
50568
50569 _ACEOF
50570 cat >>$CONFIG_STATUS <<_ACEOF
50571 #
50572 # INIT-COMMANDS
50573 #
50574
50575 CPP="$CPP"
50576 infile="$srcdir/include/wx/msw/genrcdefs.h"
50577 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50578
50579
50580 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50581 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50582 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50583 LN_S="${LN_S}"
50584
50585
50586 _ACEOF
50587
50588 cat >>$CONFIG_STATUS <<\_ACEOF
50589
50590 # Handling of arguments.
50591 for ac_config_target in $ac_config_targets
50592 do
50593 case $ac_config_target in
50594 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50595 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50596 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50597 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50598 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50599 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50600 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50601 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50602
50603 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50604 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50605 { (exit 1); exit 1; }; };;
50606 esac
50607 done
50608
50609
50610 # If the user did not use the arguments to specify the items to instantiate,
50611 # then the envvar interface is used. Set only those that are not.
50612 # We use the long form for the default assignment because of an extremely
50613 # bizarre bug on SunOS 4.1.3.
50614 if $ac_need_defaults; then
50615 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50616 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50617 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50618 fi
50619
50620 # Have a temporary directory for convenience. Make it in the build tree
50621 # simply because there is no reason against having it here, and in addition,
50622 # creating and moving files from /tmp can sometimes cause problems.
50623 # Hook for its removal unless debugging.
50624 # Note that there is a small window in which the directory will not be cleaned:
50625 # after its creation but before its name has been assigned to `$tmp'.
50626 $debug ||
50627 {
50628 tmp=
50629 trap 'exit_status=$?
50630 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50631 ' 0
50632 trap '{ (exit 1); exit 1; }' 1 2 13 15
50633 }
50634 # Create a (secure) tmp directory for tmp files.
50635
50636 {
50637 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50638 test -n "$tmp" && test -d "$tmp"
50639 } ||
50640 {
50641 tmp=./conf$$-$RANDOM
50642 (umask 077 && mkdir "$tmp")
50643 } ||
50644 {
50645 echo "$me: cannot create a temporary directory in ." >&2
50646 { (exit 1); exit 1; }
50647 }
50648
50649 #
50650 # Set up the sed scripts for CONFIG_FILES section.
50651 #
50652
50653 # No need to generate the scripts if there are no CONFIG_FILES.
50654 # This happens for instance when ./config.status config.h
50655 if test -n "$CONFIG_FILES"; then
50656
50657 _ACEOF
50658
50659
50660
50661 ac_delim='%!_!# '
50662 for ac_last_try in false false false false false :; do
50663 cat >conf$$subs.sed <<_ACEOF
50664 SHELL!$SHELL$ac_delim
50665 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50666 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50667 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50668 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50669 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50670 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50671 exec_prefix!$exec_prefix$ac_delim
50672 prefix!$prefix$ac_delim
50673 program_transform_name!$program_transform_name$ac_delim
50674 bindir!$bindir$ac_delim
50675 sbindir!$sbindir$ac_delim
50676 libexecdir!$libexecdir$ac_delim
50677 datarootdir!$datarootdir$ac_delim
50678 datadir!$datadir$ac_delim
50679 sysconfdir!$sysconfdir$ac_delim
50680 sharedstatedir!$sharedstatedir$ac_delim
50681 localstatedir!$localstatedir$ac_delim
50682 includedir!$includedir$ac_delim
50683 oldincludedir!$oldincludedir$ac_delim
50684 docdir!$docdir$ac_delim
50685 infodir!$infodir$ac_delim
50686 htmldir!$htmldir$ac_delim
50687 dvidir!$dvidir$ac_delim
50688 pdfdir!$pdfdir$ac_delim
50689 psdir!$psdir$ac_delim
50690 libdir!$libdir$ac_delim
50691 localedir!$localedir$ac_delim
50692 mandir!$mandir$ac_delim
50693 DEFS!$DEFS$ac_delim
50694 ECHO_C!$ECHO_C$ac_delim
50695 ECHO_N!$ECHO_N$ac_delim
50696 ECHO_T!$ECHO_T$ac_delim
50697 LIBS!$LIBS$ac_delim
50698 build_alias!$build_alias$ac_delim
50699 host_alias!$host_alias$ac_delim
50700 target_alias!$target_alias$ac_delim
50701 build!$build$ac_delim
50702 build_cpu!$build_cpu$ac_delim
50703 build_vendor!$build_vendor$ac_delim
50704 build_os!$build_os$ac_delim
50705 host!$host$ac_delim
50706 host_cpu!$host_cpu$ac_delim
50707 host_vendor!$host_vendor$ac_delim
50708 host_os!$host_os$ac_delim
50709 target!$target$ac_delim
50710 target_cpu!$target_cpu$ac_delim
50711 target_vendor!$target_vendor$ac_delim
50712 target_os!$target_os$ac_delim
50713 wx_top_builddir!$wx_top_builddir$ac_delim
50714 CC!$CC$ac_delim
50715 CFLAGS!$CFLAGS$ac_delim
50716 LDFLAGS!$LDFLAGS$ac_delim
50717 CPPFLAGS!$CPPFLAGS$ac_delim
50718 ac_ct_CC!$ac_ct_CC$ac_delim
50719 EXEEXT!$EXEEXT$ac_delim
50720 OBJEXT!$OBJEXT$ac_delim
50721 CPP!$CPP$ac_delim
50722 GREP!$GREP$ac_delim
50723 EGREP!$EGREP$ac_delim
50724 CXX!$CXX$ac_delim
50725 CXXFLAGS!$CXXFLAGS$ac_delim
50726 ac_ct_CXX!$ac_ct_CXX$ac_delim
50727 AR!$AR$ac_delim
50728 subdirs!$subdirs$ac_delim
50729 PKG_CONFIG!$PKG_CONFIG$ac_delim
50730 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50731 GTK_LIBS!$GTK_LIBS$ac_delim
50732 GTK_CONFIG!$GTK_CONFIG$ac_delim
50733 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50734 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50735 XMKMF!$XMKMF$ac_delim
50736 X_CFLAGS!$X_CFLAGS$ac_delim
50737 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50738 X_LIBS!$X_LIBS$ac_delim
50739 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50740 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50741 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50742 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50743 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50744 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50745 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50746 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50747 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50748 LIBICONV!$LIBICONV$ac_delim
50749 SDL_CONFIG!$SDL_CONFIG$ac_delim
50750 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50751 SDL_LIBS!$SDL_LIBS$ac_delim
50752 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50753 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50754 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50755 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50756 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50757 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50758 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50759 HILDON_LIBS!$HILDON_LIBS$ac_delim
50760 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50761 _ACEOF
50762
50763 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50764 break
50765 elif $ac_last_try; then
50766 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50767 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50768 { (exit 1); exit 1; }; }
50769 else
50770 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50771 fi
50772 done
50773
50774 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50775 if test -n "$ac_eof"; then
50776 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50777 ac_eof=`expr $ac_eof + 1`
50778 fi
50779
50780 cat >>$CONFIG_STATUS <<_ACEOF
50781 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50783 _ACEOF
50784 sed '
50785 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50786 s/^/s,@/; s/!/@,|#_!!_#|/
50787 :n
50788 t n
50789 s/'"$ac_delim"'$/,g/; t
50790 s/$/\\/; p
50791 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50792 ' >>$CONFIG_STATUS <conf$$subs.sed
50793 rm -f conf$$subs.sed
50794 cat >>$CONFIG_STATUS <<_ACEOF
50795 CEOF$ac_eof
50796 _ACEOF
50797
50798
50799 ac_delim='%!_!# '
50800 for ac_last_try in false false false false false :; do
50801 cat >conf$$subs.sed <<_ACEOF
50802 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50803 GST_CFLAGS!$GST_CFLAGS$ac_delim
50804 GST_LIBS!$GST_LIBS$ac_delim
50805 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50806 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50807 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50808 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50809 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50810 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50811 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50812 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50813 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50814 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50815 VENDOR!$VENDOR$ac_delim
50816 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50817 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50818 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50819 WXUNIV!$WXUNIV$ac_delim
50820 MONOLITHIC!$MONOLITHIC$ac_delim
50821 USE_PLUGINS!$USE_PLUGINS$ac_delim
50822 CXXWARNINGS!$CXXWARNINGS$ac_delim
50823 EXTRALIBS!$EXTRALIBS$ac_delim
50824 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50825 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50826 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50827 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50828 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50829 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50830 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50831 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50832 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50833 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50834 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50835 UNICODE!$UNICODE$ac_delim
50836 BUILD!$BUILD$ac_delim
50837 DEBUG_INFO!$DEBUG_INFO$ac_delim
50838 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50839 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50840 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50841 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50842 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50843 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50844 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50845 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50846 RANLIB!$RANLIB$ac_delim
50847 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50848 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50849 INSTALL_DATA!$INSTALL_DATA$ac_delim
50850 LN_S!$LN_S$ac_delim
50851 SET_MAKE!$SET_MAKE$ac_delim
50852 MAKE_SET!$MAKE_SET$ac_delim
50853 AROPTIONS!$AROPTIONS$ac_delim
50854 STRIP!$STRIP$ac_delim
50855 NM!$NM$ac_delim
50856 INSTALL_DIR!$INSTALL_DIR$ac_delim
50857 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50858 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50859 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50860 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50861 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50862 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50863 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50864 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50865 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50866 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50867 SO_SUFFIX!$SO_SUFFIX$ac_delim
50868 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50869 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50870 LIBPREFIX!$LIBPREFIX$ac_delim
50871 LIBEXT!$LIBEXT$ac_delim
50872 DLLPREFIX!$DLLPREFIX$ac_delim
50873 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50874 dlldir!$dlldir$ac_delim
50875 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50876 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50877 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50878 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50879 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50880 PIC_FLAG!$PIC_FLAG$ac_delim
50881 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50882 USE_SOVERSION!$USE_SOVERSION$ac_delim
50883 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50884 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50885 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50886 USE_MACVERSION!$USE_MACVERSION$ac_delim
50887 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50888 SONAME_FLAG!$SONAME_FLAG$ac_delim
50889 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50890 BK_DEPS!$BK_DEPS$ac_delim
50891 WINDRES!$WINDRES$ac_delim
50892 REZ!$REZ$ac_delim
50893 SETFILE!$SETFILE$ac_delim
50894 GCC_PCH!$GCC_PCH$ac_delim
50895 ICC_PCH!$ICC_PCH$ac_delim
50896 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50897 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50898 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50899 _ACEOF
50900
50901 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50902 break
50903 elif $ac_last_try; then
50904 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50905 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50906 { (exit 1); exit 1; }; }
50907 else
50908 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50909 fi
50910 done
50911
50912 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50913 if test -n "$ac_eof"; then
50914 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50915 ac_eof=`expr $ac_eof + 1`
50916 fi
50917
50918 cat >>$CONFIG_STATUS <<_ACEOF
50919 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50921 _ACEOF
50922 sed '
50923 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50924 s/^/s,@/; s/!/@,|#_!!_#|/
50925 :n
50926 t n
50927 s/'"$ac_delim"'$/,g/; t
50928 s/$/\\/; p
50929 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50930 ' >>$CONFIG_STATUS <conf$$subs.sed
50931 rm -f conf$$subs.sed
50932 cat >>$CONFIG_STATUS <<_ACEOF
50933 CEOF$ac_eof
50934 _ACEOF
50935
50936
50937 ac_delim='%!_!# '
50938 for ac_last_try in false false false false false :; do
50939 cat >conf$$subs.sed <<_ACEOF
50940 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50941 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50942 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50943 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50944 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50945 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50946 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50947 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50948 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50949 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50950 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50951 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50952 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50953 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50954 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50955 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50956 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50957 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50958 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50959 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50960 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50961 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50962 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50963 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50964 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50965 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50967 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50969 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50970 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50971 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50972 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50973 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50974 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50975 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50976 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50977 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50978 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50979 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50980 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50981 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50982 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50983 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50984 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50985 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50986 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50987 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50988 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50989 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50990 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50991 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50992 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50993 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50994 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50995 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50996 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50997 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50998 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50999 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51000 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51001 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51002 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51003 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51004 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51005 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51006 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51007 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51008 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51009 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51010 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51011 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51012 COND_SHARED_0!$COND_SHARED_0$ac_delim
51013 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51014 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51015 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51016 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51017 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51018 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51019 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51020 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51021 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51022 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51023 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51024 COND_SHARED_1!$COND_SHARED_1$ac_delim
51025 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51026 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51027 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51028 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51029 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51030 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51031 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51032 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51033 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51034 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51035 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51036 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51037 _ACEOF
51038
51039 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51040 break
51041 elif $ac_last_try; then
51042 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51043 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51044 { (exit 1); exit 1; }; }
51045 else
51046 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51047 fi
51048 done
51049
51050 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51051 if test -n "$ac_eof"; then
51052 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51053 ac_eof=`expr $ac_eof + 1`
51054 fi
51055
51056 cat >>$CONFIG_STATUS <<_ACEOF
51057 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51059 _ACEOF
51060 sed '
51061 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51062 s/^/s,@/; s/!/@,|#_!!_#|/
51063 :n
51064 t n
51065 s/'"$ac_delim"'$/,g/; t
51066 s/$/\\/; p
51067 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51068 ' >>$CONFIG_STATUS <conf$$subs.sed
51069 rm -f conf$$subs.sed
51070 cat >>$CONFIG_STATUS <<_ACEOF
51071 CEOF$ac_eof
51072 _ACEOF
51073
51074
51075 ac_delim='%!_!# '
51076 for ac_last_try in false false false false false :; do
51077 cat >conf$$subs.sed <<_ACEOF
51078 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51079 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51080 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51081 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51082 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51083 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51084 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51085 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51086 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51087 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51088 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51089 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51090 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51091 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51092 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51093 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51094 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51095 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51096 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51097 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51098 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51099 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51100 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51101 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51102 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51103 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51104 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51105 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51106 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51107 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51108 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51109 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51110 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51111 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51112 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51113 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51114 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51115 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51116 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51117 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51118 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51119 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51120 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51121 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51122 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51123 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51124 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51125 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51126 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51127 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51128 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51129 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51130 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51131 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51132 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51133 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51134 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51135 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51136 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51137 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51138 DEREZ!$DEREZ$ac_delim
51139 SHARED!$SHARED$ac_delim
51140 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51141 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51142 USE_GUI!$USE_GUI$ac_delim
51143 AFMINSTALL!$AFMINSTALL$ac_delim
51144 WIN32INSTALL!$WIN32INSTALL$ac_delim
51145 TOOLKIT!$TOOLKIT$ac_delim
51146 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51147 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51148 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51149 cross_compiling!$cross_compiling$ac_delim
51150 WIDGET_SET!$WIDGET_SET$ac_delim
51151 WX_RELEASE!$WX_RELEASE$ac_delim
51152 WX_VERSION!$WX_VERSION$ac_delim
51153 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51154 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51155 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51156 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51157 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51158 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51159 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51160 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51161 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51162 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51163 GUIDIST!$GUIDIST$ac_delim
51164 DISTDIR!$DISTDIR$ac_delim
51165 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51166 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51167 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51168 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51169 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51170 RESCOMP!$RESCOMP$ac_delim
51171 RESFLAGS!$RESFLAGS$ac_delim
51172 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51173 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51174 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51175 _ACEOF
51176
51177 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51178 break
51179 elif $ac_last_try; then
51180 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51181 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51182 { (exit 1); exit 1; }; }
51183 else
51184 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51185 fi
51186 done
51187
51188 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51189 if test -n "$ac_eof"; then
51190 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51191 ac_eof=`expr $ac_eof + 1`
51192 fi
51193
51194 cat >>$CONFIG_STATUS <<_ACEOF
51195 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51196 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51197 _ACEOF
51198 sed '
51199 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51200 s/^/s,@/; s/!/@,|#_!!_#|/
51201 :n
51202 t n
51203 s/'"$ac_delim"'$/,g/; t
51204 s/$/\\/; p
51205 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51206 ' >>$CONFIG_STATUS <conf$$subs.sed
51207 rm -f conf$$subs.sed
51208 cat >>$CONFIG_STATUS <<_ACEOF
51209 CEOF$ac_eof
51210 _ACEOF
51211
51212
51213 ac_delim='%!_!# '
51214 for ac_last_try in false false false false false :; do
51215 cat >conf$$subs.sed <<_ACEOF
51216 LIBWXMACRES!$LIBWXMACRES$ac_delim
51217 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51218 MACSETFILE!$MACSETFILE$ac_delim
51219 GCC!$GCC$ac_delim
51220 DLLTOOL!$DLLTOOL$ac_delim
51221 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51222 LIBOBJS!$LIBOBJS$ac_delim
51223 LTLIBOBJS!$LTLIBOBJS$ac_delim
51224 _ACEOF
51225
51226 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
51227 break
51228 elif $ac_last_try; then
51229 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51230 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51231 { (exit 1); exit 1; }; }
51232 else
51233 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51234 fi
51235 done
51236
51237 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51238 if test -n "$ac_eof"; then
51239 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51240 ac_eof=`expr $ac_eof + 1`
51241 fi
51242
51243 cat >>$CONFIG_STATUS <<_ACEOF
51244 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51245 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51246 _ACEOF
51247 sed '
51248 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51249 s/^/s,@/; s/!/@,|#_!!_#|/
51250 :n
51251 t n
51252 s/'"$ac_delim"'$/,g/; t
51253 s/$/\\/; p
51254 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51255 ' >>$CONFIG_STATUS <conf$$subs.sed
51256 rm -f conf$$subs.sed
51257 cat >>$CONFIG_STATUS <<_ACEOF
51258 :end
51259 s/|#_!!_#|//g
51260 CEOF$ac_eof
51261 _ACEOF
51262
51263
51264 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51265 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51266 # trailing colons and then remove the whole line if VPATH becomes empty
51267 # (actually we leave an empty line to preserve line numbers).
51268 if test "x$srcdir" = x.; then
51269 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51270 s/:*\$(srcdir):*/:/
51271 s/:*\${srcdir}:*/:/
51272 s/:*@srcdir@:*/:/
51273 s/^\([^=]*=[ ]*\):*/\1/
51274 s/:*$//
51275 s/^[^=]*=[ ]*$//
51276 }'
51277 fi
51278
51279 cat >>$CONFIG_STATUS <<\_ACEOF
51280 fi # test -n "$CONFIG_FILES"
51281
51282
51283 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51284 do
51285 case $ac_tag in
51286 :[FHLC]) ac_mode=$ac_tag; continue;;
51287 esac
51288 case $ac_mode$ac_tag in
51289 :[FHL]*:*);;
51290 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51291 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51292 { (exit 1); exit 1; }; };;
51293 :[FH]-) ac_tag=-:-;;
51294 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51295 esac
51296 ac_save_IFS=$IFS
51297 IFS=:
51298 set x $ac_tag
51299 IFS=$ac_save_IFS
51300 shift
51301 ac_file=$1
51302 shift
51303
51304 case $ac_mode in
51305 :L) ac_source=$1;;
51306 :[FH])
51307 ac_file_inputs=
51308 for ac_f
51309 do
51310 case $ac_f in
51311 -) ac_f="$tmp/stdin";;
51312 *) # Look for the file first in the build tree, then in the source tree
51313 # (if the path is not absolute). The absolute path cannot be DOS-style,
51314 # because $ac_f cannot contain `:'.
51315 test -f "$ac_f" ||
51316 case $ac_f in
51317 [\\/$]*) false;;
51318 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51319 esac ||
51320 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51321 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51322 { (exit 1); exit 1; }; };;
51323 esac
51324 ac_file_inputs="$ac_file_inputs $ac_f"
51325 done
51326
51327 # Let's still pretend it is `configure' which instantiates (i.e., don't
51328 # use $as_me), people would be surprised to read:
51329 # /* config.h. Generated by config.status. */
51330 configure_input="Generated from "`IFS=:
51331 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51332 if test x"$ac_file" != x-; then
51333 configure_input="$ac_file. $configure_input"
51334 { echo "$as_me:$LINENO: creating $ac_file" >&5
51335 echo "$as_me: creating $ac_file" >&6;}
51336 fi
51337
51338 case $ac_tag in
51339 *:-:* | *:-) cat >"$tmp/stdin";;
51340 esac
51341 ;;
51342 esac
51343
51344 ac_dir=`$as_dirname -- "$ac_file" ||
51345 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51346 X"$ac_file" : 'X\(//\)[^/]' \| \
51347 X"$ac_file" : 'X\(//\)$' \| \
51348 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51349 echo X"$ac_file" |
51350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51351 s//\1/
51352 q
51353 }
51354 /^X\(\/\/\)[^/].*/{
51355 s//\1/
51356 q
51357 }
51358 /^X\(\/\/\)$/{
51359 s//\1/
51360 q
51361 }
51362 /^X\(\/\).*/{
51363 s//\1/
51364 q
51365 }
51366 s/.*/./; q'`
51367 { as_dir="$ac_dir"
51368 case $as_dir in #(
51369 -*) as_dir=./$as_dir;;
51370 esac
51371 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51372 as_dirs=
51373 while :; do
51374 case $as_dir in #(
51375 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51376 *) as_qdir=$as_dir;;
51377 esac
51378 as_dirs="'$as_qdir' $as_dirs"
51379 as_dir=`$as_dirname -- "$as_dir" ||
51380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51381 X"$as_dir" : 'X\(//\)[^/]' \| \
51382 X"$as_dir" : 'X\(//\)$' \| \
51383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51384 echo X"$as_dir" |
51385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51386 s//\1/
51387 q
51388 }
51389 /^X\(\/\/\)[^/].*/{
51390 s//\1/
51391 q
51392 }
51393 /^X\(\/\/\)$/{
51394 s//\1/
51395 q
51396 }
51397 /^X\(\/\).*/{
51398 s//\1/
51399 q
51400 }
51401 s/.*/./; q'`
51402 test -d "$as_dir" && break
51403 done
51404 test -z "$as_dirs" || eval "mkdir $as_dirs"
51405 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51406 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51407 { (exit 1); exit 1; }; }; }
51408 ac_builddir=.
51409
51410 case "$ac_dir" in
51411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51412 *)
51413 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51414 # A ".." for each directory in $ac_dir_suffix.
51415 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51416 case $ac_top_builddir_sub in
51417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51419 esac ;;
51420 esac
51421 ac_abs_top_builddir=$ac_pwd
51422 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51423 # for backward compatibility:
51424 ac_top_builddir=$ac_top_build_prefix
51425
51426 case $srcdir in
51427 .) # We are building in place.
51428 ac_srcdir=.
51429 ac_top_srcdir=$ac_top_builddir_sub
51430 ac_abs_top_srcdir=$ac_pwd ;;
51431 [\\/]* | ?:[\\/]* ) # Absolute name.
51432 ac_srcdir=$srcdir$ac_dir_suffix;
51433 ac_top_srcdir=$srcdir
51434 ac_abs_top_srcdir=$srcdir ;;
51435 *) # Relative name.
51436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51437 ac_top_srcdir=$ac_top_build_prefix$srcdir
51438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51439 esac
51440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51441
51442
51443 case $ac_mode in
51444 :F)
51445 #
51446 # CONFIG_FILE
51447 #
51448
51449 case $INSTALL in
51450 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51451 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51452 esac
51453 _ACEOF
51454
51455 cat >>$CONFIG_STATUS <<\_ACEOF
51456 # If the template does not know about datarootdir, expand it.
51457 # FIXME: This hack should be removed a few years after 2.60.
51458 ac_datarootdir_hack=; ac_datarootdir_seen=
51459
51460 case `sed -n '/datarootdir/ {
51461 p
51462 q
51463 }
51464 /@datadir@/p
51465 /@docdir@/p
51466 /@infodir@/p
51467 /@localedir@/p
51468 /@mandir@/p
51469 ' $ac_file_inputs` in
51470 *datarootdir*) ac_datarootdir_seen=yes;;
51471 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51472 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51473 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51474 _ACEOF
51475 cat >>$CONFIG_STATUS <<_ACEOF
51476 ac_datarootdir_hack='
51477 s&@datadir@&$datadir&g
51478 s&@docdir@&$docdir&g
51479 s&@infodir@&$infodir&g
51480 s&@localedir@&$localedir&g
51481 s&@mandir@&$mandir&g
51482 s&\\\${datarootdir}&$datarootdir&g' ;;
51483 esac
51484 _ACEOF
51485
51486 # Neutralize VPATH when `$srcdir' = `.'.
51487 # Shell code in configure.ac might set extrasub.
51488 # FIXME: do we really want to maintain this feature?
51489 cat >>$CONFIG_STATUS <<_ACEOF
51490 sed "$ac_vpsub
51491 $extrasub
51492 _ACEOF
51493 cat >>$CONFIG_STATUS <<\_ACEOF
51494 :t
51495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51496 s&@configure_input@&$configure_input&;t t
51497 s&@top_builddir@&$ac_top_builddir_sub&;t t
51498 s&@srcdir@&$ac_srcdir&;t t
51499 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51500 s&@top_srcdir@&$ac_top_srcdir&;t t
51501 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51502 s&@builddir@&$ac_builddir&;t t
51503 s&@abs_builddir@&$ac_abs_builddir&;t t
51504 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51505 s&@INSTALL@&$ac_INSTALL&;t t
51506 $ac_datarootdir_hack
51507 " $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
51508
51509 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51510 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51511 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51512 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51513 which seems to be undefined. Please make sure it is defined." >&5
51514 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51515 which seems to be undefined. Please make sure it is defined." >&2;}
51516
51517 rm -f "$tmp/stdin"
51518 case $ac_file in
51519 -) cat "$tmp/out"; rm -f "$tmp/out";;
51520 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51521 esac
51522 ;;
51523 :H)
51524 #
51525 # CONFIG_HEADER
51526 #
51527 _ACEOF
51528
51529 # Transform confdefs.h into a sed script `conftest.defines', that
51530 # substitutes the proper values into config.h.in to produce config.h.
51531 rm -f conftest.defines conftest.tail
51532 # First, append a space to every undef/define line, to ease matching.
51533 echo 's/$/ /' >conftest.defines
51534 # Then, protect against being on the right side of a sed subst, or in
51535 # an unquoted here document, in config.status. If some macros were
51536 # called several times there might be several #defines for the same
51537 # symbol, which is useless. But do not sort them, since the last
51538 # AC_DEFINE must be honored.
51539 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51540 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51541 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51542 # PARAMS is the parameter list in the macro definition--in most cases, it's
51543 # just an empty string.
51544 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51545 ac_dB='\\)[ (].*,\\1define\\2'
51546 ac_dC=' '
51547 ac_dD=' ,'
51548
51549 uniq confdefs.h |
51550 sed -n '
51551 t rset
51552 :rset
51553 s/^[ ]*#[ ]*define[ ][ ]*//
51554 t ok
51555 d
51556 :ok
51557 s/[\\&,]/\\&/g
51558 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51559 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51560 ' >>conftest.defines
51561
51562 # Remove the space that was appended to ease matching.
51563 # Then replace #undef with comments. This is necessary, for
51564 # example, in the case of _POSIX_SOURCE, which is predefined and required
51565 # on some systems where configure will not decide to define it.
51566 # (The regexp can be short, since the line contains either #define or #undef.)
51567 echo 's/ $//
51568 s,^[ #]*u.*,/* & */,' >>conftest.defines
51569
51570 # Break up conftest.defines:
51571 ac_max_sed_lines=50
51572
51573 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51574 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51575 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51576 # et cetera.
51577 ac_in='$ac_file_inputs'
51578 ac_out='"$tmp/out1"'
51579 ac_nxt='"$tmp/out2"'
51580
51581 while :
51582 do
51583 # Write a here document:
51584 cat >>$CONFIG_STATUS <<_ACEOF
51585 # First, check the format of the line:
51586 cat >"\$tmp/defines.sed" <<\\CEOF
51587 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51588 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51589 b
51590 :def
51591 _ACEOF
51592 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51593 echo 'CEOF
51594 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51595 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51596 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51597 grep . conftest.tail >/dev/null || break
51598 rm -f conftest.defines
51599 mv conftest.tail conftest.defines
51600 done
51601 rm -f conftest.defines conftest.tail
51602
51603 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51604 cat >>$CONFIG_STATUS <<\_ACEOF
51605 if test x"$ac_file" != x-; then
51606 echo "/* $configure_input */" >"$tmp/config.h"
51607 cat "$ac_result" >>"$tmp/config.h"
51608 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51609 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51610 echo "$as_me: $ac_file is unchanged" >&6;}
51611 else
51612 rm -f $ac_file
51613 mv "$tmp/config.h" $ac_file
51614 fi
51615 else
51616 echo "/* $configure_input */"
51617 cat "$ac_result"
51618 fi
51619 rm -f "$tmp/out12"
51620 ;;
51621
51622 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51623 echo "$as_me: executing $ac_file commands" >&6;}
51624 ;;
51625 esac
51626
51627
51628 case $ac_file$ac_mode in
51629 "rcdefs.h":C)
51630 mkdir -p $outdir &&
51631 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51632 ;;
51633 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51634 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51635 "wx-config":C) rm -f wx-config
51636 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51637 ;;
51638
51639 esac
51640 done # for ac_tag
51641
51642
51643 { (exit 0); exit 0; }
51644 _ACEOF
51645 chmod +x $CONFIG_STATUS
51646 ac_clean_files=$ac_clean_files_save
51647
51648
51649 # configure is writing to config.log, and then calls config.status.
51650 # config.status does its own redirection, appending to config.log.
51651 # Unfortunately, on DOS this fails, as config.log is still kept open
51652 # by configure, so config.status won't be able to write to it; its
51653 # output is simply discarded. So we exec the FD to /dev/null,
51654 # effectively closing config.log, so it can be properly (re)opened and
51655 # appended to by config.status. When coming back to configure, we
51656 # need to make the FD available again.
51657 if test "$no_create" != yes; then
51658 ac_cs_success=:
51659 ac_config_status_args=
51660 test "$silent" = yes &&
51661 ac_config_status_args="$ac_config_status_args --quiet"
51662 exec 5>/dev/null
51663 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51664 exec 5>>config.log
51665 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51666 # would make configure fail if this is the last instruction.
51667 $ac_cs_success || { (exit 1); exit 1; }
51668 fi
51669
51670 #
51671 # CONFIG_SUBDIRS section.
51672 #
51673 if test "$no_recursion" != yes; then
51674
51675 # Remove --cache-file and --srcdir arguments so they do not pile up.
51676 ac_sub_configure_args=
51677 ac_prev=
51678 eval "set x $ac_configure_args"
51679 shift
51680 for ac_arg
51681 do
51682 if test -n "$ac_prev"; then
51683 ac_prev=
51684 continue
51685 fi
51686 case $ac_arg in
51687 -cache-file | --cache-file | --cache-fil | --cache-fi \
51688 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51689 ac_prev=cache_file ;;
51690 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51691 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51692 | --c=*)
51693 ;;
51694 --config-cache | -C)
51695 ;;
51696 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51697 ac_prev=srcdir ;;
51698 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51699 ;;
51700 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51701 ac_prev=prefix ;;
51702 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51703 ;;
51704 *)
51705 case $ac_arg in
51706 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51707 esac
51708 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51709 esac
51710 done
51711
51712 # Always prepend --prefix to ensure using the same prefix
51713 # in subdir configurations.
51714 ac_arg="--prefix=$prefix"
51715 case $ac_arg in
51716 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51717 esac
51718 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51719
51720 # Pass --silent
51721 if test "$silent" = yes; then
51722 ac_sub_configure_args="--silent $ac_sub_configure_args"
51723 fi
51724
51725 ac_popdir=`pwd`
51726 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51727
51728 # Do not complain, so a configure script can configure whichever
51729 # parts of a large source tree are present.
51730 test -d "$srcdir/$ac_dir" || continue
51731
51732 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51733 echo "$as_me:$LINENO: $ac_msg" >&5
51734 echo "$ac_msg" >&6
51735 { as_dir="$ac_dir"
51736 case $as_dir in #(
51737 -*) as_dir=./$as_dir;;
51738 esac
51739 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51740 as_dirs=
51741 while :; do
51742 case $as_dir in #(
51743 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51744 *) as_qdir=$as_dir;;
51745 esac
51746 as_dirs="'$as_qdir' $as_dirs"
51747 as_dir=`$as_dirname -- "$as_dir" ||
51748 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51749 X"$as_dir" : 'X\(//\)[^/]' \| \
51750 X"$as_dir" : 'X\(//\)$' \| \
51751 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51752 echo X"$as_dir" |
51753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51754 s//\1/
51755 q
51756 }
51757 /^X\(\/\/\)[^/].*/{
51758 s//\1/
51759 q
51760 }
51761 /^X\(\/\/\)$/{
51762 s//\1/
51763 q
51764 }
51765 /^X\(\/\).*/{
51766 s//\1/
51767 q
51768 }
51769 s/.*/./; q'`
51770 test -d "$as_dir" && break
51771 done
51772 test -z "$as_dirs" || eval "mkdir $as_dirs"
51773 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51774 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51775 { (exit 1); exit 1; }; }; }
51776 ac_builddir=.
51777
51778 case "$ac_dir" in
51779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51780 *)
51781 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51782 # A ".." for each directory in $ac_dir_suffix.
51783 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51784 case $ac_top_builddir_sub in
51785 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51786 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51787 esac ;;
51788 esac
51789 ac_abs_top_builddir=$ac_pwd
51790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51791 # for backward compatibility:
51792 ac_top_builddir=$ac_top_build_prefix
51793
51794 case $srcdir in
51795 .) # We are building in place.
51796 ac_srcdir=.
51797 ac_top_srcdir=$ac_top_builddir_sub
51798 ac_abs_top_srcdir=$ac_pwd ;;
51799 [\\/]* | ?:[\\/]* ) # Absolute name.
51800 ac_srcdir=$srcdir$ac_dir_suffix;
51801 ac_top_srcdir=$srcdir
51802 ac_abs_top_srcdir=$srcdir ;;
51803 *) # Relative name.
51804 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51805 ac_top_srcdir=$ac_top_build_prefix$srcdir
51806 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51807 esac
51808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51809
51810
51811 cd "$ac_dir"
51812
51813 # Check for guested configure; otherwise get Cygnus style configure.
51814 if test -f "$ac_srcdir/configure.gnu"; then
51815 ac_sub_configure=$ac_srcdir/configure.gnu
51816 elif test -f "$ac_srcdir/configure"; then
51817 ac_sub_configure=$ac_srcdir/configure
51818 elif test -f "$ac_srcdir/configure.in"; then
51819 # This should be Cygnus configure.
51820 ac_sub_configure=$ac_aux_dir/configure
51821 else
51822 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51823 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51824 ac_sub_configure=
51825 fi
51826
51827 # The recursion is here.
51828 if test -n "$ac_sub_configure"; then
51829 # Make the cache file name correct relative to the subdirectory.
51830 case $cache_file in
51831 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51832 *) # Relative name.
51833 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51834 esac
51835
51836 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51837 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51838 # The eval makes quoting arguments work.
51839 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51840 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51841 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51842 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51843 { (exit 1); exit 1; }; }
51844 fi
51845
51846 cd "$ac_popdir"
51847 done
51848 fi
51849
51850
51851 echo
51852 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51853 echo ""
51854 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51855 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51856
51857 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51858 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51859 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51860 if test "$wxUSE_UNICODE" = "yes"; then
51861 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51862 echo " (using UTF-8)"
51863 else
51864 echo " (using wchar_t)"
51865 fi
51866 else
51867 echo
51868 fi
51869
51870 echo " What level of wxWidgets compatibility should be enabled?"
51871 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51872 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51873
51874 echo " Which libraries should wxWidgets use?"
51875 echo " STL ${wxUSE_STL}"
51876 echo " jpeg ${wxUSE_LIBJPEG-none}"
51877 echo " png ${wxUSE_LIBPNG-none}"
51878 echo " regex ${wxUSE_REGEX}"
51879 echo " tiff ${wxUSE_LIBTIFF-none}"
51880 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51881 echo " xpm ${wxUSE_LIBXPM-none}"
51882 fi
51883 echo " zlib ${wxUSE_ZLIB}"
51884 echo " expat ${wxUSE_EXPAT}"
51885 echo " libmspack ${wxUSE_LIBMSPACK}"
51886 echo " sdl ${wxUSE_LIBSDL}"
51887
51888 echo ""
51889